/* siedaar.com, v1. The channel's banner identity: ink-navy with rays and a faint grid, white SIE and the yellow DAAR
   tag, Zip in orange; light paper sections with the board's grid between two navy bands. Tokens first, then layout,
   then components. */
:root {
  color-scheme: light;
  --navy: #16213A;
  --navy-2: #1F2C4B;
  --navy-3: #2A3960;
  --paper: #EEF3FA;
  --grid: #DFE7F2;
  --surface: #FFFFFF;
  --ink: #16213A;
  --ink-2: #3A4763;
  --ink-3: #5A6680;
  --line: #D3DDEA;
  --sun: #FFC83D;
  --sun-deep: #F2A900;
  --orange: #F7941D;
  --link: #2A5FCB;
  --ok: #1B7F52;
  --err: #B8342A;
  --on-navy: #E8EEF8;
  --on-navy-2: #B5C1D8;
  --r-s: 8px;
  --r-m: 14px;
  --r-l: 22px;
  --shadow: 0 1px 2px rgba(22, 33, 58, .06), 0 12px 30px rgba(22, 33, 58, .10);
  --shadow-lift: 0 2px 4px rgba(22, 33, 58, .08), 0 18px 40px rgba(22, 33, 58, .16);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: .18em; }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 30; background: var(--sun); color: var(--navy); font-weight: 700; padding: 10px 14px; border-radius: var(--r-s); text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }

/* ---------- navy bands: header, hero, page heads, footer ---------- */
.navy {
  position: relative; isolation: isolate; overflow: hidden;
  background-color: var(--navy); color: var(--on-navy);
}
.navy::before {                     /* rays from behind Zip, and the board's grid */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    repeating-conic-gradient(from 0deg at var(--ray-x, 72%) var(--ray-y, 46%), rgba(255, 255, 255, .032) 0deg 7deg, transparent 7deg 14deg),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 32px 32px;
}
.navy::after {                      /* edge falloff so the rays settle */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 90% at var(--ray-x, 72%) var(--ray-y, 46%), transparent 40%, rgba(10, 17, 34, .55) 100%);
}
.navy a { color: var(--on-navy); }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; padding-block: 18px; }
.mark { display: inline-flex; align-items: center; gap: .32em; text-decoration: none; font: 800 1.45rem/1 var(--display); letter-spacing: .01em; text-transform: uppercase; }
.mark .sie { color: #FFFFFF; }
.mark .daar { background: var(--sun); color: var(--navy); padding: .2em .85em .2em .45em; clip-path: polygon(0 0, 86% 0, 100% 50%, 86% 100%, 0 100%); border-radius: 5px 0 0 5px; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.nav a { font: 600 .95rem/1 var(--display); text-decoration: none; color: var(--on-navy-2); padding: 10px 12px; border-radius: 10px; transition: background-color .2s ease, color .2s ease; }
.nav a[aria-current="page"] { color: #FFFFFF; background: rgba(255, 255, 255, .08); }
@media (hover: hover) and (pointer: fine) { .nav a:hover { color: #FFFFFF; background: rgba(255, 255, 255, .08); } }

/* home hero: text left, Zip right */
.hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: 24px 48px; padding-block: clamp(28px, 6vw, 72px) clamp(48px, 8vw, 96px); }
.hero .eyebrow { color: var(--sun); }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); font-weight: 800; line-height: .98; letter-spacing: -.03em; color: #FFFFFF; margin-top: 14px; }
.hero h1 em { font-style: normal; color: var(--sun); }
.hero .lede { color: var(--on-navy-2); font-size: clamp(1.08rem, 1.6vw, 1.22rem); max-width: 52ch; margin-top: 20px; }
.hero .cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 30px; }
.hero figure { margin: 0; position: relative; justify-self: center; width: min(440px, 100%); }
.hero figure::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: -6%; height: 9%; border-radius: 50%; background: rgba(5, 10, 22, .45); filter: blur(10px); z-index: -1; }
.spark { position: absolute; width: 22px; height: 22px; color: var(--sun); pointer-events: none; }
.spark.w { color: #FFFFFF; width: 16px; height: 16px; }
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; }
  .hero figure { width: min(300px, 78%); order: -1; }
}

/* page heads (inner pages) */
.pagehead { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: end; gap: 20px 40px; padding-block: clamp(24px, 5vw, 56px) clamp(40px, 6vw, 72px); }
.pagehead h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; line-height: 1; letter-spacing: -.028em; color: #FFFFFF; margin-top: 12px; }
.pagehead .lede { color: var(--on-navy-2); font-size: 1.14rem; max-width: 56ch; margin-top: 18px; }
.pagehead .eyebrow { color: var(--sun); }
.pagehead figure { margin: 0; justify-self: end; width: min(280px, 100%); }
@media (max-width: 820px) { .pagehead { grid-template-columns: 1fr; } .pagehead figure { display: none; } }

