/* TrackFree marketing site (trackfree.io: home, pricing, privacy, terms).
   One stylesheet, no build step. Light theme only. Mobile first.
   Order: fonts, tokens, base, layout, header and footer, atmosphere, reveal,
   product pictures, pricing, legal.
   Rule of the page: one headline, one sentence and one picture per scene. */

/* ── fonts (SIL OFL, see fonts/LICENSE-OFL*.txt) ──────────────────── */
@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/instrument-serif-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/instrument-serif-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Familjen Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("./fonts/familjen-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Familjen Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("./fonts/familjen-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── tokens ───────────────────────────────────────────────────────── */
:root {
  /* colour: warm paper, navy ink (the logo's wordmark) */
  --tf-paper: #f6f5f1;
  --tf-surface: #ffffff;
  --tf-well: #fbfaf8;
  --tf-sunken: #efede8;
  --tf-ink: #1b2440;
  --tf-ink-2: #4a5268;          /* secondary, 7.0:1 on paper */
  --tf-ink-3: #636a80;          /* quiet, 4.9:1 on paper, so small text passes WCAG AA */
  --tf-line: #e5e2db;
  --tf-line-soft: #eceae4;
  --tf-focus: #c2187f;

  /* atmosphere: the pin's amber-to-magenta gradient, diffused, with a little sky */
  --tf-rose: #f0a3c6;
  --tf-coral: #f5aa90;
  --tf-honey: #f6cb74;
  --tf-sky: #abc8f1;
  --tf-pearl: #fffbe4;

  /* shipment status: inside product pictures only */
  --tf-transit: #2457c5;
  --tf-transit-tint: #e9f0fd;
  --tf-out: #b3166f;
  --tf-out-tint: #fbe9f3;
  --tf-delivered: #1c6b52;
  --tf-delivered-tint: #e6f1ec;
  --tf-exception: #b4410f;
  --tf-exception-tint: #fdece2;

  /* type: the serif for display, the grotesque for everything else */
  --tf-font: "Familjen Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --tf-serif: "Instrument Serif", "Iowan Old Style", "Times New Roman", Times, serif;
  --tf-font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; /* inside product pictures */
  --tf-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --tf-display: clamp(2.5rem, 1.75rem + 3.2vw, 4rem);         /* 40 → 64 */
  --tf-headline: clamp(2.25rem, 1.6rem + 2.75vw, 3.5rem);     /* 36 → 56 */
  --tf-title: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem);       /* 22 → 28 */
  --tf-body: clamp(1.125rem, 1.07rem + 0.25vw, 1.25rem);      /* 18 → 20 */
  --tf-small: 0.9375rem;                                       /* 15 */

  /* space */
  --tf-gutter: clamp(20px, 5vw, 64px);
  --tf-section: clamp(72px, 12vw, 168px);
  --tf-page: 1200px;

  /* radius */
  --tf-r-control: 8px; --tf-r-sheet: 16px; --tf-r-pill: 999px;

  /* shadow: soft, two layers */
  --tf-shadow-sheet: 0 2px 6px rgba(27, 36, 64, 0.05), 0 18px 50px rgba(27, 36, 64, 0.10);
  --tf-shadow-button: 0 4px 12px rgba(27, 36, 64, 0.10);

  /* motion */
  --tf-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --tf-fast: 200ms;
  --tf-slow: 900ms;
  --tf-line-gap: 200ms;   /* delay between one line and the next */
}

/* ── base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; -webkit-tap-highlight-color: rgba(27, 36, 64, 0.08); }
body {
  margin: 0;
  background: var(--tf-paper);
  color: var(--tf-ink);
  font: 400 var(--tf-body) / 1.55 var(--tf-font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, p, figure, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--tf-focus); outline-offset: 4px; border-radius: 4px; }
::selection { background: var(--tf-ink); color: var(--tf-paper); }

.skip {
  position: absolute; left: var(--tf-gutter); top: -100px; z-index: 10;
  padding: 10px 16px; border-radius: var(--tf-r-control);
  background: var(--tf-ink); color: var(--tf-surface); font-size: var(--tf-small); text-decoration: none;
}
.skip:focus { top: 12px; }

/* type */
h1, h2, .display, .headline {
  font-family: var(--tf-serif); font-weight: 400;
  font-size: var(--tf-headline); line-height: 1.05; letter-spacing: -0.01em;
  text-wrap: balance; overflow-wrap: anywhere;
  -webkit-font-smoothing: auto;
}
h1, .display { font-size: var(--tf-display); }
.body { font-size: var(--tf-body); color: var(--tf-ink-2); text-wrap: pretty; }
.quiet { font-size: var(--tf-small); line-height: 1.5; color: var(--tf-ink-3); }

/* ── layout ───────────────────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--tf-page); margin-inline: auto; padding-inline: var(--tf-gutter); }

/* scene: one idea per screen */
.scene { position: relative; isolation: isolate; padding-block: var(--tf-section); }
.scene--center { text-align: center; }
.scene--center .two { margin-inline: auto; }

