/* =========================================================
   Fred's List — website styles (V1)
   LOCKED semantic colour system (see Build Tracker: "Fresh colour
   system + semantic colour rules — LOCKED"). Colour follows MEANING.
   Never reintroduce #FBF6EC / #8B5A3F / #526B3B.
   ========================================================= */
:root{
  --bg:        #FFFFFF;  /* page background */
  --surface:   #F4F6F5;  /* cards / soft surfaces */
  --structure: #16233B;  /* navy: headings, text, navigation, neutral actions */
  --go:        #1F7A55;  /* eucalyptus: GO / ready / complete */
  --action:    #C2410C;  /* sunrise orange: action / attention that isn't GO */
  --critical:  #B3261E;  /* red: critical / unsafe / blocked (not used on site) */
  --restock:   #92400E;  /* app-only status (not used on site) */
  --line:      #DDE3E0;  /* hairline borders derived from surface */
  --muted:     #3F4A5C;  /* secondary text, navy family, AA on white */

  /* Fonts: the app uses the platform system font (no custom fonts in the
     app build — VERIFY against the app theme). Matching that here. */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --r-art: 28px;   /* artwork frames */
  --r-card: 16px;  /* cards */
  --r-pill: 999px; /* buttons, chips */
  --wrap: 1120px;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:88px}
body{margin:0;background:var(--bg);color:var(--structure);font-family:var(--font);font-size:1.125rem;line-height:1.6}
img{max-width:100%;height:auto;display:block}
a{color:var(--structure);text-decoration:underline;text-underline-offset:.18em;text-decoration-thickness:.08em}
a:hover{text-decoration-thickness:.14em}
:focus-visible{outline:3px solid var(--structure);outline-offset:3px;border-radius:6px}
h1,h2,h3{line-height:1.12;margin:0 0 .5em;letter-spacing:-.015em}
h2{font-size:clamp(1.75rem,3.4vw,2.5rem);font-weight:800}
h3{font-size:1.25rem;font-weight:750;letter-spacing:-.005em}
p{margin:0 0 1em;max-width:62ch}
.wrap{width:min(100% - 2.5rem, var(--wrap));margin-inline:auto}
.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:1rem;top:-4rem;background:var(--structure);color:#fff;padding:.75rem 1rem;border-radius:10px;z-index:100}
.skip:focus{top:1rem}

/* ---------- Launch phase switch ----------
   <html data-phase="prelaunch"> until 11 Nov 2026, then "live". */
[data-phase="prelaunch"] .when-live{display:none!important}
[data-phase="live"] .when-prelaunch{display:none!important}

