/* Hydratek. Carried from hydratek/drafts/launch.html (the launch version, no photographs).
   Every style lives in this file: the page's security policy refuses style blocks and attributes. */
/* Barlow, self-hosted (SIL Open Font Licence, fonts/OFL-barlow.txt): no request leaves the site */
@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/barlow-latin-700-normal.woff2") format("woff2"); }

:root {
  /* From the logo */
  --navy: #001E44;
  --navy-2: #0A2F5E;
  --blue: #0178C6;
  --blue-dark: #0165A8;
  --cyan: #00B8F6;
  /* Hi-vis, for Call buttons and nothing else */
  --vis: #FFD23F;
  --vis-dark: #E8B800;
  --ink: #0E1B2C;
  --muted: #4A5868;
  --paper: #fff;
  --sand: #F3EFE6;
  --sand-line: #E4DCCB;
  --line: #D9DEE4;
  --bad: #B3261E;
  --sans: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --r: 6px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.01em; line-height: 1.08; color: var(--navy); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 40px; } }
.eyebrow { font: 600 .74rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: var(--r); font-weight: 600; }
.skip:focus { top: 12px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: var(--r); border: 2px solid transparent; font: 700 1rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn.go { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.go:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn.call { background: var(--vis); border-color: var(--vis); color: var(--navy); }
.btn.call:hover { background: var(--vis-dark); border-color: var(--vis-dark); }
.btn[disabled] { opacity: .7; cursor: progress; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

/* Header: white and sticky */
header.nav { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--line); }
header.nav .wrap { display: flex; align-items: center; height: 70px; gap: 28px; }
.logo img { height: 30px; width: auto; display: block; }
@media (min-width: 720px) { .logo img { height: 36px; } }
header.nav nav { display: none; gap: 28px; margin-left: auto; }
header.nav nav a { font-weight: 600; font-size: .98rem; text-decoration: none; color: var(--navy); }
header.nav nav a:hover { color: var(--blue); }
header.nav .phone { margin-left: auto; text-decoration: none; text-align: right; line-height: 1.05; font-weight: 600; color: var(--navy); white-space: nowrap; }
header.nav .phone:hover { color: var(--blue); }
@media (min-width: 960px) { header.nav nav { display: flex; } header.nav .phone { margin-left: 0; } }

/* Hero: no photo, so the brand carries it */
.hero { position: relative; overflow: hidden; color: #fff; padding: 56px 0 64px;
  background:
    radial-gradient(ellipse 70% 60% at 85% 10%, rgba(0,184,246,.26), transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(1,120,198,.32), transparent 65%),
    linear-gradient(160deg, var(--navy-2) 0%, var(--navy) 70%); }
.hero::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(170deg, rgba(255,255,255,.03) 0 2px, transparent 2px 22px); pointer-events: none; }
@media (min-width: 960px) { .hero { padding: 112px 0 112px; } }
.hero .wrap { position: relative; display: grid; gap: 36px; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: 1fr 440px; align-items: center; gap: 64px; } }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); color: #fff; }
.hero h1 .l { display: block; color: #fff; text-wrap: balance; }
.hero h1 span { color: var(--cyan); }
.hero .sub { margin-top: 20px; max-width: 40ch; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: #C9D6E6; }
.hero .area { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 18px; color: #C9D6E6; font-size: .95rem; }
.hero .area span { display: inline-flex; align-items: center; gap: 8px; }
.hero .area svg { width: 16px; height: 16px; stroke: var(--cyan); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.card { background: #fff; color: var(--ink); border-radius: 10px; padding: 24px; box-shadow: 0 20px 50px rgba(0,10,30,.35); }
.card h2 { font-size: 1.35rem; }
.who { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border: 0; padding: 0; margin: 16px 0 0; }
.who legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.who label { position: relative; display: block; border: 2px solid var(--line); border-radius: var(--r); padding: 12px 14px 10px; cursor: pointer; transition: border-color .2s, background .2s; }
.who input { position: absolute; opacity: 0; }
.who b { display: block; font-size: 1.08rem; font-weight: 600; color: var(--navy); }
.who small { display: block; color: var(--muted); font-size: .84rem; margin-top: 2px; }
.who label:has(input:checked) { border-color: var(--blue); background: #F1F8FD; }
.who label:has(input:checked)::after { content: "✓"; position: absolute; top: 9px; right: 11px; font-size: .85rem; font-weight: 700; color: var(--blue); }
.who label:has(input:focus-visible) { outline: 3px solid var(--cyan); outline-offset: 2px; }
.card .ask { display: block; margin: 20px 0 8px; font-weight: 600; color: var(--navy); }
.field { display: block; width: 100%; min-height: 50px; padding: 0 14px; background: #fff; color: var(--ink); border: 2px solid var(--line); border-radius: var(--r); font: 400 1rem var(--sans); }
.field::placeholder { color: #8592A1; }
.field:focus { border-color: var(--blue); outline: none; }
.field[aria-invalid="true"] { border-color: var(--bad); }
.card .btn { width: 100%; margin-top: 10px; }
.card .or { margin-top: 14px; text-align: center; color: var(--muted); font-size: .92rem; }
.card .or a { color: var(--navy); font-weight: 700; text-decoration: none; }

/* Benefit tiles */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 960px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tile { background: #fff; padding: 16px; display: flex; gap: 12px; align-items: center; }
@media (min-width: 720px) { .tile { padding: 20px 28px; justify-content: center; } }
.tile svg { flex: none; width: 26px; height: 26px; stroke: var(--blue); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tile svg .dot { fill: var(--blue); }
.tile b { font-weight: 600; font-size: 1.02rem; line-height: 1.3; color: var(--navy); }

section { padding: 72px 0; scroll-margin-top: 70px; }
@media (min-width: 960px) { section { padding: 112px 0; } }
section.sand { background: var(--sand); }
.head { max-width: 640px; }
.head h2, .quote h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-top: 14px; }
.head p { margin-top: 14px; color: var(--muted); }

/* The four questions, one card each. The photo version turns these into picture rows */
.qs { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 860px) { .qs { grid-template-columns: 1fr 1fr; gap: 20px; } }
.q-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 28px; scroll-margin-top: 90px; }
@media (min-width: 720px) { .q-card { padding: 36px; } }
.q-card .ic { width: 48px; height: 48px; border-radius: 10px; background: #E6F6FD; display: grid; place-items: center; margin-bottom: 22px; }
.q-card .ic svg { width: 26px; height: 26px; stroke: var(--blue); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.q-card h3 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin-top: 10px; }
.q-card p { margin-top: 12px; color: var(--muted); max-width: 48ch; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.pair div { background: var(--sand); border-radius: var(--r); padding: 14px; }
.pair b { display: block; font-weight: 600; color: var(--navy); }
.pair span { display: block; color: var(--muted); font-size: .9rem; margin-top: 2px; }

/* Steps */
.steps { display: grid; gap: 12px; margin-top: 40px; counter-reset: s; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { counter-increment: s; background: #fff; border: 1px solid var(--sand-line); border-radius: 10px; padding: 24px; }
.step::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: .95rem; margin-bottom: 28px; }
.step b { display: block; font-size: 1.15rem; font-weight: 600; color: var(--navy); }
.step p { margin-top: 6px; color: var(--muted); }

/* Quote form */
.quote .wrap { display: grid; gap: 40px; }
@media (min-width: 960px) { .quote .wrap { grid-template-columns: 1fr 1.2fr; gap: 72px; } }
.quote .intro { margin-top: 14px; color: var(--muted); max-width: 40ch; }
.quote .direct { margin-top: 28px; display: grid; gap: 12px; justify-items: start; }
.quote .direct .mail { color: var(--muted); }
.quote .direct .mail a { font-weight: 600; color: var(--navy); text-decoration: none; }
form.q { position: relative; display: grid; gap: 18px; background: #fff; border-radius: 10px; padding: 24px; }
@media (min-width: 720px) { form.q { padding: 32px; } }
form.q .two { display: grid; gap: 18px; }
@media (min-width: 600px) { form.q .two { grid-template-columns: 1fr 1fr; } }
form.q label > span, form.q legend { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 8px; padding: 0; color: var(--navy); }
form.q .opt { color: var(--muted); font-weight: 400; }
form.q fieldset { border: 0; padding: 0; margin: 0; }
form.q select.field { appearance: none; background: #fff url("/img/chevron.svg") no-repeat right 14px center; padding-right: 36px; }
form.q textarea.field { min-height: 110px; padding: 12px 14px; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; }
form.q .chips span { display: inline-block; padding: 10px 14px; background: #fff; border: 2px solid var(--line); border-radius: 999px; font-size: .95rem; cursor: pointer; transition: border-color .2s, background .2s, color .2s; margin: 0; font-weight: 400; color: var(--ink); }
form.q .chips input:checked + span { background: var(--blue); color: #fff; border-color: var(--blue); }
.chips input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }
input[type=file].field { padding: 12px 14px; min-height: 0; }
form.q .note { color: var(--muted); font-size: .9rem; }
form.q .err { color: var(--bad); font-weight: 600; }
form.q .err:empty { display: none; }
form.q .err a { color: inherit; }
form.q .sent { display: none; border: 2px solid var(--blue); background: #F1F8FD; border-radius: var(--r); padding: 18px 20px; color: var(--navy); }
form.q .sent b { display: block; font-size: 1.2rem; margin-bottom: 4px; }
form.q.done > :not(.sent) { display: none; }
form.q.done .sent { display: block; }
/* Left empty by people; filled by form-filling bots */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* The business, as facts */
.facts { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-top: 40px; }
@media (min-width: 720px) { .facts { grid-template-columns: repeat(2, 1fr); } }
.facts div { background: #fff; padding: 20px 24px; }
.facts dt { color: var(--muted); font-size: .85rem; }
.facts dd { margin: 4px 0 0; font-weight: 600; color: var(--navy); }
.facts dd a { text-decoration: none; }

footer { background: var(--navy); color: #C9D6E6; padding: 40px 0 120px; font-size: .92rem; }
@media (min-width: 960px) { footer { padding-bottom: 40px; } }
footer .wrap { display: grid; gap: 18px; align-items: center; }
@media (min-width: 960px) { footer .wrap { grid-template-columns: auto 1fr auto; gap: 32px; } }
footer img { height: 28px; width: auto; display: block; }
footer a { color: #fff; text-decoration: none; font-weight: 600; }

/* Phone: two pinned buttons */
.bar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0,20,50,.08); }
.bar .btn { min-height: 48px; }
@media (min-width: 960px) { .bar { display: none; } }

/* 404 */
.notfound { padding: 96px 0 120px; }
.notfound h1 { font-size: clamp(2rem, 4vw, 3rem); }
.notfound p { margin-top: 16px; color: var(--muted); }
.notfound .btn { margin-top: 28px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
