/* Shared shell for the marketing pages (work, plans, why, scan, about,
   how-it-works, faq). index.html keeps its own inline styles; legal.css
   still serves terms/privacy/accessibility. */

:root{
  --void:#0A0C10;
  --panel:#12161D;
  --edge:#232A35;
  --steel:#8C97A6;
  --white:#F2F5F9;
  --gold:#D9A441;
  --gold-dark:#B8862C;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;background:var(--void);color:var(--white);line-height:1.6;-webkit-font-smoothing:antialiased;overflow-x:hidden}
h1,h2,h3{font-family:"Playfair Display",Georgia,serif;line-height:1.12}
a{color:var(--gold)}
:focus-visible{outline:3px solid var(--gold);outline-offset:2px;border-radius:3px}
.skip-nav{position:absolute;left:-9999px;top:0;z-index:999;background:var(--gold);color:var(--void);padding:12px 18px;font-weight:700;text-decoration:none}
.skip-nav:focus{left:8px;top:8px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
figure.ba{margin:0}

.wrap{max-width:1100px;width:100%;margin:0 auto;padding:0 22px}
.kicker{text-transform:uppercase;letter-spacing:.2em;font-size:12px;font-weight:700;color:var(--gold);margin-bottom:14px}
.sec-title{font-size:clamp(28px,4.4vw,46px);font-weight:800;letter-spacing:-.01em;margin-bottom:14px}
.sub-copy{color:#C3CAD4;max-width:620px;font-size:17px}
.pad{padding:84px 0}
.muted{color:var(--steel)}

.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:14px 28px;background:var(--gold);color:var(--void);text-decoration:none;font-weight:700;font-size:16px;border-radius:6px;border:none;cursor:pointer;transition:background .15s,transform .25s}
.btn:hover{background:var(--gold-dark);transform:translateY(-4px) scale(1.02)}
.btn-ghost{background:transparent;border:1px solid var(--steel);color:var(--white)}
.btn-ghost:hover{background:var(--panel)}

/* header + nav */
header{position:sticky;top:0;z-index:100;padding:14px 0;background:rgba(10,12,16,.92);backdrop-filter:blur(10px);border-bottom:1px solid var(--edge)}
header .wrap{display:flex;justify-content:space-between;align-items:center;gap:18px}
.logo{font-family:"Playfair Display",Georgia,serif;font-weight:800;font-size:21px;color:var(--white);text-decoration:none;white-space:nowrap}
.logo em{font-style:italic;color:var(--gold)}
.nav{display:flex;align-items:center;gap:22px}
.nav a{color:#C3CAD4;text-decoration:none;font-size:14.5px;font-weight:600;white-space:nowrap;transition:color .15s}
.nav a:hover{color:var(--white)}
.nav a[aria-current="page"]{color:var(--gold)}
header .btn{min-height:44px;padding:10px 18px;font-size:15px;white-space:nowrap}
.nav-toggle{display:none;background:none;border:1px solid var(--edge);border-radius:6px;color:var(--white);min-height:44px;min-width:44px;cursor:pointer;font-size:20px;line-height:1}

/* Sticky call button — injected by site.js, mobile only (desktop keeps the
   header's "Text Daniel" instead). Fixed above safe-area so it clears home
   indicators on notched phones. */
.sticky-call{display:none}
@media(max-width:900px){
  .sticky-call{
    display:flex;align-items:center;justify-content:center;gap:8px;
    position:fixed;left:16px;right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px));
    z-index:90;min-height:52px;background:var(--gold);color:var(--void);
    font-weight:700;font-size:16px;text-decoration:none;border-radius:10px;
    box-shadow:0 8px 24px rgba(0,0,0,.45);
  }
  .sticky-call:hover{background:var(--gold-dark)}
}
@media(max-width:900px){
  .nav{position:fixed;inset:62px 0 auto 0;flex-direction:column;align-items:stretch;gap:0;background:var(--panel);border-bottom:1px solid var(--edge);padding:8px 0;display:none}
  .nav.open{display:flex}
  .nav a{padding:14px 24px;font-size:16px;border-bottom:1px solid var(--edge)}
  .nav-toggle{display:inline-flex;align-items:center;justify-content:center}
  header .btn.hdr-cta{display:none}
}

/* page intro */
.hero{padding:76px 0 54px;border-bottom:1px solid var(--edge);background:linear-gradient(180deg,#0d1117,var(--void))}
.hero h1{font-size:clamp(34px,6vw,62px);font-weight:800;letter-spacing:-.015em;margin-bottom:16px}
.hero h1 em{font-style:italic;color:var(--gold)}
.hero p{color:#C3CAD4;font-size:clamp(16px,2vw,19px);max-width:640px}

/* cards */
.card{background:var(--panel);border:1px solid var(--edge);border-radius:14px;padding:26px 24px}
.grid{display:grid;gap:20px}
@media(min-width:760px){.g-2{grid-template-columns:1fr 1fr}.g-3{grid-template-columns:repeat(3,1fr)}}
@media(max-width:759px){.g-2,.g-3{grid-template-columns:1fr}}

/* footer */
footer{border-top:1px solid var(--edge);padding:44px 0;background:#080a0d;color:var(--steel);font-size:14px}
footer .f-nav{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:18px}
footer a{color:var(--steel);text-decoration:none}
footer a:hover{color:var(--gold)}
footer .f-contact{margin-bottom:18px;line-height:1.9}
footer .f-contact a{color:var(--white);font-weight:600}
footer .f-contact a:hover{color:var(--gold)}
footer .f-bottom{display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;border-top:1px solid var(--edge);padding-top:18px}
/* The sticky call pill covers the bottom 68px of the viewport (16px offset +
   52px tall), so the footer has to reserve room or the Terms/Privacy/
   Accessibility row sits underneath it and cannot be tapped. Must come after
   the `padding:44px 0` shorthand above, which would otherwise reset it. */
@media(max-width:900px){footer{padding-bottom:96px}}
/* call + text side by side under a page's closing CTA */
.cta-pair{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}

.reveal{opacity:0;transform:translateY(22px)}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .reveal{opacity:1;transform:none}
}
