/* Tetherd pages. Loaded after site.css, which supplies type, buttons, FAQ, specs, legal and footer.
   Tetherd's own colours, "orange, charcoal and silver" (since 2026-11-05; was midnight and tangerine):
   a light silver page with charcoal text and orange buttons, one charcoal band (How it works) and a charcoal
   departures board. Orange text on light grounds uses the deeper --td-tang-ink / --td-tang-deep so it stays readable. */

:root {
	--td-tang: #ff6a2b; --td-tang-hover: #ff8048;   /* orange: buttons, the logo's d and signal, dots, prices on charcoal */
	--td-tang-deep: #d24e12;                        /* large orange figures on white (plan prices) */
	--td-tang-ink: #b53a09;                         /* orange text and links on light grounds */
	--td-focus: #c2410c;
	--td-char: #2a2e35; --td-char-2: #343942; --td-char-3: #1f2227; /* charcoal, raised charcoal, deepest charcoal */
	--td-on-char: #b9bec7;                          /* soft text on charcoal */
	--td-silver: #e9ebee; --td-silver-2: #f4f5f7; --td-silver-mid: #c9ced6;
	--td-ring: rgba(42, 46, 53, 0.1);               /* hairline around white cards */
	--td-peach: #ffb38f;                            /* soft accent inside dark screens only */
	--td-tint: #fff1e8; --td-tint-ring: #f6cdb4; --td-tint-ink: #7a2e0a; /* notes and warnings */
	/* kept for anything that still names the old token */
	--td-night: var(--td-char); --td-night-2: var(--td-char-2);
}

/* Re-point the site tokens so every shared component (sections, details, FAQ, legal, footer) takes the silver page */
.td-page {
	--ink: #2a2e35; --ink-2: #5a616c; --ink-3: #7b828d;
	--paper: #ffffff; --paper-2: var(--td-silver); --line: #d5d9df;
	--link: var(--td-tang-ink); --link-dark: var(--td-tang-ink);
	background: var(--td-silver); color: var(--ink);
}
.td-page ::selection { background: rgba(255, 106, 43, 0.3); color: var(--td-char); }
.td-page :focus-visible { outline-color: var(--td-focus); }

