/* Prozorro AI — the sales site, the same brand as the app: «Папір і космос».
   By day: warm paper drawn on with a black marker, colour as highlighter fills with pencil hatching.
   After dark (the visitor's choice or the system's): a starry cosmos drawn in chalk. The film section
   is always night. Outlines are hand-drawn frames stretched to fit (9-slice border-image), so they stay
   crisp at any size and cost no filters. Type is Onest, served from this site (SIL OFL, see fonts/).
   Everything that moves lives in the motion layer at the end and runs only when motion is allowed. */

/* ---------- type ---------- */
@font-face {
  font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/onest-cyrillic-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/onest-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/onest-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- tokens: paper ---------- */
:root {
  --paper: #efebe3;
  --paper-2: #e8e3d8;
  --sheet: #fbf9f4;
  --sheet-2: #f4f0e8;
  --sheet-3: #ebe6dc;
  --ink: #1d1b22;
  --ink-2: #3a3641;
  --muted: #5b5563;
  --faint: #6a6471;
  --pencil: rgba(29, 27, 34, .14);
  --pencil-2: rgba(29, 27, 34, .3);
  --key: rgba(29, 27, 34, .28);
  --key-strong: rgba(29, 27, 34, .82);
  --on-fill: #1d1b22;
  --header-bg: rgba(239, 235, 227, .82);
  --input-bg: #fbf9f4;
  --hl-mint: #86e8a8;

  --coral: #e07250; --coral-s: #b9482a; --coral-ink: #a8401f; --coral-t: #f6cdbd;
  --mint: #86e8a8; --mint-s: #22a55a; --mint-ink: #146b3a; --mint-t: #c4f2d3;
  --sky: #93c2fb; --sky-s: #2e5bdb; --sky-ink: #1e3fa6; --sky-t: #d2e5fd;
  --pink: #f5a6d2; --pink-s: #d02a74; --pink-ink: #9a1d55; --pink-t: #fbd9eb;
  --sun: #f6cf5e; --sun-s: #d69a0e; --sun-ink: #6e4c00; --sun-t: #fbe9b2;
  --hl-sun: #f6cf5e;  /* the promise's highlighter stroke */
  --violet: #bba2f4; --violet-s: #7a47d6; --violet-ink: #5a2fb0; --violet-t: #e3d8fb;
  --red: #f7afa6; --red-s: #d63a3a; --red-ink: #9e2424; --red-t: #fbd6d0;
  --cream: #f3ebdd;
  /* text on a tint: ink on paper, the hue's own light ink at night */
  --mint-on: var(--ink); --sky-on: var(--ink); --pink-on: var(--ink); --sun-on: var(--ink); --violet-on: var(--ink); --red-on: var(--ink);

  --hatch: repeating-linear-gradient(-62deg, transparent 0 6px, rgba(255, 255, 255, .42) 6px 7.4px, transparent 7.4px 12px);
  --hatch-soft: repeating-linear-gradient(-62deg, transparent 0 7px, rgba(255, 255, 255, .26) 7px 8.2px, transparent 8.2px 14px);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .11 0 0 0 0 .1 0 0 0 0 .13 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  --clouds: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='700' height='700'%3E%3Cfilter id='c'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.006' numOctaves='3' stitchTiles='stitch' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 .52 0 0 0 0 .47 0 0 0 0 .4 0 0 0 .11 0'/%3E%3C/filter%3E%3Crect width='700' height='700' filter='url(%23c)'/%3E%3C/svg%3E");
  --page-art: var(--grain), var(--clouds);
  --stars-1: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='263' height='263'%3E%3Ccircle cx='119.0' cy='147.2' r='1.1' fill='%23ffe8be' fill-opacity='0.53'/%3E%3Ccircle cx='224.9' cy='49.9' r='1.1' fill='%23c8d6ff' fill-opacity='0.56'/%3E%3Ccircle cx='208.6' cy='24.8' r='0.7' fill='%23ffe8be' fill-opacity='0.34'/%3E%3Ccircle cx='212.9' cy='182.4' r='0.55' fill='%23f1eef8' fill-opacity='0.61'/%3E%3Ccircle cx='253.7' cy='172.0' r='0.9' fill='%23c8d6ff' fill-opacity='0.64'/%3E%3Ccircle cx='3.9' cy='139.0' r='0.55' fill='%23f1eef8' fill-opacity='0.27'/%3E%3Ccircle cx='157.7' cy='204.6' r='0.7' fill='%23f1eef8' fill-opacity='0.51'/%3E%3Ccircle cx='136.5' cy='168.4' r='0.75' fill='%23f1eef8' fill-opacity='0.25'/%3E%3Ccircle cx='120.3' cy='73.2' r='0.9' fill='%23f1eef8' fill-opacity='0.85'/%3E%3Ccircle cx='186.2' cy='82.9' r='0.6' fill='%23f1eef8' fill-opacity='0.56'/%3E%3Ccircle cx='18.5' cy='201.5' r='0.75' fill='%23f1eef8' fill-opacity='0.31'/%3E%3Ccircle cx='101.7' cy='252.0' r='1.1' fill='%23f1eef8' fill-opacity='0.66'/%3E%3Ccircle cx='55.2' cy='239.4' r='0.75' fill='%23f1eef8' fill-opacity='0.48'/%3E%3Ccircle cx='110.4' cy='148.9' r='0.6' fill='%23f1eef8' fill-opacity='0.72'/%3E%3Ccircle cx='88.6' cy='81.8' r='0.55' fill='%23f1eef8' fill-opacity='0.83'/%3E%3C/svg%3E");
  --stars-2: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='397' height='397'%3E%3Ccircle cx='367.2' cy='376.6' r='1.25' fill='%23c8d6ff' fill-opacity='0.30'/%3E%3Ccircle cx='121.8' cy='150.5' r='0.7' fill='%23f1eef8' fill-opacity='0.33'/%3E%3Ccircle cx='106.2' cy='5.6' r='0.9' fill='%23f1eef8' fill-opacity='0.52'/%3E%3Ccircle cx='42.0' cy='389.6' r='0.75' fill='%23ffe8be' fill-opacity='0.50'/%3E%3Ccircle cx='249.2' cy='171.2' r='1.25' fill='%23f1eef8' fill-opacity='0.28'/%3E%3Ccircle cx='233.9' cy='261.2' r='0.9' fill='%23f1eef8' fill-opacity='0.38'/%3E%3Ccircle cx='224.5' cy='341.5' r='0.9' fill='%23f1eef8' fill-opacity='0.42'/%3E%3Ccircle cx='227.5' cy='323.3' r='0.6' fill='%23c8d6ff' fill-opacity='0.68'/%3E%3Ccircle cx='314.2' cy='268.3' r='0.6' fill='%23f1eef8' fill-opacity='0.36'/%3E%3Ccircle cx='211.8' cy='267.3' r='0.9' fill='%23f1eef8' fill-opacity='0.37'/%3E%3Ccircle cx='32.7' cy='169.2' r='0.9' fill='%23c8d6ff' fill-opacity='0.42'/%3E%3Ccircle cx='111.4' cy='234.2' r='0.55' fill='%23f1eef8' fill-opacity='0.47'/%3E%3Ccircle cx='215.2' cy='355.1' r='0.75' fill='%23f1eef8' fill-opacity='0.58'/%3E%3C/svg%3E");
  --stars-3: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='541' height='541'%3E%3Ccircle cx='369.0' cy='49.6' r='0.9' fill='%23ffe8be' fill-opacity='0.65'/%3E%3Ccircle cx='19.2' cy='532.2' r='0.75' fill='%23f1eef8' fill-opacity='0.57'/%3E%3Ccircle cx='531.5' cy='247.2' r='1.45' fill='%23f1eef8' fill-opacity='0.42'/%3E%3Ccircle cx='526.4' cy='229.0' r='0.6' fill='%23f1eef8' fill-opacity='0.83'/%3E%3Ccircle cx='49.2' cy='40.7' r='0.7' fill='%23f1eef8' fill-opacity='0.81'/%3E%3Ccircle cx='447.3' cy='304.4' r='1.05' fill='%23f1eef8' fill-opacity='0.67'/%3E%3Ccircle cx='436.6' cy='335.1' r='0.9' fill='%23f1eef8' fill-opacity='0.50'/%3E%3Ccircle cx='4.1' cy='276.0' r='0.7' fill='%23c8d6ff' fill-opacity='0.29'/%3E%3Ccircle cx='121.6' cy='175.2' r='0.9' fill='%23f1eef8' fill-opacity='0.35'/%3E%3C/svg%3E");
  --night-art: radial-gradient(ellipse 60% 50% at 50% 18%, rgba(108, 76, 210, .38), transparent 70%),
    radial-gradient(ellipse 45% 40% at 8% 85%, rgba(240, 98, 176, .14), transparent 70%),
    radial-gradient(ellipse 40% 35% at 94% 62%, rgba(91, 140, 255, .14), transparent 70%),
    var(--stars-1), var(--stars-2), var(--stars-3), linear-gradient(180deg, #120e30, #0b0920);
  --squiggle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3ClinearGradient id='g'%3E%3Cstop offset='0' stop-color='%2322A55A'/%3E%3Cstop offset='.36' stop-color='%232E5BDB'/%3E%3Cstop offset='.7' stop-color='%237A47D6'/%3E%3Cstop offset='1' stop-color='%23D02A74'/%3E%3C/linearGradient%3E%3Cpath d='M3 9C11 3 19 2 27 8S43 15 51 8 67 1 75 8 91 15 99 8 115 1 123 8 139 15 147 8 163 1 171 8 187 14 197 7' fill='none' stroke='url(%23g)' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E");
  --rule-h: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 6' preserveAspectRatio='none'%3E%3Cpath d='M1 3.4C60 2.2 120 4.2 200 3C280 2 340 4 399 2.9' fill='none' stroke='%23B9B4BC' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath d='M1.6 2.4C3.8 4.3 5.4 6.2 7.1 8.1C8.9 6 10.6 4 12.5 1.9' fill='none' stroke='%231D1B22' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

  /* hand-drawn frames, 9-sliced so the corners keep their shape at any size:
     --fr soft pencil, --fr-ink full ink, --fr-black ink that stays dark on a bright fill */
  --fr: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath d='M15.1 2.4C27 1.8 39.6 2.7 48.7 2.2C57.4 2.2 61.8 6.6 61.6 15C62.1 26 61.4 38.5 61.8 48.8C61.9 57.4 57.4 61.8 48.9 61.6C38 62.2 26.4 61.3 15.2 61.9C6.7 61.7 2.3 57.3 2.4 48.9C1.9 38 2.6 26.6 2.1 15.4C2.2 6.8 6.6 2.6 15.1 2.4Z' fill='none' stroke='%23A39EA8' stroke-width='1.7' stroke-linejoin='round'/%3E%3C/svg%3E");
  --fr-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath d='M15.1 2.4C27 1.8 39.6 2.7 48.7 2.2C57.4 2.2 61.8 6.6 61.6 15C62.1 26 61.4 38.5 61.8 48.8C61.9 57.4 57.4 61.8 48.9 61.6C38 62.2 26.4 61.3 15.2 61.9C6.7 61.7 2.3 57.3 2.4 48.9C1.9 38 2.6 26.6 2.1 15.4C2.2 6.8 6.6 2.6 15.1 2.4Z' fill='none' stroke='%231D1B22' stroke-width='2.1' stroke-linejoin='round'/%3E%3C/svg%3E");
  --fr-black: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath d='M15.1 2.4C27 1.8 39.6 2.7 48.7 2.2C57.4 2.2 61.8 6.6 61.6 15C62.1 26 61.4 38.5 61.8 48.8C61.9 57.4 57.4 61.8 48.9 61.6C38 62.2 26.4 61.3 15.2 61.9C6.7 61.7 2.3 57.3 2.4 48.9C1.9 38 2.6 26.6 2.1 15.4C2.2 6.8 6.6 2.6 15.1 2.4Z' fill='none' stroke='%231D1B22' stroke-width='2.2' stroke-linejoin='round'/%3E%3C/svg%3E");
  --fr2: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath d='M14.4 2.8C26.6 2.1 39.9 2.9 49.5 2.4C57.8 2.6 61.5 6.2 61.9 14.3C61.6 25.9 62.2 38.3 61.7 49.6C61.6 57.7 57.8 61.4 49.8 61.8C38.4 61.3 25.9 62.1 14.1 61.6C6.2 61.9 2.6 58 2.2 50.1C2.6 38.6 1.9 25.8 2.5 13.9C2.3 6.3 6.2 2.7 14.4 2.8Z' fill='none' stroke='%23A39EA8' stroke-width='1.7' stroke-linejoin='round'/%3E%3C/svg%3E");
  --fr2-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath d='M14.4 2.8C26.6 2.1 39.9 2.9 49.5 2.4C57.8 2.6 61.5 6.2 61.9 14.3C61.6 25.9 62.2 38.3 61.7 49.6C61.6 57.7 57.8 61.4 49.8 61.8C38.4 61.3 25.9 62.1 14.1 61.6C6.2 61.9 2.6 58 2.2 50.1C2.6 38.6 1.9 25.8 2.5 13.9C2.3 6.3 6.2 2.7 14.4 2.8Z' fill='none' stroke='%231D1B22' stroke-width='2.1' stroke-linejoin='round'/%3E%3C/svg%3E");
  --frs: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M12 2.3C20 1.8 28 2.6 35.8 2.1C42.4 2.2 45.8 5.4 45.6 11.9C45.9 19.6 45.4 28.4 45.8 36.1C45.9 42.6 42.5 45.8 36 45.6C28.2 46.1 19.8 45.4 12.1 45.9C5.6 45.7 2.2 42.4 2.4 35.9C2 28.3 2.6 19.8 2.2 12.2C2.3 5.5 5.6 2.4 12 2.3Z' fill='none' stroke='%23A39EA8' stroke-width='1.7' stroke-linejoin='round'/%3E%3C/svg%3E");
  --frs-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M12 2.3C20 1.8 28 2.6 35.8 2.1C42.4 2.2 45.8 5.4 45.6 11.9C45.9 19.6 45.4 28.4 45.8 36.1C45.9 42.6 42.5 45.8 36 45.6C28.2 46.1 19.8 45.4 12.1 45.9C5.6 45.7 2.2 42.4 2.4 35.9C2 28.3 2.6 19.8 2.2 12.2C2.3 5.5 5.6 2.4 12 2.3Z' fill='none' stroke='%231D1B22' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
  --frs-black: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M12 2.3C20 1.8 28 2.6 35.8 2.1C42.4 2.2 45.8 5.4 45.6 11.9C45.9 19.6 45.4 28.4 45.8 36.1C45.9 42.6 42.5 45.8 36 45.6C28.2 46.1 19.8 45.4 12.1 45.9C5.6 45.7 2.2 42.4 2.4 35.9C2 28.3 2.6 19.8 2.2 12.2C2.3 5.5 5.6 2.4 12 2.3Z' fill='none' stroke='%231D1B22' stroke-width='2.1' stroke-linejoin='round'/%3E%3C/svg%3E");
  --frp: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='32' viewBox='0 0 64 32'%3E%3Cpath d='M16 2.2C28 1.6 37 2.6 48 2C56.6 2.2 61.9 8.4 61.7 16.2C61.9 24 56.2 30.1 48.2 29.9C37 30.5 27.6 29.6 15.8 30.1C7.6 29.9 2.2 23.8 2.4 15.8C2.1 8.2 7.8 2.4 16 2.2Z' fill='none' stroke='%23A39EA8' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E");
  --frp-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='32' viewBox='0 0 64 32'%3E%3Cpath d='M16 2.2C28 1.6 37 2.6 48 2C56.6 2.2 61.9 8.4 61.7 16.2C61.9 24 56.2 30.1 48.2 29.9C37 30.5 27.6 29.6 15.8 30.1C7.6 29.9 2.2 23.8 2.4 15.8C2.1 8.2 7.8 2.4 16 2.2Z' fill='none' stroke='%231D1B22' stroke-width='1.9' stroke-linejoin='round'/%3E%3C/svg%3E");
  --frp-black: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='32' viewBox='0 0 64 32'%3E%3Cpath d='M16 2.2C28 1.6 37 2.6 48 2C56.6 2.2 61.9 8.4 61.7 16.2C61.9 24 56.2 30.1 48.2 29.9C37 30.5 27.6 29.6 15.8 30.1C7.6 29.9 2.2 23.8 2.4 15.8C2.1 8.2 7.8 2.4 16 2.2Z' fill='none' stroke='%231D1B22' stroke-width='1.9' stroke-linejoin='round'/%3E%3C/svg%3E");
  --frame: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='48' viewBox='0 0 64 48'%3E%3Cpath d='M12.5 2.2C24 1.4 40 2.6 51.8 1.9C58.6 2.1 62 5.6 61.8 12.4C62.3 21 61.4 28.5 61.9 35.4C62.1 42.4 58.4 46.2 51.6 45.9C39 46.6 25.5 45.4 12.2 46.1C5.4 45.8 2.1 42.3 2.3 35.6C1.8 27 2.6 19.6 2.1 12.7C2.2 5.6 5.9 2.3 12.5 2.2Z' fill='%23FBF9F4' stroke='%231D1B22' stroke-width='2.1' stroke-linejoin='round'/%3E%3C/svg%3E");
  --frame-focus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='48' viewBox='0 0 64 48'%3E%3Cpath d='M12.5 2.2C24 1.4 40 2.6 51.8 1.9C58.6 2.1 62 5.6 61.8 12.4C62.3 21 61.4 28.5 61.9 35.4C62.1 42.4 58.4 46.2 51.6 45.9C39 46.6 25.5 45.4 12.2 46.1C5.4 45.8 2.1 42.3 2.3 35.6C1.8 27 2.6 19.6 2.1 12.7C2.2 5.6 5.9 2.3 12.5 2.2Z' fill='%23FBF9F4' stroke='%232E5BDB' stroke-width='2.7' stroke-linejoin='round'/%3E%3C/svg%3E");
  --frame-bad: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='48' viewBox='0 0 64 48'%3E%3Cpath d='M12.5 2.2C24 1.4 40 2.6 51.8 1.9C58.6 2.1 62 5.6 61.8 12.4C62.3 21 61.4 28.5 61.9 35.4C62.1 42.4 58.4 46.2 51.6 45.9C39 46.6 25.5 45.4 12.2 46.1C5.4 45.8 2.1 42.3 2.3 35.6C1.8 27 2.6 19.6 2.1 12.7C2.2 5.6 5.9 2.3 12.5 2.2Z' fill='%23FBF9F4' stroke='%23D63A3A' stroke-width='2.7' stroke-linejoin='round'/%3E%3C/svg%3E");

  --shadow-1: 0 2px 0 rgba(29, 27, 34, .06), 0 9px 18px -12px rgba(29, 27, 34, .34);
  --shadow-2: 0 3px 0 rgba(29, 27, 34, .07), 0 18px 32px -18px rgba(29, 27, 34, .42);
  --shadow-3: 0 5px 0 rgba(29, 27, 34, .07), 0 34px 70px -30px rgba(29, 27, 34, .55);

  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-pop: cubic-bezier(.34, 1.4, .64, 1);
  --gut: clamp(16px, 4vw, 40px);
  --max: 1320px;
  --max-wide: 1320px;
  --head-h: 72px;
  color-scheme: light;
}

/* ---------- tokens: cosmos (chosen, or the system's when nothing is chosen; the film section always) ---------- */
:root[data-theme="dark"], .night {
  --paper: #0e0b26; --paper-2: #120e30; --sheet: #1f1946; --sheet-2: #282156; --sheet-3: #312a64;
  --ink: #f1eef8; --ink-2: #d9d4ea; --muted: #bdb6d6; --faint: #aaa3c6;
  --pencil: rgba(236, 232, 245, .14); --pencil-2: rgba(236, 232, 245, .28);
  --key: rgba(3, 2, 12, .7); --key-strong: rgba(3, 2, 12, .85); --on-fill: #0e0b26;
  --header-bg: rgba(14, 11, 38, .78);
  --input-bg: #282156; --hl-mint: rgba(63, 212, 135, .4);
  --coral: #ff8a63; --coral-s: #ffb394; --coral-ink: #ffb394; --coral-t: rgba(255, 138, 99, .2);
  --mint: #3fd487; --mint-s: #7df5b5; --mint-ink: #a6f7cb; --mint-t: rgba(63, 212, 135, .2);
  --sky: #5b8cff; --sky-s: #9dbbff; --sky-ink: #c3d5ff; --sky-t: rgba(91, 140, 255, .22);
  --pink: #f062b0; --pink-s: #ff9ad5; --pink-ink: #ffc2e6; --pink-t: rgba(240, 98, 176, .22);
  --sun: #f2b83a; --sun-s: #ffd873; --sun-ink: #ffe3a0; --sun-t: rgba(242, 184, 58, .2);
  --hl-sun: rgba(242, 184, 58, .42);
  --violet: #8d63f0; --violet-s: #c1a6ff; --violet-ink: #d9cbff; --violet-t: rgba(141, 99, 240, .26);
  --red: #e8594f; --red-s: #ff9a90; --red-ink: #ffc4be; --red-t: rgba(232, 89, 79, .22);
  --cream: #3a2f6e;
  --mint-on: var(--mint-ink); --sky-on: var(--sky-ink); --pink-on: var(--pink-ink); --sun-on: var(--sun-ink); --violet-on: var(--violet-ink); --red-on: var(--red-ink);
  --hatch: repeating-linear-gradient(-62deg, transparent 0 6px, rgba(255, 255, 255, .2) 6px 7.4px, transparent 7.4px 12px);
  --hatch-soft: repeating-linear-gradient(-62deg, transparent 0 7px, rgba(255, 255, 255, .1) 7px 8.2px, transparent 8.2px 14px);
  --page-art: var(--night-art);
  --squiggle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3ClinearGradient id='g'%3E%3Cstop offset='0' stop-color='%237DF5B5'/%3E%3Cstop offset='.36' stop-color='%239DBBFF'/%3E%3Cstop offset='.7' stop-color='%23C1A6FF'/%3E%3Cstop offset='1' stop-color='%23FF9AD5'/%3E%3C/linearGradient%3E%3Cpath d='M3 9C11 3 19 2 27 8S43 15 51 8 67 1 75 8 91 15 99 8 115 1 123 8 139 15 147 8 163 1 171 8 187 14 197 7' fill='none' stroke='url(%23g)' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E");
  --rule-h: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 6' preserveAspectRatio='none'%3E%3Cpath d='M1 3.4C60 2.2 120 4.2 200 3C280 2 340 4 399 2.9' fill='none' stroke='%234A4479' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath d='M1.6 2.4C3.8 4.3 5.4 6.2 7.1 8.1C8.9 6 10.6 4 12.5 1.9' fill='none' stroke='%23F1EEF8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --fr: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath d='M15.1 2.4C27 1.8 39.6 2.7 48.7 2.2C57.4 2.2 61.8 6.6 61.6 15C62.1 26 61.4 38.5 61.8 48.8C61.9 57.4 57.4 61.8 48.9 61.6C38 62.2 26.4 61.3 15.2 61.9C6.7 61.7 2.3 57.3 2.4 48.9C1.9 38 2.6 26.6 2.1 15.4C2.2 6.8 6.6 2.6 15.1 2.4Z' fill='none' stroke='%235A538C' stroke-width='1.7' stroke-linejoin='round'/%3E%3C/svg%3E");
  --fr-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath d='M15.1 2.4C27 1.8 39.6 2.7 48.7 2.2C57.4 2.2 61.8 6.6 61.6 15C62.1 26 61.4 38.5 61.8 48.8C61.9 57.4 57.4 61.8 48.9 61.6C38 62.2 26.4 61.3 15.2 61.9C6.7 61.7 2.3 57.3 2.4 48.9C1.9 38 2.6 26.6 2.1 15.4C2.2 6.8 6.6 2.6 15.1 2.4Z' fill='none' stroke='%23CFC9E6' stroke-width='2.1' stroke-linejoin='round'/%3E%3C/svg%3E");
  --fr-black: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath d='M15.1 2.4C27 1.8 39.6 2.7 48.7 2.2C57.4 2.2 61.8 6.6 61.6 15C62.1 26 61.4 38.5 61.8 48.8C61.9 57.4 57.4 61.8 48.9 61.6C38 62.2 26.4 61.3 15.2 61.9C6.7 61.7 2.3 57.3 2.4 48.9C1.9 38 2.6 26.6 2.1 15.4C2.2 6.8 6.6 2.6 15.1 2.4Z' fill='none' stroke='%230E0B26' stroke-width='2.2' stroke-linejoin='round'/%3E%3C/svg%3E");
  --fr2: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath d='M14.4 2.8C26.6 2.1 39.9 2.9 49.5 2.4C57.8 2.6 61.5 6.2 61.9 14.3C61.6 25.9 62.2 38.3 61.7 49.6C61.6 57.7 57.8 61.4 49.8 61.8C38.4 61.3 25.9 62.1 14.1 61.6C6.2 61.9 2.6 58 2.2 50.1C2.6 38.6 1.9 25.8 2.5 13.9C2.3 6.3 6.2 2.7 14.4 2.8Z' fill='none' stroke='%235A538C' stroke-width='1.7' stroke-linejoin='round'/%3E%3C/svg%3E");
  --fr2-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath d='M14.4 2.8C26.6 2.1 39.9 2.9 49.5 2.4C57.8 2.6 61.5 6.2 61.9 14.3C61.6 25.9 62.2 38.3 61.7 49.6C61.6 57.7 57.8 61.4 49.8 61.8C38.4 61.3 25.9 62.1 14.1 61.6C6.2 61.9 2.6 58 2.2 50.1C2.6 38.6 1.9 25.8 2.5 13.9C2.3 6.3 6.2 2.7 14.4 2.8Z' fill='none' stroke='%23CFC9E6' stroke-width='2.1' stroke-linejoin='round'/%3E%3C/svg%3E");
  --frs: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M12 2.3C20 1.8 28 2.6 35.8 2.1C42.4 2.2 45.8 5.4 45.6 11.9C45.9 19.6 45.4 28.4 45.8 36.1C45.9 42.6 42.5 45.8 36 45.6C28.2 46.1 19.8 45.4 12.1 45.9C5.6 45.7 2.2 42.4 2.4 35.9C2 28.3 2.6 19.8 2.2 12.2C2.3 5.5 5.6 2.4 12 2.3Z' fill='none' stroke='%235A538C' stroke-width='1.7' stroke-linejoin='round'/%3E%3C/svg%3E");
  --frs-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M12 2.3C20 1.8 28 2.6 35.8 2.1C42.4 2.2 45.8 5.4 45.6 11.9C45.9 19.6 45.4 28.4 45.8 36.1C45.9 42.6 42.5 45.8 36 45.6C28.2 46.1 19.8 45.4 12.1 45.9C5.6 45.7 2.2 42.4 2.4 35.9C2 28.3 2.6 19.8 2.2 12.2C2.3 5.5 5.6 2.4 12 2.3Z' fill='none' stroke='%23CFC9E6' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
  --frs-black: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M12 2.3C20 1.8 28 2.6 35.8 2.1C42.4 2.2 45.8 5.4 45.6 11.9C45.9 19.6 45.4 28.4 45.8 36.1C45.9 42.6 42.5 45.8 36 45.6C28.2 46.1 19.8 45.4 12.1 45.9C5.6 45.7 2.2 42.4 2.4 35.9C2 28.3 2.6 19.8 2.2 12.2C2.3 5.5 5.6 2.4 12 2.3Z' fill='none' stroke='%230E0B26' stroke-width='2.1' stroke-linejoin='round'/%3E%3C/svg%3E");
  --frp: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='32' viewBox='0 0 64 32'%3E%3Cpath d='M16 2.2C28 1.6 37 2.6 48 2C56.6 2.2 61.9 8.4 61.7 16.2C61.9 24 56.2 30.1 48.2 29.9C37 30.5 27.6 29.6 15.8 30.1C7.6 29.9 2.2 23.8 2.4 15.8C2.1 8.2 7.8 2.4 16 2.2Z' fill='none' stroke='%235A538C' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E");
  --frp-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='32' viewBox='0 0 64 32'%3E%3Cpath d='M16 2.2C28 1.6 37 2.6 48 2C56.6 2.2 61.9 8.4 61.7 16.2C61.9 24 56.2 30.1 48.2 29.9C37 30.5 27.6 29.6 15.8 30.1C7.6 29.9 2.2 23.8 2.4 15.8C2.1 8.2 7.8 2.4 16 2.2Z' fill='none' stroke='%23CFC9E6' stroke-width='1.9' stroke-linejoin='round'/%3E%3C/svg%3E");
  --frp-black: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='32' viewBox='0 0 64 32'%3E%3Cpath d='M16 2.2C28 1.6 37 2.6 48 2C56.6 2.2 61.9 8.4 61.7 16.2C61.9 24 56.2 30.1 48.2 29.9C37 30.5 27.6 29.6 15.8 30.1C7.6 29.9 2.2 23.8 2.4 15.8C2.1 8.2 7.8 2.4 16 2.2Z' fill='none' stroke='%230E0B26' stroke-width='1.9' stroke-linejoin='round'/%3E%3C/svg%3E");
  --frame: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='48' viewBox='0 0 64 48'%3E%3Cpath d='M12.5 2.2C24 1.4 40 2.6 51.8 1.9C58.6 2.1 62 5.6 61.8 12.4C62.3 21 61.4 28.5 61.9 35.4C62.1 42.4 58.4 46.2 51.6 45.9C39 46.6 25.5 45.4 12.2 46.1C5.4 45.8 2.1 42.3 2.3 35.6C1.8 27 2.6 19.6 2.1 12.7C2.2 5.6 5.9 2.3 12.5 2.2Z' fill='%23282156' stroke='%23CDC6E6' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
  --frame-focus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='48' viewBox='0 0 64 48'%3E%3Cpath d='M12.5 2.2C24 1.4 40 2.6 51.8 1.9C58.6 2.1 62 5.6 61.8 12.4C62.3 21 61.4 28.5 61.9 35.4C62.1 42.4 58.4 46.2 51.6 45.9C39 46.6 25.5 45.4 12.2 46.1C5.4 45.8 2.1 42.3 2.3 35.6C1.8 27 2.6 19.6 2.1 12.7C2.2 5.6 5.9 2.3 12.5 2.2Z' fill='%23282156' stroke='%239DBBFF' stroke-width='2.7' stroke-linejoin='round'/%3E%3C/svg%3E");
  --frame-bad: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='48' viewBox='0 0 64 48'%3E%3Cpath d='M12.5 2.2C24 1.4 40 2.6 51.8 1.9C58.6 2.1 62 5.6 61.8 12.4C62.3 21 61.4 28.5 61.9 35.4C62.1 42.4 58.4 46.2 51.6 45.9C39 46.6 25.5 45.4 12.2 46.1C5.4 45.8 2.1 42.3 2.3 35.6C1.8 27 2.6 19.6 2.1 12.7C2.2 5.6 5.9 2.3 12.5 2.2Z' fill='%23282156' stroke='%23FF9A90' stroke-width='2.7' stroke-linejoin='round'/%3E%3C/svg%3E");
  --shadow-1: 0 10px 24px -16px rgba(0, 0, 0, .8);
  --shadow-2: 0 18px 34px -18px rgba(0, 0, 0, .85), 0 0 26px -12px rgba(141, 99, 240, .45);
  --shadow-3: 0 30px 70px -26px rgba(0, 0, 0, .9), 0 0 50px -18px rgba(141, 99, 240, .5);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0e0b26; --paper-2: #120e30; --sheet: #1f1946; --sheet-2: #282156; --sheet-3: #312a64;
    --ink: #f1eef8; --ink-2: #d9d4ea; --muted: #bdb6d6; --faint: #aaa3c6;
    --pencil: rgba(236, 232, 245, .14); --pencil-2: rgba(236, 232, 245, .28);
    --key: rgba(3, 2, 12, .7); --key-strong: rgba(3, 2, 12, .85); --on-fill: #0e0b26;
    --header-bg: rgba(14, 11, 38, .78);
    --input-bg: #282156; --hl-mint: rgba(63, 212, 135, .4);
    --coral: #ff8a63; --coral-s: #ffb394; --coral-ink: #ffb394; --coral-t: rgba(255, 138, 99, .2);
    --mint: #3fd487; --mint-s: #7df5b5; --mint-ink: #a6f7cb; --mint-t: rgba(63, 212, 135, .2);
    --sky: #5b8cff; --sky-s: #9dbbff; --sky-ink: #c3d5ff; --sky-t: rgba(91, 140, 255, .22);
    --pink: #f062b0; --pink-s: #ff9ad5; --pink-ink: #ffc2e6; --pink-t: rgba(240, 98, 176, .22);
    --sun: #f2b83a; --sun-s: #ffd873; --sun-ink: #ffe3a0; --sun-t: rgba(242, 184, 58, .2);
    --hl-sun: rgba(242, 184, 58, .42);
    --violet: #8d63f0; --violet-s: #c1a6ff; --violet-ink: #d9cbff; --violet-t: rgba(141, 99, 240, .26);
    --red: #e8594f; --red-s: #ff9a90; --red-ink: #ffc4be; --red-t: rgba(232, 89, 79, .22);
    --cream: #3a2f6e;
    --mint-on: var(--mint-ink); --sky-on: var(--sky-ink); --pink-on: var(--pink-ink); --sun-on: var(--sun-ink); --violet-on: var(--violet-ink); --red-on: var(--red-ink);
    --hatch: repeating-linear-gradient(-62deg, transparent 0 6px, rgba(255, 255, 255, .2) 6px 7.4px, transparent 7.4px 12px);
    --hatch-soft: repeating-linear-gradient(-62deg, transparent 0 7px, rgba(255, 255, 255, .1) 7px 8.2px, transparent 8.2px 14px);
    --page-art: var(--night-art);
    --squiggle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3ClinearGradient id='g'%3E%3Cstop offset='0' stop-color='%237DF5B5'/%3E%3Cstop offset='.36' stop-color='%239DBBFF'/%3E%3Cstop offset='.7' stop-color='%23C1A6FF'/%3E%3Cstop offset='1' stop-color='%23FF9AD5'/%3E%3C/linearGradient%3E%3Cpath d='M3 9C11 3 19 2 27 8S43 15 51 8 67 1 75 8 91 15 99 8 115 1 123 8 139 15 147 8 163 1 171 8 187 14 197 7' fill='none' stroke='url(%23g)' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E");
    --rule-h: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 6' preserveAspectRatio='none'%3E%3Cpath d='M1 3.4C60 2.2 120 4.2 200 3C280 2 340 4 399 2.9' fill='none' stroke='%234A4479' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath d='M1.6 2.4C3.8 4.3 5.4 6.2 7.1 8.1C8.9 6 10.6 4 12.5 1.9' fill='none' stroke='%23F1EEF8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    --fr: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath d='M15.1 2.4C27 1.8 39.6 2.7 48.7 2.2C57.4 2.2 61.8 6.6 61.6 15C62.1 26 61.4 38.5 61.8 48.8C61.9 57.4 57.4 61.8 48.9 61.6C38 62.2 26.4 61.3 15.2 61.9C6.7 61.7 2.3 57.3 2.4 48.9C1.9 38 2.6 26.6 2.1 15.4C2.2 6.8 6.6 2.6 15.1 2.4Z' fill='none' stroke='%235A538C' stroke-width='1.7' stroke-linejoin='round'/%3E%3C/svg%3E");
    --fr-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath d='M15.1 2.4C27 1.8 39.6 2.7 48.7 2.2C57.4 2.2 61.8 6.6 61.6 15C62.1 26 61.4 38.5 61.8 48.8C61.9 57.4 57.4 61.8 48.9 61.6C38 62.2 26.4 61.3 15.2 61.9C6.7 61.7 2.3 57.3 2.4 48.9C1.9 38 2.6 26.6 2.1 15.4C2.2 6.8 6.6 2.6 15.1 2.4Z' fill='none' stroke='%23CFC9E6' stroke-width='2.1' stroke-linejoin='round'/%3E%3C/svg%3E");
    --fr-black: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath d='M15.1 2.4C27 1.8 39.6 2.7 48.7 2.2C57.4 2.2 61.8 6.6 61.6 15C62.1 26 61.4 38.5 61.8 48.8C61.9 57.4 57.4 61.8 48.9 61.6C38 62.2 26.4 61.3 15.2 61.9C6.7 61.7 2.3 57.3 2.4 48.9C1.9 38 2.6 26.6 2.1 15.4C2.2 6.8 6.6 2.6 15.1 2.4Z' fill='none' stroke='%230E0B26' stroke-width='2.2' stroke-linejoin='round'/%3E%3C/svg%3E");
    --fr2: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath d='M14.4 2.8C26.6 2.1 39.9 2.9 49.5 2.4C57.8 2.6 61.5 6.2 61.9 14.3C61.6 25.9 62.2 38.3 61.7 49.6C61.6 57.7 57.8 61.4 49.8 61.8C38.4 61.3 25.9 62.1 14.1 61.6C6.2 61.9 2.6 58 2.2 50.1C2.6 38.6 1.9 25.8 2.5 13.9C2.3 6.3 6.2 2.7 14.4 2.8Z' fill='none' stroke='%235A538C' stroke-width='1.7' stroke-linejoin='round'/%3E%3C/svg%3E");
    --fr2-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath d='M14.4 2.8C26.6 2.1 39.9 2.9 49.5 2.4C57.8 2.6 61.5 6.2 61.9 14.3C61.6 25.9 62.2 38.3 61.7 49.6C61.6 57.7 57.8 61.4 49.8 61.8C38.4 61.3 25.9 62.1 14.1 61.6C6.2 61.9 2.6 58 2.2 50.1C2.6 38.6 1.9 25.8 2.5 13.9C2.3 6.3 6.2 2.7 14.4 2.8Z' fill='none' stroke='%23CFC9E6' stroke-width='2.1' stroke-linejoin='round'/%3E%3C/svg%3E");
    --frs: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M12 2.3C20 1.8 28 2.6 35.8 2.1C42.4 2.2 45.8 5.4 45.6 11.9C45.9 19.6 45.4 28.4 45.8 36.1C45.9 42.6 42.5 45.8 36 45.6C28.2 46.1 19.8 45.4 12.1 45.9C5.6 45.7 2.2 42.4 2.4 35.9C2 28.3 2.6 19.8 2.2 12.2C2.3 5.5 5.6 2.4 12 2.3Z' fill='none' stroke='%235A538C' stroke-width='1.7' stroke-linejoin='round'/%3E%3C/svg%3E");
    --frs-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M12 2.3C20 1.8 28 2.6 35.8 2.1C42.4 2.2 45.8 5.4 45.6 11.9C45.9 19.6 45.4 28.4 45.8 36.1C45.9 42.6 42.5 45.8 36 45.6C28.2 46.1 19.8 45.4 12.1 45.9C5.6 45.7 2.2 42.4 2.4 35.9C2 28.3 2.6 19.8 2.2 12.2C2.3 5.5 5.6 2.4 12 2.3Z' fill='none' stroke='%23CFC9E6' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
    --frs-black: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M12 2.3C20 1.8 28 2.6 35.8 2.1C42.4 2.2 45.8 5.4 45.6 11.9C45.9 19.6 45.4 28.4 45.8 36.1C45.9 42.6 42.5 45.8 36 45.6C28.2 46.1 19.8 45.4 12.1 45.9C5.6 45.7 2.2 42.4 2.4 35.9C2 28.3 2.6 19.8 2.2 12.2C2.3 5.5 5.6 2.4 12 2.3Z' fill='none' stroke='%230E0B26' stroke-width='2.1' stroke-linejoin='round'/%3E%3C/svg%3E");
    --frp: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='32' viewBox='0 0 64 32'%3E%3Cpath d='M16 2.2C28 1.6 37 2.6 48 2C56.6 2.2 61.9 8.4 61.7 16.2C61.9 24 56.2 30.1 48.2 29.9C37 30.5 27.6 29.6 15.8 30.1C7.6 29.9 2.2 23.8 2.4 15.8C2.1 8.2 7.8 2.4 16 2.2Z' fill='none' stroke='%235A538C' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E");
    --frp-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='32' viewBox='0 0 64 32'%3E%3Cpath d='M16 2.2C28 1.6 37 2.6 48 2C56.6 2.2 61.9 8.4 61.7 16.2C61.9 24 56.2 30.1 48.2 29.9C37 30.5 27.6 29.6 15.8 30.1C7.6 29.9 2.2 23.8 2.4 15.8C2.1 8.2 7.8 2.4 16 2.2Z' fill='none' stroke='%23CFC9E6' stroke-width='1.9' stroke-linejoin='round'/%3E%3C/svg%3E");
    --frp-black: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='32' viewBox='0 0 64 32'%3E%3Cpath d='M16 2.2C28 1.6 37 2.6 48 2C56.6 2.2 61.9 8.4 61.7 16.2C61.9 24 56.2 30.1 48.2 29.9C37 30.5 27.6 29.6 15.8 30.1C7.6 29.9 2.2 23.8 2.4 15.8C2.1 8.2 7.8 2.4 16 2.2Z' fill='none' stroke='%230E0B26' stroke-width='1.9' stroke-linejoin='round'/%3E%3C/svg%3E");
    --frame: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='48' viewBox='0 0 64 48'%3E%3Cpath d='M12.5 2.2C24 1.4 40 2.6 51.8 1.9C58.6 2.1 62 5.6 61.8 12.4C62.3 21 61.4 28.5 61.9 35.4C62.1 42.4 58.4 46.2 51.6 45.9C39 46.6 25.5 45.4 12.2 46.1C5.4 45.8 2.1 42.3 2.3 35.6C1.8 27 2.6 19.6 2.1 12.7C2.2 5.6 5.9 2.3 12.5 2.2Z' fill='%23282156' stroke='%23CDC6E6' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E");
    --frame-focus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='48' viewBox='0 0 64 48'%3E%3Cpath d='M12.5 2.2C24 1.4 40 2.6 51.8 1.9C58.6 2.1 62 5.6 61.8 12.4C62.3 21 61.4 28.5 61.9 35.4C62.1 42.4 58.4 46.2 51.6 45.9C39 46.6 25.5 45.4 12.2 46.1C5.4 45.8 2.1 42.3 2.3 35.6C1.8 27 2.6 19.6 2.1 12.7C2.2 5.6 5.9 2.3 12.5 2.2Z' fill='%23282156' stroke='%239DBBFF' stroke-width='2.7' stroke-linejoin='round'/%3E%3C/svg%3E");
    --frame-bad: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='48' viewBox='0 0 64 48'%3E%3Cpath d='M12.5 2.2C24 1.4 40 2.6 51.8 1.9C58.6 2.1 62 5.6 61.8 12.4C62.3 21 61.4 28.5 61.9 35.4C62.1 42.4 58.4 46.2 51.6 45.9C39 46.6 25.5 45.4 12.2 46.1C5.4 45.8 2.1 42.3 2.3 35.6C1.8 27 2.6 19.6 2.1 12.7C2.2 5.6 5.9 2.3 12.5 2.2Z' fill='%23282156' stroke='%23FF9A90' stroke-width='2.7' stroke-linejoin='round'/%3E%3C/svg%3E");
    --shadow-1: 0 10px 24px -16px rgba(0, 0, 0, .8);
    --shadow-2: 0 18px 34px -18px rgba(0, 0, 0, .85), 0 0 26px -12px rgba(141, 99, 240, .45);
    --shadow-3: 0 30px 70px -26px rgba(0, 0, 0, .9), 0 0 50px -18px rgba(141, 99, 240, .5);
    color-scheme: dark;
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
body {
  margin: 0; min-width: 320px; overflow-x: clip;
  font: 400 17px/1.62 var(--font); color: var(--ink); background-color: var(--paper);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  font-feature-settings: "kern";
}
/* the paper's grain and clouds, or the night: one fixed layer, so scrolling never repaints it */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background-image: var(--page-art); }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--sky-ink); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--coral); }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2.5px solid var(--sky-s); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--sun); color: #1d1b22; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
[hidden] { display: none !important; }
.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100; padding: 12px 18px; border-radius: 12px;
  background: var(--ink); color: var(--paper); font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; }
