/* Layout: short bands on a cool desk-grey ground. Brand from his logo: navy and teal. Amber = needs work, red = coverage lost, teal = confirmed. Two typefaces. */
:root {
  --bg: #f4f6f7;
  --surface: #ffffff;
  --ink: #142028;
  --muted: #53636c;
  --line: #d8dfe3;
  --accent: #007c85;
  --navy: #021f3c;
  --teal: #00acb4;
  --accent-ink: #ffffff;
  --accent-soft: #dcf1f2;
  --late: #8f5310;
  --late-soft: #f5e8d6;
  --lost: #b3261e;
  --lost-soft: #fbe3e0;
  --wire: #e8edf0;
  --wire-strong: #c7d1d7;
  --film-bg: #eaf0f2;
  --dot: #d2dbe0;
  --shadow: rgba(20, 32, 40, 0.10);
  --draft: #fff3c4;
  --draft-ink: #574700;
  --display: "Sora", "Segoe UI", system-ui, sans-serif;
  --body: "Public Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "Public Sans", "Segoe UI", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f171c; --surface: #16222a; --ink: #e5ecef; --muted: #9aabb4; --line: #283841;
    --accent: #3cc6cd; --accent-ink: #04191b; --accent-soft: #0f3437; --late: #e2a55c; --late-soft: #3b2a16; --lost: #f08a80; --lost-soft: #43201c;
    --wire: #1e2d36; --wire-strong: #33464f; --film-bg: #132029; --dot: #1c2a33; --shadow: rgba(0, 0, 0, 0.35); --draft: #3a3410; --draft-ink: #f1e3a0;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f171c; --surface: #16222a; --ink: #e5ecef; --muted: #9aabb4; --line: #283841;
  --accent: #3cc6cd; --accent-ink: #04191b; --accent-soft: #0f3437; --late: #e2a55c; --late-soft: #3b2a16; --lost: #f08a80; --lost-soft: #43201c;
  --wire: #1e2d36; --wire-strong: #33464f; --film-bg: #132029; --dot: #1c2a33; --shadow: rgba(0, 0, 0, 0.35); --draft: #3a3410; --draft-ink: #f1e3a0;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--late); outline-offset: 2px; }

.wrap { max-width: 1080px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.band { padding-block: 64px; border-top: 1px solid var(--line); }
.band.alt { background: var(--surface); }

h1, h2, h3 { font-family: var(--display); text-wrap: balance; margin: 0; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5.2vw, 3.3rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); letter-spacing: -0.01em; }
h3 { font-size: 1.06rem; }
p { margin: 0; max-width: 65ch; }
.eyebrow { font-family: var(--body); font-weight: 700; font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.lede { font-size: 1.14rem; color: var(--muted); }
.muted { color: var(--muted); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-sm { display: flex; flex-direction: column; gap: 6px; }
.stack-lg { display: flex; flex-direction: column; gap: 32px; }

/* draft banner */
.draftbar { background: var(--draft); color: var(--draft-ink); font-size: 0.86rem; }
.draftbar .wrap { padding-block: 8px; }

/* site header */
.site-head { background: var(--navy); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; flex-wrap: wrap; }
.brand { display: block; line-height: 0; }
.brand img { height: 30px; width: auto; display: block; }

.nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 0.95rem; }
.nav a { color: #e6eef3; text-decoration: none; }
.nav a:hover { color: #ffffff; text-decoration: underline; }
.nav a[aria-current="page"] { color: #ffffff; font-weight: 700; }
.nav a.btn { background: var(--teal); border-color: var(--teal); color: var(--navy); }

.btn { display: inline-block; font: 600 0.98rem var(--body); padding: 12px 20px; border-radius: 6px; border: 1px solid var(--accent); background: var(--accent); color: var(--accent-ink); text-decoration: none; cursor: pointer; }
.btn.small { padding: 8px 14px; font-size: 0.9rem; }

.btn.ghost { background: transparent; color: var(--accent); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* hero */
.hero { padding-block: 56px 48px; }
.hero .stack { max-width: 760px; }

/* problem */
.four { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.tool { border-top: 3px solid var(--wire-strong); padding-top: 12px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tool.ours { border-top-color: var(--accent); }
.tool small { font-family: var(--mono); font-size: 0.74rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.tool p { color: var(--muted); }

/* eight points */
.points { display: grid; gap: 28px 36px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.point { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding-left: 14px; border-left: 2px solid var(--line); }
.point p { color: var(--muted); }

/* next pages */
.next { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.next a { display: flex; flex-direction: column; gap: 8px; padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); text-decoration: none; }
.next a:hover { border-color: var(--accent); }
.next a p { color: var(--muted); }
.next .go { color: var(--accent); font-weight: 600; }

/* lists */
ul.plain { margin: 0; padding-left: 1.1em; display: flex; flex-direction: column; gap: 8px; max-width: 65ch; }
ul.plain li::marker { color: var(--accent); }
.results { display: flex; flex-wrap: wrap; gap: 8px; }
.res { padding: 5px 11px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: 0.9rem; }

/* picture slot (filled with leak-checked demo frames later) */
.pic { border: 1px dashed var(--wire-strong); background: var(--wire); border-radius: 10px; padding: 14px; font-family: var(--mono); font-size: 0.78rem; color: var(--muted); min-height: 180px; display: flex; align-items: flex-end; }

/* working screen sketch */
.screen-scroll { overflow-x: auto; }
.screen { background: var(--surface); border: 1px solid var(--wire-strong); border-radius: 10px; overflow: hidden; font-size: 0.8rem; min-width: 660px; }
.s-top, .s-bottom { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: var(--wire); flex-wrap: wrap; }
.s-search { flex: 1 1 160px; height: 28px; border-radius: 4px; background: var(--surface); border: 1px solid var(--wire-strong); display: flex; align-items: center; padding-left: 8px; color: var(--muted); min-width: 0; }
.chip { padding: 3px 9px; border-radius: 99px; background: var(--surface); border: 1px solid var(--wire-strong); color: var(--muted); white-space: nowrap; }
.s-body { display: grid; grid-template-columns: 1fr 1.5fr 1.6fr; min-height: 320px; }
.s-col { padding: 10px; border-right: 1px solid var(--wire); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.s-col:last-child { border-right: 0; }
.s-list { padding: 5px 8px; border-radius: 4px; background: var(--wire); display: flex; justify-content: space-between; gap: 8px; }
.s-list.on { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.s-house { padding: 5px 8px; border-radius: 4px; border: 1px dashed var(--wire-strong); color: var(--muted); }
.s-row { display: flex; gap: 6px; align-items: center; padding: 7px 6px; border-radius: 4px; background: var(--wire); }
.s-row.open { outline: 2px solid var(--accent); background: var(--accent-soft); }
.bar { height: 7px; border-radius: 4px; background: var(--wire-strong); flex: none; }
.tag { font-size: 0.7rem; padding: 1px 7px; border-radius: 99px; background: var(--late-soft); color: var(--late); white-space: nowrap; }
.update { border: 1px solid var(--accent); border-radius: 6px; padding: 8px; display: flex; flex-wrap: wrap; gap: 5px; }
.update b { width: 100%; font-size: 0.74rem; color: var(--accent); }
.update span { padding: 3px 7px; border-radius: 4px; background: var(--accent-soft); color: var(--accent); white-space: nowrap; }
.s-card { border: 1px solid var(--wire); border-radius: 6px; padding: 8px; display: flex; flex-direction: column; gap: 5px; }
.s-card i { font-style: normal; color: var(--muted); font-size: 0.72rem; }
.s-issues { display: flex; flex-wrap: wrap; gap: 4px; }
.pin { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--bg); font: 600 0.72rem var(--mono); flex: none; }

.legend { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.legend > div { display: flex; gap: 12px; align-items: flex-start; }
.legend p { color: var(--muted); }

/* the carrier check */
.steps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.step { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.step .when { font-family: var(--mono); font-size: 0.78rem; color: var(--muted); }
.step p { color: var(--muted); }
.state { align-self: flex-start; font: 600 0.78rem var(--mono); padding: 2px 9px; border-radius: 99px; }
.state.rec { background: var(--wire); color: var(--ink); }
.state.conf { background: var(--accent-soft); color: var(--accent); }
.state.rev { background: var(--late-soft); color: var(--late); }

.split { display: grid; gap: 32px; }
@media (min-width: 880px) { .split { grid-template-columns: 1fr 1fr; align-items: start; } }

/* demo request */
.demo { display: grid; gap: 28px; }
@media (min-width: 880px) { .demo { grid-template-columns: 1fr 1fr; align-items: start; } }
.field { display: flex; flex-direction: column; gap: 6px; max-width: 440px; }
.field label { font-weight: 600; font-size: 0.9rem; }
.field input { font: inherit; padding: 10px 12px; border-radius: 6px; border: 1px solid var(--wire-strong); background: var(--surface); color: var(--ink); }
.form-msg { font-size: 0.92rem; color: var(--muted); }

footer { padding-block: 32px; color: var(--muted); font-size: 0.86rem; border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }


/* Working screen page: the demo's real screen, with numbered parts */
.shot-full { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 10px 30px var(--shadow); background: var(--surface); line-height: 0; }
.shot-full img { width: 100%; height: auto; display: block; }
.shot-full .pin { position: absolute; width: clamp(18px, 2.4vw, 26px); height: clamp(18px, 2.4vw, 26px); font-size: clamp(0.62rem, 1vw, 0.8rem); background: var(--teal); color: var(--navy); box-shadow: 0 0 0 2px #fff; line-height: 1; }
.shot-cap { font-size: 0.88rem; color: var(--muted); }
.parts { display: flex; flex-direction: column; gap: 56px; }
.part { display: grid; gap: 20px; align-items: start; }
@media (min-width: 880px) { .part { grid-template-columns: 5fr 7fr; gap: 36px; } }
.part .pin { background: var(--teal); color: var(--navy); }
.part h3 { display: flex; gap: 10px; align-items: center; font-size: 1.25rem; }
.part p { color: var(--muted); }
.part ul { margin: 0; padding-left: 1.1em; color: var(--muted); display: flex; flex-direction: column; gap: 6px; }
.crops { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.crop { display: block; flex: none; line-height: 0; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 6px 18px var(--shadow); background: #fff; }
.crop img { width: 100%; height: auto; display: block; }
.crop.narrow { max-width: 340px; }
.crop.strip { overflow-x: auto; }
.crop.strip img { width: auto; height: 32px; max-width: none; }
.app-word { font-weight: 600; color: var(--ink); }
@media (max-width: 600px) {
  .shot-full .pin { display: none; }
  .crop { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .crop img { width: 560px; max-width: none; }
  .crop.narrow img { width: 100%; max-width: 100%; }
  .crop.thin img { width: auto; height: 30px; }
  .swipe { display: block; font-size: 0.82rem; color: var(--muted); }
}
.swipe { display: none; }

/* Home: first screen says what it is, with the real screen beside it */
.wrap.wide { max-width: 1240px; }
.hero-split { padding-block: 48px 56px; }
.hero-split .stack { max-width: none; }
.hero-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 5fr 6fr; gap: 48px; } }
.hero-split h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
.hero-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.hero-points li { position: relative; padding-left: 26px; font-weight: 500; }
.hero-points li::before { content: ""; position: absolute; left: 2px; top: 0.35em; width: 12px; height: 7px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.hero-shot { display: flex; flex-direction: column; gap: 8px; text-decoration: none; min-width: 0; }
.hero-shot img { width: 100%; height: auto; display: block; border-radius: 10px; border: 1px solid var(--line); box-shadow: 0 18px 50px var(--shadow), 0 2px 6px var(--shadow); }
.hero-shot-cap { font-size: 0.85rem; color: var(--muted); }
.hero-shot:hover .hero-shot-cap { color: var(--accent); text-decoration: underline; }
.film-band .film-head { text-align: center; align-items: center; }
.film-band .film-wrap { width: 100%; max-width: 860px; margin-inline: auto; }

/* Home v2: film beside the words; the app picture in its own band below */
.hero-split { padding-block: 40px 40px; }
.hero-grid { grid-template-columns: 1fr; }
.hero-grid > .film-wrap { width: 100%; max-width: 860px; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
@media (min-width: 1180px) { .hero-grid { grid-template-columns: 4fr 6fr; gap: 44px; } .hero-grid > .film-wrap { max-width: none; } }
.screen-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 1180px) { .screen-grid { grid-template-columns: 4fr 6fr; gap: 44px; } }
.screen-band { padding-block: 48px; }

/* ================= Quick fixes from the 10 Nov design review ================= */
/* One page grid: every section, the header and the footer share a 1200px container */
.wrap, .wrap.wide { max-width: 1200px; }
.hero > .wrap.stack { max-width: 1200px; }
.hero > .wrap.stack > * { max-width: 760px; }
/* Headline in the logo's navy; body text two steps darker */
:root { --head: #021f3c; --muted: #43525a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --head: #eef3f6; --muted: #a9b8c0; } }
:root[data-theme="dark"] { --head: #eef3f6; --muted: #a9b8c0; }
h1, h2 { color: var(--head); }
.hero-split { padding-block: 72px 56px; }
/* Bigger logo, sticky header with a hairline shadow once the page scrolls */
.brand img { height: 40px; }
.site-head { position: sticky; top: 0; z-index: 50; transition: box-shadow .2s ease; }
.site-head.scrolled { box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.menu-btn { display: none; font: 600 .92rem var(--body); color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.35); border-radius: 6px; padding: 7px 12px; cursor: pointer; }
@media (max-width: 640px) {
  .brand img { height: 32px; }
  .site-head .wrap { flex-wrap: wrap; padding-block: 10px; }
  .menu-btn { display: inline-block; }
  .site-head .nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 12px; padding: 6px 0 4px; }
  .site-head.open .nav { display: flex; }
  .hero-split { padding-block: 36px 40px; }
}
/* The loop under the hero: three steps, teal only on the carrier's confirmation */
.steps-band { background: var(--surface); border-top: 1px solid var(--line); padding-block: 28px; }
.loop { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px 28px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.loop li { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 3px; align-items: start; }
.loop .n { grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; background: var(--wire); color: var(--ink); display: grid; place-items: center; font: 700 .95rem var(--display); }
.loop li.last .n { background: var(--teal); color: var(--navy); }
.loop b { font-weight: 700; color: var(--head); }
.loop li > span:last-child { color: var(--muted); font-size: .92rem; }
/* Navy band for the demo and walkthrough; the footer continues it */
.navy-band { background: var(--navy); color: #e6eef3; border-top: 0; }
.navy-band h2, .navy-band h3 { color: #fff; }
.navy-band .eyebrow { color: var(--teal); }
.navy-band .lede, .navy-band .facts, .navy-band .form-msg { color: #c6d5de; }
.navy-band .facts { margin: 0; max-width: 52ch; }
.navy-band .field label { color: #fff; }
.navy-band .field input { background: #fff; color: #142028; border-color: transparent; }
.navy-band .btn { background: var(--teal); border-color: var(--teal); color: var(--navy); }
footer { background: var(--navy); color: #a9bfcc; border-top: 1px solid rgba(255,255,255,.1); }
footer .wrap { align-items: center; }
.foot-logo { height: 26px; width: auto; display: block; }

/* ================= Overnight round: proof section, wide product shot, four points, plain answers, contact ================= */
/* One button style everywhere: deep teal with white text; on navy, teal with navy text */
.nav a.btn { background: var(--accent); border-color: var(--accent); color: #fff; }
.navy-band .btn { background: var(--teal); border-color: var(--teal); color: var(--navy); }
.btn.ghost-light { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.btn.ghost-light:hover { border-color: #fff; }
.navy-band .mail { margin: 0; font-weight: 600; color: #fff; letter-spacing: .01em; }
.navy-band .contact h3 { font-size: 1.35rem; }
footer a { color: #e6eef3; }
footer .wrap { gap: 10px 28px; }
/* Recorded, then confirmed */
.proof-band { background: var(--bg); }
.proof-head { max-width: 760px; }
.proof { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .proof { grid-template-columns: 5fr 7fr; gap: 48px; } }
.proof-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.proof-steps li { display: flex; flex-direction: column; gap: 6px; padding-left: 16px; border-left: 3px solid var(--line); }
.proof-steps li:nth-child(2) { border-left-color: var(--accent); }
.proof-steps li:nth-child(3) { border-left-color: var(--late); }
.proof-steps b { font: 700 1.1rem var(--display); color: var(--head); }
.proof-steps li > span:last-child { color: var(--muted); }
.state.open { background: var(--late-soft); color: var(--late); }
.proof-pics { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
figure.crop { margin: 0; }
figure.crop figcaption { line-height: 1.4; font-size: .85rem; color: var(--muted); padding: 8px 12px; background: var(--surface); border-top: 1px solid var(--line); }
.crop.big img { width: 100%; height: auto; }
/* The working screen, wide and readable, text above it */
.screen-head { max-width: 760px; }
.wide-shot img { border-radius: 12px; }
/* Four points, the carrier's files first */
.points-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.point.lead { border-left-color: var(--accent); }
.point.lead h3 { color: var(--accent); }
/* Plain answers */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--head); }
.faq details[open] summary { margin-bottom: 8px; }
.faq p { margin: 0; color: var(--muted); }
.faq a { color: var(--accent); }
.look-band { background: var(--bg); }
/* Small labels a little larger and darker */
.eyebrow { font-size: .8rem; }
.tool small { font-size: .78rem; color: var(--ink); opacity: .75; }
@media (max-width: 600px) {
  .proof-pics .crop { overflow-x: auto; }
  .proof-pics .crop img { width: 620px; max-width: none; }
}
/* Managers: a picture on the first screen, arrows along the renewal's path */
.hero-book { align-self: center; }
@media (min-width: 880px) {
  .steps { position: relative; }
  .steps .step { position: relative; }
  .steps .step + .step::before { content: ""; position: absolute; left: -13px; top: 50%; width: 10px; height: 10px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); transform: translateY(-50%) rotate(45deg); }
}
.split > .stack:only-child { grid-column: 1 / -1; }
.split > .stack:only-child ul.plain { columns: 2; column-gap: 40px; display: block; }
.split > .stack:only-child ul.plain li { margin-bottom: 8px; break-inside: avoid; }
@media (max-width: 700px) { .split > .stack:only-child ul.plain { columns: 1; } }
@media (max-width: 600px) {
  .hero-book { overflow-x: auto; }
  .hero-book img { width: 680px; max-width: none; }
}
