/* enaso landing. Colours and type come from the app's theme
   (flutter/lib/core/theme/app_colors.dart), so the page and the app read as
   one product. */

@font-face {
  font-family: "Nunito";
  src: url("/fonts/nunito.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}
@font-face {
  font-family: "Noto Georgian";
  src: url("/fonts/georgian.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+10A0-10FF, U+1C90-1CBF, U+2D00-2D2F;
}

:root {
  --paper: #fff6ea;
  --card: #ffffff;
  --ink: #2b1d16;
  --soft: #8a7464;
  --line: #f0e2cf;
  --peach: #ffe9d6;
  --persimmon: #f26b3a;
  --persimmon-dark: #c94e22;
  --leaf: #3fa66b;
  --leaf-dark: #2c7f50;
  --leaf-light: #e3f5e8;
  --sky: #3e9bef;
  --sky-dark: #2a78c2;
  --sky-light: #e3f1ff;
  --sun: #ffc53d;
  --sun-light: #fff3cf;
  --plum: #6b4bd8;
  --plum-light: #eee8ff;
  --shadow: 0 18px 40px -18px rgba(106, 75, 60, 0.35);
  --font: "Nunito", "Noto Georgian", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1180px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.5;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }

/* The WebGL watercolour (webgl.js) sits behind everything and fades in. */
.paint { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; }
.paint.on { opacity: 1; }
.webgl .chips { display: none; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 900; line-height: 1.05; letter-spacing: -0.02em; }
p { margin: 0; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 8px; }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  --edge: var(--persimmon-dark);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  background: var(--persimmon);
  color: #fff;
  font-weight: 900;
  font-size: 18px;
  text-decoration: none;
  box-shadow: 0 5px 0 var(--edge), 0 18px 30px -12px rgba(242, 107, 58, 0.6);
  transition: box-shadow 0.2s, filter 0.2s;
  will-change: transform;
}
.btn:hover { filter: brightness(1.05); }
.btn:active { box-shadow: 0 2px 0 var(--edge); translate: 0 3px; }
.btn--small { padding: 10px 18px; font-size: 15px; box-shadow: 0 4px 0 var(--edge); }
.btn--white { background: #fff; color: var(--ink); --edge: #f0d8c4; font-size: 19px; }
.play { width: 20px; height: 20px; fill: currentColor; flex: none; }
.play--color { fill: var(--leaf); }

/* ── Navigation ──────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px var(--gutter);
  transition: background 0.3s, box-shadow 0.3s, translate 0.4s;
}
.nav.is-scrolled { background: rgba(255, 246, 234, 0.86); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { translate: 0 -100%; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 30px; letter-spacing: -0.03em; }
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 3px 0 var(--line); }
.nav__links { display: flex; gap: 34px; margin-left: auto; margin-right: 18px; }
.nav__links a { text-decoration: none; font-weight: 800; font-size: 15px; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; border-radius: 3px; background: var(--persimmon); scale: 0 1; transform-origin: left; transition: scale 0.3s; }
.nav__links a:hover::after { scale: 1 1; }

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  max-width: var(--max);
  margin: 0 auto;
  padding: 110px var(--gutter) 40px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 24px;
}
.hero__title { font-size: clamp(44px, 6.4vw, 84px); }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; }
.hero__title .w > span { display: inline-block; }
.mark { position: relative; display: inline-block; }
.mark svg { position: absolute; left: 0; bottom: -0.12em; width: 100%; height: 0.24em; overflow: visible; }
.mark path { fill: none; stroke: var(--persimmon); stroke-width: 7; stroke-linecap: round; }
.hero__lead { margin-top: 26px; font-size: clamp(18px, 1.7vw, 22px); max-width: 30ch; }
.hero__actions { margin-top: 34px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.hero__note { font-size: 14px; color: var(--soft); font-weight: 700; }

.hero__stage { position: relative; height: min(680px, 78svh); }
.hero__mountains { position: absolute; inset: 4% -30% auto -10%; width: 140%; opacity: 0.75; mask-image: linear-gradient(#000 60%, transparent); }
.hero__hills { position: absolute; right: -14%; bottom: 8%; width: 62%; border-radius: 30px; mask-image: radial-gradient(closest-side, #000 62%, transparent); }
.hero__branch { position: absolute; right: -10%; top: 2%; width: 44%; rotate: 160deg; opacity: 0.9; }
.hero__bird { position: absolute; left: -6%; bottom: 4%; width: 46%; z-index: 3; filter: drop-shadow(0 18px 18px rgba(106, 75, 60, 0.18)); }

/* ── Phone ───────────────────────────────────────────────────────────── */
.phone {
  position: relative;
  width: 300px;
  aspect-ratio: 300 / 620;
  padding: 10px;
  border-radius: 46px;
  background: #241a15;
  box-shadow: inset 0 0 0 2px #4a3a31, 0 40px 60px -30px rgba(43, 29, 22, 0.55), 0 20px 30px -20px rgba(43, 29, 22, 0.35);
  flex: none;
}
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #0d0907; z-index: 5; }
.phone__screen {
  position: relative;
  height: 100%;
  border-radius: 37px;
  overflow: hidden;
  background: var(--paper);
  font-size: 12px;
  line-height: 1.3;
  display: flex;
  flex-direction: column;
}
.phone__screen--sky { background: #e8f3fd; }
.phone--hero { position: absolute; left: 34%; top: 2%; z-index: 2; rotate: 6deg; }
.status { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px 6px; font-weight: 800; font-size: 11px; }
.status__icons { display: flex; gap: 3px; align-items: center; }
.status__icons i { width: 4px; height: 8px; background: var(--ink); border-radius: 1px; }
.status__icons b { width: 16px; height: 8px; border: 1.5px solid var(--ink); border-radius: 2px; }
.tabbar { margin-top: auto; display: flex; justify-content: space-around; align-items: center; padding: 10px 14px 16px; background: #fff; border-top: 1px solid var(--line); }
.tabbar i { width: 20px; height: 20px; border-radius: 6px; background: var(--line); }
.tabbar i.on { background: var(--persimmon); }
.tabbar i.mid { width: 34px; height: 34px; border-radius: 12px; background: var(--persimmon); box-shadow: 0 3px 0 var(--persimmon-dark); }
.tabbar i.mid:not(.on) { background: #f6a27f; }

/* Today screen */
.today { padding: 4px 14px 10px; display: flex; flex-direction: column; gap: 8px; }
.today__head { display: flex; justify-content: space-between; align-items: center; }
.logo-word { font-weight: 900; font-size: 20px; letter-spacing: -0.03em; }
.streak { display: flex; align-items: center; gap: 3px; background: #fff; border-radius: 99px; padding: 3px 9px 3px 5px; font-weight: 800; font-size: 11px; box-shadow: 0 2px 0 var(--line); }
.streak img { width: 16px; }
.today__hello strong { display: block; font-size: 16px; font-weight: 900; }
.today__hello span { color: var(--soft); font-size: 11px; }
.deck { position: relative; border-radius: 18px; overflow: hidden; background: var(--persimmon); color: #fff; box-shadow: 0 4px 0 var(--persimmon-dark); }
.deck img { width: 100%; height: 86px; object-fit: cover; object-position: 50% 30%; }
.deck__body { padding: 8px 12px 10px; display: grid; gap: 4px; }
.deck__body b { font-size: 14px; font-weight: 900; }
.deck__body span { font-size: 11px; opacity: 0.9; }
.deck__body i { font-style: normal; }
.bar { height: 6px; border-radius: 9px; background: rgba(255, 255, 255, 0.35); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: #fff; }
.today__label { font-weight: 900; font-size: 13px; margin-top: 2px; }
.task { display: flex; align-items: center; gap: 9px; background: #fff; border-radius: 14px; padding: 8px 10px; box-shadow: 0 2px 0 var(--line); }
.task__icon { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-weight: 900; font-size: 14px; flex: none; }
.task__icon--leaf { background: var(--leaf-light); color: var(--leaf-dark); }
.task__icon--sky { background: var(--sky-light); color: var(--sky-dark); }
.task__img { width: 30px; height: 30px; object-fit: contain; flex: none; }
.task__text { display: grid; flex: 1; }
.task__text b { font-size: 12px; font-weight: 900; }
.task__text small { font-size: 10.5px; color: var(--soft); font-weight: 700; }
.task__text i { font-style: normal; }
.task__go { color: var(--soft); font-size: 18px; font-weight: 900; }
.task__check { width: 22px; height: 22px; border-radius: 50%; background: var(--leaf); color: #fff; display: grid; place-items: center; font-size: 12px; }

/* Word chips around the hero phone */
.chips { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.chip {
  position: absolute;
  left: calc(50% + var(--x));
  top: var(--y);
  rotate: var(--r);
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 16px;
  background: #fff;
  font-weight: 900;
  font-size: 19px;
  white-space: nowrap;
  box-shadow: 0 5px 0 var(--line), var(--shadow);
  translate: -50% 0;
}
.chip em { font-style: normal; font-weight: 700; font-size: 14px; color: var(--soft); }
.chip--sky { background: var(--sky-light); }
.chip--sun { background: var(--sun-light); }
.chip--plum { background: var(--plum-light); }
.chip--leaf { background: var(--leaf-light); }

/* ── Word band ───────────────────────────────────────────────────────── */
.band { padding: clamp(40px, 7vw, 90px) 0 10px; overflow: hidden; display: grid; gap: 4px; }
.band__row { overflow: visible; }
.band__track { display: flex; align-items: center; width: max-content; will-change: transform; }
.band__track span { font-weight: 900; font-size: clamp(54px, 9vw, 132px); line-height: 1.05; letter-spacing: -0.03em; padding: 0 0.18em; white-space: nowrap; }
.band__track .f { color: var(--ink); }
.band__track .o { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.band__track .p { color: var(--persimmon); }
.band__track i { font-style: normal; font-size: clamp(24px, 3vw, 44px); color: var(--sun); }

/* Section headings split into letters for the 3D reveal. */
.wd { display: inline-block; white-space: nowrap; }
.ch { display: inline-block; }

/* ── Pillars ─────────────────────────────────────────────────────────── */
.pillars {
  max-width: var(--max);
  margin: 20px auto 0;
  padding: 26px clamp(18px, 3vw, 40px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 28px;
  box-shadow: 0 2px 0 var(--line);
  width: calc(100% - 2 * var(--gutter));
}
.pillar { display: flex; gap: 16px; align-items: flex-start; }
.pillar + .pillar { border-left: 1.5px solid var(--line); padding-left: 18px; }
.pillar h3 { font-size: 19px; margin-bottom: 4px; }
.pillar p { font-size: 15px; color: var(--soft); }
.pillar__icon { flex: none; width: 52px; height: 52px; }
.pillar__icon svg { width: 100%; height: 100%; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.pillar__icon--cal svg { stroke: var(--persimmon); }
.pillar__icon--cal .dot { fill: var(--persimmon); stroke: none; }
.pillar__icon--book svg { stroke: var(--persimmon); }
.pillar__icon--book .page { stroke: var(--sun); }
.pillar__icon--leaf .stem { stroke: var(--leaf-dark); }
.pillar__icon--leaf .blade { fill: #8fd17a; stroke: var(--leaf); transform-origin: 14px 32px; }

/* ── Scenes (pinned stories) ─────────────────────────────────────────── */
.scene { position: relative; overflow-x: clip; }
.scene__inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 100svh;
  padding: 100px var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(30px, 6vw, 90px);
}
.scene__inner--flip .scene__visual { order: -1; }
.scene__copy h2 { font-size: clamp(36px, 4.6vw, 58px); margin: 10px 0 20px; }
.scene__copy > p { font-size: 18px; max-width: 46ch; }
.eyebrow { font-weight: 900; font-size: 14px; color: var(--persimmon); }
.u { --u: 0%; background: linear-gradient(var(--persimmon), var(--persimmon)) 0 92% / var(--u) 0.14em no-repeat; padding-bottom: 0.06em; }
.scene__visual { position: relative; display: grid; place-items: center; }
.deco { position: absolute; pointer-events: none; }
.deco--bush-l { left: 0; bottom: 4%; width: 34%; }
.deco--branch { right: -6%; top: -4%; width: 50%; rotate: 200deg; }

/* Forgetting curve */
.curve { margin: 34px 0 0; }
.curve svg { width: 100%; max-width: 520px; overflow: visible; }
.curve__grid { stroke: var(--line); stroke-width: 1.5; }
.curve__axis { font-size: 12px; fill: var(--soft); font-weight: 800; }
.curve__area { fill: url(#fade); opacity: 0; }
.curve__line { fill: none; stroke: var(--persimmon); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.curve__marks circle { fill: var(--leaf); stroke: #fff; stroke-width: 3; }
.curve__marks circle.next { fill: #fff; stroke: var(--leaf); stroke-dasharray: 4 3; }
.curve__marks text { font-size: 13px; font-weight: 900; fill: var(--ink); text-anchor: middle; }
.curve figcaption { margin-top: 10px; font-size: 14px; color: var(--soft); font-weight: 700; }

/* Flashcard session */
.session-top { display: flex; align-items: center; gap: 10px; padding: 6px 18px 10px; font-weight: 900; }
.session-top .bar { flex: 1; background: #fff; height: 8px; }
.bar--leaf i { background: var(--leaf); width: 40%; }
.session-top small { font-size: 11px; color: var(--soft); }
.flip-stack { position: relative; flex: 1; margin: 4px 16px 0; perspective: 900px; }
.flip { position: absolute; inset: 0 0 8px; transform-style: preserve-3d; }
.flip--next { z-index: -1; }
.flip__face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 6px 0 #d8e6f3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px;
  text-align: center;
}
.flip__back { rotate: y 180deg; }
.flip__face img { width: 112px; }
.flip .tag { position: absolute; top: 14px; font-size: 10px; font-weight: 900; color: var(--persimmon); background: var(--peach); padding: 3px 10px; border-radius: 99px; }
.word { font-size: 34px; font-weight: 900; letter-spacing: 0; }
.flip__face small { font-size: 12px; color: var(--soft); font-weight: 800; }
.translation { font-size: 22px; font-weight: 900; color: var(--sky-dark); }
.example { margin-top: 6px; font-size: 12.5px; font-weight: 800; background: var(--paper); border-radius: 14px; padding: 8px 12px; }
.example em { display: block; font-style: normal; font-weight: 600; color: var(--soft); }
.grades { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 10px 16px 22px; }
.grades span { display: grid; place-items: center; gap: 1px; padding: 7px 2px; border-radius: 14px; background: #fff; box-shadow: 0 3px 0 #d8e6f3; font-size: 9.5px; font-weight: 800; }
.grades b { font-size: 15px; font-weight: 900; }
.grades span.is-pressed { background: var(--leaf); color: #fff; box-shadow: 0 1px 0 var(--leaf-dark); translate: 0 2px; }
.reveal-btn { position: absolute; left: 16px; right: 16px; bottom: 22px; padding: 13px; border-radius: 16px; background: var(--persimmon); color: #fff; font-weight: 900; text-align: center; font-size: 14px; box-shadow: 0 4px 0 var(--persimmon-dark); }
.tap { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: rgba(43, 29, 22, 0.25); border: 2px solid rgba(255, 255, 255, 0.9); opacity: 0; pointer-events: none; z-index: 6; }
.toast { position: absolute; left: 50%; top: 64px; translate: -50% 0; white-space: nowrap; background: var(--ink); color: #fff; border-radius: 99px; padding: 7px 14px; font-weight: 800; font-size: 11.5px; opacity: 0; z-index: 6; }

/* Feed */
.feed-head { padding: 2px 18px 8px; font-size: 18px; }
.feed-head span { font-weight: 700; color: var(--soft); }
.feed-tabs { display: grid; grid-template-columns: 1fr 1fr; margin: 0 16px 10px; background: #fff; border-radius: 99px; padding: 4px; box-shadow: 0 2px 0 var(--line); }
.feed-tabs span { text-align: center; padding: 6px; border-radius: 99px; font-weight: 900; font-size: 12px; transition: background 0.3s, color 0.3s; }
.feed-tabs span.on { background: var(--persimmon); color: #fff; }
.feed-window { position: relative; flex: 1; overflow: hidden; mask-image: linear-gradient(transparent, #000 4%, #000 92%, transparent); }
.feed-track { padding: 4px 16px; display: grid; gap: 12px; }
.post { position: relative; background: #fff; border-radius: 20px; padding: 12px 14px; box-shadow: 0 3px 0 var(--line); }
.post__kind { font-size: 10.5px; font-weight: 900; color: var(--sky-dark); }
.post--fact .post__kind { color: var(--leaf-dark); }
.post--detective { background: var(--plum-light); }
.post--detective .post__kind { color: var(--plum); }
.post--dialogue .post__kind { color: var(--persimmon-dark); }
.post__text { margin: 6px 0; font-size: 15px; font-weight: 800; line-height: 1.35; }
.post small { color: var(--soft); font-size: 11px; font-weight: 700; }
.post img { width: 100%; height: 96px; object-fit: cover; border-radius: 14px; margin-top: 4px; }
.post mark { background: var(--sun-light); color: inherit; border-radius: 6px; padding: 0 3px; box-shadow: inset 0 -2px 0 var(--sun); }
.bubble { position: absolute; left: 24px; bottom: 82px; z-index: 2; background: var(--ink); color: #fff; padding: 6px 11px; border-radius: 12px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.bubble b { color: var(--sun); margin-right: 4px; }
.bubble::after { content: ""; position: absolute; left: 24px; top: -6px; border: 6px solid transparent; border-top: 0; border-bottom-color: var(--ink); }
.post__q { margin: 6px 0 8px; font-size: 14px; font-weight: 800; }
.options { display: grid; gap: 6px; }
.options span { background: #fff; border-radius: 12px; padding: 7px 10px; font-weight: 800; font-size: 12px; box-shadow: 0 2px 0 #ddd3f7; transition: background 0.3s, color 0.3s; }
.options span.is-right { background: var(--leaf); color: #fff; box-shadow: 0 2px 0 var(--leaf-dark); }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; font-weight: 700; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--leaf-light); color: var(--leaf-dark); display: grid; place-items: center; font-size: 13px; font-weight: 900; }

/* Reading */
.scene--read { overflow: hidden; }
.read__hills { position: absolute; right: -6%; bottom: 0; width: 46%; opacity: 0.55; mask-image: radial-gradient(closest-side, #000 50%, transparent); pointer-events: none; }
.scene--read .scene__visual { display: grid; gap: 18px; justify-items: stretch; }
.story { position: relative; background: #fff; border-radius: 30px; overflow: hidden; box-shadow: 0 6px 0 var(--line), var(--shadow); }
.story__cover { width: 100%; height: 170px; object-fit: cover; }
.story__body { padding: 18px 22px 22px; }
.story__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.story__top > b { font-size: 22px; font-weight: 900; }
.levels { display: inline-flex; gap: 4px; background: var(--paper); border-radius: 99px; padding: 4px; }
.levels button { border: 0; background: transparent; font: inherit; font-weight: 900; font-size: 13px; padding: 5px 11px; border-radius: 99px; color: var(--soft); cursor: pointer; transition: background 0.3s, color 0.3s; }
.levels button.on { background: var(--leaf); color: #fff; }
.story__text { margin: 16px 0 14px; min-height: 3.2em; font-size: clamp(20px, 2.1vw, 26px); font-weight: 800; line-height: 1.4; }
.story__text .t { display: inline-block; white-space: pre; }
.story__text .known { background: var(--leaf-light); color: var(--leaf-dark); border-radius: 7px; padding: 0 3px; }
.story__text .new { border-bottom: 2px dotted var(--soft); cursor: help; position: relative; }
.story__text .new[data-tip]:hover::after, .story__text .new.show::after { content: attr(data-tip); position: absolute; left: 50%; bottom: 120%; translate: -50% 0; background: var(--ink); color: #fff; font-size: 13px; padding: 5px 10px; border-radius: 10px; white-space: nowrap; }
.story__legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--soft); font-weight: 700; }
.story__legend span::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; }
.story__legend .known::before { background: var(--leaf-light); box-shadow: inset 0 0 0 2px var(--leaf); }
.story__legend .new::before { border-bottom: 2px dotted var(--soft); border-radius: 0; height: 8px; }
.shelf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.shelf li { background: #fff; border-radius: 20px; padding: 8px; box-shadow: 0 3px 0 var(--line); display: grid; gap: 6px; }
.shelf img { width: 100%; height: 70px; object-fit: cover; border-radius: 14px; }
.shelf b { font-size: 14px; padding: 0 4px; }
.lvl { justify-self: start; margin: 0 4px 4px; font-size: 11px; font-weight: 900; padding: 2px 8px; border-radius: 99px; }
.lvl--a1 { background: var(--leaf-light); color: var(--leaf-dark); }
.lvl--a2 { background: var(--sun-light); color: #a87412; }

/* About */
.about { padding: 40px var(--gutter) 80px; }
.about__inner { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: 180px 1fr; gap: 34px; align-items: center; background: #fff; border-radius: 34px; padding: clamp(24px, 4vw, 44px); box-shadow: 0 5px 0 var(--line); }
.about h2 { font-size: clamp(26px, 3vw, 36px); margin: 8px 0 14px; }
.about p + p { margin-top: 12px; }
.about p { color: #4b3a30; }
.about a { color: var(--persimmon-dark); font-weight: 800; }

/* CTA */
.cta { padding: 40px var(--gutter) 70px; }
.cta__band {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  min-height: 220px;
  border-radius: 40px;
  background: linear-gradient(110deg, #f26b3a, #f7955f 60%, #fbc49c);
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 40px clamp(24px, 5vw, 64px);
  color: #fff;
  box-shadow: 0 8px 0 var(--persimmon-dark);
}
.cta h2 { font-size: clamp(30px, 3.6vw, 46px); max-width: 13ch; text-shadow: 0 2px 0 rgba(201, 78, 34, 0.4); }
.cta__bird { position: absolute; right: 2%; bottom: 0; width: clamp(150px, 20vw, 250px); }
.cta__burst { position: absolute; right: 12%; top: 10%; width: 1px; height: 1px; }
.cta__burst img { position: absolute; width: 34px; }

/* Footer */
.footer { max-width: var(--max); margin: 0 auto; padding: 10px var(--gutter) 40px; display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 26px; margin-left: auto; flex-wrap: wrap; }
.footer nav a { text-decoration: none; font-weight: 700; font-size: 14px; }
.footer nav a:hover { color: var(--persimmon-dark); }
.footer small { width: 100%; color: var(--soft); font-weight: 700; font-size: 13px; line-height: 1.6; }
.footer small a { color: inherit; }

/* ── Phones and tablets ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav .btn--small { margin-left: auto; }
  .hero { grid-template-columns: 1fr; padding-top: 96px; text-align: left; }
  .hero__stage { height: 600px; margin-top: 10px; }
  .phone--hero { left: 50%; translate: -50% 0; rotate: 4deg; }
  .hero__bird { width: 40%; left: -4%; }
  .hero { overflow-x: clip; }
  /* Closer to the phone, so no word leaves the screen. */
  .chip { left: calc(50% + var(--x) * 0.62); top: calc(var(--y) * 0.8 + 8%); font-size: 15px; padding: 7px 11px; }
  .chip:nth-child(n + 5) { display: none; }
  .pillars { grid-template-columns: 1fr; }
  .pillar + .pillar { border-left: 0; padding-left: 0; border-top: 1.5px solid var(--line); padding-top: 18px; }
  .scene__inner, .scene__inner--flip { grid-template-columns: 1fr; min-height: 0; padding: 70px var(--gutter); }
  .scene__inner--flip .scene__visual { order: 2; }
  .about__inner { grid-template-columns: 1fr; }
  .about__bird { width: 130px; }
  .cta__band { flex-direction: column; align-items: flex-start; gap: 24px; padding-bottom: 150px; }
  .cta__bird { width: 150px; }
  .footer nav { margin-left: 0; }
}
@media (max-width: 420px) {
  .phone { width: 270px; }
  .chip { font-size: 14px; }
  .shelf { grid-template-columns: 1fr 1fr; }
  .shelf li:last-child { display: none; }
  .levels button { padding: 5px 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
