/* FWING ELD — public site styles. Brand palette: navy #0B2E63, amber #E79B1D.
   Section flavors: .hero (dark gradient), plain (paper), .alt (white), .dark (navy).
   Every flavor carries explicit scoped color rules for every text element,
   so no element ever inherits a color from the wrong flavor. */

:root{
  --navy:#0B2E63;
  --navy-deep:#071E42;
  --navy-soft:#123E7E;
  --ink:#16263F;
  --paper:#F7F4ED;
  --white:#FFFFFF;
  --amber:#E79B1D;
  --amber-hover:#D98E12;
  --amber-light:#F5B74A;
  --muted-light:#45536C;
  --muted-dark:#C6D2E6;
  --line:#DCD4C2;
  --line-dark:#2A4A7D;
  --radius:14px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  font-size:17px;
  line-height:1.6;
  color:var(--ink);
  background:var(--paper);
}
.wrap{max-width:1080px;margin:0 auto;padding:0 20px}
img{max-width:100%}
h1,h2,h3{line-height:1.18;overflow-wrap:anywhere;margin:0 0 14px}
h1{font-size:clamp(30px,6vw,46px);letter-spacing:-.01em}
h2{font-size:clamp(24px,4.4vw,33px)}
h3{font-size:20px}
p{margin:0 0 14px}
ul{margin:0 0 14px;padding-left:22px}
li{margin-bottom:7px}
small{font-size:13.5px}
a{color:var(--navy);text-underline-offset:3px}
a:hover{color:var(--navy-soft)}
.eyebrow{
  font-size:13px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;
  margin:0 0 12px;color:var(--navy);
}
.lede{font-size:19px;line-height:1.55}

/* ---------- buttons (same in every flavor unless a flavor overrides) ---------- */
.btn{
  display:inline-block;padding:14px 24px;border-radius:10px;border:2px solid var(--amber);
  background:var(--amber);color:var(--navy);font-weight:700;font-size:17px;
  text-decoration:none;line-height:1.25;text-align:center;cursor:pointer;
}
.btn:hover{background:var(--amber-hover);border-color:var(--amber-hover);color:var(--navy)}
.btn.ghost{background:transparent;color:var(--navy);border-color:var(--navy)}
.btn.ghost:hover{background:var(--navy);color:var(--white)}

/* ---------- header (not sticky — scrolls away) ---------- */
.site-head{background:var(--navy)}
.head-in{display:flex;flex-wrap:wrap;align-items:center;gap:10px 22px;padding-top:12px;padding-bottom:12px}
.brand{display:inline-block;background:var(--white);border-radius:10px;padding:6px 10px;line-height:0}
.brand-logo{height:52px;width:auto;display:block}
nav.main{display:flex;flex-wrap:wrap;gap:4px 6px;align-items:center;margin-left:auto}
nav.main a{
  color:var(--white);text-decoration:none;font-weight:600;font-size:16px;
  padding:12px 10px;border-radius:8px;line-height:1.2;
}
nav.main a:hover{background:var(--navy-soft);color:var(--white)}
nav.main a.nav-cta{background:var(--amber);color:var(--navy);font-weight:700;margin-left:6px}
nav.main a.nav-cta:hover{background:var(--amber-hover);color:var(--navy)}

/* ---------- section flavors ---------- */
section{padding:56px 0}
section .btn{margin-top:8px}

/* plain flavor (paper background, body defaults) */
section h1,section h2,section h3{color:var(--navy)}
section p,section li{color:var(--ink)}
section a{color:var(--navy)}
section small{color:var(--muted-light)}
section label,section legend{color:var(--ink)}
section .muted{color:var(--muted-light)}

/* alt flavor (white background) */
section.alt{background:var(--white)}
section.alt h1,section.alt h2,section.alt h3{color:var(--navy)}
section.alt p,section.alt li{color:var(--ink)}
section.alt a{color:var(--navy)}
section.alt small{color:var(--muted-light)}
section.alt label,section.alt legend{color:var(--ink)}
section.alt .muted{color:var(--muted-light)}
section.alt .eyebrow{color:var(--navy)}

