/* ============================================================================
   OnPDF.org — Premium legal-tech design system
   Hand-built, dependency-free. One stylesheet drives the homepage AND every
   document-generator page (shared class names). Grotesk type, ink + warm gold
   + signal azure. Built as an Upwork portfolio showpiece.
   ============================================================================ */

/* ---- TOKENS ---- */
:root {
  --ink:        #0e1622;   /* near-black blue — authority */
  --ink-2:      #16202f;
  --ink-3:      #1f2c3e;
  --paper:      #f7f5f0;   /* warm off-white page */
  --paper-2:    #ffffff;
  --line:       #e7e2d8;   /* warm hairline */
  --line-cool:  #dfe3ea;

  --text:       #14181f;
  --text-soft:  #4a5563;
  --text-mut:   #717c8a;
  --on-ink:     #eef2f7;
  --on-ink-mut: #9aa7b8;

  --gold:       #c8972f;   /* premium / authority CTA */
  --gold-2:     #e0b551;
  --gold-ink:   #5a4111;
  --azure:      #2f6bf0;   /* interactive / tech signal */
  --azure-2:    #1a4fc4;
  --azure-soft: rgba(47,107,240,0.10);
  --green:      #1f7a4d;
  --red:        #c43c3c;

  --shadow-sm:  0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.05);
  --shadow-md:  0 8px 24px -8px rgba(16,24,40,.18);
  --shadow-lg:  0 30px 60px -22px rgba(16,24,40,.32);
  --shadow-gold:0 14px 30px -10px rgba(200,151,47,.45);

  --r-sm: 8px;
  --r:    12px;
  --r-lg: 18px;
  --r-xl: 26px;

  --maxw: 1140px;
  --ease: cubic-bezier(.22,.61,.36,1);

  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Space Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

/* ---- LEGACY ALIASES ---- map original tokens used by the 350 state SEO pages
   and inline styles onto the new system so nothing renders unstyled. */
