/* Pome site, direction A « Papier » (Saad, 23/11/2026). Sister of the Tasktak site: paper, a serif set like a
   magazine, mono labels. One colour: the indigo of the app icon (the ink of the notes). Light by default, an
   indigo night for dark mode. No kit: this file is the whole look. */

:root {
  --paper: #f4efe4; --paper-2: #ebe4d4; --sheet: #fbf8f1; --ink: #1d1b17; --ink-2: #4a443a; --muted: #776f62;
  --accent: #3a3492; --accent-2: #4b3fa0; --hl: rgb(255 205 80 / .5); --tape: rgb(215 200 150 / .55);
  --line: color-mix(in oklab, var(--ink) 13%, transparent); --shadow: rgb(60 40 10); --frame: #1d1b17;
  --serif: "Newsreader", Georgia, serif; --sans: "Geist", system-ui, sans-serif; --mono: "Geist Mono", ui-monospace, monospace;
  --hand: "Caveat", "Segoe Print", cursive;
  --wrap: 1200px; --gut: clamp(16px, 4vw, 48px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --paper: #17140f; --paper-2: #201c15; --sheet: #1f1c17; --ink: #efe8da; --ink-2: #c9bfad; --muted: #968b78;
  --accent: #aaa3f5; --accent-2: #8e84f0; --hl: rgb(230 180 60 / .3); --tape: #6b5d2c; --shadow: rgb(0 0 0); --frame: #0c0a07; color-scheme: dark;
} }
:root[data-theme="dark"] {
  --paper: #17140f; --paper-2: #201c15; --sheet: #1f1c17; --ink: #efe8da; --ink-2: #c9bfad; --muted: #968b78;
  --accent: #aaa3f5; --accent-2: #8e84f0; --hl: rgb(230 180 60 / .3); --tape: #6b5d2c; --shadow: rgb(0 0 0); --frame: #0c0a07; color-scheme: dark;
}
html:lang(ja) { --serif: "Newsreader", "Noto Serif JP", serif; --hand: "Klee One", cursive; }
html:lang(zh-Hans) { --serif: "Newsreader", "Noto Serif SC", serif; --hand: "Ma Shan Zheng", cursive; }
html:lang(ko) { --serif: "Newsreader", "Noto Serif KR", serif; --hand: "Nanum Pen Script", cursive; }

* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.55 var(--sans); background: var(--paper); }
a { color: inherit; }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.mono { font: 400 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 50; padding: 10px 14px; border-radius: 8px; background: var(--ink); color: var(--paper); }
.skip:focus { top: 10px; }
h1, h2, h3 { font-weight: 400; }
h1 em, h2 em { font-style: italic; }
.hand { font-family: var(--hand); font-weight: 500; color: var(--accent); }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 0; background: var(--ink); color: var(--paper);
  font: 500 15px/1 var(--sans); text-decoration: none; cursor: pointer; transition: transform .15s ease-out; -webkit-tap-highlight-color: transparent; }
@media (hover: hover) { .btn:hover { transform: translateY(-1px); } }
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; }

/* ---------------------------------------------------------------- nav: a running head */
.nav { position: sticky; top: 0; z-index: 30; background: color-mix(in oklab, var(--paper) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 60px; }
.brand { display: flex; align-items: center; gap: 8px; font: 500 21px/1 var(--serif); letter-spacing: -.01em; text-decoration: none; }
.mark { width: 24px; height: 24px; color: var(--accent); }
.nav__links { display: flex; gap: 22px; margin-inline-start: auto; font-size: 15px; }
.nav__links a { text-decoration: none; color: var(--ink-2); white-space: nowrap; }
.nav__links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--accent); }
.nav__tools { display: flex; align-items: center; gap: 8px; }
.icon-btn { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--ink); cursor: pointer; }
.icon-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.theme .sun { display: none; }
:root[data-theme="dark"] .theme .sun { display: block; } :root[data-theme="dark"] .theme .moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme .sun { display: block; } :root:not([data-theme="light"]) .theme .moon { display: none; } }
.lang { font: 500 13px/1 var(--mono); color: var(--ink-2); }
.langs { position: relative; }
.langs summary { list-style: none; cursor: pointer; display: grid; place-items: center; min-width: 38px; height: 38px; }
.langs summary::-webkit-details-marker { display: none; }
.langs ul { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 40; min-width: 200px; margin: 0; padding: 6px; list-style: none; border-radius: 10px;
  background: var(--sheet); border: 1px solid var(--line); box-shadow: 0 18px 40px -20px color-mix(in oklab, var(--shadow) 50%, transparent); }