/* hero flavor (dark gradient) */
.hero{
  background:linear-gradient(160deg,var(--navy-deep) 0%,var(--navy) 55%,var(--navy-soft) 100%);
  padding:64px 0 60px;
}
.hero h1{color:var(--white)}
.hero h2,.hero h3{color:var(--white)}
.hero p,.hero li{color:var(--white)}
.hero a{color:var(--amber-light)}
.hero small{color:var(--muted-dark)}
.hero label,.hero legend{color:var(--white)}
.hero .eyebrow{color:var(--amber-light)}
.hero .btn{background:var(--amber);border-color:var(--amber);color:var(--navy)}
.hero .btn:hover{background:var(--amber-hover);border-color:var(--amber-hover);color:var(--navy)}
.hero .btn.ghost{background:transparent;border-color:var(--white);color:var(--white)}
.hero .btn.ghost:hover{background:var(--white);color:var(--navy)}
.hero .muted{color:var(--muted-dark)}

/* dark flavor (solid navy) */
section.dark{background:var(--navy);color:var(--white)}
section.dark h1,section.dark h2,section.dark h3{color:var(--white)}
section.dark p,section.dark li{color:var(--white)}
section.dark a{color:var(--amber-light)}
section.dark small{color:var(--muted-dark)}
section.dark label,section.dark legend{color:var(--white)}
section.dark .eyebrow{color:var(--amber-light)}
section.dark .btn{background:var(--amber);border-color:var(--amber);color:var(--navy)}
section.dark .btn:hover{background:var(--amber-hover);border-color:var(--amber-hover);color:var(--navy)}
section.dark .btn.ghost{background:transparent;border-color:var(--white);color:var(--white)}
section.dark .btn.ghost:hover{background:var(--white);color:var(--navy)}
section.dark .muted{color:var(--muted-dark)}

/* ---------- cards / panels ---------- */
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px;margin-top:26px}
.card{
  background:var(--white);border:1px solid var(--line);border-radius:var(--radius);
  padding:22px 20px;
}
.card h3{color:var(--navy)}
.card p,.card li{color:var(--ink)}
.card a{color:var(--navy)}
.card small{color:var(--muted-light)}
.card .card-tag{
  display:inline-block;font-size:12.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  color:var(--navy);background:var(--paper);border:1px solid var(--line);
  border-radius:999px;padding:4px 10px;margin-bottom:12px;
}
/* light panel placed inside dark sections — scoped rules beat the section rules */
section.dark .card{background:var(--white);border-color:var(--line)}
section.dark .card h3{color:var(--navy)}
section.dark .card p,section.dark .card li{color:var(--ink)}
section.dark .card a{color:var(--navy)}
section.dark .card small{color:var(--muted-light)}
.hero .card{background:var(--white);border-color:var(--line)}
.hero .card h3{color:var(--navy)}
.hero .card p,.hero .card li{color:var(--ink)}
.hero .card a{color:var(--navy)}
.hero .card small{color:var(--muted-light)}

/* clocks strip */
.clocks{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:18px;margin-top:26px}
.clock{
  background:var(--navy);border-radius:var(--radius);padding:20px;text-align:left;
}
.clock .clock-name{color:var(--amber-light);font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;margin:0 0 6px}
.clock .clock-what{color:var(--white);margin:0;font-size:16px}
section .clock h3{color:var(--white)}
section.alt .clock h3{color:var(--white)}
section .clock p{color:var(--white)}
section.alt .clock p{color:var(--white)}
section .clock .clock-name{color:var(--amber-light)}
section.alt .clock .clock-name{color:var(--amber-light)}

/* steps */
.steps{counter-reset:step;list-style:none;padding:0;margin:26px 0 0}
.steps li{
  counter-increment:step;position:relative;padding:0 0 8px 58px;margin-bottom:20px;
}
.steps li::before{
  content:counter(step);position:absolute;left:0;top:-2px;
  width:40px;height:40px;border-radius:50%;background:var(--amber);color:var(--navy);
  font-weight:800;font-size:19px;display:flex;align-items:center;justify-content:center;
}
.steps h3{margin-bottom:6px}
section.dark .steps li::before{background:var(--amber);color:var(--navy)}

/* CTA band */
.cta-band{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:28px 24px;margin-top:8px}
section .cta-band h2,section .cta-band h3{color:var(--navy)}
section .cta-band p{color:var(--ink)}