.wrap-wide { width: min(100% - 2 * var(--gut), var(--max-wide)); margin-inline: auto; }

/* ---------- the marker outline: a hand-drawn frame laid over a box's edge ---------- */
.btn, .icon-btn, .card, .shot-frame, .stage-frame, .mail, .field, .seg { position: relative; }
.card::after, .shot-frame::after, .stage-frame::after, .mail::after {
  content: ""; position: absolute; inset: -2px; pointer-events: none; z-index: 2;
  border: 16px solid transparent; border-image: var(--fr) 16 / 16px / 0 stretch;
}
.card.alt::after { border-image-source: var(--fr2); }
.ink::after { border-image-source: var(--fr-ink) !important; }
.ink.alt::after { border-image-source: var(--fr2-ink) !important; }

/* ---------- headings and text ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  color: var(--coral-ink); font-size: 13px; font-weight: 760; line-height: 1.2; letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: currentColor; opacity: .85; }
.center .eyebrow::before { display: none; }
h1 { font-size: clamp(40px, 5.6vw, 78px); line-height: 1.02; letter-spacing: -.04em; font-weight: 780; }
h2 { font-size: clamp(32px, 4.3vw, 56px); line-height: 1.05; letter-spacing: -.034em; font-weight: 760; }
h3 { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.22; letter-spacing: -.018em; font-weight: 720; }
.lead { margin-top: 22px; color: var(--ink-2); font-size: clamp(18px, 1.55vw, 21px); line-height: 1.55; max-width: 64ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.sec { position: relative; padding-block: clamp(64px, 8.4vw, 124px); }
.sec-head { max-width: 820px; margin-bottom: clamp(40px, 5vw, 68px); }
.sec-head.center { margin-inline: auto; }
.muted { color: var(--muted); }

/* a rainbow squiggle under a title, like the app's page titles */
.squiggle { display: block; width: min(220px, 60%); height: 14px; margin-top: 16px; background: var(--squiggle) left center / 100% 100% no-repeat; }
.center .squiggle { margin-inline: auto; }