.langs a { display: block; padding: 9px 12px; border-radius: 6px; color: var(--ink); text-decoration: none; font: 400 15px/1.2 var(--sans); }
.langs a:hover, .langs a:focus-visible { background: var(--paper-2); color: var(--accent); }

/* ---------------------------------------------------------------- hero */
/* Plain paper with a fine grain and a soft pool of light behind the book (Saad, 23/11/2026: the Seyès ruling of
   Tasktak read as a school notebook; chosen over laid paper and a book edge). */
.hero { position: relative; padding: 64px 0 40px; overflow: hidden; background: radial-gradient(70% 60% at 50% 70%, color-mix(in oklab, var(--sheet) 70%, transparent), transparent 70%), var(--paper); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 300px; background: linear-gradient(transparent, var(--paper)); pointer-events: none; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .27 0 0 0 0 .15 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero::before { mix-blend-mode: screen; opacity: .55; filter: invert(1); } }
:root[data-theme="dark"] .hero::before { mix-blend-mode: screen; opacity: .55; filter: invert(1); }
.hero > .wrap { position: relative; z-index: 1; }
.hero__head { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: end; }
.kicker { display: flex; gap: 16px; color: var(--accent); }
.hero h1 { font: 400 clamp(48px, 7.2vw, 96px)/.98 var(--serif); letter-spacing: -.022em; margin: 18px 0 0; text-wrap: balance; }
.hero h1 em { display: block; color: var(--accent); }
.cjk .hero h1 { font-size: clamp(40px, 5.6vw, 76px); line-height: 1.15; letter-spacing: 0; }
.hero__side p { font-size: 18px; color: var(--ink-2); margin: 0 0 22px; max-width: 36ch; }
.facts { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 4px; }
.facts li::before { content: "— "; }

.desk { position: relative; max-width: 720px; margin: 72px auto 0; padding-bottom: 48px; }
.sheet { transform: rotate(-1.1deg); border-radius: 3px; box-shadow: 0 1px 0 var(--line), 0 34px 64px -34px color-mix(in oklab, var(--shadow) 60%, transparent); }
.tape { position: absolute; top: -14px; z-index: 2; width: 112px; height: 30px; background: var(--tape); }
.tape--l { inset-inline-start: 64px; transform: rotate(-6deg); } .tape--r { inset-inline-end: 64px; transform: rotate(5deg); }
.note { position: absolute; width: 170px; margin: 0; font: 500 23px/1.1 var(--hand); color: var(--muted); }
.note svg { display: block; width: 90px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-top: 4px; }
.note--l { inset-inline-start: -200px; top: 150px; }
.note--r { inset-inline-end: -200px; top: 70px; text-align: end; }
.note--r svg { margin-inline-start: auto; }

