@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}

:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --field: #eceff3;
  --mint: #e3f5e8;
  --mint-2: #c6ebd2;
  --mint-3: #8fdcae;
  --ink: #12161d;
  --muted: #4b5563;
  --green: #2dc071;
  --green-deep: #247f5d;
  --green-ink: #062a18;
  --orange: #ff6b3d;
  --red: #d9463b;
  --night: #0f1115;
  --night-2: #171a1f;
  --night-3: #1d2027;
  --night-ink: #f5f7fa;
  --night-muted: #a6aebc;

  --font: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --step-small: 0.875rem;
  --step-body: 1.0625rem;
  --step-lead: clamp(1.1875rem, 1.05rem + 0.45vw, 1.4375rem);
  --step-display: clamp(2.625rem, 1.4rem + 4.2vw, 5.5rem);
  --step-figure: clamp(5.5rem, 2rem + 10vw, 10.5rem);

  --margin: clamp(1rem, 3vw, 2.5rem);
  --gutter: clamp(1rem, 2vw, 2rem);
  --section: clamp(6rem, 12vw, 12rem);
  --pill: 999px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: var(--step-body); line-height: 1.55;
  -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss01";
}
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
img, video, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
:target { scroll-margin-top: 6rem; }
::selection { background: var(--green); color: var(--green-ink); }
:focus-visible { outline: 3px solid var(--green-deep); outline-offset: 3px; }