/* the marker underline and the pencil ring (site.js draws their paths to fit the word) */
.u-mark, [data-ring] { position: relative; white-space: nowrap; }
.u-mark { z-index: 0; }
.ink-svg { position: absolute; pointer-events: none; overflow: visible; z-index: -1; max-width: none; }
.ink-svg path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.u-mark .ink-svg path { stroke: var(--coral); stroke-width: 7; opacity: .9; }
[data-ring] .ink-svg { z-index: 1; }
[data-ring] .ink-svg path { stroke: var(--coral-s); stroke-width: 2.4; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px;
  border: 0; border-radius: 15px 17px 14px 18px / 17px 14px 18px 15px; background: var(--sheet); color: var(--ink);
  box-shadow: 0 3px 0 var(--key); font-size: 16px; font-weight: 680; line-height: 1.1; white-space: nowrap; text-decoration: none;
}
.btn::after {
  content: ""; position: absolute; inset: -2px; pointer-events: none;
  border: 12px solid transparent; border-image: var(--frs-ink) 12 / 12px / 0 stretch;
}
.btn:hover { color: var(--ink); transform: translateY(-1px); box-shadow: 0 4px 0 var(--key); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--key); }
.btn.primary { background-color: var(--coral); background-image: var(--hatch-soft); color: #1d1b22; box-shadow: 0 3px 0 var(--key-strong); }
.btn.primary::after { border-image-source: var(--frs-black); }
.btn.primary:hover { color: #1d1b22; box-shadow: 0 4px 0 var(--key-strong); }
.btn.primary:active { box-shadow: 0 1px 0 var(--key-strong); }
.btn.lg { min-height: 58px; padding: 0 28px; font-size: 17.5px; border-radius: 17px 19px 16px 20px / 19px 16px 20px 17px; }
.btn.sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn .ic { width: 20px; height: 20px; }
.btn-note { color: var(--muted); font-weight: 600; }
.btn-note::before { content: "·"; margin-right: 8px; }
/* the brand's three bars inside the main button: an equalizer when it is hovered */
.eq { display: inline-flex; align-items: flex-end; gap: 2.5px; height: 18px; flex: none; }
.eq i { display: block; width: 5px; border-radius: 2px; box-shadow: 0 0 0 1.4px #1d1b22; transform-origin: 50% 100%; }
.eq i:nth-child(1) { height: 11px; background: #86e8a8; }
.eq i:nth-child(2) { height: 17px; background: #93c2fb; }
.eq i:nth-child(3) { height: 9px; background: #f5a6d2; }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; padding: 0; border: 0;
  border-radius: 13px 14px 12px 15px; background: var(--sheet); color: var(--ink-2); box-shadow: 0 2px 0 var(--key);
}
.icon-btn::after {
  content: ""; position: absolute; inset: -2px; pointer-events: none;
  border: 12px solid transparent; border-image: var(--frs-ink) 12 / 12px / 0 stretch;
}
.icon-btn:hover { color: var(--ink); transform: translateY(-1px); box-shadow: 0 3px 0 var(--key); }
.icon-btn:active { transform: translateY(2px); box-shadow: 0 0 0 var(--key); }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 50; height: var(--head-h);
  background: var(--header-bg); -webkit-backdrop-filter: saturate(1.3) blur(14px); backdrop-filter: saturate(1.3) blur(14px);
}
/* a pencil rule under the header once the page has scrolled */
.top::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 6px; pointer-events: none;
  background: var(--rule-h) 0 0 / 100% 100% no-repeat; opacity: 0;
}
.top.scrolled::after { opacity: 1; }
.top-in { display: flex; align-items: center; gap: 24px; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; flex: none; min-height: 44px; }
.brand:hover { color: var(--ink); }
.mark { width: 38px; height: 38px; overflow: visible; flex: none; }
.mark .mark-base, .mark .bar-out { stroke: var(--ink); }
.mark .mark-base { opacity: .7; }
.mark .mark-bar { transform-box: fill-box; transform-origin: 50% 100%; }
.word { font-size: 20px; font-weight: 780; letter-spacing: -.02em; white-space: nowrap; }
.word b { color: var(--coral-ink); font-weight: 780; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 13px; border-radius: 12px;
  color: var(--ink-2); font-size: 15.5px; font-weight: 600; text-decoration: none;
}
.nav a:hover { color: var(--ink); }
/* the section you are reading: a highlighter swipe under its link */
.nav a::before {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 9px; height: 7px; border-radius: 4px;
  background: var(--sun); opacity: 0; transform: scaleX(.3); transform-origin: 0 50%; z-index: -1;
}
.nav a:hover::before, .nav a[aria-current="true"]::before { opacity: .75; transform: scaleX(1); }
.top-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.theme-btn .ic { width: 21px; height: 21px; }
.theme-btn .i-sun, .nav-theme .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun, :root[data-theme="dark"] .nav-theme .i-sun { display: block; }
:root[data-theme="dark"] .theme-btn .i-moon, :root[data-theme="dark"] .nav-theme .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .i-sun, :root:not([data-theme="light"]) .nav-theme .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-btn .i-moon, :root:not([data-theme="light"]) .nav-theme .i-moon { display: none; }
}
.menu-btn { display: none; }
.menu-btn .i-close, .menu-btn[aria-expanded="true"] .i-menu { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: clamp(32px, 4.6vw, 64px); padding-bottom: clamp(56px, 7vw, 104px); text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 18px 8px 14px; margin-bottom: 26px;
  border-radius: 20px 22px 19px 23px / 22px 19px 23px 20px; background: var(--sheet); color: var(--ink-2);
  font-size: 15px; font-weight: 600; line-height: 1.3; box-shadow: var(--shadow-1); position: relative;
}
.kicker::after { content: ""; position: absolute; inset: -2px; pointer-events: none; border: 16px solid transparent; border-image: var(--frp) 16 / 16px / 0 stretch; }
.kicker .mini-mark { width: 22px; height: 22px; }
.hero h1 { max-width: 22ch; margin-inline: auto; }
.hero-promise { max-width: 34ch; margin: 18px auto 0; color: var(--ink); font-size: clamp(20px, 2.1vw, 27px); font-weight: 720; line-height: 1.3; letter-spacing: -.012em; }
/* a highlighter stroke behind the promise; it sweeps in once the line has appeared (below, with motion) */
.hero-hl { color: inherit; padding: 0 .14em; border-radius: .3em; background: linear-gradient(var(--hl-sun), var(--hl-sun)) no-repeat 0 72% / 100% 46%; }
.hero-lead { max-width: 62ch; margin: 24px auto 0; color: var(--ink-2); font-size: clamp(18px, 1.6vw, 21.5px); line-height: 1.55; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 18px; margin-top: 34px; }
.hero-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px; margin-top: 28px; color: var(--muted); font-size: 15px; font-weight: 520; }
.hero-facts li { display: inline-flex; align-items: center; gap: 9px; }
.hero-facts .ic { width: 19px; height: 19px; color: var(--mint-s); stroke-width: 2.2; }

/* the stage: the promo film (or, until it plays, real screens) in a drawn frame */
.stage-wrap { position: relative; margin-top: clamp(40px, 4.6vw, 60px); }
.stage { position: relative; width: min(100% - 2 * var(--gut), 1140px); margin: 0 auto; }
.stage-frame { padding: 10px; border-radius: 24px 26px 23px 27px / 26px 23px 27px 24px; background: var(--sheet); box-shadow: var(--shadow-3); }
.stage-frame::after { border-image-source: var(--fr-ink); }
.stage-media { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 15px 17px 14px 18px / 17px 14px 18px 15px; background: var(--sheet-2); isolation: isolate; }
.stage-media > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-media img { object-fit: cover; object-position: 0 0; }
.stage-video { object-fit: cover; background: transparent; z-index: 1; }
.stage.no-video .stage-video, .stage.no-video .stage-ctrl, .stage.no-video + .transcript { display: none; }
.stage-ctrl { position: absolute; left: 22px; bottom: 22px; z-index: 3; display: flex; gap: 10px; }
.stage-ctrl .btn { min-height: 46px; background: var(--sheet); box-shadow: 0 3px 0 var(--key-strong); }
.stage-ctrl .btn::after { border-image-source: var(--frs-black); }
.stage-ctrl .icon-btn { width: 46px; height: 46px; box-shadow: 0 3px 0 var(--key-strong); background: var(--sheet); }
.stage-ctrl .icon-btn::after { border-image-source: var(--frs-black); }
.stage.sound .stage-ctrl, .stage.sound .play-big, .stage.no-video .play-big { display: none; }
/* over the video the two controls keep the day's paper look at night too: dark on dark they all but vanished */
:root[data-theme="dark"] .stage-ctrl { --sheet: #fbf9f4; --ink: #1d1b22; --ink-2: #3a3641; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .stage-ctrl { --sheet: #fbf9f4; --ink: #1d1b22; --ink-2: #3a3641; } }
.pp .i-play { display: none; }
.pp[aria-pressed="true"] .i-play { display: block; }
.pp[aria-pressed="true"] .i-pause { display: none; }
/* doodles around the stage, desktop only */
.stage-doodle { position: absolute; z-index: -1; color: var(--ink); opacity: .9; }
.stage-doodle svg { width: 100%; height: auto; }
.sd-1 { width: 92px; left: -118px; top: 9%; rotate: -8deg; }
.sd-2 { width: 84px; right: -112px; top: 4%; rotate: 9deg; }
.sd-3 { width: 104px; left: -128px; bottom: 6%; rotate: 5deg; }
.sd-4 { width: 96px; right: -124px; bottom: 12%; rotate: -6deg; }

.transcript { width: min(100% - 2 * var(--gut), 760px); margin: 22px auto 0; text-align: center; }
.transcript summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 12px; color: var(--muted); font-size: 15px; font-weight: 650; cursor: pointer; list-style: none; }
.transcript summary::-webkit-details-marker { display: none; }
.transcript summary::after { content: ""; width: 14px; height: 10px; background: var(--chev) center / 14px 10px no-repeat; opacity: .7; }
.transcript[open] summary::after { rotate: 180deg; }
.transcript summary:hover { color: var(--ink); }
.transcript p { margin-top: 6px; color: var(--ink-2); font-size: 16px; line-height: 1.6; text-align: left; }

/* ---------- why: by hand vs with the app ---------- */
.vs { position: relative; }
.vs-heads { display: grid; grid-template-columns: 170px 1fr 1fr; gap: 22px; padding: 0 0 14px; font-size: 14px; font-weight: 760; letter-spacing: .12em; text-transform: uppercase; }
.vs-heads span:nth-child(2) { color: var(--muted); }
.vs-heads span:nth-child(3) { color: var(--mint-ink); }
.vs-rows { display: grid; gap: 14px; }
.vs-row { display: grid; grid-template-columns: 170px 1fr 1fr; gap: 22px; align-items: stretch; }
.vs-topic { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 720; letter-spacing: -.01em; }
.vs-topic .ic { width: 22px; height: 22px; color: var(--muted); }
.vs-old, .vs-new { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; border-radius: 16px 18px 15px 19px / 18px 15px 19px 16px; font-size: 16.5px; line-height: 1.5; }
.vs-old { color: var(--muted); background: transparent; }
.vs-old::after { content: ""; position: absolute; inset: -2px; pointer-events: none; border: 16px solid transparent; border-image: var(--fr) 16 / 16px / 0 stretch; }
.vs-new { background: var(--sheet); color: var(--ink); box-shadow: var(--shadow-1); }
.vs-new::after { content: ""; position: absolute; inset: -2px; pointer-events: none; border: 16px solid transparent; border-image: var(--fr-ink) 16 / 16px / 0 stretch; }
.vs-row:nth-child(even) .vs-new::after { border-image-source: var(--fr2-ink); }
.vs-mark { display: grid; place-items: center; width: 28px; height: 28px; flex: none; margin-top: -1px; border-radius: 9px 10px 8px 11px; }
.vs-old .vs-mark { color: var(--muted); box-shadow: inset 0 0 0 1.6px var(--pencil-2); }
.vs-new .vs-mark { background-color: var(--mint); background-image: var(--hatch); color: #1d1b22; box-shadow: 0 0 0 1.8px var(--ink); }
.vs-mark .ic { width: 17px; height: 17px; stroke-width: 2.4; }
.vs-label { display: none; }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); counter-reset: step; }
.step { position: relative; display: flex; flex-direction: column; padding: 26px 28px 30px; border-radius: 20px 22px 19px 23px / 22px 19px 23px 20px; background: var(--sheet); box-shadow: var(--shadow-1); }
.step::after { content: ""; position: absolute; inset: -2px; pointer-events: none; border: 16px solid transparent; border-image: var(--fr) 16 / 16px / 0 stretch; }
.step:nth-child(2)::after { border-image-source: var(--fr2); }
.step-art { display: grid; place-items: center; height: 168px; margin: -6px -8px 18px; border-radius: 14px; background: var(--sheet-2); overflow: hidden; }
.step-art svg { width: 230px; height: auto; }
.step-n {
  position: absolute; top: 18px; left: 18px; z-index: 3; display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: 12px 14px 11px 15px; font-size: 22px; font-weight: 800; color: #1d1b22;
  background-image: var(--hatch); box-shadow: 0 0 0 2px #1d1b22, 0 3px 0 2px var(--key-strong);
}
.step:nth-child(1) .step-n { background-color: var(--mint); }
.step:nth-child(2) .step-n { background-color: var(--sky); }
.step:nth-child(3) .step-n { background-color: var(--pink); }
.step h3 { margin-bottom: 12px; }
.step p { color: var(--ink-2); font-size: 16.5px; line-height: 1.55; }

