:root {
  --navy: #2E3A6E;
  --coral: #E8835A;
  --coral-light: #F5D5C4;
  --salmon: #F5927B;
  --salmon-ink: #C2583E; /* salmon darkened for AA contrast on white */
  --text: #454545;
  --grey: #F8F8FA;
  --line: #E7E7EE;
  --white: #FFFFFF;
  --body: Calibri, Carlito, "Segoe UI", system-ui, sans-serif;
  --display: Lexend, Calibri, Carlito, "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--body);
  font-size: 19px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
a { color: var(--navy); text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--coral); }
a:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 2px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-family: var(--display); color: var(--navy); font-weight: 700; margin: 0; }
p { margin: 0 0 1em; }
.label { color: var(--salmon-ink); font-family: var(--display); font-weight: 500; font-size: 1rem; margin: 0 0 14px; }

/* Header */
.site-header { position: relative; z-index: 2; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; color: var(--navy); text-decoration: none; font-size: 1.05rem; }
.wordmark .dot { width: 16px; height: 16px; border-radius: 50%; background: var(--coral); }
.site-header nav { display: flex; gap: 20px; }
.site-header nav a { text-decoration: none; font-weight: 700; font-size: 1rem; }

/* Home hero */
.hero { position: relative; overflow: hidden; padding: 40px 0 72px; }
.hero::before {
  content: ""; position: absolute; z-index: 0;
  width: min(78vw, 720px); aspect-ratio: 1; border-radius: 50%;
  background: var(--coral-light);
  top: -18%; right: -22%;
}
.hero::after {
  content: ""; position: absolute; z-index: 0;
  width: min(22vw, 180px); aspect-ratio: 1; border-radius: 50%;
  background: var(--coral);
  top: 12%; right: 10%;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(3.5rem, 12vw, 10rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  font-weight: 800;
}
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--coral); }
.bar { display: block; width: clamp(96px, 22vw, 260px); height: 12px; background: var(--coral); margin: 36px 0 32px; }
.hero .intro { font-size: clamp(1.2rem, 2.2vw, 1.5rem); line-height: 1.5; max-width: 34ch; color: var(--text); margin: 0; }

/* Split section */
.split { padding: 80px 0; border-top: 1px solid var(--line); }
.split .wrap { display: grid; gap: 32px; }
.split h2 { font-size: clamp(2.5rem, 6.5vw, 5rem); line-height: 1; letter-spacing: -0.035em; }
.split .copy { max-width: 60ch; }

/* Numbered points */
.numbered { padding: 24px 0 88px; }
.numbered ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.numbered li { display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; padding: 28px 0; border-top: 3px solid var(--coral); }
.numbered .num { font-family: var(--display); font-weight: 800; color: var(--coral); font-size: clamp(3rem, 8vw, 5.5rem); line-height: 0.9; letter-spacing: -0.04em; min-width: 2.2ch; }
.numbered h3 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.1; margin-bottom: 8px; }
.numbered p { margin: 0; max-width: 52ch; }

/* Navy impact bar */
.impact { background: var(--navy); color: var(--coral-light); padding: 64px 0; }
.impact p { font-family: var(--display); font-weight: 700; font-size: clamp(1.9rem, 5vw, 3.6rem); line-height: 1.1; letter-spacing: -0.03em; margin: 0; max-width: 22ch; }
.impact strong { color: var(--white); }

/* Apps */
.apps { padding: 88px 0; }
.apps h2 { font-size: clamp(2.5rem, 6.5vw, 5rem); line-height: 1; letter-spacing: -0.035em; margin-bottom: 36px; }
.app-row { display: grid; gap: 12px; background: var(--grey); border-left: 8px solid var(--coral); padding: 28px 24px; margin-bottom: 20px; text-decoration: none; color: var(--text); }
.app-row:hover { color: var(--text); background: #F1F1F6; }
.app-row h3 { font-size: clamp(1.6rem, 4vw, 2.6rem); line-height: 1.05; letter-spacing: -0.02em; }
.app-row p { margin: 0; max-width: 56ch; }
.app-row .more { font-weight: 700; color: var(--navy); }
.status { color: var(--salmon-ink); font-weight: 700; }

/* Contact */
.contact { padding: 40px 0 104px; }
.contact h2 { font-size: clamp(2.5rem, 7vw, 5.5rem); line-height: 1; letter-spacing: -0.04em; max-width: 14ch; margin-bottom: 28px; }
.button { display: inline-block; background: var(--coral); color: var(--white); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.15rem; padding: 16px 28px; border-radius: 999px; }
.button:hover { background: var(--navy); color: var(--white); }

/* Inner pages */
.page-hero { position: relative; overflow: hidden; padding: 32px 0 48px; }
.page-hero::before {
  content: ""; position: absolute; width: min(60vw, 520px); aspect-ratio: 1; border-radius: 50%;
  background: var(--coral-light); top: -55%; right: -18%; z-index: 0;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.75rem, 9vw, 6.5rem); line-height: 0.98; letter-spacing: -0.04em; font-weight: 800; max-width: 12ch; }