/* ---------- product screens (the product's own real renders) ---------- */
.screens{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:18px;margin-top:26px}
figure.shot{
  background:var(--white);border:1px solid var(--line);border-radius:var(--radius);
  padding:16px;margin:0;
}
figure.shot img.shot-img{display:block;width:100%;height:auto;border:1px solid var(--line);border-radius:8px}
figure.shot figcaption{margin-top:14px;color:var(--ink)}
figure.shot figcaption p:last-child{margin-bottom:0}
.shot .card-tag{
  display:inline-block;font-size:12.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  color:var(--navy);background:var(--paper);border:1px solid var(--line);
  border-radius:999px;padding:4px 10px;margin-bottom:12px;
}
.shot h3{color:var(--navy)}
.shot p,.shot li{color:var(--ink)}
.shot a{color:var(--navy)}
.shot small{color:var(--muted-light)}
.shot .shot-cap{font-size:15px;color:var(--muted-light);margin:12px 0 0}
/* a shot panel inside dark / hero sections — scoped rules beat the flavor rules */
section.dark .shot,.hero .shot{background:var(--white);border-color:var(--line)}
section.dark .shot h3,.hero .shot h3{color:var(--navy)}
section.dark .shot p,section.dark .shot li,.hero .shot p,.hero .shot li{color:var(--ink)}
section.dark .shot a,.hero .shot a{color:var(--navy)}
section.dark .shot small,.hero .shot small{color:var(--muted-light)}
section.dark .shot figcaption,.hero .shot figcaption{color:var(--ink)}
section.dark .shot .shot-cap,.hero .shot .shot-cap{color:var(--muted-light)}
section.dark .shot .card-tag,.hero .shot .card-tag{color:var(--navy)}
figure.shot.shot-narrow{max-width:400px;margin:28px auto 0}
figure.shot.shot-wide{margin-top:18px}

/* hero with the app's home screen beside the words */
.hero-grid{display:grid;gap:34px;align-items:center}
.hero .shot{width:100%;max-width:360px;justify-self:center}
@media (min-width:860px){.hero-grid{grid-template-columns:1.15fr .85fr}}

/* text beside a screen */
.showcase{display:grid;gap:26px;align-items:start}
.showcase .shot{width:100%;max-width:400px;justify-self:center}
@media (min-width:860px){.showcase{grid-template-columns:1.15fr .85fr}}

/* ---------- footer ---------- */
.site-foot{background:var(--navy-deep);padding:44px 0 36px}
.site-foot .brand{background:var(--white)}
.foot-top{display:flex;flex-wrap:wrap;gap:18px 30px;align-items:flex-start;justify-content:space-between}
nav.foot-nav{display:flex;flex-wrap:wrap;gap:6px 18px}
nav.foot-nav a{color:var(--white);text-decoration:none;font-weight:600;font-size:16px;padding:11px 4px}
nav.foot-nav a:hover{color:var(--amber-light)}
.site-foot p{color:var(--white)}
.site-foot a{color:var(--amber-light)}
.site-foot small{color:var(--muted-dark)}
.foot-line{margin-top:22px;max-width:720px}
.foot-small{margin-top:16px}
/* contact links get a full finger-height tap area without moving the layout */
.site-foot .foot-line a{display:inline-block;padding:10px 2px;margin:-10px 0}
a[href^="tel:"]:not(.btn){display:inline-block;padding:10px 1px;margin:-10px 0}

/* ---------- guides ---------- */
.factbox{
  background:var(--white);border:1px solid var(--line);border-left:5px solid var(--amber);
  border-radius:var(--radius);padding:20px;margin:22px 0;
}
section .factbox h3{color:var(--navy)}
section .factbox p,section .factbox li{color:var(--ink)}
section .factbox a{color:var(--navy)}
section .factbox small{color:var(--muted-light)}
.guide-body h2{margin-top:38px}
.guide-body h2:first-child{margin-top:0}
.guide-body h3{margin-top:24px}

/* narrow screens */
@media (max-width:640px){
  body{font-size:16.5px}
  section{padding:42px 0}
  .hero{padding:46px 0 44px}
  .brand-logo{height:44px}
  nav.main{margin-left:0}
  nav.main a{padding:12px 8px;font-size:15.5px}
  .btn{display:block;width:100%;margin-bottom:10px}
  .hero .btn,.cta-band .btn{display:block}
  .btnrow .btn{display:block}
}
.btnrow{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}
.btnrow .btn{margin-top:0}
@media (max-width:640px){.btnrow{flex-direction:column}}