/* two-line block: a headline and at most one sentence */
.two { max-width: 60rem; }
.two > * + * { margin-top: clamp(16px, 2vw, 24px); }
.two .body { max-width: 31rem; text-wrap: balance; }
.scene--center .two .body { margin-inline: auto; }
.two .actions { margin-top: clamp(28px, 3.5vw, 40px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.scene--center .actions { justify-content: center; }

/* split: words on one side, the picture on the other. Stacks on a phone. */
.split { display: grid; gap: clamp(40px, 7vw, 96px); align-items: center; }
.split > .picture { display: flex; justify-content: center; min-width: 0; }
@media (min-width: 1040px) {
  .split { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr); }
  .split > .picture { justify-content: flex-end; }
  .split--flip > .two { order: 2; }
  .split--flip > .picture { order: 1; justify-content: flex-start; }
}

/* words beside words (platform pages): both columns start at the top */
@media (min-width: 1040px) { .split--top { align-items: start; } }
.scene--first { padding-top: clamp(24px, 4vw, 56px); }
.scene--join { padding-bottom: 0; }   /* this scene and the next read as one */
.two .more { margin-top: clamp(18px, 2.2vw, 26px); font-size: 1.0625rem; }

/* plain lines: what a thing does, one line each, hairlines between */
.lines { margin-top: clamp(22px, 2.8vw, 32px); max-width: 31rem; border-top: 1px solid var(--tf-line); font-size: 1.0625rem; line-height: 1.45; color: var(--tf-ink-2); }
.lines li { padding-block: 12px; border-bottom: 1px solid var(--tf-line); text-wrap: pretty; }
.lines--open { margin-top: 0; max-width: none; font-size: var(--tf-body); }
.lines--open li { padding-block: clamp(14px, 1.8vw, 20px); }

/* three steps: a serif numeral, then the line */
.steps { counter-reset: step; border-top: 1px solid var(--tf-line); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); align-items: baseline; gap: 8px; padding-block: clamp(16px, 2vw, 24px); border-bottom: 1px solid var(--tf-line); color: var(--tf-ink-2); text-wrap: pretty; }
.steps li::before { content: counter(step); font-family: var(--tf-serif); font-size: var(--tf-title); line-height: 1; color: var(--tf-ink); -webkit-font-smoothing: auto; }

/* rows: a name, one line, one link (the integrations list) */
.rows { border-top: 1px solid var(--tf-line); }
.rows li { display: grid; gap: 6px 32px; padding-block: clamp(20px, 2.6vw, 30px); border-bottom: 1px solid var(--tf-line); }
.rows h2 { font-family: var(--tf-serif); font-size: var(--tf-title); line-height: 1.15; letter-spacing: -0.005em; }
.rows h2 a { text-decoration: none; }
.rows p { color: var(--tf-ink-2); text-wrap: pretty; }
@media (min-width: 900px) { .rows li { grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr) auto; align-items: baseline; } }

/* the one button, the one link */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 14px 28px;
  border-radius: var(--tf-r-pill);
  background: var(--tf-ink); color: var(--tf-surface);
  font-size: 1.0625rem; font-weight: 500; line-height: 1; text-decoration: none; white-space: nowrap;
  box-shadow: var(--tf-shadow-button);
  transition: transform var(--tf-fast) var(--tf-ease), box-shadow var(--tf-fast) ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(27, 36, 64, 0.16); }
.button:active { transform: none; }
/* the header's button is quiet, so the ink button stays the only loud thing in view */
.button--small {
  min-height: 40px; padding: 9px 18px; font-size: 0.9375rem;
  background: transparent; color: var(--tf-ink); box-shadow: inset 0 0 0 1.5px rgba(27, 36, 64, 0.18);
}
.button--small:hover { transform: none; box-shadow: inset 0 0 0 1.5px var(--tf-ink); }

.link {
  color: var(--tf-ink-2);
  text-decoration: underline; text-decoration-color: rgba(27, 36, 64, 0.22); text-decoration-thickness: 1.5px; text-underline-offset: 5px;
  transition: color var(--tf-fast) ease, text-decoration-color var(--tf-fast) ease;
}
.link:hover { color: var(--tf-ink); text-decoration-color: var(--tf-ink); }
@media (pointer: coarse) { .link { display: inline-block; padding-block: 10px; margin-block: -10px; } }

/* ── header: logo, four links, log in, the quiet button ───────────── */
.site-header {
  position: relative; z-index: 5;
  display: flex; flex-wrap: wrap; align-items: center; gap: 0 clamp(16px, 2.6vw, 32px);
  max-width: var(--tf-page); margin-inline: auto;
  padding: 14px var(--tf-gutter) 4px;
}
.site-header .logo { display: inline-flex; align-items: center; min-height: 40px; margin-inline-end: auto; }
.site-header .logo img { width: 132px; height: auto; }
.site-header a:not(.button):not(.logo) {
  color: var(--tf-ink-2); font-size: 0.9375rem; text-decoration: none; white-space: nowrap;
  transition: color var(--tf-fast) ease;
}
.site-header a:not(.button):not(.logo):hover, .site-header a[aria-current="page"]:not(.logo) { color: var(--tf-ink); }
.site-actions { display: flex; align-items: center; gap: 18px; }
/* under 720px the links are a quiet second row under the logo. No menu, no icon. */
.site-nav { order: 3; flex-basis: 100%; display: flex; gap: 0 22px; }
.site-nav a { display: inline-block; padding-block: 10px 6px; }
.site-nav .wide { display: none; }
@media (min-width: 720px) {
  .site-header { flex-wrap: nowrap; padding-block: 18px; }
  .site-header a:not(.button):not(.logo) { font-size: 1rem; }
  .site-nav { order: 0; flex-basis: auto; gap: clamp(16px, 2.6vw, 32px); }
  .site-nav a { padding-block: 0; }
}
@media (min-width: 960px) { .site-nav .wide { display: inline; } }
/* a thumb gets 44px */
@media (pointer: coarse) {
  .site-header a:not(.logo) { position: relative; }
  .site-header a:not(.logo)::after { content: ""; position: absolute; left: -6px; right: -6px; top: 50%; height: 44px; transform: translateY(-50%); }
}

