/* Aurochs Fitness: the brand site. Night ground with film grain, Bone type, one Ochre accent, Archivo wide caps
   for display type (brand/README.md: AUROCHS at width 118%, FITNESS tracked out). Scripts Archivo doesn't cover
   (Cyrillic, Greek, Arabic, Indic, CJK, Thai…) use the system font at the same weight, never a mix in one word.
   Logical properties throughout, so right-to-left pages mirror. No scripts, no third-party requests. */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url("/fonts/archivo-latin-wdth-normal.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: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url("/fonts/archivo-latin-ext-wdth-normal.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: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url("/fonts/archivo-vietnamese-wdth-normal.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }

/* Proportions follow the golden ratio φ = 1.618: type steps up by φ from a 17 px body (17 · 27.5 · 44.5 · 72 · 116),
   spacing uses Fibonacci steps (8 · 13 · 21 · 34 · 55 · 89 · 144), paired columns split 1.618 : 1, body text
   sets at line-height 1.618, and framed visuals are golden rectangles. */
:root {
  --night: #14130F; --char: #1D1B18; --card: #1F1D1A; --line: #2E2B25; --bone: #F2EDE4; --bone-2: #E9E2D6;
  --ochre: #C8873A; --ochre-text: #E0A35C; --ochre-deep: #8F5A1C; --muted: #ABA393; --muted-dark: #5E574D;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --display: "Archivo", var(--font);
  --phi: 1.618;
  --t-1: 0.8125rem; --t0: 1.0625rem; --t1: 1.719rem; --t2: 2.781rem; --t3: 4.5rem; --t4: 7.281rem;
  --s1: 8px; --s2: 13px; --s3: 21px; --s4: 34px; --s5: 55px; --s6: 89px; --s7: 144px;
  --section: clamp(var(--s6), 10vw, var(--s7));
  --max: 1236px; --read: 728px; --gutter: clamp(var(--s3), 5vw, var(--s5)); --radius: var(--s3);
  --golden: minmax(0, 1.618fr) minmax(0, 1fr);
  --golden-rev: minmax(0, 1fr) minmax(0, 1.618fr);
  color-scheme: dark;
}
/* Scripts outside Archivo: headings fall back to the system font with no width stretch or caps tracking. */
:root:is(:lang(ar), :lang(he), :lang(ur), :lang(bn), :lang(gu), :lang(hi), :lang(kn), :lang(ml), :lang(mr), :lang(or), :lang(pa), :lang(ta), :lang(te),
  :lang(ja), :lang(ko), :lang(zh), :lang(th), :lang(ru), :lang(uk), :lang(el)) { --display: var(--font); }
.brand, .wordmark { font-family: "Archivo", var(--font) !important; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--s6); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--night) url("/img/grain.png"); color: var(--bone); font: 400 var(--t0)/1.618 var(--font); }
a { color: var(--ochre-text); text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; height: auto; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; inset-inline-start: -999px; }
.skip:focus { inset-inline-start: 16px; top: 12px; background: var(--char); padding: 8px 12px; border-radius: 8px; z-index: 40; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; text-wrap: balance; margin: 0; hyphens: auto; overflow-wrap: break-word; }
p { margin: 0 0 var(--s3); max-width: 62ch; }
.meta, .small, .note { color: var(--muted); font-size: var(--t-1); }
.note { font-size: 0.9rem; }

/* Display type: wide caps for Latin scripts, plain bold elsewhere. */
.display { font-weight: 800; font-stretch: 118%; text-transform: uppercase; letter-spacing: 0.01em; }
/* Languages with long compound words keep the caps but at normal width, so a whole word fits a phone. */
:root:is(:lang(de), :lang(fi), :lang(hu), :lang(nl), :lang(da), :lang(sv), :lang(nb), :lang(ms), :lang(id), :lang(ro), :lang(sl), :lang(hr),
  :lang(cs), :lang(sk), :lang(pl), :lang(tr), :lang(ru), :lang(uk), :lang(el), :lang(vi)) .display { font-stretch: 100%; }