/* ---------------------------------------------------------------- the book page */
.book { --bp: var(--sheet); background: var(--bp); color: var(--ink); font: 400 17px/1.64 var(--serif); padding: 44px 52px 40px; border-radius: 3px; position: relative; overflow: hidden; }
.book__run { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 26px; font: 500 10px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.book p { margin: 0; text-align: justify; hyphens: auto; text-indent: 1.4em; }
.book p.cont { text-indent: 0; }
.book--plain p { text-align: start; text-indent: 0; }
.book mark, .margin .hl, .card--quote mark { color: inherit; background: linear-gradient(transparent 10%, var(--hl) 10%, var(--hl) 90%, transparent 90%); background-repeat: no-repeat; }
.book mark { background-size: 0 100%; transition: background-size 1.1s cubic-bezier(.3, .7, .2, 1) .15s; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.book.is-on mark { background-size: 100% 100%; }
.gap { height: 0; position: relative; transition: height .9s cubic-bezier(.22, 1, .36, 1) .9s; }
.book.is-on .gap { height: 96px; }
.gap .hand { position: absolute; inset-inline-start: 1.4em; top: 12px; font-size: 26px; line-height: 1.15; white-space: nowrap;
  clip-path: inset(0 100% 0 0); transition: clip-path 2.2s steps(36, end) 1.6s; }
.gap .hand small { display: block; font-size: 21px; opacity: .8; }
.book.is-on .gap .hand { clip-path: inset(0 0 0 0); }
.cjk .gap .hand { font-size: 21px; } .cjk .gap .hand small { font-size: 17px; }
.book__foot { margin-top: 22px; text-align: center; font: 500 10px/1 var(--mono); color: var(--muted); }

/* ---------------------------------------------------------------- ticker */
.ticker { border-block: 1px solid var(--line); overflow: hidden; padding: 14px 0; }
.ticker__row { display: flex; gap: 40px; width: max-content; margin: 0; padding: 0; list-style: none; animation: tick 60s linear infinite; font: 400 italic 22px/1 var(--serif); color: var(--ink-2); }
.ticker__row li { display: flex; align-items: center; gap: 40px; white-space: nowrap; }
.ticker__row li::after { content: "✶"; font: 400 12px/1 var(--sans); color: var(--accent); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- sections */
.section { padding: clamp(72px, 10vw, 128px) 0; border-bottom: 1px solid var(--line); }
.label { display: flex; gap: 14px; margin: 0 0 18px; }
.label span:first-child { color: var(--accent); }
.soon { padding: 3px 8px; border-radius: 999px; background: color-mix(in oklab, var(--accent) 14%, transparent); color: var(--accent); }
.section h2 { font: 400 clamp(34px, 4.6vw, 56px)/1.04 var(--serif); letter-spacing: -.015em; margin: 0 0 22px; text-wrap: balance; }
.section h2 em { display: block; color: var(--muted); }
.cjk .section h2 { line-height: 1.25; letter-spacing: 0; font-size: clamp(28px, 3.8vw, 46px); }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--rev .split__text { order: 2; }
.split__text > p { font-size: 18px; color: var(--ink-2); max-width: 44ch; margin: 0; }
.points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.points li { position: relative; padding-inline-start: 26px; }
.points li::before { content: ""; position: absolute; inset-inline-start: 0; top: .72em; width: 14px; height: 1.5px; background: var(--accent); border-radius: 2px; }
figure { margin: 0; }

/* 01 · every way to annotate: six cards, each a scrap of the book's own page */
.sec__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.sec__head h2 { margin: 0; }
.sec__head p { margin: 0; font-size: 18px; color: var(--ink-2); max-width: 46ch; }
.ways { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
.way h3 { font: 500 21px/1.2 var(--serif); margin: 20px 0 6px; }
.way > p { margin: 0; color: var(--ink-2); font-size: 15.5px; max-width: 34ch; }
.way__page { position: relative; height: 210px; overflow: hidden; background: var(--sheet); border-radius: 4px; padding: 22px 24px; box-shadow: 0 1px 0 var(--line), 0 22px 44px -30px color-mix(in oklab, var(--shadow) 60%, transparent);
  font: 400 14px/1.6 var(--serif); color: var(--ink-2); transition: transform .5s cubic-bezier(.22, 1, .36, 1); }
.way__page::after { content: ""; position: absolute; inset: auto 0 0; height: 40px; background: linear-gradient(transparent, var(--sheet)); }
.way__page p { margin: 0; text-align: justify; hyphens: auto; }
.way:nth-child(odd) .way__page { transform: rotate(-.6deg); } .way:nth-child(even) .way__page { transform: rotate(.5deg); }
@media (hover: hover) { .way:hover .way__page { transform: rotate(0) translateY(-3px); } }
.way__under { display: block; font-size: 22px; line-height: 1.1; padding: 8px 0 10px; }
.cjk .way__under { font-size: 18px; }
.way__page--margin { padding-inline-end: 108px; }
.way__margin { position: absolute; inset-inline-end: 10px; top: 34px; width: 78px; font-size: 19px; line-height: 1.05; transform: rotate(-4deg); }
.way__margin svg { position: absolute; inset-inline-start: -16px; top: -6px; width: 10px; height: 74px; fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-linecap: round; }
.way .hl { background: linear-gradient(transparent 10%, var(--hl) 10%, var(--hl) 90%, transparent 90%); color: var(--ink); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.way .ul { text-decoration: underline wavy var(--accent); text-decoration-thickness: 1.4px; text-underline-offset: 4px; }
.way__block { display: block; margin: 10px 0 12px; padding: 8px 12px; border: 1.5px solid color-mix(in oklab, var(--accent) 55%, transparent); border-radius: 8px; font-size: 19px; line-height: 1.15; }
.cjk .way__block { font-size: 16px; }
.way__page--draw p { opacity: .55; }
.way__doodle { position: absolute; inset-inline-end: 16px; bottom: 18px; width: 120px; height: 90px; z-index: 1; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.way__doodle path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s ease-out .3s; }
.ways.is-in .way__doodle path { stroke-dashoffset: 0; }
.way__page--inks { display: grid; align-content: center; gap: 22px; }
.way__page--inks::after { display: none; }
.inks { display: flex; gap: 12px; }
.inks i { width: 26px; height: 26px; border-radius: 999px; background: var(--c); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .2); }
.inks i:nth-child(2) { outline: 2px solid var(--accent); outline-offset: 3px; }
.strokes { width: 100%; height: 60px; fill: none; stroke: var(--accent); stroke-linecap: round; }
.eraser { position: absolute; inset-inline-end: 22px; top: 22px; width: 34px; height: 20px; border-radius: 5px; background: color-mix(in oklab, var(--ink) 12%, var(--sheet)); border: 1px solid var(--line); transform: rotate(-18deg); }
.others { margin: 48px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15.5px; }

/* highlight colours of the app (yellow, green, pink, blue) */
:root { --hl-y: rgb(255 205 80 / .5); --hl-g: rgb(120 200 120 / .38); --hl-p: rgb(245 130 170 / .35); --hl-b: rgb(110 170 240 / .35); }
.hl--y { --hl: var(--hl-y); } .hl--g { --hl: var(--hl-g); } .hl--p { --hl: var(--hl-p); } .hl--b { --hl: var(--hl-b); }
mark.hl { color: inherit; background: linear-gradient(transparent 10%, var(--hl) 10%, var(--hl) 90%, transparent 90%); }
.swatches { position: absolute; inset-inline-end: 14px; bottom: 12px; z-index: 2; display: flex; gap: 6px; }
.sw { display: inline-block; width: 14px; height: 14px; border-radius: 999px; flex: none; }
.sw--y { background: #f5c445; } .sw--g { background: #6cc07a; } .sw--p { background: #f08bb0; } .sw--b { background: #6ea8f0; } .sw--ink { background: var(--accent); }
.way .ul { text-decoration: underline solid var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.way__block { position: relative; }
.grip { position: absolute; width: 8px; height: 8px; border-radius: 2px; background: var(--sheet); border: 1.5px solid var(--accent); }
.grip--tl { left: -5px; top: -5px; } .grip--br { right: -5px; bottom: -5px; }
.fold { position: absolute; right: 8px; top: 4px; font: 400 12px/1 var(--sans); font-style: normal; color: var(--accent); }
.pin { display: inline-grid; place-items: center; width: 18px; height: 18px; margin: 0 3px; border-radius: 5px; background: var(--hl-y); font: 400 11px/1 var(--sans); color: var(--ink); vertical-align: 1px; }
.typed, .voice { position: relative; z-index: 2; display: flex; gap: 8px; align-items: center; margin-top: 10px; padding: 7px 10px; border-radius: 9px; background: var(--paper-2); font: 400 13px/1.3 var(--sans); color: var(--ink); }
.typed .mono, .voice .mono { font-size: 10px; }
.voice__mic { color: #d9462b; font-size: 10px; }
.voice .player__wave i { background: var(--accent); }
.pens { display: flex; flex-wrap: wrap; gap: 6px; }
.pens span { padding: 5px 9px; border-radius: 999px; border: 1px solid var(--line); font-size: 10.5px; color: var(--ink-2); }
.pens span.on { background: var(--accent); border-color: var(--accent); color: var(--sheet); }
.strokes .lasso { stroke-dasharray: 4 4; opacity: .7; }

/* 02 · finding one's notes */
.notes { background: var(--sheet); border-radius: 16px; padding: 20px 22px 14px; box-shadow: 0 30px 60px -40px color-mix(in oklab, var(--shadow) 60%, transparent); }
.notes__head { display: flex; justify-content: space-between; align-items: baseline; }
.notes__head b { font: 500 22px/1 var(--serif); }
.notes__export { color: var(--accent); }
.notes__filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 6px; }
.notes__filters span { padding: 5px 10px; border-radius: 999px; background: var(--paper-2); font-size: 10.5px; }
.notes__filters span.on { background: var(--ink); color: var(--sheet); }
.notes__list { list-style: none; margin: 0; padding: 0; }
.notes__list li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--line); font: 400 15px/1.45 var(--serif);
  opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s cubic-bezier(.22, 1, .36, 1); }
.notes__list li:nth-child(2) { transition-delay: .12s; } .notes__list li:nth-child(3) { transition-delay: .24s; } .notes__list li:nth-child(4) { transition-delay: .36s; }
.notes.is-in .notes__list li { opacity: 1; transform: none; }
.notes__list .hand { font-size: 21px; line-height: 1.1; }
.cjk .notes__list .hand { font-size: 17px; }
.notes__list small { font-size: 10px; }

/* 03 · the device's own intelligence */
.items { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.items li { padding-inline-start: 18px; border-inline-start: 2px solid color-mix(in oklab, var(--accent) 50%, transparent); }
.items h3 { font: 500 19px/1.25 var(--serif); margin: 0 0 4px; }
.items p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.ai__soon { margin: 26px 0 0; font-size: 15.5px; color: var(--ink-2); }
.ai__note { margin: 8px 0 0; font-size: 13.5px; color: var(--muted); }
.sheet2 { background: var(--sheet); border-radius: 18px; padding: 22px 24px; display: grid; gap: 14px; box-shadow: 0 30px 60px -40px color-mix(in oklab, var(--shadow) 60%, transparent); }
.sheet2__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sheet2__head b { font: 500 20px/1.2 var(--serif); }
.sheet2__head .mono { color: var(--accent); font-size: 10.5px; }
.sheet2__quote { margin: 0; font: 400 17px/1.5 var(--serif); }
.sheet2__text { margin: 0; padding: 14px 16px; border-radius: 12px; background: color-mix(in oklab, var(--accent) 9%, var(--sheet)); font-size: 15.5px; line-height: 1.55;
  clip-path: inset(0 0 100% 0); transition: clip-path 1.6s cubic-bezier(.3, .7, .2, 1) .4s; }
.sheet2.is-in .sheet2__text { clip-path: inset(0 0 0 0); }

/* 04 · reading themes */
.player__speed { margin-inline-start: auto; }
.themes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 22px; }
.theme { display: grid; justify-items: center; gap: 6px; padding: 12px 6px 8px; border-radius: 10px; border: 1px solid var(--line); }
.theme i { font: italic 400 22px/1 "Newsreader", serif; }
.theme small { font-size: 9.5px; }
.theme--0 { background: #ffffff; color: #1d1b17; } .theme--1 { background: #f4ead5; color: #4a3a22; }
.theme--2 { background: #1c1c1e; color: #e8e6e1; } .theme--3 { background: #18233b; color: #d7def0; }
.theme small { color: inherit; opacity: .7; }

/* 05 · the book's board (soon) */
.board { position: relative; min-height: 420px; border-radius: 16px; background-color: var(--paper-2);
  background-image: radial-gradient(color-mix(in oklab, var(--ink) 18%, transparent) 1px, transparent 1px); background-size: 20px 20px; overflow: hidden; }
.board__links { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 5 6; opacity: .65; }
.board__links path { vector-effect: non-scaling-stroke; }
.card { position: absolute; width: min(210px, 46%); padding: 12px 14px 10px; border-radius: 12px; background: var(--sheet); box-shadow: 0 10px 24px -14px color-mix(in oklab, var(--shadow) 55%, transparent);
  transition: transform .8s cubic-bezier(.22, 1, .36, 1), opacity .8s; opacity: 0; transform: translateY(14px) rotate(var(--r, 0deg)); }
.card .hand { display: block; font-size: 22px; line-height: 1.08; }
.cjk .card .hand { font-size: 18px; }
.card small { display: block; margin-top: 6px; font: italic 400 12.5px/1.35 var(--serif); color: var(--muted); }
.card--0 { inset-inline-start: 6%; top: 9%; --r: -2deg; }
.card--1 { inset-inline-start: 58%; top: 40%; --r: 1.5deg; transition-delay: .15s; }
.card--2 { inset-inline-start: 26%; top: 68%; --r: -1deg; transition-delay: .3s; }
.card--quote { inset-inline-start: 52%; top: 7%; width: min(220px, 42%); font: 400 14px/1.45 var(--serif); --r: 2deg; transition-delay: .45s; }
.board__tag { position: absolute; inset-inline-end: 16px; bottom: 12px; }
.board.is-in .card { opacity: 1; transform: translateY(0) rotate(var(--r, 0deg)); }

/* 03 · listen, and the word card */
.listen { position: relative; background: var(--sheet); border-radius: 16px; padding: 26px 30px 30px; box-shadow: 0 30px 60px -40px color-mix(in oklab, var(--shadow) 60%, transparent); }
.player { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; color: var(--accent); }
.player__play { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; background: var(--accent); color: var(--sheet); font-size: 10px; letter-spacing: -1px; }
.player__wave { display: flex; gap: 3px; align-items: center; height: 16px; }
.player__wave i { width: 3px; border-radius: 2px; background: var(--accent); height: 40%; animation: wave 1.1s ease-in-out infinite; }
.player__wave i:nth-child(2) { animation-delay: -.2s; } .player__wave i:nth-child(3) { animation-delay: -.5s; } .player__wave i:nth-child(4) { animation-delay: -.7s; } .player__wave i:nth-child(5) { animation-delay: -.9s; }
@keyframes wave { 50% { height: 100%; } }
.listen__text { margin: 0; font: 400 22px/1.55 var(--serif); color: var(--ink-2); }
.listen__text span { transition: color .2s, background-color .2s; border-radius: 3px; }
.listen__text span.is-read { color: var(--ink); }
.listen__text span.is-now { background: color-mix(in oklab, var(--accent) 18%, transparent); color: var(--ink); }
.listen figcaption { margin-top: 12px; }

/* 04 · devices */
.devices__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.devices__head h2 { margin: 0; }
.devices__head p { margin: 0; font-size: 18px; color: var(--ink-2); max-width: 44ch; }
.devices { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1.25fr .7fr 1.5fr; gap: 32px; align-items: end; }
.dev h3 { font: 500 22px/1.1 var(--serif); margin: 22px 0 6px; }
.dev p { margin: 0; color: var(--ink-2); }
.dev__frame { background: var(--frame); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--ink) 14%, transparent); padding: 9px; border-radius: 20px; }
.dev--1 .dev__frame { border-radius: 24px; padding: 7px; }
.dev--2 .dev__frame { border-radius: 12px 12px 4px 4px; padding: 10px 10px 14px; position: relative; }
.dev--2 .dev__frame::after { content: ""; position: absolute; left: -7%; right: -7%; bottom: -12px; height: 12px; border-radius: 0 0 12px 12px; background: color-mix(in oklab, var(--frame) 70%, #8a8478); }
.dev__screen { position: relative; background: var(--sheet); border-radius: 12px; padding: 18% 14% 22%; display: grid; gap: 9px; aspect-ratio: 4 / 3; align-content: start; }
.dev--1 .dev__screen { aspect-ratio: 9 / 18; border-radius: 18px; padding: 30% 14%; }
.dev--2 .dev__screen { aspect-ratio: 16 / 10; border-radius: 4px; padding: 10% 22%; }
.dev__screen i { display: block; height: 5px; border-radius: 3px; background: color-mix(in oklab, var(--ink) 16%, transparent); }
.dev__screen i:nth-child(2) { width: 86%; } .dev__screen i:nth-child(4) { width: 92%; } .dev__screen i:nth-child(5) { width: 60%; }
.dev__screen i.hl { background: var(--hl); height: 7px; width: 0; transition: width .9s cubic-bezier(.3, .7, .2, 1); }
.devices.is-in .dev__screen i.hl { width: 78%; }
.dev--1 .dev__screen i.hl { transition-delay: .25s; } .dev--2 .dev__screen i.hl { transition-delay: .5s; }
.dev__screen span { position: absolute; bottom: 8%; left: 0; right: 0; text-align: center; font-size: 10px; }

/* 05 · price */
.price { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.price__card { background: var(--sheet); border-radius: 18px; padding: 32px 34px; border: 1px solid var(--line); }
.price__tag { color: var(--accent); margin: 0 0 10px; }
.price__now { font: 400 40px/1.05 var(--serif); margin: 0 0 18px; }
.price__card .points { margin-top: 0; }
.price__note { margin: 22px 0 0; color: var(--muted); font-size: 15px; border-top: 1px solid var(--line); padding-top: 16px; }

/* 06 · questions, every answer open */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 56px; }
.faq__item { padding: 22px 0; border-top: 1px solid var(--line); }
.faq__item h3 { font: 500 21px/1.25 var(--serif); margin: 0 0 8px; }
.faq__item p { margin: 0; color: var(--ink-2); max-width: 52ch; }

/* ---------------------------------------------------------------- close: the launch card, the footer */
.close { padding: clamp(64px, 9vw, 112px) 0 40px; }
.close__card { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; background: var(--accent-2); color: #f6f1e7; border-radius: 22px; padding: clamp(28px, 5vw, 56px);
  background-image: radial-gradient(120% 120% at 0% 0%, rgb(255 255 255 / .08), transparent 60%), linear-gradient(135deg, #2a2f6b, #4b3fa0); }
.close__card h2 { font: 400 clamp(32px, 4.2vw, 50px)/1.05 var(--serif); margin: 0 0 14px; letter-spacing: -.01em; }
.close__card h2 em { display: block; opacity: .72; }
.close__card p { margin: 0; color: rgb(246 241 231 / .75); }
.form { display: flex; flex-wrap: wrap; gap: 10px; }
.form input { flex: 1 1 220px; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid rgb(246 241 231 / .3); background: rgb(255 255 255 / .08); color: #f6f1e7; font: 400 16px var(--sans); }
.form input::placeholder { color: rgb(246 241 231 / .55); }
.form .btn { min-height: 48px; background: #f6f1e7; color: #23265a; }
.form__done { flex-basis: 100%; margin: 4px 0 0; font-size: 14px; min-height: 1.4em; }
.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding-top: 40px; color: var(--muted); font-size: 14px; }
.foot nav:not(.foot__langs) { display: flex; gap: 20px; margin-inline-start: auto; }
.foot a { text-decoration: none; } .foot a:hover { color: var(--accent); }
.foot .brand { color: var(--ink); }
.foot__langs { display: flex; flex-wrap: wrap; gap: 6px 16px; width: 100%; padding-top: 16px; border-top: 1px solid var(--line); }

/* ---------------------------------------------------------------- legal pages */
.legal h1 { font: 400 clamp(40px, 6vw, 64px)/1 var(--serif); margin: 0 0 18px; }
.legal__intro { font-size: 20px; color: var(--ink-2); max-width: 52ch; margin: 0 0 40px; }
.legal__item { max-width: 64ch; padding: 20px 0; border-top: 1px solid var(--line); }
.legal__item h2 { font: 500 22px/1.2 var(--serif); margin: 0 0 6px; }
.legal__item p { margin: 0; color: var(--ink-2); }

/* ---------------------------------------------------------------- narrow screens */
@media (max-width: 1100px) { .note { display: none; } .nav__links { display: none; } .nav__tools { margin-inline-start: auto; } }
@media (max-width: 1100px) and (min-width: 861px) { .ways { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) {
  body { font-size: 16px; }
  .hero { padding-top: 40px; }
  .hero__head, .split, .devices__head, .price, .close__card { grid-template-columns: 1fr; gap: 28px; }
  .split--rev .split__text { order: 0; }
  .desk { margin-top: 44px; padding-bottom: 16px; }
  .sheet { transform: rotate(-.6deg); }
  .tape { width: 80px; height: 24px; } .tape--l { inset-inline-start: 24px; } .tape--r { inset-inline-end: 24px; }
  .book { font-size: 15.5px; padding: 28px 22px 26px; }
  .gap .hand { inset-inline-start: 0; inset-inline-end: 0; white-space: normal; font-size: 22px; } .gap .hand small { font-size: 18px; }
  .book.is-on .gap { height: 112px; }
  .sec__head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 36px; }
  .ways { grid-template-columns: 1fr; gap: 36px; }
  .board { min-height: 360px; }
  .card { width: 46%; } .card .hand { font-size: 19px; }
  .listen { padding: 22px 20px 26px; }
  .listen__text { font-size: 19px; }
  .devices { grid-template-columns: 1fr 1fr; }
  .dev--2 { grid-column: 1 / -1; }
  .faq { grid-template-columns: 1fr; }
  .nav__cta { display: none; }
}

/* ---------------------------------------------------------------- motion on scroll (Saad, 23/11/2026)
   Simple and quick: what enters the screen rises 14px and fades in once, siblings one after the other (--i, set by
   site.js). Each way of annotating then plays its own gesture. Only with JavaScript, never with reduced motion. */
:root { --ease-out: cubic-bezier(.22, 1, .36, 1); }
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.js .rv.is-in { opacity: 1; transform: none; }
.js .way.rv { transform: translateY(22px); }
.js .way.rv.is-in { transform: none; }

/* 1 · writing between the lines: the line opens, then the hand writes */
.js .way .way__under { max-height: 0; opacity: 0; padding-block: 0; clip-path: inset(0 100% 0 0);
  transition: max-height .7s var(--ease-out) .35s, padding .7s var(--ease-out) .35s, opacity .2s .9s, clip-path 1.4s steps(24, end) .9s; }
.js .way.is-in .way__under { max-height: 80px; opacity: 1; padding-block: 8px 10px; clip-path: inset(0 0 0 0); }
/* 2 · highlighting: the marker sweeps, one colour after the other */
.js .way .hl { background-repeat: no-repeat; background-size: 0 100%; transition: background-size .7s var(--ease-out); }
.js .way.is-in .hl { background-size: 100% 100%; }
.js .way .hl:nth-of-type(1) { transition-delay: .3s; } .js .way .hl:nth-of-type(2) { transition-delay: .6s; }
.js .way .hl:nth-of-type(3) { transition-delay: .9s; } .js .way .hl:nth-of-type(4) { transition-delay: 1.2s; }
.js .way .sw { transform: scale(0); transition: transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.js .way.is-in .sw { transform: scale(1); }
.js .way .sw--g { transition-delay: .08s; } .js .way .sw--p { transition-delay: .16s; } .js .way .sw--b { transition-delay: .24s; }
/* 3 · underlining: the line is drawn under the words */
.js .way .ul { text-decoration: none; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 2px no-repeat; padding-bottom: 2px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size .9s var(--ease-out) .5s; }
.js .way.is-in .ul { background-size: 100% 2px; }
/* 4 · the writing box: it settles, then its grips appear */
.js .way .way__block { opacity: 0; transform: scale(.92); transition: opacity .5s .4s, transform .6s cubic-bezier(.34, 1.4, .64, 1) .4s; }
.js .way.is-in .way__block { opacity: 1; transform: none; }
.js .way .grip, .js .way .fold { opacity: 0; transition: opacity .3s 1s; }
.js .way.is-in .grip, .js .way.is-in .fold { opacity: 1; }
/* 5 · typed and voice notes slide in, the pin drops */
.js .way .typed, .js .way .voice { opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .6s var(--ease-out); }
.js .way.is-in .typed { opacity: 1; transform: none; transition-delay: .4s; }
.js .way.is-in .voice { opacity: 1; transform: none; transition-delay: .65s; }
.js .way .pin { display: inline-block; transform: translateY(-8px); opacity: 0; transition: transform .5s cubic-bezier(.34, 1.56, .64, 1) .25s, opacity .3s .25s; }
.js .way.is-in .pin { transform: none; opacity: 1; }
/* 6 · pens: the tips pop one by one, the strokes are drawn, the lasso closes */
.js .way .pens span { opacity: 0; transform: scale(.8); transition: opacity .35s, transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.js .way.is-in .pens span { opacity: 1; transform: none; }
.js .way .pens span:nth-child(2) { transition-delay: .06s; } .js .way .pens span:nth-child(3) { transition-delay: .12s; }
.js .way .pens span:nth-child(4) { transition-delay: .18s; } .js .way .pens span:nth-child(5) { transition-delay: .24s; } .js .way .pens span:nth-child(6) { transition-delay: .3s; }
.js .way .strokes path[pathLength] { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s var(--ease-out); }
.js .way .strokes path[pathLength]:nth-child(1) { transition-delay: .5s; } .js .way .strokes path[pathLength]:nth-child(2) { transition-delay: .85s; }
.js .way.is-in .strokes path[pathLength] { stroke-dashoffset: 0; }
.js .way .strokes .lasso { opacity: 0; transition: opacity .6s 1.4s; }
.js .way.is-in .strokes .lasso { opacity: .7; }

/* the list of notes: filters light up in turn */
.js .notes .notes__filters span { opacity: 0; transition: opacity .4s; }
.js .notes.is-in .notes__filters span { opacity: 1; }
.js .notes .notes__filters span:nth-child(2) { transition-delay: .08s; } .js .notes .notes__filters span:nth-child(3) { transition-delay: .16s; } .js .notes .notes__filters span:nth-child(4) { transition-delay: .24s; }
/* reading themes: the swatches drop into place */
.js .themes .theme { opacity: 0; transform: translateY(10px) scale(.96); transition: opacity .45s, transform .55s cubic-bezier(.34, 1.4, .64, 1); }
.js .themes.is-in .theme { opacity: 1; transform: none; }
.js .themes .theme:nth-child(2) { transition-delay: .08s; } .js .themes .theme:nth-child(3) { transition-delay: .16s; } .js .themes .theme:nth-child(4) { transition-delay: .24s; }
/* the board's links are drawn after the cards land */
.js .board .board__links path { stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 1.4s var(--ease-out) .7s; }
.js .board.is-in .board__links path { stroke-dashoffset: 0; }

/* small hover answers, pointer only */
@media (hover: hover) {
  .themes .theme { transition: transform .25s var(--ease-out), box-shadow .25s; }
  .js .themes.is-in .theme:hover { transform: translateY(-3px); transition-delay: 0s; }
  .card:hover { z-index: 3; }
  .board.is-in .card:hover { transform: translateY(-4px) rotate(0deg); transition-delay: 0s; }
  .notes__list li { transition: background-color .2s; border-radius: 8px; }
  .notes.is-in .notes__list li:hover { background: var(--paper-2); }
  .faq__item h3 { transition: color .2s; } .faq__item:hover h3 { color: var(--accent); }
  .ticker:hover .ticker__row { animation-play-state: paused; }
  .nav__links a { background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 1.5px no-repeat; transition: background-size .3s var(--ease-out), color .2s; padding-bottom: 3px; }
  .nav__links a:hover { text-decoration: none; background-size: 100% 1.5px; }
  .btn:hover span[aria-hidden] { transform: translateX(3px); }
}
.btn span[aria-hidden] { display: inline-block; transition: transform .25s var(--ease-out); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .ticker__row { flex-wrap: wrap; width: auto; }
}