/* ── footer: the logo, two rows of links, one line ─────────────────── */
.site-footer {
  max-width: var(--tf-page); margin-inline: auto;
  padding: 64px var(--tf-gutter) 48px;
  display: grid; gap: 32px;
  border-top: 1px solid var(--tf-line);
  font-size: var(--tf-small); color: var(--tf-ink-3);
}
.site-footer .logo img { width: 116px; height: auto; }
.footer-links { display: grid; gap: 20px; }
.footer-links ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; justify-items: start; }
.site-footer a { display: inline-flex; align-items: center; min-height: 24px; color: var(--tf-ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--tf-ink); }
.footer-meta a { display: inline; }
@media (pointer: coarse) {
  .footer-links ul { row-gap: 0; }
  .footer-links a { min-height: 44px; }
  .footer-meta { line-height: 2.4; }
}
@media (min-width: 600px) { .footer-links ul { display: flex; flex-wrap: wrap; gap: 12px 28px; } }
@media (min-width: 1024px) {
  .site-footer { grid-template-columns: auto 1fr; align-items: start; column-gap: 64px; }
  .footer-links ul { justify-content: flex-end; }
  .footer-meta { grid-column: 1 / -1; }
}

/* ── atmosphere: soft colour fields that drift behind a hero or a close ──
   <div class="atmo" aria-hidden="true"><i></i><i></i><i></i><i></i><b></b></div>
   First child of a .scene. Only transforms animate, and each field follows a closed
   path with linear timing so nothing ever stops. The softness is in each gradient,
   not in a blur filter. */