.eyebrow { font: 700 .78rem/1.2 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- buttons and small links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 1.02rem/1 var(--display); letter-spacing: .005em;
  background: var(--sun); color: var(--navy); border: 0; border-radius: 12px;
  padding: 16px 22px; min-height: 52px; cursor: pointer; text-decoration: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 6px 16px rgba(242, 169, 0, .22);
  transition: transform .16s var(--ease-out), background-color .2s ease;
}
.btn:active { transform: scale(.97); }
.btn[aria-busy="true"] { opacity: .75; cursor: progress; }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: #FFD25C; } }
.btn svg { width: 20px; height: 20px; flex: none; }
.navy .btn { color: var(--navy); }

.apps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: .95rem; color: var(--on-navy-2); }
.apps a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; padding: 8px 4px; border-radius: 8px; }
.apps svg { width: 20px; height: 20px; }
@media (hover: hover) and (pointer: fine) { .apps a:hover { color: var(--sun); } }

.more { display: inline-flex; align-items: center; gap: 8px; font: 700 1rem/1 var(--display); color: var(--ink); text-decoration: none; padding-block: 8px; }
.more svg { width: 18px; height: 18px; transition: transform .2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .more:hover svg { transform: translateX(3px); } }

/* ---------- paper sections ---------- */
.board {
  background-color: var(--paper);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
}
.section { padding-block: clamp(48px, 8vw, 96px); }
.section + .section { padding-top: 0; }
.head { display: grid; gap: 12px; max-width: 62ch; margin-bottom: clamp(24px, 4vw, 40px); }
.head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 800; line-height: 1.05; letter-spacing: -.022em; }
.head p { color: var(--ink-2); font-size: 1.1rem; }

/* episodes: the newest large, the rest stacked beside it */
.eps { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 18px; }
.eps .ep:first-child { grid-row: span 3; }
@media (max-width: 860px) { .eps { grid-template-columns: 1fr; } .eps .ep:first-child { grid-row: auto; } }
.ep { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out); }
.ep:not(:first-child) { grid-template-columns: minmax(0, 176px) minmax(0, 1fr); align-items: center; }
@media (max-width: 520px) { .ep:not(:first-child) { grid-template-columns: minmax(0, 1fr); } }
.ep img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--navy); }
.ep .in { padding: 16px 18px 18px; display: grid; gap: 6px; }
.ep:first-child .in { padding: 20px 22px 24px; gap: 8px; }
.ep .num { font: 700 .74rem/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.ep h3 { font-size: 1.12rem; font-weight: 700; line-height: 1.22; }
.ep:first-child h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-weight: 800; letter-spacing: -.012em; }
.ep p { color: var(--ink-2); font-size: .98rem; }
.ep a.cover { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.ep a.cover:focus-visible { outline-offset: -3px; }
.ep .new { justify-self: start; font: 700 .72rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; background: var(--sun); color: var(--navy); padding: 5px 8px; border-radius: 6px; }
@media (hover: hover) and (pointer: fine) { .ep:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); } }

/* two offers, zig-zag */
.offer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 28px 56px; padding: clamp(24px, 4vw, 44px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--shadow); }
.offer + .offer { margin-top: 22px; }
.offer.flip > :first-child { order: 2; }
.offer h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; line-height: 1.06; letter-spacing: -.02em; margin-top: 10px; }
.offer p { color: var(--ink-2); margin-top: 14px; max-width: 54ch; }
.offer .btn { margin-top: 24px; }
.offer .art { position: relative; display: grid; place-items: center; min-height: 240px; border-radius: var(--r-m); background: var(--navy); overflow: hidden; isolation: isolate; }
.offer .art img { width: min(300px, 80%); }
.offer .chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 22px; }
.chip { font: 700 .85rem/1 var(--body); background: rgba(255, 255, 255, .08); color: var(--on-navy); border: 1px solid rgba(255, 255, 255, .14); padding: 9px 12px; border-radius: 999px; }
@media (max-width: 820px) { .offer { grid-template-columns: 1fr; } .offer.flip > :first-child { order: 0; } }

