@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;1,6..72,400&display=swap');

/* FDE: the light side of the site. One headline, one line, one button. */
:root {
  --paper: #f8f6f1;
  --ink: #15171a;
  --muted: #5d636b;
  --rule: rgba(21, 23, 26, 0.14);
  --rule-strong: rgba(21, 23, 26, 0.32);
  --blue: #0F4C9E;
  --serif: "Newsreader", "Times New Roman", Times, Georgia, serif;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--paper); font: 400 1.0625rem/1.6 var(--serif); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.container { width: min(1120px, calc(100% - 8vw)); margin-inline: auto; }
.page { display: flex; flex-direction: column; min-height: 100svh; }

/* Nav: wordmark left, FDE/Delta switch centered */
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 84px; }
.brand { display: inline-flex; align-items: center; color: var(--ink); }
.brand-name { font-size: 1.6rem; font-weight: 500; line-height: 1; letter-spacing: -0.01em; white-space: nowrap; }

.side-switch { display: inline-flex; padding: 3px; border: 1px solid var(--rule-strong); border-radius: 999px; font-size: 0.95rem; }
.side-switch a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem; border-radius: 999px; color: var(--muted); transition: color 160ms ease, background 160ms ease; }
.side-switch a:hover { color: var(--ink); }
.side-switch a[aria-current="page"] { color: #fff; background: var(--blue); }

/* Hero: the business case first; the outcomes row peeks in below */
.hero { min-height: calc(72svh - 84px); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3rem 0 4rem; text-align: center; }
.kicker { margin: 0 0 1.2rem; color: var(--blue); font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(2.8rem, 6.4vw, 5.2rem); font-weight: 400; line-height: 1.02; letter-spacing: -0.025em; }
h1 em { display: block; color: var(--blue); }   /* "not quarters." always sits on its own line */
.lead { max-width: 34rem; margin: 1.5rem auto 0; color: var(--muted); font-size: 1.2rem; line-height: 1.55; }

.hero .button { margin-top: 2.2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 1.6rem; border: 1px solid var(--blue); border-radius: 2px; color: #fff; background: var(--blue); cursor: pointer; font-size: 1.05rem; transition: background 160ms ease, border-color 160ms ease; }
.button:hover { border-color: var(--ink); background: var(--ink); }
.button:disabled { opacity: 0.6; cursor: default; }

/* What you get: three outcomes under the hero */
.value { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-bottom: clamp(3.5rem, 8vh, 5rem); }
.value-item { padding: 1.4rem 1.6rem 0 0; border-top: 2px solid var(--ink); }
.value-item + .value-item { padding-left: 1.6rem; border-left: 1px solid var(--rule); }
.value h3 { margin: 0; font-size: 1.5rem; font-weight: 400; line-height: 1.2; }
.value p { margin: 0.5rem 0 0; color: var(--muted); font-size: 1.05rem; line-height: 1.55; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Under the hood: Delta, introduced after the business case, in the Delta page's dark colors */
.engine { color: #f0f5fa; background: #060b11; }
.engine-inner { max-width: 44rem; padding: clamp(4rem, 10vh, 6rem) 0; text-align: center; }
.engine .kicker { color: #9fc6ff; }
.engine h2 { margin: 0 0 1rem; font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 400; line-height: 1.1; letter-spacing: -0.015em; }
.engine p { margin: 0; color: #b8c6d6; font-size: 1.15rem; line-height: 1.6; }
.engine strong { color: #f0f5fa; font-weight: 500; }
.engine-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 1.2rem; color: #9fc6ff; text-decoration: underline; text-underline-offset: 3px; }

/* Contact: the email form at the end of the page */
.contact { padding: clamp(4rem, 10vh, 6rem) 0; text-align: center; }
.contact h2 { margin: 0; font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 400; line-height: 1.1; letter-spacing: -0.015em; }
.contact .lead { margin-top: 0.9rem; }
.contact form { width: min(30rem, 100%); margin: 2rem auto 0; }
.signup-row { display: flex; }
.signup-row input[type="email"] { flex: 1; min-width: 0; height: 48px; padding: 0 1rem; border: 1px solid var(--rule-strong); border-right: 0; border-radius: 2px 0 0 2px; outline: none; color: var(--ink); background: #fff; }
.signup-row input[type="email"]:focus { border-color: var(--blue); }
.signup-row .button { border-radius: 0 2px 2px 0; }
.message { min-height: 1.4em; margin: 0.8rem 0 0; color: var(--blue); font-size: 0.95rem; }
.signup-note { margin: 0.2rem 0 0; color: var(--muted); font-size: 0.88rem; }
.signup-note a { text-decoration: underline; text-underline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.steps { padding: clamp(3rem, 8vh, 5rem) 0 clamp(4rem, 10vh, 6rem); }
.steps-head { max-width: 40rem; margin: 0 auto 3rem; text-align: center; }
.steps-head h2 { margin: 0; font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 400; line-height: 1.1; letter-spacing: -0.015em; }
/* How it works: a vertical timeline in a narrow centered column, steps joined by a thin blue line */
.steps ol { position: relative; max-width: 34rem; margin: 0 auto; padding: 0; list-style: none; }
.steps li:not(:last-child)::before { content: ""; position: absolute; top: 2.5rem; bottom: 0; left: 1.25rem; width: 1px; background: var(--blue); opacity: 0.35; }
.steps li { position: relative; display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); column-gap: 1.4rem; padding: 0 0 2.4rem; }
.steps li:last-child { padding-bottom: 0; }
.steps .num { grid-row: span 2; display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border: 1px solid var(--blue); border-radius: 50%; color: var(--blue); background: var(--paper); font-size: 1rem; font-style: italic; }
.steps li:last-child .num { color: #fff; background: var(--blue); }
.steps h3 { margin: 0.35rem 0 0; font-size: 1.6rem; font-weight: 400; line-height: 1.2; }
.steps p { margin: 0.4rem 0 0; color: var(--muted); font-size: 1.1rem; line-height: 1.55; }

footer { display: flex; justify-content: space-between; padding: 1.4rem 0 2rem; border-top: 1px solid var(--rule); color: var(--muted); font-size: 0.9rem; }
footer a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 650px) {
  .container { width: calc(100% - 32px); }
  .nav { grid-template-columns: auto auto; justify-content: space-between; }
  .brand-name { font-size: 1.35rem; }
  .value { grid-template-columns: 1fr; }
  .value-item, .value-item + .value-item { padding: 1.2rem 0; border-left: 0; border-top: 1px solid var(--rule-strong); }
  .signup-row { display: grid; gap: 0.6rem; }
  .signup-row input[type="email"] { border-right: 1px solid var(--rule-strong); border-radius: 2px; }
  .signup-row .button { border-radius: 2px; }
}

/* Moving between Delta (/) and FDE (/fde): the old page dissolves, the new one rises in, the logo morphs in place
   and the active switch button slides across. Kept identical in styles.css and fde.css. */
@view-transition { navigation: auto; }
.brand { view-transition-name: brand; }
.side-switch { view-transition-name: side-switch; }
.side-switch a[aria-current="page"] { view-transition-name: side-active; }
::view-transition-group(*) { animation-duration: 650ms; animation-timing-function: cubic-bezier(0.22, 0.8, 0.2, 1); }
::view-transition-old(root) { animation: vt-out 380ms cubic-bezier(0.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: vt-in 650ms cubic-bezier(0.22, 0.8, 0.2, 1) 140ms both; }
::view-transition-old(brand), ::view-transition-new(brand) { height: 100%; object-fit: contain; object-position: left center; }
@keyframes vt-out { to { opacity: 0; transform: scale(0.985); filter: blur(6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* Even line breaks for centered headings (no single word left on its own line) */
.steps-head h2, .engine h2, .contact h2, h1 { text-wrap: balance; }