.atmo {
  --a1: var(--tf-honey); --a2: var(--tf-coral); --a3: var(--tf-rose); --a4: var(--tf-sky);   /* dawn: warm on the left, cool on the right */
  --atmo-strength: 1;
  --atmo-cap: 46%;          /* where the field has faded out entirely */
  --atmo-hold: 18%;         /* up to here it is still at full weight */
  --atmo-foot: 0%;
  position: absolute; inset: 0; z-index: -1;
  overflow: hidden; pointer-events: none;
  opacity: calc(var(--atmo-strength) * 0.7);
  -webkit-mask-image: linear-gradient(to top, transparent 0, #000 var(--atmo-foot), #000 var(--atmo-hold), transparent var(--atmo-cap));
          mask-image: linear-gradient(to top, transparent 0, #000 var(--atmo-foot), #000 var(--atmo-hold), transparent var(--atmo-cap));
}
.atmo[data-mood="dusk"] { --a1: var(--tf-sky); --a2: var(--tf-rose); --a3: var(--tf-coral); --a4: var(--tf-honey); }
.atmo > i, .atmo > b {
  position: absolute; display: block;
  width: 80%; height: 80%;
  will-change: transform;
  animation: 22s linear infinite;
}
.atmo > i::before, .atmo > b::before { content: ""; position: absolute; border-radius: 50%; }
.atmo > i::before { inset: -10.8%; background: radial-gradient(ellipse closest-side, var(--c) 0%, color-mix(in srgb, var(--c) 86%, transparent) 23.3%, color-mix(in srgb, var(--c) 64%, transparent) 44.2%, color-mix(in srgb, var(--c) 40%, transparent) 62.8%, color-mix(in srgb, var(--c) 20%, transparent) 76.7%, color-mix(in srgb, var(--c) 7%, transparent) 88.4%, transparent 100%); }
.atmo > i:nth-child(1) { --c: var(--a1); left: -31%; bottom: -35%; animation-name: atmo-1; animation-duration: 22s; animation-delay: -5s; }
.atmo > i:nth-child(2) { --c: var(--a2); left: -5%;  bottom: -42%; animation-name: atmo-2; animation-duration: 27s; animation-delay: -10s; }
.atmo > i:nth-child(3) { --c: var(--a3); left: 29%;  bottom: -45%; animation-name: atmo-3; animation-duration: 24s; animation-delay: -3s; }
.atmo > i:nth-child(4) { --c: var(--a4); left: 62%;  bottom: -32%; animation-name: atmo-4; animation-duration: 30s; animation-delay: -14s; }
.atmo > b { left: 13%; bottom: -22%; width: 76%; height: 62%; mix-blend-mode: screen; animation-name: atmo-5; animation-duration: 32s; animation-delay: -8s; }
.atmo > b::before { inset: -5.15%; background: radial-gradient(ellipse closest-side, color-mix(in srgb, var(--tf-pearl) 62%, transparent) 0%, color-mix(in srgb, var(--tf-pearl) 34%, transparent) 46.2%, color-mix(in srgb, var(--tf-pearl) 12%, transparent) 74.4%, transparent 100%); }

@keyframes atmo-1 {
  0%   { transform: translate3d(-3%, 4%, 0)   rotate(-9deg) scale(0.98, 1.02); }
  18%  { transform: translate3d(5%, -2%, 0)   rotate(-2deg) scale(1.04, 1.05); }
  36%  { transform: translate3d(12%, -9%, 0)  rotate(10deg) scale(1.12, 1.08); }
  55%  { transform: translate3d(9%, -11%, 0)  rotate(4deg)  scale(1.08, 1.10); }
  72%  { transform: translate3d(1%, -5%, 0)   rotate(-4deg) scale(1.02, 1.06); }
  88%  { transform: translate3d(-5%, 1%, 0)   rotate(-8deg) scale(0.97, 1.00); }
  100% { transform: translate3d(-3%, 4%, 0)   rotate(-9deg) scale(0.98, 1.02); }
}
@keyframes atmo-2 {
  0%   { transform: translate3d(-7%, 4%, 0)   rotate(6deg)   scale(1.08, 0.94); }
  15%  { transform: translate3d(2%, -1%, 0)   rotate(0deg)   scale(1.04, 1.02); }
  34%  { transform: translate3d(9%, -8%, 0)   rotate(-10deg) scale(0.98, 1.16); }
  52%  { transform: translate3d(5%, -12%, 0)  rotate(-6deg)  scale(1.02, 1.10); }
  70%  { transform: translate3d(-3%, -7%, 0)  rotate(2deg)   scale(1.06, 1.00); }
  86%  { transform: translate3d(-9%, -1%, 0)  rotate(7deg)   scale(1.10, 0.96); }
  100% { transform: translate3d(-7%, 4%, 0)   rotate(6deg)   scale(1.08, 0.94); }
}
@keyframes atmo-3 {
  0%   { transform: translate3d(8%, 6%, 0)    rotate(-7deg) scale(1.06, 1.00); }
  17%  { transform: translate3d(-1%, 2%, 0)   rotate(-2deg) scale(1.10, 1.05); }
  38%  { transform: translate3d(-13%, -7%, 0) rotate(8deg)  scale(1.13, 1.12); }
  56%  { transform: translate3d(-9%, -11%, 0) rotate(3deg)  scale(1.08, 1.10); }
  73%  { transform: translate3d(0%, -6%, 0)   rotate(-3deg) scale(1.04, 1.06); }
  89%  { transform: translate3d(7%, 0%, 0)    rotate(-6deg) scale(1.02, 1.02); }
  100% { transform: translate3d(8%, 6%, 0)    rotate(-7deg) scale(1.06, 1.00); }
}
@keyframes atmo-4 {
  0%   { transform: translate3d(6%, 0%, 0)     rotate(8deg)  scale(1.00, 1.06); }
  16%  { transform: translate3d(-2%, -4%, 0)   rotate(2deg)  scale(1.04, 1.10); }
  35%  { transform: translate3d(-11%, -11%, 0) rotate(-9deg) scale(1.08, 1.15); }
  54%  { transform: translate3d(-6%, -13%, 0)  rotate(-4deg) scale(1.06, 1.12); }
  71%  { transform: translate3d(2%, -8%, 0)    rotate(3deg)  scale(1.02, 1.08); }
  87%  { transform: translate3d(7%, -3%, 0)    rotate(7deg)  scale(0.98, 1.04); }
  100% { transform: translate3d(6%, 0%, 0)     rotate(8deg)  scale(1.00, 1.06); }
}
@keyframes atmo-5 {
  0%   { transform: translate3d(-14%, 5%, 0)  rotate(-13deg) scale(0.90, 1.00); }
  19%  { transform: translate3d(-2%, 0%, 0)   rotate(-4deg)  scale(1.02, 1.04); }
  37%  { transform: translate3d(17%, -13%, 0) rotate(10deg)  scale(1.14, 1.10); }
  53%  { transform: translate3d(11%, -16%, 0) rotate(5deg)   scale(1.10, 1.08); }
  71%  { transform: translate3d(-2%, -9%, 0)  rotate(-3deg)  scale(1.00, 1.04); }
  87%  { transform: translate3d(-12%, -2%, 0) rotate(-10deg) scale(0.94, 1.00); }
  100% { transform: translate3d(-14%, 5%, 0)  rotate(-13deg) scale(0.90, 1.00); }
}
/* phones: taller fields so the colour still reaches mid-screen, and one less layer */
@media (max-width: 640px) {
  .atmo > i { width: 120%; height: 58%; }
  .atmo > i:nth-child(1) { left: -60%; bottom: -22%; }
  .atmo > i:nth-child(2) { left: -25%; bottom: -28%; }
  .atmo > i:nth-child(3) { left: 15%;  bottom: -30%; }
  .atmo > i:nth-child(4) { left: 45%;  bottom: -20%; }
  .atmo > b { display: none; }
}
/* the hero: the field is a band that starts a little above the picture, gathers at its upper edge and
   in the gutters beside it, and fades into paper below */
.atmo[data-field="card"] {
  inset: var(--atmo-card-top, 30%) 0 0 0;
  --atmo-cap: 100%; --atmo-hold: 76%; --atmo-foot: 34%;
  opacity: var(--atmo-strength);
}
.atmo[data-field="card"] > i:nth-child(1) { bottom: 4%; }
.atmo[data-field="card"] > i:nth-child(2) { bottom: 0%; }
.atmo[data-field="card"] > i:nth-child(3) { bottom: -4%; }
.atmo[data-field="card"] > i:nth-child(4) { bottom: 6%; }
.atmo[data-field="card"] > b { bottom: 18%; }
@media (max-width: 640px) {
  .atmo[data-field="card"] { --atmo-hold: 80%; --atmo-foot: 40%; }
  .atmo[data-field="card"] > i { height: 70%; }
}
/* a field out of view costs nothing (site.js sets data-offscreen) */
.atmo[data-offscreen] > * { animation-play-state: paused; }

/* ── reveal: lines first, then the picture ────────────────────────────
   Without JavaScript everything is simply there. site.js marks only the blocks still below the
   screen (.reveal-wait) and brings each one in (.is-in) when it is reached. */
.reveal-wait [data-line], .reveal-wait [data-picture] { opacity: 0; transform: translate3d(0, 14px, 0); }
.reveal-wait [data-picture] { transform: translate3d(0, 22px, 0); }
.reveal-wait.is-in [data-line], .reveal-wait.is-in [data-picture] {
  opacity: 1; transform: none;
  transition: opacity var(--tf-slow) var(--tf-ease), transform var(--tf-slow) var(--tf-ease);
  transition-delay: calc(var(--i, 0) * var(--tf-line-gap));
}
/* the first scene arrives from CSS alone, from the first paint (from 0.01, so it still counts for LCP) */
@keyframes tf-arrive { from { opacity: 0.01; transform: translate3d(0, 14px, 0); } to { opacity: 1; transform: none; } }
main > :first-child [data-line], main > :first-child [data-picture] {
  animation: tf-arrive var(--tf-slow) var(--tf-ease) both;
  animation-delay: calc(var(--i, 0) * var(--tf-line-gap));
}

/* ── hero ─────────────────────────────────────────────────────────── */
.hero { padding-top: clamp(40px, 7vw, 88px); padding-bottom: clamp(64px, 9vw, 128px); }
.hero .two .body { max-width: 38rem; }
.hero-picture { width: min(100% - 2 * var(--tf-gutter), 1040px); margin: clamp(44px, 6vw, 76px) auto 0; }

/* product pictures: drawn in HTML, so they stay sharp and light. Each one is an image to a screen reader. */
.shot {
  font-family: var(--tf-font-ui); font-size: 13.5px; line-height: 1.4; color: var(--tf-ink);
  text-align: left; -webkit-font-smoothing: antialiased;
}
.sheet { background: var(--tf-surface); border-radius: var(--tf-r-sheet); box-shadow: var(--tf-shadow-sheet); overflow: hidden; }

/* browser frame */
.browser-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 11px 16px; background: var(--tf-well); border-bottom: 1px solid var(--tf-line-soft); }
.browser-dots { display: flex; gap: 6px; }
.browser-dots i { width: 10px; height: 10px; border-radius: 50%; background: #dedbd3; }
.browser-url {
  padding: 5px 18px; min-width: min(320px, 50vw);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center;
  border-radius: var(--tf-r-pill); background: var(--tf-sunken); color: var(--tf-ink-3); font-size: 12.5px;
}

/* 1. the tracking page a customer sees, in the store's own look */
.tp { --brand: #1f6b54; }
.tp-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px clamp(18px, 3vw, 30px); border-bottom: 1px solid var(--tf-line-soft); }
.tp-brand { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.tp-nav { display: none; gap: 24px; color: var(--tf-ink-2); }
.tp-body { display: grid; gap: clamp(20px, 3vw, 30px); padding: clamp(18px, 3vw, 30px); }
.tp-order { color: var(--tf-ink-3); }
.tp-status { margin-top: 4px; font-size: clamp(26px, 3.2vw, 32px); font-weight: 600; line-height: 1.1; letter-spacing: -0.025em; }
.tp-when { margin-top: 6px; font-size: 14.5px; color: var(--tf-ink-2); }

.tp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 22px; }
.tp-steps li { padding-top: 12px; font-size: 12px; color: var(--tf-ink-3); position: relative; }
.tp-steps li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 2px; background: var(--tf-sunken); }
.tp-steps li.is-done, .tp-steps li.is-now { color: var(--tf-ink); }
.tp-steps li.is-done::before, .tp-steps li.is-now::before { background: var(--brand); }
.tp-steps li.is-now { font-weight: 600; }

.tp-events { margin-top: 22px; }
.tp-events li { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding: 0 0 16px 24px; }
.tp-events li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 9px; height: 9px; border-radius: 50%; background: var(--tf-surface); box-shadow: inset 0 0 0 2px #cfcbc1; }
.tp-events li::after { content: ""; position: absolute; left: 6px; top: 18px; bottom: 0; width: 1.5px; background: var(--tf-line); }
.tp-events li:last-child { padding-bottom: 0; }
.tp-events li:last-child::after { display: none; }
.tp-events li.is-now::before { background: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent); }
.tp-events b { font-weight: 600; }
.tp-events span { grid-column: 1 / -1; color: var(--tf-ink-3); }
.tp-events time { grid-column: 2; grid-row: 1; color: var(--tf-ink-3); white-space: nowrap; font-variant-numeric: tabular-nums; }