.theme-td { background: var(--td-silver); color: var(--ink); }
.theme-td .muted { color: var(--ink-2); }
.theme-td-2 { background: var(--td-silver-2); color: var(--ink); }
/* The one charcoal band (How it works), so the light page has a break */
.theme-band { background: var(--td-char); color: #fff; --ink: #ffffff; --ink-2: var(--td-on-char); --ink-3: #8a909a; --line: rgba(255, 255, 255, 0.14); }
.theme-band .muted { color: var(--td-on-char); }
.theme-band ::selection { background: rgba(255, 106, 43, 0.45); color: #fff; }
.theme-band :focus-visible { outline-color: var(--td-tang); }

/* the system's "Pill lift" (DESIGN.md), softened for a light ground */
.btn--tang { background: var(--td-tang); color: var(--td-char); box-shadow: 0 8px 20px -12px rgba(42, 46, 53, 0.45); }
.btn--tang:hover { background: var(--td-tang-hover); }
.td-page .link { color: var(--td-tang-ink); }
.theme-band .link { color: #ff8a50; font-weight: 500; }

/* ---------- The logo: lowercase "tetherd", orange d with two signal waves ---------- */

/* outlined shapes from tools/tetherd-logo.json; its viewBox is 140 units tall (the route arcs above the letters),
   with 100 units = the letters' size */
.td-logo { display: block; width: auto; overflow: visible; }
.td-logo .td-logo__word { fill: currentColor; }
.td-logo .td-logo__accent { fill: var(--td-tang); }
.td-logo .td-logo__ping { fill: var(--td-tang); fill-opacity: 0.5; }

/* ---------- Header: one sticky silver bar (flytetherd.com, since 2026-11-05) ----------
   Built on site.css's .gnav, so site.js runs the phone menu. It replaces Byteyard's bar + the old Tetherd sub-nav,
   and keeps the sub-nav's 52px height, so everything that sits under it (--sub-h) lines up as before. */

:root { --nav-h: 52px; --sub-h: 52px; }
.gnav[data-tone="td"], .gnav[data-tone="td"].is-open { color: var(--td-char); }
.gnav[data-tone="td"]::before, .gnav[data-tone="td"].is-open::before { background: rgba(244, 245, 247, 0.9); box-shadow: inset 0 -1px 0 rgba(42, 46, 53, 0.1); }
.gnav[data-tone="td"] .gnav__links > a { color: var(--td-char); opacity: 0.8; }
.gnav[data-tone="td"] .gnav__links > a:hover { opacity: 1; }
.gnav[data-tone="td"] .gnav__links > a[aria-current="page"] { color: var(--td-tang-ink); opacity: 1; font-weight: 600; }
.gnav[data-tone="td"] :focus-visible { outline-color: var(--td-focus); }
.td-head .td-head__brand { display: flex; align-items: center; }
.td-head .td-head__brand .td-logo { width: auto; height: 31px; }
.td-head .gnav__links > .td-head__cta { opacity: 1; padding: 6px 14px; color: var(--td-char); box-shadow: none; }
@media (min-width: 834px) and (max-width: 1023px) { .td-head .gnav__links { gap: 22px; } }
@media (max-width: 833px) {
	.gnav[data-tone="td"] .gnav__links { background: var(--td-silver-2); }
	.gnav[data-tone="td"] .gnav__links > a { opacity: 1; }
	.td-head .gnav__links > .td-head__cta { margin-top: 18px; min-height: 48px; padding: 12px 24px; font-size: 1.0625rem; letter-spacing: 0; }
}
@media (prefers-reduced-transparency: reduce) { .gnav[data-tone="td"]::before { background: var(--td-silver-2); -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* ---------- Hero ---------- */

.td-hero { padding-top: clamp(80px, 11vw, 150px); padding-bottom: clamp(56px, 7vw, 96px); text-align: center; overflow: hidden; }
.td-hero .t-hero em { font-style: normal; color: var(--td-tang-ink); }
.td-hero .t-hero .td-logo { height: 1.4em; margin: 0 auto; color: var(--td-char); }
.td-hero .td-by { display: block; margin-top: 14px; font-size: clamp(1.0625rem, 0.95rem + 0.5vw, 1.375rem); font-weight: 500; letter-spacing: 0; line-height: 1.3; color: var(--ink-2); }
.td-hero .t-sub { max-width: 38rem; margin: 22px auto 0; }
.td-hero .cta-row { margin-top: 32px; }
.td-kicker { display: block; margin-bottom: 14px; font-size: clamp(1rem, 0.9rem + 0.4vw, 1.25rem); font-weight: 600; letter-spacing: -0.01em; color: var(--td-tang-ink); }
.td-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 34px; color: var(--ink); font-size: 0.9375rem; }
.td-facts > span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 9px; border-radius: 50%; background: var(--td-tang); vertical-align: 2px; }
.td-hero--art { padding-top: clamp(48px, 5vw, 72px); padding-bottom: clamp(20px, 2.5vw, 32px); }
.td-hero--art .t-sub { max-width: 44rem; }
.td-hero--art .td-facts { margin-top: 22px; }

/* ---------- The landing scene: flight routes behind a phone ---------- */

.td-art { position: relative; width: 100%; max-width: 1240px; margin: clamp(56px, 5vw, 72px) auto 0; aspect-ratio: 1200 / 540; container-type: inline-size; }
.td-routes { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.td-routes--narrow { display: none; }
.td-routes__arc { fill: none; stroke: #b4bac4; stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 2 7; }
.td-routes__dot { fill: #9aa1ab; }
.td-routes text { fill: #5a616c; font: 600 13px/1 var(--font); letter-spacing: 0.08em; text-anchor: middle; }
.td-routes__lit { fill: none; stroke: var(--td-tang); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 2 7; opacity: 0.7; }
.td-routes__flown { fill: none; stroke: var(--td-tang); stroke-width: 2; stroke-linecap: round; }
.td-routes__home, .td-routes__to { fill: var(--td-tang); }
.td-routes .td-routes__code { fill: var(--td-char); font-size: 15px; }
.td-routes__plane { fill: var(--td-char); transition: opacity 300ms ease; }
.td-routes__ping { fill: none; stroke: var(--td-tang); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.td-routes.is-landed .td-routes__plane { opacity: 0; }
.js .td-routes.is-landed .td-routes__ping { animation: td-ping 1400ms var(--ease-out) 2; }
@keyframes td-ping { 0% { transform: scale(0.8); opacity: 0.9; } 100% { transform: scale(3.2); opacity: 0; } }

/* the phone sits in a dock that crops its lower part with a soft edge */
.td-art__dock { position: absolute; left: 0; right: 0; top: -20%; bottom: 0; overflow: hidden; -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); pointer-events: none; }
.td-art .td-phone { --pw: 280px; --pw: clamp(220px, 22.5cqw, 290px); position: absolute; left: calc(50% - var(--pw) / 2); top: 21.7%; }
.td-art__note { margin-top: 14px; font-size: 0.75rem; color: var(--ink-2); }

/* ---------- The drawn phone (sized in em from its own width). A dark-mode phone, so its own colours stay dark. ---------- */

.td-phone {
	--pw: 280px; --sys: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
	position: relative; width: var(--pw); aspect-ratio: 9 / 19.5; margin: 0; padding: 0.62em;
	font: 400 calc(var(--pw) * 0.047)/1.25 var(--sys); letter-spacing: 0; color: #f5f5f7; text-align: left;
	border-radius: 3.3em; background: linear-gradient(160deg, #2c2c34, #141418 55%);
	box-shadow: inset 0 0 0 1px #3a3a44, inset 0 1px 1px rgba(255, 255, 255, 0.14), 0 40px 80px -30px rgba(42, 46, 53, 0.55);
}
.td-phone__screen { position: relative; height: 100%; overflow: hidden; border-radius: 2.7em; background: #000; }
.td-phone__bar { position: relative; display: flex; align-items: center; justify-content: space-between; height: 3.3em; padding: 0 1.6em 0 2.2em; font-weight: 600; }
.td-phone__hole { position: absolute; left: 50%; top: 0.95em; width: 1em; height: 1em; margin-left: -0.5em; border-radius: 50%; background: #0c0c0f; box-shadow: inset 0 0 0 1px #1e1e24; }
.td-phone__icons { display: flex; align-items: center; gap: 0.35em; }
.td-phone__slot { display: inline-grid; place-items: center end; min-width: 1.3em; }
.td-phone__slot > * { grid-area: 1 / 1; transition: opacity 160ms ease; }
.td-phone__plane, .td-phone__wifi { width: 1.05em; height: 1.05em; }
.td-phone__bars { display: flex; align-items: flex-end; gap: 0.13em; height: 0.78em; }
.td-phone__bars i { width: 0.21em; border-radius: 0.08em; background: rgba(255, 255, 255, 0.26); transition: background-color 160ms ease; }
.td-phone__bars i:nth-child(1) { height: 35%; } .td-phone__bars i:nth-child(2) { height: 55%; } .td-phone__bars i:nth-child(3) { height: 78%; } .td-phone__bars i:nth-child(4) { height: 100%; }
.td-phone__gen { font-size: 0.82em; font-weight: 700; }
.td-phone__batt { position: relative; width: 1.6em; height: 0.78em; border-radius: 0.24em; box-shadow: inset 0 0 0 0.08em rgba(255, 255, 255, 0.45); }
.td-phone__batt::before { content: ""; position: absolute; inset: 0.14em 0.5em 0.14em 0.14em; border-radius: 0.1em; background: #fff; }
.td-phone__batt::after { content: ""; position: absolute; right: -0.16em; top: 0.25em; width: 0.1em; height: 0.28em; border-radius: 0 0.1em 0.1em 0; background: rgba(255, 255, 255, 0.45); }
.td-phone__app { padding: 0.5em 1.05em 0; }
.td-phone__back { display: flex; align-items: center; gap: 0.15em; height: 2.3em; color: var(--td-tang); }
.td-phone__back svg { width: 1.1em; height: 1.1em; margin-left: -0.3em; }
.td-phone__title { margin: 0.1em 0 0.8em; font-size: 2em; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.td-phone__label { margin: 0 0 0.45em 0.95em; font-size: 0.8em; color: #8e8e96; }
.td-phone__list { margin-bottom: 1.15em; border-radius: 0.95em; background: #1c1c21; }
.td-phone__list li { display: flex; align-items: center; gap: 0.75em; min-height: 3.5em; padding: 0.55em 0.9em; }
.td-phone__list li + li { box-shadow: inset 0 1px 0 #2c2c33; }
.td-phone__sim { display: grid; place-items: center; flex: none; width: 1.95em; height: 1.95em; border-radius: 0.5em; background: #3a3a42; font-size: 0.85em; font-weight: 700; font-style: normal; color: #fff; }
.td-phone__sim.is-td { background: var(--td-tang); color: var(--td-char-3); }
.td-phone__txt { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.td-phone__txt small { margin-top: 0.15em; font-size: 0.8em; color: #8e8e96; }
.td-phone__td .s-on { color: var(--td-peach); }
.td-phone__val { color: #8e8e96; }
.td-phone__list li > svg { width: 0.85em; height: 0.85em; color: #5a5a63; }
.td-phone__sw { position: relative; flex: none; width: 2.9em; height: 1.75em; border-radius: 1em; background: #3a3a42; transition: background-color 200ms ease; }
.td-phone__sw::after { content: ""; position: absolute; left: 0.15em; top: 0.15em; width: 1.45em; height: 1.45em; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); transition: transform 280ms cubic-bezier(0.23, 1, 0.32, 1); }
.td-phone__foot { padding: 0 0.95em; font-size: 0.8em; line-height: 1.35; color: #8e8e96; }
.td-phone__hint { margin: -0.3em 0 0.9em; font-size: 0.85em; line-height: 1.35; color: #a3a3ad; }
.td-phone__home { position: absolute; left: 50%; bottom: 0.55em; width: 7.4em; height: 0.3em; margin-left: -3.7em; border-radius: 1em; background: rgba(255, 255, 255, 0.55); }
.td-phone__cam { display: grid; place-items: center; aspect-ratio: 1; margin: 0.4em 0 1em; border-radius: 1em; background: radial-gradient(120% 90% at 30% 15%, #34343c, #101014 70%); }
.td-phone__frame { --c: var(--td-tang); width: 64%; aspect-ratio: 1; padding: 9%; background:
	linear-gradient(var(--c), var(--c)) top left / 1.6em 0.22em, linear-gradient(var(--c), var(--c)) top left / 0.22em 1.6em,
	linear-gradient(var(--c), var(--c)) top right / 1.6em 0.22em, linear-gradient(var(--c), var(--c)) top right / 0.22em 1.6em,
	linear-gradient(var(--c), var(--c)) bottom left / 1.6em 0.22em, linear-gradient(var(--c), var(--c)) bottom left / 0.22em 1.6em,
	linear-gradient(var(--c), var(--c)) bottom right / 1.6em 0.22em, linear-gradient(var(--c), var(--c)) bottom right / 0.22em 1.6em;
	background-repeat: no-repeat; }
.td-phone__frame svg { display: block; width: 100%; height: 100%; }

/* stages: in the air, landed and searching, connected, or at home on wi-fi */
.td-swap { display: inline-grid; }
.td-swap > span { grid-area: 1 / 1; transition: opacity 180ms ease, filter 180ms ease; }
.td-phone .s-on, .td-phone .s-mid, .td-phone[data-stage="on"] .s-off, .td-phone[data-stage="search"] .s-mid ~ .s-off { opacity: 0; filter: blur(3px); }
.td-phone[data-stage="search"] .s-mid, .td-phone[data-stage="on"] .s-on { opacity: 1; filter: none; }
.td-phone .td-phone__bars, .td-phone__gen, .td-phone__wifi { opacity: 0; }
.td-phone[data-stage="air"] .td-phone__plane { opacity: 1; }
.td-phone:not([data-stage="air"]) .td-phone__plane { opacity: 0; }
.td-phone:not([data-stage="air"]) .td-phone__bars { opacity: 1; }
.td-phone[data-stage="on"] .td-phone__bars i, .td-phone[data-stage="home"] .td-phone__bars i { background: #fff; }
.td-phone[data-stage="on"] .td-phone__gen, .td-phone[data-stage="home"] .td-phone__wifi { opacity: 1; }
.td-phone[data-stage="on"] .td-phone__sw, .td-phone[data-stage="search"] .td-phone__sw { background: var(--td-tang); }
.td-phone[data-stage="on"] .td-phone__sw::after, .td-phone[data-stage="search"] .td-phone__sw::after { transform: translateX(1.15em); }
/* landing plays in order: the line switches on and searches, the signal arrives, then data moves across. Going back is quicker and all at once. */
.td-phone[data-stage="on"] .td-phone__bars { transition-delay: 220ms; }
.td-phone[data-stage="on"] .td-phone__bars i { transition-delay: calc(260ms + var(--i) * 70ms); }
.td-phone[data-stage="on"] .td-phone__gen { transition: opacity 240ms ease 560ms; }
.td-phone[data-stage="on"] .td-phone__td .td-swap > span { transition-duration: 260ms; transition-delay: 520ms; }
.td-phone[data-stage="on"] .td-phone__val .td-swap > span { transition-duration: 260ms; transition-delay: 720ms; }
.td-phone[data-stage="on"] .td-phone__foot .td-swap > span { transition-duration: 260ms; transition-delay: 820ms; }
.is-quiet .td-phone *, .is-quiet .td-phone *::after { transition: none !important; }

/* ---------- Promise strip ---------- */

.td-usps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 40px); padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.td-usps li { display: grid; grid-template-columns: 28px 1fr; gap: 0 14px; align-items: start; }
.td-usps svg { width: 26px; height: 26px; color: var(--td-tang); grid-row: span 2; }
.td-usps strong { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.td-usps span { margin-top: 4px; font-size: 0.9375rem; color: var(--ink-2); line-height: 1.4; }

/* ---------- Destination finder ---------- */

.td-find { max-width: 40rem; margin: clamp(32px, 4vw, 48px) auto 0; }
.td-search { position: relative; }
.td-search svg { position: absolute; left: 20px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--ink-2); pointer-events: none; }
.td-search input {
	width: 100%; min-height: 56px; padding: 14px 20px 14px 50px;
	border: 0; border-radius: 980px; background: #fff; color: var(--ink);
	font: 400 1.0625rem/1.2 var(--font); letter-spacing: -0.01em;
	box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 200ms ease;
	-webkit-appearance: none; appearance: none;
}
.td-search input::placeholder, .td-field input::placeholder { color: #6b727d; }
.td-search input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--td-focus); }
.td-regions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.td-regions button {
	padding: 8px 16px; border: 0; border-radius: 980px; cursor: pointer;
	background: transparent; color: var(--ink-2); font-size: 0.9375rem;
	box-shadow: inset 0 0 0 1px #c3c8d0; transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}
.td-regions button:hover { color: var(--ink); background: rgba(255, 255, 255, 0.6); }
.td-regions button[aria-pressed="true"] { background: var(--td-char); color: #fff; box-shadow: none; font-weight: 500; }

/* The destinations as a departures board: a charcoal board on the silver page, split-flap codes, tabular orange prices */
.td-board {
	--ink: #f4f5f7; --ink-2: var(--td-on-char); --ink-3: #8a909a; --line: rgba(255, 255, 255, 0.12);
	max-width: 74rem; margin: clamp(36px, 4.5vw, 56px) auto 0; padding: 6px 0 10px; border-radius: 28px; background: var(--td-char); color: var(--ink);
}
.td-board__head, .td-row { display: grid; grid-template-columns: 112px minmax(0, 1.05fr) minmax(0, 1.5fr) minmax(0, 1.1fr) 7.5rem 16px; align-items: center; gap: 0 clamp(16px, 2vw, 28px); padding: 0 clamp(18px, 2.4vw, 30px); }
.td-board__head { min-height: 46px; font-size: 0.8125rem; color: var(--td-on-char); }
.td-board__head span:first-child { grid-column: 1 / 3; }
.td-board__head span:last-child { grid-column: 5; text-align: right; }
.td-row { position: relative; min-height: 78px; padding-top: 14px; padding-bottom: 14px; box-shadow: inset 0 1px 0 #3a3f48; color: var(--ink); transition: background-color 160ms ease; }
.td-row:hover { background: #31353d; }
.td-row:active { background: #363b44; }
.td-row:focus-visible { outline: 2px solid var(--td-tang); outline-offset: -2px; border-radius: 14px; }
.td-row[hidden] { display: none; }
.td-row__code { display: flex; gap: 3px; }
.td-row__code i {
	--th: 42px; position: relative; display: grid; place-items: center; width: 31px; height: var(--th); overflow: hidden;
	border-radius: 5px; background: var(--td-char-3); box-shadow: inset 0 0 0 1px #3a3f48;
	font: 600 1.3125rem/1 var(--font); font-style: normal; letter-spacing: 0; color: var(--td-tang);
}
.td-row__code i::after { content: ""; position: absolute; left: 0; right: 0; top: calc(50% - 0.5px); height: 1px; background: rgba(0, 0, 0, 0.8); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05); }
.td-row__dest { display: flex; flex-direction: column; min-width: 0; }
.td-row__name { font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.018em; line-height: 1.2; }
.td-row__sub { margin-top: 2px; font-size: 0.8125rem; color: var(--ink-2); }
.td-card__hit { margin-top: 2px; font-size: 0.8125rem; color: var(--td-peach); }
.td-row__nets, .td-row__plans { font-size: 0.9375rem; line-height: 1.35; color: var(--ink-2); }
.td-row__from { text-align: right; white-space: nowrap; font-size: 0.875rem; color: var(--ink-2); }
.td-row__from b { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.03em; color: var(--td-tang); font-variant-numeric: tabular-nums; }
.td-row__from b small { margin-right: 1px; font-size: 0.875rem; font-weight: 500; letter-spacing: 0; color: var(--ink-2); }
.td-row > svg { width: 16px; height: 16px; color: var(--ink-3); transition: transform 200ms var(--ease-out), color 160ms ease; }
@media (hover: hover) and (pointer: fine) {
	.td-row:hover > svg { transform: translateX(3px); color: var(--td-tang); }
}
/* split-flap tiles: tetherd.js splits each letter into four half-flaps (top and bottom at rest, plus the top half
   that folds down and the bottom half that drops into place) and flips them like an airport departures board */
.td-row__code i.flap { display: block; perspective: 140px; }
.flap > span { position: absolute; left: 0; right: 0; height: 50%; overflow: hidden; background: var(--td-char-3); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.flap > span > b { display: block; height: 200%; font-weight: inherit; line-height: var(--th); text-align: center; }
.flap__top, .flap__fold { top: 0; transform-origin: 50% 100%; }
.flap__bot, .flap__drop { top: 50%; transform-origin: 50% 0; }
.flap__bot > b, .flap__drop > b { transform: translateY(-50%); }
.flap__fold, .flap__drop { z-index: 1; }
.flap__drop { transform: rotateX(90deg); }
.flap::before { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; box-shadow: inset 0 0 0 1px #3a3f48; pointer-events: none; }
.td-row__code i::after { z-index: 2; }
.td-none { max-width: 36rem; margin: 36px auto 0; padding: 22px 24px; border-radius: 18px; background: #fff; text-align: center; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--td-ring); }
.td-none strong { display: block; margin-bottom: 6px; color: var(--ink); font-size: 1.0625rem; }
.td-none .link { font-size: inherit; }

.td-draft { max-width: 52rem; margin: 0 auto; padding: 14px 18px; border-radius: 16px; background: var(--td-tint); color: var(--td-tint-ink); box-shadow: inset 0 0 0 1px var(--td-tint-ring); font-size: 0.9375rem; text-align: center; }
.td-page .price-note { color: var(--ink-2); }

/* ---------- How it works (the charcoal band) ---------- */

.td-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); max-width: 64rem; margin: clamp(48px, 6vw, 80px) auto 0; counter-reset: step; }
.td-steps li { padding: 24px 0 28px; border-top: 1px solid var(--line); counter-increment: step; }
.td-steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 30px; height: 30px; margin-bottom: 14px; border-radius: 50%; background: var(--td-tang); color: var(--td-char); font-weight: 600; letter-spacing: 0; }
.td-steps li > strong { display: block; font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.018em; line-height: 1.2; }
.td-steps li > span { display: block; margin-top: 6px; color: var(--ink-2); }
.theme-band .cta-row { margin-top: clamp(32px, 4vw, 48px); }

/* a small drawn screen over each step */
.td-steps--art li { display: flex; flex-direction: column; padding-top: 0; border-top: 0; }
.td-steps--art li::before { order: 1; }
.td-steps--art li > strong, .td-steps--art li > span { order: 2; }
.td-mini {
	order: 0; display: flex; flex-direction: column; justify-content: center; gap: 12px; height: 168px; margin-bottom: 24px; padding: 20px 22px;
	border-radius: 22px; background: var(--td-char-3); color: #f5f5f7; box-shadow: inset 0 0 0 1px #3a3f48;
	font: 400 15px/1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif; letter-spacing: 0;
}
.td-mini__top { display: flex; align-items: baseline; justify-content: space-between; font-size: 1.0625rem; }
.td-mini__top b { font-weight: 600; }
.td-mini__top > span { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; color: var(--td-tang); font-variant-numeric: tabular-nums; }
.td-mini__top small { margin-right: 1px; font-size: 0.8125rem; color: #9aa0aa; }
.td-mini__chips { display: flex; gap: 6px; }
.td-mini__chips i { flex: 1; padding: 8px 0; border-radius: 10px; background: #2d3139; font-style: normal; font-size: 0.8125rem; font-weight: 600; text-align: center; color: #b9bec7; }
.td-mini__chips i.on { background: var(--td-tang); color: var(--td-char-3); }
.td-mini__sub { font-size: 0.8125rem; color: #9aa0aa; }
.td-mini--mail { flex-direction: row; align-items: center; gap: 18px; }
.td-mini__qr { flex: none; width: 104px; }
.td-mini__qr svg { display: block; width: 100%; height: auto; }
.td-mini__mail { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.td-mini__mail b { font-size: 0.8125rem; font-weight: 600; color: var(--td-tang); }
.td-mini__mail > span { font-size: 1rem; font-weight: 600; line-height: 1.25; }
.td-mini__mail small { font-size: 0.8125rem; color: #9aa0aa; }
.td-mini--on { font-size: 15px; }
.td-mini__status { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; }
.td-mini__status b { font-weight: 600; letter-spacing: -0.01em; }
.td-mini .td-phone__bars { height: 16px; gap: 3px; }
.td-mini .td-phone__bars i { width: 4px; background: #fff; }
.td-mini__line { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 12px; background: #2d3139; }
.td-mini__line > span:first-child { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.td-mini .td-phone__sim { font-size: 13px; }
.td-mini .td-phone__sw { font-size: 15px; background: var(--td-tang); }
.td-mini .td-phone__sw::after { transform: translateX(1.15em); }
.td-steps__note { max-width: 64rem; margin: clamp(24px, 3vw, 36px) auto 0; font-size: 0.8125rem; color: var(--ink-2); text-align: center; }

/* ---------- Refund promise ---------- */

.td-promise { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 64rem; margin: clamp(40px, 5vw, 64px) auto 0; }
.td-promise li { padding: clamp(24px, 2.6vw, 32px); border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1px var(--td-ring); }
.td-promise strong { display: block; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.td-promise span { display: block; margin-top: 8px; color: var(--ink-2); }
.td-more { margin-top: clamp(28px, 3.5vw, 40px); text-align: center; }

/* ---------- Destination page ---------- */

.td-crumbs { display: flex; justify-content: center; gap: 8px; margin-bottom: 26px; font-size: 0.875rem; color: var(--ink-2); }
.td-crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 0.18em; }
.td-crumbs span[aria-hidden] { opacity: 0.5; }
.td-plans { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 14px; max-width: 72rem; margin: clamp(40px, 5vw, 64px) auto 0; }
.td-plan { display: flex; flex-direction: column; padding: clamp(24px, 2.4vw, 30px); border-radius: 26px; background: #fff; box-shadow: inset 0 0 0 1px var(--td-ring); }
.td-plan__data { font-size: clamp(2.5rem, 2rem + 1.4vw, 3.25rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.td-plan__days { margin-top: 8px; font-size: 1rem; color: var(--ink-2); }
.td-plan__good { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.9375rem; line-height: 1.4; color: var(--ink-2); }
.td-plan__price { margin-top: auto; padding-top: 22px; font-size: 2rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: var(--td-tang-deep); font-variant-numeric: tabular-nums; }
.td-plan__price small { margin-right: 2px; font-size: 1rem; font-weight: 500; letter-spacing: -0.01em; color: var(--ink-2); }
.td-plan .btn { margin-top: 18px; width: 100%; }
.td-plan .btn--ghost { color: var(--td-char); box-shadow: inset 0 0 0 1px var(--td-silver-mid); }
.td-plan .btn--ghost:hover { background: rgba(42, 46, 53, 0.04); box-shadow: inset 0 0 0 1px var(--td-tang); }
.td-plan__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.td-plan__tag { flex: none; margin-top: 4px; padding: 4px 11px; border-radius: 980px; background: var(--td-tang); color: var(--td-char); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0; }
.td-plan.is-pick { background: #fff8f3; box-shadow: inset 0 0 0 1.5px var(--td-tang); }
.td-plan__meter { display: block; height: 6px; margin-top: 18px; overflow: hidden; border-radius: 3px; background: #e6e8ec; }
.td-plan__meter i { display: block; height: 100%; border-radius: inherit; background: var(--td-tang); transform: scaleX(var(--f)); transform-origin: left center; }
.js .td-plans[data-reveal] .td-plan__meter i { transform: scaleX(0.06); transition: transform 1000ms var(--ease-out); transition-delay: calc(var(--k, 0) * 90ms + 200ms); }
.js .td-plans.is-in .td-plan__meter i { transform: scaleX(var(--f)); }
.td-plan__days { margin-top: 10px; }
.td-plan__per { margin-top: 8px; font-size: 0.875rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.td-page .specs dd span { color: var(--ink-2); }
.td-countries { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 24px; max-width: 64rem; margin: clamp(32px, 4vw, 48px) auto 0; }
.td-countries li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 1rem; }
.td-note { max-width: 52rem; margin: 28px auto 0; padding: 16px 20px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--td-ring); color: var(--ink-2); font-size: 0.9375rem; }
.td-note strong { color: var(--ink); font-weight: 600; }
.td-also { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.td-also a { padding: 8px 15px; border-radius: 980px; background: #fff; font-size: 0.9375rem; box-shadow: inset 0 0 0 1px var(--line); transition: background-color 200ms ease, color 200ms ease; }
.td-also a:hover { background: var(--td-tang); color: var(--td-char); box-shadow: none; }

/* ---------- Waitlist form ---------- */

.td-join { text-align: center; background: var(--td-silver-2); }
.td-join .t-sub { max-width: 36rem; margin: 16px auto 0; }
.td-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 40rem; margin: clamp(32px, 4vw, 48px) auto 0; text-align: left; }
.td-field { display: grid; gap: 8px; }
.td-field--wide { grid-column: 1 / -1; }
.td-field > span { font-size: 0.875rem; font-weight: 500; color: var(--ink-2); }
.td-field input, .td-field select {
	width: 100%; min-height: 52px; padding: 13px 16px;
	border: 0; border-radius: 14px; background: #fff; color: var(--ink);
	font: 400 1.0625rem/1.2 var(--font); letter-spacing: -0.01em;
	box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 200ms ease;
	-webkit-appearance: none; appearance: none;
}
.td-field select { padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5 6 7.5l3-3' fill='none' stroke='%235a616c' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px; }
.td-field select option { background: #fff; color: var(--ink); }
.td-field input:focus, .td-field select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--td-focus); }
.td-field input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #d92d20; }
.td-field[hidden] { display: none; }
.td-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.td-form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 6px; }
.td-form__foot .btn { min-width: 210px; }
.td-form__foot .btn[disabled] { opacity: 0.6; cursor: progress; }
.td-form__fine { flex: 1 1 16rem; font-size: 0.8125rem; line-height: 1.45; color: var(--ink-2); }
.td-form__fine a { color: var(--td-tang-ink); }
.td-form__fine a:hover { text-decoration: underline; text-underline-offset: 0.18em; }
.td-form__status { grid-column: 1 / -1; min-height: 1.4em; font-size: 0.9375rem; color: #b42318; }
.td-done { max-width: 34rem; margin: clamp(32px, 4vw, 48px) auto 0; padding: 26px 28px; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--td-tang); text-align: center; }
.td-done svg { width: 34px; height: 34px; margin: 0 auto 12px; color: var(--td-tang); }
.td-done strong { display: block; font-size: 1.3125rem; font-weight: 600; letter-spacing: -0.02em; }
.td-done span { display: block; margin-top: 6px; color: var(--ink-2); }

/* ---------- Phones page ---------- */

.td-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 64rem; margin: clamp(40px, 5vw, 64px) auto 0; }
.td-check { padding: clamp(26px, 3vw, 36px); border-radius: 26px; background: #fff; box-shadow: inset 0 0 0 1px var(--td-ring); }
.td-check b { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--td-tang); color: var(--td-char); font-weight: 600; }
.td-check h3 { margin-top: 16px; font-size: 1.5rem; font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; }
.td-check > p { margin-top: 8px; color: var(--ink-2); }
.td-how { margin-top: 20px; }
.td-how li { padding: 14px 0; border-top: 1px solid var(--line); }
.td-how strong { display: block; font-weight: 600; letter-spacing: -0.01em; }
.td-how span { display: block; margin-top: 4px; color: var(--ink-2); font-size: 0.9375rem; }
.td-how kbd, .td-steps-list kbd { padding: 1px 7px; border-radius: 6px; background: var(--td-silver-2); box-shadow: inset 0 0 0 1px var(--line); font: 500 0.875em/1.4 var(--font); color: var(--ink); white-space: nowrap; }
.td-devices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 72px); max-width: 64rem; margin: clamp(40px, 5vw, 64px) auto 0; }
.td-devices div { padding: 24px 0 26px; border-top: 1px solid var(--line); }
.td-devices h3 { font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.018em; }
.td-devices p { margin-top: 8px; color: var(--ink-2); }

/* ---------- Install guide ---------- */

.td-tabs { display: inline-flex; gap: 4px; margin: clamp(32px, 4vw, 48px) auto 0; padding: 4px; border-radius: 980px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.td-tabs button { min-height: 40px; padding: 8px 20px; border: 0; border-radius: 980px; background: transparent; color: var(--ink-2); font-size: 0.9375rem; font-weight: 500; cursor: pointer; transition: background-color 220ms ease, color 220ms ease; }
.td-tabs button:hover { color: var(--ink); }
.td-tabs button[aria-selected="true"] { background: var(--td-char); color: #fff; }
.td-tabs-wrap { text-align: center; }
.td-guide { max-width: 52rem; margin: clamp(32px, 4vw, 48px) auto 0; }
.td-guide + .td-guide { margin-top: clamp(56px, 7vw, 96px); }
.js .td-guide[hidden] { display: none; }
.td-guide h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.td-guide h3 { margin-top: 40px; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; }
/* steps on the left, the phone showing that moment on the right */
.td-guide { max-width: 64rem; }
.td-guide__part { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 0 clamp(32px, 6vw, 88px); align-items: start; margin-top: 40px; }
.td-guide__part h3 { margin-top: 0; }
.td-guide__art { position: sticky; top: calc(var(--sub-h) + 28px); }
/* show the top two thirds of the phone, fading out, and close the gap below it */
.td-guide__art .td-phone { --pw: 250px; margin-bottom: calc(var(--pw) * -0.667); -webkit-mask-image: linear-gradient(#000 calc(var(--pw) * 1.2), transparent calc(var(--pw) * 1.5)); mask-image: linear-gradient(#000 calc(var(--pw) * 1.2), transparent calc(var(--pw) * 1.5)); }
.td-guide__note { margin-top: 10px; font-size: 0.75rem; color: var(--ink-2); text-align: center; }
.td-guide > p { margin-top: 10px; color: var(--ink-2); }
.td-steps-list { margin-top: 16px; counter-reset: s; }
.td-steps-list li { position: relative; padding: 16px 0 16px 46px; border-top: 1px solid var(--line); counter-increment: s; }
.td-steps-list li::before { content: counter(s); position: absolute; left: 0; top: 14px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--td-tang-ink); font-size: 0.875rem; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line); }
.td-steps-list strong { font-weight: 600; }
.td-steps-list span { display: block; margin-top: 4px; color: var(--ink-2); font-size: 0.9375rem; }
.td-warn { margin-top: 24px; padding: 16px 20px; border-radius: 16px; background: var(--td-tint); color: var(--td-tint-ink); box-shadow: inset 0 0 0 1px var(--td-tint-ring); font-size: 0.9375rem; }
.td-warn strong { color: var(--td-char); }

/* ---------- Help centre ---------- */

.td-topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 64rem; margin: clamp(36px, 4.5vw, 56px) auto 0; }
.td-topic { display: block; padding: 22px 22px 20px; text-align: left; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--td-ring); transition: box-shadow 220ms ease, transform 220ms var(--ease-out); }
.td-topic:hover { box-shadow: inset 0 0 0 1px var(--td-tang); transform: translateY(-2px); }
.td-topic strong { display: block; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.018em; }
.td-topic span { display: block; margin-top: 6px; font-size: 0.9375rem; color: var(--ink-2); }
.td-help-group { scroll-margin-top: calc(var(--sub-h) + 20px); }
.td-help-group + .td-help-group { margin-top: clamp(56px, 7vw, 96px); }
.td-help-group > h2 { max-width: 52rem; margin: 0 auto; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.td-help-group .faq { margin-top: 20px; }
.td-page .faq details p + p, .td-page .faq details p + ul, .td-page .faq details ul + p { margin-top: -12px; }
.td-page .faq details ul { padding: 0 48px 26px 1.2em; list-style: disc; color: var(--ink-2); max-width: 44rem; }
.td-page .faq details li + li { margin-top: 6px; }
.td-page .faq a, .td-page .details a { color: var(--td-tang-ink); }
.td-page .faq a:hover, .td-page .details a:hover { text-decoration: underline; text-underline-offset: 0.18em; }
.td-data { max-width: 52rem; margin: 0 0 26px;border-collapse: collapse; width: calc(100% - 48px); font-size: 0.9375rem; }
.td-data th, .td-data td { padding: 10px 12px 10px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.td-data th { font-weight: 600; }
.td-data td { color: var(--ink-2); }
.td-data td:last-child { white-space: nowrap; color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---------- Contact ---------- */

.td-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 64rem; margin: clamp(40px, 5vw, 64px) auto 0; }
.td-contact .td-check h3 a { color: var(--td-tang-ink); word-break: break-all; }
.td-contact .td-check h3 a:hover { text-decoration: underline; text-underline-offset: 0.18em; }

/* ---------- Legal and other text pages ---------- */

.td-page .legal p, .td-page .legal ul { color: var(--ink); }
.td-page .legal a { color: var(--td-tang-ink); }
.td-page .legal .draft { background: var(--td-tint); color: var(--td-tint-ink); box-shadow: inset 0 0 0 1px var(--td-tint-ring); }

/* ---------- Footer ---------- */

.td-page .footer { background: var(--td-silver-2); border-top: 1px solid var(--line); }
.td-page .footer__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.td-page .footer__base a { color: var(--td-tang-ink); }

/* Currency picker (filled in by functions/_middleware.ts) */
.td-cur { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 0 0 18px; scroll-margin-top: calc(var(--sub-h) + 20px); }
.td-cur[hidden] { display: none; }
.td-cur label { font-size: 0.75rem; font-weight: 600; color: var(--ink); }
.td-cur select { appearance: none; -webkit-appearance: none; max-width: 100%; min-height: 40px; padding: 8px 38px 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5 6 7.5l3-3' fill='none' stroke='%235a616c' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 11px; color: var(--ink); font: inherit; font-size: 0.875rem; cursor: pointer; }
.td-cur select:hover { border-color: var(--td-silver-mid); }
.td-cur__go { min-height: 40px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-size: 0.8125rem; cursor: pointer; }
.td-cur__note { flex-basis: 100%; color: var(--ink-2); }
.td-cur__note a { color: var(--td-tang-ink); }

/* ---------- Small screens ---------- */

@media (max-width: 1067px) {
	.td-usps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px clamp(20px, 3vw, 40px); }
	.td-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.td-countries { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	/* the board drops its networks column */
	.td-board__head, .td-row { grid-template-columns: 112px minmax(0, 1fr) minmax(0, 1fr) 7rem 16px; }
	.td-row__nets, .td-board__head span:nth-child(2) { display: none; }
	.td-board__head span:last-child { grid-column: 4; }
}
@media (max-width: 833px) {
	.td-steps, .td-promise, .td-checks, .td-devices, .td-topics, .td-contact { grid-template-columns: 1fr; }
	.td-steps--art { gap: 40px; }
	.td-countries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.td-page .footer__cols { grid-template-columns: 1fr 1fr; }
	/* install guide: the phone goes above its steps */
	.td-guide__part { grid-template-columns: 1fr; }
	.td-guide__art { position: static; order: -1; margin-bottom: 28px; }
	.td-guide__art .td-phone { --pw: 220px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 699px) {
	/* the route flies above the phone here, so the phone docks lower */
	.td-art { aspect-ratio: 400 / 560; margin-top: 20px; }
	.td-routes--wide { display: none; }
	.td-routes--narrow { display: block; }
	.td-routes text { font-size: 14px; }
	.td-art .td-phone { --pw: 210px; --pw: clamp(180px, 56cqw, 260px); top: 39%; }
}
@media (max-width: 640px) {
	/* prices with 7+ characters (₫144,000, Rp102,000) step down a size so the plans text keeps its room */
	.td-row__from b[data-long] { font-size: 1.0625rem; }
	.td-row__from b[data-long] small { font-size: 0.75rem; }
	.td-mini__top > span[data-long] { font-size: 1.125rem; }
	/* board rows: code, then name over plans, then price */
	.td-board { border-radius: 22px; }
	.td-board__head { display: none; }
	.td-row { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: 2px 14px; min-height: 0; padding: 14px 16px; }
	.td-row:first-child { box-shadow: none; }
	.td-row__code { grid-row: 1 / 3; gap: 2px; }
	.td-row__code i { --th: 30px; width: 22px; border-radius: 4px; font-size: 0.9375rem; }
	.td-row__dest { grid-column: 2; grid-row: 1; }
	.td-row__name { font-size: 1.0625rem; }
	.td-row__plans { grid-column: 2; grid-row: 2; font-size: 0.8125rem; }
	.td-row__from { grid-column: 3; grid-row: 1 / 3; }
	.td-row__from > small { display: none; }
	.td-row > svg { display: none; }
}
@media (max-width: 560px) {
	.td-plans, .td-usps, .td-form { grid-template-columns: 1fr; }
	.td-tabs button { padding: 8px 14px; }
	.td-form__foot .btn { width: 100%; }
	.td-data { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.js .td-plans[data-reveal] .td-plan__meter i { transform: scaleX(var(--f)); transition: none; }
	.js .td-routes.is-landed .td-routes__ping { animation: none; }
	.td-topic:hover { transform: none; }
}