.kicker { font: 700 var(--t-1)/1.3 var(--display); font-stretch: 112%; letter-spacing: 0.32em; text-transform: uppercase; color: var(--ochre-text); margin: 0 0 var(--s3); max-width: none; }
:root:is(:lang(ar), :lang(he), :lang(ur), :lang(bn), :lang(gu), :lang(hi), :lang(kn), :lang(ml), :lang(mr), :lang(or), :lang(pa), :lang(ta), :lang(te),
  :lang(ja), :lang(ko), :lang(zh), :lang(th)) :is(.display, .kicker) { text-transform: none; letter-spacing: 0; font-stretch: 100%; }
:root:is(:lang(ar), :lang(he), :lang(ur), :lang(bn), :lang(gu), :lang(hi), :lang(kn), :lang(ml), :lang(mr), :lang(or), :lang(pa), :lang(ta), :lang(te),
  :lang(ja), :lang(ko), :lang(zh), :lang(th)) .kicker { font-size: 0.95rem; }
.section-title { font-size: clamp(var(--t1), 1rem + 3.2vw, var(--t3)); line-height: 0.98; }

/* ---- Header: the lockup (mark, AUROCHS wide, FITNESS tracked in Ochre) -------------------------------------- */
.top { position: sticky; top: 0; z-index: 20; background: var(--night); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: var(--s3) var(--s4); min-height: var(--s6); flex-wrap: wrap; padding-block: var(--s2); }
/* The mark's artwork fills about 65 % of its square, so the square is drawn at 55 px: the head then stands as tall
   as the two-line wordmark (the lockup in brand/README.md). Negative margins keep the bar's spacing. */
.brand { display: inline-flex; align-items: center; gap: var(--s1); color: var(--bone); text-decoration: none; }
.brand img { width: var(--s5); height: var(--s5); margin-block: calc(var(--s2) * -1); margin-inline-start: -10px; }
.wordmark { display: grid; line-height: 1; }
.wordmark b { font-weight: 800; font-stretch: 118%; letter-spacing: 0.04em; font-size: 1.236rem; }
.wordmark small { font-weight: 600; font-stretch: 110%; letter-spacing: 0.62em; font-size: 0.472rem; color: var(--ochre); margin-top: 5px; }
.menu { display: flex; gap: var(--s4); margin-inline-start: auto; }
.menu a { color: var(--bone); text-decoration: none; padding-block: var(--s2); font-weight: 600; font-size: 0.95rem; }
.menu a:hover { color: var(--ochre-text); }
.langs { position: relative; border: 0; padding: 0; }
.langs summary { cursor: pointer; list-style: none; padding: var(--s1) var(--s3); border: 1px solid var(--line); border-radius: 999px; min-height: 44px; display: flex; align-items: center; font-weight: 600; font-size: 0.92rem; }
.langs summary::-webkit-details-marker { display: none; }
.langs ul { position: absolute; inset-inline-end: 0; top: var(--s5); z-index: 30; max-height: calc(100svh - 120px); overflow-y: auto; margin: 0; padding: var(--s1); list-style: none; width: min(92vw, 540px);
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 2px; background: var(--char); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 16px 40px rgb(0 0 0 / 0.5); }
.langs a { display: block; padding: var(--s1) var(--s2); border-radius: 8px; color: var(--bone); text-decoration: none; }
.langs a:hover, .langs a[aria-current] { background: var(--night); color: var(--ochre-text); }