/* ---------- Header ---------- */
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);border-bottom:1px solid var(--line)}
.site-header .wrap{display:flex;align-items:center;gap:1.25rem;min-height:72px}
.brand{display:flex;align-items:center;gap:.65rem;text-decoration:none;font-weight:800;font-size:1.2rem;min-height:48px}
.brand img{width:40px;height:40px;border-radius:10px}
.nav{margin-left:auto;display:flex;align-items:center;gap:.25rem}
.nav a{text-decoration:none;font-weight:600;padding:.7rem .8rem;border-radius:10px;min-height:48px;display:inline-flex;align-items:center}
.nav a:hover,.nav a[aria-current="page"]{text-decoration:underline}
.menu{margin-left:auto;display:none}
.menu summary{list-style:none;cursor:pointer;font-weight:700;padding:.7rem 1rem;border:2px solid var(--structure);border-radius:var(--r-pill);min-height:48px;display:flex;align-items:center}
.menu summary::-webkit-details-marker{display:none}
.menu[open] .menu-panel{display:flex}
.menu-panel{display:none;position:absolute;left:0;right:0;top:100%;flex-direction:column;background:#fff;border-bottom:1px solid var(--line);padding:.5rem 1.25rem 1rem}
.menu-panel a{padding:.9rem .25rem;font-weight:600;text-decoration:none;border-bottom:1px solid var(--line);min-height:48px}
@media (max-width:760px){.nav{display:none}.menu{display:block}}

/* ---------- Buttons & badges ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:52px;padding:.8rem 1.4rem;border-radius:var(--r-pill);font-weight:750;font-size:1.05rem;text-decoration:none;border:2px solid transparent;cursor:pointer}
.btn-go{background:var(--go);color:#fff}                       /* GO: download etc. (live only) */
.btn-go:hover{background:#18643f}
.btn-neutral{background:transparent;color:var(--structure);border-color:var(--structure)} /* neutral/navigation */
.btn-neutral:hover{background:var(--surface)}
.btn-neutral.on-dark{color:#fff;border-color:#fff}
.btn-neutral.on-dark:hover{background:rgba(255,255,255,.08)}
.badge-date{display:inline-flex;align-items:center;gap:.6rem;background:var(--action);color:#fff;font-weight:750;padding:.7rem 1.15rem;border-radius:var(--r-pill);min-height:48px} /* ATTENTION, not a button */
.badge-date .dot{width:.55rem;height:.55rem;border-radius:50%;background:#fff}
.small-print{font-size:.95rem;color:var(--muted)}

/* ---------- Hero ---------- */
.hero{padding:clamp(2.5rem,6vw,5rem) 0 0;position:relative}
.hero .wrap{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(2rem,5vw,4rem);align-items:center}
.checklist-h1{font-size:clamp(2.35rem,5.6vw,4.1rem);font-weight:850;letter-spacing:-.03em;line-height:1.05;margin:0 0 1.25rem}
.checklist-h1 .line{display:flex;align-items:center;gap:.9rem}
.checklist-h1 .line::before{content:"";flex:none;width:.72em;height:.72em;border:.09em solid var(--structure);border-radius:.18em;background:#fff center/70% no-repeat;animation:tick .35s ease forwards}
.checklist-h1 .line:nth-child(1)::before{animation-delay:.35s}
.checklist-h1 .line:nth-child(2)::before{animation-delay:.75s}
.checklist-h1 .line:nth-child(3)::before{animation-delay:1.15s}
.checklist-h1 .line:nth-child(4)::before{animation-delay:1.55s}
@keyframes tick{to{background-color:var(--go);border-color:var(--go);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}}
.hero-lead{font-size:clamp(1.15rem,2vw,1.35rem);max-width:34ch;margin-bottom:1.5rem}
.hero-meta{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1rem;margin-bottom:1rem}
.hero-art{margin:0;border-radius:var(--r-art);overflow:hidden;aspect-ratio:4/3.3;background:var(--surface)}
.hero-art img{width:100%;height:100%;object-fit:cover;object-position:28% 50%}
.horizon{display:block;width:100%;height:clamp(36px,5vw,70px);margin-top:clamp(1.5rem,4vw,3rem);color:var(--surface)}

/* ---------- Sections ---------- */
.section{padding:clamp(3.5rem,8vw,6rem) 0}
.band{background:var(--surface)}
.dark{background:var(--structure);color:#fff}
.dark a{color:#fff}
.dark h2,.dark h3{color:#fff}
.lead{font-size:1.2rem;max-width:56ch}
.section-head{max-width:60ch;margin-bottom:2rem}

/* Sound familiar */
.familiar{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;list-style:none;padding:0;margin:0}
.familiar li{background:#fff;border-radius:var(--r-card);padding:1.25rem 1.4rem;font-weight:600;font-size:1.1rem}

/* How it works — a true sequence, so numbered steps are appropriate */
.steps-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:clamp(2rem,5vw,4rem);align-items:start}
.steps{list-style:none;padding:0;margin:0;counter-reset:step}
.steps li{counter-increment:step;display:grid;grid-template-columns:3rem 1fr;gap:1rem;padding:1.1rem 0;border-bottom:1px solid var(--line)}
.steps li:last-child{border-bottom:0}
.steps li::before{content:counter(step);width:3rem;height:3rem;border-radius:50%;display:grid;place-items:center;font-weight:800;color:#fff;background:var(--go)}
.steps h3{margin:.35rem 0 .2rem}
.steps p{margin:0}
.guide{background:var(--surface);border-radius:var(--r-card);padding:1.4rem}
.guide p:last-child{margin:0}
.guide-avatar{width:128px;height:128px;border-radius:50%;margin-bottom:1rem}

/* What's inside — feature checklist + screenshot slots.
   Add/remove a feature by adding/removing one <li class="feature">. */
.inside{display:grid;grid-template-columns:1.25fr 1fr;gap:clamp(2rem,5vw,4rem);align-items:start}
.features{list-style:none;padding:0;margin:0}
.feature{display:grid;grid-template-columns:2rem 1fr;gap:.9rem;padding:1.1rem 0;border-top:1px solid var(--line)}
.feature:first-child{border-top:0}
.feature::before{content:"";width:1.6rem;height:1.6rem;margin-top:.15rem;border-radius:.4rem;background:var(--go) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/72% no-repeat}
.feature h3{margin:0 0 .2rem;font-size:1.15rem}
.feature p{margin:0;color:var(--muted)}
.shots{display:grid;gap:1rem;position:sticky;top:96px}
.shot-slot{margin:0;border:2px dashed #B9C3BE;border-radius:24px;aspect-ratio:9/16;max-height:520px;display:grid;place-items:center;text-align:center;padding:1.5rem;color:var(--muted);background:var(--surface)}
.shot-slot figcaption{font-size:.95rem}

/* Share the load */
.split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,5vw,4rem);align-items:center}
.plain-list{padding-left:1.2rem;margin:0 0 1rem}
.plain-list li{margin:.35rem 0}

/* Safety (navy) */
.safety-points{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem;margin-top:1.5rem}
.safety-points > div{border:1px solid rgba(255,255,255,.25);border-radius:var(--r-card);padding:1.4rem}
.safety-points p{margin:0;color:#E6EAF0}
.notice{margin-top:1.5rem;padding:1rem 1.25rem;border-left:4px solid #fff;background:rgba(255,255,255,.07);border-radius:0 12px 12px 0;max-width:64ch}
.notice p{margin:0;color:#fff}

/* Travel styles */
.chips{display:flex;flex-wrap:wrap;gap:.6rem;list-style:none;padding:0;margin:1.5rem 0 2rem}
.chips li{background:var(--surface);border-radius:var(--r-pill);padding:.6rem 1.1rem;font-weight:650}
.chips li.more{background:transparent;border:2px dashed #B9C3BE}
.promise{display:flex;flex-wrap:wrap;gap:1rem 2rem;list-style:none;padding:0;margin:0}
.promise li{display:flex;align-items:center;gap:.6rem;font-weight:700}
.promise li::before{content:"";width:1.4rem;height:1.4rem;border-radius:.35rem;background:var(--go) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/72% no-repeat}

/* Meet Fred & Elkie */
.pair{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}
.character{background:var(--surface);border-radius:var(--r-art);overflow:hidden;display:grid;grid-template-rows:auto 1fr}
.character figure{margin:0;aspect-ratio:1/1;background:#fff}
.character figure img{width:100%;height:100%;object-fit:cover}
.character .body{padding:1.4rem 1.5rem 1.6rem}
.character .body p{margin:0;color:var(--muted)}
.art-slot{display:grid;place-items:center;height:100%;border:2px dashed #B9C3BE;border-radius:var(--r-art) var(--r-art) 0 0;color:var(--muted);text-align:center;padding:1.5rem;background:var(--surface)}

/* Pricing */
.price-card{max-width:560px;margin:0 auto;text-align:center;background:var(--surface);border-radius:var(--r-art);padding:clamp(2rem,5vw,3rem)}
.price{font-size:clamp(3rem,8vw,4.5rem);font-weight:850;letter-spacing:-.03em;line-height:1;margin:.25rem 0 .35rem}
.price small{font-size:1.1rem;font-weight:700;letter-spacing:0}
.price-card p{margin-inline:auto}
.price-card ul{list-style:none;padding:0;margin:1.25rem 0 1.5rem;display:grid;gap:.5rem;justify-items:center}
.price-card ul li{display:flex;align-items:center;gap:.55rem;font-weight:650}
.price-card ul li::before{content:"";width:1.25rem;height:1.25rem;border-radius:.3rem;background:var(--go) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/72% no-repeat}

/* FAQ */
.faq{max-width:760px}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{cursor:pointer;list-style:none;font-weight:750;font-size:1.15rem;padding:1.1rem 2.5rem 1.1rem 0;position:relative;min-height:48px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";position:absolute;right:.25rem;top:.9rem;font-size:1.6rem;line-height:1;font-weight:500}
.faq details[open] summary::after{content:"\2212"}
.faq details > div{padding:0 0 1.2rem}

/* Finale */
.finale .wrap{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,5vw,4rem);align-items:center}
.finale-art{margin:0;border-radius:var(--r-art);overflow:hidden;background:#fff}
.finale-art img{width:100%;height:auto}
.finale h2{font-size:clamp(2rem,4.5vw,3rem)}
.social{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;margin-top:1.25rem}

/* Footer */
.site-footer{padding:2.5rem 0 3rem;border-top:1px solid var(--line);font-size:1rem}
.site-footer .wrap{display:flex;flex-wrap:wrap;gap:1.5rem 3rem;justify-content:space-between}
.foot-links{display:flex;flex-wrap:wrap;gap:.25rem 1.25rem;list-style:none;padding:0;margin:0}
.foot-links a{display:inline-flex;min-height:44px;align-items:center}
.foot-meta p{margin:0 0 .3rem;color:var(--muted)}

/* ---------- Content pages (FAQ, legal, support) ---------- */
.page-hero{padding:clamp(2.5rem,6vw,4rem) 0 1.5rem;border-bottom:1px solid var(--line)}
.page-hero h1{font-size:clamp(2.2rem,5vw,3.2rem);font-weight:850;letter-spacing:-.025em;margin:0 0 .5rem}
.prose{padding:2.5rem 0 4rem}
.prose .wrap{max-width:760px}
.prose h2{font-size:1.6rem;margin-top:2.2rem}
.prose h3{margin-top:1.5rem}
.prose ul,.prose ol{padding-left:1.3rem;max-width:62ch}
.prose li{margin:.35rem 0}
.updated{color:var(--muted);font-size:1rem}

/* VERIFY markers — STAGING ONLY. Every one must be resolved and removed
   before go-live (see README). Deliberately loud so none are missed. */
.verify{display:inline-block;font-size:.8rem;font-weight:800;background:#FFF4D6;color:#5A3B00;border:1px solid #E0B84D;border-radius:6px;padding:.05rem .4rem;margin:0 .2rem;vertical-align:.1em}
.verify-box{background:#FFF4D6;border:1px solid #E0B84D;color:#3D2A00;border-radius:12px;padding:1rem 1.2rem;margin:1rem 0}

/* ---------- Responsive ---------- */
@media (max-width:900px){
  .hero .wrap,.steps-grid,.inside,.split,.finale .wrap{grid-template-columns:1fr}
  .shots{position:static;grid-template-columns:1fr 1fr}
  .shot-slot{max-height:none}
}
@media (max-width:640px){
  body{font-size:1.0625rem}
  .familiar,.safety-points,.pair{grid-template-columns:1fr}
  .shots{grid-template-columns:1fr}
  .shot-slot{aspect-ratio:auto;min-height:220px}
}

/* ---------- Reduced motion: no animation, ticks shown done ---------- */
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .checklist-h1 .line::before{animation:none;background-color:var(--go);border-color:var(--go);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
}

/* ---------- Real app screenshots (Build 13) ----------
   Full, uncropped phone captures. Sized by CSS only; aspect ratio always kept. */
.shot-frame{margin:0}
.shot{display:block;width:100%;height:auto;max-width:300px;margin-inline:auto;border:1px solid var(--line);border-radius:28px;background:#fff}
.shot--hero{max-width:380px}
.shot-frame figcaption{max-width:300px;margin:.75rem auto 0;font-size:.98rem;color:var(--muted)}
.shot-frame--hero figcaption{max-width:380px}
.pair-shots{display:grid;grid-template-columns:repeat(2,minmax(0,300px));justify-content:center;gap:clamp(1.5rem,5vw,4rem);margin-top:2rem;align-items:start}
.safety-points{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.marie{margin-top:2.5rem;grid-template-columns:minmax(0,300px) 1fr}
.marie p{color:#E6EAF0}
.dark .shot{border-color:rgba(255,255,255,.25)}
@media (max-width:860px){
  .shot,.shot--hero{max-width:300px}
  .pair-shots{grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:min(80%,300px);justify-content:start;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:.75rem}
  .pair-shots .shot-frame{scroll-snap-align:start}
  .marie{grid-template-columns:1fr}
  .inside .shots{order:-1}
}