.tp-carrier { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--tf-line-soft); color: var(--tf-ink-3); font-size: 12.5px; }
.tp-carrier code { font-family: var(--tf-mono); font-size: 11.5px; letter-spacing: -0.01em; }

.tp-map { position: relative; min-height: 220px; border-radius: 14px; overflow: hidden; background: #f3efe7; }
.tp-map svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tp-map text { font: 500 12px var(--tf-font-ui); fill: var(--tf-ink-2); paint-order: stroke; stroke: #f3efe7; stroke-width: 3px; stroke-linejoin: round; }
.tp-map .route { fill: none; stroke: var(--brand); stroke-width: 3; stroke-linecap: round; }
.tp-map .route-case { fill: none; stroke: #f3efe7; stroke-width: 7; stroke-linecap: round; }
.tp-map .stop { fill: var(--tf-surface); stroke: var(--brand); stroke-width: 2.5; }
.tp-map .here { fill: var(--brand); stroke: var(--tf-surface); stroke-width: 2.5; }
.tp-map .ring { fill: var(--brand); opacity: 0.28; transform-box: fill-box; transform-origin: center; animation: tf-ring 2.4s var(--tf-ease) infinite; }
@keyframes tf-ring { from { transform: scale(0.6); opacity: 0.4; } to { transform: scale(2.6); opacity: 0; } }

@media (min-width: 720px) { .tp-nav { display: flex; } }
/* the map stands beside the updates only when its column is wide enough to keep the city names readable */
@media (min-width: 860px) {
  .tp-body { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
  .tp-map { min-height: 0; }
}
@media (max-width: 859px) {
  .tp-map text { font-size: 15px; }
  .tp-main .tp-events li:nth-child(n + 4) { display: none; }
  .tp-main .tp-events li:nth-child(3) { padding-bottom: 0; }
  .tp-main .tp-events li:nth-child(3)::after { display: none; }
}
/* a phone: the picture is one screen, not three. Status, route, the two latest updates. */
@media (max-width: 599px) {
  .tp-body { gap: 18px; }
  .tp-main { display: contents; }
  .tp-main > .tp-order { order: 1; margin-bottom: -18px; }
  .tp-main > .tp-status { order: 2; margin-bottom: -18px; }
  .tp-main > .tp-when { order: 3; margin-bottom: -4px; }
  .tp-main > .tp-steps { order: 4; margin-top: 0; }
  .tp-map { order: 5; min-height: 190px; }
  .tp-main .tp-events { order: 6; margin-top: 0; }
  .tp-main .tp-events li:nth-child(n + 3) { display: none; }
  .tp-main .tp-events li:nth-child(2) { padding-bottom: 0; }
  .tp-main .tp-events li:nth-child(2)::after { display: none; }
  .tp-carrier { display: none; }
}

/* 2. the merchant's shipment list */
.board { width: 100%; max-width: 580px; }
.board-bar { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--tf-line-soft); font-size: 14px; font-weight: 600; }
.board-bar img { width: 20px; height: auto; }
.board-tabs { display: flex; gap: 8px; padding: 14px 18px 8px; overflow: hidden; }
.board-tabs span { flex: none; padding: 5px 11px; border-radius: var(--tf-r-pill); background: var(--tf-sunken); color: var(--tf-ink-2); font-size: 12.5px; white-space: nowrap; }
.board-tabs span b { font-weight: 600; margin-inline-start: 4px; font-variant-numeric: tabular-nums; }
.board-tabs .is-on { background: var(--tf-ink); color: var(--tf-surface); }
.board-rows { padding: 2px 8px 10px; }
.board-rows li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 11px 10px; }
.board-rows li + li::before { content: ""; position: absolute; left: 10px; right: 10px; top: 0; height: 1px; background: var(--tf-line-soft); }
.board-rows .n { color: var(--tf-ink-3); font-variant-numeric: tabular-nums; }
.board-rows .who { min-width: 0; }
.board-rows .who b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board-rows .who span { display: block; color: var(--tf-ink-3); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board-rows .via { display: none; color: var(--tf-ink-2); }
.board-rows li.is-flag { background: var(--tf-exception-tint); border-radius: 10px; }
.board-rows li.is-flag::before, .board-rows li.is-flag + li::before { display: none; }
.board-rows li.is-flag .who span { color: var(--tf-exception); }
@media (max-width: 399px) {
  .board-rows li { grid-template-columns: minmax(0, 1fr) auto; }
  .board-rows .n { display: none; }
}
@media (min-width: 480px) {
  .board-rows li { grid-template-columns: 44px minmax(0, 1fr) 84px 124px; }
  .board-rows .via { display: block; }
}

.pill { display: inline-flex; align-items: center; gap: 6px; justify-self: start; padding: 4px 10px 4px 8px; border-radius: var(--tf-r-pill); font-size: 12px; font-weight: 500; white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill--transit { color: var(--tf-transit); background: var(--tf-transit-tint); }
.pill--out { color: var(--tf-out); background: var(--tf-out-tint); }
.pill--delivered { color: var(--tf-delivered); background: var(--tf-delivered-tint); }
.pill--exception { color: var(--tf-exception); background: var(--tf-surface); }

/* 3. the customer's phone: three emails from the store, newest on top */
.phone { width: min(300px, 100%); aspect-ratio: 300 / 572; padding: 10px; border-radius: 48px; background: var(--tf-ink); box-shadow: var(--tf-shadow-sheet); }
.phone-screen {
  position: relative; height: 100%; border-radius: 38px; overflow: hidden;
  padding: 54px 12px 16px;
  background: linear-gradient(165deg, #f8dcc6 0%, #f3c6d6 46%, #c9d0f1 100%);
}
.phone-screen::after { content: ""; position: absolute; left: 50%; bottom: 8px; width: 104px; height: 4px; border-radius: 2px; background: rgba(27, 36, 64, 0.5); transform: translateX(-50%); }
.phone-screen::before { content: ""; position: absolute; left: 50%; top: 11px; width: 84px; height: 24px; border-radius: 12px; background: var(--tf-ink); transform: translateX(-50%); }
.phone-day { text-align: center; font-size: 15px; font-weight: 500; color: rgba(27, 36, 64, 0.78); }
.phone-clock { text-align: center; font-size: 68px; font-weight: 600; line-height: 1; letter-spacing: -0.03em; color: var(--tf-ink); margin-bottom: 30px; }
.mail { display: grid; grid-template-rows: 1fr; margin-bottom: 8px; }
.mail > div { min-height: 0; overflow: hidden; }
.mail-card { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; padding: 11px 12px; border-radius: 18px; background: rgba(255, 255, 255, 0.74); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); font-size: 12.5px; line-height: 1.35; }
.mail-icon { width: 30px; height: 30px; border-radius: 8px; background: var(--tf-ink); display: grid; place-items: center; }
.mail-icon svg { width: 16px; height: 16px; }
.mail-top { display: flex; justify-content: space-between; gap: 8px; }
.mail-top b { font-weight: 600; }
.mail-top time { color: var(--tf-ink-3); font-size: 11.5px; white-space: nowrap; }
.mail-text em { display: block; font-style: normal; font-weight: 500; }
.mail-text > span { display: block; color: var(--tf-ink-2); }
/* they arrive in the order they were sent: the oldest first, each new one above it */
.reveal-wait .mail { grid-template-rows: 0fr; opacity: 0; margin-bottom: 0; }
.reveal-wait.is-in .mail { animation: tf-mail 700ms var(--tf-ease) both; animation-delay: calc(500ms + var(--n, 0) * 1100ms); }
@keyframes tf-mail {
  from { grid-template-rows: 0fr; opacity: 0; margin-bottom: 0; }
  to { grid-template-rows: 1fr; opacity: 1; margin-bottom: 8px; }
}

/* 4. the tracking page editor: the look changes, the page stays the same */
.studio { width: 100%; max-width: 580px; display: grid; --brand: #1f6b54; --brand-font: var(--tf-font-ui); --brand-radius: 10px; }
.studio[data-look="clay"] { --brand: #b24a2a; --brand-font: var(--tf-serif); --brand-radius: 999px; }
.studio[data-look="navy"] { --brand: #2a3a7a; --brand-font: var(--tf-font-ui); --brand-radius: 4px; }
.studio-panel { padding: 18px; display: grid; gap: 16px; align-content: start; background: var(--tf-well); border-bottom: 1px solid var(--tf-line-soft); }
.studio-panel > p { font-weight: 600; font-size: 14px; }
.studio-field { display: grid; gap: 7px; }
.studio-field > span { display: flex; justify-content: space-between; font-size: 12px; color: var(--tf-ink-3); }
.studio-field em { font-style: normal; color: var(--tf-delivered); }
.studio-field em::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-inline-end: 5px; border-radius: 50%; background: currentColor; vertical-align: 1px; }
.studio-file { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--tf-ink-2); }
.studio-file i { width: 26px; height: 26px; border-radius: var(--brand-radius); background: var(--brand); color: var(--tf-surface); display: grid; place-items: center; font: 600 12px var(--tf-font-ui); font-style: normal; transition: background 500ms ease, border-radius 500ms ease; }
.swatches { display: flex; gap: 10px; }
.swatches i { width: 22px; height: 22px; border-radius: 50%; background: var(--c); transition: box-shadow var(--tf-fast) ease; }
.studio:not([data-look]) .swatches i:nth-child(1), .studio[data-look="moss"] .swatches i:nth-child(1),
.studio[data-look="clay"] .swatches i:nth-child(2), .studio[data-look="navy"] .swatches i:nth-child(3) { box-shadow: 0 0 0 2px var(--tf-well), 0 0 0 4px var(--c); }
.seg { display: inline-grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 9px; background: var(--tf-sunken); font-size: 12.5px; }
.seg span { padding: 5px 12px; border-radius: 7px; text-align: center; color: var(--tf-ink-2); transition: background var(--tf-fast) ease; }
.studio:not([data-look="clay"]) .seg span:nth-child(1), .studio[data-look="clay"] .seg span:nth-child(2) { background: var(--tf-surface); color: var(--tf-ink); box-shadow: 0 1px 2px rgba(27, 36, 64, 0.10); }
.studio-domain { padding: 7px 9px; border-radius: 9px; background: var(--tf-surface); box-shadow: inset 0 0 0 1px var(--tf-line); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.studio-view { padding: clamp(18px, 3vw, 26px); display: grid; gap: 16px; align-content: start; }
.studio-store { display: flex; align-items: center; gap: 10px; font: 600 16px var(--brand-font); letter-spacing: -0.01em; }
.studio[data-look="clay"] .studio-store { font-weight: 400; font-size: 20px; }
.studio-store i { width: 28px; height: 28px; border-radius: var(--brand-radius); background: var(--brand); color: var(--tf-surface); display: grid; place-items: center; font: 600 13px var(--tf-font-ui); font-style: normal; transition: background 500ms ease, border-radius 500ms ease; }
.studio-card { padding: 16px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--tf-line); display: grid; gap: 4px; }
.studio-card .tp-order { font-size: 12.5px; }
.studio-status { font: 600 24px/1.15 var(--brand-font); letter-spacing: -0.02em; }
.studio[data-look="clay"] .studio-status { font-weight: 400; font-size: 29px; letter-spacing: -0.01em; }
.studio-card .tp-when { font-size: 13px; margin-top: 0; }
.studio-card .tp-steps { margin-top: 14px; }
.studio-card .tp-events { margin-top: 18px; font-size: 13px; }
.studio-card .tp-events time { display: none; }
.studio-card .tp-events li.is-now::before { transition: background 500ms ease, box-shadow 500ms ease; }
.studio-card .tp-steps li { font-size: 0; padding-top: 4px; }
.studio-card .tp-steps li::before { transition: background 500ms ease; }
.studio-button { justify-self: start; padding: 9px 16px; border-radius: var(--brand-radius); background: var(--brand); color: var(--tf-surface); font-size: 13px; font-weight: 500; transition: background 500ms ease, border-radius 500ms ease; }
@media (min-width: 560px) {
  .studio { grid-template-columns: 232px minmax(0, 1fr); }
  .studio-panel { border-bottom: 0; border-right: 1px solid var(--tf-line-soft); }
}

/* 5. the dashboard's delivery numbers */
.insight { width: 100%; max-width: 580px; }
.insight-range { margin-inline-start: auto; padding: 4px 10px; border-radius: var(--tf-r-pill); background: var(--tf-sunken); color: var(--tf-ink-2); font-size: 12px; font-weight: 400; }
.insight-body { display: grid; gap: 12px; padding: 14px; }
.insight-card { padding: 16px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--tf-line); display: grid; gap: 10px; align-content: start; }
.insight-label { color: var(--tf-ink-3); font-size: 12.5px; }
.insight-figure { font-size: 28px; font-weight: 600; line-height: 1; letter-spacing: -0.025em; }
.insight-figure span { font-size: 13.5px; font-weight: 400; letter-spacing: 0; color: var(--tf-ink-2); }
.insight-stack { display: flex; gap: 2px; height: 10px; border-radius: 5px; overflow: hidden; }
.insight-stack--thin { height: 6px; }
.insight .is-delivered { --c: var(--tf-delivered); }
.insight .is-transit { --c: var(--tf-transit); }
.insight .is-out { --c: var(--tf-out); }
.insight .is-exception { --c: var(--tf-exception); }
.insight .is-rest { --c: var(--tf-sunken); }
.insight-stack i { background: var(--c); min-width: 3px; }
.insight-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: var(--tf-ink-2); }
.insight-legend li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-inline-end: 6px; border-radius: 50%; background: var(--c); }
.insight-legend b { font-weight: 600; color: var(--tf-ink); font-variant-numeric: tabular-nums; }
.insight-bars { display: grid; gap: 9px; }
.insight-bars li { display: grid; grid-template-columns: 76px minmax(0, 1fr) 56px; align-items: center; gap: 8px; font-size: 12.5px; color: var(--tf-ink-2); }
.insight-bars i { height: 8px; width: var(--w); border-radius: 4px; background: var(--tf-ink); opacity: 0.82; }
.insight-bars b { font-weight: 500; color: var(--tf-ink); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.insight-foot { color: var(--tf-ink-3); font-size: 12.5px; }
@media (min-width: 520px) {
  .insight-body { grid-template-columns: 1.25fr 1fr; }
  .insight-card--wide { grid-column: 1 / -1; }
}

/* platforms: names, not logos */
.platforms {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px clamp(22px, 3.4vw, 40px);
  max-width: 54rem; margin: clamp(32px, 4.5vw, 56px) auto 0;
  font-family: var(--tf-serif); font-size: var(--tf-title); line-height: 1.3; color: var(--tf-ink-2);
}
.platforms a { color: inherit; text-decoration: underline; text-decoration-color: rgba(27, 36, 64, 0.2); text-decoration-thickness: 1px; text-underline-offset: 6px; }
.platforms a:hover { color: var(--tf-ink); text-decoration-color: var(--tf-ink); }
.platforms + .body { max-width: 44rem; margin: clamp(24px, 3vw, 36px) auto 0; text-wrap: balance; }

/* the close */
.close { min-height: 78vh; min-height: 78svh; display: grid; align-items: center; padding-block: clamp(72px, 12vh, 128px); }
.close .two .body { max-width: 36rem; }
.close .body span { display: inline-block; }   /* each sentence keeps to its own line where it fits */

/* ── pricing ──────────────────────────────────────────────────────── */
.intro { padding-block: clamp(56px, 9vw, 120px) clamp(36px, 5vw, 64px); }
.intro .two .body { max-width: 34rem; }
.section { padding-bottom: clamp(64px, 9vw, 128px); }

/* the plans as one row of hairlines: the gaps are the lines */
.plans { display: grid; gap: 1px; background: var(--tf-line); border-block: 1px solid var(--tf-line); }
.plan { background: var(--tf-paper); padding-block: clamp(22px, 2.6vw, 32px) clamp(24px, 2.8vw, 36px); display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 6px 16px; }
.plan h2 { font-family: var(--tf-font); font-size: 1.125rem; font-weight: 500; line-height: 1.3; letter-spacing: 0; color: var(--tf-ink-2); }
.plan .price { font-family: var(--tf-serif); line-height: 1.05; letter-spacing: -0.01em; -webkit-font-smoothing: auto; }
.plan .price { grid-column: 2; grid-row: 1 / span 2; text-align: right; font-size: 2.5rem; }
.plan .price small { display: block; font-family: var(--tf-font); font-size: var(--tf-small); line-height: 1.3; letter-spacing: 0; color: var(--tf-ink-3); }
.plan .allowance { font-size: 1.0625rem; line-height: 1.4; color: var(--tf-ink-2); }
.plan .allowance b { font-weight: 500; color: var(--tf-ink); font-variant-numeric: tabular-nums; }
.plan .allowance span { white-space: nowrap; }
@media (min-width: 900px) {
  /* one row of plans; the name, the price and the allowance each share a row across the columns */
  .plans { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; }
  .plan { grid-row: span 3; grid-template-rows: subgrid; grid-template-columns: 1fr; align-items: start; row-gap: 6px; padding-inline: clamp(14px, 1.6vw, 22px); }
  .plan:first-child { padding-inline-start: 0; }
  /* the cadence sits beside the price, and drops under it (at its own height) when a long price leaves no room */
  .plan .price { grid-column: auto; grid-row: auto; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; text-align: left; font-size: clamp(2.75rem, 2.2rem + 1.8vw, 3.5rem); }
  .plan .allowance { margin-top: 8px; }
  .plan .allowance span { display: block; }
}
.plans-notes { margin-top: 24px; display: grid; gap: 6px; }
.plans-empty { padding-block: 32px; border-block: 1px solid var(--tf-line); }

/* questions: the question on the left, the answer on the right */
.qa { margin-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--tf-line); }
.qa > div { display: grid; gap: 8px; padding-block: clamp(20px, 2.6vw, 30px); border-bottom: 1px solid var(--tf-line); }
.qa dt { font-size: var(--tf-title); font-weight: 500; line-height: 1.25; letter-spacing: -0.02em; }
.qa dd { color: var(--tf-ink-2); max-width: 36rem; text-wrap: pretty; }
@media (min-width: 900px) { .qa > div { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 96px); } }

/* ── legal: long-form reading ─────────────────────────────────────── */
.legal .intro { padding-bottom: clamp(28px, 4vw, 48px); }
.prose { max-width: 42rem; color: var(--tf-ink-2); font-size: 1.0625rem; line-height: 1.65; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--tf-font); font-size: 1.25rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; color: var(--tf-ink); margin-top: 2.4em; text-wrap: pretty; }
.prose a { color: var(--tf-ink); text-underline-offset: 4px; text-decoration-color: rgba(27, 36, 64, 0.3); overflow-wrap: anywhere; }
.prose a:hover { text-decoration-color: var(--tf-ink); }
.prose ul { list-style: disc; padding-left: 1.2em; }
.prose li + li { margin-top: 0.4em; }
.prose address { font-style: normal; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .atmo > *, .tp-map .ring { animation-play-state: paused !important; }
  main > :first-child [data-line], main > :first-child [data-picture] { animation: none; }
  .reveal-wait [data-line], .reveal-wait [data-picture] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .reveal-wait .mail { grid-template-rows: 1fr; opacity: 1; margin-bottom: 8px; animation: none !important; }
  .button, .studio * { transition: none !important; }
}
