@font-face {
  font-family: 'Public Sans'; src: url('/assets/font/public-sans-800-latin.woff2') format('woff2');
  font-style: normal; font-weight: 800; font-display: swap;
}
@font-face {
  font-family: Caveat; src: url('/assets/font/caveat-samples.woff2') format('woff2');
  font-weight: 700; font-display: swap;
}
:root {
  --blue: #2538bc;
  --deep: #17257e;
  --lime: #e0fd62;
  --white: #f8f9fe;
  --ice: #e9edff;
  --ink: #141938;
  --quiet: #444c70;
  --line: #b9c1e3;
  --rule-on-blue: #8290ee;
  --display: 'Public Sans', sans-serif;
  --body: system-ui, sans-serif;
  --reading: Georgia, serif;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --section: clamp(4rem, 9vw, 8rem);
  color: var(--ink); background: var(--white); font: 100%/1.6 var(--body);
  accent-color: var(--blue);
  scrollbar-color: var(--rule-on-blue) var(--ice);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
::selection { color: var(--ink); background: var(--lime); }
:focus-visible { outline: 3px solid var(--focus, var(--blue)); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .14em; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, p, figure, ul, ol, dl, dd { margin: 0; }
h1, h2, h3, .brand, .footer-brand { font-family: var(--display); font-weight: 800; }
h1, h2, h3 { line-height: 1.02; letter-spacing: -.04em; }
h2 { font-size: clamp(2.55rem, 5.1vw, 5rem); }
h3 { font-size: clamp(1.35rem, 2.25vw, 2rem); }
.wrap { width: min(100% - 2 * var(--gutter), 85rem); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; z-index: 4; top: .65rem; left: .65rem; padding: .5rem 1rem; background: var(--lime); color: var(--ink); }
.mast, .hero, .journal-band, .docs-head, .footer { background: var(--blue); color: var(--white); --focus: var(--lime); }
.mast-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.mast-inner { min-height: 4.75rem; border-bottom: 1px solid var(--rule-on-blue); }
.brand { display: inline-flex; align-items: center; gap: .55rem; line-height: 1.15; font-size: clamp(1.08rem, 2.2vw, 1.35rem); text-decoration: none; white-space: nowrap; }
.brand svg { color: var(--lime); flex: none; }
.mast nav, .footer nav { display: flex; align-items: center; gap: .4rem clamp(.8rem, 3vw, 2.75rem); flex-wrap: wrap; }
.mast nav a { display: inline-block; padding: .65rem 0; font-size: .9rem; font-weight: 650; text-decoration: none; }
.mast nav a:hover, .mast nav a[aria-current] { text-decoration: underline; }
.hero-grid { min-height: clamp(37rem, calc(100svh - 5rem), 57rem); display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: clamp(1rem, 3.5vw, 4rem); align-items: center; padding-block: clamp(2rem, 5vw, 4.5rem); }
.hero h1 { font-size: clamp(3.5rem, 7.2vw, 6rem); max-width: 10ch; }
.hero h1 span { color: var(--lime); }
.intro { max-width: 26ch; margin-top: 1.5rem; font-size: clamp(1.1rem, 2vw, 1.4rem); line-height: 1.45; }
.install { display: flex; align-items: center; gap: 1rem; margin-top: 1.85rem; }
.install span { font-size: .88rem; font-weight: 550; line-height: 1.4; }
.store { display: inline-block; flex: none; border-radius: .5rem; }
.store:hover { outline: 2px solid currentColor; outline-offset: 3px; }
.action { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 2.75rem; padding: .48rem .9rem; border: 1px solid var(--lime); background: var(--lime); color: var(--ink); font-weight: 750; }
.action:hover { background: var(--deep); color: var(--white); }
.action:disabled { cursor: progress; }
.action svg { flex: none; }
.plot { min-width: 0; }
.plot-stage { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); min-height: clamp(26rem, 40vw, 36rem); padding: clamp(.5rem, 2vw, 1.5rem); --paper-yellow: #fff2a0; --paper-pink: #ffd5e8; --paper-green: #ddf1ae; --paper-blue: #daecff; }
.plot-stage::before { content: ''; position: absolute; z-index: -1; inset: 0; border: 1px solid var(--rule-on-blue); background: var(--deep); }
.plot-column { display: grid; grid-template-rows: auto 1fr; min-width: 0; padding: 0 clamp(.25rem, .85vw, .8rem); }
.plot-column + .plot-column { border-left: 1px solid var(--rule-on-blue); }
.plot-column h2 { text-align: center; color: var(--lime); font: 750 clamp(.76rem, 1.38vw, 1.12rem)/1.4 var(--body); letter-spacing: 0; padding: 0 0 .65rem; }
.plot-column ul { display: grid; grid-template-rows: repeat(6, minmax(2.4rem, 1fr)); gap: clamp(.3rem, .76vw, .7rem); list-style: none; padding: 0; }
.sample {
  position: relative; display: grid; place-items: center; padding: .15rem .22rem; min-width: 0;
  color: var(--ink); background: var(--paper) url('/assets/tex/paper.webp') 0 0 / 220px; background-blend-mode: multiply; text-align: center;
  font: 700 clamp(1.22rem, 2.2vw, 2.12rem)/.94 Caveat, cursive;
  box-shadow: 0 4px 9px #0003; transform: rotate(var(--slant, -2deg));
}
.sample:nth-child(4n+1) { --paper: var(--paper-yellow); }
.sample:nth-child(4n+2) { --paper: var(--paper-pink); --slant: 1.8deg; }
.sample:nth-child(4n+3) { --paper: var(--paper-green); }
.sample:nth-child(4n) { --paper: var(--paper-blue); --slant: 1.6deg; }
.sample:nth-child(3n+1)::before, .sample:nth-child(3n+2)::before { content: ''; position: absolute; z-index: 1; top: -.18rem; }
.sample:nth-child(3n+1)::before { left: 28%; width: 28%; height: .55rem; background: #fffc; transform: rotate(-8deg); }
.sample:nth-child(3n+2)::before { left: 48%; width: .38rem; height: .38rem; border-radius: 50%; background: var(--blue); box-shadow: 0 1px 2px #0004; }
.plot-control { display: flex; justify-content: space-between; align-items: center; gap: .55rem; min-height: 3.4rem; margin: 0; padding-top: .45rem; color: var(--white); font-size: clamp(.78rem, 1.3vw, 1rem); }
.plot:not(.is-scattered) button svg { transform: rotate(180deg); }
@media (prefers-reduced-motion: no-preference) {
  .plot.is-scattered .plot-stage::before { visibility: hidden; }
  .plot.is-scattered .plot-column { border-color: transparent; }
  .plot.is-scattered .plot-column h2 { opacity: 0; }
  .plot.is-scattered .sample {
    position: absolute; z-index: 1; left: var(--x); top: var(--y); width: 29%; min-height: 12%;
    color: var(--paper); background: transparent; box-shadow: none; rotate: none;
    transform: translate(-50%, -50%) rotate(var(--turn)); font-size: clamp(1.15rem, 2.8vw, 2.8rem);
    text-wrap: balance;
  }
  .plot.is-scattered .sample::before { visibility: hidden; }
  .plot.is-scattered:not(.has-plotted) .sample span { animation: 3s cubic-bezier(.45,.03,.55,.97) drift; }
  .plot.is-scattered .sample:nth-child(even) span { --drift: -5px; }
  @keyframes drift { 45% { transform: translateY(var(--drift, 6px)) rotate(2deg); } }
}
.device-section { padding-block: var(--section); background: var(--ice); }
.duo-heading { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 1.5rem; margin-bottom: 2.25rem; }
.duo-heading p, .features-copy > p, .journal-promo p, .last-inner p { font-size: clamp(1.05rem, 1.7vw, 1.25rem); max-width: 40ch; }
.device-pair { display: grid; grid-template-columns: minmax(0, .30fr) minmax(0, .70fr); justify-items: center; align-items: center; gap: clamp(.6rem, 4.5vw, 4rem); padding: clamp(1rem, 4vw, 3.5rem); background: var(--deep); }
.cover-shot, .open-shot { border: clamp(2px, .52vw, 7px) solid var(--ink); border-radius: clamp(.5rem, 1.8vw, 1.75rem); }
figcaption { margin-top: .65rem; color: var(--quiet); font-size: .83rem; }
.device-caption { display: flex; gap: .55rem 2.5rem; flex-wrap: wrap; margin-top: 1.4rem; }
.media-heading { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; gap: 1rem 2rem; margin-bottom: clamp(1.5rem, 3.5vw, 3rem); }
.media-heading p { max-width: 40ch; font-size: clamp(1.05rem, 1.7vw, 1.25rem); }
.film { padding-bottom: var(--section); }
.film-stage { display: grid; aspect-ratio: 16 / 9; background: var(--deep); isolation: isolate; }
.film-stage > :is(img, video), .film-play { grid-area: 1 / 1; }
.film-stage > :is(img, video) { display: block; width: 100%; height: 100%; object-fit: contain; }
.film-play { z-index: 1; align-self: center; justify-self: center; }
.film-link { margin-top: .8rem; }
.features { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; padding-block: var(--section); }
.features-copy > p, .journal-promo p, .last-inner p { margin-top: .85rem; }
.feature-list, .privacy-note { margin-top: 2rem; }
.feature-list > div { border-top: 1px solid var(--line); padding-block: .8rem; }
.feature-list dt { font-weight: 750; }
.feature-list dd { max-width: 43ch; }
.live-paper { background: var(--blue); color: var(--white); --focus: var(--lime); padding-block: clamp(3rem, 7vw, 6rem); }
.scene-window { display: grid; width: 100%; aspect-ratio: 1000 / 640; max-width: 66rem; min-height: 17rem; margin-inline: auto; background: #181a25; border: clamp(.38rem, 1.05vw, .88rem) solid #181a25; border-radius: clamp(.9rem, 2vw, 2rem); box-shadow: 0 1.25rem 2.5rem #0004; isolation: isolate; overflow: hidden; position: relative; }
.scene-window > * { grid-area: 1 / 1; min-width: 0; min-height: 0; }
.scene-window > :is(img, canvas) { width: 100%; height: 100%; }
.scene-window img { object-fit: cover; }
.scene-window canvas { visibility: hidden; touch-action: none; }
.scene-window canvas[data-peel='ready'] { visibility: visible; }
.scene-play { z-index: 1; align-self: center; justify-self: center; }
.scene-play:focus-visible { --focus: var(--white); }
.scene-footer { max-width: 66rem; margin-inline: auto; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.scene-footer:not(:has(.scene-close[hidden])) { padding-top: .8rem; }
.scene-status:not(:empty) { padding-top: .75rem; }
.scene-close { background: none; border: none; color: inherit; text-decoration: underline; text-underline-offset: .2em; min-height: 2.75rem; margin-left: auto; }
.journal-band { padding-block: clamp(3rem, 6.5vw, 6rem); }
.journal-promo { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 2rem 6rem; }
.route-link, .route-list a { display: inline-flex; align-items: center; gap: .7rem; }
.route-link { margin-top: 1rem; min-height: 2.75rem; font-weight: 750; }
.route-link svg, .route-list svg { flex: none; }
.route-list { padding: 0; list-style: none; }
.route-list li { position: relative; border-top: 1px solid var(--rule-on-blue); }
.route-list li:last-child { border-bottom: 1px solid var(--rule-on-blue); }
.route-list a { display: flex; justify-content: space-between; padding: .95rem .1rem; font-weight: 680; text-decoration: none; }
.route-list a:hover { color: var(--lime); text-decoration: underline; }
.plans { padding-block: var(--section); }
.plan-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 4rem; margin-top: 1.75rem; }
.plan-columns > div { border-top: 1px solid var(--line); padding-top: 1rem; }
.plan-columns p { max-width: 55ch; margin-top: .6rem; }
.plan-prices { color: var(--quiet); font-size: .94rem; }
.privacy-note { border-top: 1px solid var(--line); padding-top: 1rem; }
.endorsement { border-top: 1px solid var(--line); padding-block: 2rem 3rem; }
.endorsement ul { display: grid; gap: 1.25rem; margin-top: 1.5rem; padding-left: 1.35rem; }
#testimonials ul { grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: 0; }
#testimonials li { border-top: 2px solid var(--blue); padding: .95rem .45rem .15rem 0; }
.endorsement blockquote { margin: 0; font: clamp(1.13rem, 2vw, 1.4rem)/1.45 var(--reading); overflow-wrap: anywhere; }
.endorsement figcaption { color: var(--quiet); font-weight: 650; }
.last-stop { background: var(--lime); padding-block: clamp(2.6rem, 6vw, 5.75rem); }
.last-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; }
.footer-inner { padding-block: 1.55rem; flex-wrap: wrap; }
.footer-brand { font-size: 1.25rem; text-decoration: none; }
.footer a:hover { color: var(--lime); }
.footer small { color: #e1e6ff; }
.docs-head { padding-block: clamp(2.75rem, 7vw, 6rem); }
.docs-head h1 { font-size: clamp(2.75rem, 6.5vw, 6rem); max-width: 17ch; }
.docs-head p { max-width: 45ch; margin-top: .95rem; font-size: clamp(1.08rem, 2vw, 1.35rem); }
.journal-index { max-width: 57rem; padding-block: 2.4rem var(--section); }
.reading-route { list-style: none; padding: 0 0 0 1.8rem; position: relative; }
.reading-route::before { content: ''; position: absolute; inset: 1.88rem auto 3.3rem .38rem; width: 2px; background: var(--blue); }
.reading-route li { border-top: 1px solid var(--line); position: relative; }
.reading-route li::before { content: ''; position: absolute; top: 1.8rem; left: -1.8rem; width: .8rem; height: .8rem; border-radius: 50%; border: 2px solid var(--blue); background: var(--white); }
.reading-route a { display: block; padding: 1.35rem 0; text-decoration: none; }
.reading-route a:hover h2 { text-decoration: underline; }
.reading-route li:focus-within::before, .reading-route li:hover::before { background: var(--lime); }
.reading-route h2 { font-size: clamp(1.35rem, 3.25vw, 2.65rem); }
.reading-route p { margin-top: .42rem; max-width: 60ch; color: var(--quiet); }
.reading { max-width: 67ch; margin-inline: auto; padding-block: clamp(2.2rem, 6vw, 5rem) var(--section); font: 1.14rem/1.72 var(--reading); overflow-wrap: anywhere; }
.reading h2 { font-size: clamp(1.55rem, 3.4vw, 2.35rem); margin: 2.3rem 0 .75rem; }
.reading p + p, .reading li + li { margin-top: .75rem; }
.reading ul, .reading ol { padding-left: 1.45em; }
.reading p + ul, .reading p + ol, .reading ul + p, .reading ol + p { margin-top: .85rem; }
.reading a { color: var(--deep); }
.breadcrumb { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1rem; font-weight: 700; }
.breadcrumb svg { transform: rotate(180deg); }
.article-example { margin: 1.25rem 0; padding: 1.2rem 1.4rem; background: var(--ice); }
.article-example dt { font-family: var(--body); font-weight: 700; }
.article-example dd + dt { margin-top: .55rem; }
.article-next { display: block; margin-top: 3rem; border-top: 1px solid var(--line); padding-top: 1.2rem; font: 750 1rem/1.5 var(--body); }
.press-assets { padding-block: 0 var(--section); }
.press-assets h2 { margin-bottom: 1rem; }
.duo-show.has-hinge { background: var(--deep); }
.hinge-stage { position: relative; isolation: isolate; display: grid; grid-template-rows: 1fr auto; justify-items: center; align-items: center; padding: 1rem var(--gutter) clamp(1rem, 4vh, 2.5rem); background: radial-gradient(ellipse at 48% 26%, #3047b2, var(--deep) 81%); color: var(--white); --focus: var(--lime); }
.hinge-stage::before { content: ''; position: absolute; z-index: -1; inset: 60% 12% 10%; background: radial-gradient(ellipse at center, #06124f99, transparent 67%); }
.hinge-stage img { width: min(84vw, calc((100svh - 8.5rem) * 40 / 29)); max-height: calc(100svh - 8.5rem); object-fit: contain; }
.hinge-stage figcaption { width: min(100%, 40rem); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .15rem 1rem; color: var(--white); margin: 0; }
.hinge-caption { grid-column: 1 / -1; font: 800 clamp(1.55rem, 3.2vw, 3.15rem)/1.08 var(--display); letter-spacing: -.04em; }
.hinge-stage input { grid-column: 1 / -1; width: 100%; min-height: 2.6rem; margin: 0; accent-color: var(--lime); cursor: ew-resize; }
.hinge-stage label, .hinge-end { font-weight: 650; }
@media (min-width: 48.01rem) and (prefers-reduced-motion: no-preference) {
  .duo-show.has-hinge { min-height: 204svh; }
  .hinge-stage { position: sticky; top: 0; height: 100svh; overflow: clip; }
  .hinge-stage img { transform: translateY(-1rem) scale(1.23); }
  .hinge-stage figcaption { position: relative; }
}
@media (max-width: 48rem) {
  .hinge-stage img { width: 100%; }
}
.press-assets ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; padding: 0; list-style: none; }
.press-assets li { min-width: 0; }
.press-assets li img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: contain; background: var(--ice); margin-bottom: .55rem; }
@media (max-width: 52rem) {
  .hero-grid, .features, .journal-promo { grid-template-columns: 1fr; }
  .hero-grid { gap: 2rem; min-height: 0; }
  .hero h1 { font-size: clamp(3.15rem, 9.35vw, 5.2rem); max-width: 15ch; }
  .plot-stage { min-height: clamp(19.5rem, 64vw, 31rem); }
  .sample { font-size: clamp(1.1rem, 3.9vw, 2rem); }
  .features figure { max-width: 40rem; }
}
@media (max-width: 37rem) {
  .mast-inner { min-height: 3.8rem; gap: .5rem; }
  .mast nav { gap: .85rem; }
  .mast nav a { font-size: .82rem; }
  .hero-grid { padding-block: 2rem 1rem; gap: 1.4rem; }
  .hero h1 { max-width: 11ch; }
  .intro { margin-top: .9rem; }
  .install { margin-top: 1rem; }
  .duo-heading, .media-heading, .plan-columns, #testimonials ul { grid-template-columns: 1fr; }
  .plot-column ul { grid-template-rows: repeat(6, minmax(2.25rem, 1fr)); }
  .press-assets ul { grid-template-columns: repeat(2, 1fr); }
}