/* ---------- feature sections ---------- */
.feat-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.feat-split.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feat-split.flip .feat-copy { order: 2; }
.feat-copy h2 { font-size: clamp(30px, 3.4vw, 46px); }
.feat-copy .lead { font-size: clamp(17.5px, 1.35vw, 19.5px); }
.points { display: grid; gap: 14px; margin-top: 30px; }
.points li { display: flex; gap: 14px; align-items: flex-start; font-size: 16.5px; line-height: 1.5; color: var(--ink-2); }
.points li b { color: var(--ink); font-weight: 680; }
.points .pt { display: grid; place-items: center; width: 30px; height: 30px; flex: none; margin-top: -2px; border-radius: 9px 10px 8px 11px; background: var(--sheet); color: var(--ink); box-shadow: 0 0 0 1.6px var(--pencil-2); }
.points .pt .ic { width: 17px; height: 17px; }
.pts-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 28px; margin-top: 40px; }

/* a screenshot on a sheet of paper, in a drawn frame */
.shot { position: relative; margin: 0; }
.shot-frame { padding: 9px; border-radius: 20px 22px 19px 23px / 22px 19px 23px 20px; background: var(--sheet); box-shadow: var(--shadow-3); }
.shot-frame::after { border-image-source: var(--fr-ink); }
.shot-frame picture, .shot-frame img { display: block; width: 100%; }
.shot-frame img { border-radius: 12px 14px 11px 15px / 14px 11px 15px 12px; box-shadow: 0 0 0 1px var(--pencil); background: var(--sheet-2); }
.shot-frame .ph { aspect-ratio: 16 / 10; border-radius: 12px; background: var(--sheet-2); }
.shot figcaption { margin-top: 16px; color: var(--muted); font-size: 14.5px; line-height: 1.45; text-align: center; }
.shot-wide { margin-top: clamp(8px, 1vw, 16px); }
.shot.narrow { width: 100%; max-width: 540px; justify-self: center; }
.shot.tilt-l .shot-frame { rotate: -.5deg; }
.shot.tilt-r .shot-frame { rotate: .45deg; }
/* two screens of the same thing: the toggle swaps them in place */
.swap { position: relative; display: grid; }
.swap > picture { grid-area: 1 / 1; }
.swap > picture[aria-hidden="true"] { opacity: 0; pointer-events: none; }
.seg {
  display: inline-flex; gap: 3px; padding: 4px; margin-bottom: 18px; border-radius: 15px 17px 14px 18px / 17px 14px 18px 15px;
  background: var(--sheet); box-shadow: var(--shadow-1);
}
.seg::after { content: ""; position: absolute; inset: -2px; pointer-events: none; border: 12px solid transparent; border-image: var(--frs-ink) 12 / 12px / 0 stretch; }
.seg button {
  position: relative; z-index: 3; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 0;
  border-radius: 11px 12px 10px 13px; background: transparent; color: var(--muted); font-size: 15px; font-weight: 680;
}
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.seg .ic { width: 18px; height: 18px; }
.shot-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; }

