/* Notasyon site. Identity per the 9 Oct 2026 handoff brief.
   Vermilion means Notasyon is doing something (inserting, speaking, reading):
   never an error, never a strike-through, never a button fill.
   No gradients, no shadows, no dark mode. */

:root {
  --paper: #F7F5EF;
  --ink: #171D1B;
  --vermilion: #C4422B;
  --vermilion-on-ink: #E2573D;
  --porcelain: #FDFCF8;
  --graphite: #636D68;
  --hairline: #E7E3D9;
  --image-ground: #ECE8DD;

  --sans: 'Schibsted Grotesk', system-ui, sans-serif;
  --voice: 'Instrument Serif', Georgia, serif;
  --hand: 'Caveat', 'Comic Sans MS', cursive;

  --max: 1280px;
  --gut: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (max-width: 719px) { :root { --gut: 22px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 19px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@media (max-width: 719px) { body { font-size: 17px; } }
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.035em; line-height: 1.08; }
p { margin: 0; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--graphite); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.ink :focus-visible { outline-color: var(--paper); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--gut); top: -60px; z-index: 10; background: var(--ink); color: var(--paper); padding: 12px 16px; border-radius: 4px; }
.skip:focus { top: 12px; color: var(--paper); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.sec { padding: 120px 0; border-top: 1px solid var(--hairline); }
@media (max-width: 719px) { .sec { padding: 72px 0; } }
.h2 { font-size: clamp(34px, 2.2vw + 22px, 56px); letter-spacing: -0.045em; max-width: 18ch; }
.lead { font-size: clamp(21px, 0.8vw + 16px, 26px); line-height: 1.35; letter-spacing: -0.01em; }
.muted { color: var(--graphite); }
.measure { max-width: 34em; }
.small { font-size: 15px; line-height: 1.45; }

/* ---------- Caret: one drawing, every scale. Stroke width set in markup per rendered size. ---------- */
.caret { display: inline-block; aspect-ratio: 100 / 76; height: auto; color: var(--vermilion); }

/* ---------- Header ---------- */
.top { border-bottom: 1px solid var(--hairline); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.logo { display: inline-flex; align-items: baseline; gap: 0.2em; font: 600 26px/1 var(--sans); letter-spacing: -0.035em; color: var(--ink); text-decoration: none; padding: 9px 0; }
.logo:hover { color: var(--ink); }
.logo-caret { width: 0.6em; aspect-ratio: 100 / 76; height: auto; color: var(--vermilion); flex: none; }
.logo.mono .logo-caret { color: currentColor; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 32px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 500; text-decoration: none; }
.nav a:hover { color: var(--graphite); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1.5px; }
.menu-btn { display: none; }
@media (max-width: 899px) {
  .top .wrap { flex-wrap: wrap; }
  .menu-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; margin-right: -14px; font: 500 16px var(--sans); color: var(--ink); background: none; border: 0; border-radius: 4px; cursor: pointer; }
  .js .nav { display: none; width: 100%; }
  .js .top.open .nav { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 4px 0 16px; }
  .nav a { min-height: 48px; font-size: 19px; width: 100%; border-top: 1px solid var(--hairline); }
  html:not(.js) .nav ul { flex-direction: row; flex-wrap: wrap; column-gap: 20px; }
  html:not(.js) .nav a { border: 0; font-size: 16px; }
}

/* ---------- Motto: "Merak et." + animated "me" over a caret ---------- */
.motto {
  font: 600 clamp(52px, min(41.08px + 7.416vw, 18vw), 136px)/1 var(--sans);
  letter-spacing: -0.05em; white-space: nowrap; margin: 0;
}
.ins { position: relative; display: inline-block; vertical-align: baseline; }
.ins-me {
  font: inherit; font-weight: 400; letter-spacing: inherit; color: var(--vermilion);
}
.ins-caret { position: absolute; left: 50%; bottom: -0.13em; width: 0.3em; aspect-ratio: 100 / 76; height: auto; transform: translateX(-50%); color: var(--vermilion); }
/* Caret stroke rule: 13 at 30px+ rendered width, 16 below (motto under ~100px). */
@media (max-width: 794px) { .ins-caret path { stroke-width: 16; } }
@media (prefers-reduced-motion: no-preference) {
  .motto .ins-me { display: inline-block; animation: me-in 320ms var(--ease) 600ms both; }
  .motto .ins-caret { animation: caret-in 240ms var(--ease) 920ms both; }
}
@keyframes caret-in { from { opacity: 0; transform: translate(-50%, 0.18em); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes me-in { from { opacity: 0; transform: translateY(-0.2em); } to { opacity: 1; transform: none; } }

/* ---------- Opening ---------- */
.hero { max-width: var(--max); margin: 0 auto; padding: 96px var(--gut) 120px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 56px; align-items: start; }
.hero .motto { grid-column: 1 / -1; margin-left: -0.04em; white-space: normal; line-height: 1.08; }
/* Two lines: the plain call, then the reassurance with an animated insert. */
.motto-a, .motto-b { display: block; white-space: nowrap; }
.motto-b { font-style: italic; letter-spacing: -0.045em; }
.hero-text { grid-column: 1; }
.hero-lead { margin-top: 60px; font-weight: 400; }
.hero-lead b { font-weight: 600; }
.hero-desc { margin-top: 16px; max-width: 30em; }
.hero-exams { margin-top: 10px; font-weight: 500; }
.hero-ex { grid-column: 2; margin-top: 60px; scroll-margin-top: 24px; }
.hero-ex .ex-head { font-size: 22px; letter-spacing: -0.035em; }
.hero-ex .ex-filter { margin-top: 16px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.hero-ex .ex-filter button { white-space: nowrap; }
.hero-ex .ex-nav { margin-top: 12px; }
@media (max-width: 1079px) {
  .hero { display: block; padding-top: 72px; padding-bottom: 72px; }
  .hero-ex { margin-top: 56px; }
}

/* ---------- Images: unframed; image-ground while loading or missing ---------- */
.frame { position: relative; background: var(--image-ground); overflow: hidden; }
.frame img, .frame video { width: 100%; height: 100%; object-fit: cover; }
.frame img.missing { visibility: hidden; }
.tag { font-size: 13px; line-height: 1.3; color: var(--graphite); }
.frame + .tag, figcaption.tag { margin-top: 10px; }

/* ---------- Signup ---------- */
.signup { max-width: 520px; margin-top: 44px; }
.signup label.field { display: block; font-size: 15px; font-weight: 500; }
.signup .row { display: flex; align-items: flex-end; gap: 16px; margin-top: 4px; }
.signup input[type=email] {
  flex: 1; min-width: 0; height: 48px; padding: 0; font: 400 19px var(--sans); color: var(--ink);
  background: transparent; border: 0; border-bottom: 1.5px solid var(--ink); border-radius: 0;
}
.signup input[type=email]::placeholder { color: var(--graphite); }
.signup input[type=email]:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  font: 600 17px/1 var(--sans); letter-spacing: -0.01em; color: var(--paper); background: var(--ink);
  border: 0; border-radius: 4px; cursor: pointer; white-space: nowrap; text-decoration: none;
}
.btn:hover { background: #2C3431; color: var(--paper); }
.signup .consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 14px; line-height: 1.45; color: var(--graphite); cursor: pointer; }
.signup .consent input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--ink); }
.signup .consent { min-height: 44px; }
.signup .status { margin-top: 14px; font-size: 15px; color: var(--graphite); }
.signup .msg { margin-top: 10px; font-size: 15px; font-weight: 500; }
.signup .msg:empty { display: none; }
.signup .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.signup.busy button { opacity: .6; pointer-events: none; }
.signup.done .row, .signup.done .consent, .signup.done label.field { display: none; }
.signup.done .msg { font-size: 19px; }
@media (max-width: 479px) {
  .signup .row { flex-direction: column; align-items: stretch; gap: 14px; }
}

/* ---------- Two meanings ---------- */
.meanings { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.meanings h2 { font-size: clamp(40px, 3vw + 24px, 72px); letter-spacing: -0.05em; margin-bottom: 20px; }
.meanings p { max-width: 26em; }
.meanings + .frame { margin-top: 80px; aspect-ratio: 3 / 2; max-width: 760px; }
@media (max-width: 719px) { .meanings { grid-template-columns: 1fr; gap: 48px; } }

/* ---------- How it works ---------- */
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; counter-reset: s; }
.steps li { border-top: 1.5px solid var(--ink); padding-top: 20px; counter-increment: s; }
.steps h3 { font-size: 26px; letter-spacing: -0.035em; margin-bottom: 10px; }
.steps h3::before { content: counter(s) " "; color: var(--graphite); font-weight: 500; }
.steps p { color: var(--graphite); }
@media (max-width: 899px) { .steps { grid-template-columns: 1fr; gap: 32px; } }
.more { display: inline-flex; align-items: center; min-height: 44px; margin-top: 32px; font-weight: 500; }

/* Masada scheme */
.scheme { margin: 88px 0 0; }
.scheme-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 16px; }
.scheme-head h3 { font-size: 22px; }
#masada .scheme { margin-top: 0; }
#masada .scheme-head { margin-bottom: 32px; }
.scheme svg { width: 100%; height: auto; overflow: visible; }
.scheme .l { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.scheme .pg { fill: var(--porcelain); }
.scheme .t { fill: none; stroke: var(--graphite); stroke-width: 1; vector-effect: non-scaling-stroke; }
.scheme .fov { fill: none; stroke: var(--vermilion); stroke-width: 1.5; stroke-dasharray: 6 5; vector-effect: non-scaling-stroke; }
.scheme .lead-l { fill: none; stroke: var(--ink); stroke-width: 0.75; vector-effect: non-scaling-stroke; }
.scheme .dot { fill: var(--ink); }
.scheme text { font-family: var(--sans); font-size: 14px; fill: var(--ink); }
.scheme text .b { font-weight: 600; }
.scheme text .g { fill: var(--graphite); }
.scheme .num { font-weight: 600; font-size: 14px; }
.scheme-list { display: none; list-style: none; margin: 24px 0 0; padding: 0; }
.scheme-list li { display: grid; grid-template-columns: 28px 1fr; padding: 12px 0; border-top: 1px solid var(--hairline); font-size: 16px; }
.scheme-list b { font-weight: 600; }
.scheme-list span { color: var(--graphite); }
@media (max-width: 719px) {
  .scheme .labels { display: none; }
  .scheme .phone-num { display: inline; }
  .scheme-list { display: block; }
}
@media (min-width: 720px) { .scheme .phone-num { display: none; } }
.scheme .phone-num { font-size: 40px; font-weight: 600; }

/* ---------- Example browser ---------- */
.ex-intro { margin-top: 20px; }
.ex-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 40px 0 0; padding: 0; list-style: none; }
.ex-filter button, .ex-nav button {
  min-height: 44px; padding: 0 16px; font: 500 16px var(--sans); color: var(--ink);
  background: transparent; border: 1px solid var(--ink); border-radius: 4px; cursor: pointer;
}
.ex-filter button:hover, .ex-nav button:hover { background: var(--porcelain); }
.ex-filter button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.ex-nav { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.ex-nav button { width: 48px; padding: 0; font-size: 20px; }
.ex-nav button:disabled { opacity: .35; cursor: default; background: transparent; }
.ex-count { font-variant-numeric: tabular-nums; font-size: 16px; color: var(--graphite); min-width: 7em; }

/* The card is one printed page: content on the left, Notasyon's notes in the margin. */
.ex-card { container-type: inline-size; position: relative; margin-top: 16px; background: var(--porcelain); border: 1px solid var(--hairline); border-radius: 6px; overflow: hidden; touch-action: pan-y; }
.ex-bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 44px; border-bottom: 1px solid var(--hairline); font-size: 15px; color: var(--graphite); }
.ex-steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.ex-steps li { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; transition: color 320ms ease; }
.ex-steps li + li::before { content: "→"; color: var(--hairline); }
.ex-steps li.on { color: var(--ink); font-weight: 500; }
.ex-page { position: relative; padding: 36px 44px 40px; overflow: hidden; }
.ex-row { display: grid; grid-template-columns: minmax(0, 1fr) 300px; column-gap: 40px; align-items: start; }
.ex-row + .ex-row { margin-top: 22px; }
.ex-row > .c { min-width: 0; }
.ex-q { font-size: 19px; line-height: 1.55; }
.ex-fig { width: 220px; max-width: 100%; }
.ex-opts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 28px; font-size: 17px; }
.ex-opts.col { flex-direction: column; }
.ex-opts b { font-weight: 500; margin-right: 6px; }
.ex-work { font: 500 28px/1.3 var(--hand); color: #3A4340; }
.ex-row.work + .ex-row.work { margin-top: 12px; }
.ex-stall { position: relative; display: inline-block; }
.ex-stall .caret { position: absolute; right: -0.85em; bottom: -0.4em; width: 0.6em; }
.ex-next { margin-top: 26px !important; }
.ex-next p { margin: 0; }

/* Recognition marks settle into the paper; only the stalled line stays accented. */
.ex-card [data-r] { outline: 1px solid rgba(196, 66, 43, 0.24); outline-offset: 5px; border-radius: 3px; }
.ex-card .ex-stall[data-r] { outline-color: rgba(196, 66, 43, 0.6); }

/* A quiet pause brings attention to the stalled line without losing the page. */
.ex-page > .ex-row, .ex-bar, .ex-note { transition: opacity 450ms var(--ease); }
.ex-card.moment .ex-page > .ex-row:not(.stall), .ex-card.moment .ex-note { opacity: 0.6; }
.ex-card.moment .ex-stall[data-r] { outline-color: var(--vermilion); background-color: rgba(196, 66, 43, 0.04); }
.ex-card.moment .ex-stall .caret { animation: caret-land 480ms var(--ease) both; }
.ex-pulse { position: absolute; right: -0.85em; bottom: -0.47em; width: 0.6em; height: 0.6em; pointer-events: none; }
.ex-pulse::before { content: ""; position: absolute; inset: 0; border: 1px solid var(--vermilion); border-radius: 50%; opacity: 0; }
.ex-card.moment .ex-pulse::before { animation: pulse 900ms var(--ease) 180ms both; }
@keyframes caret-land {
  from { opacity: 0; transform: translateY(0.25em) scale(0.9); }
  to { opacity: 1; transform: none; }
}
@keyframes pulse { from { opacity: 0.35; transform: scale(0.8); } to { opacity: 0; transform: scale(2.8); } }
@media (prefers-reduced-motion: reduce) {
  .ex-card.moment .ex-stall .caret, .ex-card.moment .ex-pulse::before, .ex-card.moment .ex-pulse::after { animation: none; }
}

/* Phone spotlight: the page darkens around the first example while it plays. */
.spot-shade { position: fixed; inset: 0; z-index: 20; background: rgba(23, 29, 27, 0.78); opacity: 0; pointer-events: none; transition: opacity 600ms var(--ease); }
.spot-shade.on { opacity: 1; pointer-events: auto; }
.ex-card.spotlit { z-index: 21; }

/* Margin notes: the device voice. */
.ex-m { display: flex; flex-direction: column; gap: 10px; }
.ex-mn { font: italic 400 21px/1.2 var(--voice); color: var(--vermilion); }
.ex-label { font-size: 14px; font-weight: 600; color: var(--vermilion); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ex-listen {
  position: relative; display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 10px; margin: -4px 0 -4px -10px;
  font: 600 14px var(--sans); color: var(--vermilion); background: transparent;
  border: 0; border-radius: 4px; cursor: pointer; animation: listen-in 320ms var(--ease) both;
}
.ex-listen::after { content: ""; position: absolute; inset: -4px 0; }
.ex-listen svg { width: 12px; height: 12px; flex: none; }
.ex-listen:hover { background: #FBEDE9; }
.ex-listen .i-stop, .ex-listen.playing .i-play { display: none; }
.ex-listen.playing .i-stop { display: block; }
/* While speaking, a light wave runs through the words, like a "thinking" shimmer. */
.ex-listen.playing span {
  color: transparent; -webkit-background-clip: text; background-clip: text;
  background-image: linear-gradient(90deg, rgba(196, 66, 43, 0.4) 0%, rgba(196, 66, 43, 0.4) 38%, #C4422B 50%, rgba(196, 66, 43, 0.4) 62%, rgba(196, 66, 43, 0.4) 100%);
  background-size: 250% 100%; animation: shimmer 1500ms linear infinite;
}
.ex-second .ex-listen { margin: 8px 0 0 -10px; display: flex; width: fit-content; }
@keyframes listen-in { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: none; } }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) {
  .ex-listen { animation: none; }
  .ex-listen.playing span { animation: none; color: var(--vermilion); background: none; }
}
.ex-hint { font: italic 400 26px/1.2 var(--voice); color: var(--vermilion); }
.ex-second { font-size: 14px; color: var(--graphite); margin-top: 8px; }
.ex-second q { display: block; margin-top: 4px; font: italic 400 20px/1.25 var(--voice); color: var(--vermilion); quotes: none; }
.ex-note { padding: 16px 44px 18px; border-top: 1px solid var(--hairline); font-size: 15px; color: var(--graphite); }
.ex-caption { margin-top: 14px; font-size: 15px; line-height: 1.45; color: var(--graphite); max-width: 40em; }
/* One fine beam, feathered at its edges, follows only the source material. */
.ex-scan { position: absolute; left: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(196, 66, 43, 0.75) 12%, var(--vermilion) 50%, rgba(196, 66, 43, 0.75) 88%, transparent); opacity: 0; pointer-events: none; z-index: 1; }
.ex-scan::before { content: ""; position: absolute; left: 0; right: 0; bottom: 1px; height: 48px; background: linear-gradient(0deg, rgba(196, 66, 43, 0.08), transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ex-scan::after { content: ""; position: absolute; left: 0; right: 0; top: -3px; height: 7px; border-left: 1px solid rgba(196, 66, 43, 0.5); border-right: 1px solid rgba(196, 66, 43, 0.5); }
.ex-card.scanning .ex-scan { will-change: transform, opacity; }

/* Play states. The final state is the default; while .playing, items wait for .on / .seen. */
.ex-card .seq { transition: opacity 400ms var(--ease); }
.ex-card [data-r] { transition: outline-color 380ms ease, outline-offset 450ms var(--ease), opacity 380ms ease, background-color 450ms ease; }
.ex-card.playing .seq:not(.on) { opacity: 0; }
/* Before the line reaches an item it waits faded; on contact it inks in and its rectangle contracts onto it. */
.ex-card.scanning [data-r]:not(.seen) { opacity: 0.72; }
.ex-card.playing [data-r]:not(.seen) { outline-color: transparent; outline-offset: 8px; }
.ex-card.playing .ex-steps li:not(.on) { color: var(--graphite); }
@media (prefers-reduced-motion: reduce) {
  .ex-card .seq, .ex-card [data-r], .ex-card .ex-row, .ex-card .ex-note, .ex-steps li { transition: none; }
  .ex-card.scanning .ex-scan { display: none; }
  .ex-card.playing .seq:not(.on), .ex-card.scanning [data-r]:not(.seen) { opacity: 1; }
}
@container (max-width: 860px) {
  .ex-row { grid-template-columns: minmax(0, 1fr) 220px; column-gap: 28px; }
}
@container (max-width: 700px) {
  .ex-bar, .ex-note { padding-left: 24px; padding-right: 24px; }
  .ex-page { padding: 28px 24px 32px; }
  .ex-row { grid-template-columns: 1fr; }
  .ex-m:not(:empty) { margin-top: 12px; padding-left: 14px; border-left: 1px solid var(--hairline); }
  .ex-hint { font-size: 24px; }
  .ex-work { font-size: 24px; }
  .ex-q { font-size: 18px; }
}
@media (max-width: 719px) {
  .ex-filter { flex-wrap: nowrap; overflow-x: auto; margin-right: calc(-1 * var(--gut)); padding-right: var(--gut); scrollbar-width: none; }
  .ex-filter button { white-space: nowrap; }
}

.hard-intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; margin-bottom: 40px; }
.hard-intro p { max-width: 34em; }
@media (max-width: 899px) { .hard-intro { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Repetition: "tekrar" deleted and re-inserted by Notasyon ---------- */
.rep-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.rep { position: sticky; top: 48px; margin: 0; font: 600 clamp(60px, 7vw, 112px)/0.98 var(--sans); letter-spacing: -0.05em; }
.rep-w { display: block; white-space: nowrap; }
.rep-last { position: relative; width: fit-content; min-height: 0.98em; }
.rep-new { font: italic 400 1.12em/0.9 var(--voice); letter-spacing: -0.01em; color: var(--vermilion); }
.rep-caret { position: absolute; left: -0.05em; bottom: -0.3em; width: 0.26em; aspect-ratio: 100 / 76; height: auto; color: var(--vermilion); }
.rep-lead { margin-top: 20px; }
.rep-copy > p:not(.rep-lead) { margin-top: 18px; max-width: 34em; }
.principles { margin-top: 28px; }
.rep-copy .refs-h { margin-top: 40px; }
.refs a { word-break: break-all; }
/* Play state, set by JS: copy waits, caret waits. */
.rep-grid.pre .rep-copy { opacity: 0; transform: translateY(12px); }
.rep-grid.pre .rep-caret { opacity: 0; transform: translateY(0.15em); }
.rep-copy, .rep-caret { transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.rep-caret { transition-duration: 240ms; }
@media (max-width: 899px) {
  .rep-grid { grid-template-columns: 1fr; gap: 40px; }
  .rep { position: static; }
}

/* ---------- Focus (dark section) ---------- */
.ink { background: var(--ink); color: var(--paper); border-top: 0; }
.ink .muted { color: #B9C0BC; }
.ink a:hover { color: #B9C0BC; }
.focus-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: end; }
.focus-grid .frame { aspect-ratio: 16 / 9; background: #252C2A; }
.focus-grid p { margin-top: 24px; }
@media (max-width: 899px) { .focus-grid { grid-template-columns: 1fr; gap: 48px; } .focus-grid .frame { margin: 0 calc(-1 * var(--gut)); } }

.focus-one p { margin-top: 24px; max-width: 34em; }
.founder-one { grid-template-columns: 1fr; }

/* ---------- Parents ---------- */
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; margin-top: 56px; }
.facts { margin: 0; }
.facts div { padding: 20px 0; border-top: 1px solid var(--hairline); }
.facts dt { font-weight: 600; font-size: 19px; }
.facts dd { margin: 6px 0 0; color: var(--graphite); }
.lab { margin-top: 48px; }
.lab h3 { font-size: 22px; margin-bottom: 12px; }
.lab table { width: 100%; border-collapse: collapse; font-size: 16px; }
.lab th, .lab td { text-align: left; padding: 12px 12px 12px 0; border-top: 1px solid var(--hairline); vertical-align: top; }
.lab th { font-weight: 500; }
.lab td { color: var(--graphite); white-space: nowrap; }
.two .frame { aspect-ratio: 3 / 2; }
@media (max-width: 899px) { .two { grid-template-columns: 1fr; gap: 40px; } .two .frame { margin: 0 calc(-1 * var(--gut)); } }

.refs-h { font-size: 17px; letter-spacing: -0.01em; }
.refs { list-style: none; margin: 12px 0 0; padding: 0; font-size: 15px; line-height: 1.45; color: var(--graphite); }
.refs li { padding: 12px 0; border-top: 1px solid var(--hairline); }
#arastirma .two { margin-top: 32px; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.manifesto p + p { margin-top: 1em; }
.manifesto .lead { font-weight: 500; margin-bottom: 1.2em; }
.manifesto-close { font-weight: 600; font-size: 21px; line-height: 1.4; letter-spacing: -0.01em; margin-top: 1.4em !important; }
@media (max-width: 899px) { #arastirma .two { grid-template-columns: 1fr; } }

.faq { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; margin: 48px 0 0; }
.faq div { padding: 24px 0 28px; border-top: 1px solid var(--hairline); }
.faq dt { font-weight: 600; font-size: 21px; letter-spacing: -0.02em; }
.faq dd { margin: 8px 0 0; color: var(--graphite); max-width: 32em; }
@media (max-width: 719px) { .faq { grid-template-columns: 1fr; } }

.stores { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-top: 28px; }
.stores .store-apple { height: 46px; width: auto; }
/* Google's PNG carries its own clear space; scale it so both marks read the same size. */
.stores .store-google { height: 68px; width: auto; margin: -11px -10px; }
.stores .soon { font-size: 15px; font-weight: 500; color: var(--graphite); }
.apps { margin-top: 8px; }
.apps h3 { font-size: 24px; letter-spacing: -0.035em; margin-bottom: 4px; }
.apps dl { margin: 0; }
.apps dt { margin-top: 18px; }
.apps dd { margin-top: 6px; }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; margin-top: 48px; }
.founder.founder-one { display: block; }
.founder-one .note { display: flow-root; max-width: 42em; }
.founder-title { margin-bottom: 28px; font-size: clamp(25px, 3vw, 32px); }
.founder .note p + p { margin-top: 1em; }
.founder:not(.founder-one) .note { max-width: 32em; }
.sig { margin-top: 28px; font-weight: 600; }
.sig + .small { margin-top: 4px; }
.sig + .small a { display: inline-flex; align-items: center; min-height: 44px; }
.portrait { float: left; display: block; width: clamp(136px, 15vw, 184px); height: auto; aspect-ratio: 1; object-fit: cover; background: var(--image-ground); margin: 5px 28px 16px 0; border-radius: 3px; filter: saturate(.75); }
.founder .sig { clear: both; padding-top: 4px; }
@media (max-width: 479px) { .portrait { width: 112px; margin: 4px 18px 10px 0; } }
.founder .frame { aspect-ratio: 3 / 2; }
@media (max-width: 899px) { .founder { grid-template-columns: 1fr; gap: 40px; } .founder .frame { margin: 0 calc(-1 * var(--gut)); } }

/* ---------- Closing signup ---------- */
.closing .signup { margin-top: 32px; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--hairline); padding: 40px 0 56px; font-size: 15px; color: var(--graphite); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; justify-content: space-between; }
.foot .logo { font-size: 20px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 28px; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Content pages ---------- */
.page { padding: 96px 0 120px; }
.page h1 { font-size: clamp(44px, 3vw + 30px, 80px); letter-spacing: -0.05em; }
.page .lead { margin-top: 28px; max-width: 30em; }
.prose { display: grid; grid-template-columns: minmax(0, 40em) minmax(0, 1fr); column-gap: 48px; margin-top: 72px; }
.prose > * { grid-column: 1; }
.prose h2 { font-size: 30px; letter-spacing: -0.04em; margin: 56px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p + p { margin-top: 1em; }
.prose ul { margin: 1em 0 0; padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose .meta { font-size: 15px; color: var(--graphite); margin-bottom: 40px; }
/* One margin insert per page: a caret in the line, the inserted words in the margin. */
.prose > .mi { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; margin-top: 1em; }
.mi-line { grid-column: 1; }
.prose .mi + p { margin-top: 1em; }
.mi-at { position: relative; display: inline-block; width: 0.5em; height: 0; }
.mi-at .caret { position: absolute; left: 50%; top: 0.18em; width: 0.5em; transform: translateX(-50%); }
.mi-note { grid-column: 2; align-self: start; font: italic 400 28px/1.2 var(--voice); color: var(--vermilion); }
@media (max-width: 899px) {
  .prose { grid-template-columns: 1fr; }
  .prose > .mi { grid-template-columns: 1fr; }
  .mi-note { grid-column: 1; margin-top: 8px; font-size: 24px; }
}
