/* I Work 121 — public website styles (home + module pages). The app has its own styles in src/styles.css. */
:root {
  --navy: #0f2a44;
  --blue: #1f4e79;
  --blue-soft: #e4edf6;
  --amber: #e09a2b;
  --amber-ink: #8a5a10;
  --amber-soft: #fbefd9;
  --paper: #f2f5f8;
  --white: #ffffff;
  --ink: #13222f;
  --muted: #52606d;
  --line: #d5dde6;
  --green: #1c7a4c;
  --red: #a8321f;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--white); }
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 .5em; color: inherit; }
h1 { font-size: clamp(2.2rem, 6.5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 750; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.skip { position: absolute; left: -999px; top: 0; background: var(--white); padding: .5rem 1rem; z-index: 99; }
.skip:focus { left: 8px; top: 8px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* Header */
.site-header { background: var(--navy); color: var(--white); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.2rem; white-space: nowrap; letter-spacing: -0.01em; }
.logo:hover { color: var(--white); }
.logo img { width: 34px; height: 34px; }
.site-header nav { display: flex; align-items: center; gap: 6px; }
.site-header nav a.text { color: #cfe0f1; text-decoration: none; padding: .5rem .6rem; font-size: .95rem; display: none; }
.site-header nav a.text:hover { color: var(--white); }
@media (min-width: 820px) { .site-header nav a.text { display: inline-block; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .7rem 1.2rem; border-radius: 10px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: var(--body); line-height: 1.2; text-align: center; }
.btn.amber { background: var(--amber); color: var(--navy); }
.btn.amber:hover { background: #eaa93f; color: var(--navy); }
.btn.white { background: var(--white); color: var(--navy); }
.btn.outline-light { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn.outline-light:hover { border-color: var(--white); color: var(--white); }
.btn.blue { background: var(--blue); color: var(--white); }
.btn.blue:hover { background: var(--navy); color: var(--white); }
.btn.outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn.wa { background: #1fa855; color: var(--white); }
.btn.wa:hover { background: #178a45; color: var(--white); }
.btn.small { min-height: 40px; padding: .45rem .9rem; font-size: .92rem; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Hero */
.hero { background: var(--navy); color: var(--white); padding: 40px 0 56px; overflow: hidden; }
.hero .wrap { display: grid; gap: 36px; align-items: center; }
@media (min-width: 940px) { .hero .wrap { grid-template-columns: 1.05fr .95fr; gap: 56px; } .hero { padding: 72px 0 88px; } }
.hero h1 { color: var(--white); max-width: 15ch; }
.hero .lead { font-size: 1.15rem; color: #d4e2f0; max-width: 46ch; }
.status-pill { display: inline-block; font-size: .85rem; font-weight: 600; padding: .3rem .75rem; border-radius: 999px; background: rgba(224,154,43,.16); color: #f6c877; margin-bottom: 1rem; }
.hero .btn-row { margin-top: 1.5rem; }

/* Price builder (the one interactive moment) */
.builder { background: var(--white); color: var(--ink); border-radius: 18px; padding: 20px; box-shadow: 0 24px 60px rgba(0,0,0,.28); }
@media (min-width: 720px) { .builder { padding: 28px; } }
.builder h2 { font-size: 1.35rem; margin-bottom: .25rem; }
.builder > p { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { position: relative; text-align: left; border: 2px solid var(--line); background: var(--paper); border-radius: 14px; padding: 14px 12px 12px; cursor: pointer; font: inherit; color: inherit; min-height: 112px; display: flex; flex-direction: column; justify-content: space-between; transition: border-color .15s, background .15s; }
.tile:hover { border-color: #a9bbcd; }
.tile .t-name { font-weight: 700; font-size: .98rem; line-height: 1.25; }
.tile .t-price { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.tile .t-check { position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; border-radius: 6px; border: 2px solid #a9bbcd; background: var(--white); }
.tile[aria-pressed="true"] { border-color: var(--blue); background: var(--blue-soft); }
.tile[aria-pressed="true"] .t-check { background: var(--blue); border-color: var(--blue); }
.tile[aria-pressed="true"] .t-check::after { content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid var(--white); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.tile.patrol[aria-pressed="true"], .tile.patrol[aria-pressed="true"] .t-check { border-color: var(--amber); }
.tile.patrol[aria-pressed="true"] { background: var(--amber-soft); }
.tile.patrol[aria-pressed="true"] .t-check { background: var(--amber); }
.tile .t-name { padding-right: 26px; }
.opt { margin-top: 14px; padding: 12px; border-radius: 12px; background: var(--paper); }
.opt[hidden] { display: none; }
.opt label { font-weight: 600; font-size: .95rem; display: block; margin-bottom: 6px; }
.stepper { display: flex; align-items: center; gap: 8px; }
.stepper button { width: 44px; height: 44px; border-radius: 10px; border: 2px solid var(--line); background: var(--white); font-size: 1.4rem; font-weight: 700; cursor: pointer; color: var(--navy); }
.stepper input { width: 80px; height: 44px; text-align: center; font-size: 1.15rem; font-weight: 700; border: 2px solid var(--line); border-radius: 10px; font-family: inherit; color: var(--ink); }
.opt .note { font-size: .88rem; color: var(--green); margin: 8px 0 0; font-weight: 600; }
.opt select { width: 100%; height: 44px; border: 2px solid var(--line); border-radius: 10px; font: inherit; padding: 0 .6rem; background: var(--white); color: var(--ink); }
.total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-top: 2px dashed var(--line); margin-top: 16px; padding-top: 14px; }
.total .label { font-weight: 600; }
.total .amount { font-family: var(--display); font-size: clamp(2rem, 7vw, 2.6rem); font-weight: 800; color: var(--navy); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.total .amount small { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.builder .fine { font-size: .82rem; color: var(--muted); margin: 8px 0 14px; }
.builder .btn { width: 100%; }

/* Honest status strip */
.honest { background: var(--amber-soft); border-bottom: 1px solid #f0d7a8; }
.honest .wrap { padding-top: 14px; padding-bottom: 14px; font-size: .95rem; color: #5c3d08; }
.honest strong { color: #3f2a05; }

/* Sections */
section.band { padding: 56px 0; }
section.band.paper { background: var(--paper); }
@media (min-width: 940px) { section.band { padding: 80px 0; } }
.section-intro { max-width: 60ch; margin-bottom: 28px; }
.section-intro p { color: var(--muted); font-size: 1.08rem; }

/* Module rows */
.mod-list { border-top: 2px solid var(--ink); }
.mod { display: grid; gap: 14px; padding: 26px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 820px) { .mod { grid-template-columns: 64px 1.3fr 1fr auto; gap: 28px; align-items: start; } }
.mod-mark { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.mod-mark.amber { background: var(--amber-soft); color: var(--amber-ink); }
.mod-mark svg { width: 28px; height: 28px; }
.mod h3 { margin-bottom: .3rem; font-size: 1.4rem; }
.mod h3 a { color: var(--ink); text-decoration: none; }
.mod h3 a:hover { text-decoration: underline; }
.mod .for { color: var(--muted); margin: 0; }
.mod ul { margin: 0; padding-left: 1.1rem; color: var(--ink); font-size: .97rem; }
.mod ul li { margin-bottom: .2rem; }
.mod .price { text-align: left; min-width: 150px; }
@media (min-width: 820px) { .mod .price { text-align: right; } }
.price .from { font-size: .82rem; color: var(--muted); display: block; }
.price .num { font-family: var(--display); font-size: 1.8rem; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; line-height: 1.1; }
.price .per { font-size: .9rem; color: var(--muted); display: block; margin-bottom: .6rem; }

/* Fleet maths */
.fleet { display: grid; gap: 28px; }
@media (min-width: 900px) { .fleet { grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; } }
.fleet-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; background: var(--white); border-radius: 14px; overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 0 0 1px var(--line); }
.fleet-table th, .fleet-table td { padding: 14px 12px; text-align: right; border-bottom: 1px solid var(--line); }
.fleet-table th:first-child, .fleet-table td:first-child { text-align: left; }
.fleet-table thead th { font-size: .85rem; color: var(--muted); font-weight: 600; background: var(--paper); }
.fleet-table tbody tr:last-child td { border-bottom: 0; }
.fleet-table .you-pay { font-weight: 800; color: var(--navy); font-size: 1.1rem; }
.fleet-table .save { color: var(--green); font-weight: 700; }
.fleet-table .strike { color: var(--muted); text-decoration: line-through; }
@media (max-width: 480px) { .fleet-table th, .fleet-table td { padding: 12px 8px; font-size: .92rem; } .fleet-table .hide-sm { display: none; } }
.big-rule { font-family: var(--display); font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: .5rem; color: var(--navy); }

/* Steps (a real sequence) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: s; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.steps li { counter-increment: s; padding-top: 14px; border-top: 3px solid var(--blue); }
.steps li::before { content: "Step " counter(s); display: block; font-weight: 700; color: var(--blue); font-size: .9rem; margin-bottom: .35rem; }
.steps p { color: var(--muted); margin: 0; }

/* Trust */
.trust { display: grid; gap: 22px; }
@media (min-width: 820px) { .trust { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.trust h3 { font-size: 1.1rem; }
.trust p { color: var(--muted); margin: 0; font-size: .97rem; }

/* FAQ */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 36px 18px 0; font-weight: 700; font-size: 1.05rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.6rem; font-weight: 400; color: var(--blue); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding-bottom: 6px; }

/* CTA band */
.cta { background: var(--blue); color: var(--white); padding: 56px 0; }
.cta h2 { color: var(--white); }
.cta p { color: #d4e2f0; max-width: 52ch; }
.cta .btn-row { margin-top: 1.25rem; }

/* Footer */
.site-footer { background: var(--navy); color: #b9cbe0; padding: 40px 0 96px; font-size: .95rem; }
@media (min-width: 720px) { .site-footer { padding-bottom: 40px; } }
.site-footer a { color: var(--white); }
.foot-grid { display: grid; gap: 24px; }
@media (min-width: 820px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h3 { color: var(--white); font-size: 1rem; margin-bottom: .6rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4rem; }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 18px; font-size: .85rem; }

/* Floating WhatsApp button */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 50; display: inline-flex; align-items: center; gap: 8px; background: #1fa855; color: var(--white); text-decoration: none; font-weight: 700; padding: 12px 16px; border-radius: 999px; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.wa-float:hover { background: #178a45; color: var(--white); }
.wa-float svg { width: 24px; height: 24px; }

/* Module page */
.crumb { font-size: .9rem; margin-bottom: 1rem; }
.crumb a { color: #cfe0f1; }
.mod-hero-price { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: 16px; padding: 22px; }
.mod-hero-price .from { color: #b9cbe0; font-size: .9rem; }
.mod-hero-price .num { font-family: var(--display); font-size: clamp(2.6rem, 8vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--white); }
.mod-hero-price .per { color: #d4e2f0; display: block; margin: .25rem 0 1rem; }
.mod-hero-price ul { margin: 0; padding-left: 1.1rem; color: #d4e2f0; font-size: .95rem; }
.two-col { display: grid; gap: 32px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 56px; } }
.caps { list-style: none; padding: 0; margin: 0; }
.caps li { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: start; }
.flag { font-size: .78rem; font-weight: 700; padding: .2rem .55rem; border-radius: 6px; white-space: nowrap; margin-top: 2px; }
.flag.planned { background: var(--blue-soft); color: var(--blue); }
.flag.check { background: var(--amber-soft); color: var(--amber-ink); }
.flag.no { background: #f8e3df; color: var(--red); }
.who { list-style: none; padding: 0; margin: 0; }
.who li { padding: 12px 0 12px 28px; border-bottom: 1px solid var(--line); position: relative; }
.who li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 10px; height: 10px; border-radius: 3px; background: var(--amber); }
.example { width: 100%; border-collapse: collapse; font-size: .95rem; font-variant-numeric: tabular-nums; }
.example caption { text-align: left; font-weight: 700; padding-bottom: 10px; }
.example th, .example td { padding: 11px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.example thead th { background: var(--paper); font-size: .85rem; color: var(--muted); font-weight: 600; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.table-scroll .example { min-width: 420px; }
.tiers { display: grid; gap: 12px; }
@media (min-width: 720px) { .tiers { grid-template-columns: repeat(3, 1fr); } }
.tier { border: 2px solid var(--line); border-radius: 14px; padding: 18px; background: var(--white); }
.tier:first-child { border-color: var(--blue); }
.tier .num { font-family: var(--display); font-size: 2rem; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.other-mods { display: grid; gap: 10px; }
@media (min-width: 720px) { .other-mods { grid-template-columns: repeat(3, 1fr); } }
.other-mods a { display: block; padding: 16px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); background: var(--white); }
.other-mods a:hover { border-color: var(--blue); }
.other-mods strong { display: block; }
.other-mods span { color: var(--muted); font-size: .92rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 719px) { .wa-float { padding: 14px; } .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .wa-float svg { width: 28px; height: 28px; } }