/* ---------- work with us ---------- */
.ways { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
@media (max-width: 760px) { .ways { grid-template-columns: 1fr; } }
.way { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 26px 26px 28px; display: grid; gap: 12px; align-content: start; box-shadow: var(--shadow); }
.way:nth-child(2) { margin-top: 36px; }
@media (max-width: 760px) { .way:nth-child(2) { margin-top: 0; } }
.way h3 { font-size: 1.4rem; font-weight: 800; letter-spacing: -.012em; line-height: 1.15; }
.way p { color: var(--ink-2); }
.way .tag { justify-self: start; font: 700 .74rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--navy); background: var(--sun); padding: 6px 9px; border-radius: 6px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 56px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; color: var(--ink-2); }
.ticks svg { width: 22px; height: 22px; color: var(--ok); margin-top: 2px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding-block: 14px; border-top: 1px solid var(--line); color: var(--ink-2); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s); font: 800 1.35rem/1 var(--display); color: var(--navy); background: var(--sun); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; }
.steps b { color: var(--ink); font-family: var(--display); }
.price { margin-top: 26px; padding: 18px 20px; border-radius: var(--r-m); background: var(--navy); color: var(--on-navy); display: grid; gap: 4px; }
.price b { font: 800 1.5rem/1.1 var(--display); color: #FFFFFF; }
.price span { color: var(--on-navy-2); font-size: .98rem; }

.work { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .work { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.work a { display: grid; gap: 8px; text-decoration: none; color: var(--ink); font: 700 .98rem/1.25 var(--display); }
.work img { border-radius: 10px; aspect-ratio: 16 / 9; object-fit: cover; box-shadow: var(--shadow); transition: transform .25s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .work a:hover img { transform: translateY(-2px); } }

/* ---------- episode player: a play mark on every thumbnail, a dialog on wide screens, a bottom sheet on phones ---------- */
.thumb { position: relative; display: block; }
.thumb img { display: block; }
.playmark { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; translate: -50% -50%; display: grid; place-items: center; border-radius: 50%; background: rgba(22, 33, 58, .78); box-shadow: 0 6px 18px rgba(22, 33, 58, .28); transition: background-color .2s var(--ease-out), scale .2s var(--ease-out); }
.playmark::after { content: ""; width: 18px; height: 20px; margin-left: 4px; background: #FFFFFF; clip-path: polygon(0 0, 100% 50%, 0 100%); transition: background-color .2s var(--ease-out); }
.ep:first-child .playmark { width: 72px; height: 72px; }
.ep:first-child .playmark::after { width: 23px; height: 26px; margin-left: 5px; }
.ep:not(:first-child) .playmark, .work .playmark { width: 44px; height: 44px; }
.ep:not(:first-child) .playmark::after, .work .playmark::after { width: 14px; height: 16px; margin-left: 3px; }
@media (hover: hover) and (pointer: fine) {
  .ep:hover .playmark, .work a:hover .playmark { background: var(--sun); scale: 1.06; }
  .ep:hover .playmark::after, .work a:hover .playmark::after { background: var(--navy); }
}
html.locked { overflow: hidden; }
.player { padding: 0; border: 0; background: transparent; color: var(--ink); overflow: visible; max-width: none; max-height: none; width: min(960px, calc(100vw - 48px), calc((100dvh - 230px) * 16 / 9)); min-width: min(560px, calc(100vw - 48px)); margin: auto; }
.player::backdrop { background: rgba(10, 16, 30, .74); }
.player .sheet { background: var(--surface); border-radius: var(--r-l); box-shadow: 0 2px 6px rgba(10, 16, 30, .2), 0 30px 70px rgba(10, 16, 30, .4); overflow: hidden; }
.player .grab { display: none; }
.player .bar { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 18px 18px 14px 22px; }
.player .num { font: 700 .78rem/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.player h2 { font: 800 1.45rem/1.2 var(--display); letter-spacing: -.01em; margin-top: 4px; }
.player .x { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--paper); color: var(--ink); cursor: pointer; transition: background-color .15s; }
.player .x:hover { background: var(--grid); }
.player .x:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
.player .frame { aspect-ratio: 16 / 9; background: #000000; }
.player .frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.player .links { display: flex; flex-wrap: wrap; gap: 10px 24px; padding: 14px 22px 18px; font: 700 1rem/1.3 var(--body); }
.player .links a { color: var(--link); text-underline-offset: 3px; }
@keyframes player-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@keyframes sheet-in { from { transform: translateY(100%); } }
@keyframes fade-in { from { opacity: 0; } }
.player[open] { animation: player-in .26s var(--ease-out); }
.player[open]::backdrop { animation: fade-in .26s ease-out; }
.player.out { opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .16s ease-in, transform .16s ease-in; }
.player.out::backdrop { opacity: 0; transition: opacity .2s ease-in; }
@media (max-width: 640px) {
  .player { width: 100%; min-width: 0; margin: auto 0 0; max-height: 100dvh; }
  .player .sheet { border-radius: var(--r-l) var(--r-l) 0 0; padding-bottom: env(safe-area-inset-bottom); }
  .player .handle { touch-action: none; cursor: grab; }
  .player .grab { display: block; width: 40px; height: 5px; border-radius: 3px; background: var(--line); margin: 10px auto 0; }
  .player .bar { padding: 10px 14px 14px 18px; }
  .player h2 { font-size: 1.35rem; }
  .player .links { padding: 14px 18px 20px; }
  .player[open] { animation: sheet-in .36s cubic-bezier(.32, .72, 0, 1); }
  .player.out { opacity: 1; transform: translateY(100%); transition: transform .26s cubic-bezier(.32, .72, 0, 1); }
}
@media (prefers-reduced-motion: reduce) {
  .player[open] { animation: fade-in .2s ease-out; }
  .player.out { transform: none; opacity: 0; transition: opacity .15s ease-in; }
}

/* ---------- forms ---------- */
.formcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.formcard h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; }
.formcard > p { color: var(--ink-2); margin-top: 10px; max-width: 58ch; }
form { margin-top: 24px; display: grid; gap: 20px; }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
@media (max-width: 640px) { .row2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font: 700 .98rem/1.2 var(--display); }
.field label small { font: 400 .9rem var(--body); color: var(--ink-3); margin-left: 6px; }
.field .help { font-size: .9rem; color: var(--ink-3); }
.field .error { font-size: .92rem; color: var(--err); font-weight: 700; }
input, select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: #F7F9FC; border: 1.5px solid var(--line); border-radius: 10px; padding: 13px 14px; min-height: 50px;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
textarea { min-height: 128px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--link); background: #FFFFFF; box-shadow: 0 0 0 4px rgba(42, 95, 203, .16); }
[aria-invalid="true"] { border-color: var(--err); background: #FFF8F7; }
.formfoot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.formfoot p { font-size: .92rem; color: var(--ink-3); max-width: 46ch; }
.done { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: center; margin-top: 22px; padding: 20px; border-radius: var(--r-m); background: #EDF8F2; border: 1px solid #BFE3CF; }
.done img { width: 64px; }
.done b { font: 800 1.2rem/1.2 var(--display); display: block; }
.done p { color: var(--ink-2); margin-top: 4px; }
.fail { margin-top: 4px; color: var(--err); font-weight: 700; }
.note-preview { font-size: .86rem; color: var(--ink-3); margin-top: 6px; }

/* ---------- teachers ---------- */
.tablewrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--shadow); }
table { border-collapse: collapse; width: 100%; min-width: 640px; }
th, td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
th { font: 700 .76rem/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); background: #F7F9FC; }
td { color: var(--ink-2); }
td:first-child { color: var(--ink); font-weight: 700; }
tr:last-child td { border-bottom: 0; }
.std { display: flex; flex-wrap: wrap; gap: 6px; }
.std span { font: 700 .82rem/1 var(--body); background: #EAF0FA; color: var(--navy); border: 1px solid #D1DCEE; padding: 6px 8px; border-radius: 6px; white-space: nowrap; }
.small { font-size: .92rem; color: var(--ink-3); margin-top: 12px; }
@media (max-width: 640px) {
  .tablewrap { overflow: visible; background: transparent; border: 0; box-shadow: none; }
  table { min-width: 0; }
  table, tbody, tr, td { display: block; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  tr { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--shadow); padding: 6px 0; margin-bottom: 12px; }
  td { border: 0; padding: 8px 16px; }
  td::before { content: attr(data-label); display: block; font: 700 .72rem/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
}

/* ---------- prose (privacy) ---------- */
.prose { max-width: 68ch; display: grid; gap: 16px; }
.prose h2 { font-size: 1.4rem; font-weight: 800; margin-top: 14px; }
.prose p, .prose li { color: var(--ink-2); }

/* ---------- footer ---------- */
.foot { padding-block: 44px 40px; }
.foot .grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px 48px; align-items: start; }
@media (max-width: 760px) { .foot .grid { grid-template-columns: 1fr; } }
.foot p { color: var(--on-navy-2); margin-top: 14px; max-width: 46ch; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot nav a { color: var(--on-navy-2); text-decoration: none; font-weight: 700; padding-block: 6px; }
@media (hover: hover) and (pointer: fine) { .foot nav a:hover { color: #FFFFFF; } }
.foot .apps { margin-top: 18px; }
.foot .fine { margin-top: 28px; font-size: .88rem; color: #8C98B2; }

/* ---------- entrance (home hero only), gentle ---------- */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .7s var(--ease-out) both; }
  .rise.d1 { animation-delay: .06s; } .rise.d2 { animation-delay: .12s; } .rise.d3 { animation-delay: .18s; }
  .float-in { animation: floatin .9s var(--ease-out) .1s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes floatin { from { opacity: 0; transform: translateY(18px) rotate(-2deg) scale(.96); } to { opacity: 1; transform: none; } }

/* grain over the navy bands, fixed so it never scrolls */
.grain { position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@media (prefers-reduced-transparency: reduce) { .grain { display: none; } }
@media (prefers-contrast: more) { .ep, .way, .formcard, .offer { border-color: var(--ink); } }
