/* Folio website. Petal design system with the Daisy palette (kit's Petal tokens; app brand from apps/folio/core/ui/.../brand/daisy/),
   static, no build step. Light Daisy theme by default; dark follows the visitor's switch (early.js). Fonts are local subsets (see assets/fonts/README.md). */

/* ── fonts ── */
@font-face { font-family:'Young Serif'; src:url(fonts/YoungSerif-Regular.woff2) format('woff2'); font-weight:400; font-display:swap; unicode-range:U+0000-024F, U+02BC-02DC, U+0300-0308, U+2000-206F, U+2122, U+2190-2193, U+2212; }
@font-face { font-family:'Literata'; src:url(fonts/Literata-Regular.woff2) format('woff2'); font-weight:400; font-style:normal; font-display:swap; unicode-range:U+0000-024F, U+02BC-02DC, U+0300-0308, U+2000-206F, U+2122, U+2190-2193, U+2212; }
@font-face { font-family:'Literata'; src:url(fonts/Literata-RegularItalic.woff2) format('woff2'); font-weight:400; font-style:italic; font-display:swap; unicode-range:U+0000-024F, U+02BC-02DC, U+0300-0308, U+2000-206F, U+2122, U+2190-2193, U+2212; }
@font-face { font-family:'Nunito'; src:url(fonts/Nunito-Medium.woff2) format('woff2'); font-weight:500; font-display:swap; unicode-range:U+0000-024F, U+02BC-02DC, U+0300-0308, U+2000-206F, U+2122, U+2190-2193, U+2212; }
@font-face { font-family:'Nunito'; src:url(fonts/Nunito-Bold.woff2) format('woff2'); font-weight:700; font-display:swap; unicode-range:U+0000-024F, U+02BC-02DC, U+0300-0308, U+2000-206F, U+2122, U+2190-2193, U+2212; }
@font-face { font-family:'Nunito'; src:url(fonts/Nunito-ExtraBold.woff2) format('woff2'); font-weight:800; font-display:swap; unicode-range:U+0000-024F, U+02BC-02DC, U+0300-0308, U+2000-206F, U+2122, U+2190-2193, U+2212; }
/* ── Petal tokens: light (Daisy) ── */
:root {
  --green-80:#98D5A3; --sky-80:#A8C8FF; --lime-80:#C4CE5E; --honey-80:#F7C531;
  --primary:#1E6B3A; --on-primary:#ffffff; --primary-container:#B4F2BE; --on-primary-container:#00391A; --primary-fixed-dim:#98D5A3;
  --secondary:#3A5F8F; --on-secondary:#ffffff; --secondary-container:#D3E4FF; --on-secondary-container:#1A3A63;
  --tertiary:#5B6300; --on-tertiary:#ffffff; --tertiary-container:#E0EA7C; --on-tertiary-container:#323800;
  --honey:#5C4200; --honey-container:#FFE9A6; --on-honey-container:#5C4200;
  --surface:#FFFBF0; --surface-container-lowest:#ffffff; --surface-container-low:#FAF6E8; --surface-container:#F4F0E1; --surface-container-high:#EEEBDB; --surface-container-highest:#E8E5D5;
  --on-surface:#1D1C14; --on-surface-variant:#49483A; --outline:#7A7867; --outline-variant:#CBC9B5;
  --shadow-rgb:29 28 20;
  /* solid petal offsets for tonal cards (Card.jsx "stacked") */
  --offset-green:var(--green-80); --offset-sky:var(--sky-80); --offset-lime:var(--lime-80); --offset-honey:var(--honey-80);

  --space-1:4px; --space-2:8px; --space-3:12px; --space-4:16px; --space-5:20px; --space-6:24px; --space-8:32px; --space-10:40px; --space-12:48px; --space-16:64px;
  --shape-md:12px; --shape-lg:16px; --shape-xl:28px; --shape-full:9999px;
  --shape-petal:28px 28px 28px 8px; --shape-petal-sm:16px 16px 16px 4px; --shape-leaf:28px 6px 28px 6px; --shape-arch:400px 400px 28px 28px;
  --shape-wobble:30px 20px 34px 16px; --shape-wobble-sm:22px 16px 24px 13px / 20px 15px 22px 14px; --shape-wobble-alt:18px 26px 15px 30px / 16px 24px 14px 26px;
  --scallop-r:10px; --stamp-r:6px;
  --font-display:'Young Serif', Georgia, serif; --font-serif:'Literata', Georgia, serif; --font-sans:'Nunito', ui-rounded, system-ui, sans-serif;

  --ease-spring-bouncy:linear(0, 0.09, 0.307, 0.572, 0.826, 1.028, 1.161, 1.225, 1.23, 1.194, 1.137, 1.074, 1.019, 0.978, 0.954, 0.946, 0.949, 0.96, 0.974, 0.988, 1, 1.008, 1.012, 1.013, 1.011, 1.008, 1.005, 1.002, 0.999, 0.998, 0.997, 0.997, 0.998, 0.998, 0.999, 1, 1);
  --ease-spring-default:linear(0, 0.045, 0.155, 0.302, 0.46, 0.614, 0.751, 0.865, 0.954, 1.019, 1.062, 1.085, 1.094, 1.093, 1.084, 1.07, 1.056, 1.041, 1.027, 1.016, 1.007, 1, 0.995, 0.992, 0.991, 0.991, 0.992, 0.993, 0.994, 0.996, 0.997, 0.998, 0.999, 1, 1, 1.001);
  --ease-standard:cubic-bezier(0.2, 0, 0, 1);
  --ease-emphasized-decel:cubic-bezier(0.05, 0.7, 0.1, 1);
  --dur-short:150ms; --dur-medium:300ms; --dur-spring-fast:420ms; --dur-spring-default:600ms; --dur-spring-slow:800ms;
  --glow-1:0 10px 28px -8px color-mix(in srgb, var(--primary) 45%, transparent);
  /* outlines and other ring-shaped decorations never take the page's default corner radius: they take the shape they sit on */
  --focus-r:var(--shape-wobble-sm);
  --state-hover:0.08; --state-pressed:0.12;
  color-scheme:light;
}
/* ── Petal tokens: dark ── */
/* data-theme is set by early.js before first paint: light unless the visitor chose dark. Without JS the page stays light. */
:root[data-theme="dark"] {
  --primary:#98D5A3; --on-primary:#00391A; --primary-container:#005229; --on-primary-container:#B4F2BE; --primary-fixed-dim:#7DBE89;
  --secondary:#A8C8FF; --on-secondary:#06305F; --secondary-container:#234776; --on-secondary-container:#D3E4FF;
  --tertiary:#C4CE5E; --on-tertiary:#2D3200; --tertiary-container:#444B00; --on-tertiary-container:#E0EA7C;
  --honey:#F7C531; --honey-container:#403200; --on-honey-container:#FFE9A6;
  --surface:#14150E; --surface-container-lowest:#0F100A; --surface-container-low:#1B1C14; --surface-container:#1F2018; --surface-container-high:#2A2B22; --surface-container-highest:#35362C;
  --on-surface:#E6E3D3; --on-surface-variant:#CAC8B4; --outline:#939180; --outline-variant:#49483A;
  --shadow-rgb:0 0 0;
  --offset-green:#00391A; --offset-sky:#06305F; --offset-lime:#2D3200; --offset-honey:#403200;
  color-scheme:dark;
}

