/* Kestrel PPC — site styles, ninth pass (the menu stays with the reader, two mega menus, a back-to-top button; built by tools/build.js)
   One sky, from morning (the list is there) to night (the next check).
   The kestrel hovers over it. Orange means one thing: this needs a decision. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #121a3f;
  --ink-2: #39446e;
  --slate: #5d6890;
  --mist: #9aa5cc;
  --line: #dfe4f2;
  --paper: #ffffff;
  --cloud: #f3f5fb;
  --sky-1: #a8c6f0;
  --sky-2: #d2def5;
  --sky-3: #f8dfcb;
  --sky-4: #ffc98f;
  --indigo: #1c2258;
  --indigo-2: #141a45;
  --night: #0b1030;
  --kestrel: #d9531a;
  --kestrel-deep: #b3410f;
  --amber: #ffb056;
  --ok: #13835c;

  /* illustration colours (src/art.html) */
  --ai: #1c2258; --am: #6f77c9; --as: #dfe4f6; --ap: #ffffff; --ah: #d9531a; --au: #ffb056; --ak: #13835c;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --r-lg: 22px;
  --r: 14px;
  --r-sm: 8px;
  --shadow: 0 30px 60px -30px rgba(18, 26, 63, 0.35), 0 8px 18px -10px rgba(18, 26, 63, 0.18);
  --shadow-sm: 0 14px 30px -18px rgba(18, 26, 63, 0.3), 0 2px 6px -2px rgba(18, 26, 63, 0.1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }

html { background: #eef2fb; }
body {
  margin: 0;
  background: transparent;
  color: var(--ink);
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-weight: 660; font-stretch: 114%; letter-spacing: -0.026em; line-height: 1.02; text-wrap: balance; }
h3 { font-size: 1.3125rem; font-stretch: 108%; font-weight: 620; letter-spacing: -0.015em; line-height: 1.18; }

:focus-visible { outline: 3px solid var(--kestrel); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; position: relative; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); color: var(--ink); padding: 8px 14px; border-radius: var(--r-sm); z-index: 60; }
.skip:focus { left: 8px; }