/* ---- Buttons -------------------------------------------------------------------------------------------------- */
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s4); margin: clamp(var(--s3), 3.6vh, var(--s4)) 0 0; max-width: none; }
.soon { display: inline-flex; align-items: center; min-height: var(--s5); padding: 0 var(--s4); border-radius: 999px; background: var(--ochre); color: var(--night); font-weight: 800; letter-spacing: 0.01em; }
.notify { font-weight: 700; color: var(--bone); text-decoration-color: var(--ochre); text-decoration-thickness: 2px; }
.trust { color: var(--muted); margin: var(--s3) 0 0; font-size: 0.95rem; letter-spacing: 0.02em; }
.android { display: inline-flex; align-items: center; gap: var(--s1); margin: var(--s2) 0 0; padding: 4px var(--s2); border: 1px solid var(--line); border-radius: 999px; color: var(--bone-2); font-size: 0.85rem; }
.android::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ochre); }
.follow { margin: var(--s3) 0 0; font-weight: 700; }
.finale .follow a { color: var(--night); text-decoration-thickness: 2px; }

/* ---- Hero: words on the golden side, the mark in full view on the other ------------------------------------- */
.hero { position: relative; overflow: hidden; isolation: isolate; display: grid; align-items: center; padding-block: clamp(var(--s3), 5vh, var(--s6));
  min-height: min(calc(100svh - 89px - 76px), 920px); }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0;
  background: radial-gradient(38.2% 61.8% at 76% 46%, rgb(200 135 58 / 0.16), transparent 72%); }
:root[dir="rtl"] .hero::after { background: radial-gradient(38.2% 61.8% at 24% 46%, rgb(200 135 58 / 0.16), transparent 72%); }
.hero-grid { display: grid; grid-template-columns: var(--golden); gap: var(--s5); align-items: center; }
.hero h1 { font-size: clamp(2.1rem, min(0.3rem + 4vw, 6.8vh), 4rem); line-height: 0.9; margin-bottom: clamp(var(--s3), 3.6vh, var(--s4)); }
.hero h1 span { display: block; }
.hero h1 span + span { color: var(--ochre); }
:root:is(:lang(ar), :lang(he), :lang(ur), :lang(bn), :lang(gu), :lang(hi), :lang(kn), :lang(ml), :lang(mr), :lang(or), :lang(pa), :lang(ta), :lang(te),
  :lang(ja), :lang(ko), :lang(zh), :lang(th), :lang(ru), :lang(uk), :lang(el)) .hero h1 { font-size: clamp(2.4rem, 1rem + 4.4vw, var(--t3)); line-height: 1.1; }
.lede { font-size: clamp(1.05rem, min(1rem + 0.35vw, 2.4vh), 1.3rem); color: var(--bone-2); max-width: 44ch; }
.emblem { position: relative; display: grid; place-items: center; aspect-ratio: 1; width: 100%; max-width: min(472px, 61.8vh); justify-self: center; }
.emblem::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgb(200 135 58 / 0.32);
  background: radial-gradient(closest-side, rgb(200 135 58 / 0.10), transparent 100%); }
.emblem::after { content: ""; position: absolute; inset: 19.1%; border-radius: 50%; border: 1px solid rgb(200 135 58 / 0.14); }
.emblem img { position: relative; width: 50%; filter: drop-shadow(0 var(--s3) var(--s4) rgb(0 0 0 / 0.45)); }

/* ---- Lift band: the big lifts, scrolling ---------------------------------------------------------------------- */
.band { background: var(--ochre); color: var(--night); overflow: hidden; border-block: 1px solid var(--ochre-deep); }
.band ul { display: flex; margin: 0; padding: var(--s3) 0; list-style: none; width: max-content; }
.band li { display: flex; align-items: center; gap: var(--s4); padding-inline-end: var(--s4); font: 800 var(--t1)/1 var(--display); font-stretch: 118%; text-transform: uppercase; letter-spacing: 0.02em; white-space: nowrap; }
.band li::after { content: ""; width: var(--s4); height: var(--s4); background: url("/img/mark-char.svg") center / contain no-repeat; flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .band ul { animation: drift 55s linear infinite; }
  :root[dir="rtl"] .band ul { animation-name: drift-rtl; }
}
@keyframes drift { to { transform: translateX(-50%); } }
@keyframes drift-rtl { to { transform: translateX(50%); } }

