/* Pandabar, split-stage homepage. Direction: "The split stage" (taste-skill seed 2065197677), brand palette kept,
   Albert Sans kept from the first design so the three can be compared on composition. */

/* Albert Sans (SIL Open Font License), served from this site. */
@font-face { font-family: "Albert Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(assets/fonts/albert-sans-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Albert Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(assets/fonts/albert-sans-latin.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; }

:root {
  --ground: #F7F8F5;
  --sheet: #EDF2E8;
  --surface: #E3EADD;
  --ink: #1D2C2D;
  --soft: #4B5A59;
  --accent: #36622A;
  --accent-strong: #2A4E20;
  --slate: #203435;
  --bamboo: #75A350;
  --leaf: #9BC75A;
  --mint: #DCEFCF;

  --font: "Albert Sans", system-ui, sans-serif;
  --font-ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;

  --step-small: 0.9375rem;
  --step-body: 1.125rem;
  --step-sub: 1.375rem;
  --step-h2: clamp(2rem, 1.4rem + 1.4vw, 2.75rem);
  --step-display: clamp(2.75rem, 1.2rem + 3.6vw, 4rem);
  --step-big: clamp(3.5rem, 1.5rem + 5vw, 6.5rem);

  --gap: 12px;
  --radius: 20px;
  --pad: clamp(1.5rem, 4.5vw, 4.5rem);
  --margin: clamp(1.25rem, 3vw, 2.5rem);
  --section: clamp(7rem, 13vw, 12rem);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
  --stagger-item: 80ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font); font-size: var(--step-body); line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, figure, ul, dl, dd, table { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
:target { scroll-margin-top: 2rem; }
::selection { background: var(--leaf); color: var(--slate); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
h1, h2, h3 { font-weight: 600; text-wrap: balance; letter-spacing: -0.025em; line-height: 1.08; }
p { text-wrap: pretty; }
.soft { color: var(--soft); }

/* ---------- controls ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 1.4rem;
  border-radius: 999px; background: var(--accent); color: #fff; font-weight: 500; font-size: var(--step-small);
  text-decoration: none; white-space: nowrap; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease;
}
.button:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .button:hover { background: var(--accent-strong); } }

/* ---------- the split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); padding: var(--gap); }
.split__read { background: var(--sheet); border-radius: var(--radius); padding-inline: var(--pad); min-width: 0; }
.split__stage { min-width: 0; }
.stage { position: sticky; top: var(--gap); height: calc(100svh - 2 * var(--gap)); border-radius: var(--radius); overflow: hidden; background: var(--bamboo); }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 92px; font-size: var(--step-small); }
.nav a { text-decoration: none; text-underline-offset: 0.3em; }
.nav__brand img { width: 150px; height: auto; display: block; }
.nav__end { display: flex; align-items: center; gap: 1.75rem; }
.footer__year { display: flex; align-items: baseline; justify-content: flex-end; gap: 1.25rem; }
@media (hover: hover) and (pointer: fine) { .nav__end > a:hover { text-decoration: underline; } }

/* Language menu: a flag (or 简 / 繁) and the language's own name; opens as a small list of links. */
.lang { position: relative; }
.lang summary { list-style: none; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.375rem 0.625rem; margin: -0.375rem -0.625rem; border-radius: 8px; cursor: pointer; color: var(--soft); transition: background-color var(--t-hover) ease, color var(--t-hover) ease; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: ""; width: 0.4em; height: 0.4em; margin-left: 0.1em; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-0.15em) rotate(45deg); } /* taste-skill-ignore: a chevron */
.lang summary:focus { outline: none; }
.lang summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lang[open] summary, .lang summary:hover { background: var(--surface); color: var(--ink); }
.lang__flag { width: 21px; height: 14px; flex: none; border-radius: 2px; }
svg.lang__flag { box-shadow: 0 0 0 0.5px rgba(0,0,0,0.18); } /* taste-skill-ignore: a flag's edge */
.lang__flag--text { display: inline-grid; place-items: center; width: 21px; height: 16px; font-size: 11px; font-weight: 600; line-height: 1; color: #fff; background: var(--slate); }
.lang__menu { position: absolute; right: -0.625rem; top: calc(100% + 0.625rem); z-index: 20; min-width: 13rem; margin: 0; padding: 6px; list-style: none; background: #fff; border-radius: 12px; }
.lang[open] .lang__menu { box-shadow: 0 12px 40px rgba(20, 40, 30, 0.18), 0 0 0 0.5px rgba(0,0,0,0.1); } /* taste-skill-ignore: an open menu floats */
.footer .lang__menu { top: auto; bottom: calc(100% + 0.625rem); }
.lang__menu a { display: flex; align-items: center; gap: 0.625rem; padding: 0.5rem 0.625rem; border-radius: 8px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.lang__menu a:focus { outline: none; }
.lang__menu a:focus-visible, .lang__menu a:hover { background: var(--surface); }
.lang__menu a[aria-current="page"] { font-weight: 600; }

/* Tool icons: the app's own colours, with open-source Lucide glyphs. */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ticons { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
.ticon { display: inline-grid; place-items: center; flex: none; width: 2.25rem; height: 2.25rem; border-radius: 22%; background: var(--tint); color: #fff; }
.ticon svg { width: 58%; height: 58%; }
.outputs__names button .ticon { width: 0.62em; height: 0.62em; margin-right: 0.3em; vertical-align: -0.04em; opacity: 0.55; transition: opacity var(--t-hover) ease; }
.outputs__names button[aria-selected=true] .ticon { opacity: 1; }

/* Each block is one screen's worth of reading; the stage shows its state while it's in the middle of the view. */
.block { min-height: 88svh; display: flex; flex-direction: column; justify-content: center; padding-block: 12vh; }
.block__copy { max-width: 46ch; }
.block h2 { font-size: var(--step-h2); }
.block h2 + p { margin-top: 1.25rem; }
.block--hero { min-height: calc(100svh - 92px - 2 * var(--gap)); padding-block: 0 14vh; justify-content: center; text-align: center; }
.block--hero .block__copy { margin-inline: auto; }
.hero__title { font-size: var(--step-display); line-height: 1.02; letter-spacing: -0.035em; max-width: 13ch; margin-inline: auto; }
.hero__lead { margin: 1.5rem auto 0; max-width: 40ch; }
.hero__actions { display: flex; flex-direction: column; align-items: center; gap: 0.9rem; margin-top: 2rem; }
.hero__note { color: var(--soft); font-size: var(--step-small); }

.facts { margin-top: 1.75rem; display: grid; gap: 1rem; }
.facts strong { font-weight: 600; }
.ocr, .keys { margin-top: 1.75rem; width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ocr caption, .keys caption { text-align: left; color: var(--soft); font-size: var(--step-small); padding-bottom: 0.5rem; }
.ocr td, .keys th, .keys td { padding: 0.45rem 0.75rem 0.45rem 0; text-align: left; vertical-align: top; }
.ocr tr:nth-child(odd), .keys tr:nth-child(odd) { background: var(--surface); }
.ocr td:first-child, .keys th { padding-left: 0.75rem; }
.ocr td:last-child { color: var(--accent); white-space: nowrap; }
.keys th { font-weight: 400; }
.keys td { white-space: nowrap; text-align: right; }
.figure { margin-top: 2rem; font-size: var(--step-sub); line-height: 1.3; max-width: 22ch; }
.figure strong { display: block; font-size: var(--step-big); line-height: 0.9; letter-spacing: -0.05em; font-weight: 600; color: var(--accent); }

/* ---------- a Mac screen (in the stage on desktop, inline on phones) ---------- */
.screen { position: relative; display: flex; flex-direction: column; height: 100%; background: var(--bamboo); overflow: hidden; }
.screen__bar[data-ui] { position: relative; z-index: 2; flex: none; display: flex; align-items: center; justify-content: space-between; height: 30px; padding: 0 14px; background: #1E2D27; color: #fff; font: 500 13px/1 var(--font-ui); transition: background-color 900ms ease; }
.screen__bar[data-ui]::after { content: ""; position: absolute; left: 50%; top: 0; width: 170px; height: 30px; margin-left: -85px; background: #000; border-radius: 0 0 10px 10px; }
.screen__left { display: flex; gap: 16px; align-items: center; white-space: nowrap; overflow: hidden; }
.screen__left b { width: 13px; height: 15px; background: #fff; border-radius: 50% 50% 45% 45%; display: inline-block; flex: none; }
.screen__left span { font-weight: 400; }
.screen__right { display: flex; gap: 12px; align-items: center; flex: none; }
.screen__panda { padding: 3px 5px; border-radius: 5px; }
.screen__panda.is-open { background: rgba(255, 255, 255, 0.24); }
.screen__panda img { width: 22px; height: 16px; }
.screen__clock { font-variant-numeric: tabular-nums; }
.screen__more { font-size: 16px; }
.screen__desk { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; padding: 28px; overflow: hidden; }
.screen__desk > * { max-width: 100%; min-width: 0; }
/* The desktop wallpaper: the bamboo grove, as on a real Mac. */
.screen__desk { background: #E6F2DC url(assets/img/wallpaper-bamboo.svg) center / cover no-repeat; }
.screen__caption { flex: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; height: 56px; padding: 0 22px; background: var(--sheet); color: var(--ink); font-size: var(--step-small); }
.screen__caption span:first-child { font-weight: 500; }

/* Launcher */
.launcher[data-ui] { width: min(440px, 62%); align-self: start; justify-self: start; margin-top: 12%; background: #fff; border-radius: 16px; box-shadow: 0 24px 60px rgba(10, 30, 15, 0.28), 0 0 0 0.5px rgba(0,0,0,0.12); font-family: var(--font-ui); color: #1d1d1f; overflow: hidden; text-align: left; }
[data-ui] .launcher__field { display: flex; align-items: center; gap: 12px; height: 58px; padding: 0 18px; border-bottom: 1px solid #ececec; cursor: text; }
.launcher__field svg { width: 20px; height: 20px; flex: none; fill: none; stroke: #6e6e73; stroke-width: 2; stroke-linecap: round; }
.launcher__field input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 21px; }
.launcher kbd { font: 500 12px/1 var(--font-ui); color: #5f5f64; background: #f2f2f4; border-radius: 5px; padding: 5px 7px; white-space: nowrap; }
.launcher__results { padding: 8px; }
.launcher__results li { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 9px; font-size: 14px; }
.launcher__results li > span:nth-child(2) { flex: 1; min-width: 0; }
.launcher__results li strong { display: block; font-weight: 500; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.launcher__results li small { display: block; color: #6e6e73; font-size: 12.5px; margin-top: 2px; }
.launcher__results li.is-selected { background: rgba(10, 132, 255, 0.2); }
.launcher__results li.is-selected small { color: #55555a; }
.launcher__results li.is-selected kbd { background: rgba(255,255,255,0.7); color: #3a3a3c; }
.launcher__results li.is-selected strong { font-size: 19px; }
.launcher__icon { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 8px; color: #fff; background: #8e8e93; }
.launcher__icon svg { width: 60%; height: 60%; }
.launcher__icon--answer { background: #16A34A; }
.launcher__icon--note { background: #F5C400; }
.launcher__icon--app { background: var(--tint); border-radius: 22%; }
.launcher__icon img { width: 100%; height: 100%; }
.launcher__icon:has(img) { background: none; }
.launcher__try { padding: 2px 18px 16px; font-size: 13px; color: #6e6e73; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.launcher__try button { background: #f2f2f4; border-radius: 6px; padding: 4px 8px; font: 13px var(--font-ui); color: #1d1d1f; transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.launcher__try button:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .launcher__try button:hover { background: #e4e4e8; } }

/* The panda menu, open under its icon */
.pmenu[data-ui] { position: absolute; right: 10px; top: 4px; width: max-content; min-width: 236px; padding: 5px; background: rgba(246, 246, 246, 0.97); border-radius: 10px; box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3), 0 0 0 0.5px rgba(0,0,0,0.2); font: 13px/1 var(--font-ui); color: #1d1d1f; }
.pmenu li { display: flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 5px; white-space: nowrap; }
.pmenu li > span { margin-right: 1.5rem; }
.pmenu i.mi { display: inline-block; }
.pmenu li:first-child { background: #2f6fde; color: #fff; }
.pmenu li:first-child kbd { color: rgba(255,255,255,0.85); }
.pmenu kbd { font: 13px/1 var(--font-ui); color: #6e6e73; margin-left: auto; }
.pmenu .mi { width: 15px; height: 15px; flex: none; margin-right: 8px; color: #3a3a3c; }
.pmenu li:first-child .mi { color: #fff; }
.pmenu li.pmenu__sep { height: 11px; padding: 0; background: linear-gradient(#d9d9d9, #d9d9d9) center / calc(100% - 20px) 1px no-repeat; } /* taste-skill-ignore: a macOS menu separator inside the fragment */

/* Windows */
.win[data-ui] { width: 82%; background: #fff; border-radius: 11px; overflow: hidden; box-shadow: 0 22px 56px rgba(0, 0, 0, 0.3), 0 0 0 0.5px rgba(0,0,0,0.2); font-family: var(--font-ui); }
.win__title { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; background: #ececec; font-size: 12.5px; color: #4a4a4f; }
.win__title i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.win__title i:nth-child(2) { background: #febc2e; } .win__title i:nth-child(3) { background: #28c840; margin-right: 8px; }
.win__body { position: relative; aspect-ratio: 4 / 3; background: #111; }
.win__body img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.win--tall[data-ui] { width: 62%; }
.win--tall .win__body { aspect-ratio: 3 / 4; }
.win--tall .win__body img { object-position: 50% 40%; }
.ocr__box { position: absolute; left: 14%; top: 27%; width: 78%; height: 29%; border: 2px solid #fff; background: rgba(47, 111, 222, 0.22); border-radius: 3px; }
.toast[data-ui] { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); background: rgba(30, 30, 32, 0.92); color: #fff; font: 13px var(--font-ui); padding: 9px 16px; border-radius: 999px; white-space: nowrap; }
.shade[data-ui] { position: absolute; inset: 0; pointer-events: none; }
.shade__box { position: absolute; left: 16%; top: 30%; width: 62%; height: 30%; outline: 9999px solid rgba(0, 0, 0, 0.42); border: 1.5px dashed #fff; }
.shade__size { position: absolute; left: 0; top: -28px; font: 12px var(--font-ui); color: #fff; background: rgba(0,0,0,0.6); padding: 4px 7px; border-radius: 5px; font-variant-numeric: tabular-nums; }
.shade[data-ui] .shade__tools { position: absolute; left: 16%; top: calc(60% + 12px); display: flex; gap: 2px; padding: 4px; background: rgba(246,246,246,0.97); border-radius: 9px; font: 12.5px var(--font-ui); color: #1d1d1f; box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.shade__tools span { padding: 5px 9px; border-radius: 6px; }
.shade__tools .is-on { background: #2f6fde; color: #fff; }
.screen__desk--tiled { grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; place-items: stretch; background: var(--bamboo); }
.screen__desk--tiled .win[data-ui] { width: auto; display: flex; flex-direction: column; box-shadow: 0 0 0 0.5px rgba(0,0,0,0.2); }
.screen__desk--tiled .win__body { flex: 1; aspect-ratio: auto; }
.win__body--note { background: #fffdf5; padding: 18px; font-size: 14px; line-height: 1.5; color: #1d1d1f; display: grid; align-content: start; gap: 12px; }
.hud[data-ui] { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 14px 20px; border-radius: 14px; background: rgba(28, 28, 30, 0.86); color: #fff; font: 500 15px var(--font-ui); white-space: nowrap; display: flex; gap: 12px; }
.hud span { color: rgba(255,255,255,0.7); }

/* Notch and menu bar */
.screen--notch .screen__bar--black { background: #000; }
.screen__desk--wall { place-items: start end; }
.wallpaper { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.tray[data-ui] { position: relative; align-self: start; justify-self: end; margin-top: -26px; display: flex; gap: 4px; align-items: center; padding: 6px 8px; background: rgba(246,246,246,0.97); border-radius: 10px; box-shadow: 0 12px 32px rgba(0,0,0,0.28); font: 12.5px var(--font-ui); color: #1d1d1f; }
.tray__item { padding: 5px 8px; border-radius: 6px; background: #e8e8ea; white-space: nowrap; }
.tray__cat { width: 22px; height: 14px; position: relative; margin: 0 4px; }
.tray__cat i { position: absolute; inset: 3px 2px 2px 3px; background: #1d1d1f; border-radius: 2px; }
.tray__cat i::before, .tray__cat i::after { content: ""; position: absolute; top: -3px; width: 4px; height: 4px; background: #1d1d1f; }
.tray__cat i::before { left: 0; } .tray__cat i::after { right: 0; }

/* Clipboard */
.clips[data-ui] { width: min(460px, 100%); background: #fff; border-radius: 14px; padding: 8px; box-shadow: 0 22px 56px rgba(0, 0, 0, 0.28), 0 0 0 0.5px rgba(0,0,0,0.15); font-family: var(--font-ui); color: #1d1d1f; }
.clips__search { padding: 10px 12px; font-size: 15px; color: #6e6e73; }
.clips li { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 8px; font-size: 14px; }
.clips li.is-selected { background: #2f6fde; color: #fff; }
.clips__text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clips__from { flex: none; font-size: 12px; color: #6e6e73; }
.clips li.is-selected .clips__from { color: rgba(255,255,255,0.85); }
.clips__swatch { width: 16px; height: 16px; border-radius: 4px; flex: none; background: #5E8438; }

/* Feeding: the logo, alive. The panda rests its paws on a bamboo stalk. */
.screen__desk--feed { background: var(--mint) none; align-content: center; }
.big-panda { width: min(56%, 340px); height: auto; margin-bottom: -14%; position: relative; z-index: 1; transform-origin: 50% 100%; }
.big-bamboo { position: relative; width: 84%; height: 64px; border-radius: 999px; background: #4F7F35; }
.big-bamboo i { position: absolute; top: -5px; bottom: -5px; width: 8px; border-radius: 4px; background: #3A6526; }
.big-bamboo i:nth-child(1) { left: 14%; } .big-bamboo i:nth-child(2) { left: 46%; } .big-bamboo i:nth-child(3) { left: 82%; }
.big-bamboo b { position: absolute; right: -12px; top: -8px; width: 52px; height: 52px; border-radius: 50%; background: var(--mint); opacity: 0; transform: scale(0.4); }

/* ---------- the bamboo buttons ---------- */
.feed { position: relative; display: inline-block; margin-top: 4.25rem; }
.bamboo { position: relative; gap: 0.75rem; min-height: 52px; padding: 0 5.25rem 0 2.6rem; background: #4F7F35; overflow: visible; }
@media (hover: hover) and (pointer: fine) { .bamboo:hover { background: #46732F; } }
.bamboo__node { position: absolute; top: -3px; bottom: -3px; left: 26px; width: 5px; border-radius: 3px; background: #3A6526; }
.bamboo__node--end { left: auto; right: 74px; }
.bamboo__leaf { position: absolute; left: 16px; bottom: calc(100% - 4px); width: 30px; height: 15px; fill: #9BC75A; transform-origin: 90% 100%; transform: rotate(-8deg); transition: transform 500ms var(--ease-out); }
.bamboo__bite { position: absolute; right: -9px; top: -3px; width: 28px; height: 28px; border-radius: 50%; background: var(--bite-ground, var(--sheet)); opacity: 0; transform: scale(0.4); }
.feed__panda { position: absolute; right: 6px; bottom: 30px; width: 70px; height: auto; overflow: visible; pointer-events: none; transform-origin: 50% 100%; transition: transform 300ms var(--ease-out); }

/* ---------- pricing in the split ---------- */
.block--pricing { justify-content: start; padding-top: 14vh; }
.period { display: flex; gap: 6px; margin-top: 1.5rem; }
.period button { padding: 6px 14px; border-radius: 999px; font-size: var(--step-small); transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.period button[aria-pressed=true] { background: var(--ink); color: var(--ground); }
.period button:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .period button[aria-pressed=false]:hover { background: var(--surface); } .plan--pro .period button[aria-pressed=false]:hover { background: rgba(255, 255, 255, 0.12); } }
.block--pricing .block__copy { max-width: none; }
.plans { margin: 2rem calc(var(--pad) * -1) 0; }
.plan { padding: 2.5rem var(--pad) 2.25rem; display: grid; grid-template-columns: 1fr auto; column-gap: 1.5rem; }
.plan > * { grid-column: 1 / -1; }
.plan--free { background: var(--mint); --bite-ground: var(--mint); }
.plan--pro { background: var(--slate); color: #fff; --bite-ground: var(--slate); }
.plan h3 { font-size: var(--step-h2); }
.plan__for { margin-top: 0.4rem; font-size: var(--step-sub); }
.plan__what { margin-top: 1rem; max-width: 46ch; }
.plan--pro .plan__what { color: #D6E2DC; }
.plan__price { margin-top: 1.75rem; display: flex; align-items: baseline; gap: 0.6rem; }
.plan__price strong { font-size: var(--step-big); line-height: 0.95; letter-spacing: -0.05em; font-weight: 600; font-variant-numeric: tabular-nums; }
.plan__price span { font-size: var(--step-body); }
.plan .feed { justify-self: start; margin-top: 3.75rem; }
.plan .period { margin-top: 1.5rem; }
.plan--pro .period button[aria-pressed=true] { background: #fff; color: var(--slate); }
.fine { margin-top: 1.5rem; font-size: var(--step-small); color: var(--soft); max-width: 60ch; }

/* ---------- outputs (full width) ---------- */
.outputs { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2rem; padding: var(--section) var(--margin) 0; align-items: start; }
.outputs__names { grid-column: 1 / 6; position: sticky; top: 15vh; }
.outputs__names [role=tablist] { display: flex; flex-direction: column; align-items: flex-start; }
.outputs__names button { text-align: left; font-size: clamp(2.25rem, 1rem + 2.6vw, 4rem); line-height: 1.1; letter-spacing: -0.035em; font-weight: 600; color: #6E7C75; padding: 0.08em 0; transition: color var(--t-hover) ease; }
.outputs__names button[aria-selected=true] { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .outputs__names button:hover { color: var(--ink); } }
.outputs__note { margin-top: 2rem; max-width: 40ch; color: var(--soft); }
.outputs__stage { grid-column: 7 / -1; position: relative; height: 88svh; min-height: 560px; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.sheet[data-ui] { position: absolute; inset: 48px 0 0 48px; color: #1d1d1f; font: 14px/1.55 var(--font-ui); }
.sheet[data-ui]:not(.is-active) { display: none; }
.sheet.is-active { animation: sheet-in 260ms var(--ease-out); }
.sheet[data-ui] .page { position: relative; width: min(500px, calc(100% - 48px)); padding: 44px 48px 56px; background: #fff; border-radius: 4px; box-shadow: 0 1px 2px rgba(0,0,0,0.08), 0 22px 50px rgba(20, 40, 25, 0.14); }
.page h3 { font: 600 30px/1.12 Georgia, "Times New Roman", serif; letter-spacing: -0.01em; color: #142625; }
.page__meta { margin-top: 6px; color: #6e6e73; font-size: 12.5px; }
.win-bar { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #6e6e73; }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.win-bar i:nth-child(2) { background: #febc2e; } .win-bar i:nth-child(3) { background: #28c840; margin-right: 8px; }

/* Markdown source beside the PDF it becomes */
.sheet[data-ui] .md-source { position: absolute; left: 0; top: 0; width: 330px; padding: 12px 16px 18px; background: #1f2a29; color: #cfd8d6; border-radius: 10px; box-shadow: 0 18px 40px rgba(0,0,0,0.22); }
.md-source .win-bar { color: #8fa09d; margin-bottom: 10px; }
.md-source pre { margin: 0; font: 12px/1.65 ui-monospace, "SF Mono", Menlo, monospace; white-space: normal; }
.md-source b { color: #9BC75A; font-weight: 600; }
.md-l { display: block; min-height: 1.65em; overflow: hidden; white-space: pre; text-overflow: ellipsis; }
.sheet[data-ui] .page--doc { margin-left: 200px; margin-top: 64px; font-family: Georgia, "Times New Roman", serif; font-size: 14.5px; }
.page__head { display: flex; justify-content: space-between; margin: -24px 0 26px; font: 11px var(--font-ui); color: #6e6e73; letter-spacing: 0.02em; }
.page__lead { margin-top: 18px; }
.page table { width: 100%; margin: 20px 0 18px; border-collapse: collapse; font: 13px var(--font-ui); }
.page th { text-align: left; font-weight: 600; padding: 7px 10px; background: #E3F0D8; color: #1F3A1E; }
.page td { padding: 7px 10px; }
.page tbody tr:nth-child(even) td { background: #F6FAF2; }
.page blockquote { margin: 0; padding: 10px 14px; border-left: 3px solid #75A350; background: #F6FAF2; font-style: italic; }
.page__foot { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; font: 11px var(--font-ui); color: #8a8a8e; }

/* A filled, signed and redacted form */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-top: 24px; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field--wide { grid-column: 1 / -1; }
.field__label { order: -1; font-size: 11px; font-weight: 600; color: #6e6e73; }
.sheet[data-ui] .field__value { padding: 7px 10px; border: 1px solid #d5d5d8; border-radius: 6px; background: #F7F9FC; color: #1b3a8c; font-size: 14px; }
.field__value--redacted { display: flex; align-items: center; gap: 10px; }
.redact { flex: 1; height: 14px; background: #111; border-radius: 2px; }
.redact__tag { font-size: 11px; color: #6e6e73; }
.ticks { display: flex; gap: 22px; margin: 2px 0 0; padding: 0; list-style: none; font-size: 14px; }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks li::before { content: ""; width: 14px; height: 14px; border: 1.5px solid #9a9aa0; border-radius: 3px; }
.ticks li.is-on::before { border-color: #1b3a8c; background: #1b3a8c url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7.5l2.6 2.5L11 4.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.sheet[data-ui] .field--sign, .sheet[data-ui] .field--date { justify-content: flex-end; border-bottom: 1px solid #9a9aa0; padding-bottom: 6px; margin-top: 14px; }
.field--sign .field__label, .field--date .field__label { order: 2; position: relative; top: 26px; font-weight: 500; }
.sheet[data-ui] .field--date .field__value { border: 0; background: none; padding: 0 0 4px; }
.signature { width: 200px; height: 54px; fill: none; stroke: #1b3a8c; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sheet[data-ui] .page--form { padding-bottom: 64px; }

/* The app icon at every size, as a Finder window shows it */
.sheet[data-ui] .page--finder { padding: 14px 24px 28px; background: #FBFBFB; border-radius: 12px; }
.tiles { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 18px 20px; margin: 26px 0 22px; }
.tiles figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.sheet[data-ui] .tiles img { height: auto; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.12)); }
.tiles figcaption { font-size: 11px; color: #55555a; }
.sheet__list { margin-top: 10px; font: 13px/1.5 var(--font-ui); color: #4a4a4f; }

/* A PNG traced into an SVG: the same detail, pixels against curves */
.trace { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.trace figure { margin: 0; }
.trace__img { aspect-ratio: 1; overflow: hidden; border-radius: 8px; background: #F4F6F2; position: relative; }
.trace__img img { position: absolute; width: 250%; max-width: none; height: auto; left: -75%; top: -8%; }
.trace__img--png img { image-rendering: pixelated; }
.trace figcaption { margin-top: 8px; font-size: 12px; color: #55555a; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 18px 0 16px; padding: 0; list-style: none; font-size: 12px; color: #55555a; font-variant-numeric: tabular-nums; }
.swatches li { display: flex; align-items: center; gap: 6px; }
.sheet[data-ui] .swatches li::before { content: ""; width: 14px; height: 14px; border-radius: 4px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12); }

/* ---------- the rest of the drawer ---------- */
.more { padding: var(--section) var(--margin) 0; }
.more__title { font-size: var(--step-h2); margin-left: 22%; max-width: 20ch; }
.mod { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 340px); gap: 24px; margin-left: 22%; margin-top: clamp(3rem, 6vw, 6rem); align-items: start; }
.mod__proof { position: relative; overflow: hidden; border-radius: 10px; background: var(--surface); }
.mod__text h3 { font-size: var(--step-sub); }
.mod__text p { margin-top: 0.75rem; }
.mod__proof--picker { aspect-ratio: 360 / 200; }
.mod__proof--picker img, .mod__proof--editor img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.loupe[data-ui] { position: absolute; left: 32.2%; top: 28.9%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 6px 20px rgba(0,0,0,0.35); background: url(assets/img/bamboo-grove-arashiyama-kyoto-japan.jpg) no-repeat; background-size: 2400% auto; background-position: 32.2% 10.7%; image-rendering: pixelated; }
.loupe[data-ui]::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border: 1.5px solid #fff; }
.picked[data-ui] { position: absolute; left: calc(32.2% + 52px); top: calc(28.9% - 22px); display: grid; grid-template-columns: auto auto; column-gap: 8px; align-items: center; padding: 7px 11px 7px 7px; background: #fff; border-radius: 10px; font: 600 14px var(--font-ui); color: #1d1d1f; box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
.picked__chip { grid-row: span 2; width: 28px; height: 28px; border-radius: 7px; background: #5E8438; }
.picked small { font-weight: 400; font-size: 12px; color: #55555a; }
.mod__proof--editor { aspect-ratio: 360 / 240; background: #232527; }
.mod__proof--editor img { object-position: 50% 30%; }
.crop[data-ui] { position: absolute; left: 12%; top: 13%; width: 76%; height: 64%; outline: 9999px solid rgba(0,0,0,0.5); border: 1.5px solid #fff; }
.crop i { position: absolute; width: 16px; height: 16px; border: 0 solid #fff; }
.crop i:nth-child(1) { left: -3px; top: -3px; border-width: 4px 0 0 4px; }
.crop i:nth-child(2) { right: -3px; top: -3px; border-width: 4px 4px 0 0; }
.crop i:nth-child(3) { left: -3px; bottom: -3px; border-width: 0 0 4px 4px; }
.crop i:nth-child(4) { right: -3px; bottom: -3px; border-width: 0 4px 4px 0; }
.crop__label[data-ui] { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); padding: 5px 10px; border-radius: 999px; background: #3a3c3f; color: #e8e8ea; font: 12px var(--font-ui); white-space: nowrap; }
.mod__proof--batch { padding: 14px; }
.batch li { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 6px 4px; font-size: var(--step-small); }
.batch img { width: 40px; height: 40px; object-fit: cover; border-radius: 5px; }
.batch .num { font-variant-numeric: tabular-nums; color: var(--accent); white-space: nowrap; }
.index { margin: clamp(5rem, 9vw, 8rem) 0 0; padding: clamp(1.75rem, 3.5vw, 3.25rem); background: var(--surface); border-radius: var(--radius); }
.index__title { font-size: var(--step-sub); }
.index__cols { margin-top: 2rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem 2rem; }
.index__group h4 { font-size: var(--step-body); font-weight: 600; color: var(--soft); margin: 0 0 0.75rem; }
.index__group ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.625rem; font-size: var(--step-body); }
.index__group li { display: flex; align-items: center; gap: 0.75rem; }
.index__group .ticon { width: 2rem; height: 2rem; }

/* ---------- letter ---------- */
.letter { padding: var(--section) var(--margin); }
.letter__body { max-width: 540px; margin-inline: auto; }
.letter__mark { width: 64px; height: auto; margin-bottom: 2rem; }
.letter__body p { line-height: 1.6; }
.letter__body p + p { margin-top: 1.25rem; }
.letter__sign { margin-top: 2.5rem !important; font-size: var(--step-sub); font-weight: 500; }
.letter__sign small { display: block; font-size: var(--step-small); color: var(--soft); font-weight: 400; }

/* ---------- questions ---------- */
.faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2rem; padding: var(--section) var(--margin) 0; }
.faq__title { grid-column: 1 / 4; font-size: var(--step-h2); }
.faq__text { grid-column: 5 / -1; columns: 2; column-gap: 56px; }
.faq__text p { break-inside: avoid; margin-bottom: 1.25rem; line-height: 1.55; }
.faq__text strong { font-weight: 600; }

/* ---------- footer ---------- */
.footer { margin-top: 30svh; padding: 0 var(--margin) 30px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline; gap: 1rem 2rem; font-size: var(--step-small); }
.footer__credits { grid-column: 1 / -1; margin-bottom: 1.5rem; max-width: 62ch; color: var(--soft); }
.footer__what, .footer__year { color: var(--soft); }
.footer__year { justify-self: end; }
.footer__links { display: flex; gap: 24px; }

/* ---------- desktop with script: the screens live in the sticky stage ---------- */
@media (min-width: 1000px) {
  .js .split__read .screen { display: none; }
  .stage .screen { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 700ms ease, visibility 0s linear 700ms; }
  .stage .screen.is-active { opacity: 1; visibility: visible; transition: opacity 700ms ease, visibility 0s; }
}
/* desktop without script: no stage; each block shows its own screen */
html:not(.js) .split__stage { display: none; }
html:not(.js) .split { grid-template-columns: 1fr; }
html:not(.js) .split__read .screen, .split__read .screen { height: 62svh; min-height: 420px; margin-top: 2.5rem; border-radius: var(--radius); }

/* ---------- tablet and phone: one column, each section with its own screen ---------- */
@media (max-width: 999px) {
  .split { grid-template-columns: 1fr; }
  .split__stage { display: none; }
  .block { min-height: 0; padding-block: 4.5rem; }
  .block--hero { padding-bottom: 3rem; }
  .outputs, .faq { display: block; }
  .outputs__names { position: static; }
  .outputs__names [role=tablist] { flex-direction: row; overflow-x: auto; gap: 1.25rem; scroll-snap-type: x mandatory; padding-bottom: 0.5rem; }
  .outputs__names button { font-size: 1.375rem; white-space: nowrap; scroll-snap-align: start; }
  .outputs__note { margin-top: 1rem; }
  .outputs__stage { margin-top: 1.5rem; height: 70svh; }
  .sheet[data-ui] { inset: 20px 0 0 20px; }
  .md-source { display: none; }
  .sheet[data-ui] .page--doc { margin: 0; }
  .sheet[data-ui] .page { width: 460px; padding: 32px 30px 48px; }
  .more__title, .mod { margin-left: 0; }
  .index__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq__text { columns: 1; margin-top: 1.5rem; }
}
@media (max-width: 640px) {
  :root { --pad: 1.25rem; --margin: 1.25rem; }
  .nav { height: 72px; }
  .nav__brand img { width: 120px; }
  .nav__end { gap: 1.25rem; }
  .nav .lang { display: none; }
  .hero__title { font-size: 10vw; }
  .split__read .screen { height: 60svh; min-height: 400px; }
  .screen__left span, .screen__left strong { display: none; }
  .screen__bar[data-ui]::after { width: 110px; margin-left: -55px; }
  .screen__desk { padding: 16px; }
  .launcher[data-ui] { width: 100%; margin-top: 4%; }
  .pmenu[data-ui] { display: none; }
  .win[data-ui] { width: 100%; }
  .win--tall[data-ui] { width: 78%; }
  .screen__desk--tiled { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
  .tray[data-ui] { flex-wrap: wrap; justify-content: flex-end; max-width: 100%; }
  .mod { grid-template-columns: 1fr; }
  .index__cols { grid-template-columns: 1fr; }
  .plan { padding: 2rem var(--pad); }
  .plan__price { flex-wrap: wrap; }
  .plan__price strong { font-size: min(22vw, 5.5rem); }
  .footer .lang__menu { left: -0.625rem; right: auto; }
  .feed { display: block; }
  .plan .feed { justify-self: stretch; }
  .bamboo { width: 100%; padding: 0 4.75rem 0 2.4rem; }
  .bamboo__plan { display: none; }
  .footer { margin-top: 20svh; grid-template-columns: 1fr; gap: 8px; padding-bottom: 24px; }
  .footer__year { justify-self: start; justify-content: flex-start; }
  .footer__links { flex-wrap: wrap; }
}

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) and (min-width: 1000px) {
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--n, 0) * var(--stagger-item)); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  /* Each state's piece settles as it arrives on the stage. */
  .stage .screen .screen__desk > * { transition: transform 900ms var(--ease-out); }
  .stage .screen:not(.is-active) .screen__desk > * { transform: translateY(18px) scale(0.98); }
  .stage .screen:not(.is-active) .screen__bar--black { background: #1E2D27; }
  .stage .screen.is-active .big-panda { animation: munch 1.6s ease-in-out infinite; }
  .feed:hover .feed__panda, .feed:focus-within .feed__panda { transform: translateY(3px) rotate(-4deg); }
  .feed:hover .bamboo__leaf { transform: rotate(-22deg); }
  .feed.is-eating .bamboo__bite { animation: bite 260ms var(--ease-out) forwards; }
  .feed.is-eating .feed__panda { animation: chew 500ms ease-in-out 200ms 2 alternate; }
  .screen.is-eating .big-bamboo b { animation: bite 300ms var(--ease-out) forwards; }
}
@keyframes bite { to { opacity: 1; transform: none; } }
@keyframes chew { from { transform: translateY(3px); } to { transform: translateY(-1px) rotate(3deg); } }
@keyframes munch { 0%, 100% { transform: none; } 50% { transform: translateY(2%) rotate(-1.5deg); } }

/* ---------- privacy and terms ---------- */
.doc-nav, .doc-footer { display: flex; align-items: center; gap: 1.5rem; max-width: 46rem; margin: 0 auto; padding: 0 var(--margin, 1.25rem); }
.doc-nav { height: 88px; justify-content: space-between; font-size: var(--step-small); }
.doc-nav img { width: 128px; height: auto; }
.doc-nav a, .doc-footer a { text-underline-offset: 0.3em; }
.doc { max-width: 46rem; margin: 0 auto; padding: clamp(2rem, 6vw, 5rem) var(--margin, 1.25rem) 0; }
.doc h1 { font-size: var(--step-display); line-height: 1.05; letter-spacing: -0.035em; font-weight: 600; }
.doc__lead { margin-top: 1.25rem; font-size: 1.375rem; line-height: 1.4; max-width: 34ch; }
.doc__date { margin-top: 1rem; color: var(--soft); font-size: var(--step-small); }
.doc h2 { margin-top: 3rem; font-size: 1.375rem; font-weight: 600; letter-spacing: -0.01em; }
.doc p { margin-top: 0.75rem; max-width: 62ch; }
.doc ul { margin-top: 0.75rem; max-width: 62ch; padding-left: 1.25rem; list-style: disc; }
.doc li { margin-top: 0.5rem; }
.doc-footer { flex-wrap: wrap; margin-top: 8rem; padding-bottom: 2rem; font-size: var(--step-small); color: var(--soft); }
.doc-footer span { margin-left: auto; }