/* the search: a Russian word finds the Ukrainian one */
.query { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.qchip {
  position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border-radius: 22px 24px 21px 25px / 24px 21px 25px 22px; background: var(--sheet); font-size: 17px; font-weight: 650; box-shadow: var(--shadow-1);
}
.qchip::after { content: ""; position: absolute; inset: -2px; pointer-events: none; border: 16px solid transparent; border-image: var(--frp-ink) 16 / 16px / 0 stretch; }
.qchip.hl { background-color: var(--sun-t); }
.qchip .ic { width: 18px; height: 18px; color: var(--muted); }
.qchip small { color: var(--muted); font-size: 13px; font-weight: 600; }
.query .arrow { width: 54px; height: 27px; color: var(--ink); }

/* the flagship: «Можем ли мы выиграть?» on its own large sheet */
.big-sheet { position: relative; padding: clamp(28px, 5vw, 72px); border-radius: 30px 34px 29px 35px / 34px 29px 35px 30px; background: var(--sheet); box-shadow: var(--shadow-2); }
.big-sheet::after { content: ""; position: absolute; inset: -2px; pointer-events: none; border: 20px solid transparent; border-image: var(--fr-ink) 16 / 20px / 0 stretch; }
.big-sheet .sec-head { margin-bottom: 40px; }
.win-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.win-grid .shot-frame { box-shadow: var(--shadow-2); }
.verdicts { display: grid; gap: 12px; }
.verdict { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: center; padding: 16px 18px; border-radius: 15px 17px 14px 18px / 17px 14px 18px 15px; background: var(--paper); }
.verdict::after { content: ""; position: absolute; inset: -2px; pointer-events: none; border: 16px solid transparent; border-image: var(--fr) 16 / 16px / 0 stretch; }
.verdict p { grid-column: 2; color: var(--ink-2); font-size: 15.5px; line-height: 1.45; }
.stamp {
  --tone: var(--sun-s); --tone-t: var(--sun-t); --tone-on: var(--sun-on);
  grid-row: span 2; display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px; border-radius: 8px 10px 7px 11px;
  background: var(--tone-t); color: var(--tone-on); box-shadow: inset 0 0 0 2px var(--tone);
  font-size: 13.5px; font-weight: 820; letter-spacing: .04em; white-space: nowrap; rotate: -2deg;
}
.stamp i { width: 9px; height: 9px; border-radius: 50%; background: var(--tone); }
.stamp.go { --tone: var(--mint-s); --tone-t: var(--mint-t); --tone-on: var(--mint-on); rotate: -2.5deg; }
.stamp.bad { --tone: var(--red-s); --tone-t: var(--red-t); --tone-on: var(--red-on); rotate: 1.5deg; }
.verdict h3 { grid-column: 2; font-size: 17px; }
.honest { position: relative; margin-top: 18px; padding: 22px 22px 24px; border-radius: 16px 18px 15px 19px / 18px 15px 19px 16px; background-color: var(--sun-t); }
.honest::after { content: ""; position: absolute; inset: -2px; pointer-events: none; border: 16px solid transparent; border-image: var(--fr-ink) 16 / 16px / 0 stretch; }
.honest h3 { font-size: 19px; margin-bottom: 10px; }
.honest p { color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.honest p + p { margin-top: 10px; }
.honest [data-ring] { font-weight: 760; color: var(--ink); padding: 0 2px; }
.win-foot { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 28px; margin-top: 40px; }

/* documents: a rainbow scan line passes over the page once it is on screen */
.scan { position: absolute; left: 3%; right: 3%; top: 0; height: 3px; z-index: 3; pointer-events: none; opacity: 0; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--mint-s), var(--sky-s), var(--violet-s), var(--pink-s), transparent);
  filter: drop-shadow(0 0 6px rgba(122, 71, 214, .6)); }