/* ---- Story: the original heavy lifter (Bone ground) ---------------------------------------------------------- */
.story { background: var(--bone); color: var(--char); }
.story .wrap { display: grid; grid-template-columns: var(--golden-rev); gap: var(--s6); align-items: center; padding-block: var(--section); }
.story .kicker { color: var(--ochre-deep); }
.story h2 { font-size: clamp(var(--t1), 1rem + 2.4vw, var(--t2)); line-height: 1; margin-bottom: var(--s4); }
.story p { font-size: 1.125rem; color: #3A352E; }
.horns { position: relative; margin: 0; aspect-ratio: 1.618; background: var(--char); border-radius: var(--radius); overflow: hidden; }
.horns img { position: absolute; inset: 0; margin: auto; height: 85.4%; width: auto; aspect-ratio: 1; }

/* ---- Principles ----------------------------------------------------------------------------------------------- */
.principles { padding-block: var(--section) var(--s6); }
.principles .section-title { max-width: 16ch; margin-bottom: var(--s5); }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.trio article { padding-block: var(--s4) var(--s2); padding-inline: 0 var(--s4); border-inline-end: 1px solid var(--line); }
.trio article + article { padding-inline-start: var(--s4); }
.trio article:last-child { border-inline-end: 0; }
.trio .num { display: block; font: 800 var(--t2)/1 "Archivo", var(--font); font-stretch: 125%; color: transparent; -webkit-text-stroke: 1.5px var(--ochre); margin-bottom: var(--s3); }
.trio h3 { font-size: 1.382rem; font-weight: 800; margin-bottom: var(--s2); }
.trio p { color: var(--muted); }

/* ---- Numbers -------------------------------------------------------------------------------------------------- */
.numbers { border-block: 1px solid var(--line); background: var(--char); }
.numbers ul { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; }
.numbers li { padding: var(--s5) var(--s3); text-align: center; }
.numbers li + li { border-inline-start: 1px solid var(--line); }
.numbers b { display: block; font: 800 clamp(var(--t2), 1rem + 5vw, var(--t3))/1 "Archivo", var(--font); font-stretch: 125%; color: var(--ochre); }
.numbers span { display: block; margin-top: var(--s2); color: var(--bone-2); font-weight: 600; }

/* ---- Insights: what the numbers show, in the app's data colours ---------------------------------------------- */
.insights { padding-block: var(--section); background: radial-gradient(61.8% 50% at 80% 20%, rgb(200 135 58 / 0.10), transparent 70%), var(--char); border-bottom: 1px solid var(--line); }
.ins-head { display: grid; grid-template-columns: var(--golden); gap: var(--s6); align-items: center; margin-bottom: var(--s5); }
.ins-head .section-title { margin-bottom: var(--s3); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); align-items: end; }
.duo picture.phone img { border-radius: 26px; border-width: 5px; }
.duo picture:last-child { margin-bottom: var(--s5); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); margin-bottom: var(--s4); }
.card { --c: var(--ochre); position: relative; overflow: hidden; padding: var(--s4); border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 14%, transparent), transparent 61.8%), var(--card); }
.card::before { content: ""; display: block; width: var(--s4); height: 3px; border-radius: 2px; background: var(--c); margin-bottom: var(--s3); }
.card h3 { font-size: 1.236rem; font-weight: 800; margin-bottom: var(--s2); color: var(--bone); }
.card p { margin: 0; color: var(--bone-2); }
.card.ochre { --c: #C8873A; } .card.sand { --c: #C2AE8C; } .card.moss { --c: #9AAA62; }
.card.clay { --c: #D0705A; } .card.sage { --c: #5FA9A0; } .card.slate { --c: #7E9CC0; }

/* ---- The app: numbered feature rows, text 1 : picture 1.618 -------------------------------------------------- */
.features { padding-block: var(--section) var(--s4); }
.features .head { margin-bottom: var(--s5); }
.row { display: grid; grid-template-columns: var(--golden-rev); gap: var(--s6); align-items: center; padding-block: var(--s5); border-top: 1px solid var(--line); }
.row:first-of-type { border-top: 0; padding-top: 0; }
.row:nth-of-type(even) { grid-template-columns: var(--golden); }
.row:nth-of-type(even) .text { order: 2; }
.row .idx { display: block; font: 800 var(--t0)/1 "Archivo", var(--font); font-stretch: 118%; letter-spacing: 0.2em; color: var(--ochre); margin-bottom: var(--s3); }
.row h3 { font-size: clamp(1.5rem, 1rem + 1.4vw, var(--t1)); font-weight: 800; margin-bottom: var(--s3); line-height: 1.12; }
.row p { color: var(--bone-2); }
.stage { position: relative; display: grid; place-items: center; aspect-ratio: 1; padding: var(--s4); border-radius: var(--radius);
  background: radial-gradient(61.8% 61.8% at 50% 50%, rgb(200 135 58 / 0.18), transparent 72%), var(--card); border: 1px solid var(--line); overflow: hidden; }
picture { display: flex; justify-content: center; }
.stage picture { position: absolute; inset: var(--s4); align-items: center; }
.stage picture img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
picture.phone img { border-radius: 36px; border: 7px solid #2E2B25; box-shadow: 0 28px 70px rgb(0 0 0 / 0.55); }
picture.watch img { border-radius: 26%; border: 9px solid #2E2B25; box-shadow: 0 28px 70px rgb(0 0 0 / 0.55); }
.stage picture.watch { inset: var(--s5); }

/* ---- Pricing -------------------------------------------------------------------------------------------------- */
.pricing { padding-block: var(--s6) var(--section); border-top: 1px solid var(--line); }
.pricing .section-title { margin-bottom: var(--s5); }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); margin-block: 0 var(--s4); }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s4); }
.plan h3 { font-size: var(--t1); font-weight: 800; margin-bottom: var(--s3); }
.plan.pro { background: linear-gradient(160deg, rgb(200 135 58 / 0.16), transparent 61.8%), var(--card); border-color: var(--ochre); }
.plan.pro h3 { color: var(--ochre-text); }
.prices { margin: 0 0 var(--s2) !important; }
.plan .prices li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: var(--s2) 0; margin: 0; border-bottom: 1px solid var(--line); }
.plan .prices li::before { content: none; }
.prices b { font-weight: 800; }
.prices em { font-style: normal; font-size: var(--t-1); font-weight: 700; color: var(--ochre-text); }
.plan .usd { font-size: var(--t-1); color: var(--muted); margin: 0 0 var(--s3); }
.plan ul, .points { margin: 0; padding: 0; list-style: none; }
.plan li { position: relative; margin-block: var(--s2); padding-inline-start: var(--s4); }
.plan li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 0.5em; width: 13px; height: 8px; border-inline-start: 2.5px solid var(--ochre); border-bottom: 2.5px solid var(--ochre); transform: rotate(-45deg); }
:root[dir="rtl"] .plan li::before { transform: rotate(45deg); }
.points { padding-inline-start: 1.2em; list-style: disc; }
.points li { margin-block: var(--s1); }

