/* One stylesheet for every page on nib.pnut.pl. The direction is the "Frontend Theme" block in
   AGENTS.md: the app's Material 3 Expressive identity. Mint bands, deep green, a highlighter
   yellow used sparingly, paper-white surfaces with green-tinted neutrals. Roboto Flex carries
   display and interface at wide widths; Literata is only for reading text (the answer boxes and
   the Ghost post drawn in the hero). Shapes (soft burst, cookie, clover) are CSS masks. */

:root {
  --bg: #f5fbf5;
  --raise: #ffffff;
  --tile: #e8f0e9;
  --tile-2: #dbe7dd;
  --line: rgba(23, 29, 26, 0.12);
  --line-2: rgba(23, 29, 26, 0.22);
  --text: #171d1a;
  --text-2: #404943;
  --text-3: #5a645d;
  --link: #1f5a40;
  --band: #95d5b2;
  --band-text: #062014;
  --band-text-2: #0b2a1c;
  --band-soft: #d4ebdd;
  --burst-soft: #82cca2;
  --pro-tint: #dcefe2;
  --cta-bg: #1f5a40;
  --cta-fg: #ffffff;
  --cta-hover: #174a34;
  --focus: #1f5a40;
  --deep: #1f5a40;
  --deep-2: #2c6a4f;
  --mark: #ddf27a;
  --on-mark: #1d2a10;
  --sans: "Roboto Flex", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Literata", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --measure: 66ch;
  --shape-burst: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M96.0,50.0L95.9,51.2L95.5,52.4L94.9,53.5L94.2,54.6L93.3,55.7L92.5,56.7L91.6,57.7L90.9,58.7L90.4,59.7L90.0,60.7L89.8,61.8L89.8,62.9L89.9,64.1L90.1,65.4L90.4,66.7L90.6,68.1L90.7,69.4L90.6,70.7L90.3,71.9L89.8,73.0L89.1,74.0L88.2,74.8L87.1,75.5L85.9,76.1L84.7,76.6L83.4,77.1L82.2,77.5L81.1,78.0L80.1,78.6L79.3,79.3L78.6,80.1L78.0,81.1L77.5,82.2L77.1,83.4L76.6,84.7L76.1,85.9L75.5,87.1L74.8,88.2L74.0,89.1L73.0,89.8L71.9,90.3L70.7,90.6L69.4,90.7L68.1,90.6L66.7,90.4L65.4,90.1L64.1,89.9L62.9,89.8L61.8,89.8L60.7,90.0L59.7,90.4L58.7,90.9L57.7,91.6L56.7,92.5L55.7,93.3L54.6,94.2L53.5,94.9L52.4,95.5L51.2,95.9L50.0,96.0L48.8,95.9L47.6,95.5L46.5,94.9L45.4,94.2L44.3,93.3L43.3,92.5L42.3,91.6L41.3,90.9L40.3,90.4L39.3,90.0L38.2,89.8L37.1,89.8L35.9,89.9L34.6,90.1L33.3,90.4L31.9,90.6L30.6,90.7L29.3,90.6L28.1,90.3L27.0,89.8L26.0,89.1L25.2,88.2L24.5,87.1L23.9,85.9L23.4,84.7L22.9,83.4L22.5,82.2L22.0,81.1L21.4,80.1L20.7,79.3L19.9,78.6L18.9,78.0L17.8,77.5L16.6,77.1L15.3,76.6L14.1,76.1L12.9,75.5L11.8,74.8L10.9,74.0L10.2,73.0L9.7,71.9L9.4,70.7L9.3,69.4L9.4,68.1L9.6,66.7L9.9,65.4L10.1,64.1L10.2,62.9L10.2,61.8L10.0,60.7L9.6,59.7L9.1,58.7L8.4,57.7L7.5,56.7L6.7,55.7L5.8,54.6L5.1,53.5L4.5,52.4L4.1,51.2L4.0,50.0L4.1,48.8L4.5,47.6L5.1,46.5L5.8,45.4L6.7,44.3L7.5,43.3L8.4,42.3L9.1,41.3L9.6,40.3L10.0,39.3L10.2,38.2L10.2,37.1L10.1,35.9L9.9,34.6L9.6,33.3L9.4,31.9L9.3,30.6L9.4,29.3L9.7,28.1L10.2,27.0L10.9,26.0L11.8,25.2L12.9,24.5L14.1,23.9L15.3,23.4L16.6,22.9L17.8,22.5L18.9,22.0L19.9,21.4L20.7,20.7L21.4,19.9L22.0,18.9L22.5,17.8L22.9,16.6L23.4,15.3L23.9,14.1L24.5,12.9L25.2,11.8L26.0,10.9L27.0,10.2L28.1,9.7L29.3,9.4L30.6,9.3L31.9,9.4L33.3,9.6L34.6,9.9L35.9,10.1L37.1,10.2L38.2,10.2L39.3,10.0L40.3,9.6L41.3,9.1L42.3,8.4L43.3,7.5L44.3,6.7L45.4,5.8L46.5,5.1L47.6,4.5L48.8,4.1L50.0,4.0L51.2,4.1L52.4,4.5L53.5,5.1L54.6,5.8L55.7,6.7L56.7,7.5L57.7,8.4L58.7,9.1L59.7,9.6L60.7,10.0L61.8,10.2L62.9,10.2L64.1,10.1L65.4,9.9L66.7,9.6L68.1,9.4L69.4,9.3L70.7,9.4L71.9,9.7L73.0,10.2L74.0,10.9L74.8,11.8L75.5,12.9L76.1,14.1L76.6,15.3L77.1,16.6L77.5,17.8L78.0,18.9L78.6,19.9L79.3,20.7L80.1,21.4L81.1,22.0L82.2,22.5L83.4,22.9L84.7,23.4L85.9,23.9L87.1,24.5L88.2,25.2L89.1,26.0L89.8,27.0L90.3,28.1L90.6,29.3L90.7,30.6L90.6,31.9L90.4,33.3L90.1,34.6L89.9,35.9L89.8,37.1L89.8,38.2L90.0,39.3L90.4,40.3L90.9,41.3L91.6,42.3L92.5,43.3L93.3,44.3L94.2,45.4L94.9,46.5L95.5,47.6L95.9,48.8Z'/%3E%3C/svg%3E");
  --shape-cookie: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M96.0,50.0L95.8,51.2L95.4,52.4L94.7,53.5L93.7,54.6L92.5,55.6L91.3,56.5L89.9,57.4L88.6,58.2L87.3,59.0L86.2,59.7L85.2,60.4L84.5,61.2L83.9,62.0L83.7,62.9L83.6,63.9L83.8,65.0L84.1,66.3L84.5,67.6L85.0,69.0L85.5,70.5L86.0,72.0L86.3,73.6L86.5,75.1L86.4,76.5L86.2,77.8L85.7,78.9L85.0,79.9L84.0,80.6L82.8,81.2L81.5,81.5L80.0,81.6L78.5,81.6L76.9,81.5L75.3,81.3L73.8,81.0L72.4,80.8L71.1,80.7L69.9,80.6L68.9,80.8L68.0,81.2L67.2,81.8L66.6,82.6L66.0,83.6L65.5,84.8L65.0,86.1L64.4,87.5L63.8,89.0L63.1,90.5L62.4,91.8L61.5,93.0L60.6,94.0L59.5,94.8L58.4,95.2L57.2,95.4L56.0,95.2L54.7,94.8L53.5,94.1L52.3,93.2L51.1,92.2L50.0,91.0L49.0,89.8L48.0,88.7L47.0,87.6L46.1,86.8L45.3,86.1L44.4,85.6L43.4,85.4L42.5,85.5L41.4,85.7L40.3,86.2L39.1,86.8L37.8,87.5L36.4,88.3L35.0,89.0L33.6,89.6L32.1,90.1L30.7,90.4L29.4,90.5L28.1,90.3L27.0,89.8L26.0,89.1L25.2,88.1L24.6,86.9L24.2,85.5L23.9,84.0L23.7,82.5L23.6,80.9L23.6,79.3L23.6,77.8L23.5,76.5L23.4,75.3L23.1,74.3L22.6,73.4L22.0,72.7L21.1,72.1L20.1,71.7L18.9,71.4L17.5,71.1L16.0,70.8L14.5,70.5L12.9,70.1L11.4,69.6L10.1,69.0L8.8,68.3L7.9,67.5L7.1,66.5L6.7,65.3L6.5,64.1L6.6,62.9L7.0,61.5L7.6,60.2L8.4,58.8L9.3,57.5L10.3,56.3L11.2,55.1L12.1,54.0L12.9,52.9L13.5,51.9L13.9,50.9L14.0,50.0L13.9,49.1L13.5,48.1L12.9,47.1L12.1,46.0L11.2,44.9L10.3,43.7L9.3,42.5L8.4,41.2L7.6,39.8L7.0,38.5L6.6,37.1L6.5,35.9L6.7,34.7L7.1,33.5L7.9,32.5L8.8,31.7L10.1,31.0L11.4,30.4L12.9,29.9L14.5,29.5L16.0,29.2L17.5,28.9L18.9,28.6L20.1,28.3L21.1,27.9L22.0,27.3L22.6,26.6L23.1,25.7L23.4,24.7L23.5,23.5L23.6,22.2L23.6,20.7L23.6,19.1L23.7,17.5L23.9,16.0L24.2,14.5L24.6,13.1L25.2,11.9L26.0,10.9L27.0,10.2L28.1,9.7L29.4,9.5L30.7,9.6L32.1,9.9L33.6,10.4L35.0,11.0L36.4,11.7L37.8,12.5L39.1,13.2L40.3,13.8L41.4,14.3L42.5,14.5L43.4,14.6L44.4,14.4L45.3,13.9L46.1,13.2L47.0,12.4L48.0,11.3L49.0,10.2L50.0,9.0L51.1,7.8L52.3,6.8L53.5,5.9L54.7,5.2L56.0,4.8L57.2,4.6L58.4,4.8L59.5,5.2L60.6,6.0L61.5,7.0L62.4,8.2L63.1,9.5L63.8,11.0L64.4,12.5L65.0,13.9L65.5,15.2L66.0,16.4L66.6,17.4L67.2,18.2L68.0,18.8L68.9,19.2L69.9,19.4L71.1,19.3L72.4,19.2L73.8,19.0L75.3,18.7L76.9,18.5L78.5,18.4L80.0,18.4L81.5,18.5L82.8,18.8L84.0,19.4L85.0,20.1L85.7,21.1L86.2,22.2L86.4,23.5L86.5,24.9L86.3,26.4L86.0,28.0L85.5,29.5L85.0,31.0L84.5,32.4L84.1,33.7L83.8,35.0L83.6,36.1L83.7,37.1L83.9,38.0L84.5,38.8L85.2,39.6L86.2,40.3L87.3,41.0L88.6,41.8L89.9,42.6L91.3,43.5L92.5,44.4L93.7,45.4L94.7,46.5L95.4,47.6L95.8,48.8Z'/%3E%3C/svg%3E");
  --shape-clover: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M96.0,50.0L95.9,51.2L95.7,52.4L95.3,53.6L94.8,54.7L94.1,55.8L93.4,56.9L92.5,57.9L91.4,58.8L90.3,59.7L89.1,60.5L87.8,61.2L86.5,61.9L85.1,62.4L83.7,63.0L82.3,63.4L80.9,63.8L79.5,64.1L78.2,64.3L76.8,64.6L75.5,64.8L74.3,64.9L73.2,65.1L72.1,65.2L71.1,65.3L70.2,65.5L69.4,65.7L68.7,65.9L68.0,66.2L67.5,66.6L67.0,67.0L66.6,67.5L66.2,68.0L65.9,68.7L65.7,69.4L65.5,70.2L65.3,71.1L65.2,72.1L65.1,73.2L64.9,74.3L64.8,75.5L64.6,76.8L64.3,78.2L64.1,79.5L63.8,80.9L63.4,82.3L63.0,83.7L62.4,85.1L61.9,86.5L61.2,87.8L60.5,89.1L59.7,90.3L58.8,91.4L57.9,92.5L56.9,93.4L55.8,94.1L54.7,94.8L53.6,95.3L52.4,95.7L51.2,95.9L50.0,96.0L48.8,95.9L47.6,95.7L46.4,95.3L45.3,94.8L44.2,94.1L43.1,93.4L42.1,92.5L41.2,91.4L40.3,90.3L39.5,89.1L38.8,87.8L38.1,86.5L37.6,85.1L37.0,83.7L36.6,82.3L36.2,80.9L35.9,79.5L35.7,78.2L35.4,76.8L35.3,75.5L35.1,74.3L34.9,73.2L34.8,72.1L34.7,71.1L34.5,70.2L34.3,69.4L34.1,68.7L33.8,68.0L33.4,67.5L33.0,67.0L32.5,66.6L32.0,66.2L31.3,65.9L30.6,65.7L29.8,65.5L28.9,65.3L27.9,65.2L26.8,65.1L25.7,64.9L24.5,64.8L23.2,64.6L21.8,64.3L20.5,64.1L19.1,63.8L17.7,63.4L16.3,63.0L14.9,62.4L13.5,61.9L12.2,61.2L10.9,60.5L9.7,59.7L8.6,58.8L7.5,57.9L6.6,56.9L5.9,55.8L5.2,54.7L4.7,53.6L4.3,52.4L4.1,51.2L4.0,50.0L4.1,48.8L4.3,47.6L4.7,46.4L5.2,45.3L5.9,44.2L6.6,43.1L7.5,42.1L8.6,41.2L9.7,40.3L10.9,39.5L12.2,38.8L13.5,38.1L14.9,37.6L16.3,37.0L17.7,36.6L19.1,36.2L20.5,35.9L21.8,35.7L23.2,35.4L24.5,35.3L25.7,35.1L26.8,34.9L27.9,34.8L28.9,34.7L29.8,34.5L30.6,34.3L31.3,34.1L32.0,33.8L32.5,33.4L33.0,33.0L33.4,32.5L33.8,32.0L34.1,31.3L34.3,30.6L34.5,29.8L34.7,28.9L34.8,27.9L34.9,26.8L35.1,25.7L35.3,24.5L35.4,23.2L35.7,21.8L35.9,20.5L36.2,19.1L36.6,17.7L37.0,16.3L37.6,14.9L38.1,13.5L38.8,12.2L39.5,10.9L40.3,9.7L41.2,8.6L42.1,7.5L43.1,6.6L44.2,5.9L45.3,5.2L46.4,4.7L47.6,4.3L48.8,4.1L50.0,4.0L51.2,4.1L52.4,4.3L53.6,4.7L54.7,5.2L55.8,5.9L56.9,6.6L57.9,7.5L58.8,8.6L59.7,9.7L60.5,10.9L61.2,12.2L61.9,13.5L62.4,14.9L63.0,16.3L63.4,17.7L63.8,19.1L64.1,20.5L64.3,21.8L64.6,23.2L64.8,24.5L64.9,25.7L65.1,26.8L65.2,27.9L65.3,28.9L65.5,29.8L65.7,30.6L65.9,31.3L66.2,32.0L66.6,32.5L67.0,33.0L67.5,33.4L68.0,33.8L68.7,34.1L69.4,34.3L70.2,34.5L71.1,34.7L72.1,34.8L73.2,34.9L74.3,35.1L75.5,35.3L76.8,35.4L78.2,35.7L79.5,35.9L80.9,36.2L82.3,36.6L83.7,37.0L85.1,37.6L86.5,38.1L87.8,38.8L89.1,39.5L90.3,40.3L91.4,41.2L92.5,42.1L93.4,43.1L94.1,44.2L94.8,45.3L95.3,46.4L95.7,47.6L95.9,48.8Z'/%3E%3C/svg%3E");
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1512; --raise: #161d19; --tile: #1b2420; --tile-2: #26332d;
    --line: rgba(222, 229, 223, 0.12); --line-2: rgba(222, 229, 223, 0.24);
    --text: #dee5df; --text-2: #bfc9c2; --text-3: #9aa69e; --link: #8fd4ab;
    --band: #143528; --band-text: #e3f5e9; --band-text-2: #bfe0cc; --band-soft: #16241d;
    --burst-soft: #1b4636; --pro-tint: #1d3a2d;
    --cta-bg: #95d5b2; --cta-fg: #062014; --cta-hover: #a9e0c2; --focus: #ddf27a;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1512; --raise: #161d19; --tile: #1b2420; --tile-2: #26332d;
  --line: rgba(222, 229, 223, 0.12); --line-2: rgba(222, 229, 223, 0.24);
  --text: #dee5df; --text-2: #bfc9c2; --text-3: #9aa69e; --link: #8fd4ab;
  --band: #143528; --band-text: #e3f5e9; --band-text-2: #bfe0cc; --band-soft: #16241d;
  --burst-soft: #1b4636; --pro-tint: #1d3a2d;
  --cta-bg: #95d5b2; --cta-fg: #062014; --cta-hover: #a9e0c2; --focus: #ddf27a;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 18px/1.6 var(--sans);
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--mark); color: var(--on-mark); }
strong, b { font-weight: 650; color: var(--text); }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.86em;
  background: var(--tile); padding: 2px 8px; border-radius: 8px;
}

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.skip {
  position: absolute; left: 12px; top: -80px; z-index: 30;
  background: var(--mark); color: var(--on-mark); padding: 12px 20px; border-radius: 20px;
  font: 600 16px var(--sans);
}
.skip:focus { top: 12px; outline-color: var(--deep); }