/* two cards side by side: the board and the feed */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.duo-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2.6vw, 34px); border-radius: 22px 24px 21px 25px / 24px 21px 25px 22px; background: var(--sheet); box-shadow: var(--shadow-2); }
.duo-card::after { content: ""; position: absolute; inset: -2px; pointer-events: none; border: 16px solid transparent; border-image: var(--fr-ink) 16 / 16px / 0 stretch; }
.duo-card:nth-child(2)::after { border-image-source: var(--fr2-ink); }
.duo-card .tag { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 14px; font-weight: 760; letter-spacing: .1em; text-transform: uppercase; }
.duo-card .tag i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px 10px 8px 11px; background-image: var(--hatch); box-shadow: 0 0 0 1.8px var(--ink); color: #1d1b22; }
.duo-card .tag i .ic { width: 17px; height: 17px; }
.duo-card h3 { font-size: clamp(24px, 2.3vw, 32px); letter-spacing: -.026em; }
.duo-card > p { color: var(--ink-2); font-size: 16.5px; }
.duo-card .shot { margin-top: 10px; }
.duo-card .shot-frame { box-shadow: var(--shadow-1); padding: 6px; }
.stages { display: flex; flex-wrap: wrap; gap: 8px; }
.stages li { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 0 12px; border-radius: 16px 17px 15px 18px; background: var(--sheet-2); font-size: 14px; font-weight: 650; color: var(--ink-2); box-shadow: inset 0 0 0 1.5px var(--pencil-2); }
.stages li i { width: 9px; height: 9px; border-radius: 50%; }

/* the e-mail alert, drawn as a letter on paper (not any mail service's screen) */
.mail { border-radius: 22px 24px 21px 25px / 24px 21px 25px 22px; background: var(--sheet); box-shadow: var(--shadow-3); overflow: hidden; }
.mail::after { border-image-source: var(--fr-ink); }
.mail-bar { display: flex; align-items: center; gap: 12px; padding: 16px 22px; background: var(--sheet-2); border-bottom: 1.5px solid var(--pencil); font-size: 14.5px; font-weight: 700; color: var(--ink-2); }
.mail-bar .ic { width: 20px; height: 20px; }
.mail-bar .count { margin-left: auto; display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 13px; background: var(--coral); color: #1d1b22; font-size: 13px; font-weight: 800; box-shadow: 0 0 0 1.6px var(--ink); }
.mail-list li { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 14px; align-items: center; padding: 14px 22px; border-bottom: 1.5px solid var(--pencil); }
.mail-list li.open { background: var(--sky-t); }
.mail-list .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--sky-s); grid-row: span 2; }
.mail-list li.read .dot { background: transparent; box-shadow: inset 0 0 0 1.5px var(--pencil-2); }
.mail-list .subj { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 700; color: var(--ink); }
.mail-list .from { grid-column: 2; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; color: var(--muted); }
.mail-list time { grid-row: 1; grid-column: 3; color: var(--muted); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.mail-body { padding: 22px 24px 26px; }
.mail-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 16px; }
.mail-head .stamp { grid-row: auto; rotate: -2deg; }
.mail-title { font-size: 16.5px; font-weight: 720; line-height: 1.35; color: var(--ink); }
.mail-lines { display: grid; gap: 9px; }
.mail-lines li { position: relative; padding-left: 18px; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.mail-lines li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--pencil-2); }
.mail-lines b { color: var(--ink); font-weight: 720; }
.mail-lines .bid { color: var(--ink); }
.mail-lines .bid b { background: linear-gradient(transparent 55%, var(--hl-mint) 55%, var(--hl-mint) 92%, transparent 92%); padding: 0 2px; }
.mail-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--sky-ink); font-size: 15px; font-weight: 680; overflow-wrap: anywhere; }