h1, h2, h3 { font-weight: 700; text-wrap: balance; }
.display { font-size: var(--step-display); line-height: 1; letter-spacing: -0.04em; font-weight: 750; }
.lead { font-size: var(--step-lead); line-height: 1.4; max-width: 42ch; }
.small { font-size: var(--step-small); line-height: 1.45; }
.muted { color: var(--muted); }
p { max-width: 62ch; text-wrap: pretty; }
p + p { margin-top: 0.85em; }
.nums { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
h3 { font-size: var(--step-lead); line-height: 1.25; letter-spacing: -0.015em; }

.wrap { padding-inline: var(--margin); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.sec { padding-block: calc(var(--section) / 2); }

.skip { position: absolute; left: var(--margin); top: -4rem; z-index: 200; background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: var(--pill); text-decoration: none; font-weight: 600; }
.skip:focus { top: 0.75rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem; padding: 0 1.5rem; border-radius: var(--pill);
  background: var(--green); color: var(--green-ink);
  font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.btn:active { transform: scale(0.97); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--quiet { background: var(--field); color: var(--ink); }
.link { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 2px; text-decoration-color: var(--mint-3); transition: text-decoration-color var(--t-hover) ease; font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: #3fd282; }
  .btn--ink:hover { background: #262c36; }
  .btn--quiet:hover { background: #dfe3e9; }
  .link:hover { text-decoration-color: currentColor; }
}

.stores { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.stores a { display: block; transition: transform var(--t-press) var(--ease-out); }
.stores a:active { transform: scale(0.96); }
.stores img { height: 2.75rem; width: auto; }

.nav { position: sticky; top: 0; z-index: 100; background: var(--bg); }
.nav__in { display: flex; align-items: center; gap: var(--gutter); min-height: 4.25rem; padding-inline: var(--margin); }
.nav__brand { display: inline-flex; align-items: center; gap: 0.55rem; margin-right: auto; font-weight: 750; font-size: 1.125rem; letter-spacing: -0.02em; text-decoration: none; }
.nav__brand img { width: 1.75rem; height: 1.75rem; }
.nav__menu { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.nav__menu a:not(.btn) { font-size: 0.9375rem; font-weight: 600; text-decoration: none; padding-block: 0.5rem; color: var(--muted); transition: color var(--t-hover) ease; }
.nav__menu a:not(.btn):hover, .nav__menu a[aria-current="page"] { color: var(--ink); }
.nav__menu a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 3px; text-underline-offset: 0.5em; }
.nav__menu .btn { min-height: 2.75rem; padding: 0 1.15rem; }
.nav__toggle { display: none; width: 2.75rem; height: 2.75rem; margin-right: -0.5rem; position: relative; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after { position: absolute; left: 0.65rem; right: 0.65rem; height: 2px; border-radius: 2px; background: var(--ink); content: ""; transition: transform var(--t-ui) var(--ease-out); }
.nav__toggle span { top: 50%; }
.nav__toggle span::before { left: 0; right: 0; top: -7px; }
.nav__toggle span::after { left: 0; right: 0; top: 7px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 56rem) {
  .nav__toggle { display: block; }
  .nav__menu { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 0.25rem var(--margin) 1.5rem; background: var(--bg); }
  .nav__menu.is-open { display: flex; }
  .nav__menu a:not(.btn) { font-size: 1.375rem; padding-block: 0.65rem; color: var(--ink); }
  .nav__menu a[aria-current="page"] { text-decoration: none; color: var(--green-deep); }
  .nav__menu .btn { margin-top: 0.75rem; min-height: 3rem; }
}

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100svh - 4.25rem); }
.hero__left { padding: 0 var(--margin); }
.hero__sticky { position: sticky; top: 4.25rem; min-height: calc(100svh - 4.25rem); display: flex; flex-direction: column; justify-content: flex-end; gap: 1.5rem; padding-block: var(--margin) clamp(2.5rem, 7vh, 5rem); }
.hero__left h1 { font-size: var(--step-display); line-height: 1; letter-spacing: -0.045em; font-weight: 760; }
.hero__left .lead { max-width: 40ch; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem 1.25rem; align-items: center; margin-top: 0.5rem; }
.hero__right { background: var(--mint); display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: clamp(1.5rem, 4vw, 3.5rem) var(--margin); }
.hero__right > div { width: min(100%, 27rem); }
.hero__note { margin-top: 0.75rem; font-size: var(--step-small); color: var(--muted); text-align: center; }

.app[data-ui] {
  --a-bg: #f7f8fa; --a-card: #ffffff; --a-line: #e5e7eb; --a-ink: #111827; --a-muted: #6b7280;
  font-size: 0.875rem; line-height: 1.35; color: var(--a-ink); background: var(--a-bg);
  border-radius: 22px; overflow: hidden; width: min(100%, 27rem);
}
.app__bar { display: flex; align-items: center; gap: 0.75rem; padding: 0.85rem 1rem 0.5rem; }
.app__avatar { width: 2.1rem; height: 2.1rem; border-radius: 50%; background: #ef5350; display: grid; place-items: center; color: #fff; }
.app__tabs { display: flex; gap: 1.1rem; font-size: 0.9375rem; color: var(--a-muted); }
.app__tabs b { color: var(--green-deep); font-weight: 600; text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 0.45em; }
.app__month { display: flex; align-items: center; justify-content: space-between; margin: 0.35rem 1rem; padding: 0.45rem 0.9rem; background: var(--a-card); border-radius: var(--pill); font-size: 0.9375rem; }
.app__card { background: var(--a-card); margin: 0.6rem 0.75rem; border-radius: 10px; padding: 0.85rem 1rem; }
.app__balance { text-align: center; }
.app__balance small { display: block; color: var(--a-muted); font-size: 0.8125rem; }
.app__balance strong { display: block; font-size: 2rem; font-weight: 400; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; transition: color var(--t-ui) ease; }
.app__donuts { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; text-align: center; margin-top: 0.6rem; }
.app__donuts svg { width: 100%; max-width: 7.25rem; margin: 0.35rem auto; }
.app__donuts span { display: block; font-variant-numeric: tabular-nums; font-size: 0.9375rem; }
.donut circle { fill: none; stroke-width: 7; transition: stroke-dasharray 450ms var(--ease-out), stroke-dashoffset 450ms var(--ease-out); }
.app__chips { display: flex; gap: 0.4rem; overflow: hidden; margin: 0 0.75rem; }
.chip { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.35rem 0.7rem; border-radius: var(--pill); background: var(--a-card, #fff); color: var(--green-deep); font-weight: 600; font-size: 0.8125rem; white-space: nowrap; }
.chip svg { width: 0.85rem; height: 0.85rem; }
.app__entry { background: var(--a-card); margin: 0.6rem 0.75rem 0.75rem; border-radius: 14px; padding: 0.75rem; }
.entry__head { display: flex; justify-content: space-between; align-items: baseline; }
.entry__head small { color: var(--a-muted); font-size: 0.8125rem; }
.entry__amount { font-size: 1.75rem; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.entry__cats { display: flex; gap: 0.4rem; overflow-x: auto; padding: 0.55rem 0 0.35rem; scrollbar-width: none; }
.entry__cats::-webkit-scrollbar { display: none; }
.cat { flex: none; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0.65rem 0.3rem 0.3rem; border-radius: var(--pill); background: var(--a-bg); font-size: 0.8125rem; font-weight: 600; }
.cat[aria-pressed="true"] { background: var(--green); color: var(--green-ink); }
.cat__ic { width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; background: var(--tint); }
.cat__ic img { width: 62%; height: 62%; object-fit: contain; }
.pad { display: grid; grid-template-columns: repeat(3, 1fr) 1.15fr; gap: 0.35rem; margin-top: 0.35rem; }
.pad > span { display: grid; place-items: center; min-height: 2.75rem; border-radius: 10px; background: var(--a-bg); font-size: 1.125rem; }
.pad .pad__add { grid-column: 4; grid-row: 1 / span 4; background: #c4411b; color: #fff; font-size: 0.9375rem; font-weight: 700; border-radius: 14px; }
.app__list { margin: 0 0.75rem 0.75rem; background: var(--a-card); border-radius: 10px; overflow: hidden; }
.row { display: grid; grid-template-columns: 2.35rem 1fr auto; gap: 0.7rem; align-items: center; padding: 0.55rem 0.85rem; }
.row + .row { border-top: 1px solid #f1f2f4; } /* taste-skill-ignore: list divider inside the app fragment */
.row__ic { width: 2.35rem; height: 2.35rem; border-radius: 50%; display: grid; place-items: center; background: var(--tint); }
.row__ic img { width: 60%; height: 60%; object-fit: contain; }
.row b { display: block; font-weight: 500; font-size: 0.9375rem; }
.row small { color: var(--a-muted); font-size: 0.8125rem; }
.row__amt { text-align: right; font-variant-numeric: tabular-nums; font-size: 0.9375rem; }
.row__amt.neg { color: #c62828; }
.row__amt.pos { color: #2e7d32; }

.dark { background: var(--night); color: var(--night-ink); }
.dark .muted { color: var(--night-muted); }
.lit { padding-block: clamp(4rem, 8vw, 7rem); overflow: clip; }
.lit__head { display: grid; gap: 1rem; padding-inline: var(--margin); margin-bottom: 2.5rem; }
.lit__head h2 { font-size: var(--step-display); line-height: 1; letter-spacing: -0.04em; }
.lit__head p { color: var(--night-muted); max-width: 34ch; }
.lit__stage { display: grid; grid-template-columns: 1fr; position: relative; }
.lit__row { display: flex; gap: 26vw; overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: calc(50vw - 11rem); scrollbar-width: none; cursor: grab; }
.lit__row::-webkit-scrollbar { display: none; }
.lit__row:active { cursor: grabbing; }
.lit__panel { flex: none; width: 22rem; scroll-snap-align: center; opacity: 0.22; transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out); transform: scale(0.94); }
.lit__panel.is-lit { opacity: 1; transform: none; }
.lit__panel img { width: 100%; border-radius: 22px; background: #fff; }
.lit__panel[data-dark] img { background: #0f1115; }
.lit__text { position: absolute; left: calc(50vw + 13rem); top: 0; width: 24ch; pointer-events: none; }
.lit__text h3 { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.02em; }
.lit__text p { margin-top: 0.6rem; color: var(--night-muted); }
.lit__ctrl { display: flex; gap: 0.6rem; padding-inline: var(--margin); margin-top: 1.75rem; }
.lit__ctrl button { width: 3rem; height: 3rem; border-radius: 50%; background: var(--night-3); color: var(--night-ink); display: grid; place-items: center; transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.lit__ctrl button:hover { background: #2a2f39; }
.lit__ctrl button:active { transform: scale(0.94); }
.lit__ctrl svg { width: 1.25rem; height: 1.25rem; }

.fields { display: grid; grid-template-columns: repeat(4, 1fr); }
.field { position: relative; min-height: 24rem; background: var(--fc); padding: clamp(1.25rem, 2.5vw, 2rem); display: flex; flex-direction: column; }
.field h2 { font-size: var(--step-lead); line-height: 1.15; letter-spacing: -0.02em; font-weight: 780; max-width: 12ch; }
.field__card { margin: auto 0; padding-block: 1.75rem; width: min(100%, 16.25rem); align-self: center; transition: translate 150ms var(--ease-out); }
.field:hover .field__card { translate: 0 -6px; }
.field__clause { font-size: var(--step-lead); line-height: 1.25; font-weight: 650; letter-spacing: -0.02em; max-width: 14ch; }
.fc1 { --fc: var(--field); }
.fc2 { --fc: var(--mint); }
.fc3 { --fc: var(--mint-2); }
.fc4 { --fc: var(--mint-3); }
.tx[data-ui] { background: #fff; border-radius: 14px; padding: 0.9rem; font-size: 0.875rem; line-height: 1.35; color: #111827; }
.tx__amt { font-size: 1.6rem; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.tx__lbl { color: #6b7280; font-size: 0.8125rem; }
.tx__line { display: flex; justify-content: space-between; gap: 0.5rem; margin-top: 0.5rem; }
.tx .row { padding: 0.55rem 0 0; grid-template-columns: 2.1rem 1fr auto; }
.tx .row__ic { width: 2.1rem; height: 2.1rem; }
.bar[data-ui], .tx .bar { height: 0.5rem; border-radius: var(--pill); background: #edf0f3; overflow: hidden; margin-top: 0.45rem; }
.bar i { display: block; height: 100%; background: var(--bc, var(--green)); border-radius: var(--pill); }

.para { padding-block: calc(var(--section) / 2); }
.para__text { grid-column: 1 / span 11; font-size: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); line-height: 1.32; font-weight: 600; letter-spacing: -0.025em; max-width: none; }
.slot { display: inline-block; width: 2em; height: 1.1em; border-radius: 0.22em; vertical-align: -0.2em; overflow: hidden; background: var(--field); margin-inline: 0.08em; }
.slot img { width: 100%; height: 100%; object-fit: cover; }
.para__foot { grid-column: 7 / span 6; margin-top: 4.5rem; display: grid; gap: 1.25rem; justify-items: start; }
.para__foot p { font-size: var(--step-lead); line-height: 1.4; }

.bars { position: relative; background: var(--night); color: var(--night-ink); overflow: clip; display: flex; flex-direction: column; }
.bars__head { padding: calc(var(--section) / 2.5) var(--margin) 0; display: grid; gap: 0.75rem; }
.bars__fig { font-size: var(--step-figure); line-height: 0.85; font-weight: 760; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.bars__fig small { font-size: 0.3em; font-weight: 600; letter-spacing: -0.02em; margin-left: 0.15em; }
.bars__claim { font-size: var(--step-lead); font-weight: 650; letter-spacing: -0.02em; }
.bars__note { color: var(--night-muted); max-width: 46ch; }
.bars__chart[data-ui] { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; align-items: end; height: clamp(14rem, 34vh, 24rem); padding-top: 2.5rem; }
.bars__bar { position: relative; height: var(--h); background: #2a3a33; border-radius: 0; transition: background-color var(--t-hover) ease; transform-origin: bottom; }
.bars__bar.is-key { background: var(--green); }
.bars__bar:hover, .bars__bar:focus-visible { background: #3c5a4b; }
.bars__bar.is-key:hover { background: #3fd282; }
.bars__val { position: absolute; left: 50%; bottom: calc(100% + 0.5rem); transform: translateX(-50%); font-variant-numeric: tabular-nums; font-weight: 650; font-size: clamp(0.9375rem, 0.7rem + 0.7vw, 1.375rem); white-space: nowrap; opacity: 0; transition: opacity var(--t-hover) ease; }
.bars__bar.is-labeled .bars__val, .bars__bar:hover .bars__val, .bars__bar:focus-visible .bars__val { opacity: 1; }
.bars__mon { position: absolute; left: 0.6rem; bottom: 0.6rem; font-size: 0.8125rem; font-weight: 600; color: rgba(255, 255, 255, 0.72); }
.bars__bar.is-key .bars__mon { color: var(--green-ink); }

.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 12px; margin-top: 2.5rem; }
.tile { display: block; text-decoration: none; color: inherit; }
.tile figure { aspect-ratio: 4 / 5; overflow: clip; background: #fff; }
.tile img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 700ms var(--ease-soft); }
.tile:hover img { transform: scale(1.035); }
.tile__strip { min-height: 5.5rem; padding: 0.75rem; background: var(--sb); color: var(--sf); display: grid; gap: 0.35rem; font-size: 0.8125rem; font-variant-numeric: tabular-nums; }
.tile__vals { display: flex; justify-content: space-between; gap: 0.4rem; flex-wrap: wrap; font-weight: 600; }
.tile__meta { display: flex; justify-content: space-between; gap: 0.5rem; font-weight: 700; font-size: 0.9375rem; }
.tile__by { opacity: 0.85; }
.s1 { --sb: var(--ink); --sf: #fff; }
.s2 { --sb: var(--green); --sf: var(--green-ink); }
.s3 { --sb: var(--mint-2); --sf: var(--ink); }
.s4 { --sb: var(--orange); --sf: #2a0d03; }

.faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2.5rem var(--gutter); }
.faq__list { grid-column: 1 / span 5; display: grid; gap: 0.4rem; align-content: start; }
.faq__title { font-size: 1.125rem; font-weight: 600; color: var(--muted); margin-bottom: 0.4rem; }
.faq__list button { display: flex; gap: 0.85rem; align-items: baseline; width: 100%; text-align: left; padding: 0.45rem 0; font-size: 1.125rem; font-weight: 500; color: var(--muted); transition: color var(--t-hover) ease; }
.faq__list button::before { content: ""; flex: none; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #9aa3ae; transform: translateY(-0.12em); transition: background-color var(--t-hover) ease; }
.faq__list button[aria-expanded="true"] { color: var(--ink); }
.faq__list button[aria-expanded="true"]::before { background: var(--green); }
.faq__list button:hover { color: var(--ink); }
.faq__pane { grid-column: 7 / span 6; position: sticky; top: 7.5rem; align-self: start; min-height: 12rem; }
.faq__answer { font-size: clamp(1.25rem, 1rem + 0.7vw, 1.625rem); line-height: 1.38; max-width: 32ch; letter-spacing: -0.01em; }
.faq__answer[hidden] { display: none; }
.faq__answer a { text-decoration-color: var(--green); text-underline-offset: 0.18em; }
.faq__inline { display: none; }
.js .faq__answer { animation: fade 160ms ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.get { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem var(--gutter); align-items: center; background: var(--mint); padding: clamp(2.5rem, 5vw, 4.5rem) var(--margin) 0; overflow: clip; margin-top: calc(var(--section) / 2); }
.get__text { grid-column: 1 / span 7; padding-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.get h2 { font-size: var(--step-display); line-height: 1; letter-spacing: -0.045em; font-weight: 760; }
.get .lead { margin-top: 1.5rem; color: var(--muted); }
.get .hero__actions { margin-top: 2rem; }
.get__shot { grid-column: 9 / span 4; align-self: end; height: clamp(16rem, 30vw, 24rem); overflow: clip; }
.get__shot img { width: 100%; border-radius: 22px 22px 0 0; background: #fff; }
.foot { margin-top: 0; padding: 2rem var(--margin) 1.9rem; display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem 2rem; align-items: baseline; font-size: 0.9375rem; }
.foot__what { color: var(--muted); }
.foot__links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: center; }
.foot__links a, .foot__end a { text-decoration: none; font-weight: 600; }
.foot__links a:hover, .foot__end a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.foot__end { justify-self: end; color: var(--muted); display: flex; gap: 1.25rem; flex-wrap: wrap; justify-content: flex-end; }
.foot__end a { color: var(--ink); }

.page-hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2.5rem var(--gutter); padding: clamp(2.5rem, 7vh, 5rem) var(--margin) calc(var(--section) / 2); align-items: center; }
.page-hero__text { grid-column: 1 / span 6; }
.page-hero h1 { font-size: var(--step-display); line-height: 1; letter-spacing: -0.045em; font-weight: 760; }
.page-hero .lead { margin-top: 1.75rem; color: var(--muted); }
.page-hero__media { grid-column: 8 / span 5; background: var(--mint); padding: clamp(1.5rem, 3vw, 2.75rem); display: grid; place-items: center; }
.page-hero__media img { width: min(100%, 20rem); border-radius: 20px; }
.page-hero__jump { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.page-hero__jump a { font-weight: 600; text-decoration: none; color: var(--green-deep); }
.page-hero__jump a:hover { text-decoration: underline; text-underline-offset: 0.2em; }

.cap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2.5rem var(--gutter); align-items: center; padding: calc(var(--section) / 2) var(--margin); }
.cap__text { grid-column: 1 / span 5; }
.cap__frag { grid-column: 6 / span 7; display: grid; justify-items: center; }
.cap--flip .cap__text { grid-column: 8 / span 5; }
.cap--flip .cap__frag { grid-column: 1 / span 7; grid-row: 1; }
.cap h2 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.5rem); line-height: 1.04; letter-spacing: -0.04em; font-weight: 750; }
.cap__text > p, .cap__text > ul, .cap__text > dl { margin-top: 1.25rem; }
.cap__text .lead { color: var(--muted); }
.cap--tint { background: var(--mint); }
.cap--field { background: var(--field); }
.cap--dark { background: var(--night); color: var(--night-ink); }
.cap--dark .lead, .cap--dark .muted { color: var(--night-muted); }
.shot { width: min(100%, 19rem); border-radius: 20px; background: #fff; }
.shot--wide { width: min(100%, 23rem); }
.shot-pair { display: flex; gap: 1rem; justify-content: center; align-items: flex-start; }
.shot-pair .shot { width: min(48%, 17rem); }
.shot-pair .shot:nth-child(2) { margin-top: 3rem; }
.shot-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; width: 100%; }
.shot-trio img { width: 100%; border-radius: 18px; }
.shot-trio img:nth-child(2) { margin-top: 2.5rem; }

.ticks { display: grid; gap: 0.6rem; }
.ticks li { position: relative; padding-left: 1.6rem; }
.ticks li::before { content: ""; position: absolute; left: 0.15rem; top: 0.55em; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--green); }
.cap--dark .ticks li::before { background: var(--green); }
.tag { display: inline-block; font-size: 0.8125rem; font-weight: 700; padding: 0.15rem 0.6rem; border-radius: var(--pill); background: var(--ink); color: #fff; vertical-align: 0.15em; letter-spacing: 0; }
.tag--green { background: var(--green); color: var(--green-ink); }

.pin { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2.5rem var(--gutter); padding: calc(var(--section) / 2) var(--margin); }
.pin__frag { grid-column: 1 / span 5; position: sticky; top: 6rem; align-self: start; display: grid; justify-items: center; }
.pin__steps { grid-column: 7 / span 6; display: grid; gap: 30vh; padding-block: 10vh 20vh; }
.pin__steps h2 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.5rem); line-height: 1.04; letter-spacing: -0.04em; font-weight: 750; }
.pin__steps h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem); letter-spacing: -0.03em; line-height: 1.1; }
.pin__steps p { margin-top: 1rem; }


.formats { display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: 0.6rem; margin-top: 1.25rem; }
.formats li { background: var(--surface); padding: 0.75rem 1rem; font-variant-numeric: tabular-nums; font-weight: 600; }
.formats small { display: block; color: var(--muted); font-weight: 500; font-size: var(--step-small); }

.panel[data-ui] { background: #fff; border-radius: 16px; padding: 1.25rem; width: min(100%, 30rem); color: #111827; font-size: 0.9375rem; line-height: 1.4; }
.panel h3 { font-size: 1.0625rem; font-weight: 650; letter-spacing: -0.01em; }
.panel label, .panel .lbl { display: block; font-size: 0.8125rem; font-weight: 600; color: #4b5563; }
.panel .seg { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.75rem; }
.panel .seg button { padding: 0.45rem 0.8rem; border-radius: var(--pill); background: #f3f4f6; font-size: 0.8125rem; font-weight: 600; min-height: 2.25rem; transition: background-color var(--t-hover) ease; }
.panel .seg button[aria-pressed="true"] { background: var(--green); color: var(--green-ink); }
.panel .seg button:hover { background: #e5e7eb; }
.panel .range { margin-top: 1rem; }
.panel .range div { display: flex; justify-content: space-between; align-items: baseline; }
.panel .range output { font-weight: 700; font-variant-numeric: tabular-nums; }
.panel input[type="range"] { width: 100%; height: 2.75rem; accent-color: var(--green); }
.wave { position: relative; width: 12rem; height: 12rem; margin: 0.5rem auto 0.25rem; border-radius: 50%; border: 2px solid #7ab8f5; overflow: hidden; display: grid; place-items: center; text-align: center; background: #fff; }
.wave__fill { position: absolute; left: -10%; right: -10%; bottom: 0; height: var(--fill, 30%); background: #b9cff2; border-radius: 40% 45% 0 0 / 14% 12% 0 0; transition: height 420ms var(--ease-out), background-color 300ms ease; }
.wave.is-over .wave__fill { background: #f5b7b1; }
.wave__txt { position: relative; z-index: 1; }
.wave__txt b { display: block; font-size: 1.125rem; }
.wave__txt small { display: block; color: #4b5563; }
.wave__txt strong { display: block; font-size: 1.75rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stats-list { margin-top: 0.75rem; display: grid; gap: 0.1rem; }
.stats-list div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-top: 1px solid #f1f2f4; } /* taste-skill-ignore: list divider inside the app fragment */
.stats-list b { font-weight: 600; }
.stats-list span { font-variant-numeric: tabular-nums; text-align: right; }
.good { color: #2e9a57; }
.warn { color: #b45309; }
.bad { color: #dc2626; }



.chips-wall { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.chips-wall .chip { font-size: 0.875rem; padding: 0.45rem 0.85rem; }

.table-wrap { overflow-x: auto; margin-top: 2.5rem; }
table { width: 100%; border-collapse: collapse; min-width: 34rem; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 1rem; border-bottom: 1px solid #e3e6ea; vertical-align: top; }
thead th { font-size: var(--step-small); color: var(--muted); font-weight: 700; }
thead th:last-child, tbody td:last-child { background: var(--mint); }
tbody th { font-weight: 600; }
tbody th small { display: block; color: var(--muted); font-weight: 500; font-size: var(--step-small); }
.table-wrap th:first-child { position: sticky; left: 0; z-index: 1; background: var(--bg); }
.table-wrap td, .table-wrap thead th:not(:first-child) { text-align: right; }
.facts-band.facts-band--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.facts-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.facts-band > div { background: var(--fb, var(--surface)); color: var(--ff, var(--ink)); padding: clamp(1.25rem, 2.4vw, 2rem); min-height: 15rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; }
.facts-band b { font-size: clamp(1.75rem, 1.1rem + 1.6vw, 2.75rem); line-height: 1.05; letter-spacing: -0.035em; font-weight: 750; }
.fb1 { --fb: var(--ink); --ff: #fff; }
.fb2 { --fb: var(--green); --ff: var(--green-ink); }
.fb3 { --fb: var(--mint-2); }
.fb4 { --fb: var(--surface); }

.contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem var(--gutter); background: var(--green); color: var(--green-ink); padding: clamp(1.5rem, 4vw, 3.5rem); }
.contact h2 { grid-column: 1 / span 6; font-size: clamp(2rem, 1.2rem + 2.6vw, 3.5rem); letter-spacing: -0.04em; line-height: 1.04; }
.contact > div { grid-column: 7 / span 6; display: grid; gap: 1.25rem; align-content: start; justify-items: start; }
.contact .mail { font-size: clamp(1.25rem, 0.9rem + 1.4vw, 2rem); font-weight: 700; letter-spacing: -0.02em; overflow-wrap: anywhere; }

.notfound { min-height: 70svh; display: grid; place-content: center; justify-items: center; text-align: center; gap: 1.25rem; padding: var(--margin); }
.notfound b { font-size: clamp(7rem, 26vw, 14rem); line-height: 0.85; letter-spacing: -0.06em; color: var(--green); }
.notfound .lead { color: var(--muted); }

@media (max-width: 64rem) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero__right { padding-block: 2rem; }
  .hero__sticky { position: static; min-height: 0; justify-content: flex-start; }
  .hero__left { padding-top: 1.5rem; }
  .lit__row { gap: 6vw; }
  .lit__text { position: static; width: auto; padding: 1.75rem var(--margin) 0; pointer-events: auto; }
  .fields { grid-template-columns: 1fr 1fr; }
  .field { min-height: 21rem; }
  .get__text { grid-column: 1 / span 8; }
  .get__shot { grid-column: 9 / span 4; }
  .page-hero__text, .page-hero__media { grid-column: 1 / -1; }
  .cap__text, .cap--flip .cap__text, .cap__frag, .cap--flip .cap__frag { grid-column: 1 / -1; grid-row: auto; }
  .pin__frag { grid-column: 1 / -1; position: static; }
  .pin__steps { grid-column: 1 / -1; gap: 3.5rem; padding-block: 0; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-band { grid-template-columns: 1fr 1fr; }
  .para__foot { grid-column: 1 / -1; }
}

@media (max-width: 40rem) {
  .hero__left h1 { font-size: 2.5rem; }
  .app[data-ui] { border-radius: 18px; }
  .lit { min-height: 0; }
  .lit__row { padding-inline: 7vw; gap: 4vw; }
  .lit__panel { width: 86vw; max-width: 22rem; }
  .fields { grid-template-columns: 1fr; }
  .field { min-height: 0; }
  .field__card { margin: 1.25rem 0 0; padding: 0; align-self: flex-start; }
  .field__clause { order: -1; margin-top: 0.5rem; font-size: 1.375rem; }
  .field h2 { order: -2; font-size: 1.5rem; }
  .para__text { font-size: 1.5rem; }
  .slot { width: 1.6em; }
  .bars__chart[data-ui] { grid-template-columns: 1fr; height: auto; gap: 6px; padding: 2rem 0 0; }
  .bars__bar { height: 1.75rem; width: var(--w); }
  .bars__mon { bottom: auto; top: 50%; transform: translateY(-50%); }
  .bars__val { left: auto; right: 0.5rem; bottom: auto; top: 50%; transform: translateY(-50%); opacity: 1; font-size: 0.9375rem; color: #fff; }
  .bars__bar:not(.is-labeled) .bars__val { opacity: 0; }
  .bars__bar.is-key .bars__val { color: var(--green-ink); }
  .bars__fig { font-size: 26vw; }
  .tiles { gap: 20px 8px; }
  .tile__strip { min-height: 4.75rem; padding: 0.6rem; }
  .tile__vals span:nth-child(n + 3) { display: none; }
  .faq__list { grid-column: 1 / -1; }
  .faq__pane { display: none; }
  .faq__inline { display: block; padding: 0 0 0.85rem 1.35rem; font-size: 1.1875rem; line-height: 1.45; }
  .faq__inline[hidden] { display: none; }
  .get__text, .get__shot { grid-column: 1 / -1; }
  .get__text { padding-bottom: 0; }
  .get__shot { height: 15rem; width: min(100%, 17rem); }
  .foot { grid-template-columns: 1fr; gap: 0.5rem; }
  .foot__links { justify-content: flex-start; }
  .foot__end { justify-self: start; justify-content: flex-start; }
  .shot-trio { gap: 0.5rem; }
  .facts-band { grid-template-columns: 1fr; }
  .facts-band.facts-band--3 { grid-template-columns: 1fr; }
  table { min-width: 0; }
  th, td { padding: 0.8rem 0.6rem; }
  .table-wrap th:first-child { width: 44%; }
  .facts-band > div { min-height: 10rem; }
  .contact h2, .contact > div { grid-column: 1 / -1; }
}

.lines .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.lines [data-line] { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .js .lines [data-line] { transform: translateY(105%); animation: line-up 900ms var(--ease-expo) forwards; animation-delay: calc(var(--i, 0) * 110ms + 150ms); }
  .js [data-load] { opacity: 0; transform: translateY(12px); animation: rise 520ms var(--ease-out) forwards; animation-delay: var(--d, 420ms); }
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .bars__chart .bars__bar { transform: scaleY(0); transition: transform 900ms var(--ease-expo), background-color var(--t-hover) ease; transition-delay: calc(var(--i, 0) * 60ms); }
  .js .bars__chart.is-in .bars__bar { transform: none; }
  .js .page-hero__media { clip-path: inset(0 0 100% 0); animation: open 1000ms var(--ease-in-out) 150ms forwards; }
  .js .page-hero__media img { transform: scale(1.06); animation: settle 1200ms var(--ease-expo) 150ms forwards; }
  .js .shutter:not(.page-hero__media) { clip-path: inset(0 0 100% 0); transition: clip-path 1100ms var(--ease-in-out); }
  .js .shutter.is-in { clip-path: inset(0); }
  @supports (animation-timeline: view()) {
    .drift { animation: drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  }
}
@media (max-width: 40rem) and (prefers-reduced-motion: no-preference) {
  .js .bars__chart .bars__bar { transform: scaleX(0); transform-origin: left; }
}
@keyframes line-up { to { transform: none; } }
@keyframes open { to { clip-path: inset(0); } }
@keyframes settle { to { transform: none; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: translateY(-4%); } to { transform: translateY(4%); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

.nf { position: relative; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; height: 15rem; margin-top: 1rem; }
.nf::before { content: ""; position: absolute; left: 0; right: 0; top: 55%; height: 1px; background: #d1d5db; } /* taste-skill-ignore: zero line of a real chart */
.nf > div { position: relative; }
.nf i { position: absolute; left: 0; right: 0; bottom: 45%; height: calc(var(--v) * 0.4%); background: var(--green); border-radius: 3px 3px 0 0; }
.nf .neg i { bottom: auto; top: 55%; background: #e57373; border-radius: 0 0 3px 3px; }
.nf b { position: absolute; left: 50%; transform: translateX(-50%); bottom: calc(45% + var(--v) * 0.4% + 4px); font-size: 0.8125rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nf .neg b { bottom: auto; top: calc(55% + var(--v) * 0.4% + 4px); color: #b91c1c; }
.nf span { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-size: 0.8125rem; color: #4b5563; }
.wd { display: grid; gap: 0.45rem; margin-top: 1rem; }
.wd > div { display: grid; grid-template-columns: 2.75rem 1fr 6.5rem; gap: 0.75rem; align-items: center; }
.wd span { font-weight: 600; }
.wd i { display: block; height: 1.4rem; width: calc(var(--v) * 1%); background: #b9e8cb; border-radius: 4px; }
.wd .top i { background: var(--green); }
.wd b { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; font-size: 0.875rem; }
@media (max-width: 40rem) {
  .nf b { font-size: 0.8125rem; writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg); }
  .wd > div { grid-template-columns: 2.5rem 1fr 5.75rem; gap: 0.5rem; }
}

.shot-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 2.5rem; }
.shot-row img { width: 100%; border-radius: 18px; background: #fff; }
.shot-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 62rem; }
.shot-row figcaption { margin-top: 0.75rem; font-weight: 650; }
.split-note { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem var(--gutter); align-items: center; margin-top: 3rem; }
.split-note .lead { grid-column: 1 / span 6; }
.split-note img { grid-column: 9 / span 4; justify-self: end; width: min(100%, 17rem); }
@media (max-width: 40rem) {
  .shot-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .shot-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split-note .lead, .split-note img { grid-column: 1 / -1; justify-self: start; }
}
.support-mail { margin-top: 1.75rem; font-size: clamp(1.375rem, 1rem + 1.4vw, 2.25rem); font-weight: 750; letter-spacing: -0.03em; overflow-wrap: anywhere; }
.support-mail a { text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 3px; text-underline-offset: 0.2em; }
.page-hero .hero__actions { margin-top: 1.75rem; }

.sheet { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 2.5rem; }
.sheet > div { background: var(--surface); padding: clamp(1.1rem, 2vw, 1.6rem); display: grid; gap: 0.4rem; align-content: start; }
.sheet dt { font-weight: 650; }
.sheet dd { font-size: var(--step-lead); line-height: 1.35; letter-spacing: -0.01em; overflow-wrap: break-word; }
.shot-links a { display: block; text-decoration: none; }
.shot-links a:hover figcaption { text-decoration: underline; text-underline-offset: 0.2em; }
@media (max-width: 64rem) { .sheet { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .sheet { grid-template-columns: 1fr; } }

/* Home fragment, 2.5 layout: period row, Left to spend today, goals, insights */
.app__avatar { background: #3f51b5; }
.app__nav { display: grid; grid-template-columns: 2.4rem 1fr 2.4rem; gap: 0.5rem; align-items: center; margin: 0.35rem 0.75rem; }
.app__nav .app__month { margin: 0; }
.app__round { width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--a-card); display: grid; place-items: center; color: var(--a-ink); }
.app__round svg { width: 1.05rem; height: 1.05rem; }
.app__today, .app__goalrow { display: grid; grid-template-columns: 2.35rem 1fr auto; gap: 0.7rem; align-items: center; }
.app__today small, .app__goalrow small { display: block; color: var(--a-muted); font-size: 0.8125rem; }
.app__today b, .app__goalrow b { display: block; font-size: 1.0625rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.app__ic { width: 2.35rem; height: 2.35rem; border-radius: 50%; background: var(--mint); color: #2e9e5b; display: grid; place-items: center; }
.app__ic svg { width: 1.1rem; height: 1.1rem; }
.app__chev { color: var(--a-muted); font-size: 1.125rem; line-height: 1; }
.app__goals .bar { height: 0.45rem; border-radius: var(--pill); background: #edf0f3; overflow: hidden; margin-top: 0.7rem; }
.app__due { display: flex; align-items: center; gap: 0.35rem; margin-top: 0.5rem; font-size: 0.8125rem; font-weight: 600; }
.app__due svg { width: 0.95rem; height: 0.95rem; color: var(--orange); flex: none; }
.app__insights { margin: 0.6rem 0.75rem; padding: 0.7rem 0 0.7rem 0.75rem; border-radius: 10px; background: #eceff3; }
.app__insights p { display: flex; justify-content: space-between; align-items: baseline; padding-right: 0.75rem; margin-bottom: 0.5rem; }
.app__insights b { font-weight: 600; color: #4b5563; }
.app__insights small { color: var(--a-muted); font-size: 0.75rem; }
.app__insights .app__chips { margin: 0; }
.app__donuts .donut + span { font-size: 1rem; }

/* Trailer */
.film { padding: clamp(4rem, 8vw, 7rem) var(--margin) 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem var(--gutter); align-items: end; }
.film__head { grid-column: 1 / span 4; display: grid; gap: 1rem; padding-bottom: 0.5rem; }
.film__head h2 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.5rem); line-height: 1; letter-spacing: -0.04em; }
.film__head p { color: var(--night-muted); max-width: 38ch; }
.film__frame { grid-column: 5 / -1; }
.film__frame video { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 22px; background: var(--night-3); }
.film + .lit { padding-top: clamp(3rem, 6vw, 5rem); }

/* Languages */
.langs { background: var(--night); color: var(--night-ink); padding-block: calc(var(--section) / 2.5); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2.5rem var(--gutter); align-items: end; }
.langs__head { grid-column: 1 / span 5; padding: 0 0 0 var(--margin); display: grid; gap: 0.75rem; }
.langs__shots { grid-column: 6 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-right: var(--margin); }
.langs__shots img { width: 100%; border-radius: 18px; background: #fff; }
.langs__shots figcaption { margin-top: 0.6rem; font-weight: 650; color: var(--night-muted); }

/* Closing band: the App Store preview instead of a still */
.get__shot--video { height: clamp(18rem, 34vw, 28rem); }
.get__shot--video video { width: 100%; height: auto; border-radius: 22px 22px 0 0; background: #1fa85a; }

@media (max-width: 64rem) {
  .film__head, .film__frame { grid-column: 1 / -1; }
  .langs__head, .langs__shots { grid-column: 1 / -1; }
  .langs__head { padding-right: var(--margin); }
  .langs__shots { padding-left: var(--margin); }
}
@media (max-width: 40rem) {
  .film__frame video { border-radius: 14px; }
  .langs__shots { gap: 6px; }
  .langs__shots img { border-radius: 10px; }
  .get__shot--video { height: 20rem; }
}

/* Legal pages: privacy.html, terms.html */
.legal-hero { padding-bottom: 2.5rem; }
.legal-hero .page-hero__text { grid-column: 1 / span 9; }
.legal__meta { margin-top: 1.25rem; color: var(--muted); }
.legal { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; padding-bottom: calc(var(--section) / 2); }
.legal__toc { grid-column: 1 / span 3; position: sticky; top: 5.5rem; max-height: calc(100vh - 7rem); overflow-y: auto; }
.legal__toc h2 { font-size: 1rem; line-height: 1.4; }
.legal__toc ol { margin-top: 0.75rem; display: grid; gap: 0.35rem; }
.legal__toc a { color: var(--muted); font-weight: 600; text-decoration: none; }
.legal__toc a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 0.2em; }
.legal__doc { grid-column: 5 / span 8; max-width: 46rem; }
.legal__doc > * + * { margin-top: 1rem; }
.legal__doc h2 { margin-top: 3rem; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.15; letter-spacing: -0.025em; }
.legal__doc h2:first-child { margin-top: 0; }
.legal__doc h3 { margin-top: 1.75rem; font-size: 1.1875rem; }
.legal__doc p { max-width: 68ch; }
.legal__doc ul { padding-left: 1.25rem; list-style: disc; max-width: 68ch; }
.legal__doc li + li { margin-top: 0.5rem; }
.legal__doc li::marker { color: var(--green-deep); }
.legal__doc a { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--mint-3); text-underline-offset: 0.2em; overflow-wrap: anywhere; }
.legal__doc a:hover { text-decoration-color: currentColor; }
.legal__table { overflow-x: auto; }
.legal__table table { min-width: 0; font-variant-numeric: normal; }
.legal__table th, .legal__table td { padding: 0.85rem 1rem 0.85rem 0; }
.legal__table tbody th { width: 34%; }
.legal__table thead th:last-child, .legal__table tbody td:last-child { background: none; }
@media (max-width: 64rem) {
  .legal-hero .page-hero__text { grid-column: 1 / -1; }
  .legal__toc { grid-column: 1 / -1; position: static; max-height: none; overflow: visible; margin-bottom: 2.5rem; padding-block: 1.25rem; border-block: 1px solid #e3e6ea; }
  .legal__toc ol { display: block; columns: 2; column-gap: var(--gutter); }
  .legal__toc li + li { margin-top: 0.35rem; }
  .legal__doc { grid-column: 1 / -1; }
}
@media (max-width: 40rem) {
  .legal__toc ol { columns: 1; }
  .legal__table tbody th { width: 40%; }
}

/* Store pictures strip (home) */
.reel { padding-block: clamp(3.5rem, 7vw, 6rem); overflow: clip; }
.reel__head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; padding-inline: var(--margin); margin-bottom: 2rem; }
.reel__head h2 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.5rem); line-height: 1; letter-spacing: -0.04em; max-width: 18ch; }
.reel__ctrl { display: flex; gap: 0.6rem; flex: none; }
.reel__ctrl button { width: 3rem; height: 3rem; border-radius: 50%; background: var(--field); color: var(--ink); display: grid; place-items: center; transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.reel__ctrl button:hover { background: #dfe3e9; }
.reel__ctrl button:active { transform: scale(0.94); }
.reel__ctrl svg { width: 1.25rem; height: 1.25rem; }
.reel__row { display: flex; gap: clamp(0.75rem, 1.4vw, 1.25rem); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--margin); padding-inline: var(--margin); scrollbar-width: none; overscroll-behavior-x: contain; }
.reel__row::-webkit-scrollbar { display: none; }
.reel__row figure { flex: none; width: clamp(13.5rem, 21vw, 19rem); scroll-snap-align: start; }
.reel__row img { width: 100%; height: auto; border-radius: 22px; background: #22b363; }
@media (max-width: 40rem) {
  .reel__ctrl { display: none; }
  .reel__row figure { width: 68vw; }
  .reel__row img { border-radius: 16px; }
}
.press-video { width: 100%; max-width: 62rem; height: auto; aspect-ratio: 16 / 9; border-radius: 20px; background: #000; margin-top: 2rem; }
/* Home: topic links without pictures (the screens are shown above) */
.tiles--links { gap: 12px; }
.tiles--links .tile__strip { min-height: 8.5rem; padding: 1.1rem; align-content: space-between; transition: transform var(--t-press) var(--ease-out); }
.tiles--links .tile__meta { font-size: 1.125rem; }
.tiles--links .tile:hover .tile__strip { transform: translateY(-3px); }
@media (max-width: 40rem) { .tiles--links .tile__strip { min-height: 6.5rem; padding: 0.85rem; } .tiles--links .tile__meta { font-size: 1rem; } }
