/* GEKAWOOD studio site.
   Studio colours are black and off-white only (brand book v4). Each app
   keeps its own colours inside its own panels and pages.
   Fonts, all bundled here under the Open Font Licence, nothing loaded from
   another company's servers:
   Saira Condensed Bold for the GEKAWOOD wordmark only, Hanken Grotesk for
   everything else, Silkscreen and Chakra Petch for Doomtoll. */

@font-face { font-family: "Saira Condensed"; src: url("/assets/fonts/SairaCondensed-Bold.woff2") format("woff2"); font-weight: 700; font-display: block; }
@font-face { font-family: "Hanken Grotesk"; src: url("/assets/fonts/HankenGrotesk-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Silkscreen"; src: url("/assets/fonts/Silkscreen-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Silkscreen"; src: url("/assets/fonts/Silkscreen-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Chakra Petch"; src: url("/assets/fonts/ChakraPetch-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Chakra Petch"; src: url("/assets/fonts/ChakraPetch-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --ink: #111111;
  --paper: #FAFAF7;
  --line: #DEDED8;
  --mute: #6A6B66;
  --sans: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --logo: "Saira Condensed", "Hanken Grotesk", system-ui, sans-serif;
  --ease: cubic-bezier(.32, .72, 0, 1);
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --max: 1240px;
  color-scheme: light;

  /* Tailor */
  --cobalt: #1D3FD6;
  --cobalt-deep: #1633B0;
  /* Doomtoll */
  --doom-bg: #211a45;
  --doom-text: #e9e4ff;
  --doom-yellow: #ffd23a;
  --doom-red: #e0283c;
  --doom-red-shadow: #9e1626;
  --doom-edge: #8f86d9;
  --doom-button: #2c2360;
  /* TrailTails */
  --forest: #2C4A3E;
  --cream: #F8F5F0;
  --oxblood: #96372F;
  --honey: #B97A13;
  --honey-light: #E0AE5C;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 6px; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
::selection { background: var(--ink); color: var(--paper); }
ul, ol { padding: 0; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; z-index: 30; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 999px; }
.skip:focus { left: 12px; top: 12px; }

/* Reminder notes for the owner: hidden from visitors. Remove this line to see them again. */
.check { display: none !important; }
.check-visible {
  background: transparent; color: inherit; font: inherit; font-size: .85em;
  border: 1px dashed currentColor; border-radius: 4px; padding: 0 5px; white-space: normal;
}

/* ---------- Floating island nav ---------- */
.island {
  position: fixed; z-index: 20; top: max(14px, env(safe-area-inset-top, 0px)); left: 50%;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 4px;
  padding: 6px; border-radius: 999px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, .08);
  color: var(--ink);
  max-width: calc(100vw - 24px);
}
.island a { text-decoration: none; border-radius: 999px; transition: background-color 160ms var(--ease), color 160ms var(--ease), transform 140ms var(--ease); }
.island a:active { transform: scale(.97); }
.island .home { display: grid; place-items: center; width: 44px; height: 44px; }
.island .home svg { width: 20px; height: 20px; fill: currentColor; }
.island .links { display: flex; }
.island .links a { display: flex; align-items: center; min-height: 44px; min-width: 44px; justify-content: center; padding: 0 14px; font-size: .9375rem; font-weight: 500; letter-spacing: -.01em; color: #3c3c39; }
.island .links a[aria-current="page"] { background: var(--ink); color: var(--paper); }
@media (max-width: 400px) { .island .links a { padding: 0 10px; font-size: .875rem; } }

/* ---------- Buttons ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 7px 7px 7px 22px; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  font-weight: 600; font-size: .9375rem; letter-spacing: -.01em; text-decoration: none;
  transition: transform 140ms var(--ease), background-color 160ms var(--ease);
}
.pill .arrow {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  transition: transform 200ms var(--ease);
}
.pill .arrow svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.pill:active { transform: scale(.97); }
.pill.light { background: var(--paper); color: var(--ink); }
.pill.light .arrow { background: rgba(17, 17, 17, .08); }
.soon { font-size: .9375rem; font-weight: 500; opacity: .72; }

/* ---------- Wordmark: Saira Condensed Bold, letter-spacing 0, the logo only ---------- */
.wordmark { font-family: var(--logo); font-weight: 700; letter-spacing: 0; text-transform: uppercase; white-space: nowrap; }

/* ---------- Home hero: the name alone, edge to edge ---------- */
/* Here each letter is its own box so it can rise on load, which switches off
   the font's letter-pair tightening: the name is 4.165em wide, .039em of
   that empty at each end, so the ink is 4.087em. Dividing by that makes the
   letters meet both gutters exactly. (The footer name is one piece of text,
   so it keeps its tightening and uses 4.05.) */
.hero {
  --fit: calc((100vw - 2 * var(--gutter)) / 4.087);
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 120px var(--gutter) calc(var(--gutter) + 8px);
}
.hero .wrap { max-width: none; padding: 0; }
.hero h1 { font-size: var(--fit); line-height: .74; margin-left: -.04em; }
.hero .letters { display: block; overflow: hidden; padding-top: .04em; }
.hero .letters span { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .hero .letters span {
    transform: translateY(105%);
    animation: rise 1.25s var(--ease) both;
    animation-delay: calc(120ms + var(--i) * 55ms);
  }
  @keyframes rise { to { transform: none; } }
}


/* Scroll cue: a thin line above the name, on the right, with a short mark
   running down it. No words. On a tall phone it sits in the bottom corner,
   beside the upright name. */
.cue {
  position: absolute; right: var(--gutter);
  bottom: calc(var(--gutter) + 8px + var(--fit) * .78 + clamp(20px, 3vw, 40px));
  width: 1px; height: 56px; overflow: hidden;
  background: rgba(17, 17, 17, .14);
}
.cue::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateY(-100%); }
@media (prefers-reduced-motion: no-preference) {
  .cue { animation: cue-in .6s var(--ease) 1.1s both; }
  .cue::after { animation: cue 2.4s var(--ease) 1.4s infinite; }
  @keyframes cue-in { from { opacity: 0; } }
  @keyframes cue { 0% { transform: translateY(-100%); } 55%, 100% { transform: translateY(100%); } }
}
@media (prefers-reduced-motion: reduce) { .cue::after { transform: none; height: 40%; } }

/* ---------- The tooth field: the mark becomes the pattern as you scroll ---------- */
.field-wrap { position: relative; height: 340vh; background: var(--ink); }
.field { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; }
.field canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
@media (max-width: 700px) { .field-wrap { height: 300vh; } }
@media (prefers-reduced-motion: reduce) { .field-wrap { height: auto; } .field { position: relative; height: 70vh; } }

.after-field {
  background: var(--ink); color: var(--paper);
  padding: clamp(72px, 12vw, 160px) 0 clamp(80px, 12vw, 160px);
}
.after-field h2 { color: #A3A39D; font-size: clamp(1.2rem, 2.4vw, 1.75rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.3; max-width: 30ch; text-wrap: balance; }
.whys { list-style: none; margin-top: clamp(28px, 4vw, 56px); border-top: 1px solid #2a2a28; }
.whys a { display: grid; gap: 10px 40px; padding: clamp(22px, 3.4vw, 44px) 0; border-bottom: 1px solid #2a2a28; text-decoration: none; align-items: end; }
.whys span { font-size: clamp(1.9rem, 5.2vw, 4.4rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.02; max-width: 16ch; text-wrap: balance; }
.whys b { font-size: 1.0625rem; font-weight: 500; color: #A3A39D; }
.whys b::after { content: ""; display: inline-block; width: .5em; height: .5em; margin-left: .5em; border-top: 1.5px solid; border-right: 1.5px solid; transform: rotate(45deg) translateY(-.05em); }
.whys a:focus-visible { outline: 2px solid var(--paper); outline-offset: 4px; }
@media (min-width: 900px) { .whys a { grid-template-columns: 1fr auto; } }
@media (hover: hover) and (pointer: fine) { .whys a:hover b { color: var(--paper); } }

/* ---------- App showcases on the home page ---------- */
.apps { padding: clamp(24px, 4vw, 48px) 0 clamp(40px, 6vw, 80px); }
.apps .wrap { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.shell { padding: 8px; border-radius: 48px; background: rgba(17, 17, 17, .035); box-shadow: inset 0 0 0 1px rgba(17, 17, 17, .06); }
.panel {
  position: relative; overflow: hidden; border-radius: 40px;
  display: grid; grid-template-columns: 1fr; gap: 40px;
  padding: clamp(36px, 6vw, 88px) clamp(24px, 5vw, 80px) 0;
}
.panel .copy { max-width: 32rem; align-self: center; padding-bottom: 8px; container-type: inline-size; }
.panel .for { font-size: .9375rem; font-weight: 500; opacity: .75; }
.panel h2 { margin-top: 14px; font-size: clamp(3.2rem, 9vw, 7rem); font-weight: 700; letter-spacing: -.05em; line-height: .9; }
.panel .say { margin-top: 22px; font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.4; letter-spacing: -.015em; }
.panel ul { list-style: none; margin-top: 26px; display: grid; gap: 12px; }
.panel li { position: relative; padding-left: 26px; line-height: 1.45; }
.panel li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 10px; height: 2px; background: currentColor; opacity: .6; }
.panel .act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 34px; }

.stage { position: relative; display: flex; justify-content: center; align-items: flex-end; container-type: inline-size; padding-top: 24px; }
.stage .phone { --pw: min(330px, 52cqi); }
.stage .phone.side { --pw: min(272px, 40cqi); position: relative; z-index: 1; margin-bottom: -14%; }
.stage .phone.front { z-index: 2; margin: 0 -16% -6%; }
@media (min-width: 960px) {
  .stage .phone { --pw: min(330px, 43cqi); }
  .stage .phone.side { --pw: min(272px, 35cqi); }
  .stage .phone.front { margin: 0 -9% -6%; }
}
@media (max-width: 700px) {
  .shell { padding: 5px; border-radius: 34px; }
  .panel { border-radius: 29px; }
}
.stage .phone.side.l { transform: rotate(-5deg) translateY(4%); }
.stage .phone.side.r { transform: rotate(5deg) translateY(4%); }
@media (min-width: 960px) {
  .panel { grid-template-columns: 5fr 7fr; gap: 24px; padding-bottom: 0; min-height: 720px; }
  .panel.flip .copy { order: 2; }
  .panel.flip .stage { order: 1; }
  .stage { min-height: 640px; }
}

/* Tailor panel */
.panel.tailor { background: var(--cobalt); color: #fff; }
.panel.tailor .pill { background: #fff; color: var(--cobalt); }
.panel.tailor .pill .arrow { background: rgba(29, 63, 214, .1); }
/* Doomtoll panel */
.panel.doomtoll { background: var(--doom-bg); color: var(--doom-text); font-family: "Chakra Petch", var(--sans); }
.panel.doomtoll h2, .doom-display {
  font-family: "Silkscreen", monospace; font-weight: 700; letter-spacing: 0; line-height: 1;
  color: var(--doom-yellow); text-shadow: .06em .06em 0 var(--doom-red-shadow);
  font-size: clamp(2.4rem, 8.4vw, 5.6rem); text-transform: uppercase;
}
/* "DOOMTOLL" in Silkscreen is about 6.9em wide: keep it inside its column */
.panel.doomtoll h2 { font-size: min(5.6rem, 14cqi); }
.pixel {
  display: inline-flex; align-items: center; gap: 12px; padding: 14px 20px; min-height: 44px;
  font: 400 .9375rem/1 "Silkscreen", monospace; letter-spacing: .02em; text-transform: none;
  color: #fff; background: var(--doom-red); text-decoration: none;
  box-shadow: 0 5px 0 var(--doom-red-shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.pixel:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--doom-red-shadow); }
.pixel:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--doom-red-shadow); }
/* TrailTails panel */
.panel.trailtails { background: var(--forest); color: var(--cream); }
.panel.trailtails h2, .tt-display { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.035em; }
.panel.trailtails .pill { background: var(--cream); color: var(--forest); }
.panel.trailtails .pill .arrow { background: rgba(44, 74, 62, .1); }
.panel.trailtails li::before { background: var(--honey-light); opacity: 1; height: 8px; width: 8px; border-radius: 50%; top: .5em; }

/* ---------- iPhone frame ---------- */
.phone {
  --pw: 260px;
  position: relative; flex: none; width: var(--pw);
  padding: calc(var(--pw) * .034);
  border-radius: calc(var(--pw) * .175);
  background: #0b0b0c;
}
.phone img {
  width: 100%; aspect-ratio: 552 / 1200; object-fit: cover; object-position: top;
  border-radius: calc(var(--pw) * .142); background: #222;
}
.phone::after {
  content: ""; position: absolute; left: 50%; top: calc(var(--pw) * .058);
  width: calc(var(--pw) * .29); height: calc(var(--pw) * .082);
  transform: translateX(-50%); border-radius: 999px; background: #000;
}

/* Scroll-linked drift for phones, where the browser supports it */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .drift { --dy: 90px; animation: drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    .drift.slow { --dy: 40px; }
    @media (max-width: 700px) { .drift { --dy: 40px; } .drift.slow { --dy: 20px; } }
    @keyframes drift { from { translate: 0 var(--dy); } to { translate: 0 calc(var(--dy) * -.66); } }
  }
}

/* ---------- Promises ---------- */
.promises { padding: clamp(80px, 12vw, 160px) 0; }
.promises h2 { font-size: clamp(1rem, 1.4vw, 1.125rem); font-weight: 600; letter-spacing: -.01em; color: var(--mute); }
.promises ul { list-style: none; margin-top: 28px; border-top: 1px solid var(--line); }
.promises li {
  display: grid; grid-template-columns: 1fr; gap: 10px;
  padding: clamp(24px, 3.6vw, 40px) 0; border-bottom: 1px solid var(--line);
}
.promises strong { text-wrap: balance; font-size: clamp(1.7rem, 4.6vw, 3.6rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.02; }
.promises span { color: var(--mute); max-width: 44ch; }
.promises .more { margin-top: 36px; }
@media (min-width: 900px) {
  .promises li { grid-template-columns: 7fr 5fr; align-items: end; gap: 40px; }
}

/* ---------- App pages ---------- */
.app-hero { position: relative; overflow: hidden; padding: clamp(120px, 18vh, 170px) 0 0; }
.app-hero .wrap { display: grid; gap: 48px; grid-template-columns: 1fr; }
.app-hero .copy { max-width: 36rem; align-self: center; container-type: inline-size; }
.app-hero h1 { font-size: clamp(3.6rem, 13vw, 9.5rem); font-weight: 700; letter-spacing: -.055em; line-height: .88; }
.app-hero .say { margin-top: 26px; font-size: clamp(1.25rem, 2.6vw, 1.7rem); line-height: 1.32; letter-spacing: -.02em; max-width: 26ch; }
.app-hero .act { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 36px; padding-bottom: 8px; }
.app-hero .stage { min-height: 0; }
@media (min-width: 960px) {
  .app-hero .wrap { grid-template-columns: 6fr 6fr; min-height: 760px; }
}
.app-hero.tailor { background: #fff; color: #0E1A3A; }
.app-hero.tailor h1 { color: var(--cobalt); }
.app-hero.tailor .pill { background: var(--cobalt); color: #fff; }
.app-hero.doomtoll { background: var(--doom-bg); color: var(--doom-text); font-family: "Chakra Petch", var(--sans); }
.app-hero.doomtoll h1 { font-family: "Silkscreen", monospace; font-weight: 700; letter-spacing: 0; color: var(--doom-yellow); text-shadow: .06em .06em 0 var(--doom-red-shadow); font-size: min(7.4rem, 14cqi); line-height: 1; text-transform: uppercase; }
.app-hero.doomtoll .stage { align-items: flex-end; }
.app-hero.doomtoll .machine { position: relative; z-index: 1; width: min(320px, 42cqi); margin: 0 -5% 6% 0; image-rendering: pixelated; }
.app-hero.doomtoll .phone.solo { --pw: min(320px, 52cqi); z-index: 2; margin-bottom: -6%; }
.app-hero.trailtails { background: var(--cream); color: #1A1714; }
.app-hero.trailtails h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.045em; color: var(--forest); }
.app-hero.trailtails .pill { background: var(--forest); color: var(--cream); }

/* Three trays side by side. Each holds the words, then the phone, which is
   cut off by the bottom edge of the tray. The middle tray takes the app's
   own colour and sits a little lower, so the row is not a flat grid. */
.features { padding: clamp(56px, 8vw, 112px) 0 clamp(20px, 4.4vw, 64px); }
.features .wrap { display: grid; grid-template-columns: 1fr; gap: clamp(14px, 1.6vw, 22px); }
.feature {
  --tray: #fff; --tray-ink: var(--ink); --tray-soft: #3c3c39;
  position: relative; overflow: hidden; container-type: inline-size;
  display: flex; flex-direction: column; gap: 40px;
  padding: clamp(30px, 3.2vw, 44px) clamp(24px, 2.8vw, 40px) 0;
  border-radius: 36px; background: var(--tray); color: var(--tray-ink);
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, .08);
}
.feature h2 { font-size: clamp(1.7rem, 2.5vw, 2.25rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.04; max-width: 17ch; }
.feature p { margin-top: 14px; font-size: 1.0625rem; line-height: 1.5; color: var(--tray-soft); max-width: 34ch; }
.feature .phone { --pw: min(270px, 68cqi); align-self: center; margin: auto 0 calc(var(--pw) * -.5); }
.feature .drift { animation: none; translate: none; }
.feature:nth-child(2) { box-shadow: none; }
.app-hero.tailor ~ .features .feature:nth-child(2) { --tray: var(--cobalt); --tray-ink: #fff; --tray-soft: rgba(255, 255, 255, .84); }
.app-hero.doomtoll ~ .features .feature:nth-child(2) { --tray: var(--doom-bg); --tray-ink: var(--doom-text); --tray-soft: rgba(233, 228, 255, .84); }
.app-hero.trailtails ~ .features .feature:nth-child(2) { --tray: var(--forest); --tray-ink: var(--cream); --tray-soft: rgba(248, 245, 240, .84); }
@media (min-width: 900px) {
  .features .wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feature { min-height: 620px; }
  .feature:nth-child(2) { margin-top: 64px; }
  .feature:nth-child(odd) { margin-bottom: 64px; }
}
@media (max-width: 700px) { .feature { border-radius: 29px; } }

/* ---------- App pages: motion ----------
   On arrival the words rise in line by line and the side phones fan out from
   behind the front one. Scrolling down, each tray rises into place and its
   phone slides up out of the bottom edge. With reduced motion, nothing moves. */
@media (prefers-reduced-motion: no-preference) {
  .app-hero .copy > * { animation: app-rise .7s var(--ease) both; animation-delay: calc(40ms + var(--n, 0) * 60ms); }
  .app-hero .copy > :nth-child(2) { --n: 1; }
  .app-hero .copy > :nth-child(3) { --n: 2; }
  .app-hero .copy > :nth-child(4) { --n: 3; }
  @keyframes app-rise { from { opacity: 0; transform: translateY(28px); } }

  .app-hero .stage > * { --from: translateY(16%); --wait: 80ms; animation: phone-in .9s var(--ease) var(--wait) both; }
  .app-hero .stage .phone.side.l { --from: rotate(2deg) translateY(10%) translateX(46%); --wait: 160ms; }
  .app-hero .stage .phone.side.r { --from: rotate(-2deg) translateY(10%) translateX(-46%); --wait: 160ms; }
  .app-hero.doomtoll .stage .machine { --from: translateX(34%) scale(.9); --wait: 180ms; }
  @keyframes phone-in { from { opacity: 0; transform: var(--from); } 22% { opacity: 1; } }

  @media (hover: hover) and (pointer: fine) {
    .feature .phone { transition: transform 300ms var(--ease); }
    .feature:hover .phone { transform: translateY(-14px); }
  }

  @supports (animation-timeline: view()) {
    /* The hero phones keep their scroll drift as a second animation */
    .app-hero .stage > .drift {
      animation: phone-in .9s var(--ease) var(--wait) both, drift linear both;
      animation-timeline: auto, view();
      animation-range: normal, entry 0% exit 100%;
    }
    /* Doomtoll's machine arrives in pixel steps, like its own screen */
    .app-hero.doomtoll .stage > .machine { animation-timing-function: steps(7, end), linear; }

    .feature { view-timeline-name: --tray; animation: tray-in linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    .feature .phone.drift { animation: peek linear both; animation-timeline: --tray; animation-range: entry 25% cover 50%; }
    @media (min-width: 900px) {
      .feature:nth-child(2) { animation-range: entry 8% entry 82%; }
      .feature:nth-child(3) { animation-range: entry 16% entry 94%; }
    }
    @keyframes tray-in { from { opacity: 0; transform: translateY(32px); } }
    @keyframes peek { from { translate: 0 30%; } to { translate: 0 0; } }
  }
}

.brief { padding: 0 0 clamp(80px, 10vw, 140px); }
.brief .box { border-radius: 32px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); padding: clamp(28px, 5vw, 56px); display: grid; gap: 28px; }
.brief h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.05; }
.brief ul { list-style: none; display: grid; gap: 12px; }
.brief li { padding-left: 22px; position: relative; max-width: 60ch; }
.brief li::before { content: ""; position: absolute; left: 0; top: .7em; width: 10px; height: 2px; background: var(--ink); }
.brief .act { display: flex; flex-wrap: wrap; gap: 12px; }
.ghost { display: inline-flex; padding: 12px 20px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .9375rem; box-shadow: inset 0 0 0 1px var(--line); transition: background-color 160ms var(--ease), transform 140ms var(--ease); }
.ghost:active { transform: scale(.97); }
@media (min-width: 900px) { .brief .box { grid-template-columns: 5fr 7fr; align-items: start; } }

/* ---------- App pages: who it is for, what it does, price, questions ----------
   Sits between the three trays and the privacy summary. Each block takes the
   app's own colour through --accent, set on the section. */
.more { --accent: var(--ink); --on-accent: #fff; padding: clamp(24px, 5vw, 72px) 0 clamp(64px, 9vw, 120px); }
.more.tailor { --accent: var(--cobalt); }
.more.doomtoll { --accent: var(--doom-bg); --on-accent: var(--doom-text); font-family: "Chakra Petch", var(--sans); }
.more.trailtails { --accent: var(--forest); --on-accent: var(--cream); }
.more .wrap { display: grid; gap: clamp(64px, 9vw, 120px); }
.more h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.05; }
.more.doomtoll h2, .more.doomtoll h3 { font-family: "Chakra Petch", var(--sans); }
.more.trailtails h2, .more.trailtails h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.035em; }
.more .lede { margin-top: 12px; color: var(--mute); max-width: 52ch; }

.who h2 { font-size: clamp(1rem, 1.4vw, 1.125rem); font-weight: 600; letter-spacing: -.01em; color: var(--mute); }
.who .big { margin-top: 20px; max-width: 30ch; font-size: clamp(1.6rem, 3.8vw, 3rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.12; color: var(--accent); text-wrap: balance; }
.more.trailtails .who .big { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.03em; }

.grid { list-style: none; counter-reset: item; margin-top: 28px; display: grid; gap: clamp(12px, 1.6vw, 20px); grid-template-columns: 1fr; }
.grid li { counter-increment: item; padding: 26px 26px 30px; border-radius: 28px; background: #fff; box-shadow: inset 0 0 0 1px rgba(17, 17, 17, .08); }
.grid li::before { content: counter(item, decimal-leading-zero); display: block; margin-bottom: 40px; font-size: .8125rem; font-weight: 700; color: var(--accent); }
.grid h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.12; }
.grid p { margin-top: 10px; font-size: 1rem; line-height: 1.5; color: #3c3c39; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Empty screenshot spaces: a phone-shaped outline in the app's colour, named, so
   the gap reads as planned. Replace each figure with a .phone when the shot exists. */
.slots { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 2vw, 28px); }
@media (min-width: 900px) { .shots { display: grid; grid-template-columns: 5fr 7fr; align-items: start; } .shots .slots { margin-top: 0; } }
.shots[hidden] { display: none; }
.slot { position: relative; aspect-ratio: 552 / 1200; display: grid; place-content: center; gap: 6px; padding: 16px 10px; text-align: center; border-radius: 12% / 5.5%; border: 1.5px dashed var(--accent); background: rgba(17, 17, 17, .03); color: var(--accent); }
.slot::before { content: ""; position: absolute; top: 2.6%; left: 50%; width: 28%; height: 1.8%; transform: translateX(-50%); border-radius: 999px; background: currentColor; opacity: .25; }
.slot b { font-size: clamp(.8125rem, 1.6vw, 1rem); font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.slot span { font-size: .75rem; color: var(--mute); }

.price { border-radius: 36px; background: var(--accent); color: var(--on-accent); padding: clamp(28px, 5vw, 56px); display: grid; gap: 28px; }
.price p { max-width: 54ch; color: color-mix(in srgb, var(--on-accent) 86%, transparent); }
.price .facts { list-style: none; display: grid; gap: 14px; margin-bottom: 24px; }
.price .facts li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding-bottom: 14px; border-bottom: 1px solid color-mix(in srgb, var(--on-accent) 22%, transparent); }
.price .facts strong { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.price .facts span { color: color-mix(in srgb, var(--on-accent) 80%, transparent); }
@media (min-width: 900px) { .price { grid-template-columns: 5fr 7fr; align-items: start; } }

.faq { display: grid; gap: 28px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; padding: 12px 0; font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); background: linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat; transition: background-color 160ms var(--ease), transform 140ms var(--ease); }
/* The upright bar of the plus turns flat when open, so the plus becomes a minus */
.faq summary::before { content: ""; position: absolute; top: 50%; right: 21.25px; width: 1.5px; height: 14px; margin-top: -7px; background: currentColor; transition: transform 200ms var(--ease); }
.faq details[open] summary::before { transform: rotate(90deg); }
.faq summary:active::after { transform: scale(.94); }
.faq .a { padding: 0 0 26px; max-width: 62ch; color: #3c3c39; }
@media (min-width: 900px) { .faq { grid-template-columns: 5fr 7fr; align-items: start; } }

/* ---------- Plain text pages: privacy and support ---------- */
.doc { padding: clamp(120px, 18vh, 170px) 0 clamp(64px, 10vw, 120px); }
.doc .wrap { max-width: 760px; }
/* Each section starts with a ruled line. On a wide screen the section title
   sits in its own column on the left, so a long policy can be scanned. */
.doc .wrap > h2 { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--ink); }
.doc .updated { display: inline-block; padding: 5px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-weight: 500; }
@media (min-width: 1000px) {
  .doc .wrap { max-width: 1020px; display: grid; grid-template-columns: 250px minmax(0, 1fr); column-gap: 64px; }
  .doc .wrap > * { grid-column: 2; min-width: 0; max-width: none; }
  .doc .wrap > .crumb, .doc .wrap > h1, .doc .wrap > .lede, .doc .wrap > .updated { grid-column: 1 / -1; }
  .doc .wrap > .updated { justify-self: start; }
  .doc .wrap > h2 { grid-column: 1; font-size: 1.125rem; letter-spacing: -.015em; line-height: 1.3; }
  .doc .wrap > h2 + * { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); }
  .doc .wrap > h2 + ul, .doc .wrap > h2 + ol { padding-left: 1.25em; }
  .doc .wrap > .card { margin-bottom: 8px; }
}
.doc .crumb { font-size: .9375rem; color: var(--mute); }
.doc .crumb a { color: inherit; display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.doc h1 { margin-top: 14px; font-size: clamp(2.4rem, 7vw, 4rem); font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.doc .lede { margin-top: 22px; font-size: clamp(1.2rem, 2.6vw, 1.45rem); line-height: 1.4; letter-spacing: -.015em; }
.doc .updated { margin-top: 14px; font-size: .9375rem; color: var(--mute); }
.doc h2 { margin-top: 2.4em; font-size: 1.45rem; font-weight: 700; letter-spacing: -.025em; line-height: 1.2; }
.doc h3 { margin-top: 1.6em; font-size: 1.1rem; font-weight: 700; letter-spacing: -.01em; }
.doc p, .doc ul, .doc ol { margin-top: .9em; max-width: 68ch; }
.doc ul, .doc ol { padding-left: 1.25em; }
.doc li + li { margin-top: .45em; }
.doc .card { margin-top: 32px; padding: 26px 28px; border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.doc .card p:first-child { margin-top: 0; }
.doc .card .big { font-size: clamp(1.25rem, 3vw, 1.6rem); font-weight: 700; letter-spacing: -.03em; word-break: break-word; }
.doc table { width: 100%; border-collapse: collapse; margin-top: 1em; font-size: .975rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); }
.doc th { font-weight: 600; }
.doc .table-scroll { overflow-x: auto; }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: var(--paper); padding: clamp(64px, 9vw, 120px) 0 28px; overflow: hidden; }
.foot .top { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; }
.foot .lead { grid-column: 1 / -1; }
.foot .lead p { font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.1; max-width: 18ch; }
.foot .lead a.mail { display: inline-flex; align-items: center; min-height: 44px; margin-top: 10px; font-size: 1.0625rem; }
.foot h2 { font-size: .875rem; font-weight: 500; color: #8D8D87; }
.foot ul { list-style: none; margin-top: 6px; display: grid; gap: 0; }
.foot ul a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; text-decoration: none; color: #E6E6E1; transition: color 150ms ease; }
@media (min-width: 900px) { .foot .top { grid-template-columns: 5fr 2fr 2fr 2fr; } .foot .lead { grid-column: auto; } }
.foot .word {
  margin-top: clamp(56px, 8vw, 104px);
  font-size: min(calc((100vw - 2 * var(--gutter)) / 4.05), calc((var(--max) - 40px) / 4.05)); line-height: .74;
  color: var(--paper); margin-left: -.04em; user-select: none;
}
.foot .base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 28px; padding-top: 22px; border-top: 1px solid #2a2a28; font-size: .875rem; color: #8D8D87; }
.foot .base .rooms { display: flex; gap: 20px; }
.foot .base .rooms a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: #8D8D87; text-decoration: none; }
.foot .base .rooms a:hover { color: #E6E6E1; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Page not found ---------- */
.lost { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter) 80px; }
.lost svg { width: 96px; height: 96px; margin: 0 auto 40px; fill: var(--ink); }
.lost h1 { font-size: clamp(2.4rem, 8vw, 5rem); font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.lost p { margin: 18px auto 34px; color: var(--mute); max-width: 32ch; }

/* ---------- Hover: only with a real mouse, so a tap on a phone does not
   leave a link looking hovered ---------- */
@media (hover: hover) and (pointer: fine) {
  .island .home:hover { background: rgba(17, 17, 17, .07); }
  .island .links a:hover { background: rgba(17, 17, 17, .07); color: var(--ink); }
  .pill:hover .arrow { transform: translate(3px, -1px) scale(1.06); }
  .ghost:hover { background: rgba(17, 17, 17, .05); }
  .faq summary:hover::after { background-color: rgba(17, 17, 17, .05); }
  .foot ul a:hover { color: #fff; text-decoration: underline; }
}

/* ---------- Page-to-page transitions ----------
   Browsers that support cross-document view transitions fade between pages
   and keep the floating nav in place. Others just load the next page. Off
   with reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .island { view-transition-name: island; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .4s; animation-timing-function: var(--ease); }
}

/* Reduced motion: nothing moves or scales, but fades stay, short. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .island a:active, .pill:active, .ghost:active, .faq summary:active::after,
  .pill:hover .arrow { transform: none; }
  .faq summary::before { transition: none; }
  .app-hero .copy > *, .app-hero .stage > * { animation: fade 200ms ease both; }
  @keyframes fade { from { opacity: 0; } }
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 200ms; }
}

/* Waiting list form on the app pages. Hidden until the list is switched on. */
.wl { margin-top: 28px; max-width: 26rem; }
.wl[hidden] { display: none; }
.wl .trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wl .row { display: flex; gap: 8px; }
.wl input[type="email"] { flex: 1; min-width: 0; height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid currentColor; background: transparent; color: inherit; font: inherit; font-size: 1rem; }
.wl input[type="email"]::placeholder { color: inherit; opacity: .55; }
.wl button { flex: none; height: 48px; padding: 0 20px; border: 1px solid currentColor; border-radius: 999px; background: transparent; color: inherit; font: inherit; font-weight: 600; font-size: .9375rem; cursor: pointer; }
.wl label { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: .875rem; line-height: 1.4; opacity: .8; }
.wl label input { margin: 3px 0 0; width: 16px; height: 16px; accent-color: currentColor; flex: none; }

/* ===== Doomtoll page: the machine =====
   Arcade cabinet in the app's own colours. Silkscreen for anything the
   machine says, Chakra Petch for everything else. Motion is stepped, like
   pixel art: nothing glides. Reduced motion shows results with no spin. */
.dt { --deep: #171236; --panel: #2c2360; --pink: #e86ab0; --lilac: #a597ff; --green: #6fe05c; }
.dt main { background: var(--doom-bg); color: var(--doom-text); font-family: "Chakra Petch", var(--sans); }
.dt main ::selection { background: var(--doom-yellow); color: var(--deep); }
.dt .dt-h { font-family: "Silkscreen", monospace; font-weight: 400; text-transform: uppercase; color: var(--doom-yellow); font-size: clamp(1.7rem, 4.4vw, 3rem); line-height: 1.05; letter-spacing: 0; text-shadow: .08em .08em 0 var(--doom-red-shadow); }
.dt section { position: relative; }

.dt-hero { padding: clamp(110px, 16vh, 150px) 0 clamp(56px, 8vw, 96px); background:
  radial-gradient(circle at 1px 1px, rgba(165, 151, 255, .16) 1px, transparent 1.5px) 0 0 / 16px 16px, var(--deep); overflow: hidden; }
.dt-hero .wrap { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
@media (min-width: 960px) { .dt-hero .wrap { grid-template-columns: 6fr 5fr; } }
.dt-word { font-family: "Silkscreen", monospace; font-weight: 700; text-transform: uppercase; color: var(--doom-yellow); font-size: clamp(2.6rem, 9.4vw, 6.6rem); line-height: .95; letter-spacing: 0; text-shadow: .06em .06em 0 var(--doom-red-shadow); }
.dt-say { margin-top: 22px; font-size: clamp(1.7rem, 4vw, 2.8rem); font-weight: 600; line-height: 1.1; letter-spacing: -.01em; color: #fff; }
.dt-lede { margin-top: 18px; max-width: 34rem; font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.5; color: var(--doom-text); }
.dt-soon { margin-top: 22px; font-size: .95rem; color: var(--lilac); }

.dt-cab { justify-self: center; width: min(100%, 440px); }
.dt-machine { position: relative; container-type: inline-size; width: 86%; margin-right: 14%; }
.dt-body { display: block; width: 100%; height: auto; image-rendering: pixelated; filter: drop-shadow(10px 10px 0 rgba(0, 0, 0, .45)); }
.dt-reels { position: absolute; left: 10.66%; top: 33%; width: 64.7%; height: 23.7%; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 3.1%; }
.dt-reel { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5cqi; color: var(--deep); font-family: "Silkscreen", monospace; text-align: center; overflow: hidden; }
.dt-reel b { font-weight: 700; font-size: 10.5cqi; line-height: 1; }
.dt-reel small { font-size: 4.3cqi; line-height: 1; }
.dt-reel .px { width: 15cqi; height: 15cqi; background: var(--panel); padding: 1.2cqi; box-sizing: content-box; }
.dt-reel:first-child:has(.px) b { font-size: 4.5cqi; }
.dt-screen { position: absolute; left: 9.7%; top: 63.4%; width: 67.4%; height: 8%; display: grid; place-items: center; margin: 0; font-family: "Silkscreen", monospace; font-size: 5.4cqi; color: #0d3b0a; text-align: center; line-height: 1; }
.dt-lever { position: absolute; left: 91.5%; top: 21%; width: 12%; height: 33%; cursor: grab; touch-action: none; }
.dt-stick { position: absolute; left: 30%; bottom: 0; width: 34%; height: 82%; background: linear-gradient(90deg, #6a5fc0 0 33%, var(--lilac) 33% 66%, #6a5fc0 66%); box-shadow: 0 0 0 2px var(--deep); transform-origin: 50% 100%; }
.dt-ball { position: absolute; left: 0; top: 0; width: 95%; aspect-ratio: 1; background: var(--doom-red); box-shadow: inset -.9cqi -.9cqi 0 var(--doom-red-shadow), inset .9cqi .9cqi 0 #ff6b7a, 0 0 0 2px var(--deep); }
.dt-machine.pulled .dt-stick { transform: scaleY(-1); }
.dt-machine.pulled .dt-ball { transform: translateY(32cqi); }
.dt-machine.paid .dt-screen { color: #0d3b0a; }
.dt-under { margin-top: 26px; display: grid; gap: 14px; justify-items: start; }
.dt-go, .dt-btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border: 0; border-radius: 0; background: var(--doom-red); color: #fff; font: 400 .95rem/1 "Silkscreen", monospace; text-transform: uppercase; text-decoration: none; cursor: pointer; box-shadow: 0 5px 0 var(--doom-red-shadow); transition: transform 80ms steps(2), box-shadow 80ms steps(2); }
.dt-go:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--doom-red-shadow); }
.dt-go:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--doom-red-shadow); }
.dt-go:focus-visible, .dt-btn:focus-visible, .dt-faq summary:focus-visible, .dt-table-wrap:focus-visible { outline: 3px solid var(--doom-yellow); outline-offset: 3px; }
.dt-btn.ghost { background: transparent; color: var(--doom-text); box-shadow: inset 0 0 0 2px var(--lilac); }
.dt-btn.ghost:hover { background: var(--panel); }
.dt-result { font-size: 1rem; line-height: 1.45; color: var(--doom-text); min-height: 2.9em; }
@media (prefers-reduced-motion: no-preference) {
  .dt-stick, .dt-ball { transition: transform 160ms steps(3, end); }
  .dt-machine.paid .dt-screen { animation: dt-flash 900ms steps(2, end) 2; }
}
@keyframes dt-flash { 50% { color: var(--green); } }

.dt-how, .dt-pay, .dt-trust, .dt-next, .dt-faq { padding: clamp(72px, 10vw, 128px) 0 0; }
.dt-steps { list-style: none; counter-reset: dt; margin-top: 40px; display: grid; gap: 16px; }
@media (min-width: 720px) { .dt-steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1180px) { .dt-steps { grid-template-columns: repeat(4, 1fr); } }
.dt-steps li { counter-increment: dt; position: relative; background: var(--panel); box-shadow: 6px 6px 0 var(--deep); padding: 28px 24px 0; display: flex; flex-direction: column; overflow: hidden; min-height: 300px; }
.dt-steps li::before { content: counter(dt); font: 400 1rem/1 "Silkscreen", monospace; color: var(--deep); background: var(--doom-yellow); width: 34px; height: 34px; display: grid; place-items: center; margin-bottom: 20px; }
.dt-steps h3 { font-size: 1.3rem; font-weight: 600; line-height: 1.2; color: #fff; }
.dt-steps p { margin-top: 10px; line-height: 1.5; }
.dt-phone { margin: 24px auto -110px; width: min(200px, 72%); padding: 7px 7px 0; background: #0b0b0c; border-radius: 34px 34px 0 0; }
.dt-phone video { display: block; width: 100%; height: auto; aspect-ratio: 552 / 1200; object-fit: cover; object-position: top; border-radius: 28px 28px 0 0; background: var(--doom-bg); }
.dt-steps li:has(.dt-phone) { padding-bottom: 0; }
.dt-due, .dt-rate { margin: auto 0 28px; padding-top: 24px; font-family: "Silkscreen", monospace; }
.dt-due { display: grid; gap: 6px; justify-items: start; }
.dt-due span { font-size: .85rem; color: var(--lilac); }
.dt-due b { font-size: 3.6rem; line-height: 1; color: var(--doom-yellow); font-weight: 700; }
.dt-due .blink { color: #fff; background: var(--doom-red); padding: 6px 8px; }
@media (prefers-reduced-motion: no-preference) { .dt-due .blink { animation: dt-blink 1.2s steps(1, end) infinite; } }
@keyframes dt-blink { 50% { opacity: 0; } }
.dt-rate { font-size: .95rem; color: var(--doom-text); line-height: 1; display: grid; grid-template-columns: auto 1fr; gap: 10px 14px; align-items: center; }
.dt-rate b { font-size: 3.6rem; color: var(--doom-yellow); font-weight: 700; }
.dt-rate i { font-style: normal; }

.dt-pay-top { display: grid; gap: 14px; max-width: 46rem; }
.dt-pay-top p, .dt-note { font-size: 1.1rem; line-height: 1.5; }
.dt-table-wrap { margin-top: 36px; }
.dt-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; background: var(--deep); box-shadow: 8px 8px 0 #0e0b24; }
.dt-table thead th { font: 400 .8rem/1.2 "Silkscreen", monospace; text-transform: uppercase; color: var(--deep); background: var(--doom-yellow); text-align: left; padding: 14px 18px; }
.dt-table tbody th { text-align: left; font-weight: 600; font-size: 1.1rem; color: #fff; white-space: nowrap; }
.dt-table tbody th .px { width: 32px; height: 32px; vertical-align: middle; margin-right: 14px; }
.dt-table td, .dt-table tbody th { padding: 14px 18px; border-top: 2px dashed #3b3180; }
.dt-table td { font-size: 1.05rem; }
.dt-table td:nth-child(2), .dt-table td:nth-child(3), .dt-table td:nth-child(4) { font-family: "Silkscreen", monospace; color: var(--doom-yellow); white-space: nowrap; }
.dt-table td:last-child { color: var(--lilac); font-size: .95rem; line-height: 1.4; }
.dt-note { margin-top: 18px; color: var(--lilac); max-width: 46rem; }
@media (max-width: 760px) {
  .dt-table thead { display: none; }
  .dt-table, .dt-table tbody, .dt-table tr, .dt-table th, .dt-table td { display: block; }
  .dt-table tr { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px dashed #3b3180; padding: 14px 16px; }
  .dt-table tr:first-child { border-top: 0; }
  .dt-table tbody th { grid-column: 1 / -1; border: 0; padding: 0 0 10px; }
  .dt-table td { border: 0; padding: 0; }
  .dt-table td::before { content: attr(data-label); display: block; font: 400 .62rem/1.3 "Silkscreen", monospace; color: var(--lilac); text-transform: uppercase; margin-bottom: 4px; }
  .dt-table td:last-child { grid-column: 1 / -1; margin-top: 10px; }
  .dt-table td:last-child::before { display: none; }
  .dt-table td:nth-child(2), .dt-table td:nth-child(3), .dt-table td:nth-child(4) { font-size: .82rem; white-space: normal; }
}

.dt-nots { list-style: none; margin-top: 36px; display: grid; gap: 0; border-top: 2px dashed #3b3180; }
.dt-nots li { display: grid; gap: 8px 40px; padding: 26px 0; border-bottom: 2px dashed #3b3180; align-items: baseline; }
@media (min-width: 820px) { .dt-nots li { grid-template-columns: 5fr 6fr; } }
.dt-nots b { font: 700 clamp(1.8rem, 5vw, 3.4rem)/1 "Silkscreen", monospace; text-transform: uppercase; color: #fff; }
.dt-nots span { font-size: 1.15rem; line-height: 1.5; }

.dt-cards { margin-top: 36px; display: grid; gap: 18px; }
@media (min-width: 820px) { .dt-cards { grid-template-columns: 1fr 1fr; } }
.dt-card { padding: 28px; border: 3px dashed var(--lilac); }
.dt-card h3 { font: 400 1.15rem/1.2 "Silkscreen", monospace; text-transform: uppercase; color: var(--doom-yellow); }
.dt-card p { margin-top: 12px; line-height: 1.55; }

.dt-faq .wrap { display: grid; gap: 32px; }
@media (min-width: 960px) { .dt-faq .wrap { grid-template-columns: 4fr 7fr; } .dt-privacy { grid-column: 2; } }
.dt-faq details { border-top: 2px dashed #3b3180; }
.dt-faq details:last-child { border-bottom: 2px dashed #3b3180; }
.dt-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 64px; font-size: 1.15rem; font-weight: 600; color: #fff; }
.dt-faq summary::-webkit-details-marker { display: none; }
.dt-faq summary::after { content: "+"; font: 400 1.4rem/1 "Silkscreen", monospace; color: var(--doom-yellow); }
.dt-faq details[open] summary::after { content: "-"; }
.dt-faq .a { padding: 0 0 22px; line-height: 1.6; max-width: 60ch; }
.dt-privacy { display: grid; gap: 16px; }
.dt-privacy p:last-child { display: flex; flex-wrap: wrap; gap: 12px; }

.dt-over { padding: clamp(96px, 14vw, 180px) 0 clamp(96px, 14vw, 160px); text-align: center; }
.dt-over-big { font: 700 clamp(1.4rem, 3.8vw, 2.7rem)/1.25 "Silkscreen", monospace; color: var(--doom-yellow); text-transform: uppercase; max-width: 22ch; margin: 0 auto; text-shadow: .07em .07em 0 var(--doom-red-shadow); text-wrap: balance; }
.dt-over-small { margin-top: 26px; color: var(--lilac); font-size: 1.05rem; }

.dt-meter { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: flex; align-items: baseline; gap: 10px; padding: 10px 14px; background: var(--deep); box-shadow: 0 0 0 2px var(--lilac), 5px 5px 0 rgba(0, 0, 0, .5); font-family: "Silkscreen", monospace; color: var(--doom-yellow); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity 200ms steps(3), transform 200ms steps(3); }
.dt-meter span { font-size: .7rem; color: var(--lilac); }
.dt-meter b { font-size: 1.35rem; font-weight: 700; font-variant-numeric: tabular-nums; min-width: 5ch; text-align: right; }
.dt-meter.on { opacity: 1; transform: none; }
.dt-meter.due { background: var(--doom-red); box-shadow: 0 0 0 2px #fff, 5px 5px 0 rgba(0, 0, 0, .5); }
.dt-meter.due b, .dt-meter.due span { color: #fff; }
.dt-meter.due span::after { content: " TOLL DUE"; }
.dt-reel:nth-child(2) b { font-size: 7cqi; }

/* ===== TrailTails page: the walk =====
   Map paper, forest ink, Georgia like the app. A route is drawn down the page
   as you scroll (assets/trailtails.js builds it through each stop's marker).
   Motion is slow and plain: nothing bounces. With reduced motion, or with no
   script, the whole route is simply there. */
.tt { --tt-ink: #1A1714; --tt-soft: #4F4A42; --tt-rule: #DDD5C6; --tt-paper: #F1ECE2; --serif: Georgia, "Times New Roman", serif; }
.tt main { background: var(--cream); color: var(--tt-ink); }
.tt main ::selection { background: var(--forest); color: var(--cream); }
.tt main h2, .tt main h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.03em; text-wrap: balance; }
.tt-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.tt-where { font-family: var(--serif); font-style: italic; font-size: 1.0625rem; color: var(--oxblood); }

.tt-trail { position: relative; }
.tt-route { position: absolute; inset: 0; z-index: 2; pointer-events: none; display: none; overflow: visible; }
.tt-route path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.tt-route .plan { stroke: var(--forest); stroke-opacity: .32; stroke-width: 2; stroke-dasharray: 2 9; }
.tt-route .done { stroke: var(--forest); stroke-width: 5; }
.tt-head { position: absolute; left: 0; top: 0; z-index: 3; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: var(--cream); border: 7px solid var(--forest); box-shadow: 0 0 0 4px var(--cream); display: none; pointer-events: none; will-change: transform; }
.tt-trail.live .tt-route { display: block; }
.tt-trail.live.moving .tt-head { display: block; }

.tt-hero { position: relative; min-height: min(100svh, 860px); display: flex; align-items: center; padding: clamp(120px, 18vh, 170px) 0 clamp(150px, 20vh, 190px); background: var(--tt-paper); overflow: hidden; }
.tt-contours { position: absolute; inset: 0; width: 100%; height: 100%; }
.tt-contours path { fill: none; stroke: var(--forest); stroke-opacity: .17; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.tt-hero .wrap { position: relative; }
.tt-word { font-family: var(--serif); font-weight: 400; color: var(--forest); font-size: clamp(3.9rem, 21vw, 12.5rem); line-height: .88; letter-spacing: -.055em; margin-left: -.04em; }
.tt-say { margin-top: clamp(20px, 3vw, 34px); font-family: var(--serif); font-size: clamp(1.6rem, 3.7vw, 2.9rem); line-height: 1.12; letter-spacing: -.025em; max-width: 19ch; text-wrap: balance; }
.tt-lede { margin-top: 20px; max-width: 34rem; font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.55; color: var(--tt-soft); }
.tt-soon { margin-top: 22px; font-weight: 600; color: var(--forest); }
.tt-pin { position: absolute; left: calc(var(--gutter) + 20px); bottom: 56px; width: 0; }
.tt-pin svg { display: block; width: 34px; margin-left: -17px; overflow: visible; }
.tt-pin path { fill: var(--forest); }
.tt-pin circle { fill: var(--cream); }
.tt-pin span { position: absolute; left: 24px; top: 6px; padding: 5px 12px; border-radius: 999px; background: #fff; font-size: .875rem; font-weight: 600; box-shadow: 0 1px 4px rgba(26, 23, 20, .16); }
@media (min-width: 900px) { .tt-pin { left: 50%; } }
@media (prefers-reduced-motion: no-preference) {
  .tt-pin { animation: tt-drop 700ms cubic-bezier(.3, .7, .2, 1) 350ms both; }
  @keyframes tt-drop { from { opacity: 0; transform: translateY(-46px); } }
}

.tt-way { padding: clamp(72px, 10vw, 130px) 0 clamp(88px, 12vw, 160px); }
.tt-stops { list-style: none; display: grid; gap: clamp(88px, 13vw, 170px); }
.tt-stop { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; row-gap: 30px; }
.tt-mark { grid-column: 1; grid-row: 1 / span 2; justify-self: center; position: relative; z-index: 3; margin-top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--cream); border: 3px solid var(--forest); box-shadow: 0 0 0 5px var(--cream); transition: background-color 300ms ease; }
.tt-stop.reached .tt-mark { background: var(--forest); }
.tt-text { grid-column: 2; max-width: 31rem; }
.tt-text h3 { margin-top: 8px; font-size: clamp(1.9rem, 4.2vw, 3.1rem); line-height: 1.04; color: var(--forest); }
.tt-text p:last-child { margin-top: 16px; font-size: clamp(1.05rem, 1.45vw, 1.175rem); line-height: 1.6; color: var(--tt-soft); }
.tt-show { grid-column: 2; }
.tt .tt-show.phone { --pw: min(280px, 78%); }
.tt .phone video { display: block; width: 100%; height: auto; aspect-ratio: 552 / 1200; object-fit: cover; object-position: top; border-radius: calc(var(--pw) * .142); background: var(--tt-paper); }
.tt-sheet { width: min(100%, 26rem); padding: 26px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--tt-rule), 0 18px 40px -24px rgba(44, 74, 62, .45); }
.tt-sheet > p { font-family: var(--serif); font-size: 1.35rem; letter-spacing: -.02em; }
.tt-chips { list-style: none; margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.tt-chips li { padding: 9px 15px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--forest); color: var(--forest); font-weight: 600; font-size: .9375rem; }
.tt-chips li:nth-child(3n + 1) { background: var(--forest); color: var(--cream); }
.tt-brief dl { margin-top: 14px; }
.tt-brief dl div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-top: 1px solid var(--tt-rule); }
.tt-brief dt { color: var(--tt-soft); }
.tt-brief dd { font-weight: 600; text-align: right; }
.tt-brief small { display: block; padding-top: 14px; border-top: 1px solid var(--tt-rule); font-size: .875rem; color: var(--tt-soft); }
@media (min-width: 900px) {
  .tt-stop { grid-template-columns: minmax(0, 1fr) 230px minmax(0, 1fr); column-gap: 0; align-items: center; }
  .tt-mark { grid-column: 2; grid-row: 1; margin: 0; justify-self: start; left: 62px; }
  .tt-text { grid-column: 1; grid-row: 1; justify-self: end; }
  .tt-show { grid-column: 3; grid-row: 1; justify-self: start; }
  .tt-stop:nth-child(even) .tt-mark { justify-self: end; left: -62px; }
  .tt-stop:nth-child(even) .tt-text { grid-column: 3; justify-self: start; }
  .tt-stop:nth-child(even) .tt-show { grid-column: 1; justify-self: end; }
  .tt .tt-show.phone { --pw: 290px; }
}
/* With no script there is no drawn route: a plain dotted line joins the stops. */
.tt-trail:not(.live) .tt-stops { position: relative; }
.tt-trail:not(.live) .tt-stops::before { content: ""; position: absolute; top: 0; bottom: 0; left: 19px; border-left: 2px dotted var(--forest); opacity: .4; }
@media (min-width: 900px) { .tt-trail:not(.live) .tt-stops::before { left: 50%; } }

.tt-finish { position: relative; background: var(--forest); color: var(--cream); padding: clamp(96px, 12vw, 160px) 0 clamp(80px, 10vw, 130px); }
.tt-finish .wrap { position: relative; display: grid; gap: 44px; }
.tt-end { position: absolute; left: calc(var(--gutter) + 20px); top: calc(-1 * clamp(96px, 12vw, 160px)); width: 2px; height: 2px; margin-left: -1px; }
.tt-finish .tt-where { color: var(--honey-light); }
.tt-finish h2 { margin-top: 10px; font-size: clamp(2.3rem, 6vw, 4.6rem); line-height: 1; max-width: 12ch; }
.tt-finish-copy p:last-child { margin-top: 22px; max-width: 33rem; font-size: clamp(1.05rem, 1.45vw, 1.175rem); line-height: 1.6; color: rgba(248, 245, 240, .86); }
.tt-card { width: min(100%, 360px); aspect-ratio: 3 / 4; display: flex; flex-direction: column; border-radius: 6px; background: #223A30; box-shadow: 0 0 0 1px rgba(248, 245, 240, .14), 0 40px 70px -30px rgba(0, 0, 0, .6); overflow: hidden; }
.tt-card svg { flex: 1; min-height: 0; width: 100%; padding: 6% 10% 0; }
.tt-card .heath { fill: #2F5142; }
.tt-card .pond { fill: #4F7C86; }
.tt-card .loop { fill: none; stroke: var(--cream); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.tt-card .dot { fill: var(--honey-light); stroke: #223A30; stroke-width: 3; }
.tt-card figcaption { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2px 16px; padding: 0 8% 8%; }
.tt-card b { grid-column: 1 / -1; font-family: var(--serif); font-weight: 400; font-size: clamp(5rem, 24vw, 7rem); line-height: .82; letter-spacing: -.05em; }
.tt-card b i { font-style: normal; font-size: .26em; letter-spacing: 0; margin-left: .3em; font-family: var(--sans); font-weight: 600; }
.tt-card span { font-family: var(--serif); font-size: 1.2rem; margin-top: 14px; }
.tt-card em { font-family: var(--serif); font-style: normal; font-size: 1.2rem; color: var(--honey-light); }
.tt-card-note { font-size: .9375rem; color: rgba(248, 245, 240, .72); max-width: 24rem; }
@media (prefers-reduced-motion: no-preference) {
  .tt-card.wait .loop { stroke-dashoffset: 1; }
  .tt-card.wait .dot { opacity: 0; }
  .tt-card .loop { transition: stroke-dashoffset 2600ms cubic-bezier(.45, 0, .3, 1) 200ms; }
  .tt-card .dot { transition: opacity 300ms ease 2700ms; }
}
@media (min-width: 900px) {
  .tt-finish .wrap { grid-template-columns: 6fr 5fr; align-items: center; column-gap: 64px; }
  .tt-end { left: 50%; }
  .tt-card { grid-column: 2; grid-row: 1 / span 2; justify-self: center; width: min(100%, 400px); }
  .tt-finish-copy { align-self: end; }
  .tt-card-note { align-self: start; }
}

.tt-also, .tt-seen, .tt-faq { padding: clamp(80px, 10vw, 140px) 0 0; }
.tt-faq { padding-bottom: clamp(80px, 10vw, 140px); }
.tt-also h2, .tt-seen h2, .tt-faq h2 { font-size: clamp(2.1rem, 5vw, 3.8rem); line-height: 1; color: var(--forest); }
.tt-also dl { margin-top: 36px; border-top: 1px solid var(--tt-rule); }
.tt-also dl div { display: grid; gap: 6px 40px; padding: 22px 0; border-bottom: 1px solid var(--tt-rule); }
.tt-also dt { font-family: var(--serif); font-size: 1.45rem; letter-spacing: -.02em; }
.tt main dd { margin: 0; }
.tt-also dd { color: var(--tt-soft); line-height: 1.6; max-width: 40rem; }
@media (min-width: 820px) { .tt-also dl div { grid-template-columns: 4fr 7fr; align-items: baseline; } }
.tt-seen .wrap { display: grid; gap: 36px; }
.tt-seen ul { list-style: none; display: grid; gap: 14px; }
.tt-seen li { display: grid; gap: 6px; padding: 24px; border-radius: 18px; background: var(--tt-paper); }
.tt-seen b { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; letter-spacing: -.02em; color: var(--forest); }
.tt-seen span { color: var(--tt-soft); line-height: 1.55; }
@media (min-width: 820px) { .tt-seen ul { grid-template-columns: 1fr 1fr; } .tt-seen li:first-child { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .tt-seen .wrap { grid-template-columns: 4fr 8fr; align-items: start; } }
.tt-faq details, .tt-faq details:last-child { border-color: var(--tt-rule); }
.tt-faq summary { font-family: var(--serif); font-weight: 400; font-size: clamp(1.25rem, 2.2vw, 1.55rem); }
.tt-faq summary::after { box-shadow: inset 0 0 0 1px var(--tt-rule); }
.tt-faq .a { color: var(--tt-soft); }
.tt-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.tt-links .ghost { min-height: 48px; align-items: center; box-shadow: inset 0 0 0 1.5px var(--forest); color: var(--forest); }
.tt-faq summary:focus-visible, .tt-links .ghost:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; }

/* ===== Tailor page: the week that bends =====
   White, cobalt and the app's navy ink. One typeface, heavy and tight. The
   week strip is the page: skip Tuesday and the sessions slide to new days
   (assets/tailor.js). Motion is quick and exact, 300 ms, nothing decorative.
   With reduced motion the week simply shows its new shape. */
.tl { --navy: #0E1A3A; --tl-soft: #4A5372; --tl-pale: #EEF0F8; --tl-rule: #DDE0EC; }
.tl main { background: #fff; color: var(--navy); }
.tl main ::selection { background: var(--cobalt); color: #fff; }
.tl main h2 { font-weight: 800; letter-spacing: -.045em; line-height: 1; text-wrap: balance; }
.tl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.tl-hero { padding: clamp(110px, 15vh, 150px) 0 clamp(56px, 7vw, 96px); }
.tl-name { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -.04em; color: var(--cobalt); }
.tl-say { margin-top: 10px; font-size: clamp(3.1rem, 11.5vw, 9.4rem); font-weight: 800; line-height: .9; letter-spacing: -.06em; margin-left: -.03em; text-wrap: balance; }
.tl-lede { margin-top: clamp(22px, 3vw, 34px); max-width: 39rem; font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--tl-soft); }
.tl-soon { margin-top: 18px; font-weight: 600; color: var(--cobalt); }

.tl-week { margin-top: clamp(40px, 6vw, 72px); padding: clamp(20px, 3vw, 36px); border-radius: 28px; background: var(--tl-pale); }
.tl-week-top { display: grid; gap: 6px 32px; align-items: baseline; }
.tl-week-top h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -.035em; }
.tl-week-top p { color: var(--tl-soft); font-size: 1.0625rem; }
@media (min-width: 760px) { .tl-week-top { grid-template-columns: auto 1fr; } }
.tl-days { list-style: none; margin-top: 22px; display: grid; gap: 6px; }
.tl-days li { position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr); align-items: center; gap: 8px; min-height: 62px; }
.tl-days li > b { font-weight: 600; font-size: .9375rem; color: var(--tl-soft); }
.tl-days li.today > b { color: var(--cobalt); font-weight: 800; }
.tl-days li.free::after, .tl-days li.skipped::after { content: "Rest"; grid-column: 2; display: flex; align-items: center; min-height: 62px; padding: 0 16px; border-radius: 14px; border: 1.5px dashed #B9BFD6; color: var(--tl-soft); font-size: .9375rem; }
.tl-days li.skipped::after { content: "Skipped"; }
.tl-s { grid-column: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 62px; padding: 10px 16px; border-radius: 14px; background: #fff; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--tl-rule); will-change: transform; }
.tl-s span { font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.tl-s i { font-style: normal; font-size: .875rem; font-variant-numeric: tabular-nums; white-space: nowrap; opacity: .78; }
.tl-s.run { box-shadow: inset 0 0 0 1.5px var(--cobalt); color: var(--cobalt-deep); }
.tl-s.hard { background: var(--cobalt); color: #fff; box-shadow: none; }
.tl-s.strength { background: var(--navy); color: #fff; box-shadow: none; }
.tl-s.strength i, .tl-s.hard i { opacity: .86; }
.tl-s.moved { outline: 3px solid #F2B705; outline-offset: 2px; }
@media (min-width: 900px) {
  .tl-days { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
  .tl-days li { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-items: stretch; gap: 10px; }
  .tl-days li.free::after, .tl-days li.skipped::after { grid-column: 1; min-height: 132px; align-items: flex-end; padding: 16px; }
  .tl-s { grid-column: 1; flex-direction: column; align-items: flex-start; justify-content: space-between; min-height: 132px; padding: 16px; }
  .tl-s span { font-size: 1.125rem; }
}
.tl-act { margin-top: 22px; display: grid; gap: 18px; align-items: start; }
@media (min-width: 900px) { .tl-act { grid-template-columns: auto 1fr; gap: 28px; } }
.tl-skip { justify-self: start; min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--cobalt); color: #fff; font: 700 1rem/1 var(--sans); letter-spacing: -.01em; cursor: pointer; transition: background-color 160ms var(--ease), transform 140ms var(--ease); }
.tl-skip:hover { background: var(--cobalt-deep); }
.tl-skip:active { transform: scale(.97); }
.tl-skip[aria-pressed="true"] { background: #fff; color: var(--cobalt); box-shadow: inset 0 0 0 1.5px var(--cobalt); }
.tl-skip:focus-visible, .tl-faq summary:focus-visible, .tl-links .ghost:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }
.tl-note { padding: 18px 22px; border-radius: 18px; background: #fff; min-height: 7.4em; }
.tl-from { font-weight: 700; font-size: .875rem; color: var(--cobalt); }
.tl-msg { margin-top: 4px; font-size: 1.0625rem; line-height: 1.5; max-width: 62ch; }
.tl-eg { margin-top: 16px; font-size: .875rem; color: var(--tl-soft); }
@media (prefers-reduced-motion: no-preference) {
  .tl-s.sliding { transition: transform 300ms cubic-bezier(.3, .7, .2, 1); }
  .tl-skip.nudge { animation: tl-nudge 1.6s ease-in-out 2; }
  @keyframes tl-nudge { 50% { box-shadow: 0 0 0 8px rgba(29, 63, 214, .16); } }
}

.tl-start, .tl-why, .tl-ask { padding: clamp(72px, 9vw, 130px) 0 0; }
.tl-start .wrap, .tl-why .wrap, .tl-ask .wrap { display: grid; gap: 44px; align-items: center; }
.tl-copy h2, .tl-one h2, .tl-small h2, .tl-faq h2 { font-size: clamp(2.3rem, 5.6vw, 4.4rem); }
.tl-copy > p { margin-top: 20px; max-width: 34rem; font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.55; color: var(--tl-soft); }
.tl-copy > p + p { margin-top: 12px; }
.tl .phone { --pw: min(280px, 76vw); justify-self: center; }
.tl .phone video { display: block; width: 100%; height: auto; aspect-ratio: 552 / 1200; object-fit: cover; object-position: top; border-radius: calc(var(--pw) * .142); background: var(--tl-pale); }
@media (min-width: 900px) {
  .tl-start .wrap { grid-template-columns: 7fr 5fr; }
  .tl-why .wrap { grid-template-columns: 5fr 7fr; }
  .tl .phone { --pw: 300px; }
}

.tl-one { margin-top: clamp(72px, 9vw, 130px); padding: clamp(72px, 9vw, 130px) 0; background: var(--cobalt); color: #fff; }
.tl-one h2 { max-width: 13ch; }
.tl-vs { margin-top: clamp(36px, 5vw, 64px); display: grid; gap: 16px; }
@media (min-width: 900px) { .tl-vs { grid-template-columns: 5fr 7fr; } }
.tl-vs > div { padding: clamp(22px, 3vw, 34px); border-radius: 24px; display: flex; flex-direction: column; }
.tl-vs h3 { font-size: 1.125rem; font-weight: 700; letter-spacing: -.02em; }
.tl-vs ul { list-style: none; margin: 18px 0 22px; display: grid; gap: 8px; }
.tl-vs li { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 14px 16px; border-radius: 14px; }
.tl-vs li span { font-weight: 700; letter-spacing: -.02em; text-align: right; }
.tl-vs > div > p { margin-top: auto; line-height: 1.5; }
.tl-two { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.tl-two li { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.tl-two li:last-child { transform: rotate(-1.2deg); }
.tl-uno { background: #fff; color: var(--navy); }
.tl-uno li { background: var(--tl-pale); }
.tl-uno li b { color: var(--tl-soft); font-weight: 600; }
.tl-uno li:nth-child(3) span { font-weight: 500; color: var(--tl-soft); }
.tl-uno > p { color: var(--tl-soft); }

.tl-chat { margin-top: 28px; display: grid; gap: 10px; max-width: 34rem; }
.tl-chat p { font-size: 1.0625rem; line-height: 1.5; }
.tl-chat .me { justify-self: end; max-width: 85%; padding: 12px 18px; border-radius: 20px; background: var(--tl-pale); }
.tl-chat .it { padding: 4px 0 8px; }
@media (min-width: 900px) { .tl-ask .wrap { display: block; } .tl-ask .tl-copy { display: grid; grid-template-columns: 5fr 7fr; column-gap: 44px; row-gap: 22px; align-items: start; } .tl-ask h2 { grid-column: 1; grid-row: 1 / span 3; } .tl-ask .tl-copy > p, .tl-ask .tl-chat { grid-column: 2; margin-top: 0; } }

.tl-small { padding: clamp(72px, 9vw, 130px) 0 0; }
.tl-small ul { list-style: none; margin-top: 36px; border-top: 1.5px solid var(--navy); }
.tl-small li { display: grid; gap: 8px 40px; padding: 24px 0; border-bottom: 1px solid var(--tl-rule); align-items: baseline; }
.tl-small b { font-size: clamp(1.5rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.tl-small span { font-size: 1.0625rem; line-height: 1.55; color: var(--tl-soft); max-width: 38rem; }
@media (min-width: 820px) { .tl-small li { grid-template-columns: 5fr 7fr; } }

.tl-faq { padding: clamp(72px, 9vw, 130px) 0 clamp(80px, 10vw, 140px); }
.tl-faq details, .tl-faq details:last-child { border-color: var(--tl-rule); }
.tl-faq summary::after { box-shadow: inset 0 0 0 1px var(--tl-rule); }
.tl-faq .a { color: var(--tl-soft); }
.tl-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.tl-links .ghost { min-height: 48px; align-items: center; box-shadow: inset 0 0 0 1.5px var(--cobalt); color: var(--cobalt); }

/* ===== Home: the three doors =====
   Each door shows a small live preview of its page's moment, in that app's
   own colour and type (assets/home.js): a lever that pulls itself, a route
   that draws, a week that reshuffles. Previews are decoration, hidden from
   screen readers, and stand still with reduced motion. */
.panel .demo { display: grid; place-items: center; container-type: inline-size; padding: 8px 0 clamp(36px, 6vw, 88px); }
.panel .copy { padding-bottom: 0; }
@media (min-width: 960px) { .panel { align-items: center; min-height: 0; padding-bottom: 0; } .panel .copy { padding: clamp(36px, 6vw, 88px) 0; } .panel .demo { padding-top: clamp(36px, 6vw, 88px); } }
.panel.doomtoll .demo .dt-machine { width: min(300px, 70cqi); margin-right: min(46px, 11cqi); }
.panel.doomtoll .dt-reel:first-child b { font-size: 3.5cqi; }
.panel.trailtails .tt-card { width: min(320px, 82cqi); }
.panel.trailtails .tt-card .cap { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2px 16px; padding: 0 8% 8%; }
.panel.trailtails .tt-card b { font-size: clamp(4.4rem, 22cqi, 6rem); }
.mini-week { list-style: none; width: min(420px, 100%); padding: 14px; border-radius: 24px; background: #fff; display: grid; gap: 5px; }
.mini-week li { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 6px; min-height: 50px; }
.mini-week li > b { font-weight: 600; font-size: .875rem; color: #4A5372; padding-left: 6px; }
.mini-week .tl-s { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; min-height: 50px; border-radius: 12px; padding: 8px 14px; }
.mini-week .tl-s span { font-size: 1rem; }
.mini-week li.free::after, .mini-week li.skipped::after { content: "Rest"; display: flex; align-items: center; min-height: 50px; padding: 0 14px; border-radius: 12px; border: 1.5px dashed #B9BFD6; color: #4A5372; font-size: .875rem; }
.mini-week li.skipped::after { content: "Skipped"; }

.about { margin-top: 28px; color: #A3A39D; font-size: 1.0625rem; line-height: 1.6; }
.about a { color: var(--paper); }