/* ---- Closing call: words 1.618 : mark 1 ----------------------------------------------------------------------- */
.finale { background: var(--ochre); color: var(--night); }
.finale .wrap { display: grid; grid-template-columns: var(--golden); gap: var(--s5); align-items: center; padding-block: var(--section); }
.finale h2 { font-size: clamp(var(--t2), 1rem + 4.4vw, 5.725rem); line-height: 0.92; }
.finale .soon { background: var(--night); color: var(--bone); }
.finale .notify { color: var(--night); text-decoration-color: var(--night); }
.finale .trust { color: #3A2A14; }
.finale .seal { justify-self: center; width: 100%; max-width: 292px; }

/* ---- Reading pages and FAQ ------------------------------------------------------------------------------------ */
.read { max-width: var(--read); padding-block: var(--s6) var(--section); }
.read h1 { font-size: clamp(var(--t1), 1rem + 2.6vw, var(--t2)); font-weight: 800; margin-bottom: var(--s3); }
.read h2 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, var(--t1)); font-weight: 800; margin: var(--s5) 0 var(--s2); line-height: 1.2; }
.read .lede { color: var(--bone-2); }
.read .meta { margin-bottom: var(--s4); }
.read .points { margin-bottom: var(--s4); }
details { border-bottom: 1px solid var(--line); padding-block: var(--s3); }
summary { cursor: pointer; font-weight: 700; min-height: 24px; list-style: none; position: relative; padding-inline-end: var(--s5); }
summary::-webkit-details-marker { display: none; }
.read summary::after { content: ""; position: absolute; inset-inline-end: var(--s1); top: 50%; width: 13px; height: 13px; translate: 0 -50%;
  background: linear-gradient(var(--ochre), var(--ochre)) center / 100% 2px no-repeat, linear-gradient(var(--ochre), var(--ochre)) center / 2px 100% no-repeat; transition: rotate 200ms; }