/* --- top bar -------------------------------------------------------------------------- */

.bar { position: sticky; top: 0; z-index: 20; background: var(--bg); }
.topbar { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 12px; }
.brand span { font: 700 22px/1 var(--sans); font-variation-settings: "wdth" 112; letter-spacing: -0.02em; }
.links { display: flex; gap: 4px; margin: 0 0 0 8px; padding: 0; list-style: none; font-size: 16px; }
.links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 22px;
  color: var(--text-2); text-decoration: none; font-weight: 500;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}
.links a:hover { background: var(--tile); color: var(--text); }

/* --- buttons: pills that morph to a rounded square while pressed ----------------------- */

.play-small, .cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--cta-bg); color: var(--cta-fg); text-decoration: none; white-space: nowrap;
  font-weight: 600; transition: border-radius 0.35s var(--spring), background-color 0.15s var(--ease), transform 0.35s var(--spring);
}
.play-small { margin-left: auto; min-height: 44px; padding: 0 22px; border-radius: 22px; font-size: 16px; }
.play-small:active { border-radius: 12px; }
.cta { min-height: 56px; padding: 0 32px; border-radius: 28px; font-size: 18px; }
.cta:active { border-radius: 14px; transform: scale(0.98); }
.play-small:hover, .cta:hover { background: var(--cta-hover); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.ghost-link {
  display: inline-flex; align-items: center; min-height: 56px; padding: 0 24px; border-radius: 28px;
  color: inherit; font-weight: 600; text-decoration: none; box-shadow: inset 0 0 0 1.5px currentColor;
  transition: border-radius 0.35s var(--spring), background-color 0.15s;
}
.ghost-link:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.ghost-link:active { border-radius: 14px; }
.cta-note { font-size: 15px; color: var(--text-3); margin: 20px 0 0; }

/* --- type: wide, emphasized display --------------------------------------------------- */

h1, h2, h3 { font-family: var(--sans); text-wrap: balance; color: var(--text); }
h1, h2 { font-weight: 800; font-variation-settings: "wdth" 114; }
h1 { font-size: clamp(36px, 5.6vw, 68px); line-height: 1; letter-spacing: -0.035em; margin: 16px 0 24px; max-width: 14ch; }
h2 { font-size: clamp(30px, 4.6vw, 56px); line-height: 1.04; letter-spacing: -0.03em; margin: 0 0 20px; max-width: 18ch; }
h3 { font-weight: 700; font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; margin: 0 0 8px; font-variation-settings: "wdth" 104; }
p { margin: 0 0 16px; text-wrap: pretty; }
.lede { font-size: clamp(18px, 2vw, 22px); line-height: 1.55; color: var(--text-2); max-width: 46ch; margin: 0 0 32px; }
.intro { color: var(--text-2); max-width: 58ch; font-size: 19px; margin-bottom: 8px; }
.intro.after { margin-top: 24px; font-size: 17px; }
.prose { max-width: var(--measure); }
.prose p { color: var(--text-2); }

main section { padding: 120px 0 0; }

/* --- hero: a mint band, a soft burst behind the phone -------------------------------- */

.hero {
  position: relative; overflow: hidden; padding: 56px 0 96px;
  background: var(--band); color: var(--band-text); border-radius: 0 0 56px 56px;
}
.hero h1, .hero .lede strong { color: var(--band-text); }
.hero .lede { color: var(--band-text-2); }
.hero .cta-note { color: var(--band-text-2); }
.hero :focus-visible { outline-color: var(--band-text); }
:root[data-theme="dark"] .hero :focus-visible { outline-color: var(--mark); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero :focus-visible { outline-color: var(--mark); } }
.hero-grid {
  position: relative; display: grid; gap: 48px; align-items: center;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); min-height: 560px;
}
.hero h1 { margin-top: 0; }