:root {
  --navy: var(--ink); --navy-light: var(--ink-3);
  --blue: var(--azure); --blue-hover: var(--azure-2);
  --gold-light: var(--gold-2);
  --green-light: #2e9e63;
  --white: #ffffff;
  --gray-50: #f7f6f3; --gray-100: #f1efe9; --gray-200: var(--line);
  --gray-300: var(--line-cool); --gray-400: #b7bdc7; --gray-600: var(--text-mut);
  --gray-700: var(--text-soft); --gray-800: #2c333d; --gray-900: var(--text);
  --radius: var(--r); --radius-lg: var(--r-lg);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { font-size: 16px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, .display { font-family: var(--font-display); letter-spacing: -.02em; }

a { color: var(--azure); text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.eyebrow {
  font-family: var(--font-display);
  font-size: .76rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold-ink);
}
.skip {
  position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff;
  padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 1000;
}
.skip:focus { left: 0; }

/* ============================================================================
   HEADER / NAV  (shared by homepage + every doc page via .site-header markup)
   ============================================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,245,240,.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 14px 28px;
  display: flex; align-items: center; gap: 20px;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.32rem; font-weight: 700; letter-spacing: -.03em;
  color: var(--ink); display: inline-flex; align-items: center; gap: 2px;
}
.logo span { color: var(--gold); }
.logo .dot { color: var(--azure); }

.nav-links { display: none; gap: 26px; margin-left: 14px; }
.nav-links a {
  color: var(--text-soft); font-size: .92rem; font-weight: 500;
  position: relative; padding: 4px 0;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--gold); transition: width .25s var(--ease);
}
.nav-links a:hover::after { width: 100%; }

.header-tagline { display: none; color: var(--text-mut); font-size: .85rem; }
.header-spacer { flex: 1; }

.btn--upwork {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: .86rem;
  padding: 10px 18px; border-radius: 999px;
  transition: transform .15s var(--ease), box-shadow .2s var(--ease), background .2s;
  white-space: nowrap;
}
.btn--upwork:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); background: var(--ink-3); }
.btn--upwork .pulse { width: 7px; height: 7px; border-radius: 50%; background: #6fd08c; box-shadow: 0 0 0 0 rgba(111,208,140,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(111,208,140,.55);} 70%{box-shadow:0 0 0 7px rgba(111,208,140,0);} 100%{box-shadow:0 0 0 0 rgba(111,208,140,0);} }

.burger { display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; margin-left: auto; }
.burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s var(--ease); }
.mobile-menu { display: none; flex-direction: column; gap: 4px; padding: 8px 28px 20px; background: var(--paper); border-bottom: 1px solid var(--line); }
.mobile-menu a { padding: 12px 4px; color: var(--text-soft); font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-menu.open { display: flex; }

@media (min-width: 880px) {
  .nav-links { display: flex; }
  .burger { display: none; }
  .header-spacer { display: block; }
}

/* ============================================================================
   HERO  (homepage)
   ============================================================================ */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 500px at 78% -8%, rgba(47,107,240,.16), transparent 60%),
    radial-gradient(800px 420px at 8% 8%, rgba(200,151,47,.14), transparent 55%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--on-ink);
  padding: 84px 0 96px;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: radial-gradient(700px 400px at 75% 10%, #000, transparent 75%);
  pointer-events: none;
}
.hero__in { position: relative; display: grid; grid-template-columns: 1fr; gap: 54px; align-items: center; }
.hero .eyebrow { color: var(--gold-2); }
.hero h1 {
  font-size: clamp(2.3rem, 5.4vw, 3.7rem); font-weight: 700; line-height: 1.04;
  margin: 16px 0 18px; color: #fff; max-width: 16ch;
}
.hero h1 em { font-style: normal; color: var(--gold-2); }
.hero__dek { font-size: 1.16rem; color: var(--on-ink-mut); max-width: 46ch; line-height: 1.55; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__stats { display: flex; gap: 34px; margin-top: 42px; }
.hero__stats div strong { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; color: #fff; display: block; line-height: 1; }
.hero__stats div span { font-size: .82rem; color: var(--on-ink-mut); letter-spacing: .02em; }

/* faux document preview — telegraphs the live tool */
.doc-mock {
  position: relative; background: #fff; color: var(--text);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: 30px 30px 26px; max-width: 430px; margin: 0 auto;
  transform: rotate(1.4deg); transition: transform .5s var(--ease);
  border: 1px solid rgba(255,255,255,.6);
}
.hero__in:hover .doc-mock { transform: rotate(0deg); }
.doc-mock::before { content: ""; position: absolute; inset: 14px 14px auto auto; }
.doc-mock__badge {
  position: absolute; top: -14px; right: 22px;
  background: var(--gold); color: var(--gold-ink); font-family: var(--font-display);
  font-weight: 700; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 999px; box-shadow: var(--shadow-gold);
}
.doc-mock__title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.doc-mock__statute { font-family: var(--font-mono); font-size: .72rem; color: var(--azure-2); margin-top: 4px; }
.doc-mock__rule { height: 1px; background: var(--line); margin: 16px 0; }
.doc-mock__line { height: 9px; border-radius: 4px; background: linear-gradient(90deg, #eef0f3, #f6f7f9); margin-bottom: 11px; }
.doc-mock__line.s { width: 55%; } .doc-mock__line.m { width: 78%; } .doc-mock__line.l { width: 92%; }
.doc-mock__sign { display: flex; gap: 18px; margin-top: 22px; }
.doc-mock__sign div { flex: 1; }
.doc-mock__sign .sig { height: 28px; border-bottom: 1.5px solid var(--ink-3); }
.doc-mock__sign small { font-size: .62rem; color: var(--text-mut); letter-spacing: .08em; text-transform: uppercase; }
.doc-mock__pdf {
  position: absolute; bottom: -16px; left: 26px;
  background: var(--ink); color: #fff; font-family: var(--font-mono); font-size: .68rem;
  padding: 6px 12px; border-radius: 7px; box-shadow: var(--shadow-md);
}

@media (min-width: 920px) {
  .hero__in { grid-template-columns: 1.05fr .95fr; }
  .doc-mock { margin: 0 0 0 auto; }
}

/* ============================================================================
   BUTTONS
   ============================================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  padding: 14px 26px; border-radius: var(--r); border: 1px solid transparent;
  cursor: pointer; transition: transform .15s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s;
  text-decoration: none; line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary, .hero-cta { background: var(--gold); color: var(--gold-ink); box-shadow: var(--shadow-gold); }
.btn-primary:hover, .hero-cta:hover { background: var(--gold-2); }
.btn--ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.22); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn-secondary { background: var(--paper-2); color: var(--ink); border-color: var(--line-cool); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { border-color: var(--ink-3); }
.btn--azure { background: var(--azure); color: #fff; box-shadow: 0 14px 30px -12px rgba(47,107,240,.6); }
.btn--azure:hover { background: var(--azure-2); }
.hero-cta { padding: 15px 30px; font-size: 1.02rem; }

/* ============================================================================
   TRUST BAR
   ============================================================================ */
.trust-bar { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.trust-bar-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 20px 28px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px;
}
.trust-item { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--text-soft); font-weight: 500; }
.trust-icon {
  width: 30px; height: 30px; flex-shrink: 0; border-radius: 8px;
  display: grid; place-items: center; background: var(--azure-soft); color: var(--azure-2);
  font-size: .95rem;
}

/* ============================================================================
   SECTIONS / HEADINGS
   ============================================================================ */
.main-content { max-width: var(--maxw); margin: 0 auto; padding: 84px 28px 96px; }
.section { padding: 78px 0; }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 700; color: var(--ink); line-height: 1.12; }
.section-subtitle { color: var(--text-soft); margin-top: 12px; font-size: 1.05rem; }

/* ============================================================================
   DOCUMENT GRID / CARDS  (homepage)
   ============================================================================ */
.doc-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px; max-width: var(--maxw); margin: 0 auto;
}
.doc-card {
  position: relative; background: var(--paper-2);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 26px 24px; overflow: hidden;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), border-color .25s;
  color: inherit; display: flex; flex-direction: column;
}
.doc-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--gold), var(--azure)); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.doc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.doc-card:hover::before { transform: scaleX(1); }
.doc-card__icon {
  width: 44px; height: 44px; border-radius: 11px; margin-bottom: 16px;
  display: grid; place-items: center; background: var(--ink); color: var(--gold-2);
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
}
.doc-card h3 { font-size: 1.16rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; line-height: 1.2; }
.doc-card .statute { font-family: var(--font-mono); font-size: .72rem; color: var(--azure-2); margin-bottom: 12px; letter-spacing: .01em; }
.doc-card p { font-size: .92rem; color: var(--text-soft); line-height: 1.55; margin-bottom: 18px; flex: 1; }
.doc-card .card-cta { font-family: var(--font-display); font-size: .9rem; font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.doc-card .card-cta .arr { transition: transform .2s var(--ease); }
.doc-card:hover .card-cta { color: var(--azure-2); }
.doc-card:hover .card-cta .arr { transform: translateX(4px); }

/* ============================================================================
   STEPS / HOW IT WORKS
   ============================================================================ */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; max-width: 940px; margin: 0 auto; }
