/* Reely Legal — shared styles */
:root {
  --ivory: #F7F2E9;
  --cream: #EFE7D8;
  --paper: #FFFDF8;
  --sand: #E3D6C1;
  --sand-2: #D9CBB4;
  --taupe: #A8998A;
  --mushroom: #8B7D70;
  --clay: #9A5139;
  --clay-dark: #6F3824;
  --clay-soft: #D4A28C;
  --sage-bg: #E9EDE2;
  --sage-line: #D8DECD;
  --olive: #5F6B4E;
  --brown: #4A3B30;
  --brown-2: #6E5A4B;
  --ink: #2E2A26;
  --text-2: #5A4E44;
  --text-3: #6B5E52;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; }
img { max-width: 100%; }
a { color: var(--clay); }
a:hover { color: var(--clay-dark); }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 10px 16px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 16px; }

/* Type */
.eyebrow { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--olive); }
.eyebrow.clay { color: var(--clay); }
.display { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 76px; line-height: 1.0; letter-spacing: -0.01em; }
.h1 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 64px; line-height: 1.0; }
.h2 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 48px; line-height: 1.05; }
.h3 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 34px; line-height: 1.1; }
.lede { margin: 0; font-size: 19px; line-height: 1.6; color: var(--text-2); max-width: 640px; }
.body { margin: 0; font-size: 17px; line-height: 1.65; color: var(--text-2); }
.muted { color: var(--text-3); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-lg { display: flex; flex-direction: column; gap: 28px; }

/* Buttons & chips */
.btn { display: inline-flex; align-items: center; gap: 10px; font: inherit; font-weight: 600; font-size: 16px; padding: 15px 24px; border-radius: 999px; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; }
.btn-primary { background: var(--clay); color: var(--paper); }
.btn-primary:hover { background: var(--clay-dark); color: var(--paper); }
.btn-ghost { color: var(--brown); border-color: var(--taupe); background: transparent; }
.btn-ghost:hover { background: var(--cream); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.chip { display: inline-block; font-size: 13px; font-weight: 500; padding: 7px 12px; border-radius: 999px; background: var(--cream); color: var(--brown); text-decoration: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { font: inherit; font-size: 14px; font-weight: 500; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--sage-line); background: var(--ivory); color: var(--brown); text-decoration: none; cursor: pointer; }
.pill[aria-pressed="true"] { background: var(--brown); border-color: var(--brown); color: var(--ivory); }
.link-more { font-weight: 600; font-size: 15px; text-decoration: none; }

/* Sponsor band */
.sponsor-band { background: var(--cream); border-bottom: 1px solid var(--sand); }
.sponsor-band .wrap { padding-top: 10px; padding-bottom: 10px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }
.sponsor-band .label { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); }
.sponsor-band .rule { width: 1px; height: 20px; background: #C9BBA5; }
.sponsor-band a { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; text-decoration: none; }
.sponsor-band img { height: 24px; width: auto; }
.sponsor-band .name { font-family: var(--serif); font-weight: 600; font-size: 17px; letter-spacing: 0.14em; color: #1F2A44; }
.sponsor-band .tag { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--text-2); }

/* Header */
.site-header { border-bottom: 1px solid var(--sand); background: var(--ivory); }
.site-header .wrap { padding-top: 18px; padding-bottom: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand img { width: 44px; height: 44px; object-fit: cover; object-position: 50% 28%; border-radius: 10px; }
.brand span { font-family: var(--serif); font-weight: 600; font-size: 26px; letter-spacing: 0.12em; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--brown); text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--clay); }
.nav a.nav-cta { background: var(--brown); color: var(--ivory); padding: 12px 20px; border-radius: 999px; border: none; }
.nav a.nav-cta:hover { background: var(--ink); }

/* Sections */
.section { padding: 80px 0; }
.section.tight { padding: 48px 0; }
.bg-cream { background: var(--cream); }
.bg-sage { background: var(--sage-bg); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; padding-bottom: 28px; }
.section-head > div { display: flex; flex-direction: column; gap: 10px; max-width: 680px; }
.page-hero { padding: 64px 0 40px; }
.page-hero .wrap { display: flex; flex-direction: column; gap: 18px; }
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.split > .main { flex: 999 1 520px; min-width: 0; }
.split > .side { flex: 1 1 340px; min-width: 0; }

/* Hero (home) */
.hero { padding: 72px 0 56px; }
.hero-art { width: 100%; max-width: 380px; margin: 0 auto; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(74,59,48,0.45); background: var(--sand); }
.hero-art img { display: block; width: 100%; height: auto; }

/* Video frames */
.frame { position: relative; overflow: hidden; border-radius: 16px; background: var(--brown); display: flex; align-items: center; justify-content: center; }
.frame.wide { aspect-ratio: 16 / 9; }
.frame.tall { aspect-ratio: 9 / 16; border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(74,59,48,0.5); }
.frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.frame .reel { position: absolute; opacity: 0.2; pointer-events: none; }
.frame .note { position: absolute; left: 22px; top: 20px; margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,253,248,0.85); }
.frame .hook { position: absolute; left: 24px; right: 24px; bottom: 26px; margin: 0; font-family: var(--serif); font-weight: 600; font-size: 34px; line-height: 1.05; color: var(--paper); }
.play { width: 84px; height: 84px; border-radius: 999px; border: none; background: var(--ivory); color: var(--brown); display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px rgba(0,0,0,0.25); text-decoration: none; }
.play:hover { color: var(--clay); }

