/* Calm theme: navy and white, one quiet accent per industry (set on <body> via --accent etc.) */
:root {
  --navy: #1C2735;
  --navy-2: #1C3150;
  --text: #1B2533;
  --text2: #4A5568;
  --muted: #5B677A;
  --line: #DDE3EA;
  --alt: #F2F5F9;
  --on-navy: #E6ECF3;
  --on-navy-2: #B9C6D6;
  --ok: #3FB37F;
  --accent: #C9A227;
  --accent-ink: #14243A;
  --accent-soft: #F7F0DA;
  --accent-text: #8A6D12;
  --accent-on-navy: #E3C766;
  --display: 'Big Shoulders Display', 'Arial Narrow', Impact, sans-serif;
  --body: 'Barlow', 'Segoe UI', system-ui, sans-serif;
  color-scheme: light;
}
body.teal { --accent: #17777A; --accent-ink: #FFFFFF; --accent-soft: #E3F2F2; --accent-text: #17777A; --accent-on-navy: #6FCFCB; }
body.blue { --accent: #1F5F99; --accent-ink: #FFFFFF; --accent-soft: #E6EEF7; --accent-text: #1F5F99; --accent-on-navy: #97C3EE; }
body.gold { --accent: #C9A227; --accent-ink: #14243A; --accent-soft: #F7F0DA; --accent-text: #8A6D12; --accent-on-navy: #E3C766; }
body.amber { --accent: #D9822B; --accent-ink: #14243A; --accent-soft: #FBEBDA; --accent-text: #9A5A14; --accent-on-navy: #F0B36E; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 18px; line-height: 1.6; color: var(--text); background: #FFFFFF; }
img { max-width: 100%; }
a { color: inherit; }
[hidden] { display: none !important; }
h1, h2, h3 { text-wrap: balance; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: 1160px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 40px); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; z-index: 10; }
.skip:focus { left: 12px; top: 12px; }

/* header */
.site-header { background: var(--navy); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 16px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark { display: inline-flex; width: 36px; height: 36px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); align-items: center; justify-content: center; }
.logo-word { font-family: var(--display); font-weight: 800; font-size: 25px; letter-spacing: 0.01em; color: #FFFFFF; line-height: 1; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; color: var(--on-navy-2); }
.dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }

/* hero */
.hero { background: var(--navy); color: #FFFFFF; padding-block: clamp(40px, 6vw, 88px) clamp(48px, 7vw, 96px); }
.hero .wrap { display: flex; flex-wrap: wrap; gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-on-navy); }
.eyebrow.on-light { color: var(--accent-text); }
.h1 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(42px, 5.6vw, 72px); line-height: 1.02; letter-spacing: 0.005em; }
.mark { text-decoration: underline; text-decoration-color: var(--accent-on-navy); text-decoration-thickness: 0.09em; text-underline-offset: 0.12em; }
.lede { margin: 0; font-size: clamp(18px, 1.7vw, 21px); color: var(--on-navy-2); max-width: 33em; }
.checks { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--on-navy); }
.tick { flex: none; margin-top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-on-navy); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; padding-top: 4px; }
.fine { font-size: 14.5px; color: var(--on-navy-2); }
.textlink { font-weight: 600; color: #FFFFFF; text-underline-offset: 5px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 18px; max-width: 560px; margin: 0; }
.stats div { margin: 0; }
.stat-n { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3.2vw, 38px); line-height: 1; color: #FFFFFF; }
.stat-l { font-size: 14.5px; color: var(--on-navy-2); line-height: 1.35; }
/* the photo stands in the hero: its edges fade into the background, and it sits on the hero's bottom edge */
.hero.has-portrait { background: linear-gradient(180deg, #1C2735 0%, #1C2735 50%, #283342 100%); padding-bottom: 0; }
.hero.has-portrait .wrap { align-items: stretch; }
.hero.has-portrait .hero-copy { align-self: center; padding-bottom: clamp(40px, 6vw, 88px); }
.portrait { position: relative; flex: 1 1 380px; min-width: 0; max-width: 520px; min-height: 520px; margin: 0; display: flex; align-items: flex-end; }
.portrait img {
  display: block; width: 100%; height: 100%; max-height: 780px; object-fit: cover; object-position: 50% 0%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 18%, #000 82%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 10%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0%, #000 18%, #000 82%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 10%);
  mask-composite: intersect;
}
.portrait figcaption { position: absolute; left: 12%; bottom: 24px; display: flex; flex-direction: column; gap: 3px; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.65); }
.portrait-name { font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 1; color: #FFFFFF; }
.portrait-role { font-size: 14.5px; line-height: 1.3; color: var(--on-navy); }
@media (max-width: 900px) {
  .portrait { max-width: 380px; min-height: 0; margin-inline: auto; }
  .portrait img { height: auto; aspect-ratio: 1 / 1; }
  .hero.has-portrait .hero-copy { padding-bottom: 12px; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 26px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); font-family: var(--body); font-weight: 700; font-size: 17px; text-decoration: none; border: 0; cursor: pointer; }
.btn:hover { filter: brightness(1.06); }
.btn.navy { background: var(--navy); color: #FFFFFF; min-height: 52px; padding: 0 22px; font-size: 16px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: 0.7; cursor: progress; }

/* sections */
.section { padding-block: clamp(56px, 7vw, 104px); }
.section > .wrap { display: flex; flex-direction: column; gap: 32px; }
.sec-head { display: flex; flex-direction: column; gap: 12px; max-width: 800px; }
.h2 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(34px, 4.4vw, 54px); line-height: 1.04; }
.sub { margin: 0; font-size: 19px; color: var(--text2); }
.alt { background: var(--alt); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px; padding: 26px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 1px 2px rgba(20, 36, 58, 0.04); }
.card.promise { background: var(--accent-soft); border: 2px solid var(--accent); }
.num { font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1; color: var(--accent-text); }
.badge { align-self: flex-start; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-text); background: #FFFFFF; border: 1px solid var(--accent); border-radius: 999px; padding: 3px 10px; }
.card-title { margin: 0; font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1.08; }
.card p { margin: 0; font-size: 17px; color: var(--text2); }
.card.promise p { color: var(--text); }
.terms { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; justify-content: space-between; background: var(--alt); border: 1px solid var(--line); border-radius: 12px; padding: clamp(18px, 3vw, 26px); }
.terms-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 8px; font-size: 17px; color: var(--text2); }
.terms-copy p { margin: 0; }
.terms-copy strong { color: var(--text); }

.industries { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.industry { display: flex; flex-direction: column; gap: 10px; background: #FFFFFF; color: var(--text); border: 1px solid var(--line); border-radius: 12px; padding: 24px; text-decoration: none; min-height: 200px; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.industry:hover { border-color: var(--accent); box-shadow: 0 10px 24px rgba(20, 36, 58, 0.08); }
.ind-name { font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1.05; }
.ind-books { font-size: 16.5px; color: var(--text2); }
.ind-go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; color: var(--accent-text); }

.me { display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: flex-start; }
.me-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.me-copy p { margin: 0; }
.me-copy .big { font-size: 20px; }
.me-copy .quiet { color: var(--text2); }
.record { flex: 1 1 340px; min-width: 0; background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 1px 2px rgba(20, 36, 58, 0.04); }
.record-head { background: var(--navy); color: #FFFFFF; padding: 12px 18px; font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.record dl { margin: 0; padding: 4px 18px 8px; }
.record .row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.record .row:last-child { border-bottom: 0; }
.record dt { color: var(--muted); }
.record dd { margin: 0; font-weight: 600; text-align: right; }

/* apply */
.apply-sec { background: var(--navy); color: #FFFFFF; }
.apply { display: flex; flex-wrap: wrap; gap: clamp(28px, 4vw, 64px); align-items: flex-start; }
.apply-copy { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.apply-sec .sub { color: var(--on-navy-2); }
.notice { display: flex; gap: 12px; align-items: center; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 10px; padding: 12px 14px; font-size: 16px; color: var(--on-navy); }
.steps-title { font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-on-navy); }
.steps { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.steps li { display: flex; gap: 14px; align-items: baseline; color: var(--on-navy); }
.steps .n { flex: none; display: inline-flex; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--accent-on-navy); color: var(--accent-on-navy); align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.form-card { flex: 1 1 460px; min-width: 0; background: #FFFFFF; color: var(--text); border-radius: 14px; padding: clamp(20px, 3vw, 32px); box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25); }
.form { display: flex; flex-direction: column; gap: 18px; position: relative; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-weight: 600; font-size: 16px; padding: 0; margin-bottom: 8px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid #B7C1CE; border-radius: 999px; background: #FFFFFF; cursor: pointer; font-size: 16px; font-weight: 500; }
.pill input { margin: 0; width: 18px; height: 18px; accent-color: var(--navy); }
.pill:has(input:checked) { border-color: var(--navy); background: var(--accent-soft); }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 16px; }
.field input, .field select, .field textarea { min-height: 50px; padding: 0 14px; border: 1px solid #8F9BAB; border-radius: 8px; font: inherit; font-size: 17px; color: var(--text); background: #FFFFFF; width: 100%; }
.field textarea { padding: 12px 14px; min-height: 90px; resize: vertical; }
.heads-up { background: #FFF7E0; border: 1px solid #E8C870; border-radius: 8px; padding: 12px 14px; font-size: 16px; line-height: 1.5; }
.error { background: #FDECEA; border: 1px solid #D0675C; border-radius: 8px; padding: 12px 14px; font-size: 16px; line-height: 1.5; }
.form-note { font-size: 14.5px; color: var(--muted); }
.form-note a { color: var(--text); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.thanks { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.thanks h3 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 32px; line-height: 1.05; }
.thanks p { margin: 0; color: var(--text2); }
.ok-mark { display: inline-flex; width: 52px; height: 52px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); align-items: center; justify-content: center; }
.accepted { font-size: 14px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-text); }

/* plain pages */
.prose { max-width: 760px; }
.prose h2 { margin: 28px 0 8px; font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1.1; }
.prose p, .prose li { color: var(--text2); }

/* tools: compare + first look */
.tool-head { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; background: #FFFFFF; }
.tab[aria-current="page"] { background: var(--navy); color: #FFFFFF; border-color: var(--navy); }
.pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.frame-box { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.frame-label { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-weight: 700; }
.frame-label a { font-weight: 600; font-size: 15px; color: var(--accent-text); }
.viewport { position: relative; width: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--alt); }
.viewport iframe { position: absolute; top: 0; left: 0; border: 0; transform-origin: 0 0; background: #FFFFFF; }
.viewport .shield { position: absolute; inset: 0; }
.timer { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.timer span { display: block; height: 100%; width: 0; background: var(--accent); }
.scale { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.scale button { min-height: 52px; border: 1px solid #8F9BAB; border-radius: 8px; background: #FFFFFF; font: inherit; font-weight: 700; font-size: 18px; cursor: pointer; }
.scale button[aria-pressed="true"] { background: var(--navy); color: #FFFFFF; border-color: var(--navy); }
.scale-ends { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }
.panel { background: #FFFFFF; border: 1px solid var(--line); border-radius: 14px; padding: clamp(18px, 3vw, 30px); display: flex; flex-direction: column; gap: 18px; max-width: 760px; }

/* footer */
.site-footer { background: var(--navy); color: var(--on-navy-2); padding-block: 34px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.site-footer .wrap { display: flex; flex-direction: column; gap: 12px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: baseline; font-size: 15px; }
.foot-brand { font-family: var(--display); font-weight: 800; font-size: 22px; color: #FFFFFF; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; }
.site-footer a { color: #FFFFFF; }
.legal { margin: 0; font-size: 13px; color: var(--on-navy-2); line-height: 1.55; max-width: 70em; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .industry { transition: none; }
}