.read details[open] summary::after { rotate: 45deg; }
.read summary:hover { color: var(--ochre-text); }
details p { margin: var(--s2) 0 0; color: var(--bone-2); }

/* ---- Footer: small "by Loon Softworks" -------------------------------------------------------------------------- */
.foot { border-top: 1px solid var(--line); padding-block: var(--s5) var(--s6); color: var(--muted); font-size: 0.9rem; }
.foot .row1 { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s4); }
.foot .brand img { width: 44px; height: 44px; margin-block: -6px; margin-inline-start: -8px; }
.foot .wordmark b { font-size: 1rem; }
.foot .legal { display: flex; gap: var(--s4); flex-wrap: wrap; }
.foot .legal a { color: var(--bone); text-decoration: none; font-weight: 600; }
.foot .legal a:hover { color: var(--ochre-text); }
.foot p { max-width: none; margin-bottom: var(--s2); }
.by { margin-top: var(--s4); font-size: 0.85rem; }
.by a { color: var(--muted); text-decoration: none; }
.by a:hover { color: var(--bone); }

/* ---- Tablet --------------------------------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row, .row:nth-of-type(even) { gap: var(--s5); }
}
/* ---- Phone ---------------------------------------------------------------------------------------------------- */
@media (max-width: 820px) {
  .row, .row:nth-of-type(even), .plans, .ins-head { grid-template-columns: minmax(0, 1fr); }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .ins-head { gap: var(--s4); }
  .row:nth-of-type(even) .text { order: 0; }
  .row { padding-block: var(--s5) var(--s4); gap: var(--s4); }
  .stage { aspect-ratio: 0.809; }
  .stage picture { inset: var(--s3); }
  .story .wrap, .hero-grid, .finale .wrap { gap: var(--s4); }
  .trio { grid-template-columns: minmax(0, 1fr); }
  .trio article, .trio article + article { padding-inline: 0; border-inline-end: 0; border-bottom: 1px solid var(--line); padding-block: var(--s4) var(--s2); }
  .top { position: static; }
  .numbers li { padding: var(--s4) var(--s1); }
  .numbers b { font-size: clamp(1.9rem, 9vw, var(--t2)); }
  .numbers span { font-size: 0.85rem; line-height: 1.35; }
  .menu { margin-inline-start: 0; order: 3; width: 100%; flex-wrap: wrap; gap: 0 var(--s3); }
  .langs { margin-inline-start: auto; }
  .foot .row1 { flex-direction: column; align-items: flex-start; }
}
/* ---- Small phone: everything in one column ------------------------------------------------------------------ */
@media (max-width: 640px) {
  .hero-grid, .story .wrap, .finale .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: 0; padding-block: var(--s5) var(--s6); }
  .emblem { order: -1; max-width: 144px; justify-self: start; }
  :root[dir="rtl"] .emblem { justify-self: end; }
  .finale .seal { max-width: 89px; order: -1; justify-self: start; }
  :root[dir="rtl"] .finale .seal { justify-self: end; }
}
@media (prefers-reduced-motion: no-preference) { a, summary { transition: color 150ms; } }