/* the assistant: questions in plain words */
.asks { display: grid; gap: 12px; margin-top: 30px; }
.ask { position: relative; justify-self: start; max-width: 100%; padding: 13px 18px; border-radius: 18px 20px 17px 6px / 20px 17px 21px 6px; background: var(--violet-t); color: var(--violet-on); font-size: 16px; font-weight: 600; line-height: 1.4; }
.ask::after { content: ""; position: absolute; inset: -2px; pointer-events: none; border: 16px solid transparent; border-image: var(--fr-ink) 16 / 16px / 0 stretch; border-bottom-left-radius: 6px; }
.ask:nth-child(2) { margin-left: clamp(0px, 3vw, 36px); }
.ask:nth-child(3) { margin-left: clamp(0px, 1.4vw, 16px); }
.note { display: flex; gap: 12px; align-items: flex-start; margin-top: 26px; padding: 16px 18px; border-radius: 14px 16px 13px 17px; background: var(--mint-t); color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.note .ic { width: 22px; height: 22px; color: var(--mint-s); margin-top: 1px; }
.note b { color: var(--ink); }

/* day and night: drag to compare the two themes of the same screen */
.compare { position: relative; --pos: 50%; display: block; }
.compare .layer { display: block; }
.compare .night-layer { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.compare .night-layer img { width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 0; z-index: 3; pointer-events: none; }
.compare-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; border-radius: 2px; background: var(--ink); box-shadow: 0 0 0 1.5px var(--sheet); }
.compare-handle span { position: absolute; top: 50%; left: 0; display: grid; place-items: center; width: 48px; height: 48px; translate: -50% -50%; border-radius: 50%; background: var(--sun); background-image: var(--hatch); color: #1d1b22; box-shadow: 0 0 0 2px #1d1b22, 0 3px 0 2px var(--key-strong); }
.compare-handle .ic { width: 22px; height: 22px; stroke-width: 2.3; }
.compare input[type="range"] { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.compare input[type="range"]:focus-visible ~ .compare-handle span { outline: 3px solid var(--sky-s); outline-offset: 3px; }
.compare-labels { display: flex; justify-content: space-between; margin-top: 14px; color: var(--muted); font-size: 14.5px; font-weight: 600; }

/* ---------- the night: the film, through a portal of rings ---------- */
.night { position: relative; color: var(--ink); isolation: isolate; }
.night-in { position: relative; padding-block: clamp(96px, 12vw, 170px); background: var(--night-art); background-color: #0e0b26; }
.night-in::before {
  /* a soft horizon of chalk at the top edge, so the night has a drawn border on paper */
  content: ""; position: absolute; left: 0; right: 0; top: -3px; height: 6px; background: var(--rule-h) 0 0 / 100% 100% no-repeat; opacity: .8;
}
.portal { position: absolute; left: 50%; top: 0; z-index: -1; width: 0; height: 0; pointer-events: none; display: none; }
.portal i { position: absolute; left: 0; top: 0; border-radius: 50%; translate: -50% -50%; box-shadow: 0 0 0 2.4px #1d1b22; }
.night .eyebrow { color: var(--coral-ink); }
.film { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 3vw, 40px); align-items: start; }
.player { position: relative; }
.player .stage-frame { padding: 9px; background: var(--sheet); }
.player-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 13px 15px 12px 16px / 15px 12px 16px 13px; background: #090719; }
.player-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 1; background: transparent; }
.player-card { position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr auto; padding: clamp(18px, 3vw, 34px); text-align: left; background: radial-gradient(ellipse 60% 60% at 50% 45%, rgba(108, 76, 210, .5), transparent 70%), radial-gradient(ellipse 40% 40% at 85% 90%, rgba(240, 98, 176, .16), transparent 70%), #120e30; }
.player-card .mark { width: clamp(44px, 5vw, 64px); height: clamp(44px, 5vw, 64px); }
.player-card b { grid-row: 3; display: block; font-size: clamp(20px, 2.6vw, 34px); line-height: 1.1; letter-spacing: -.024em; font-weight: 760; color: #f1eef8; }
.player-card span { grid-row: 4; display: block; margin-top: 8px; color: #bdb6d6; font-size: 15px; }
.play-big {
  position: absolute; left: 50%; top: 50%; z-index: 2; translate: -50% -50%; display: grid; place-items: center; width: 84px; height: 84px; border: 0; border-radius: 50%;
  background-color: var(--coral); background-image: var(--hatch-soft); color: #1d1b22; box-shadow: 0 0 0 2.4px #1d1b22, 0 4px 0 2.4px rgba(3, 2, 12, .85);
}
.play-big:hover { transform: scale(1.05); }
.play-big .ic { width: 34px; height: 34px; margin-left: 4px; stroke-width: 2.2; fill: #1d1b22; }
.player.playing .play-big, .player.playing .player-card { display: none; }
.chapters-wrap { position: relative; padding: 20px 10px 14px; border-radius: 20px 22px 19px 23px / 22px 19px 23px 20px; background: rgba(31, 25, 70, .72); }
.chapters-wrap::after { content: ""; position: absolute; inset: -2px; pointer-events: none; border: 16px solid transparent; border-image: var(--fr) 16 / 16px / 0 stretch; }
.chapters-wrap h3 { padding: 0 12px 10px; font-size: 14px; font-weight: 760; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.chapters { display: grid; gap: 2px; counter-reset: ch; }
.chapters button {
  display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 8px 12px; border: 0; border-radius: 11px 12px 10px 13px;
  background: transparent; color: var(--ink-2); font-size: 15px; font-weight: 600; line-height: 1.3; text-align: left;
}
.chapters button:hover { background: rgba(255, 255, 255, .06); color: var(--ink); }
.chapters button .n { color: var(--faint); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.chapters button time { color: var(--faint); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.chapters button[aria-current="true"] { background: var(--sun); color: #1d1b22; }
.chapters button[aria-current="true"] .n, .chapters button[aria-current="true"] time { color: #1d1b22; }
.film-note { margin-top: 16px; color: var(--muted); font-size: 14.5px; text-align: center; }

/* ---------- data, audiences, setup ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 28px); }
.card { padding: clamp(22px, 2.4vw, 30px); border-radius: 20px 22px 19px 23px / 22px 19px 23px 20px; background: var(--sheet); box-shadow: var(--shadow-1); }
.card h3 { margin: 18px 0 10px; font-size: 20px; }
.card p { color: var(--ink-2); font-size: 16px; line-height: 1.56; }
.badge-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 13px 15px 12px 16px; background-image: var(--hatch); color: #1d1b22; box-shadow: 0 0 0 2px #1d1b22, 0 3px 0 2px var(--key-strong); }
.badge-ic .ic { width: 24px; height: 24px; stroke-width: 2.1; }
.bg-mint { background-color: var(--mint); } .bg-sky { background-color: var(--sky); } .bg-pink { background-color: var(--pink); }
.bg-sun { background-color: var(--sun); } .bg-violet { background-color: var(--violet); } .bg-coral { background-color: var(--coral); }
.who .card { display: flex; flex-direction: column; }
.who .card-art { display: grid; place-items: center; height: 120px; margin: -4px -6px 4px; border-radius: 14px; background: var(--sheet-2); }
.who .card-art svg { width: 96px; height: auto; }
/* the price: no numbers here, on purpose */
.price-panel { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px; align-items: center; padding: clamp(28px, 4.4vw, 60px); border-radius: 28px 30px 27px 31px / 30px 27px 31px 28px; background-color: var(--sun); background-image: var(--hatch); color: #1d1b22; box-shadow: var(--shadow-2); }
.price-panel::after { content: ""; position: absolute; inset: -2px; pointer-events: none; border: 18px solid transparent; border-image: var(--fr-black) 16 / 18px / 0 stretch; }
.price-panel h2 { color: #1d1b22; font-size: clamp(30px, 3.6vw, 48px); }
.price-panel p { margin-top: 14px; color: #3a3641; font-size: clamp(17px, 1.4vw, 19.5px); max-width: 52ch; }
.price-panel .btn { background-color: #fbf9f4; color: #1d1b22; box-shadow: 0 3px 0 rgba(29, 27, 34, .82); }
.price-panel .btn::after { border-image-source: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M12 2.3C20 1.8 28 2.6 35.8 2.1C42.4 2.2 45.8 5.4 45.6 11.9C45.9 19.6 45.4 28.4 45.8 36.1C45.9 42.6 42.5 45.8 36 45.6C28.2 46.1 19.8 45.4 12.1 45.9C5.6 45.7 2.2 42.4 2.4 35.9C2 28.3 2.6 19.8 2.2 12.2C2.3 5.5 5.6 2.4 12 2.3Z' fill='none' stroke='%231D1B22' stroke-width='2.1' stroke-linejoin='round'/%3E%3C/svg%3E"); }
:root[data-theme="dark"] .price-panel { background-color: #f2b83a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .price-panel { background-color: #f2b83a; } }

/* ---------- questions ---------- */
.faq-list { max-width: 900px; margin-inline: auto; }
.faq-list details { position: relative; }
.faq-list details + details { margin-top: 0; }
.faq-list details::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 6px; background: var(--rule-h) 0 0 / 100% 100% no-repeat; pointer-events: none; }
.faq-list summary {
  display: flex; align-items: center; gap: 18px; min-height: 64px; padding: 20px 4px; cursor: pointer; list-style: none;
  font-size: clamp(18px, 1.6vw, 21px); font-weight: 680; letter-spacing: -.012em; line-height: 1.35;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .tog { position: relative; display: grid; place-items: center; width: 36px; height: 36px; flex: none; margin-left: auto; border-radius: 11px 12px 10px 13px; background: var(--sheet); box-shadow: 0 0 0 1.6px var(--pencil-2); color: var(--ink); }
.faq-list summary:hover .tog { background: var(--sun); color: #1d1b22; box-shadow: 0 0 0 1.8px var(--ink); }
.faq-list details[open] summary .tog { rotate: 45deg; }
.faq-list .tog .ic { width: 18px; height: 18px; stroke-width: 2.2; }
.faq-a { padding: 0 64px 26px 4px; color: var(--ink-2); font-size: 17px; line-height: 1.62; }
.faq-a p + p { margin-top: 12px; }

/* ---------- the demo request ---------- */
.form-card { padding: clamp(24px, 3.6vw, 44px); border-radius: 24px 26px 23px 27px / 26px 23px 27px 24px; background: var(--sheet); box-shadow: var(--shadow-3); position: relative; }
.form-card::after { content: ""; position: absolute; inset: -2px; pointer-events: none; border: 16px solid transparent; border-image: var(--fr-ink) 16 / 16px / 0 stretch; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: grid; gap: 8px; }
.field label { font-size: 15px; font-weight: 680; color: var(--ink); }
.field label small { color: var(--muted); font-weight: 500; font-size: 14px; }
.input {
  width: 100%; min-width: 0; height: 52px; padding: 0 14px; border: 2px solid transparent; border-radius: 13px; outline: none;
  border-image: var(--frame) 16 / 16px / 0 stretch; background: var(--input-bg) padding-box; color: var(--ink); font-size: 16.5px;
}
textarea.input { height: auto; min-height: 112px; padding: 13px 14px; resize: vertical; line-height: 1.5; }
.input:focus { border-image-source: var(--frame-focus); }
.input::placeholder { color: var(--faint); opacity: 1; }
.field.bad .input { border-image-source: var(--frame-bad); }
.field .err { color: var(--red-ink); font-size: 14px; font-weight: 600; }
:root[data-theme="dark"] .field .err { color: var(--red-s); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .field .err { color: var(--red-s); } }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 26px; }
.form-foot p { flex: 1 1 260px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: 13px 14px 12px 15px; font-size: 15.5px; line-height: 1.5; }
.form-status.ok { background: var(--mint-t); color: var(--ink); }
.form-status.fail { background: var(--red-t); color: var(--ink); }
.form-status:empty { display: none; }
.contacts { display: grid; gap: 10px; margin-top: 16px; }
.contacts a { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 8px 14px 8px 8px; border-radius: 13px 15px 12px 16px; color: var(--ink); text-decoration: none; font-weight: 650; overflow-wrap: anywhere; }
.contacts a:hover { background: var(--sheet-2); color: var(--ink); }
.contacts .badge-ic { width: 40px; height: 40px; border-radius: 11px 12px 10px 13px; box-shadow: 0 0 0 1.8px #1d1b22; }
.contacts .badge-ic .ic { width: 20px; height: 20px; }
.contacts small { display: block; color: var(--muted); font-size: 13px; font-weight: 600; }

/* ---------- footer ---------- */
.foot { position: relative; padding: 64px 0 40px; background: var(--paper-2); }
.foot::before { content: ""; position: absolute; left: 0; right: 0; top: -3px; height: 6px; background: var(--rule-h) 0 0 / 100% 100% no-repeat; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px 48px; }
.foot .brand { margin-bottom: 14px; }
.foot p, .foot li { color: var(--muted); font-size: 15px; line-height: 1.55; }
.foot h4 { margin-bottom: 14px; font-size: 13px; font-weight: 760; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.foot ul { display: grid; gap: 4px; }
.foot ul a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); text-decoration: none; overflow-wrap: anywhere; }
.foot ul a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--coral); }
.legal { display: grid; gap: 10px; margin-top: 44px; padding-top: 26px; border-top: 1.5px solid var(--pencil); }
.legal p { font-size: 14px; }
.legal .src { color: var(--ink-2); font-weight: 600; }


/* ---------- additions: header sign-in, film link, swaps, rings over screens, mail list, start ---------- */
.top-login { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px; border-radius: 12px; color: var(--ink-2); font-size: 15.5px; font-weight: 650; text-decoration: none; }
.top-login:hover { color: var(--ink); }
.top-login .ic { width: 19px; height: 19px; }
.top-cta .eq { height: 15px; }
.top-cta .eq i:nth-child(1) { height: 9px; } .top-cta .eq i:nth-child(2) { height: 14px; } .top-cta .eq i:nth-child(3) { height: 7px; }
.nav-extra { display: none !important; }
.hero-film { margin: 0; }
.hero-cta .hero-film { margin-left: 6px; }
.hero-film a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 4px 6px; color: var(--ink); font-size: 16.5px; font-weight: 680; text-decoration: none; }
.hero-film a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.play-dot { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background-color: var(--coral); background-image: var(--hatch-soft); color: #1d1b22; box-shadow: 0 0 0 2px #1d1b22; }
.play-dot .ic { width: 17px; height: 17px; margin-left: 2px; fill: #1d1b22; stroke-width: 2; }
.hero-film .btn-note { font-weight: 600; }

.annot-host { position: relative; }
.annot { position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; overflow: visible; max-width: none; }
.annot path { fill: none; stroke: #d9502c; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .55)); }
.swap { position: relative; display: grid; }
.swap > .swap-item { grid-area: 1 / 1; }
.swap > [aria-hidden="true"] { opacity: 0; visibility: hidden; }
.seg-dot { width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--sun-s); box-shadow: 0 0 0 1.5px var(--sheet); }
.seg-dot.go { background: var(--mint-s); }
.seg button[aria-pressed="true"] .seg-dot { box-shadow: 0 0 0 1.5px var(--paper); }

.mail-wrap { margin: 0; }
.mail-wrap figcaption { margin-top: 16px; color: var(--muted); font-size: 14.5px; line-height: 1.45; text-align: center; }
.mail-list .subj .vword { font-weight: 820; letter-spacing: .03em; color: var(--sun-ink); }
.mail-list .subj .vword.go { color: var(--mint-ink); }
:root[data-theme="dark"] .mail-list .subj .vword { color: var(--sun-s); }
:root[data-theme="dark"] .mail-list .subj .vword.go { color: var(--mint-s); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .mail-list .subj .vword { color: var(--sun-s); }
  :root:not([data-theme="light"]) .mail-list .subj .vword.go { color: var(--mint-s); }
}

.start-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 3.6vw, 56px); align-items: stretch; }
.start-reg { display: flex; flex-direction: column; padding: clamp(26px, 3.6vw, 48px); border-radius: 24px 26px 23px 27px / 26px 23px 27px 24px; box-shadow: var(--shadow-3); }
.start-reg h2 { font-size: clamp(30px, 3.4vw, 46px); }
.start-reg .lead { font-size: clamp(17px, 1.4vw, 19.5px); }
.start-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 30px; }
.start-login { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--muted); font-size: 15.5px; text-decoration: none; }
.start-login b { color: var(--sky-ink); font-weight: 700; }
.start-login:hover b { text-decoration: underline; text-decoration-color: var(--coral); }
.start-art { display: grid; place-items: center; margin-top: auto; padding-top: 28px; }
.start-art svg { width: min(100%, 320px); height: auto; }
.start-demo { scroll-margin-top: calc(var(--head-h) + 16px); }
.form-card h3 { font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -.024em; }
.form-lead { margin: 10px 0 24px; color: var(--ink-2); font-size: 16.5px; line-height: 1.55; }
.contacts-wrap { margin-top: 26px; padding-top: 22px; border-top: 1.5px solid var(--pencil); }
.contacts-title { color: var(--muted); font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.contacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* the drawings scale and settle around their own feet or centres */
.art-svg .pa-grow, .art-svg .pa-foot { transform-box: fill-box; transform-origin: 50% 100%; }
.art-svg .pa-pop, .art-svg .pa-rise, .art-svg .pa-fade, .art-svg .pa-slide, .art-svg .pa-ripple, .art-svg .pa-drop { transform-box: fill-box; transform-origin: center; }
.nw { white-space: nowrap; }
/* a screenshot in both themes: the page shows the one that matches */
:root .only-dark { display: none; }
:root[data-theme="dark"] .only-dark { display: block; }
:root[data-theme="dark"] .only-light { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .only-dark { display: block; }
  :root:not([data-theme="light"]) .only-light { display: none; }
}

/* ---------- reveal (states; the motion itself is below) ---------- */
.reveal { --i: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .sd-1, .sd-2, .sd-3, .sd-4 { display: none; }
}
@media (max-width: 1180px) {
  .nav {
    position: absolute; left: auto; right: var(--gut); top: calc(var(--head-h) + 6px); z-index: 60; display: none; flex-direction: column; align-items: stretch; gap: 2px;
    width: min(380px, calc(100% - 2 * var(--gut))); margin: 0; padding: 10px; border-radius: 20px 22px 19px 23px; background: var(--sheet); box-shadow: var(--shadow-3);
  }
  .nav::after { content: ""; position: absolute; inset: -2px; pointer-events: none; border: 16px solid transparent; border-image: var(--fr-ink) 16 / 16px / 0 stretch; }
  .nav.open { display: flex; }
  .nav .nav-extra { display: flex !important; }
  .nav-theme { gap: 12px; min-height: 50px; padding: 0 14px; border: 0; border-radius: 12px; background: transparent; color: var(--ink-2); font-size: 17px; font-weight: 600; text-align: left; }
  .nav-theme .ic { width: 20px; height: 20px; }
  .nav .nav-sep { margin-top: 6px; padding-top: 6px; border-top: 1.5px solid var(--pencil); border-radius: 0 0 12px 12px; }
  .nav a { min-height: 50px; padding: 0 14px; font-size: 17px; }
  .nav a::before { bottom: 13px; left: 14px; right: auto; width: 60px; }
  .menu-btn { display: inline-grid; }
  .top-actions { margin-left: auto; }
}
@media (min-width: 641px) { .nav .ph-only { display: none !important; } }
@media (max-width: 1100px) {
  .film { grid-template-columns: minmax(0, 1fr); }
  .chapters { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 8px; }
  .win-grid { grid-template-columns: minmax(0, 1fr); }
  .verdicts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .verdict { grid-template-columns: 1fr; align-content: start; }
  .verdict p, .verdict h3 { grid-column: 1; }
  .stamp { grid-row: auto; justify-self: start; }
}
@media (max-width: 980px) {
  :root { --head-h: 64px; }
  .feat-split, .feat-split.flip { grid-template-columns: minmax(0, 1fr); }
  .duo { grid-template-columns: minmax(0, 1fr); max-width: 680px; margin-inline: auto; }
  .feat-split.flip .feat-copy { order: 0; }
  .vs-heads { display: none; }
  .vs-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 16px; }
  .vs-topic { grid-column: 1 / -1; padding-top: 10px; }
  .vs-label { display: block; margin-bottom: 4px; font-size: 12.5px; font-weight: 760; letter-spacing: .12em; text-transform: uppercase; }
  .vs-old .vs-label { color: var(--muted); }
  .vs-new .vs-label { color: var(--mint-ink); }
  .steps { grid-template-columns: minmax(0, 1fr); max-width: 620px; margin-inline: auto; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .start-grid { grid-template-columns: minmax(0, 1fr); }
  .pts-3, .win-foot { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .price-panel { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .duo { grid-template-columns: minmax(0, 1fr); }
  .verdicts { grid-template-columns: minmax(0, 1fr); }
  .chapters { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .top-login, .top .theme-btn { display: none; }
  .top-actions { gap: 8px; }
  .top-cta { min-height: 44px; padding: 0 14px; font-size: 14.5px; }
  .top-cta .eq { display: none; }
  .word { font-size: 19px; }
  .mark { width: 34px; height: 34px; }
  .hero { padding-top: 28px; }
  .kicker { font-size: 13.5px; padding: 8px 14px 8px 12px; margin-bottom: 22px; }
  .hero h1 { font-size: clamp(36px, 10.6vw, 46px); letter-spacing: -.035em; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 14px; }
  .hero-cta .btn { width: 100%; }
  .hero-facts { flex-direction: column; align-items: flex-start; gap: 10px; width: fit-content; max-width: 100%; margin-inline: auto; text-align: left; }
  .hero-facts li { align-items: flex-start; }
  .hero-facts .ic { margin-top: 2px; }
  .play-big { width: 60px; height: 60px; }
  .play-big .ic { width: 26px; height: 26px; }
  .player-card span { display: none; }
  .stage { width: calc(100% - 2 * var(--gut)); }
  .stage-frame { padding: 6px; border-radius: 18px; }
  .stage-media { border-radius: 12px; }
  .stage-ctrl { left: 12px; bottom: 12px; gap: 8px; }
  .stage-ctrl .btn { min-height: 44px; padding: 0 14px; font-size: 14.5px; }
  .stage-ctrl .icon-btn { width: 44px; height: 44px; }
  .vs-row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .vs-old, .vs-new { padding: 16px 16px; font-size: 16px; }
  .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .form-grid, .contacts { grid-template-columns: minmax(0, 1fr); }
  .faq-a { padding-right: 4px; font-size: 16px; }
  .faq-list summary { gap: 12px; }
  .mail-list li { padding: 12px 16px; }
  .mail-body { padding: 18px 18px 22px; }
  .shot-frame { padding: 6px; border-radius: 16px; }
  .shot-frame img { border-radius: 10px; }
  .big-sheet { padding: 22px 16px 26px; border-radius: 22px; }
  .seg button { padding: 0 12px; font-size: 14.5px; }
  .compare-handle span { width: 44px; height: 44px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- motion: only when the visitor allows it ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  /* scroll reveal: rise a little and fade in, staggered by --i */
  .js .reveal { opacity: 0; translate: 0 22px; transition: opacity .7s var(--ease-out), translate .8s var(--ease-out); transition-delay: calc(var(--i) * 70ms); }
  .js .reveal.in { opacity: 1; translate: 0 0; }
  .js .hero-hl { background-size: 0% 46%; }
  .js .reveal.in .hero-hl { animation: hero-hl .9s var(--ease-out) .55s forwards; }
  @keyframes hero-hl { to { background-size: 100% 46%; } }
  /* a screenshot slides up into its drawn frame */
  .js .shot.reveal { opacity: 1; translate: none; }
  .js .shot.reveal .shot-frame::after { opacity: 0; scale: 1.02; transition: opacity .5s var(--ease), scale .7s var(--ease-out); }
  .js .shot.reveal .shot-frame { background-color: transparent; box-shadow: none; transition: background-color .5s var(--ease), box-shadow .8s var(--ease-out); }
  .js .shot.reveal picture, .js .shot.reveal .swap, .js .shot.reveal .compare-in { opacity: 0; translate: 0 34px; transition: opacity .8s var(--ease-out) .12s, translate 1s var(--ease-out) .12s; }
  .js .shot.reveal.in .shot-frame::after { opacity: 1; scale: 1; }
  .js .shot.reveal.in .shot-frame { background-color: var(--sheet); box-shadow: var(--shadow-3); }
  .js .duo-card .shot.reveal.in .shot-frame, .js .win-grid .shot.reveal.in .shot-frame { box-shadow: var(--shadow-1); }
  .js .shot.reveal.in picture, .js .shot.reveal.in .swap, .js .shot.reveal.in .compare-in { opacity: 1; translate: 0 0; }
  /* drawn ink: the underline and the rings draw themselves once visible */
  .js .ink-svg path, .js .annot path { stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s cubic-bezier(.6, .05, .3, 1); }
  .js .drawn .ink-svg path, .js .drawn .annot path { stroke-dashoffset: 0; }
  .js [data-ring].drawn .ink-svg path { transition-duration: 1.1s; transition-delay: .25s; }
  .js .drawn .annot path { transition-duration: 1s; transition-delay: calc(var(--ri, 0) * 220ms + .9s); }
  /* the small transitions of the interface */
  .btn, .icon-btn { transition: transform .14s var(--ease), box-shadow .14s var(--ease), background-color .24s var(--ease), color .2s; }
  .top::after { transition: opacity .3s var(--ease); }
  .nav a, .top-login, .chapters button, .contacts a, .seg button { transition: color .2s, background-color .25s var(--ease); }
  .nav a::before { transition: opacity .25s var(--ease), transform .35s var(--ease-out); }
  .swap > .swap-item { transition: opacity .45s var(--ease), visibility .45s; }
  .play-big { transition: transform .18s var(--ease); }
  .faq-list summary .tog { transition: rotate .3s var(--ease), background-color .2s; }
  .input { transition: border-image-source .14s; }
  /* the equalizer on the main button */
  @keyframes eq { 0%, 100% { scale: 1 1; } 25% { scale: 1 .5; } 55% { scale: 1 1.12; } 80% { scale: 1 .72; } }
  .btn:hover .eq i, .btn:focus-visible .eq i { animation: eq .8s cubic-bezier(.45, 0, .55, 1) 2; }
  .btn:hover .eq i:nth-child(2), .btn:focus-visible .eq i:nth-child(2) { animation-delay: .1s; animation-duration: .72s; }
  .btn:hover .eq i:nth-child(3), .btn:focus-visible .eq i:nth-child(3) { animation-delay: .2s; animation-duration: .9s; }
  .brand:hover .mark-bar { animation: eq .8s cubic-bezier(.45, 0, .55, 1) 1; }
  .brand:hover .mark-bar:nth-child(3) { animation-delay: .08s; }
  .brand:hover .mark-bar:nth-child(4) { animation-delay: .16s; }
  /* the drawings: strokes draw, bars rise, pieces settle, once, when they come into view */
  @keyframes pa-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
  @keyframes pa-grow { 0% { scale: 1 0; opacity: 0; } 12% { opacity: 1; } 64% { scale: 1 1.06; } 100% { scale: 1 1; opacity: 1; } }
  @keyframes pa-pop { from { opacity: 0; scale: .72; } to { opacity: 1; scale: 1; } }
  @keyframes pa-rise { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
  @keyframes pa-fade { from { opacity: 0; } to { opacity: 1; } }
  @keyframes pa-slide { from { opacity: 0; translate: var(--dx, 18px) var(--dy, 0px); rotate: var(--rot, 0deg); } to { opacity: 1; translate: 0 0; rotate: 0deg; } }
  @keyframes pa-ripple { from { opacity: 0; scale: .6; } to { opacity: 1; scale: 1; } }
  .js .art .pa-draw { stroke-dasharray: 1 1; stroke-dashoffset: 1; }
  .js .art .pa-grow, .js .art .pa-pop, .js .art .pa-rise, .js .art .pa-fade, .js .art .pa-slide, .js .art .pa-ripple { opacity: 0; }
  .js .in .art .pa-draw, .js .art.in .pa-draw { animation: pa-draw var(--t, .8s) var(--ease-out) var(--d, 0s) both; }
  .js .in .art .pa-grow, .js .art.in .pa-grow { animation: pa-grow .7s cubic-bezier(.2, .8, .3, 1) var(--d, 0s) both; }
  .js .in .art .pa-pop, .js .art.in .pa-pop { animation: pa-pop .62s var(--ease-pop) var(--d, 0s) both; }
  .js .in .art .pa-rise, .js .art.in .pa-rise { animation: pa-rise .7s var(--ease-out) var(--d, 0s) both; }
  .js .in .art .pa-fade, .js .art.in .pa-fade { animation: pa-fade .8s ease var(--d, 0s) both; }
  .js .in .art .pa-slide, .js .art.in .pa-slide { animation: pa-slide .8s var(--ease-out) var(--d, 0s) both; }
  .js .in .art .pa-ripple, .js .art.in .pa-ripple { animation: pa-ripple 1.1s var(--ease-out) var(--d, 0s) both; }
  /* the documents' scan line: one pass when the screen arrives */
  @keyframes scan { 0% { top: 4%; opacity: 0; } 12%, 85% { opacity: 1; } 100% { top: 94%; opacity: 0; } }
  .js .shot.in .scan { animation: scan 1.9s cubic-bezier(.45, 0, .55, 1) .9s 1 both; }
  /* the verdict stamps land one after another */
  @keyframes stamp { 0% { opacity: 0; scale: 1.6; rotate: -14deg; } 60% { opacity: 1; scale: .96; } 100% { opacity: 1; scale: 1; } }
  .js .verdict.reveal .stamp { opacity: 0; }
  .js .verdict.reveal.in .stamp { animation: stamp .5s cubic-bezier(.2, .9, .3, 1.1) calc(var(--i) * 140ms + .25s) both; }
  /* the night section: the portal of rings opens into it */
  .js .night.portal-armed .night-in { clip-path: circle(0 at 50% var(--py, 280px)); }
  .js .night.portal-armed .portal { display: block; top: var(--py, 280px); }
  .js .night.portal-armed .portal i { scale: 0; }
  /* the chapter list and the theme switch */
  .theme-btn .ic { transition: rotate .5s var(--ease-pop); }
  .theme-btn:hover .ic { rotate: -18deg; }
}

/* the theme switch: the new theme opens as a circle from the button, where the browser can */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-new(root) { animation: theme-in .62s cubic-bezier(.65, 0, .35, 1) both; }
  @keyframes theme-in { from { clip-path: circle(0 at var(--tx, 90%) var(--ty, 36px)); } to { clip-path: circle(var(--tr, 150vmax) at var(--tx, 90%) var(--ty, 36px)); } }
}

@media print {
  .js .reveal, .js .shot.reveal picture, .js .shot.reveal .swap { opacity: 1 !important; translate: none !important; }
  .top, .stage-ctrl, .play-big, .portal, .form-card, .skip { display: none !important; }
  body::before { display: none; }
  .night-in { background: none; color: #1d1b22; }
}