/* ---------- The sky behind the light sections ---------- */
/* --p is how far the page is scrolled (0 to 1); --sx and --sy place the sun. Set by the script at the end of each page. */
.backdrop { --p: 0.3; --sx: 30; --sy: 28; position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.backdrop > * { position: absolute; }
.bd-day { inset: 0; background: linear-gradient(180deg, #e7effc 0, #f5f8fd 58%, #fbf3ec 100%); }
.bd-morning { inset: 0; background: linear-gradient(180deg, #d3e2fa 0, #e9f0fb 52%, #fde7d5 100%); opacity: clamp(0, calc(1 - var(--p) * 3.2), 1); }
.bd-evening { inset: 0; background: linear-gradient(180deg, #f1eaf6 0, #fdeddc 56%, #ffd9b3 100%); opacity: clamp(0, calc((var(--p) - 0.42) * 3), 1); }
.bd-dusk { inset: 0; background: linear-gradient(180deg, #cbcdef 0, #e0d3ec 56%, #f5c9b0 100%); opacity: clamp(0, calc((var(--p) - 0.78) * 5), 1); }
.bd-sun { left: 0; top: 0; width: 680px; height: 680px; margin: -340px 0 0 -340px; border-radius: 50%; will-change: transform;
  transform: translate(calc(var(--sx) * 1vw), calc(var(--sy) * 1vh));
  background: radial-gradient(circle, #fffdf3 0, #fff2cf 8%, rgba(255, 220, 158, 0.8) 11%, rgba(255, 204, 138, 0.36) 25%, rgba(255, 204, 148, 0.13) 46%, rgba(255, 210, 160, 0) 66%);
  opacity: clamp(0, calc((0.94 - var(--p)) * 9), 1); }
.bd-moon { right: 9vw; top: 0; width: 60px; height: 60px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fffdf2, #efe3c6); box-shadow: 0 0 50px 14px rgba(255, 240, 200, 0.5);
  transform: translateY(calc(112vh - var(--p) * 98vh)); opacity: clamp(0, calc((var(--p) - 0.8) * 6), 1); }
.bd-cloud { height: 28px; border-radius: 99px; filter: blur(8px); will-change: transform; background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 30%, #fff 70%, rgba(255, 255, 255, 0)); box-shadow: 0 14px 22px rgba(120, 140, 205, 0.16); }
.bd-cloud.k1 { width: 560px; left: 60%; top: 15%; transform: translateX(calc(var(--p) * -48vw)); }
.bd-cloud.k2 { width: 420px; left: 4%; top: 33%; opacity: 0.7; transform: translateX(calc(var(--p) * 36vw)); }
.bd-cloud.k3 { width: 680px; left: 74%; top: 66%; opacity: 0.8; transform: translateX(calc(var(--p) * -72vw)); }
@media (max-width: 700px) { .bd-sun { width: 440px; height: 440px; margin: -220px 0 0 -220px; } .bd-cloud { height: 20px; } .bd-cloud.k1 { width: 300px; } .bd-cloud.k2 { width: 240px; } .bd-cloud.k3 { width: 340px; } }
.bd-hills { left: -4%; bottom: -2px; width: 108%; max-width: none; height: 26vh; transform: translateX(calc(var(--p) * -3vw)); }

/* ---------- Back to the top ---------- */
.to-top { position: fixed; right: clamp(16px, 2.6vw, 34px); bottom: clamp(16px, 2.6vw, 34px); z-index: 35; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #fff; color: var(--indigo); box-shadow: 0 16px 30px -12px rgba(11, 16, 48, 0.6), 0 0 0 1px rgba(18, 26, 63, 0.1); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s, background-color 0.15s ease; }
.to-top svg { width: 24px; height: 24px; }
.deep .to-top { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--kestrel); color: #fff; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 640; font-stretch: 106%; font-size: 1.0313rem; line-height: 1;
  padding: 17px 26px; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: linear-gradient(180deg, #ec6a2a, var(--kestrel)); color: #fff; box-shadow: 0 14px 28px -12px rgba(217, 83, 26, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 18px 32px -12px rgba(217, 83, 26, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn-quiet { color: var(--ink); background: rgba(255, 255, 255, 0.55); border-color: rgba(18, 26, 63, 0.16); backdrop-filter: blur(6px); }
.btn-quiet:hover { background: #fff; }
.btn-small { padding: 12px 18px; font-size: 0.9375rem; }

/* ---------- Header ---------- */

.site-header { position: fixed; inset: 0 0 auto 0; z-index: 40; transition: background-color 0.25s ease, box-shadow 0.25s ease; }
.site-header .wrap { display: flex; align-items: center; gap: 28px; padding-block: 22px; transition: padding 0.25s ease; }
/* once the page is scrolled, the header gets a surface of its own */
.scrolled .site-header { background: rgba(255, 255, 255, 0.9); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 rgba(18, 26, 63, 0.07), 0 16px 30px -24px rgba(18, 26, 63, 0.45); }
.scrolled .site-header .wrap { padding-block: 11px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; font-weight: 720; font-stretch: 114%; font-size: 1.25rem; letter-spacing: -0.015em; }
.brand svg { width: 44px; height: 31px; }
.brand .ppc { font-weight: 420; color: var(--ink-2); }
.beta { font-size: 0.6875rem; font-weight: 640; font-stretch: 100%; letter-spacing: 0.03em; padding: 3px 8px; border-radius: 99px; color: var(--kestrel-deep); background: rgba(255, 255, 255, 0.7); }
.nav { display: flex; gap: 26px; margin-left: auto; font-size: 0.9688rem; font-weight: 500; }
.nav { align-items: center; }
.nav > a, .drop > button { text-decoration: none; color: var(--ink-2); font: inherit; font-weight: 500; background: none; border: 0; padding: 10px 0; cursor: pointer; }
.nav > a:hover, .drop:hover > button, .drop:focus-within > button { color: var(--ink); }
.drop { position: static; }
.drop > button::after { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 0 3px 8px; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: rotate(45deg); transition: transform 0.16s ease; }
.drop:hover > button::after, .drop:focus-within > button::after { transform: translateY(3px) rotate(225deg); }

/* The mega menus: as wide as the page, opened by pointing at or focusing "Product" and "Who it is for" */
.mega { position: absolute; left: 0; right: 0; top: calc(100% - 16px); padding-top: 16px; visibility: hidden; opacity: 0; transform: translateY(8px); transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s; }
.drop:hover .mega, .drop:focus-within .mega { visibility: visible; opacity: 1; transform: none; }
.mega-in { display: grid; gap: 10px 26px; padding: 24px; background: var(--paper); border-radius: var(--r-lg); box-shadow: 0 40px 80px -30px rgba(11, 16, 48, 0.55), 0 0 0 1px rgba(18, 26, 63, 0.07); }
.mega-in.product { grid-template-columns: minmax(0, 2.15fr) minmax(0, 1.05fr) minmax(0, 1fr); }
.mega-in.who-menu { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1fr); gap: 16px; }
.mega-h { padding: 4px 12px 10px; font-size: 0.8125rem; font-weight: 640; color: var(--slate); }
.mega-h.second { margin-top: 12px; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px; }
.site-header .item { display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 14px; align-items: center; padding: 9px 12px; border-radius: 14px; text-decoration: none; line-height: 1.3; transition: background-color 0.15s ease; }
.site-header .item .art { width: 68px; height: 51px; }
.site-header .item b, .card-link b { display: block; color: var(--ink); font-weight: 620; font-stretch: 104%; font-size: 1rem; }
.site-header .item i, .card-link i { font-style: normal; font-size: 0.875rem; color: var(--slate); }
.site-header .item:hover, .site-header .item:focus-visible { background: var(--cloud); }
.card-link { display: block; padding: 12px 12px 16px; border-radius: 16px; text-decoration: none; line-height: 1.3; transition: background-color 0.15s ease; }
.card-link:hover, .card-link:focus-visible { background: var(--cloud); }
.card-link .pic { height: 112px; margin-bottom: 14px; }
.card-link .pic .art { width: 112px; height: 84px; }
.card-link b { padding-inline: 6px; } .card-link i { display: block; padding-inline: 6px; }
.mega-feature { display: flex; flex-direction: column; padding: 20px 20px 22px; border-radius: 16px; text-decoration: none; color: #fff; line-height: 1.35; background: linear-gradient(160deg, #1c2258 0, #2c3480 60%, #4a4f9f 100%); transition: transform 0.2s ease; }
.mega-feature:hover { transform: translateY(-2px); }
.mega-feature .art { width: 104px; height: 78px; margin-bottom: 14px; --ai: #e6e9fb; --am: #8f9be0; --as: rgba(255, 255, 255, 0.16); --ap: #262d72; --ak: #3ecf9a; }
.mega-feature b { font-weight: 640; font-stretch: 108%; font-size: 1.125rem; letter-spacing: -0.012em; line-height: 1.2; }
.mega-feature span { margin-top: 8px; font-size: 0.9063rem; color: #c9cef0; }
.mega-feature em { margin-top: auto; padding-top: 16px; font-style: normal; font-weight: 640; font-size: 0.9375rem; color: var(--amber); }

.menu { display: none; margin-left: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; font-weight: 620; font-size: 0.9375rem; padding: 10px 16px; background: rgba(255, 255, 255, 0.6); border-radius: 999px; }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 0; top: calc(100% + 10px); width: min(92vw, 380px); max-height: calc(100vh - 96px); overflow: auto; background: var(--paper); border-radius: var(--r-lg); box-shadow: 0 40px 80px -30px rgba(11, 16, 48, 0.55), 0 0 0 1px rgba(18, 26, 63, 0.07); padding: 10px; display: grid; }
.menu nav p { padding: 14px 12px 6px; font-size: 0.8125rem; font-weight: 640; color: var(--slate); }
.menu nav .item { grid-template-columns: 56px minmax(0, 1fr); padding: 8px 12px; }
.menu nav .item .art { width: 56px; height: 42px; }
.menu nav .btn { margin: 12px 4px 4px; }
.scrolled .menu summary { background: var(--cloud); }
@media (max-width: 1120px) { .nav, .site-header .btn { display: none; } .menu { display: block; } }

/* ---------- Hero: morning over the land, the product screen rising out of it ---------- */

.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding-top: clamp(112px, 11vw, 158px);
  background: linear-gradient(to bottom, var(--sky-1) 0, var(--sky-2) 38%, var(--sky-3) 68%, var(--sky-4) 88%, #ffd9a8 100%);
}
.hero .sun { position: absolute; z-index: -1; left: 50%; bottom: calc(clamp(190px, 24vw, 340px) * 0.9); width: 1300px; height: 1300px; transform: translate(-50%, 50%); border-radius: 50%;
  background: radial-gradient(circle, #fffdf4 0, #fff3d4 6.5%, rgba(255, 226, 170, 0.95) 8%, rgba(255, 205, 140, 0.55) 16%, rgba(255, 200, 140, 0.22) 36%, rgba(255, 210, 160, 0) 60%); }
.hero .cloud { position: absolute; z-index: -1; height: 20px; border-radius: 99px; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.75) 30%, rgba(255, 255, 255, 0.75) 70%, rgba(255, 255, 255, 0)); filter: blur(5px); }
.hero .cloud.c1 { width: 520px; left: 52%; top: 26%; }
.hero .cloud.c2 { width: 380px; left: 70%; top: 37%; opacity: 0.8; }
.hero .cloud.c3 { width: 340px; left: 30%; top: 15%; opacity: 0.55; }

.hero-top { text-align: center; padding-bottom: clamp(16px, 2.4vw, 32px); }
.hero h1 { font-size: clamp(2.5rem, 5.5vw, 4.75rem); font-weight: 680; font-stretch: 116%; letter-spacing: -0.035em; line-height: 0.98; max-width: 17ch; margin-inline: auto; }
.lede { margin-top: 26px; max-width: 31em; font-size: clamp(1.125rem, 1.7vw, 1.3125rem); line-height: 1.5; color: var(--ink-2); }
.hero .lede { max-width: 41em; margin-inline: auto; text-wrap: balance; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; }
.hero .hero-actions { justify-content: center; }
.hero-note { margin-top: 20px; font-size: 0.9688rem; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 18px; height: 18px; color: var(--ok); }
.hero-gains { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px; font-size: 1.0156rem; font-weight: 540; color: var(--ink); }
.hero-gains li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.35; text-align: left; }
.hero-gains svg { flex: none; margin-top: 1px; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--ok); color: #fff; stroke-width: 3; }


.land { display: block; width: 100%; height: clamp(190px, 24vw, 340px); margin-top: clamp(8px, 1.4vw, 20px); margin-bottom: -2px; }

@media (max-width: 860px) {
  .hero { padding-top: 112px; }
  .hero-gains { flex-direction: column; align-items: flex-start; width: fit-content; margin-inline: auto; }
}

/* ---------- Ground: the list arrives, then the problem ---------- */

.ground > .wrap { display: flow-root; }
.ground { position: relative; color: #fff; background: linear-gradient(to bottom, var(--indigo) 0, var(--indigo-2) 100%); padding-bottom: clamp(80px, 10vw, 136px); }

/* The Kestrel screen: numbers first, then what needs a decision */
.app { position: relative; z-index: 2; margin-top: calc(clamp(190px, 24vw, 340px) * -0.9); background: var(--paper); color: var(--ink); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 60px 110px -40px rgba(6, 10, 40, 0.8), 0 0 0 1px rgba(18, 26, 63, 0.08); }
.app-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; padding: 14px 24px; background: linear-gradient(180deg, #fbfcff, #f3f5fb); border-bottom: 1px solid var(--line); font-size: 0.9375rem; color: var(--slate); }
.app-bar .from { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 620; }
.app-bar .from i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--indigo); color: #fff; }
.app-bar .from svg { width: 22px; height: 15px; }
.app-tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.app-tabs b, .app-tabs span { padding: 8px 14px; border-radius: 99px; font-weight: 560; white-space: nowrap; }
.app-tabs b { background: var(--indigo); color: #fff; font-weight: 620; }
.app-tabs em { font-style: normal; opacity: 0.7; margin-left: 4px; }
.app-bar .done { margin-left: auto; color: var(--ok); font-weight: 560; display: inline-flex; align-items: center; gap: 7px; }
.app-bar .done svg { width: 16px; height: 16px; }
.app-body { display: grid; grid-template-columns: minmax(0, 1fr) 336px; }
.app-main { padding: 22px 24px 24px; }
.app-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-bottom: 4px; }
.app-head h2 { font-size: clamp(1.375rem, 2.2vw, 1.625rem); letter-spacing: -0.02em; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; font-size: 0.8438rem; }
.filters b, .filters span { padding: 6px 11px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line); color: var(--slate); font-weight: 560; white-space: nowrap; }
.filters b { background: #e8ecfb; color: #2b3690; box-shadow: none; font-weight: 620; }
.acct { margin-top: 12px; padding: 16px 18px 17px; border-radius: var(--r); box-shadow: 0 0 0 1px var(--line); }
.acct.is-act { box-shadow: 0 0 0 1px rgba(217, 83, 26, 0.4), inset 4px 0 0 var(--kestrel); background: linear-gradient(90deg, rgba(217, 83, 26, 0.07), rgba(217, 83, 26, 0) 55%); }
.acct header { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.acct h3 { font-size: 1.1875rem; }
.acct .kind { font-size: 0.8438rem; font-weight: 520; }
.acct .age { margin-left: auto; padding: 0; }
.nums { margin-top: 12px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.acct.is-act .nums { grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.25fr); }
.nums > div { padding: 1px 14px 1px 0; }
.nums > div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.nums dt { font-size: 0.7813rem; color: var(--slate); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nums dd { font-size: 1.4375rem; font-weight: 660; font-stretch: 110%; letter-spacing: -0.02em; line-height: 1.2; }
.nums small { display: block; font-size: 0.7813rem; font-weight: 480; font-stretch: 100%; letter-spacing: 0; line-height: 1.3; color: var(--slate); }
.nums .hot dd { color: var(--kestrel-deep); }
.nums .spark { display: flex; align-items: flex-end; padding-right: 0; }
.nums .spark svg { width: 100%; height: 46px; }
.acct .what { margin-top: 13px; font-size: 1rem; }
.acct .next { margin-top: 3px; }
.acct-more { margin-top: 12px; padding: 13px 18px; border-radius: var(--r); box-shadow: 0 0 0 1px var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 0.9531rem; }
.acct-more b { font-weight: 640; font-stretch: 106%; }
.acct-more span:not(.level) { color: var(--ink-2); flex: 1 1 320px; }
.app-rail { border-left: 1px solid var(--line); background: #fafbfe; padding: 24px 22px; display: grid; gap: 26px; align-content: start; }
.app-rail h3 { font-size: 0.9688rem; font-stretch: 104%; letter-spacing: -0.005em; margin-bottom: 10px; }
.paces { font-size: 0.875rem; }
.paces li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 8px; padding: 7px 0; color: var(--ink-2); }
.paces b { font-weight: 640; color: var(--ink); }
.paces i { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: linear-gradient(90deg, #4a56b8 var(--p), #dfe4f6 var(--p)); }
.paces .hot b { color: var(--kestrel-deep); }
.paces .hot i { background: linear-gradient(90deg, #f0813e, var(--kestrel)); }
.app-rail .quiet { padding: 14px 16px; border-radius: var(--r); background: #e9f6f0; color: #1f5a45; font-size: 0.9063rem; }
.app-rail .quiet h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; color: #0f5b41; }
.app-rail .quiet svg { width: 18px; height: 18px; }
@media (max-width: 1000px) {
  .app-body { grid-template-columns: 1fr; }
  .app-rail { border-left: 0; border-top: 1px solid var(--line); grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-rail .quiet { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .app-bar { padding: 14px 18px; }
  .app-bar .done { margin-left: 0; }
  .app-main { padding: 18px 16px 18px; }
  .filters { display: none; }
  .nums, .acct.is-act .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 0; }
  .nums > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .nums .spark { display: none; }
  .acct .age { margin-left: 0; }
  .app-rail { grid-template-columns: 1fr; padding: 20px 16px; }
}

.list {
  position: relative; z-index: 2; margin-top: clamp(-40px, -3vw, -20px); background: var(--paper); color: var(--ink);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 50px 90px -40px rgba(6, 10, 40, 0.75), 0 0 0 1px rgba(18, 26, 63, 0.06);
}
.list-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 16px 28px; background: linear-gradient(180deg, #fbfcff, #f3f5fb); border-bottom: 1px solid var(--line); font-size: 0.9375rem; color: var(--slate); }
.list-bar .from { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 620; }
.list-bar .from i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--indigo); color: #fff; }
.list-bar .from svg { width: 22px; height: 15px; }
.list-bar .done { margin-left: auto; color: var(--ok); font-weight: 560; display: inline-flex; align-items: center; gap: 7px; }
.list-bar .done svg { width: 16px; height: 16px; }
.list-head { padding: 24px 28px 6px; }
.list-head h2 { font-size: clamp(1.375rem, 2.4vw, 1.75rem); letter-spacing: -0.02em; }
.list-head p { margin-top: 6px; color: var(--slate); }

.finding { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 8px 24px; align-items: start; padding: 22px 28px; border-top: 1px solid var(--line); }
.list-head + .finding { border-top: 0; }
.level { justify-self: start; display: inline-block; font-size: 0.8125rem; font-weight: 640; padding: 6px 11px; border-radius: 99px; line-height: 1; white-space: nowrap; }
.level-act { background: var(--kestrel); color: #fff; box-shadow: 0 6px 14px -6px rgba(217, 83, 26, 0.7); }
.level-look { background: #e8ecfb; color: #2b3690; }
.level-note { background: var(--cloud); color: var(--slate); }
.level-none { color: var(--slate); box-shadow: inset 0 0 0 1px var(--mist); }
.where { font-size: 0.9375rem; color: var(--slate); }
.where b { color: var(--ink); font-weight: 620; }
.what { margin-top: 3px; font-size: 1.0938rem; line-height: 1.4; }
.what strong { font-weight: 660; }
.next { margin-top: 6px; font-size: 0.9375rem; color: var(--slate); max-width: 62ch; }
.age { font-size: 0.875rem; color: var(--slate); white-space: nowrap; padding-top: 4px; }
.finding.is-act { background: linear-gradient(90deg, rgba(217, 83, 26, 0.07), rgba(217, 83, 26, 0) 55%); box-shadow: inset 4px 0 0 var(--kestrel); }

.evidence { grid-column: 2 / -1; margin-top: 14px; padding: 18px 20px 12px; background: var(--cloud); border-radius: var(--r); max-width: 660px; }
.evidence figcaption, .viz figcaption { font-size: 0.8438rem; color: var(--slate); margin-top: 8px; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.key { display: inline-flex; align-items: center; gap: 6px; }
.key i { width: 10px; height: 10px; border-radius: 3px; background: #b9c2e6; }
.key i.zero { background: var(--kestrel); height: 3px; }
.key i.ln { height: 3px; width: 14px; border-radius: 2px; background: #4a56b8; }
.key i.ln-k { height: 3px; width: 14px; border-radius: 2px; background: var(--kestrel); }
.bars rect { fill: #b9c2e6; }
.bars rect.zero { fill: var(--kestrel); }
svg text { font-family: inherit; font-size: 11px; fill: var(--slate); }

@media (max-width: 760px) {
  .finding { grid-template-columns: 1fr; padding: 18px 20px; }
  .evidence { grid-column: 1; }
  .list-bar, .list-head { padding-inline: 20px; }
  .list-bar .done { margin-left: 0; }
}

/* ---------- Section basics ---------- */

.section { padding-block: clamp(84px, 11vw, 150px); position: relative; }
.section h2, .problem h2, .gain h2 { font-size: clamp(2.125rem, 4.6vw, 3.5rem); max-width: 19ch; }
.section .intro, .problem .intro { margin-top: 22px; max-width: 36em; color: var(--slate); font-size: clamp(1.0938rem, 1.5vw, 1.25rem); }
.center { text-align: center; }
.center h2, .center .intro { margin-inline: auto; }
#checks h2 { max-width: 24ch; }
.on-dark h2 { color: #fff; }
.on-dark .intro { color: #c3c9ea; }
.tint { background: rgba(255, 255, 255, 0.5); }

/* What you gain: six outcomes, set in type, no boxes */
.gain { padding-top: clamp(84px, 11vw, 150px); }
.gains { margin-top: clamp(40px, 5vw, 68px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(28px, 4vw, 60px); }
.gains li { padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.gains svg { width: 32px; height: 32px; color: var(--amber); }
.gains svg.art { width: 148px; height: 111px; margin: -6px 0 2px -8px; }
.gains h3 { margin-top: 18px; color: #fff; font-size: clamp(1.4375rem, 2.3vw, 1.75rem); font-stretch: 112%; letter-spacing: -0.022em; line-height: 1.1; }
.gains p { margin-top: 12px; color: #c3c9ea; max-width: 34ch; }
@media (max-width: 900px) { .gains { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gains { grid-template-columns: 1fr; } }

/* The problem, told on one weekend */
.problem { padding-top: clamp(84px, 11vw, 150px); }
.weekend { margin-top: clamp(40px, 5vw, 64px); padding: clamp(22px, 3vw, 36px); border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.days { display: grid; grid-template-columns: repeat(6, 1fr); font-size: 0.875rem; color: var(--mist); }
.days span { padding: 0 0 12px 12px; border-left: 1px solid rgba(255, 255, 255, 0.14); }
.days b { display: block; color: #fff; font-weight: 620; font-size: 1rem; }
.track { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); align-items: center; padding-block: 14px 16px; background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px); background-size: calc(100% / 6) 100%; }
.track .bar { grid-row: 1; grid-column: 1 / -1; z-index: 1; height: 44px; border-radius: 10px; display: flex; align-items: center; padding-inline: 16px; font-size: 0.9375rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track.without .bar { margin-left: 13%; margin-right: 9%; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0 10px, rgba(255, 255, 255, 0.05) 10px 20px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); color: #dfe3f7; }
.track.with .bar { margin-left: 13%; margin-right: 76%; background: linear-gradient(90deg, #f0813e, var(--kestrel)); color: #fff; box-shadow: 0 12px 26px -10px rgba(217, 83, 26, 0.8); justify-content: center; padding-inline: 8px; }
.track .label { grid-column: 1 / -1; grid-row: 2; margin-top: 6px; font-size: 0.9063rem; color: #c3c9ea; padding-left: 13%; }
.track .label b { color: #fff; font-weight: 620; }
.track.with .label b { color: var(--amber); }
.weekend-sum { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.12); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; font-size: 1.0313rem; color: #c3c9ea; }
.weekend-sum b { color: #fff; font-weight: 620; }
.weekend-sum .saved { margin-left: auto; padding: 6px 14px; border-radius: 99px; background: rgba(255, 176, 86, 0.14); box-shadow: inset 0 0 0 1px rgba(255, 176, 86, 0.5); }
.weekend-sum .saved b { color: var(--amber); }
@media (max-width: 900px) { .weekend-sum .saved { margin-left: 0; } }
@media (max-width: 720px) {
  .days span { padding-left: 6px; font-size: 0.75rem; } .days b { font-size: 0.875rem; }
  .track .bar { font-size: 0.8125rem; padding-inline: 10px; }
  .track.with .bar { margin-right: 60%; }
}


/* ---------- The six checks ---------- */

.checks { margin-top: clamp(40px, 5vw, 68px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; text-align: left; }
.check { display: flex; flex-direction: column; padding: 28px 26px 26px; border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow-sm), 0 0 0 1px rgba(18, 26, 63, 0.05); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.check:hover { transform: translateY(-4px); box-shadow: var(--shadow), 0 0 0 1px rgba(18, 26, 63, 0.05); }
.chip { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 20px; }
.chip svg { width: 26px; height: 26px; }
.chip.a { background: #ffe9dc; color: var(--kestrel-deep); }
.chip.b { background: #e4e9ff; color: #3340a8; }
.chip.c { background: #e0f3ec; color: #13715a; }
.chip.d { background: #fdebd0; color: #a3600b; }
.chip.e { background: #ece6fb; color: #5a3fae; }
.chip.f { background: #dfeefb; color: #1f5f9a; }
.check-top { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.check-top .chip { margin-bottom: 0; }
.kind { font-size: 0.9375rem; font-weight: 600; color: var(--slate); }
.check h3 { font-size: 1.4375rem; line-height: 1.14; }
.check > p { margin-top: 10px; color: var(--slate); font-size: 0.9844rem; }
.viz { margin-top: auto; padding-top: 22px; }
.viz > div { background: var(--cloud); border-radius: var(--r); padding: 18px 18px 14px; }
.viz svg { width: 100%; height: auto; overflow: visible; }
.viz .said { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.9375rem; line-height: 1.4; }
.viz .said .level { margin-bottom: 8px; }
.viz .said span:last-child { display: block; }
.viz .range { fill: #dfe4f6; }
.viz .ln { fill: none; stroke: #4a56b8; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.viz .ln-soft { fill: none; stroke: #aab3df; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.viz .ln-k { fill: none; stroke: var(--kestrel); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.viz .dot { fill: #4a56b8; }
.viz .dot-out { fill: var(--kestrel); }
.viz .halo { fill: rgba(217, 83, 26, 0.18); }
.viz .mid { stroke: #aab3df; stroke-width: 1; stroke-dasharray: 3 4; }

.pace { font-size: 0.8438rem; color: var(--slate); }
.pace .track2 { position: relative; height: 16px; border-radius: 99px; background: #dfe4f6; margin: 26px 0 10px; }
.pace .spent { position: absolute; inset: 0 auto 0 0; width: 78%; border-radius: 99px; background: linear-gradient(90deg, #4a56b8, #2b3690); }
.pace .today { position: absolute; left: 60%; top: -7px; bottom: -7px; width: 3px; border-radius: 2px; background: var(--kestrel); }
.pace .today::before { content: "Day 18 of 30"; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); white-space: nowrap; padding-bottom: 2px; color: var(--kestrel-deep); font-weight: 640; }
.pace .ends { display: flex; justify-content: space-between; gap: 12px; }
.pace .ends b { color: var(--ink); font-weight: 640; }

.log { font-size: 0.9063rem; }
.log li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 2px 10px; padding: 8px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.log li:first-child { padding-top: 0; }
.log li:last-child { border-bottom: 0; padding-bottom: 2px; }
.log time { color: var(--slate); font-size: 0.8125rem; grid-row: span 2; }
.log .chg { white-space: nowrap; }
.log .chg s { color: var(--slate); text-decoration: line-through; text-decoration-color: var(--mist); }
.log .chg i { font-style: normal; color: var(--mist); padding-inline: 5px; }
.log .chg b { font-weight: 640; color: #2b3690; }

.terms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); font-size: 0.8125rem; color: var(--slate); line-height: 1.3; }
.terms li { padding: 0 10px; border-left: 1px solid var(--line); }
.terms li:first-child { padding-left: 0; border-left: 0; }
.terms b { display: block; font-weight: 680; font-stretch: 114%; font-size: 1.875rem; line-height: 1.1; color: var(--ink); letter-spacing: -0.03em; margin-bottom: 4px; }
.terms li:first-child b { color: var(--kestrel); }

@media (max-width: 1040px) { .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .checks { grid-template-columns: 1fr; } }

.coverage { margin-top: clamp(40px, 5vw, 64px); padding: clamp(22px, 3vw, 36px); text-align: left; border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow-sm), 0 0 0 1px rgba(18, 26, 63, 0.05); }
.cov-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 32px; margin-bottom: 24px; }
.cov-head h3 { font-size: clamp(1.4375rem, 2.3vw, 1.75rem); letter-spacing: -0.022em; }
.cov-head p { color: var(--slate); max-width: 44ch; }
.cov-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cov-cards article { padding: 14px 14px 22px; border-radius: 18px; background: #f7f9ff; box-shadow: inset 0 0 0 1px var(--line); }
.cov-cards .pic { height: 124px; }
.cov-cards .pic .art { width: 124px; height: 93px; }
.cov-cards h4 { margin: 18px 8px 0; font-size: 1.25rem; font-weight: 640; font-stretch: 108%; letter-spacing: -0.015em; line-height: 1.2; }
.cov-cards .sum { margin: 7px 8px 0; color: var(--slate); font-size: 0.9531rem; min-height: 2.9em; }
.cov-cards ul { margin: 16px 8px 0; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 0.9688rem; }
.cov-cards li { position: relative; padding-left: 32px; line-height: 1.35; }
.cov-cards li svg, .cov-cards li i { position: absolute; left: 0; top: 0; width: 21px; height: 21px; border-radius: 50%; }
.cov-cards li svg.y { padding: 4px; background: var(--ok); color: #fff; stroke-width: 3; }
.cov-cards li i.h { background: linear-gradient(90deg, var(--ok) 50%, #cfe9dd 50%); }
.cov-cards li i.n { background: #e3e7f3; }
.cov-cards li i.n::after { content: ""; position: absolute; left: 6px; right: 6px; top: 9.5px; height: 2px; border-radius: 2px; background: var(--slate); }
.cov-cards li.no { color: var(--slate); }
.cov-foot { margin-top: 22px; display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; border-radius: var(--r); background: #eef2fb; color: var(--ink-2); font-size: 0.9688rem; }
.cov-foot svg { flex: none; width: 22px; height: 22px; color: #2b3690; }
@media (max-width: 900px) { .cov-cards { grid-template-columns: 1fr; } .cov-cards .sum { min-height: 0; } }

/* ---------- Normal for this account (daylight) ---------- */

.daylight { background: linear-gradient(160deg, #cfe0f8 0, #e3ebfa 45%, #fbeadd 100%); overflow: hidden; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split h2 { max-width: 15ch; }
.points { margin-top: 30px; display: grid; gap: 18px; }
.points li { padding-left: 38px; position: relative; color: var(--ink-2); max-width: 44ch; }
.points li svg { position: absolute; left: 0; top: 2px; width: 24px; height: 24px; color: var(--kestrel); }
.points b { color: var(--ink); font-weight: 640; display: block; }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; } }

.chart { padding: 30px 32px 26px; background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.chart .title { font-weight: 640; font-stretch: 108%; font-size: 1.1875rem; }
.chart .sub { font-size: 0.9375rem; color: var(--slate); margin-top: 2px; }
.chart svg { margin-top: 20px; width: 100%; height: auto; overflow: visible; }
.chart .range { fill: #e4e9fb; }
.chart .mid { stroke: #aab3df; stroke-width: 1; stroke-dasharray: 3 4; }
.chart .dot { fill: #4a56b8; }
.chart .dot-out { fill: var(--kestrel); }
.chart .halo { fill: rgba(217, 83, 26, 0.16); }
.chart .drop { stroke: var(--kestrel); stroke-width: 1.5; stroke-dasharray: 3 4; }
.chart .axis { stroke: var(--line); stroke-width: 1; }
.chart text { font-size: 12px; }
.chart text.call { fill: var(--kestrel-deep); font-weight: 660; font-size: 14px; }
.chart .verdict { margin-top: 16px; padding: 14px 16px; border-radius: var(--r); background: #fff3ec; font-size: 0.9844rem; color: var(--ink-2); }
.chart .verdict b { font-weight: 660; color: var(--ink); }

/* Changes noticed: before and after */
.split.wide-left { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.changes { padding: 28px 28px 24px; }
.changes table { width: 100%; margin-top: 18px; border-collapse: collapse; font-size: 0.9063rem; }
.changes th { text-align: left; font-weight: 560; font-size: 0.7813rem; color: var(--slate); padding: 0 12px 8px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.changes td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.35; }
.changes td:first-child { color: var(--slate); }
.changes td:nth-child(2) { color: var(--slate); }
.changes td:nth-child(2) b { display: block; color: var(--ink); font-weight: 620; }
.changes td s { color: var(--slate); text-decoration-color: var(--mist); }
.changes td:nth-child(5) b { font-weight: 660; color: #2b3690; }
.changes tr.up td:nth-child(5) b { color: var(--kestrel-deep); }
.changes td:last-child, .changes th:last-child { padding-right: 0; text-align: right; }
.changes .verdict { margin-top: 18px; }
@media (max-width: 920px) { .split.wide-left { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .changes { padding: 22px 18px; }
  .changes thead { display: none; }
  .changes tr { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .changes td { padding: 0; border: 0; }
  .changes td:first-child { grid-row: span 4; }
  .changes td:nth-child(n+2) { grid-column: 2; }
  .changes td:last-child { text-align: left; margin-top: 4px; }
}

/* ---------- Anatomy of one finding ---------- */

.anatomy { margin-top: clamp(40px, 5vw, 68px); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.card { background: var(--paper); border-radius: var(--r-lg); padding: 30px 32px; box-shadow: var(--shadow), 0 0 0 1px rgba(18, 26, 63, 0.05); }
.card .level { margin-bottom: 14px; }
.card .what { font-size: 1.3125rem; letter-spacing: -0.01em; }
.card .rows { margin-top: 22px; }
.card .rows > div { display: grid; grid-template-columns: 34px 118px minmax(0, 1fr); gap: 4px 10px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 0.9688rem; align-items: baseline; }
.card .rows .n { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--indigo); color: #fff; font-size: 0.75rem; font-weight: 660; }
.card .rows dt { color: var(--slate); }
.card .acts { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.9063rem; font-weight: 560; }
.card .acts span { padding: 8px 14px; border-radius: 99px; background: var(--cloud); color: var(--ink-2); }
.parts { display: grid; gap: 26px; }
.parts > div { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 4px 12px; }
.parts .n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #ffe9dc; color: var(--kestrel-deep); font-size: 0.8125rem; font-weight: 680; }
.parts h3 { font-size: 1.1875rem; }
.parts p { grid-column: 2; color: var(--slate); max-width: 46ch; }
.levels { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.levels li { padding: 22px; border-radius: var(--r); background: var(--paper); box-shadow: 0 0 0 1px rgba(18, 26, 63, 0.07); font-size: 0.9531rem; color: var(--slate); }
.levels .level { margin-bottom: 12px; }
@media (max-width: 920px) { .anatomy { grid-template-columns: 1fr; } .levels { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .levels { grid-template-columns: 1fr; } .card { padding: 24px 20px; } .card .rows > div { grid-template-columns: 34px minmax(0, 1fr); } .card .rows dd { grid-column: 2; } }

/* ---------- How it works ---------- */

.steps { margin-top: clamp(40px, 5vw, 68px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 8%; right: 8%; top: 30px; height: 2px; background: repeating-linear-gradient(90deg, #c3cbec 0 8px, transparent 8px 16px); }
.steps li { position: relative; counter-increment: step; text-align: center; padding-inline: 12px; }
.steps .ico { position: relative; display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 22px; border-radius: 20px; background: var(--paper); color: var(--indigo); box-shadow: var(--shadow-sm), 0 0 0 1px rgba(18, 26, 63, 0.06); }
.steps .ico svg { width: 30px; height: 30px; }
.steps .ico::after { content: counter(step); position: absolute; right: -9px; top: -9px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--kestrel); color: #fff; font-size: 0.8125rem; font-weight: 680; }
.steps p { margin: 10px auto 0; color: var(--slate); max-width: 34ch; font-size: 0.9844rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; gap: 36px; } .steps::before { display: none; } }

.mails { margin-top: clamp(48px, 6vw, 84px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 56px; align-items: center; }
.mails h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.022em; line-height: 1.08; max-width: 16ch; }
.mails > div > p { margin-top: 14px; color: var(--slate); max-width: 36ch; }
.inbox { background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow), 0 0 0 1px rgba(18, 26, 63, 0.05); overflow: hidden; }
.inbox li { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 2px 14px; padding: 18px 24px; border-bottom: 1px solid var(--line); font-size: 0.9688rem; align-items: center; }
.inbox li:last-child { border-bottom: 0; }
.inbox i { grid-row: span 2; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--indigo); color: #fff; }
.inbox i svg { width: 26px; height: 18px; }
.inbox time { color: var(--slate); font-size: 0.875rem; }
.inbox b { font-weight: 640; }
.inbox span { grid-column: 2 / -1; color: var(--slate); }
.inbox .dot-a b::before, .inbox .dot-q b::before, .inbox .dot-w b::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 9px; background: var(--kestrel); }
.inbox .dot-q b::before { background: var(--ok); }
.inbox .dot-w b::before { background: var(--amber); }
@media (max-width: 920px) { .mails { grid-template-columns: 1fr; } }

/* ---------- Who it is for ---------- */

.who { margin-top: clamp(40px, 5vw, 68px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; text-align: left; }
.who li { padding: 30px 28px 32px; border-radius: var(--r-lg); background: linear-gradient(180deg, #fff, #f7f9ff); box-shadow: var(--shadow-sm), 0 0 0 1px rgba(18, 26, 63, 0.05); }
.who h3 { margin-top: 20px; font-size: 1.375rem; }
.who p { margin-top: 10px; color: var(--slate); }
@media (max-width: 860px) { .who { grid-template-columns: 1fr; } }

/* ---------- Your data (dusk) ---------- */

.dusk { color: #fff; background: radial-gradient(1200px 500px at 80% -10%, rgba(255, 176, 86, 0.2), rgba(255, 176, 86, 0) 60%), linear-gradient(to bottom, #2a2f73 0, var(--indigo) 40%, var(--indigo-2) 100%); }
.flow { margin-top: clamp(40px, 5vw, 68px); display: grid; grid-template-columns: auto minmax(150px, 1fr) minmax(0, 580px) minmax(150px, 1fr) auto; align-items: center; }
.flow .node { background: rgba(255, 255, 255, 0.08); border-radius: var(--r); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); padding: 16px 18px; font-size: 0.9063rem; line-height: 1.35; }
.flow .node .art { width: 92px; height: 69px; margin: 0 auto 10px; }
.flow > .node { text-align: center; }
.flow .yours .node { text-align: center; }
.flow .node b { display: block; font-weight: 640; font-stretch: 108%; font-size: 1.0313rem; color: #fff; }
.flow .node span { color: #c3c9ea; }
.flow .yours { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 50px 18px 18px; border-radius: var(--r-lg); border: 1.5px dashed rgba(255, 176, 86, 0.7); background: rgba(255, 176, 86, 0.07); }
.flow .yours .node { background: rgba(255, 255, 255, 0.1); }
.flow .tag { position: absolute; left: 18px; top: 15px; font-weight: 640; font-stretch: 108%; font-size: 0.9688rem; color: var(--amber); display: flex; align-items: center; gap: 8px; }
.flow .tag svg { width: 18px; height: 18px; }
.flow .pipe { position: relative; height: 3px; background: repeating-linear-gradient(90deg, #fff 0 8px, transparent 8px 16px); background-size: 16px 3px; margin-inline: 8px 14px; }
.flow .pipe::after { content: ""; position: absolute; right: -8px; top: -5px; border-left: 9px solid #fff; border-block: 6px solid transparent; }
.flow .pipe span { position: absolute; left: 0; right: 4px; bottom: 12px; text-align: center; font-size: 0.8438rem; line-height: 1.25; color: #c3c9ea; white-space: nowrap; }
@media (max-width: 1100px) {
  .flow { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .flow .yours { grid-template-columns: 1fr; }
  .flow .pipe { width: 3px; height: 52px; margin: 6px 0 12px 28px; background: repeating-linear-gradient(180deg, #fff 0 8px, transparent 8px 16px); background-size: 3px 16px; }
  .flow > .node, .flow .yours .node { text-align: left; } .flow .node .art { margin-inline: 0; }
  .flow .pipe::after { right: auto; left: -5px; top: auto; bottom: -8px; border: 0; border-top: 9px solid #fff; border-inline: 6px solid transparent; }
  .flow .pipe span { left: 22px; right: auto; bottom: auto; top: 50%; transform: translateY(-50%); text-align: left; }
}
.principles { margin-top: clamp(36px, 5vw, 60px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; text-align: left; }
.principles li { padding: 22px 22px 24px; border-radius: var(--r); background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.principles svg { width: 26px; height: 26px; color: var(--amber); }
.principles svg.art { width: 104px; height: 78px; margin: -4px 0 0 -6px; }
.principles h3 { margin-top: 14px; font-size: 1.0938rem; color: #fff; }
.principles p { margin-top: 8px; color: #c3c9ea; font-size: 0.9375rem; }
@media (max-width: 1000px) { .principles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .principles { grid-template-columns: 1fr; } }

/* ---------- Questions ---------- */

.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 56px; align-items: start; }
.faq-wrap h2 { max-width: 10ch; }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--r); background: rgba(255, 255, 255, 0.62); transition: background-color 0.2s ease, box-shadow 0.2s ease; }
.faq details[open] { background: var(--paper); box-shadow: var(--shadow-sm), 0 0 0 1px rgba(18, 26, 63, 0.06); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative; font-weight: 620; font-stretch: 106%; font-size: 1.125rem; letter-spacing: -0.012em; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 26px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform 0.15s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 56px 22px 24px; color: var(--slate); max-width: 62ch; }
.faq details p b { color: var(--ink); font-weight: 640; }
@media (max-width: 920px) { .faq-wrap { grid-template-columns: 1fr; } .faq-wrap h2 { max-width: 19ch; } }

/* ---------- Night: the next check ---------- */

.tonight { position: relative; overflow: hidden; isolation: isolate; color: #fff; text-align: center;
  padding-top: clamp(100px, 12vw, 170px);
  background: linear-gradient(to bottom, #232a6b 0, #171d52 34%, var(--night) 100%); }
.tonight .stars { position: absolute; inset: 0; z-index: -1; width: 100%; height: 70%; }
.tonight .moon { position: absolute; z-index: -1; right: 14%; top: 12%; width: 74px; height: 74px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fffdf2, #f4e7c4); box-shadow: 0 0 60px 18px rgba(255, 236, 190, 0.22); }
.tonight h2 { font-size: clamp(2.375rem, 5.6vw, 4.5rem); font-stretch: 118%; font-weight: 680; letter-spacing: -0.035em; line-height: 0.98; max-width: 14ch; margin-inline: auto; }
.tonight .lede { margin: 24px auto 0; max-width: 32em; color: #c3c9ea; }
.tonight .hero-actions { justify-content: center; }
.tonight .hero-note { justify-content: center; color: #c3c9ea; }
.tonight .hero-note a { color: #fff; text-underline-offset: 4px; }
.tonight .land { height: clamp(180px, 22vw, 320px); margin-top: clamp(40px, 6vw, 80px); }

.site-footer { background: #070a22; padding-block: 30px 44px; color: var(--mist); font-size: 0.9375rem; text-align: left; }
.site-footer { padding-block: 56px 44px; }
.foot-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 36px 40px; }
.foot-cols h3 { color: #fff; font-size: 1.0313rem; margin-bottom: 14px; }
.foot-cols a { display: block; padding: 6px 0; color: #b4bce3; }
.foot-cols .brand { display: inline-flex; padding: 0; }
.foot-brand p { margin-top: 12px; max-width: 24ch; color: #b4bce3; }
.site-footer .fine { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
@media (max-width: 860px) { .foot-cols { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 460px) { .foot-cols { grid-template-columns: 1fr; } }
.site-footer .brand { color: #fff; font-size: 1.0938rem; }
.site-footer .brand .ppc { color: var(--mist); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-left: auto; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .fine { flex-basis: 100%; font-size: 0.8438rem; }

/* ---------- Illustrations and process pictures ---------- */

.art { display: block; width: 120px; height: 90px; overflow: visible; }
.on-dark .art { --ai: #e6e9fb; --am: #8f9be0; --as: rgba(255, 255, 255, 0.16); --ap: #262d72; --ak: #3ecf9a; }
.pic { display: grid; place-items: center; height: 136px; border-radius: 16px; background: linear-gradient(155deg, #d7e3fa 0, #e9eaf8 55%, #fbe6d6 100%); }
.pic .art { width: 136px; height: 102px; filter: drop-shadow(0 10px 12px rgba(28, 34, 88, 0.14)); }
.who .pic { margin: -8px -6px 0; }
.steps .pic { width: 176px; margin: 0 auto 22px; position: relative; box-shadow: var(--shadow-sm), 0 0 0 1px rgba(18, 26, 63, 0.05); }
.steps .pic::after { content: counter(step); position: absolute; right: -9px; top: -9px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--kestrel); color: #fff; font-size: 0.8125rem; font-weight: 680; }
.steps::before { top: 68px; }

.journey { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; counter-reset: j; text-align: left; }
.journey li { position: relative; counter-increment: j; padding: 14px 14px 26px; border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow-sm), 0 0 0 1px rgba(18, 26, 63, 0.05); }
.journey li::before { content: counter(j); position: absolute; left: 24px; top: 24px; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--indigo); color: #fff; font-size: 0.8125rem; font-weight: 680; }
.journey li + li::after { content: ""; position: absolute; left: -30px; top: 80px; width: 30px; height: 3px; background: repeating-linear-gradient(90deg, var(--kestrel) 0 6px, transparent 6px 12px); background-size: 12px 3px; }
.journey h3 { margin: 20px 10px 0; font-size: 1.1875rem; }
.journey p { margin: 8px 10px 0; color: var(--slate); font-size: 0.9688rem; }
@media (max-width: 1000px) { .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); } .journey li:nth-child(odd)::after { display: none; } }
@media (max-width: 560px) { .journey { grid-template-columns: 1fr; gap: 22px; } .journey li + li::after { display: block; left: 40px; top: -22px; width: 3px; height: 22px; background: repeating-linear-gradient(180deg, var(--kestrel) 0 6px, transparent 6px 12px); } }

/* A year of mornings */
.yearwall { margin: clamp(40px, 5vw, 64px) 0 0; padding: 28px 30px 24px; background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow); text-align: left; }
.yearwall .title, .wallcard .title { font-weight: 640; font-stretch: 108%; font-size: 1.1875rem; }
.yearwall .sub, .wallcard .sub { font-size: 0.9375rem; color: var(--slate); margin-top: 2px; }
.yearwall svg { display: block; width: 100%; height: auto; margin-top: 20px; overflow: visible; }
.yearwall .q { fill: #dde3f5; } .yearwall .l { fill: #6f77c9; } .yearwall .a { fill: var(--kestrel); }
.yearwall text { font-size: 9px; }
.yearwall .legend { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 0.9375rem; color: var(--ink-2); }
.yearwall .legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 8px; vertical-align: -1px; }
.yearwall .legend .q { background: #dde3f5; } .yearwall .legend .l { background: #6f77c9; } .yearwall .legend .a { background: var(--kestrel); }
.yearwall .legend b { font-weight: 660; color: var(--ink); }
.wide-fig .yearwall { margin-top: 0; }
@media (max-width: 700px) { .yearwall { padding: 22px 16px 20px; overflow-x: auto; } .yearwall svg { min-width: 640px; } }

/* Every account, the morning after */
.wallcard { padding: 28px 30px 30px; background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow), 0 0 0 1px rgba(18, 26, 63, 0.05); }
.wall { margin-top: 20px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.wall li { padding: 13px 13px 11px; border-radius: 14px; background: #f7f9ff; box-shadow: inset 0 0 0 1px var(--line); font-size: 0.8125rem; line-height: 1.25; }
.wall b { display: block; font-weight: 620; font-size: 0.875rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wall svg { width: 100%; height: 34px; margin: 9px 0 7px; overflow: visible; }
.wall polyline { fill: none; stroke: #a5aee0; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.wall span { display: flex; align-items: center; gap: 7px; color: var(--slate); font-weight: 540; }
.wall span::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); }
.wall .look span::before { background: #4a56b8; } .wall .look span { color: #2b3690; }
.wall .act { background: #fff4ed; box-shadow: inset 0 0 0 1.5px var(--kestrel); }
.wall .act polyline { stroke: var(--kestrel); } .wall .act span { color: var(--kestrel-deep); } .wall .act span::before { background: var(--kestrel); }
@media (max-width: 1000px) { .wall { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 620px) { .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wallcard { padding: 22px 16px; } }

/* One night, from midnight to morning */
.nightrun { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding-block: clamp(84px, 11vw, 150px) clamp(150px, 19vw, 280px);
  background: linear-gradient(90deg, #0b1030 0, #1a2057 20%, #3a3f8f 44%, #9a86bd 66%, #f3b9a4 84%, #ffc98f 100%); }
.nightrun::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 220px; z-index: -1; background: linear-gradient(to bottom, var(--indigo-2), rgba(20, 26, 69, 0)); }
.nr-sky { position: absolute; inset: 0; z-index: -2; }
.nr-stars { position: absolute; left: 0; top: 0; width: 52%; height: 78%; -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent); mask-image: linear-gradient(90deg, #000 55%, transparent); }
.nr-moon { position: absolute; left: 58%; top: 12%; width: 62px; height: 62px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fffdf2, #f4e7c4); box-shadow: 0 0 60px 18px rgba(255, 236, 190, 0.2); }
.nr-sun { position: absolute; right: -6%; bottom: 4%; width: 900px; height: 900px; border-radius: 50%; transform: translate(30%, 40%); background: radial-gradient(circle, #fffdf4 0, #fff3d4 7%, rgba(255, 226, 170, 0.9) 9%, rgba(255, 205, 140, 0.5) 18%, rgba(255, 200, 140, 0.2) 38%, rgba(255, 210, 160, 0) 62%); }
.nr-land { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: clamp(150px, 19vw, 280px); }
.nightrun h2 { font-size: clamp(2.125rem, 4.6vw, 3.5rem); max-width: 17ch; color: #fff; }
.nightrun .intro { margin-top: 20px; max-width: 30em; color: #c9cef0; font-size: clamp(1.0938rem, 1.5vw, 1.25rem); }
.stations { position: relative; margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.stations::before { content: ""; position: absolute; left: 4%; right: 4%; top: 15px; height: 3px; border-radius: 3px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.85) 0 8px, transparent 8px 18px); background-size: 18px 3px; }
.stations li { position: relative; display: grid; grid-template-rows: auto auto auto 1fr; }
.stations .when { position: relative; width: fit-content; margin: 0 auto 16px; padding: 6px 13px; border-radius: 99px; background: #fff; color: var(--indigo); font-size: 0.8438rem; font-weight: 660; line-height: 1.3; box-shadow: 0 8px 18px -8px rgba(11, 16, 48, 0.5); }
.stations li > :not(.when) { background: var(--paper); color: var(--ink); }
.stations .pic { border-radius: var(--r-lg) var(--r-lg) 0 0; margin: 0; padding: 12px 12px 0; height: 142px; background: var(--paper); }
.stations .pic .art { width: 100%; height: 118px; border-radius: 14px; padding: 12px; background: linear-gradient(155deg, #d7e3fa 0, #e9eaf8 55%, #fbe6d6 100%); filter: none; }
.stations h3 { padding: 16px 18px 0; font-size: 1.125rem; }
.stations li > p:last-child { padding: 8px 18px 22px; border-radius: 0 0 var(--r-lg) var(--r-lg); color: var(--slate); font-size: 0.9375rem; box-shadow: 0 30px 50px -30px rgba(11, 16, 48, 0.55); }
@media (max-width: 1080px) {
  .nightrun { background: linear-gradient(180deg, #0b1030 0, #1a2057 22%, #3a3f8f 48%, #9a86bd 72%, #ffc98f 100%); }
  .nr-stars { width: 100%; height: 40%; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
  .nr-moon { left: auto; right: 9%; top: 3%; }
  .nr-sun { right: 50%; transform: translate(50%, 55%); }
  .stations { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; gap: 26px; }
  .stations::before { left: 50%; right: auto; top: 0; bottom: 0; width: 3px; height: auto; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0 8px, transparent 8px 18px); background-size: 3px 18px; }
}

/* ---------- Subpages ---------- */

.page-hero { padding-bottom: clamp(64px, 8vw, 110px); }
.page-land { position: absolute; left: 0; right: 0; bottom: -2px; z-index: -1; width: 100%; height: clamp(90px, 12vw, 170px); }
.page-hero .sun { left: 78%; bottom: -520px; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.page-hero h1 { font-size: clamp(2.375rem, 4.6vw, 3.875rem); max-width: 15ch; margin-inline: 0; }
.page-hero .lede { margin-inline: 0; max-width: 33em; text-wrap: pretty; }
.page-hero .hero-actions { justify-content: flex-start; }
.page-hero.is-wide { padding-bottom: 0; }
.page-hero.is-wide h1 { max-width: 19ch; margin-inline: auto; }
.page-hero.is-wide .lede { margin-inline: auto; max-width: 40em; }
.page-hero.is-wide .hero-actions { justify-content: center; }
.page-hero.is-wide .crumb { justify-content: center; }
.page-wide-fig { margin-top: clamp(36px, 5vw, 60px); }
.page-wide-fig > :not(.app) { margin-inline: auto; margin-bottom: clamp(60px, 8vw, 104px); max-width: 980px; text-align: left; }
.page-wide-fig > .steps { max-width: none; margin-top: 0; }
.page-wide-fig .app { margin-top: 0; border-radius: var(--r-lg) var(--r-lg) 0 0; box-shadow: 0 -20px 80px -30px rgba(18, 26, 63, 0.45), 0 0 0 1px rgba(18, 26, 63, 0.08); }
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 0.9375rem; font-weight: 560; color: var(--ink-2); }
.crumb a { text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.crumb span::before { content: "/"; margin-right: 8px; color: var(--slate); }
.page-fig > *, .split-fig > * { width: 100%; }
.panel { padding: 26px 28px 24px; background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow), 0 0 0 1px rgba(18, 26, 63, 0.05); }
.panel .title, .chart .title { font-weight: 640; font-stretch: 108%; font-size: 1.1875rem; }
.panel .sub { font-size: 0.9375rem; color: var(--slate); margin-top: 2px; }
.panel .viz { padding-top: 16px; }
.page-fig .card, .split-fig .card { margin: 0; }
.split .intro + .points { margin-top: 26px; }
.split .more, .more { margin-top: 24px; font-weight: 620; }
.more a { color: #2b3690; text-underline-offset: 4px; }
.who.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.who.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .who.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .who.cols-2, .who.cols-4 { grid-template-columns: 1fr; } .page-hero-grid { grid-template-columns: 1fr; } }

.rules { margin: clamp(36px, 5vw, 60px) auto 0; max-width: 940px; background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow-sm), 0 0 0 1px rgba(18, 26, 63, 0.05); overflow: hidden; text-align: left; }
.rules > div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 6px 28px; padding: 20px 28px; border-top: 1px solid var(--line); }
.rules > div:first-child { border-top: 0; }
.rules dt { font-weight: 640; font-stretch: 106%; }
.rules dd { color: var(--ink-2); }
@media (max-width: 700px) { .rules > div { grid-template-columns: 1fr; padding: 18px 20px; } }
.rules + .levels, .rules + .coverage, .rules + .steps { margin-top: clamp(28px, 4vw, 44px); }

.band { padding-block: clamp(84px, 11vw, 150px); }
.band .problem { padding-top: 0; }
.wide-fig { margin-top: clamp(36px, 5vw, 60px); text-align: left; }
.wide-fig .app { margin-top: 0; box-shadow: var(--shadow), 0 0 0 1px rgba(18, 26, 63, 0.08); }
.wide-fig .flow { margin-top: 0; }
.wide-fig .principles { margin-top: 0; }
.section.dusk + .section.dusk { padding-top: 0; background: var(--indigo-2); }
.section.dusk .wide-fig { color: #fff; }

.related { margin-top: clamp(32px, 4vw, 52px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.related a { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 2px 16px; align-items: center; height: 100%; padding: 20px 22px; border-radius: var(--r-lg); background: var(--paper); text-decoration: none; box-shadow: var(--shadow-sm), 0 0 0 1px rgba(18, 26, 63, 0.05); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.related a:hover { transform: translateY(-3px); box-shadow: var(--shadow), 0 0 0 1px rgba(18, 26, 63, 0.05); }
.related .chip { grid-row: span 2; margin: 0; }
.related b { font-weight: 640; font-stretch: 106%; font-size: 1.125rem; align-self: end; }
.related a > span:last-child { color: var(--slate); font-size: 0.9375rem; align-self: start; }
@media (max-width: 960px) { .related { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .related { grid-template-columns: 1fr; } }

.check .kind a { color: inherit; text-decoration: none; }
.check .learn { margin-top: 14px; font-size: 0.9375rem; font-weight: 620; }
.check .learn a { color: #2b3690; text-underline-offset: 4px; }

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .hero .sun { animation: sunrise 2.4s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero .cloud { animation: drift 60s linear infinite alternate; }
  .tonight .stars circle { animation: twinkle 4s ease-in-out infinite alternate; }
  .tonight .stars circle:nth-child(3n) { animation-delay: 1.3s; }
  .tonight .stars circle:nth-child(3n+1) { animation-delay: 2.6s; }
  .js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .reveal.d1 { transition-delay: 0.08s; } .js .reveal.d2 { transition-delay: 0.16s; } .js .reveal.d3 { transition-delay: 0.24s; }
  .stations::before { animation: march 1.1s linear infinite; }
  .flow .pipe { animation: march-f 1s linear infinite; }
  .yearwall .a { animation: blink 2.4s ease-in-out infinite; }
  .journey li + li::after { animation: march-s 0.9s linear infinite; }
  .js .reveal.d4 { transition-delay: 0.32s; } .js .reveal.d5 { transition-delay: 0.4s; }
  .chart .dot-out, .viz .dot-out { animation: pulse 2.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
}
@keyframes march { to { background-position: 18px 0; } }
@keyframes march-f { to { background-position: 16px 0; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
@keyframes march-s { to { background-position: 12px 0; } }
@keyframes sunrise { from { transform: translate(-50%, 62%); opacity: 0.4; } to { transform: translate(-50%, 50%); opacity: 1; } }
@keyframes drift { from { transform: translateX(-40px); } to { transform: translateX(60px); } }
@keyframes twinkle { from { opacity: 0.25; } to { opacity: 1; } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.25); } }

@media print { .site-header, .hero-actions, .to-top, .backdrop { display: none; } }