.step { position: relative; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 26px; text-align: left; }
.step-number {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(140deg, var(--ink), var(--ink-3)); color: var(--gold-2);
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; margin-bottom: 18px;
}
.step h3 { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.step p { font-size: .93rem; color: var(--text-soft); }

/* ============================================================================
   COMPARE (Why not ChatGPT)
   ============================================================================ */
.compare { background: var(--ink); color: var(--on-ink); border-radius: var(--r-xl); padding: 56px 40px; max-width: 960px; margin: 0 auto; position: relative; overflow: hidden; }
.compare::before { content:""; position:absolute; inset:0; background: radial-gradient(600px 300px at 90% 0%, rgba(200,151,47,.16), transparent 60%); }
.compare .sec-head { margin-bottom: 34px; position: relative; }
.compare .section-title { color: #fff; }
.compare .section-subtitle { color: var(--on-ink-mut); }
.compare-grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 14px; max-width: 680px; margin: 0 auto; }
.compare-row { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--r); }
.compare-row .ic { flex-shrink: 0; width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; background: var(--gold); color: var(--gold-ink); font-weight: 700; font-size: .8rem; }
.compare-row strong { color: #fff; font-family: var(--font-display); }
.compare-row span { color: var(--on-ink-mut); }

/* ============================================================================
   PORTFOLIO CTA BAND
   ============================================================================ */
.cta-band { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: var(--gold-ink); }
.cta-band__in { max-width: var(--maxw); margin: 0 auto; padding: 56px 28px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta-band h2 { font-family: var(--font-display); font-size: clamp(1.5rem,3vw,2rem); font-weight: 700; line-height: 1.15; max-width: 20ch; }
.cta-band p { margin-top: 8px; color: var(--gold-ink); opacity: .82; max-width: 46ch; }
.cta-band .btn { background: var(--ink); color: #fff; }
.cta-band .btn:hover { background: var(--ink-3); }

/* ============================================================================
   FORM / DOCUMENT-GENERATOR PAGES
   ============================================================================ */
.form-page-header { text-align: center; margin-bottom: 28px; }
.form-page-header h1 { font-size: clamp(1.7rem, 3.6vw, 2.2rem); font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.form-page-header .statute-ref { font-family: var(--font-mono); font-size: .82rem; color: var(--azure-2); margin-bottom: 8px; }
.form-page-header .form-desc { font-size: 1rem; color: var(--text-soft); max-width: 600px; margin: 0 auto; }

.state-select-section { max-width: 460px; margin: 0 auto 36px; text-align: center; }
.state-select-section select, .state-select-section input { width: 100%; }
.state-select-section select {
  padding: 15px 18px; font-size: 1.02rem; font-family: var(--font-body);
  border: 1.5px solid var(--line-cool); border-radius: var(--r); background: var(--paper-2);
  color: var(--text); cursor: pointer; box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s;
}
.state-select-section select:focus { outline: none; border-color: var(--azure); box-shadow: 0 0 0 4px var(--azure-soft); }

.legal-notices { background: #fbf6e9; border: 1px solid #ecd9a6; border-left: 3px solid var(--gold); border-radius: var(--r); padding: 18px 22px; margin-bottom: 28px; }
.legal-notices h4 { font-family: var(--font-display); font-size: .8rem; font-weight: 700; color: var(--gold-ink); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .08em; }
.legal-notices ul { list-style: none; }
.legal-notices li { font-size: .88rem; color: var(--text-soft); padding: 4px 0 4px 20px; position: relative; line-height: 1.5; }
.legal-notices li::before { content: "§"; color: var(--gold); font-weight: 700; position: absolute; left: 2px; }

.form-container { max-width: 720px; margin: 0 auto; }
.form-section { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; margin-bottom: 18px; box-shadow: var(--shadow-sm); }
.form-section-title { font-family: var(--font-display); font-size: .8rem; font-weight: 700; color: var(--ink); margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); text-transform: uppercase; letter-spacing: .1em; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-row.full-width { grid-template-columns: 1fr; }
.form-row:last-child { margin-bottom: 0; }
.form-group { display: flex; flex-direction: column; }
.form-group label { font-size: .82rem; font-weight: 600; color: var(--text-soft); margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea {
  padding: 11px 14px; border: 1.5px solid var(--line-cool); border-radius: var(--r-sm);
  font-size: .96rem; font-family: var(--font-body); color: var(--text); background: var(--paper-2);
  transition: border-color .18s, box-shadow .18s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--azure); box-shadow: 0 0 0 4px var(--azure-soft); }
.form-group input.invalid { border-color: var(--red); box-shadow: 0 0 0 4px rgba(196,60,60,.1); }
.form-group .field-error { font-size: .78rem; color: var(--red); margin-top: 5px; display: none; }
.form-group .field-error.visible { display: block; }

.btn-row { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.btn-row .btn { flex: 1; min-width: 200px; }

/* ---- Paywall removed for the portfolio build: free, clean, fully working ---- */
.price-tag, .watermark-notice, .btn-preview { display: none !important; }

/* small reassurance chip under the generate button (injected) */
.free-note { margin-top: 16px; text-align: center; font-size: .86rem; color: var(--text-mut); }
.free-note b { color: var(--green); }

/* ============================================================================
   PROSE PAGES (privacy / terms / contact / disclaimer)
   ============================================================================ */
.prose { max-width: 760px; margin: 0 auto; }
.prose h1 { font-size: 2rem; color: var(--ink); margin-bottom: 18px; }
.prose h2 { font-size: 1.25rem; color: var(--ink); margin: 30px 0 10px; }
.prose h3 { font-size: 1.05rem; color: var(--ink); margin: 22px 0 8px; }
.prose p, .prose li { color: var(--text-soft); margin-bottom: 12px; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 14px; }

/* ============================================================================
   FOOTER
   ============================================================================ */
.site-footer { background: var(--ink); color: var(--on-ink-mut); padding: 56px 28px 40px; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; }
.footer-top { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; justify-content: space-between; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 24px; }
.footer-brand .logo { color: #fff; font-size: 1.3rem; }
.footer-brand p { color: var(--on-ink-mut); font-size: .9rem; max-width: 38ch; margin-top: 10px; }
.footer-disclaimer { font-size: .8rem; line-height: 1.7; color: #7f8b9c; margin-bottom: 22px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; margin-bottom: 18px; }
.footer-links a { color: var(--on-ink-mut); font-size: .88rem; }
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: .8rem; color: #6b7787; }
.footer-copy a { color: var(--gold-2); }

/* ============================================================================
   404 + COMING SOON
   ============================================================================ */
.coming-soon { display: inline-block; background: var(--line); color: var(--text-mut); font-size: .7rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; margin-left: 8px; }
.notfound { text-align: center; padding: 120px 24px; }
.notfound h1 { font-size: 5rem; color: var(--ink); }

/* ============================================================================
   SCROLL REVEAL
   ============================================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .doc-card:hover { transform: none; }
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 720px) {
  .wrap, .header-inner, .main-content, .trust-bar-inner, .footer-inner, .cta-band__in { padding-left: 20px; padding-right: 20px; }
  .hero { padding: 64px 0 74px; }
  .hero__stats { gap: 26px; }
  .section { padding: 58px 0; }
  .compare { padding: 40px 22px; }
  .form-row { grid-template-columns: 1fr; }
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; }
}
@media (max-width: 420px) {
  .hero h1 { font-size: 2rem; }
  .doc-mock { padding: 24px 22px; }
}