.page-hero .bar { margin: 28px 0 24px; height: 10px; }
.page-hero .intro { font-size: clamp(1.15rem, 2vw, 1.35rem); max-width: 48ch; margin: 0; }

.doc { padding: 16px 0 96px; }
.doc .wrap { max-width: 820px; }
.doc h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.1; letter-spacing: -0.025em; margin: 56px 0 16px; padding-top: 20px; border-top: 3px solid var(--coral); }
.doc h3 { font-size: 1.3rem; margin: 32px 0 8px; }
.doc ul { padding-left: 1.2em; margin: 0 0 1em; }
.doc li { margin-bottom: 6px; }
.doc table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 1rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.doc th { color: var(--navy); font-family: var(--display); font-weight: 500; }
.table-scroll { overflow-x: auto; }
.callout { background: var(--grey); border-left: 8px solid var(--coral); padding: 22px 24px; margin: 0 0 24px; }
.callout p:last-child { margin-bottom: 0; }
.jump { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.jump a { font-weight: 700; }
.todo { background: #FFF1C2; color: #5A4300; padding: 0 4px; font-weight: 700; }
.big-email { font-family: var(--display); font-weight: 700; font-size: clamp(1.3rem, 4.6vw, 2.2rem); letter-spacing: -0.02em; overflow-wrap: anywhere; }
.faq h3 { color: var(--navy); }

/* App pages */
.app-hero h1 { max-width: 10ch; }
.facts { display: grid; gap: 0; margin: 8px 0 32px; padding: 0; list-style: none; }
.facts li { display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 20px 0; border-top: 3px solid var(--coral); }
.facts .num { font-family: var(--display); font-weight: 800; color: var(--coral); font-size: 2.6rem; line-height: 1; min-width: 2.2ch; }
.facts h3 { margin: 0 0 4px; font-size: 1.35rem; }
.facts p { margin: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: 1rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
.site-footer p { margin: 0; color: var(--text); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer nav a { font-weight: 700; text-decoration: none; }

@media (min-width: 860px) {
  .wrap { padding: 0 40px; }
  .hero { padding: 56px 0 104px; }
  .hero::before { top: -30%; right: -10%; }
  .hero::after { top: 18%; right: 26%; }
  .split .wrap { grid-template-columns: 5fr 6fr; gap: 64px; align-items: start; }
  .split { padding: 112px 0; }
  .numbered ol { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .numbered li { grid-template-columns: 1fr; }
  .apps .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .app-row { margin-bottom: 0; padding: 40px 36px; }
  .impact { padding: 88px 0; }
}
.doc .facts { padding-left: 0; }

/* Images */
img { max-width: 100%; height: auto; display: block; }
.app-row { padding: 0; gap: 0; overflow: hidden; }
.app-row .tile-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.app-row .tile-body { display: grid; gap: 12px; padding: 24px 24px 28px; }
.hero-photo { margin: 40px 0 0; }
.hero-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
.hero-photo figcaption { font-size: 0.9rem; color: var(--text); margin-top: 8px; }
.in-action { padding: 24px 0 16px; }
.in-action h2 { font-size: clamp(2.5rem, 6.5vw, 5rem); line-height: 1; letter-spacing: -0.035em; margin-bottom: 12px; }
.in-action .lead { max-width: 60ch; margin-bottom: 28px; }
.shots { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 20px; margin: 0 -4px; -webkit-overflow-scrolling: touch; }
.shots figure { flex: 0 0 auto; width: 220px; margin: 0; scroll-snap-align: start; }
.phone { border: 8px solid var(--navy); border-radius: 30px; overflow: hidden; background: var(--navy); }
.phone img { width: 100%; aspect-ratio: 390 / 844; object-fit: cover; }
.shots figcaption { font-size: 0.95rem; margin-top: 10px; color: var(--text); }
.desktop-shot { margin: 32px 0 0; }
.desktop-shot .frame { border: 8px solid var(--navy); border-radius: 14px; overflow: hidden; }
.desktop-shot img { width: 100%; aspect-ratio: 1280 / 800; object-fit: cover; }
.desktop-shot figcaption { font-size: 0.95rem; margin-top: 10px; }
@media (min-width: 860px) {
  .hero-photo { margin-top: 56px; }
  .shots { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; gap: 28px; }
  .shots figure { width: auto; }
}
