/* Mapped Steps home page. Loaded last; everything is scoped to .home so the app is untouched. */
.home{--ink:#111a2e;--navy:#0b1b40;--text:#2a3550;--muted:#4a5672;--line:#d6dcea;--tint:#f1f4fa;--paper:#fff;
  --cta:#c2410c;--cta-hover:#9a3412;--brand:#df623e;--focus:#2457d6;
  display:block;min-height:100vh;background:var(--paper);color:var(--text);font-family:'DM Sans',sans-serif;font-size:16px;line-height:1.6}
.home[hidden]{display:none}
.home *{box-sizing:border-box}
.home a{color:var(--navy)}
.home :focus-visible{outline:3px solid var(--focus);outline-offset:2px;border-radius:4px}
.home h1,.home h2,.home h3{font-family:'DM Sans',sans-serif;color:var(--ink);letter-spacing:-.015em;margin:0}

/* Nav */
.home-nav{position:sticky;top:0;z-index:5;display:flex;align-items:center;gap:32px;max-width:1200px;margin:0 auto;padding:16px 24px;background:#fffffff2;backdrop-filter:blur(6px)}
.home-brand{display:inline-flex;align-items:center;gap:10px;font-family:'DM Sans',sans-serif;font-weight:700;font-size:18px;color:var(--ink)!important;text-decoration:none}
.home-mark{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:var(--brand);color:#fff;font-size:17px;font-weight:800}
.home-links{display:flex;gap:24px;margin-right:auto}
.home-links a,.home-signin-link{color:var(--text);text-decoration:none;font-size:15px;font-weight:500}
.home-links a:hover,.home-signin-link:hover{color:var(--navy);text-decoration:underline;text-underline-offset:4px}
.home-nav-actions{display:flex;align-items:center;gap:20px}

/* Buttons */
.home-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;border-radius:8px;font:600 16px/1 'DM Sans',sans-serif;text-decoration:none;cursor:pointer;border:2px solid transparent;transition:background .15s,border-color .15s}
.home-btn-small{min-height:40px;padding:0 16px;font-size:15px}
.home-btn-primary{background:var(--cta);color:#fff!important}
.home-btn-primary:hover{background:var(--cta-hover)}
.home-btn-secondary{background:#fff;color:var(--navy)!important;border-color:var(--navy)}
.home-btn-secondary:hover{background:var(--tint)}

/* Hero */
.home-main{max-width:1200px;margin:0 auto;padding:0 24px}
.home-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:56px;align-items:center;padding:48px 0 64px}
.home-tag{display:inline-block;margin:0 0 20px;padding:4px 10px;border-radius:999px;background:#fff1e8;color:#9a3412;font-size:14px;font-weight:600}
.home h1{font-size:54px;line-height:1.06;font-weight:700;letter-spacing:-.025em;max-width:13ch;text-wrap:balance}
.home-lede{margin:24px 0 0;font-size:19px;line-height:1.6;color:var(--text);max-width:54ch}
.home-ctas{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}
.home-note{margin:14px 0 0;font-size:15px;color:var(--muted)}

/* Sign-in card (keeps the app's IDs and behaviour) */
.home .home-signin{display:block;max-width:440px;margin:0 auto;padding:28px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 1px 2px #0b1b400d,0 12px 32px -16px #0b1b4033}
.home .account-progress{display:none}
.home .account-card{max-width:none;margin:0;padding:0}
.home .account-card h2{font-size:22px;line-height:1.3;font-weight:700}
.home .account-card>p{margin:6px 0 20px;font-size:15px;color:var(--muted)}
.home .social-button{width:100%;min-height:48px;justify-content:center;font-size:15px;border-radius:8px}
.home .email-auth-divider span{font-size:14px;color:var(--muted)}
.home .email-auth-tabs button{font-size:15px;min-height:40px}
.home .field-label{font-size:15px;color:var(--ink);font-weight:600}
.home .field-input{min-height:46px;font-size:16px;border-radius:8px}
.home .button-dark,.home #email-auth-submit{width:100%;min-height:48px;justify-content:center;font-size:16px;border-radius:8px}
.home .email-auth-link{font-size:15px}
.home .account-status,.home .email-auth-status,.home .email-auth-hint{font-size:14px}
.home .account-preview{font-size:15px;font-weight:600;color:var(--navy)}
.home .account-fine-print{margin-top:18px;font-size:14px;line-height:1.5;color:var(--muted)}

/* Product shot */
.home-shot{margin:0;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 1px 2px #0b1b400d,0 24px 48px -28px #0b1b4040}
.home-shot-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 18px;border-bottom:1px solid var(--line);font-weight:700;color:var(--ink)}
.home-badge{padding:3px 10px;border-radius:999px;background:#e5f3ec;color:#14532d;font-size:14px;font-weight:600}
.home-shot img{display:block;width:100%;height:auto;max-height:560px;object-fit:cover;object-position:top}
.home-shot figcaption{padding:10px 18px;border-top:1px solid var(--line);font-size:14px;color:var(--muted)}
.home-sop{padding:24px;background:#fff;border:1px solid var(--line);border-radius:12px;font-size:15px;color:var(--text);box-shadow:0 18px 40px -28px #0b1b4040}
.home-sop p{margin:0 0 12px}
.home-sop-kicker{font-size:14px;color:var(--muted)}
.home-sop-title{font-size:22px;font-weight:700;color:var(--ink);line-height:1.25}
.home-sop dl{display:grid;grid-template-columns:1fr 1fr;gap:10px 16px;margin:16px 0 20px;padding:14px 0;border-block:1px solid var(--line)}
.home-sop dt{font-size:13px;color:var(--muted)}
.home-sop dd{margin:0;font-weight:600;color:var(--ink)}
.home-sop-h{font-weight:700;color:var(--ink)}
.home-sop-route{padding:10px 12px;border-left:3px solid var(--brand);background:#fff7f2}

/* Sections */
.home-section{padding:72px 0;border-top:1px solid var(--line)}
.home-section h2{font-size:36px;line-height:1.2;font-weight:800;margin-bottom:12px}
.home-section p{max-width:62ch}
.home-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;margin:32px 0 0;padding:0;list-style:none;counter-reset:s}
.home-steps li{padding-top:16px;border-top:1px solid var(--line)}

.home-steps h3{font-size:22px;margin-bottom:8px}
.home-steps p{margin:0;color:var(--text)}
.home-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:64px;align-items:start}
.home-facts{margin:24px 0 0;padding:0;list-style:none}
.home-facts li{padding:10px 0;border-top:1px solid var(--line)}
.home-facts b{color:var(--ink)}
.home-data-list{display:grid;grid-template-columns:repeat(2,1fr);gap:0 48px;margin:24px 0 0}
.home-data-list div{padding:16px 0;border-top:1px solid var(--line)}
.home-data-list dt{font-weight:700;color:var(--ink)}
.home-data-list dd{margin:4px 0 0}
.home-data-more{margin-top:20px;font-size:15px;color:var(--muted)}
.home-contact{padding:40px 0;font-size:17px}
.home-contact p{margin:0}
.home-signin-section{padding:64px 0;background:var(--tint);margin:0 -24px;padding-inline:24px;border-top:0}
/* After Google sign-in, onboarding shows on its own. */
.home.home-onboarding .home-hero,.home.home-onboarding .home-section:not(.home-signin-section),.home.home-onboarding .home-links,.home.home-onboarding .home-nav-actions{display:none}
.home.home-onboarding .home-signin-section{background:none;padding-top:24px}

/* Footer */
.home-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;max-width:1200px;margin:0 auto;padding:28px 24px 40px;border-top:1px solid var(--line);font-size:15px;color:var(--muted)}
.home-footer nav{display:flex;flex-wrap:wrap;gap:20px}
.home-footer a{color:var(--text);text-decoration:none}
.home-footer a:hover{text-decoration:underline}

/* Responsive */
@media (max-width:1080px){.home-hero{grid-template-columns:1fr;gap:40px}.home h1{max-width:16ch}}
@media (max-width:860px){.home-links{display:none}.home-nav{gap:16px}.home-nav-actions{margin-left:auto}.home-split,.home-steps,.home-data-list{grid-template-columns:1fr}.home-split{gap:32px}}
@media (max-width:560px){.home-main{padding:0 16px}.home-nav{padding:12px 16px}.home-nav .home-btn-small{display:none}.home h1{font-size:38px}.home-lede{font-size:17px}.home-hero{padding:32px 0}.home-ctas .home-btn{width:100%}.home .home-signin{padding:20px}.home-section{padding:48px 0}.home-section h2{font-size:28px}.home-signin-section{margin:0 -16px;padding-inline:16px}.home .home-signin{padding:20px}.home-shot-bar{flex-wrap:wrap}.home-footer{padding:24px 16px 32px}}
@media (prefers-reduced-motion:reduce){.home *{transition:none!important;scroll-behavior:auto!important}}
html:has(.home:not([hidden])){scroll-behavior:smooth;scroll-padding-top:80px}

/* The app's own policy footer is replaced by .home-footer while the home page shows. */
body:has(#account-gate:not([hidden])) .policy-links{display:none}
.home #email-auth-submit{font-size:16px;justify-content:center;margin-top:16px}