/* ── base ── */
*, *::before, *::after { box-sizing:border-box; }
html { -webkit-text-size-adjust:100%; text-size-adjust:100%; scroll-behavior:smooth; }
html { overflow-x:clip; }
body { margin:0; background:var(--surface); color:var(--on-surface); font:500 16px/1.5 var(--font-sans); -webkit-font-smoothing:antialiased; overflow-x:clip; }
img, svg { display:block; max-width:100%; }
img { height:auto; }
a { color:var(--primary); text-decoration-thickness:1.5px; text-underline-offset:3px; }
a:hover { color:var(--on-primary-container); }
:focus-visible { outline:3px solid var(--primary); outline-offset:2px; border-radius:var(--focus-r); }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin:0; }
ul, ol { padding:0; list-style:none; }
[hidden] { display:none !important; }
.sprite { position:absolute; width:0; height:0; overflow:hidden; }
.vh { position:absolute !important; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
.nw { white-space:nowrap; }
.ic { width:24px; height:24px; fill:currentColor; flex:none; }
.wrap { width:100%; max-width:1160px; margin-inline:auto; padding-inline:16px; }
.skip { position:absolute; left:12px; top:-80px; z-index:10; background:var(--primary); color:var(--on-primary); font:800 15px/1 var(--font-sans); padding:16px 20px; border-radius:var(--shape-wobble-sm); text-decoration:none; }
.skip:focus { top:12px; color:var(--on-primary); }

/* ── type ── */
.h2 { font:400 clamp(28px, 22px + 1.7vw, 42px)/1.15 var(--font-display); letter-spacing:-0.015em; text-wrap:balance; }
.h3 { font:400 24px/1.2 var(--font-display); letter-spacing:-0.01em; margin-bottom:8px; text-wrap:balance; }
.sub { font:400 17px/1.55 var(--font-serif); color:var(--on-surface-variant); margin-top:10px; max-width:36em; }
.get-text { font:400 17px/1.55 var(--font-serif); max-width:34em; }

/* Mark: hand-highlighter with uneven corners that sweeps in (Petal Mark). One per section at most. */
.mk { color:inherit; padding:0 0.16em; margin:0 -0.04em; border-radius:0.35em 0.6em 0.4em 0.7em / 0.6em 0.4em 0.6em 0.45em;
  background-color:transparent; background-image:linear-gradient(var(--primary-container), var(--primary-container)); background-repeat:no-repeat; background-position:0 62%; background-size:100% 76%;
  -webkit-box-decoration-break:clone; box-decoration-break:clone; }
.mk-sky { background-image:linear-gradient(var(--secondary-container), var(--secondary-container)); }
html.motion .mk { background-size:0% 76%; transition:background-size 700ms var(--ease-emphasized-decel); }
html.motion .mk.on { background-size:100% 76%; }

/* ── controls: one recipe (Petal tokens/interaction.css, .pt-int) ──
   Every button and button-like link has class "int". Its shapes come from --r-rest, --r-hover and --r-press; hover and press lay a
   currentColor state layer over it (8%, 12%); background, text colour and shadow ride the same transition list as the shape. So a
   change that is not the pointer (a selected pill, a disabled arrow) goes through the same motion and nothing snaps.
   --r-rest is half the 48px height, not 9999px: a spring cannot cross 9999px (the radius stays "full" until the last 0.2% of the curve, then the
   overshoot takes it below 0 and the corners go square). Use a real radius for anything that animates its corners.
   A new control gets "int" and, if it is not a round tonal button, its own --r-* values. Do not write another transition list. */
.int { --r-rest:24px; --r-hover:var(--shape-wobble-sm); --r-press:var(--shape-wobble-alt); --scale-press:0.94;
  position:relative; cursor:pointer; border-radius:var(--r-rest); -webkit-tap-highlight-color:transparent;
  transition:border-radius var(--dur-spring-fast) var(--ease-spring-bouncy), transform var(--dur-spring-fast) var(--ease-spring-bouncy),
    background-color var(--dur-medium) var(--ease-standard), color var(--dur-medium) var(--ease-standard), box-shadow var(--dur-medium) var(--ease-standard), opacity var(--dur-short) linear; }
.int::after { content:""; position:absolute; inset:0; border-radius:inherit; background:var(--layer, currentColor); opacity:0; pointer-events:none; transition:opacity var(--dur-short) linear; }
.int:hover { border-radius:var(--r-hover); }
.int:hover::after { opacity:var(--state-hover); }
@media (hover:none) { .int:hover { border-radius:var(--r-rest); } .int:hover::after { opacity:0; } }
.int:active { border-radius:var(--r-press); transform:scale(var(--scale-press)); }
.int:active::after { opacity:var(--state-pressed); }
/* Only a control that really cannot be pressed (the arrow at the end of the list) drops back to rest, by the same transition, even with the pointer still on it.
   A selected one (the current language) keeps answering hover and press like the theme button does: it is still a button. */
.int:disabled { cursor:default; }
.int:disabled:is(:hover, :active) { border-radius:var(--r-rest); transform:none; }
.int:disabled:is(:hover, :active)::after { opacity:0; }
/* Text that is near-black on a pale fill would tint grey-brown under a currentColor layer: those controls tint with the brand colour instead. */
.langs a, .back { --layer:var(--primary); }

/* ── header ── */
.top-in { display:flex; align-items:center; min-height:64px; }
.top-end { display:flex; align-items:center; gap:8px; margin-left:auto; }
/* The icon shows the mode a press switches to. */
.theme { display:inline-flex; align-items:center; justify-content:center; width:48px; height:48px; padding:0; border:0; background:var(--secondary-container); color:var(--on-secondary-container); }
.theme .i-sun, :root[data-theme="dark"] .theme .i-moon { display:none; }
:root[data-theme="dark"] .theme .i-sun { display:block; }
/* Switching theme: the whole page cross-fades once (theme.js, where the browser can), so the button does not lag the page or the page snap past the button. */
::view-transition-old(root), ::view-transition-new(root) { animation-duration:var(--dur-medium); animation-timing-function:var(--ease-standard); }
.brand { display:inline-flex; align-items:center; gap:10px; min-height:48px; color:var(--on-surface); text-decoration:none; font:400 22px/1 var(--font-display); }
.brand img { width:32px; height:32px; border-radius:var(--shape-petal-sm); }
.brand:hover { color:var(--on-surface); }

/* ── hero ── */
.hero { padding:4px 0 40px; }
.hero-in { display:flex; flex-direction:column; gap:36px; }
.hero-title { font:400 clamp(34px, 26px + 2.6vw, 60px)/1.1 var(--font-display); letter-spacing:-0.015em; text-wrap:balance; margin-top:8px; }
.lede { font:400 18px/1.6 var(--font-serif); color:var(--on-surface-variant); margin-top:16px; max-width:32em; }
.cta-row { display:flex; flex-wrap:wrap; align-items:center; gap:12px 18px; margin-top:24px; }
.btn-play { --r-rest:var(--shape-wobble-sm); --r-hover:var(--shape-wobble-alt); --r-press:var(--shape-md); --scale-press:0.96;
  display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:56px; padding:0 28px 0 22px;
  background:var(--primary); color:var(--on-primary); font:800 17px/1.2 var(--font-sans); letter-spacing:0.02em; text-decoration:none; }
.btn-play:hover { color:var(--on-primary); } /* a:hover would repaint the text */
.btn-play .ic { width:26px; height:26px; }
.glow { box-shadow:var(--glow-1); }
.cta-note { display:inline-flex; align-items:center; gap:6px; font:700 15px/1.3 var(--font-sans); color:var(--on-surface-variant); }
.cta-note .ic { width:20px; height:20px; color:var(--tertiary); }

.hero-stage { position:relative; margin:22px 10px 8px 4px; }
.stack { position:relative; }
.stack-layer { position:absolute; inset:0; border-radius:var(--shape-wobble); transition:transform var(--dur-spring-slow) var(--ease-spring-bouncy); }
.stack-layer.l1 { background:var(--secondary-container); transform:translate(-6px, 4px) rotate(-5deg); }
.stack-layer.l2 { background:var(--honey-container); transform:translate(8px, 7px) rotate(4deg); }
.stack-card { position:relative; overflow:hidden; border-radius:var(--shape-wobble); background:var(--primary-container); color:var(--on-primary-container); padding:20px 12px 12px;
  transition:transform var(--dur-spring-slow) var(--ease-spring-bouncy); }
@media (hover:hover) {
  .stack:hover .l1 { transform:translate(-10.8px, 7.2px) rotate(-9deg); }
  .stack:hover .l2 { transform:translate(14.4px, 12.6px) rotate(7.2deg); }
  .stack:hover .stack-card { transform:rotate(-1deg) translateY(-2px); }
}
.bloom { position:absolute; width:240px; height:240px; right:-78px; top:-70px; }
.bloom-petals { fill:var(--secondary-container); }
.bloom-heart { fill:var(--honey-80); }
.entry-head { position:relative; padding:0 8px 16px; }
.headword { font:400 64px/1.05 var(--font-display); letter-spacing:-0.01em; }
.bt, .bt-c { display:inline-block; }
.reading { font:400 18px/1.4 var(--font-serif); margin-top:8px; }
.reading .dot { margin:0 0.4em; }
.gloss { font:400 21px/1.3 var(--font-serif); margin-top:2px; }
.shot { position:relative; overflow:hidden; background:var(--surface); }
.shot img { width:100%; }
.shot-hero { border-radius:var(--shape-petal); }

/* Seal: tilted postage stamp with turning circular text. One per page. */
.seal { position:absolute; z-index:2; width:96px; height:96px; top:-40px; right:-8px; rotate:-8deg; pointer-events:none; }
.seal svg { width:100%; height:100%; overflow:visible; }
.seal-bg { fill:var(--primary); }
.seal-ring { fill:none; stroke:var(--on-primary); stroke-opacity:0.45; stroke-width:1; stroke-dasharray:2 3; }
.seal-text { fill:var(--on-primary); font:800 8.6px var(--font-sans); letter-spacing:1.2px; }
.seal-turn { transform-origin:50px 50px; }
.seal-flower { fill:var(--on-primary); }
.seal-heart { fill:var(--honey-80); }

/* Divider: dotted line with a swaying blossom (Petal Divider) */
.divider { display:flex; align-items:center; gap:10px; margin:8px 0; }
.divider .dots { flex:1; height:8px; background:radial-gradient(circle, var(--outline-variant) 1.4px, transparent 1.9px) 0 50% / 9px 8px repeat-x; }
.divider .sway { width:16px; height:16px; fill:var(--primary-fixed-dim); transform-origin:50% 100%; }

/* ── what you get ── */
.gets-sec { padding:40px 0 64px; }
.gets-sec .h2 { margin-bottom:28px; }
.gets { display:grid; gap:28px; }
.get { position:relative; }
.get .shot { margin-top:18px; }

.stamp-card { -webkit-mask:linear-gradient(#000 0 0) center / calc(100% - 2 * var(--stamp-r)) calc(100% - 2 * var(--stamp-r)) no-repeat, radial-gradient(var(--stamp-r) at var(--stamp-r) var(--stamp-r), #0000 97%, #000) calc(-1 * var(--stamp-r)) calc(-1 * var(--stamp-r)) / calc(3 * var(--stamp-r)) calc(3 * var(--stamp-r)) round;
  mask:linear-gradient(#000 0 0) center / calc(100% - 2 * var(--stamp-r)) calc(100% - 2 * var(--stamp-r)) no-repeat, radial-gradient(var(--stamp-r) at var(--stamp-r) var(--stamp-r), #0000 97%, #000) calc(-1 * var(--stamp-r)) calc(-1 * var(--stamp-r)) / calc(3 * var(--stamp-r)) calc(3 * var(--stamp-r)) round;
  background:var(--honey-container); color:var(--on-honey-container); padding:30px 26px 28px; rotate:-1.5deg; }
.nums { display:grid; gap:6px; margin:12px 0 16px; }
.nums div { display:flex; align-items:baseline; flex-wrap:wrap; gap:0 10px; }
.nums .n { font:400 34px/1.15 var(--font-display); letter-spacing:-0.01em; font-variant-numeric:lining-nums; }
.nums dd { font:800 15px/1.3 var(--font-sans); letter-spacing:0.02em; }

.get-look { background:var(--secondary-container); color:var(--on-secondary-container); border-radius:var(--shape-leaf); padding:26px 20px 22px; }
.keys { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:8px; margin-top:18px; max-width:420px; }
.keys li { display:grid; gap:2px; padding:7px 8px 8px; min-width:0; background:var(--surface-container-lowest); color:var(--on-surface); border-radius:var(--shape-wobble-sm); box-shadow:3px 4px 0 0 var(--offset-sky); }
.keys b { white-space:nowrap; font:400 17px/1.25 var(--font-serif); }
.keys span { font:800 12px/1.2 var(--font-sans); letter-spacing:0.02em; color:var(--on-surface-variant); }
.shot-search { max-width:480px; border-radius:var(--shape-petal-sm); box-shadow:6px 7px 0 0 var(--offset-sky); }

.get-pron { -webkit-mask:linear-gradient(#000 0 0) bottom / 100% calc(100% - var(--scallop-r)) no-repeat, radial-gradient(circle var(--scallop-r) at 50% 100%, #000 98%, #0000) top / calc(2 * var(--scallop-r)) var(--scallop-r) repeat-x;
  mask:linear-gradient(#000 0 0) bottom / 100% calc(100% - var(--scallop-r)) no-repeat, radial-gradient(circle var(--scallop-r) at 50% 100%, #000 98%, #0000) top / calc(2 * var(--scallop-r)) var(--scallop-r) repeat-x;
  background:var(--tertiary-container); color:var(--on-tertiary-container); border-radius:0 0 var(--shape-xl) var(--shape-xl); padding:34px 20px 22px; }
.shot-pron { width:min(100% - 8px, 300px); border-radius:var(--shape-leaf); box-shadow:6px 7px 0 0 var(--offset-lime); }

.get-cefr { background:var(--primary-container); color:var(--on-primary-container); border-radius:var(--shape-petal); padding:26px 20px 24px;
  outline:2px dashed color-mix(in srgb, currentColor 40%, transparent); outline-offset:-8px; }
.shot-cefr { border-radius:var(--shape-wobble); max-width:420px; }

.get-study { background:var(--surface-container-lowest); border-radius:var(--shape-wobble); padding:26px 20px 24px; box-shadow:6px 7px 0 0 var(--offset-honey), inset 0 0 0 1px var(--outline-variant); }
.chips { display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
.chips li { display:inline-flex; align-items:center; min-height:32px; padding:4px 14px; border-radius:var(--shape-full); background:var(--honey-container); color:var(--on-honey-container); font:800 14px/1.2 var(--font-sans); letter-spacing:0.02em; }
.shot-card { width:min(100%, 250px); margin-inline:auto; border-radius:var(--shape-petal); rotate:2deg; box-shadow:0 0 0 1px var(--outline-variant); }

.get-langs { background:var(--surface-container-high); border-radius:50% 50% var(--shape-xl) var(--shape-xl) / 120px 120px var(--shape-xl) var(--shape-xl); padding:60px 24px 0; text-align:center; overflow:hidden; }
.get-langs .get-text { margin-inline:auto; }
.shot-langs { width:min(70%, 260px); margin:22px auto 0; border-radius:var(--shape-xl) var(--shape-xl) 0 0; }

/* ── screens ── */
.screens-sec { background:var(--surface-container-low); padding:52px 0 44px;
  -webkit-mask:linear-gradient(#000 0 0) bottom / 100% calc(100% - var(--scallop-r)) no-repeat, radial-gradient(circle var(--scallop-r) at 50% 100%, #000 98%, #0000) top / calc(2 * var(--scallop-r)) var(--scallop-r) repeat-x;
  mask:linear-gradient(#000 0 0) bottom / 100% calc(100% - var(--scallop-r)) no-repeat, radial-gradient(circle var(--scallop-r) at 50% 100%, #000 98%, #0000) top / calc(2 * var(--scallop-r)) var(--scallop-r) repeat-x; }
.screens-head { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; }
.pager { display:none; gap:10px; flex:none; }
.pg { display:inline-flex; align-items:center; justify-content:center; width:48px; height:48px; padding:0; border:0; background:var(--secondary-container); color:var(--on-secondary-container); }
.pg:disabled { opacity:0.38; }
.screens { --edge:max(16px, calc((100vw - 1160px) / 2 + 16px)); display:flex; gap:22px; overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x mandatory; scroll-padding-inline:var(--edge);
  padding:28px var(--edge) 20px; scrollbar-width:thin; scrollbar-color:var(--outline-variant) transparent; }
.screens > li { flex:0 0 auto; width:min(84vw, 360px); scroll-snap-align:start; }
.screens a { position:relative; display:block; border-radius:var(--shape-petal); overflow:hidden; background:var(--surface); text-decoration:none; }
.screens li:nth-child(4n+1) a { box-shadow:6px 7px 0 0 var(--offset-green); }
.screens li:nth-child(4n+2) a { box-shadow:6px 7px 0 0 var(--offset-sky); }
.screens li:nth-child(4n+3) a { box-shadow:6px 7px 0 0 var(--offset-lime); }
.screens li:nth-child(4n+4) a { box-shadow:6px 7px 0 0 var(--offset-honey); }
.screens img { width:100%; aspect-ratio:1080 / 1920; }
/* Pinned to the foot, so every picture in the row starts on the same line and the captions line up. */
.screens .cap { position:absolute; left:0; right:0; bottom:0; display:flex; align-items:center; min-height:48px; padding:0 16px; background:var(--primary-container); color:var(--on-primary-container); font:800 15px/1.3 var(--font-sans); letter-spacing:0.02em; }
.screens figcaption { display:flex; align-items:center; gap:8px; margin-top:16px; font:800 15px/1.3 var(--font-sans); letter-spacing:0.02em; color:var(--on-surface-variant); }
.screens figcaption svg { width:14px; height:14px; fill:var(--primary-fixed-dim); flex:none; }

/* ── privacy ── */
.privacy-sec { padding:64px 0; }
.privacy-card { position:relative; background:var(--surface-container-lowest); color:var(--on-surface); border-radius:var(--shape-wobble-alt); padding:30px 22px 22px;
  box-shadow:inset 0 0 0 1px var(--outline-variant); }
.privacy-card::before { content:""; position:absolute; inset:8px; border-radius:inherit; border:2px dashed color-mix(in srgb, var(--secondary) 45%, transparent); pointer-events:none; }
.promises { display:grid; gap:22px; margin:26px 0 14px; }
.promises li { display:grid; grid-template-columns:56px 1fr; gap:14px; align-items:start; }
.badge { position:relative; width:56px; height:56px; display:grid; place-items:center; }
.badge svg:first-child { position:absolute; inset:0; width:100%; height:100%; }
.badge .ic { position:relative; }
.b1 svg:first-child { fill:var(--primary-container); } .b1 { color:var(--on-primary-container); }
.b2 svg:first-child { fill:var(--tertiary-container); } .b2 { color:var(--on-tertiary-container); }
.b3 svg:first-child { fill:var(--honey-container); } .b3 { color:var(--on-honey-container); }
.promises h3 { font:800 17px/1.35 var(--font-sans); letter-spacing:0.01em; margin-top:4px; }
.promises p { font:400 16px/1.55 var(--font-serif); color:var(--on-surface-variant); margin-top:4px; }
.more { display:inline-flex; align-items:center; gap:8px; min-height:48px; font:800 16px/1.3 var(--font-sans); letter-spacing:0.02em; }
.more .ic { width:20px; height:20px; transition:transform var(--dur-spring-fast) var(--ease-spring-bouncy); }
.more:hover .ic { transform:translateX(3px); }

/* ── closing ── */
.closing { background:var(--primary-container); color:var(--on-primary-container); padding:58px 0 64px;
  -webkit-mask:linear-gradient(#000 0 0) bottom / 100% calc(100% - var(--scallop-r)) no-repeat, radial-gradient(circle var(--scallop-r) at 50% 100%, #000 98%, #0000) top / calc(2 * var(--scallop-r)) var(--scallop-r) repeat-x;
  mask:linear-gradient(#000 0 0) bottom / 100% calc(100% - var(--scallop-r)) no-repeat, radial-gradient(circle var(--scallop-r) at 50% 100%, #000 98%, #0000) top / calc(2 * var(--scallop-r)) var(--scallop-r) repeat-x; }
.closing-in { display:flex; flex-direction:column; gap:26px; }
.closing-icon { width:96px; height:96px; border-radius:var(--shape-xl); rotate:-4deg; box-shadow:6px 7px 0 0 var(--offset-sky); }
.closing p { font:400 18px/1.55 var(--font-serif); margin-top:10px; }
.closing .cta-note { color:var(--on-primary-container); }
.closing .cta-note .ic { color:currentColor; }

/* ── footer ── */
.foot { padding:20px 0 36px; }
.foot-in { display:grid; gap:20px; margin-top:20px; }
.foot-brand { display:flex; align-items:center; gap:12px; font:500 15px/1.5 var(--font-sans); }
.foot-brand img { width:40px; height:40px; border-radius:var(--shape-petal-sm); }
.foot-brand b { font:400 19px/1.3 var(--font-display); }
.foot-links a { display:inline-flex; align-items:center; gap:8px; min-height:48px; font:700 15px/1.3 var(--font-sans); overflow-wrap:anywhere; }
.foot-links .ic { width:20px; height:20px; }
.langs { display:grid; gap:6px; }
.langs-label { font:800 13px/1.3 var(--font-sans); letter-spacing:0.02em; color:var(--on-surface-variant); }
.langs ul { display:flex; flex-wrap:wrap; gap:8px; }
.langs a { display:inline-flex; align-items:center; min-height:48px; padding:0 18px; background:var(--surface-container); color:var(--on-surface); text-decoration:none; font:800 15px/1 var(--font-sans); }
.langs a[aria-current="true"] { background:var(--primary-container); color:var(--on-primary-container); }
.foot-small { margin-top:22px; font:500 13px/1.6 var(--font-sans); color:var(--on-surface-variant); }

/* ── motion (html.motion is set by early.js only when the visitor has not asked for reduced motion) ── */
@keyframes pt-spin { to { transform:rotate(360deg); } }
@keyframes pt-sway { 0%, 100% { transform:rotate(-3deg); } 50% { transform:rotate(3deg); } }
@keyframes pt-letter-bloom { from { opacity:0; transform:translateY(0.45em) rotate(-10deg) scale(0.5); } to { opacity:1; transform:none; } }
html.motion .bloom { animation:pt-spin 90s linear infinite; }
html.motion .seal-turn { animation:pt-spin 22s linear infinite; }
html.motion .divider .sway { animation:pt-sway 4s ease-in-out infinite; }
html.motion .bt-c { transform-origin:50% 90%; animation:pt-letter-bloom var(--dur-spring-slow) var(--ease-spring-bouncy) both; }
html.motion .bt-c:nth-child(1) { animation-delay:150ms; }
html.motion .bt-c:nth-child(2) { animation-delay:260ms; }
html.motion .bt-c:nth-child(3) { animation-delay:370ms; }
html.motion [data-reveal] { opacity:0; transform:translateY(18px); transition:opacity var(--dur-medium) var(--ease-standard), transform var(--dur-spring-default) var(--ease-spring-default); }
html.motion [data-reveal].in { opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation:none !important; transition-duration:1ms !important; scroll-behavior:auto !important; }
  [data-reveal] { opacity:1 !important; transform:none !important; }
}

/* ── larger screens ── */
@media (min-width: 600px) {
  .wrap { padding-inline:24px; }
  .screens { --edge:max(24px, calc((100vw - 1160px) / 2 + 24px)); }
  .hero-stage { margin:30px 24px 8px 12px; max-width:560px; width:calc(100% - 36px); }
  .stack-card { padding:26px 18px 18px; }
  .headword { font-size:80px; }
  .seal { width:120px; height:120px; top:-52px; right:-26px; }
  .gets { grid-template-columns:1fr 1fr; gap:32px 28px; align-items:start; }
  .get-off { grid-column:1; grid-row:1; } .get-pron { grid-column:2; grid-row:1; } .get-look { grid-column:1 / -1; grid-row:2; } .get-cefr { grid-column:1 / -1; grid-row:3; } .get-study { grid-column:1; grid-row:4; } .get-langs { grid-column:2; grid-row:4; align-self:stretch; display:flex; flex-direction:column; } .get-langs .shot-langs { margin-top:auto; }
  .hero-stage { margin-inline:auto; }
  .get-cefr { display:grid; grid-template-columns:1fr 1fr; gap:24px; align-items:center; }
  .get-cefr .shot { margin-top:0; }
  .pager { display:flex; }
  .promises { grid-template-columns:1fr 1fr; }
  .promises li:last-child { grid-column:1 / -1; }
  .privacy-card { padding:40px 36px 28px; }
  .closing-in { flex-direction:row; align-items:center; gap:40px; }
  .closing-icon { width:128px; height:128px; flex:none; }
  .foot-in { grid-template-columns:auto 1fr auto; align-items:center; gap:28px; }
  .foot-links { display:flex; flex-wrap:wrap; gap:0 24px; justify-content:center; }
}
@media (min-width: 960px) {
  .wrap { padding-inline:32px; }
  .screens { --edge:max(32px, calc((100vw - 1160px) / 2 + 32px)); }
  .hero { padding:24px 0 72px; }
  .hero-in { display:grid; grid-template-columns:minmax(0, 1.05fr) minmax(0, 1fr); gap:64px; align-items:center; }
  .hero-stage { margin:40px 40px 20px 8px; width:auto; }
  .lede { font-size:19px; }
  .gets-sec { padding:56px 0 88px; }
  .gets-sec .h2 { margin-bottom:40px; }
  .gets { grid-template-columns:repeat(12, minmax(0, 1fr)); gap:36px 32px; }
  .get-off { grid-column:1 / 6; grid-row:1; }
  .get-pron { grid-column:1 / 6; grid-row:2; }
  .get-look { grid-column:6 / 13; grid-row:1 / 3; align-self:stretch; padding:34px 32px 30px; }
  .get-langs { grid-column:1 / 5; grid-row:3 / 5; align-self:stretch; display:flex; flex-direction:column; padding:52px 24px 0; }
  .get-langs .shot-langs { margin-top:auto; width:min(88%, 300px); }
  .get-cefr { grid-column:5 / 13; grid-row:3; padding:34px 32px; }
  .get-study { grid-column:5 / 13; grid-row:4; display:grid; grid-template-columns:1fr 220px; gap:28px; align-items:center; padding:30px 32px; }
  .get-study .shot { margin-top:0; }
  .screens > li { width:340px; }
  .privacy-card { display:grid; grid-template-columns:minmax(0, 5fr) minmax(0, 7fr); gap:16px 56px; padding:48px 52px 40px; }
  .privacy-card .h2 { grid-column:1; grid-row:1 / 3; align-self:start; }
  .promises { grid-column:2; margin-top:0; grid-template-columns:1fr; }
  .promises li:last-child { grid-column:auto; }
  .privacy-card .more { grid-column:2; justify-self:start; }
}
.foot-brand a { display:inline-flex; align-items:center; min-height:48px; font-weight:700; }
.foot-brand p { line-height:1.3; }