/* Feature card */
.feature { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; background: var(--cream); border-radius: 24px; padding: 28px; }
.feature .frame { flex: 3 1 520px; min-width: 0; }
.feature .copy { flex: 2 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.feature .chip { background: var(--ivory); }

/* Card grids */
.grid { display: grid; gap: 20px; }
.grid.briefs { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.grid.cards { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid.topics { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.card { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--ink); }
.card:hover .thumb { transform: translateY(-3px); box-shadow: 0 18px 30px -18px rgba(74,59,48,0.5); }
.thumb { position: relative; overflow: hidden; border-radius: 18px; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; transition: transform .2s ease, box-shadow .2s ease; }
.thumb.tall { aspect-ratio: 9 / 14; }
.thumb.wide { aspect-ratio: 16 / 10; border-radius: 14px; padding: 16px; }
.thumb .reel { position: absolute; right: -40px; top: -40px; opacity: 0.22; }
.thumb .badge { position: absolute; left: 16px; top: 16px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; padding: 6px 10px; border-radius: 999px; background: rgba(255,253,248,0.92); color: var(--ink); }
.thumb .hook { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 1.05; color: var(--paper); position: relative; }
.thumb.wide .hook { font-size: 24px; }
.card .t { margin: 0; font-size: 17px; font-weight: 600; }
.card .s { margin: 0; font-size: 14px; color: var(--text-3); }
.card.soon { pointer-events: none; }
.card.soon .thumb { opacity: 0.8; }
.topic-card { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; border-radius: 16px; background: var(--ivory); text-decoration: none; color: var(--ink); border: 1px solid var(--sage-line); }
.topic-card:hover { border-color: var(--olive); }
.topic-card .n { font-family: var(--serif); font-weight: 600; font-size: 26px; }
.topic-card .d { font-size: 14px; line-height: 1.5; color: var(--text-3); }
.series-card { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 20px; background: var(--paper); border: 1px solid var(--sand); text-decoration: none; color: var(--ink); }
.series-card .num { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; }
.panel { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 18px; background: var(--paper); border: 1px solid var(--sand); }
.point { display: flex; gap: 14px; align-items: flex-start; }
.point .dot { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 999px; background: var(--sage-bg); color: var(--olive); font-size: 13px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.point p { margin: 0; font-size: 16px; line-height: 1.55; }

/* Map */
.map { position: relative; overflow: hidden; border-radius: 22px; border: 1px solid var(--sand); background: #EAE2D2; }
.map.r43 { aspect-ratio: 4 / 3; }
.map.r167 { aspect-ratio: 16 / 7; }
.map svg { display: block; width: 100%; height: 100%; }
.map .flag { position: absolute; left: 18px; bottom: 18px; font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: var(--paper); color: var(--ink); box-shadow: 0 6px 18px rgba(74,59,48,0.15); }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--brown); }
.input { font: inherit; font-size: 16px; padding: 14px 18px; border-radius: 14px; border: 1px solid #C9BBA5; background: var(--paper); color: var(--ink); width: 100%; }
.input.round { border-radius: 999px; }
textarea.input { min-height: 140px; resize: vertical; }
.form-row { display: flex; flex-wrap: wrap; gap: 10px; }
.form-row .input { flex: 1 1 220px; width: auto; min-width: 0; }
.hp { position: absolute; left: -9999px; }

/* Newsletter band */
.news { max-width: 1216px; margin: 0 auto; border-radius: 28px; background: var(--brown); color: var(--ivory); padding: 56px; display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.news > * { flex: 1 1 380px; min-width: 0; }
.news .h2 { color: var(--ivory); font-size: 46px; }
.news p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--sand); }
.news label { color: var(--ivory); font-size: 14px; font-weight: 600; }
.news .input { border-color: var(--mushroom); background: var(--ivory); }
.news .btn-news { font: inherit; font-size: 16px; font-weight: 600; padding: 15px 26px; border-radius: 999px; border: none; background: var(--clay-soft); color: var(--ink); cursor: pointer; }
.news .btn-news:hover { background: #E2B7A3; }
.news .fine { font-size: 13px; color: #CFC2B0; }

/* Social */
.socials { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.socials a { width: 44px; height: 44px; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: var(--cream); color: var(--brown); text-decoration: none; font-size: 19px; transition: background .2s, color .2s; }
.socials a:hover { background: var(--brown); color: var(--ivory); }
.socials.lg a { width: 56px; height: 56px; font-size: 24px; background: var(--paper); border: 1px solid var(--sand); }
.socials.lg a:hover { background: var(--brown); border-color: var(--brown); }
.social-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.social-list a { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 16px; background: var(--paper); border: 1px solid var(--sand); text-decoration: none; color: var(--ink); }
.social-list a:hover { border-color: var(--brown); }
.social-list i { width: 44px; height: 44px; border-radius: 999px; background: var(--cream); color: var(--brown); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.social-list .p { font-weight: 600; }
.social-list .h { font-size: 14px; color: var(--text-3); }

/* Sponsors strip + footer */
.presented { border-top: 1px solid var(--sand); border-bottom: 1px solid var(--sand); background: #F2EBDF; }
.presented .wrap { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.presented .lab { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); }
.site-footer .wrap { padding-top: 56px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 36px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; max-width: 380px; }
.footer-brand .w { font-family: var(--serif); font-weight: 600; font-size: 28px; letter-spacing: 0.12em; }
.footer-brand .q { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--text-3); }
.footer-cols { display: flex; flex-wrap: wrap; gap: 56px; font-size: 15px; }
.footer-cols div { display: flex; flex-direction: column; gap: 10px; }
.footer-cols .hd { font-weight: 600; }
.footer-cols a { color: var(--text-2); text-decoration: none; }
.footer-cols a:hover { color: var(--ink); }
.disclaimer { margin: 0; padding-top: 24px; border-top: 1px solid var(--sand); font-size: 13px; line-height: 1.6; color: var(--text-3); }

/* Lists */
.sources a { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--sand); text-decoration: none; }
.sources .st { font-size: 16px; font-weight: 600; color: var(--ink); }
.sources .sk { font-size: 14px; color: var(--text-3); }
.breadcrumb { font-size: 14px; color: var(--text-3); display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb a { color: var(--text-3); text-decoration: none; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.checks li { padding: 22px; border-radius: 16px; background: var(--paper); border: 1px solid var(--sand); }
.checks .ct { font-family: var(--serif); font-weight: 600; font-size: 24px; display: block; padding-bottom: 6px; }
.checks .cd { font-size: 15px; line-height: 1.55; color: var(--text-2); }
.empty { padding: 28px; border-radius: 16px; border: 1.5px dashed var(--taupe); color: var(--text-3); text-align: center; }
[hidden] { display: none !important; }

/* Phones */
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .display { font-size: 46px; }
  .h1 { font-size: 42px; }
  .h2 { font-size: 34px; }
  .h3 { font-size: 28px; }
  .section { padding: 56px 0; }
  .hero { padding: 40px 0; }
  .nav { flex-wrap: nowrap; overflow-x: auto; width: 100%; gap: 20px; padding-bottom: 4px; }
  .nav a { white-space: nowrap; }
  .news { padding: 32px 24px; border-radius: 0; }
  .feature { padding: 16px; }
  .sponsor-band .tag { display: none; }
}