.stage { container-type: inline-size; position: relative; }
.stage::before {
  content: ""; position: absolute; width: 100%; aspect-ratio: 1; right: -22%; bottom: -30%;
  background: var(--deep); -webkit-mask: var(--shape-burst) center / contain no-repeat; mask: var(--shape-burst) center / contain no-repeat;
}
.scene { position: relative; font-size: clamp(6px, 1.62cqi, 11px); height: 56em; font-family: var(--sans); }
.browser {
  position: absolute; left: 0; top: 0; width: 54em; height: 44em;
  background: #fbfaf7; color: #15171a; border-radius: 2.4em; overflow: hidden;
  box-shadow: 0 3em 6em -2em rgba(6, 32, 20, 0.45);
}
.chrome { display: flex; align-items: center; gap: 0.8em; height: 4em; padding: 0 1.8em; background: #ecebe6; border-bottom: 1px solid #dddcd5; }
.chrome i { width: 1em; height: 1em; border-radius: 50%; background: #cfcdc5; }
.url { flex: 1; margin-left: 1.2em; height: 2.4em; border-radius: 1.2em; background: #fbfaf7; font-size: 1.15em; line-height: 2.4em; padding: 0 1.2em; color: #5f6266; }
.pub-head { display: flex; align-items: center; justify-content: space-between; padding: 2.2em 3em 1.6em; }
.pub-name { font: 600 2em/1 var(--serif); letter-spacing: -0.01em; }
.pub-nav { display: flex; gap: 1.6em; font-size: 1.15em; color: #5f6266; align-items: center; }
.pub-sub { background: #15171a; color: #fbfaf7; border-radius: 2em; padding: 0.6em 1.2em; }
.pub-list { padding: 0 3em; }
.pub-post { display: grid; grid-template-columns: 1fr 9em; gap: 2em; padding: 1.8em 0; border-top: 1px solid #e6e4dd; }
.pub-post h4 { font: 600 1.7em/1.2 var(--serif); margin: 0 0 0.4em; letter-spacing: -0.01em; }
.pub-post p { font: 1.2em/1.5 var(--serif); color: #4f5358; margin: 0; }
.pub-meta { font-size: 1.05em; color: #6f7276; margin-top: 0.6em; }
.pub-thumb { border-radius: 1.2em; background: linear-gradient(160deg, #d9e4d6, #b9cbb5); }
.pub-thumb.b { background: linear-gradient(160deg, #e7e1d3, #cfc4ab); }
.pub-new { display: grid; grid-template-rows: 0fr; opacity: 0; }
.pub-new > div { overflow: hidden; }
.pub-new .pub-post { border-top: 0; }

.phone {
  position: absolute; right: 0; bottom: 0; width: 24em; height: 48em;
  background: #f5fbf5; color: #171d1a; border-radius: 4em; border: 0.8em solid #07130d;
  box-shadow: 0 3em 5em -1em rgba(6, 32, 20, 0.6);
  overflow: hidden; display: flex; flex-direction: column;
}
.status { display: flex; justify-content: space-between; align-items: center; padding: 1.2em 2em 0.6em; font-size: 1.1em; font-weight: 600; }
.status .net { display: flex; align-items: center; gap: 0.6em; }
.status .net small { font-size: 0.9em; font-weight: 500; color: #a23b2c; opacity: 0; transition: opacity 0.3s; }
.offline .status .net small { opacity: 1; }
.signal { display: flex; gap: 0.25em; align-items: flex-end; height: 1em; }
.signal i { width: 0.3em; background: #171d1a; border-radius: 0.1em; transition: opacity 0.3s; }
.signal i:nth-child(1) { height: 0.35em; } .signal i:nth-child(2) { height: 0.6em; }
.signal i:nth-child(3) { height: 0.8em; } .signal i:nth-child(4) { height: 1em; }
.offline .signal i:not(:first-child) { opacity: 0.2; }
.appbar { display: flex; align-items: center; justify-content: space-between; padding: 1em 1.8em; }
.appbar span { font-size: 1.15em; color: #404943; }
.appbar .publish {
  font: 600 1.15em/1 var(--sans); background: #1f5a40; color: #fff;
  border-radius: 2em; padding: 0.8em 1.4em; transition: transform 0.3s var(--spring), border-radius 0.3s var(--spring);
}
.appbar .publish.press { transform: scale(0.92); border-radius: 0.7em; }
.compose { flex: 1; padding: 0.8em 2em; }
.compose h5 { font: 600 1.9em/1.2 var(--serif); margin: 0 0 0.6em; min-height: 1.2em; }
.compose p { font: 1.35em/1.55 var(--serif); color: #2f3a33; margin: 0; min-height: 6.2em; }
.caret { display: inline-block; width: 0.08em; height: 1.1em; background: #1f5a40; vertical-align: -0.15em; margin-left: 0.05em; }
.tags { display: flex; gap: 0.6em; margin-top: 1.4em; }
.tags span { font-size: 1.05em; color: #1f5a40; background: #dcefe2; border-radius: 1em; padding: 0.3em 0.8em; }

/* The delivery slip. Each state has a shape: an empty ring while it waits, a spinning cookie
   while it works, a soft burst when it is done (yellow for the last one). They swap with a
   springy scale and a quarter turn, so the status reads as one shape morphing. */
.slip {
  margin: 0 1.2em 1.2em; padding: 0.6em 1.2em; list-style: none;
  background: #1f5a40; color: #fff; border-radius: 2.2em;
}
.slip li { display: flex; gap: 0.9em; align-items: center; padding: 0.7em 0; font-size: 1.15em; color: rgba(255, 255, 255, 0.72); transition: color 0.3s; }
.slip li + li { border-top: 1px solid rgba(255, 255, 255, 0.14); }
.slip li.on, .slip li.done { color: #fff; }
.slip li > span:not(.dot) { flex: 1; }
.slip small { margin-left: auto; color: #bfe0cc; font-size: 0.9em; white-space: nowrap; }
.slip .dot { position: relative; flex: none; width: 1.7em; height: 1.7em; border-radius: 50%; box-shadow: inset 0 0 0 0.14em rgba(255, 255, 255, 0.6); transition: box-shadow 0.3s; }
.slip .dot::before, .slip .dot::after {
  content: ""; position: absolute; inset: 0; opacity: 0; transform: scale(0.3) rotate(-90deg);
  -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center;
  transition: opacity 0.25s, transform 0.5s var(--spring);
}
.slip .dot::before { background: #95d5b2; -webkit-mask-image: var(--shape-cookie); mask-image: var(--shape-cookie); }
.slip .dot::after { background: #95d5b2; -webkit-mask-image: var(--shape-burst); mask-image: var(--shape-burst); }
.slip li:last-child .dot::after { background: var(--mark); }
.slip li.on .dot { box-shadow: none; }
.slip li.on .dot::before { opacity: 1; transform: scale(0.9) rotate(0); }
.slip li.done .dot { box-shadow: none; }
.slip li.done .dot::before { opacity: 0; transform: scale(1.3) rotate(90deg); }
.slip li.done .dot::after { opacity: 1; transform: scale(1) rotate(0); }
.slip mark {
  background: linear-gradient(var(--mark), var(--mark)) no-repeat 0 0 / 0% 100%;
  color: #fff; padding: 0.05em 0.35em; border-radius: 0.5em; font-weight: 600; transition: color 0.3s 0.3s;
}
.slip li.done mark { background-size: 100% 100%; color: var(--on-mark); }

.replay {
  position: absolute; left: 0; bottom: 0; min-height: 44px; padding: 0 20px;
  font: 600 15px/1 var(--sans); color: var(--band-text); background: var(--raise);
  border: 0; border-radius: 22px; cursor: pointer; color: var(--text);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease), border-radius 0.35s var(--spring);
}
.replay:active { border-radius: 10px; }
.scene.ended + .replay { opacity: 1; pointer-events: auto; }

/* --- facts: a segmented list. Big outer corners, small inner ones, small gaps -------- */

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin: 56px 0 0; padding: 0; }
.facts div { background: var(--tile); padding: 24px; border-radius: 10px; }
.facts div:first-child { border-radius: 32px 10px 10px 32px; }
.facts div:last-child { border-radius: 10px 32px 32px 10px; }
.facts dt { font-size: 15px; font-weight: 600; color: var(--text-3); margin-bottom: 8px; }
.facts dd { margin: 0; font-size: 17px; line-height: 1.5; color: var(--text); }

/* --- features: heading and a cookie-shaped icon on the left, a segmented list right ---- */

.features { margin-top: 56px; display: grid; gap: 56px; }
.feature { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px; }
.feature h3 { font-size: 28px; letter-spacing: -0.02em; font-variation-settings: "wdth" 110; font-weight: 750; }
.feature > div > p { color: var(--text-2); font-size: 17px; max-width: 32ch; }
.ico { position: relative; width: 72px; height: 72px; display: grid; place-items: center; margin-bottom: 20px; color: #d9f2e2; }
.ico::before { content: ""; position: absolute; inset: 0; background: var(--deep); -webkit-mask: var(--shape-cookie) center / contain no-repeat; mask: var(--shape-cookie) center / contain no-repeat; }
.ico svg { position: relative; }
.ico.burst::before { -webkit-mask-image: var(--shape-burst); mask-image: var(--shape-burst); }
.ico.clover::before { -webkit-mask-image: var(--shape-clover); mask-image: var(--shape-clover); }
.ico.flip::before { transform: rotate(20deg); }
.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; align-content: start; }
.rows li { background: var(--tile); padding: 18px 24px; border-radius: 10px; font-size: 17px; line-height: 1.5; color: var(--text-2); }
.rows li:first-child { border-radius: 32px 32px 10px 10px; }
.rows li:last-child { border-radius: 10px 10px 32px 32px; }
.rows li strong { display: block; margin-bottom: 2px; font-weight: 650; }

/* Older markup names, shared by the intent pages. */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 8px; margin-top: 32px; }
.card { background: var(--tile); padding: 28px; border-radius: 28px; }
.card h3 { margin-top: 0; }
.card p { margin: 0; color: var(--text-2); font-size: 17px; }

/* --- screenshots: staggered on a soft green band ------------------------------------- */

.shots {
  display: flex; align-items: flex-start; justify-content: safe center; gap: 24px;
  width: min(1200px, calc(100% - 32px)); margin: 80px auto 0; padding: 40px 40px 48px;
  background: var(--band-soft); border-radius: 48px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin;
}
.shots figure { margin: 0; flex: 0 0 190px; scroll-snap-align: center; }
.shots figure:nth-child(even) { margin-top: 36px; }
.shots img {
  display: block; width: 190px; height: auto; border-radius: 28px; background: #fff;
  box-shadow: 0 0 0 1px var(--line-2), 0 18px 30px -18px rgba(6, 32, 20, 0.5);
}
.shots figcaption { font-size: 15px; font-weight: 500; color: var(--text-2); margin-top: 14px; }

/* --- the tagline: one wide sentence; on the front page its words come up on scroll ---- */

.tagline {
  margin: 120px 0 0; max-width: 22ch;
  font: 800 clamp(32px, 5vw, 64px)/1.04 var(--sans); font-variation-settings: "wdth" 118; letter-spacing: -0.03em;
  color: var(--text); text-wrap: balance;
}
.js .tagline .w { color: color-mix(in srgb, var(--text) 24%, transparent); transition: color 0.5s var(--ease); }
.js .tagline .w.on { color: var(--text); }

/* --- the queue: a sequence, numbered inside a shape ---------------------------------- */

ol.steps { counter-reset: step; list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 8px; }
ol.steps li { counter-increment: step; position: relative; padding: 28px; background: var(--tile); border-radius: 28px; }
ol.steps li::before {
  content: ""; display: block; width: 64px; height: 64px; margin-bottom: 20px; background: #95d5b2;
  -webkit-mask: var(--shape-cookie) center / contain no-repeat; mask: var(--shape-cookie) center / contain no-repeat;
  transition: background-color 0.4s var(--ease), transform 0.5s var(--spring);
}
ol.steps li:nth-child(2)::before { -webkit-mask-image: var(--shape-burst); mask-image: var(--shape-burst); }
ol.steps li:nth-child(3)::before { -webkit-mask-image: var(--shape-clover); mask-image: var(--shape-clover); }
ol.steps li::after {
  content: counter(step); position: absolute; left: 28px; top: 28px; width: 64px; height: 64px;
  display: grid; place-items: center; font: 800 24px/1 var(--sans); font-variation-settings: "wdth" 120; color: #062014;
}
ol.steps h3 { margin: 0 0 8px; }
ol.steps p { margin: 0; color: var(--text-2); font-size: 17px; }
.js ol.steps.track li::before { background: var(--tile-2); transform: scale(0.85) rotate(-20deg); }
.js ol.steps.track li::after { color: var(--text-3); }
.js ol.steps.track li.lit::before { background: #95d5b2; transform: none; }
.js ol.steps.track li.lit::after { color: #062014; }
.js ol.steps.track li.lit:last-child::before { background: var(--mark); }
.js ol.steps.track li.lit:last-child::after { color: var(--on-mark); }

/* --- tables ----------------------------------------------------------------------------- */

.scroll-x { overflow-x: auto; margin-top: 32px; border-radius: 28px; background: var(--raise); box-shadow: 0 0 0 1px var(--line); }
table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
caption { text-align: left; font-weight: 600; color: var(--text-3); padding: 16px 24px 0; }
th, td { text-align: left; padding: 16px 24px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text-2); }
tr:last-child th, tr:last-child td { border-bottom: 0; }
thead th { font-size: 14px; font-weight: 650; color: var(--text-2); background: var(--tile); }
tbody th { font-weight: 550; color: var(--text); }
td.yes, td.no { text-align: center; width: 7em; }
td.yes { color: var(--link); font-weight: 700; }
td.no { color: var(--text-3); }
table.price thead th:nth-child(3), table.price td:nth-child(3) { background: var(--pro-tint); }
table.price thead th:nth-child(3) { color: var(--link); }
@media (max-width: 560px) {
  table.stack, table.stack tbody, table.stack tr, table.stack th, table.stack td { display: block; width: auto; }
  table.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.stack tr { border-bottom: 1px solid var(--line); padding: 14px 16px; }
  table.stack tr:last-child { border-bottom: 0; }
  table.stack th, table.stack td { border: 0; padding: 2px 0; }
  table.stack td[data-label]::before { content: attr(data-label) ": "; font-weight: 600; color: var(--text-3); }
  th, td { padding-left: 16px; padding-right: 16px; }
  td.yes, td.no { width: 4em; padding-left: 8px; padding-right: 8px; }
}

/* --- intent pages: crumb, a mint head band, answer box, notes ------------------------- */

.page-head { padding-top: 40px; }
header.page-head {
  position: relative; overflow: hidden; margin-top: 24px; padding: 40px 40px 40px;
  background: var(--band); color: var(--band-text); border-radius: 48px;
}
header.page-head::after {
  content: ""; position: absolute; width: 360px; aspect-ratio: 1; right: -90px; top: -100px; background: var(--burst-soft);
  -webkit-mask: var(--shape-burst) center / contain no-repeat; mask: var(--shape-burst) center / contain no-repeat; pointer-events: none;
}
header.page-head > * { position: relative; z-index: 1; }
header.page-head h1 { color: var(--band-text); max-width: 18ch; margin-top: 12px; font-size: clamp(34px, 5.4vw, 64px); }
header.page-head :focus-visible { outline-color: var(--band-text); }
.crumb { font-size: 15px; color: var(--band-text-2); margin: 0; }
.crumb a { color: var(--band-text-2); text-decoration: none; font-weight: 600; }
.crumb a:hover { text-decoration: underline; }
.crumb span { padding: 0 8px; }
.wrap.page-head .crumb { color: var(--text-3); }
.answer {
  max-width: 780px; margin: 0; padding: 28px 32px; background: var(--raise); color: var(--text);
  border-radius: 28px; font: 400 19px/1.65 var(--serif);
}
.answer p { margin: 0; }
.answer p + p { margin-top: 12px; }
.note { max-width: 780px; margin-top: 32px; padding: 24px 28px; background: var(--tile); border-radius: 28px; color: var(--text-2); font-size: 17px; }

/* --- FAQ: a segmented list --------------------------------------------------------------- */

.faq { max-width: 860px; margin-top: 32px; display: grid; gap: 4px; }
details { background: var(--tile); border-radius: 10px; transition: border-radius 0.3s var(--spring); }
details:first-child { border-radius: 32px 32px 10px 10px; }
details:last-child { border-radius: 10px 10px 32px 32px; }
details[open] { background: var(--raise); box-shadow: 0 0 0 1.5px var(--line-2); }
summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  min-height: 64px; padding: 14px 24px; font-size: 19px; font-weight: 600; color: var(--text); border-radius: inherit;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; flex: none; width: 36px; height: 36px; background: var(--deep); border-radius: 50%;
  -webkit-mask: none; mask: none;
  background: var(--deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9.5l6 6 6-6' fill='none' stroke='%23d9f2e2' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 24px no-repeat;
  transition: transform 0.4s var(--spring), border-radius 0.4s var(--spring);
}
details[open] summary::after { transform: rotate(180deg); border-radius: 12px; }
details p { color: var(--text-2); margin: 0; padding: 0 24px 22px; max-width: 68ch; }

/* --- guides, closing band, footer ------------------------------------------------------- */

.guides { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 4px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.guides li { display: flex; }
.guides a {
  display: block; width: 100%; padding: 24px 28px; background: var(--tile); border-radius: 10px;
  color: var(--text); font-size: 19px; font-weight: 650; text-decoration: none; transition: background-color 0.15s var(--ease);
}
.guides a:hover { background: var(--tile-2); }
.guides span { display: block; color: var(--text-2); font-weight: 400; font-size: 16px; margin-top: 6px; }
.guides li:first-child a { border-top-left-radius: 32px; }
.guides li:nth-child(2) a { border-top-right-radius: 32px; }
.guides li:nth-last-child(2) a { border-bottom-left-radius: 32px; }
.guides li:last-child a { border-bottom-right-radius: 32px; }

.more { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 32px; font-size: 16px; }

.getit {
  position: relative; overflow: hidden; width: min(1200px, calc(100% - 32px)); margin: 120px auto 0; padding: 80px 56px;
  background: var(--deep); color: #e3f5e9; border-radius: 48px;
}
.getit::after {
  content: ""; position: absolute; width: 440px; aspect-ratio: 1; right: -120px; bottom: -150px; background: var(--deep-2);
  -webkit-mask: var(--shape-cookie) center / contain no-repeat; mask: var(--shape-cookie) center / contain no-repeat; pointer-events: none;
}
.getit .wrap { position: relative; z-index: 1; padding: 0; }
.getit h2 { color: #fff; max-width: 16ch; }
.getit p { color: #cfe9d8; max-width: 54ch; }
.getit a { color: #cfe9d8; }
.getit :focus-visible { outline-color: var(--mark); }
.getit .cta { background: var(--mark); color: var(--on-mark); margin-top: 16px; }
.getit .cta:hover { background: #e8f78f; }
.getit .ghost-link { color: #fff; margin-top: 16px; }

footer { padding: 56px 0 56px; color: var(--text-3); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; }
footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
footer a { color: var(--text-2); text-decoration: none; display: inline-block; padding: 8px 0; font-weight: 500; }
footer a:hover { color: var(--text); text-decoration: underline; }
footer p { margin: 0; max-width: 60ch; }
main:not(:has(.getit)) { padding-bottom: 96px; }

/* --- motion: the hero plays once; the burst drifts; everything else answers the reader --- */

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise 0.6s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: 0.06s; }
  .hero-copy > :nth-child(3) { animation-delay: 0.12s; }
  .hero-copy > :nth-child(4) { animation-delay: 0.18s; }
  .stage { animation: fade 0.8s 0.15s var(--ease) both; }
  .stage::before { animation: drift 120s linear infinite; }
  .slip li.on .dot::before { animation: spin 6s linear infinite; }
  .pub-new { transition: grid-template-rows 0.6s var(--ease), opacity 0.5s var(--ease); }
  .slip mark { transition: background-size 0.6s 0.2s var(--ease); }
  @keyframes rise { from { opacity: 0; transform: translateY(8px); } }
  @keyframes fade { from { opacity: 0; } }
  @keyframes drift { to { transform: rotate(360deg); } }
  @keyframes spin { to { transform: scale(0.9) rotate(360deg); } }
}
@media (prefers-reduced-motion: reduce) {
  .slip .dot::before, .slip .dot::after, .appbar .publish, .cta, .play-small, .ghost-link, details, summary::after { transition: none; }
}
.pub-new.in { grid-template-rows: 1fr; opacity: 1; }

/* --- small screens ---------------------------------------------------------------------- */

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .feature { grid-template-columns: 1fr; gap: 24px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div:first-child { border-radius: 32px 10px 10px 10px; }
  .facts div:nth-child(2) { border-radius: 10px 32px 10px 10px; }
  .facts div:nth-child(3) { border-radius: 10px 10px 10px 32px; }
  .facts div:last-child { border-radius: 10px 10px 32px 10px; }
}
@media (max-width: 720px) {
  .links { display: none; }
  main section { padding-top: 88px; }
  .tagline { margin-top: 88px; }
  .getit { margin-top: 88px; padding: 56px 28px; }
  .guides { grid-template-columns: 1fr; }
  .guides a, .guides li:nth-child(n) a { border-radius: 10px; }
  .guides li:first-child a { border-radius: 32px 32px 10px 10px; }
  .guides li:last-child a { border-radius: 10px 10px 32px 32px; }
  .shots { padding: 28px 24px 36px; border-radius: 36px; }
  header.page-head { padding: 32px 24px 28px; border-radius: 36px; }
  header.page-head::after { width: 220px; right: -70px; top: -70px; }
  .hero { border-radius: 0 0 36px 36px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  body { font-size: 17px; }
  .hero { padding: 32px 0 64px; }
  .scene { font-size: clamp(6px, 2.6cqi, 11px); height: 52em; }
  .browser { width: 36em; height: 34em; }
  .pub-head { padding: 1.6em 2em 1.2em; } .pub-list { padding: 0 2em; }
  .pub-nav span:not(.pub-sub) { display: none; }
  .pub-post { grid-template-columns: 1fr; } .pub-thumb { display: none; }
  .facts { grid-template-columns: 1fr; }
  .facts div:nth-child(n) { border-radius: 10px; }
  .facts div:first-child { border-radius: 32px 32px 10px 10px; }
  .facts div:last-child { border-radius: 10px 10px 32px 32px; }
  .answer { padding: 22px; font-size: 18px; border-radius: 24px; }
  .play-small { padding: 0 16px; }
  .brand span { font-size: 20px; }
  .cta { width: 100%; }
  .scroll-x { border-radius: 24px; }
}
