@charset "UTF-8";

/* System fonts and a small local image keep this presentation lightweight. */
:root {
  color-scheme: light;
  --bg: #f5f3eb;
  --surface: #fcfbf5;
  --ink: #203735;
  --muted: #566762;
  --teal: #176e65;
  --teal-dark: #105c55;
  --accent-text: #155a53;
  --line: #d4dcd2;
  --glass: rgba(255, 255, 252, .72);
  --glass-edge: rgba(255, 255, 255, .92);
  --glass-shadow: 0 18px 56px rgba(37, 60, 50, .08), inset 0 1px 0 rgba(255, 255, 255, .75);
  --green-wash: #e5ece3;
  --soft: #e9ece3;
  --art: #f9f7ee;
  --focus: #076a97;
  --pending: #756244;
  --code: #e9ece3;
  --header: rgba(245, 243, 235, .85);
  --halo: rgba(72, 135, 103, .13);
  --brass: #a18d57;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #152522; --surface: #20342e; --ink: #eff2e8; --muted: #b8c9bf;
    --teal: #a3d7bf; --teal-dark: #c9ead8; --accent-text: #b5dec6;
    --line: #3a5145; --glass: rgba(34, 56, 46, .74); --glass-edge: rgba(207, 237, 216, .18);
    --glass-shadow: 0 18px 56px rgba(0, 0, 0, .15), inset 0 1px 0 rgba(216, 245, 222, .07);
    --green-wash: #21382e; --soft: #293d33; --art: #243b31; --focus: #b2e3ff;
    --pending: #e2cc9d; --code: #2b4035; --header: rgba(21, 37, 34, .9);
    --halo: rgba(76, 155, 117, .2); --brass: #d4bf7d;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #152522; --surface: #20342e; --ink: #eff2e8; --muted: #b8c9bf;
  --teal: #a3d7bf; --teal-dark: #c9ead8; --accent-text: #b5dec6;
  --line: #3a5145; --glass: rgba(34, 56, 46, .74); --glass-edge: rgba(207, 237, 216, .18);
  --glass-shadow: 0 18px 56px rgba(0, 0, 0, .15), inset 0 1px 0 rgba(216, 245, 222, .07);
  --green-wash: #21382e; --soft: #293d33; --art: #243b31; --focus: #b2e3ff;
  --pending: #e2cc9d; --code: #2b4035; --header: rgba(21, 37, 34, .9);
  --halo: rgba(76, 155, 117, .2); --brass: #d4bf7d;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 4px; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; border-radius: 6px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 620; line-height: 1.1; }
h1 { font-size: clamp(54px, 7.9vw, 108px); letter-spacing: -.07em; }
h2 { font-size: clamp(37px, 4.2vw, 59px); letter-spacing: -.056em; }
h3 { font-size: 24px; letter-spacing: -.03em; }
p { color: var(--muted); }
svg { overflow: visible; }
svg path, svg circle { vector-effect: non-scaling-stroke; }
.wrap { width: min(1160px, calc(100% - 88px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 16px; padding: 12px 18px; background: var(--surface); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.site-header { min-height: 102px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { text-decoration: none; display: flex; align-items: center; gap: 11px; white-space: nowrap; font-size: 20px; font-weight: 620; letter-spacing: -.035em; line-height: 1.1; }
.brand img { border-radius: 12px; flex: none; }
.brand-note { display: block; font-size: 10px; letter-spacing: .05em; color: var(--muted); font-weight: 500; margin-top: 6px; }
.main-nav { display: flex; align-items: center; gap: 26px; font-size: 12px; font-weight: 560; margin-left: auto; }
.main-nav a { text-decoration: none; }
.main-nav a:hover, .footer-links a:hover { color: var(--teal); }
.theme-toggle { display: flex; align-items: center; gap: 7px; font-size: 12px; line-height: 1.2; color: var(--ink); background: var(--glass); border: 1px solid var(--line); padding: 11px 14px; border-radius: 30px; box-shadow: inset 0 1px 0 var(--glass-edge); }
.theme-toggle svg { fill: none; stroke: currentColor; stroke-width: 1.5; }
.sun { display: none; }
.theme-is-dark .moon { display: none; }
.theme-is-dark .sun { display: block; }
.eyebrow { font-size: 11px; letter-spacing: .115em; text-transform: uppercase; font-weight: 650; color: var(--accent-text); }
.small-label { font-size: 10px; letter-spacing: .115em; font-weight: 650; color: var(--accent-text); text-transform: uppercase; }
.quiet-label, .catalog-total { font-size: 11px; color: var(--muted); }
.small-print { font-size: 11px; line-height: 1.8; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; font-size: 14px; font-weight: 590; line-height: 1.45; padding: 15px 23px; min-height: 50px; border-radius: 14px; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; white-space: normal; text-align: center; }
.button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; flex: none; }
.button-primary { background: var(--teal); color: var(--bg); border: 1px solid var(--teal); box-shadow: 0 6px 18px var(--halo), inset 0 1px 0 rgba(255, 255, 255, .13); }
.button-primary:hover:not(.is-disabled) { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 10px 24px var(--halo); }
.button-secondary { border: 1px solid var(--line); background: var(--glass); color: var(--ink); }
.button-secondary:hover { background: var(--surface); transform: translateY(-2px); }
.button.is-disabled { color: var(--muted); background: var(--soft); border-color: var(--line); cursor: default; box-shadow: none; }
.text-link { font-size: 13px; line-height: 1.5; font-weight: 600; text-decoration: none; display: inline-flex; gap: 10px; align-items: center; padding-block: 14px; color: var(--accent-text); }
.text-link:hover { text-decoration: underline; }
.glass-panel { background: var(--glass); border: .5px solid var(--glass-edge); box-shadow: var(--glass-shadow); border-radius: 24px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

/* The hero leads into one real app image; no large animation libraries. */
.hero { position: relative; isolation: isolate; text-align: center; min-height: 670px; padding: 68px 0 31px; display: flex; flex-direction: column; align-items: center; }
.hero::before { content: ""; position: absolute; z-index: -1; width: min(800px, 100%); height: 540px; top: -5px; left: 50%; transform: translateX(-50%); background: radial-gradient(ellipse at center, var(--halo), transparent 67%); pointer-events: none; }
.hero-copy { position: relative; z-index: 1; }
.hero-copy > .eyebrow { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.tiny-line { width: 17px; height: 1px; background: var(--teal); }
.version-chip { font-size: 10px; letter-spacing: .02em; text-transform: none; color: var(--ink); padding: 4px 10px; background: var(--glass); border: 1px solid var(--line); border-radius: 20px; }
.hero h1 { margin-top: 27px; }
.hero h1 span { color: var(--teal); }
.hero-description { font-size: 18px; line-height: 1.7; max-width: 550px; margin: 25px auto 0; }
.hero-actions { display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 30px; }
.system-note { font-size: 11px; line-height: 1.7; margin-top: 17px; display: flex; gap: 9px; flex-wrap: wrap; justify-content: center; }
.launch-note { margin-top: 5px; }
.release-mini { display: flex; align-items: center; justify-content: center; gap: 7px; flex-wrap: wrap; font-size: 10px; margin-top: 17px; color: var(--muted); }
.status-dot { width: 5px; height: 5px; background: var(--pending); border-radius: 50%; flex: none; }
.mini-signing { font-size: 10px; border-left: 1px solid var(--line); padding-left: 7px; }
.scroll-cue { display: flex; gap: 11px; align-items: center; margin-top: 35px; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; text-decoration: none; color: var(--muted); }
.scroll-line { height: 28px; width: 1px; background: linear-gradient(var(--teal), transparent); }
.hero-orbit { position: absolute; inset: 0; pointer-events: none; color: var(--teal); z-index: -1; }
.orbit-formula { position: absolute; font-family: Georgia, "Times New Roman", serif; font-size: 100px; top: 112px; left: 30px; transform: rotate(-12deg); opacity: .16; }
.orbit-circle { width: 70px; height: 70px; position: absolute; right: 65px; top: 215px; border: 1px solid var(--teal); border-radius: 50%; opacity: .2; }
.orbit-circle::after { content: ""; position: absolute; inset: 8px -10px; border: 1px solid var(--teal); border-radius: 50%; transform: rotate(-40deg); }
.orbit-coordinate { position: absolute; top: 455px; right: 29px; font-family: ui-monospace, SFMono-Regular, monospace; font-size: 13px; letter-spacing: .15em; transform: rotate(9deg); opacity: .3; }
.orbit-stroke { position: absolute; width: 150px; left: 70px; top: 455px; fill: none; stroke: var(--teal); stroke-width: 1.5; stroke-linecap: round; opacity: .25; }
.orbit-stroke path { stroke-dasharray: 420; stroke-dashoffset: 420; animation: ink-arrive 2.2s ease-out .3s forwards; }
@keyframes ink-arrive { to { stroke-dashoffset: 0; } }

/* Camera properties are changed only by scroll/visibility work in motion.js. */
.cinematic-track { position: relative; height: 190svh; min-height: 1220px; background: linear-gradient(var(--bg) 0%, var(--green-wash) 64%, var(--bg) 100%); }
.cinematic-stage { position: sticky; top: 0; height: 100svh; min-height: 620px; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 27px 0 24px; perspective: 1700px; }
.cinematic-grid { position: absolute; z-index: -2; inset: 0; background-image: linear-gradient(var(--line) .5px, transparent .5px), linear-gradient(90deg, var(--line) .5px, transparent .5px); background-size: 54px 54px; opacity: .3; mask-image: radial-gradient(ellipse, black 15%, transparent 72%); -webkit-mask-image: radial-gradient(ellipse, black 15%, transparent 72%); pointer-events: none; }
.cinematic-halo { width: 90%; height: 80%; position: absolute; z-index: -1; background: radial-gradient(ellipse, var(--halo) 10%, transparent 67%); pointer-events: none; }
.cinematic-copy { position: relative; z-index: 2; text-align: center; margin-bottom: 31px; opacity: max(0, calc(1 - var(--camera-progress, 0) * 1.9)); pointer-events: none; }
.cinematic-copy h2 { margin-top: 10px; font-size: clamp(35px, 3.5vw, 49px); }
.cinematic-copy > p:last-child { font-size: 14px; margin-top: 12px; }
.cinematic-figure { width: 100%; position: relative; text-align: center; }
.mac-camera { --camera-scale: 1; --camera-rotate-x: 11deg; --camera-rotate-y: -4deg; --camera-y: 12px; width: min(850px, 78vw, 96svh); margin: 0 auto; position: relative; transform: translate3d(0, var(--camera-y), 0) rotateX(var(--camera-rotate-x)) rotateY(var(--camera-rotate-y)) scale(var(--camera-scale)); transform-origin: 50% 48%; }
.mac-display { position: relative; padding: 16px 15px 17px; border-radius: 23px 23px 10px 10px; background: linear-gradient(135deg, #4c5152, #1a1d1e 12%, #34393b 48%, #111719 94%); border: 1px solid #62696a; box-shadow: inset 0 1px 0 #919697, 0 25px 60px rgba(0, 0, 0, .12); }
.mac-lens { position: absolute; top: 4px; left: calc(50% - 24px); width: 48px; height: 10px; border-radius: 0 0 8px 8px; background: #111719; z-index: 2; }
.mac-lens::after { content: ""; position: absolute; width: 4px; height: 4px; left: 22px; top: 3px; border-radius: 50%; background: #293b4b; box-shadow: inset 0 0 1px #688d95; }
.preview-window { position: relative; overflow: hidden; border-radius: 9px; background: var(--surface); border: 1px solid #101516; }
.app-preview, .illustration-preview { display: block; width: 100%; height: auto; }
.mac-base { width: 113%; height: 19px; position: relative; margin: -1px 0 0 -6.5%; border-radius: 2px 2px 60px 60px / 2px 2px 13px 13px; background: linear-gradient(#d4d9da 0%, #b2b9ba 18%, #697173 83%, #404b4e); box-shadow: inset 0 1px 1px #eff2f2, 0 10px 14px rgba(0, 0, 0, .11); border: .5px solid #a0a8aa; }
.mac-cutout { position: absolute; left: 42%; top: -1px; width: 16%; height: 6px; background: linear-gradient(#808a8d, #bfc7c8); border-radius: 0 0 10px 10px; box-shadow: inset 0 1px 3px rgba(0, 0, 0, .2); }
.mac-shadow { width: 112%; height: 24px; position: absolute; left: -6%; bottom: -26px; background: radial-gradient(ellipse at top, rgba(12, 29, 26, .16), transparent 65%); z-index: -1; }
figcaption { font-size: 10px; color: var(--muted); line-height: 1.6; margin-top: 34px; text-align: center; }
.cinematic-figure figcaption { opacity: max(.1, calc(1 - var(--camera-progress, 0) * 1.6)); }
.motion-hint { position: absolute; bottom: 18px; font-size: 9px; text-transform: uppercase; letter-spacing: .15em; opacity: max(0, calc(1 - var(--camera-progress, 0) * 2)); }
.numbers { display: grid; grid-template-columns: 1fr 1fr 1.55fr 1.5fr; align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 34px; gap: 24px; }
.numbers > div { display: flex; align-items: baseline; gap: 12px; border-right: 1px solid var(--line); padding-right: 10px; }
.numbers > div:last-child { border: 0; padding: 0; }
.numbers strong { font-size: 35px; font-weight: 540; letter-spacing: -.05em; line-height: 1.1; }
.numbers span { font-size: 12px; line-height: 1.5; color: var(--muted); }
.numbers .number-local { align-items: center; gap: 14px; padding-left: 5px; }
.number-local svg { width: 29px; height: 29px; fill: none; stroke: var(--teal); stroke-width: 1.2; flex: none; }
.number-local > span { display: flex; flex-direction: column; gap: 4px; }
.numbers .number-local strong { font-size: 16px; color: var(--ink); letter-spacing: -.025em; }
.numbers .number-local span span { font-size: 11px; }

/* Existing functional brush/topic guides, with a more spacious glass layout. */
.toolkit { padding-block: 115px 102px; display: grid; grid-template-columns: .8fr 1.3fr; column-gap: 85px; row-gap: 68px; }
.section-intro h2 { margin-top: 19px; }
.section-intro > p:last-child { margin-top: 23px; font-size: 15px; line-height: 1.8; max-width: 330px; }
.brush-guide { padding: 31px; }
.panel-heading { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.brush-tabs { display: flex; gap: 4px; flex-wrap: wrap; border-radius: 13px; background: var(--soft); padding: 5px; margin-top: 24px; }
.brush-tab { flex: 1; border: 0; background: transparent; padding: 9px 7px; white-space: nowrap; border-radius: 9px; font-size: 11px; color: var(--muted); font-weight: 550; }
.brush-tab.is-active { background: var(--surface); color: var(--ink); box-shadow: 0 2px 6px rgba(25, 53, 31, .08); }
.brush-example { margin-block: 24px 21px; background: var(--art); border-radius: 16px; padding: 17px 17px 15px; background-image: radial-gradient(var(--line) .7px, transparent .7px); background-size: 16px 16px; }
.brush-example svg { width: 100%; height: 117px; display: block; }
.example-stroke { stroke: var(--teal); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke-width .22s ease, opacity .22s ease; }
.example-detail { stroke: var(--muted); stroke-width: .6; fill: none; opacity: .6; }
.brush-example > span { display: block; font-size: 10px; letter-spacing: .035em; text-align: center; color: var(--muted); }
[data-brush-example="pencil"] .example-stroke { stroke-dasharray: 1.6 .8; stroke-width: 3.5; stroke: var(--muted); opacity: .7; }
[data-brush-example="ink"] .example-stroke { stroke-width: 6; opacity: .85; }
[data-brush-example="highlight"] .example-stroke { stroke-width: 16; stroke: #b79d40; opacity: .38; }
.brush-description h3 { font-size: 23px; }
.brush-description p { font-size: 13px; line-height: 1.8; margin-top: 11px; }
.all-brushes { font-size: 11px; line-height: 1.8; border-top: 1px solid var(--line); padding-top: 17px; margin-top: 21px; }
.drawing-notes { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 55px; }
.step-number { font-size: 11px; display: inline-block; border-top: 1px solid var(--teal); padding-top: 9px; color: var(--accent-text); margin-bottom: 18px; }
.drawing-notes h3 { font-size: 21px; }
.drawing-notes p { font-size: 13px; line-height: 1.85; margin-top: 13px; max-width: 315px; }
.library-band { background: var(--green-wash); border-block: 1px solid var(--line); padding-block: 86px; }
.library-layout { display: grid; grid-template-columns: .8fr 1.25fr; gap: 82px; align-items: center; }
.library-copy h2 { margin-top: 18px; }
.library-copy > p:not(.eyebrow) { font-size: 15px; margin-top: 23px; line-height: 1.8; max-width: 350px; }
.library-copy > .small-print { font-size: 11px !important; line-height: 1.8; }
.catalog-panel { padding: 32px; }
.topic-tabs { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 21px; }
.topic-tabs button { background: transparent; color: var(--muted); font-size: 11px; border: 1px solid transparent; padding: 7px 10px; border-radius: 9px; }
.topic-tabs button.is-active { background: var(--surface); border-color: var(--line); color: var(--ink); }
.topic-symbols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 26px; }
.topic-symbols > span { display: flex; align-items: center; justify-content: center; min-height: 103px; background: var(--art); border: 1px solid var(--line); border-radius: 15px; color: var(--teal); font-family: Georgia, "Times New Roman", serif; font-size: 45px; line-height: 1; }
.topic-description h3 { font-size: 21px; margin-top: 24px; }
.topic-description p { font-size: 13px; line-height: 1.8; margin-top: 10px; }
.catalog-note { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 15px; font-size: 10px; line-height: 1.7; }
.study { padding-block: 111px 77px; }
.section-heading { text-align: center; }
.section-heading h2 { margin-top: 17px; }
.section-heading > p:last-child:not(.eyebrow) { margin: 22px auto 0; max-width: 590px; font-size: 15px; line-height: 1.8; }
.study-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 48px; }
.study-card { border: 1px solid var(--line); border-radius: 26px; padding: 31px 34px 30px; background: var(--surface); }
.card-art { height: 217px; margin: -13px -16px 30px; display: flex; align-items: center; justify-content: center; position: relative; background: var(--art); border-radius: 16px; overflow: hidden; }
.maths-art { background-image: linear-gradient(transparent calc(100% - 1px), var(--line) 0); background-size: 100% 29px; }
.math-notation { font-family: Georgia, "Times New Roman", serif; font-size: 66px; color: var(--accent-text); line-height: 1; display: flex; align-items: center; gap: 20px; }
.fraction { display: inline-flex; flex-direction: column; font-size: 42px; align-items: center; min-width: 47px; line-height: 1.2; }
.fraction > span:first-child { border-bottom: 1px solid currentColor; min-width: 47px; text-align: center; padding-bottom: 4px; }
.fraction > span:last-child { padding-top: 4px; }
.art-label { position: absolute; bottom: 17px; left: 0; right: 0; text-align: center; font-size: 9px; letter-spacing: .14em; color: var(--muted); font-weight: 550; }
.study-card h3 { font-size: 30px; letter-spacing: -.04em; line-height: 1.2; margin-top: 17px; }
.study-card > p { font-size: 14px; line-height: 1.85; margin-top: 19px; }
.study-card > .card-limit { border-top: 1px solid var(--line); padding-top: 19px; font-size: 11px; line-height: 1.8; }
.cube-art svg { width: 315px; max-width: 100%; height: 178px; fill: none; transform: translateY(-9px); }
.cube-line { stroke: var(--teal); stroke-width: 1.5; stroke-linejoin: round; }
.cube-dashed { stroke: var(--teal); stroke-width: .85; stroke-dasharray: 3 5; opacity: .6; }
.cube-grid { stroke: var(--line); stroke-width: .6; }
.ai-strip { display: flex; gap: 23px; align-items: center; padding: 30px 34px; margin-top: 29px; }
.ai-spark { font-size: 34px; color: var(--teal); padding-right: 7px; }
.ai-strip h3 { font-size: 23px; }
.ai-strip p { font-size: 13px; line-height: 1.8; margin-top: 10px; max-width: 620px; }
.ai-strip > .text-link { margin-left: auto; min-width: 154px; white-space: normal; }
.flow-section { display: grid; grid-template-columns: .82fr 1.22fr; gap: 96px; padding-block: 44px 109px; }
.flow-list { border-top: 1px solid var(--line); }
.flow-list article { display: flex; gap: 24px; padding-block: 31px; border-bottom: 1px solid var(--line); }
.flow-icon { color: var(--accent-text); font-size: 27px; line-height: 1.2; margin-top: 2px; min-width: 25px; }
.flow-list h3 { font-size: 22px; }
.flow-list p { font-size: 14px; line-height: 1.85; margin-top: 11px; }
.faq { padding-block: 12px 100px; }
.faq-list { max-width: 825px; margin: 38px auto 0; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 22px; font-size: 15px; font-weight: 550; padding-block: 24px; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary > span { font-size: 25px; color: var(--teal); font-weight: 400; line-height: 1; flex: none; transition: transform .2s ease; }
.faq-list details[open] summary > span { transform: rotate(45deg); }
.faq-list details p { font-size: 13px; line-height: 1.9; max-width: 775px; padding: 0 0 27px; }

/* Verified links are populated by existing release.json validation. */
.donation-section { display: grid; grid-template-columns: .95fr 1.05fr; gap: 95px; align-items: center; border-top: 1px solid var(--line); padding-block: 86px 107px; }
.donation-art { min-height: 430px; position: relative; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: radial-gradient(ellipse, var(--halo) 0, transparent 70%); }
.donation-ring { position: absolute; width: 285px; height: 285px; border: 1px solid var(--line); border-radius: 50%; transform: rotate(-20deg); }
.donation-ring::before { content: ""; position: absolute; inset: 23px -38px; border: 1px solid var(--line); border-radius: 50%; }
.donation-nib { width: 135px; height: 160px; transform: rotate(14deg); filter: drop-shadow(0 12px 20px var(--halo)); }
.nib-body { fill: var(--glass); stroke: var(--teal); stroke-width: 1.2; }
.nib-detail { fill: none; stroke: var(--teal); stroke-width: 1.1; }
.donation-nib circle { fill: var(--teal); }
.nib-stroke { fill: none; stroke: var(--teal); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 140; }
.motion-ready .donation-art.is-visible .nib-stroke { animation: ink-arrive 1.4s ease-out both; stroke-dashoffset: 140; }
.donation-star { position: absolute; color: var(--brass); }
.star-one { font-size: 33px; top: 94px; right: 84px; }
.star-two { font-size: 20px; bottom: 105px; left: 88px; }
.donation-caption { position: absolute; bottom: 22px; font-size: 11px; color: var(--muted); }
.donation-copy h2 { margin-top: 17px; }
.donation-copy > p:not(.eyebrow) { font-size: 15px; line-height: 1.8; max-width: 470px; margin-top: 22px; }
.donation-box { margin-top: 28px; padding: 24px 26px; border-radius: 19px; }
.donation-box-top { display: flex; gap: 14px; align-items: center; justify-content: space-between; }
.support-heart { font-size: 28px; line-height: 1; color: var(--teal); }
.payment-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 17px; }
.payment-links:empty { margin: 0; }
.payment-links a { display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; min-height: 46px; border: 1px solid var(--line); border-radius: 12px; background: var(--glass); font-size: 13px; font-weight: 580; text-decoration: none; }
.payment-links a:hover { border-color: var(--teal); background: var(--surface); }
.donation-section .payment-links a { background: var(--teal); color: var(--bg); border-color: var(--teal); }
.donation-section .payment-links a:hover { background: var(--teal-dark); }
.donation-pending { font-size: 13px; line-height: 1.8; margin-top: 18px; }
.donation-fine { font-size: 10px; line-height: 1.8; margin-top: 17px; }
.release-section { padding-bottom: 87px; }
.release-card { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding: 52px; background: linear-gradient(120deg, var(--glass), var(--green-wash)); }
.release-card h2 { margin-top: 18px; font-size: 47px; }
.release-card p:not(.eyebrow) { font-size: 14px; line-height: 1.8; margin-top: 20px; }
.release-card .release-state { font-size: 11px !important; line-height: 1.7; color: var(--pending); }
.release-actions { align-self: center; display: flex; flex-direction: column; align-items: stretch; gap: 12px; max-width: 354px; margin-left: auto; }
.release-actions > .text-link { padding-top: 0; justify-content: center; }
.release-actions > .release-help { font-size: 10px !important; line-height: 1.85; text-align: center; margin-top: 5px !important; max-width: 330px; align-self: center; }
.site-footer { border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 25px; padding-block: 32px; }
.footer-brand { font-size: 18px; }
.site-footer p { font-size: 11px; margin-top: 12px; }
.footer-links { display: flex; gap: 21px; align-items: center; flex-wrap: wrap; font-size: 11px; }
.footer-links a { text-decoration: none; }
.site-footer .footer-note { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 19px; margin: 0; font-size: 10px; line-height: 1.8; }

/* Keep the existing feedback and privacy documents readable. */
.document-page { max-width: 810px; padding-block: 43px 80px; }
.document-page > .eyebrow { margin-bottom: 18px; }
.document-page > h1 { font-size: 49px; letter-spacing: -.055em; max-width: 700px; }
.document-lede { font-size: 17px; line-height: 1.7; max-width: 680px; margin-top: 21px; }
.doc-section { margin-top: 37px; padding-top: 28px; border-top: 1px solid var(--line); }
.doc-section h2 { font-size: 25px; letter-spacing: -.03em; }
.doc-section > p, .doc-section li { font-size: 14px; line-height: 1.85; color: var(--muted); }
.doc-section > p { margin-top: 15px; }
.doc-section ul, .doc-section ol { padding-left: 23px; }
.doc-section li + li { margin-top: 8px; }
.doc-section strong { font-weight: 600; color: var(--ink); }
.privacy-tag { display: inline-flex; align-items: center; gap: 8px; margin-top: 23px; border-radius: 20px; border: 1px solid var(--line); padding: 6px 12px; font-size: 11px; color: var(--accent-text); background: var(--glass); }
.inline-note { padding: 17px 19px; border-radius: 12px; background: var(--green-wash); font-size: 12px !important; margin-top: 20px !important; }
.feedback-form { margin-top: 27px; display: grid; grid-template-columns: 1fr 1fr; gap: 19px; }
.field label { display: block; font-size: 12px; font-weight: 580; margin-bottom: 7px; }
.field input, .field textarea { width: 100%; padding: 11px 13px; background: var(--surface); border: 1px solid var(--line); border-radius: 9px; color: var(--ink); font-size: 13px; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .85; }
.field textarea { min-height: 127px; resize: vertical; }
.field-wide { grid-column: 1 / -1; }
.field-hint { font-size: 10px; line-height: 1.7; margin-top: 7px; }
.form-actions { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.form-actions .button { font-size: 12px; padding: 11px 15px; }
.form-actions button { border: 1px solid var(--line); }
.feedback-status { grid-column: 1 / -1; min-height: 20px; font-size: 12px; color: var(--accent-text); }
.config-repository { font-size: 13px; }
.document-page code { background: var(--code); border-radius: 4px; padding: 2px 4px; font-family: ui-monospace, SFMono-Regular, monospace; font-size: .85em; }
.support-state { font-size: 12px; padding: 15px 18px; border: 1px solid var(--line); background: var(--glass); border-radius: 12px; margin-top: 25px; }
.support-state p { font-size: 12px; margin: 0; }
.support-state p + p { margin-top: 8px; }

/* Progressive enhancement: every section is visible without motion.js. */
.motion-ready [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .68s ease, transform .68s cubic-bezier(.2, .7, .3, 1); }
.motion-ready [data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .wrap { width: calc(100% - 64px); }
  .main-nav { gap: 20px; }
  .hero { min-height: 636px; padding-top: 59px; }
  .hero h1 { font-size: 88px; }
  .orbit-formula { left: 0; font-size: 77px; }
  .orbit-stroke { left: 5px; width: 125px; }
  .orbit-circle { right: 12px; }
  .orbit-coordinate { right: 0; }
  .toolkit, .library-layout, .flow-section { column-gap: 45px; }
  .numbers { gap: 19px; }
  .numbers strong { font-size: 31px; }
  .numbers span { font-size: 11px; }
  .brush-guide, .catalog-panel { padding: 26px; }
  .topic-tabs button { padding: 6px 7px; font-size: 10px; }
  .topic-symbols > span { min-height: 88px; }
  .drawing-notes { gap: 35px; }
  .ai-strip { flex-wrap: wrap; }
  .ai-strip > div { flex: 1; min-width: 70%; }
  .ai-strip > .text-link { margin-left: 64px; }
  .donation-section { gap: 43px; }
  .donation-art { min-height: 390px; }
  .star-one { right: 47px; }
  .star-two { left: 48px; }
  .release-card { padding: 43px; gap: 40px; }
  .release-card h2 { font-size: 43px; }
  .footer-links { max-width: 400px; justify-content: flex-end; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 46px); }
  .site-header { min-height: 93px; gap: 18px; }
  .main-nav { gap: 16px; font-size: 11px; }
  .main-nav a:nth-child(2) { display: none; }
  .theme-toggle { padding: 9px 11px; }
  .hero { min-height: 604px; padding-top: 58px; }
  .hero h1 { font-size: 77px; }
  .hero-description { font-size: 17px; max-width: 465px; }
  .hero-orbit { display: none; }
  .cinematic-track { height: auto; min-height: 0; padding-block: 46px 37px; }
  .cinematic-stage { position: relative; height: auto; min-height: 0; overflow: hidden; padding: 0 0 22px; perspective: none; }
  .cinematic-copy { opacity: 1; margin-bottom: 36px; }
  .cinematic-copy h2 { font-size: 41px; }
  .cinematic-copy > p:last-child { font-size: 13px; }
  .mac-camera { width: 84vw; transform: none !important; }
  .mac-display { padding: 13px 12px 14px; border-radius: 18px 18px 7px 7px; }
  .mac-base { height: 15px; }
  .mac-lens { top: 3px; height: 9px; }
  .preview-window { border-radius: 6px; }
  .cinematic-figure figcaption { opacity: 1; margin-top: 29px; }
  .motion-hint { display: none; }
  .numbers { grid-template-columns: 1fr 1fr; padding-block: 27px; gap: 24px; }
  .numbers > div:nth-child(2) { border-right: 0; }
  .numbers > div { min-height: 32px; }
  .numbers .number-local { padding-left: 0; }
  .toolkit { grid-template-columns: 1fr; padding-block: 74px; row-gap: 34px; }
  .section-intro > p:last-child { max-width: 490px; }
  .section-intro h2 br, .library-copy h2 br, .flow-section h2 br { display: none; }
  .section-intro h2, .library-copy h2, .section-heading h2 { font-size: 44px; }
  .drawing-notes { gap: 25px; margin-top: 8px; }
  .drawing-notes h3 { font-size: 19px; }
  .drawing-notes p { font-size: 12px; }
  .library-band { padding-block: 63px; }
  .library-layout { grid-template-columns: 1fr; row-gap: 32px; }
  .library-copy > p:not(.eyebrow) { max-width: 495px; }
  .catalog-panel { padding: 29px; }
  .topic-tabs button { font-size: 11px; padding: 7px 10px; }
  .topic-symbols > span { min-height: 100px; }
  .study { padding-block: 74px 47px; }
  .study-grid { gap: 20px; margin-top: 34px; }
  .study-card { padding: 26px; border-radius: 20px; }
  .study-card h3 { font-size: 25px; }
  .study-card > p { font-size: 12px; }
  .study-card > .card-limit { font-size: 10px; }
  .card-art { height: 170px; margin: -11px -10px 23px; }
  .math-notation { font-size: 49px; gap: 14px; }
  .fraction { font-size: 33px; min-width: 36px; }
  .fraction > span:first-child { min-width: 36px; }
  .art-label { font-size: 8px; }
  .ai-strip { padding: 26px; }
  .ai-strip > .text-link { flex: 0 1 calc(100% - 57px); min-width: 0; margin-left: 57px; }
  .flow-section { grid-template-columns: 1fr; padding-block: 23px 76px; row-gap: 32px; }
  .flow-list article { padding-block: 26px; }
  .faq { padding-bottom: 64px; }
  .faq-list { margin-top: 28px; }
  .donation-section { padding-block: 55px 66px; gap: 34px; grid-template-columns: 1fr; }
  .donation-art { min-height: 267px; order: 2; }
  .donation-ring { width: 220px; height: 220px; }
  .donation-nib { width: 108px; height: 130px; }
  .star-one { top: 42px; right: 22%; }
  .star-two { bottom: 60px; left: 23%; }
  .donation-caption { bottom: 0; }
  .donation-copy h2 { font-size: 47px; }
  .donation-copy h2 br { display: none; }
  .donation-copy > p:not(.eyebrow) { max-width: 100%; }
  .release-section { padding-bottom: 62px; }
  .release-card { grid-template-columns: 1fr; gap: 27px; padding: 36px; }
  .release-card h2 { font-size: 42px; }
  .release-card h2 br { display: none; }
  .release-actions { margin-left: 0; width: 100%; max-width: 390px; }
  .site-footer { grid-template-columns: 1fr; gap: 20px; }
  .footer-links { max-width: none; justify-content: flex-start; }
  .document-page { padding-block: 30px 65px; }
  .document-page > h1 { font-size: 43px; }
}
@media (max-width: 520px) {
  .wrap { width: calc(100% - 36px); }
  .site-header { min-height: 86px; gap: 13px; }
  .brand { font-size: 18px; gap: 9px; }
  .brand img { width: 32px; height: 32px; border-radius: 10px; }
  .brand-note { font-size: 8px; letter-spacing: .025em; }
  .main-nav { margin-left: auto; }
  .main-nav a:first-child { display: none; }
  .main-nav a { font-size: 10px; }
  .theme-toggle { padding: 9px; gap: 5px; font-size: 10px; }
  .theme-toggle svg { width: 15px; height: 15px; }
  .hero { min-height: 565px; padding-top: 43px; }
  .hero h1 { font-size: clamp(49px, 12.8vw, 66px); margin-top: 26px; }
  .eyebrow { font-size: 9px; letter-spacing: .09em; }
  .version-chip { font-size: 9px; padding: 3px 8px; }
  .hero-description { font-size: 15px; line-height: 1.8; margin-top: 24px; max-width: 350px; }
  .hero-actions { margin-top: 26px; gap: 10px; }
  .hero-actions .button { font-size: 11px; padding: 13px 15px; gap: 7px; min-height: 45px; }
  .hero-actions .button svg { width: 15px; }
  .system-note { font-size: 10px; gap: 7px; margin-top: 16px; }
  .launch-note { font-size: 9px; max-width: 305px; margin: 8px auto 0; }
  .release-mini { font-size: 9px; margin-top: 15px; }
  .mini-signing { font-size: 9px; }
  .scroll-cue { font-size: 8px; margin-top: 25px; }
  .scroll-line { height: 23px; }
  .cinematic-track { padding-top: 26px; }
  .cinematic-copy { margin-bottom: 27px; }
  .cinematic-copy h2 { font-size: 34px; }
  .cinematic-copy > p:last-child { font-size: 11px; margin-top: 12px; }
  .mac-display { padding: 10px 9px 11px; border-radius: 13px 13px 5px 5px; }
  .mac-lens { top: 2px; height: 7px; width: 40px; left: calc(50% - 20px); }
  .mac-lens::after { width: 3px; height: 3px; top: 2px; left: 19px; }
  .mac-base { height: 12px; }
  .mac-cutout { height: 4px; }
  .preview-window { border-radius: 4px; }
  .cinematic-figure figcaption { font-size: 8px; margin-top: 23px; }
  .numbers { gap: 22px 14px; padding-block: 23px; }
  .numbers > div { gap: 9px; min-height: 28px; }
  .numbers strong { font-size: 28px; }
  .numbers span { font-size: 10px; }
  .number-local svg { width: 25px; height: 25px; }
  .numbers .number-local { gap: 10px; }
  .numbers .number-local strong { font-size: 14px; }
  .numbers .number-local span span { font-size: 9px; }
  .toolkit { padding-block: 59px; row-gap: 29px; }
  .section-intro h2, .library-copy h2, .section-heading h2 { font-size: 35px; line-height: 1.14; }
  .section-intro > p:last-child { font-size: 13px; margin-top: 18px; }
  .brush-guide, .catalog-panel { padding: 21px; border-radius: 20px; }
  .small-label, .quiet-label { font-size: 9px; }
  .brush-tabs { margin-top: 18px; padding: 4px; gap: 2px; }
  .brush-tab { padding: 9px 4px; font-size: 9px; }
  .brush-example { margin-block: 19px 18px; padding: 10px 12px 13px; }
  .brush-example svg { height: 92px; }
  .brush-example > span { font-size: 9px; }
  .brush-description h3 { font-size: 21px; }
  .brush-description p { font-size: 12px; }
  .all-brushes { font-size: 10px; }
  .drawing-notes { grid-template-columns: 1fr; gap: 23px; }
  .drawing-notes article { display: grid; grid-template-columns: 29px 1fr; gap: 0 9px; }
  .step-number { grid-row: 1 / 3; align-self: start; width: 18px; padding-top: 5px; margin: 3px 0 0; font-size: 10px; }
  .drawing-notes h3 { font-size: 20px; }
  .drawing-notes p { grid-column: 2; margin-top: 8px; max-width: none; font-size: 12px; }
  .library-band { padding-block: 48px; }
  .library-copy > p:not(.eyebrow) { font-size: 13px; margin-top: 18px; }
  .library-copy > .small-print { font-size: 10px !important; }
  .topic-tabs { gap: 3px; margin-top: 17px; }
  .topic-tabs button { font-size: 9px; padding: 6px 7px; }
  .topic-symbols { gap: 9px; margin-top: 20px; }
  .topic-symbols > span { min-height: 73px; font-size: 35px; border-radius: 11px; }
  .topic-description h3 { font-size: 19px; margin-top: 20px; }
  .topic-description p { font-size: 12px; }
  .catalog-note { font-size: 9px; }
  .study { padding-block: 60px 38px; }
  .section-heading > p:last-child:not(.eyebrow) { font-size: 13px; margin-top: 18px; }
  .study-grid { grid-template-columns: 1fr; gap: 23px; margin-top: 29px; }
  .study-card { padding: 26px; }
  .study-card h3 { font-size: 28px; }
  .study-card > p { font-size: 13px; }
  .study-card > .card-limit { font-size: 10px; }
  .card-art { height: 187px; margin-bottom: 23px; }
  .math-notation { font-size: 60px; }
  .fraction { font-size: 40px; min-width: 43px; }
  .fraction > span:first-child { min-width: 43px; }
  .ai-strip { padding: 23px; gap: 13px; border-radius: 20px; align-items: flex-start; }
  .ai-spark { font-size: 26px; padding-right: 0; line-height: 1.3; }
  .ai-strip > div { flex: 1 1 calc(100% - 40px); min-width: 0; width: auto; }
  .ai-strip h3 { font-size: 22px; }
  .ai-strip p { font-size: 12px; }
  .ai-strip > .text-link { flex: 0 1 calc(100% - 39px); min-width: 0; margin-left: 39px; font-size: 12px; }
  .flow-section { padding-block: 20px 56px; row-gap: 29px; }
  .flow-list article { gap: 18px; padding-block: 25px; }
  .flow-list h3 { font-size: 20px; }
  .flow-list p { font-size: 12px; }
  .flow-icon { font-size: 24px; }
  .faq { padding-bottom: 52px; }
  .faq-list summary { font-size: 13px; padding-block: 22px; gap: 19px; line-height: 1.65; }
  .faq-list details p { font-size: 12px; padding-bottom: 22px; }
  .donation-section { padding-block: 46px 55px; gap: 15px; }
  .donation-copy h2 { font-size: 38px; }
  .donation-copy > p:not(.eyebrow) { font-size: 13px; margin-top: 19px; }
  .donation-box { padding: 21px; margin-top: 24px; }
  .donation-box-top .small-label { font-size: 8px; letter-spacing: .07em; }
  .donation-pending { font-size: 12px; }
  .donation-fine { font-size: 9px; }
  .donation-art { min-height: 240px; }
  .donation-ring { width: 190px; height: 190px; }
  .donation-nib { width: 91px; height: 116px; }
  .star-one { top: 35px; right: 20%; font-size: 27px; }
  .star-two { bottom: 47px; left: 19%; }
  .donation-caption { font-size: 10px; }
  .release-section { padding-bottom: 48px; }
  .release-card { padding: 28px 24px; border-radius: 20px; gap: 24px; }
  .release-card h2 { font-size: 35px; }
  .release-card p:not(.eyebrow) { font-size: 12px; }
  .release-card .release-state { font-size: 10px !important; }
  .release-actions .button { font-size: 12px; padding: 14px; }
  .release-actions > .release-help { font-size: 9px !important; }
  .site-footer { padding-block: 28px; gap: 18px; }
  .footer-brand { font-size: 17px; }
  .site-footer p { font-size: 10px; }
  .footer-links { font-size: 10px; gap: 17px; }
  .site-footer .footer-note { font-size: 9px; }
  .document-page { padding-block: 29px 52px; }
  .document-page > h1 { font-size: 38px; }
  .document-lede { font-size: 15px; line-height: 1.8; }
  .doc-section { margin-top: 31px; padding-top: 25px; }
  .doc-section h2 { font-size: 24px; }
  .doc-section > p, .doc-section li { font-size: 13px; }
  .feedback-form { grid-template-columns: 1fr; gap: 18px; }
  .field-wide, .form-actions, .feedback-status { grid-column: auto; }
  .field label { font-size: 12px; }
  .field input, .field textarea { font-size: 13px; }
  .feedback-status { font-size: 12px; }
}
@media (max-height: 690px) and (min-width: 761px) {
  .cinematic-stage { min-height: 0; padding-block: 20px; }
  .cinematic-copy { margin-bottom: 22px; }
  .cinematic-copy h2 { font-size: 35px; }
  .cinematic-copy > p:last-child { display: none; }
  .mac-camera { width: min(780px, 74vw, 101svh); }
  .cinematic-figure figcaption { margin-top: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .orbit-stroke path, .nib-stroke { stroke-dashoffset: 0 !important; }
  .motion-ready [data-reveal] { opacity: 1; transform: none; }
  .mac-camera { transform: none !important; }
  .cinematic-track { height: auto; min-height: 0; padding-block: 45px; }
  .cinematic-stage { position: relative; height: auto; min-height: 0; padding-block: 0 22px; }
  .cinematic-copy, .cinematic-figure figcaption { opacity: 1; }
  .motion-hint { display: none; }
  .button:hover { transform: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .glass-panel, .theme-toggle, .payment-links a { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--surface); }
  .nib-body { fill: var(--surface); }
}
@media (forced-colors: active) {
  .glass-panel, .preview-window, .brush-tabs, .topic-symbols > span, .study-card, .release-card, .donation-box { border: 1px solid CanvasText; box-shadow: none; background: Canvas; }
  .button, .theme-toggle, .payment-links a { border: 1px solid ButtonText; }
  .button.is-disabled { color: GrayText; }
  .example-stroke, .cube-line, .nib-detail, .nib-body { stroke: CanvasText; }
  .app-preview, .illustration-preview { forced-color-adjust: none; }
  .brush-example, .card-art { background: Canvas; }
  .status-dot { background: CanvasText; }
  .cinematic-grid, .cinematic-halo, .hero::before, .hero-orbit, .mac-shadow { display: none; }
}

/* SketchGlide: clear platform choices and gentle motion with an explicit pause. */
.header-controls { display: flex; align-items: center; gap: 7px; flex: none; }
.theme-toggle, .motion-toggle { min-height: 44px; }
.motion-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 6px; color: var(--ink); background: var(--glass); border: 1px solid var(--line); border-radius: 30px; padding: 10px 12px; font-size: 11px; line-height: 1.2; box-shadow: inset 0 1px 0 var(--glass-edge); }
.motion-toggle svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.motion-toggle[aria-pressed="false"] svg { opacity: .45; }
.motion-toggle:disabled { cursor: default; }
.hero-description { max-width: 615px; }
.hero-orbit .orbit-formula { animation: formula-drift 10s ease-in-out infinite; }
.hero-orbit .orbit-circle { animation: ring-drift 14s ease-in-out infinite; }
.hero-orbit .orbit-coordinate { animation: coordinates-drift 12s ease-in-out infinite; }
.hero-orbit .orbit-stroke path { animation: ink-loop 10s ease-in-out infinite; stroke-dashoffset: 0; }
.hero-orbit .orbit-formula, .hero-orbit .orbit-circle, .hero-orbit .orbit-coordinate, .hero-orbit .orbit-stroke path { animation-play-state: paused; }
[data-motion="on"] .hero-orbit.is-loop-visible .orbit-formula, [data-motion="on"] .hero-orbit.is-loop-visible .orbit-circle, [data-motion="on"] .hero-orbit.is-loop-visible .orbit-coordinate, [data-motion="on"] .hero-orbit.is-loop-visible .orbit-stroke path { animation-play-state: running; }
@keyframes formula-drift { 0%,100% { transform: translateY(0) rotate(-12deg); } 50% { transform: translateY(-15px) rotate(-5deg); } }
@keyframes ring-drift { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(13px) rotate(24deg); } }
@keyframes coordinates-drift { 0%,100% { transform: translateY(0) rotate(9deg); } 50% { transform: translateY(-9px) rotate(5deg); } }
@keyframes ink-loop { 0%,9% { stroke-dashoffset: 420; opacity: .2; } 40%,83% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: .2; } }
.brush-example .example-stroke { stroke-dasharray: 900; stroke-dashoffset: 0; }
[data-motion="on"] .brush-example.is-loop-visible:not([data-brush-example="pencil"]) .example-stroke { animation: brush-flow 11s ease-in-out infinite; }
@keyframes brush-flow { 0%,10% { stroke-dashoffset: 900; } 45%,100% { stroke-dashoffset: 0; } }
.hello-section { display: grid; grid-template-columns: .8fr 1.25fr; align-items: center; gap: 82px; padding-block: 90px 30px; }
.hello-copy h2 { margin-top: 18px; }
.hello-copy > p:last-child { margin-top: 23px; max-width: 340px; font-size: 15px; line-height: 1.85; }
.hello-board { position: relative; min-height: 300px; padding: 35px 24px 28px; background-image: radial-gradient(var(--line) .7px, transparent .7px); background-size: 20px 20px; overflow: hidden; }
.hello-board-label { display: block; color: var(--accent-text); font-size: 9px; font-weight: 600; letter-spacing: .12em; text-align: center; }
.hello-ink { width: 100%; display: block; color: var(--teal); margin-top: 5px; }
.hello-paths path { stroke-dasharray: 1; stroke-dashoffset: 0; animation: hello-write 12s ease infinite; animation-play-state: paused; }
.hello-paths path:nth-child(2) { animation-delay: .45s; }
.hello-paths path:nth-child(3) { animation-delay: .85s; }
.hello-paths path:nth-child(4) { animation-delay: 1.3s; }
.hello-paths path:nth-child(5) { animation-delay: 1.75s; }
.hello-paths path:nth-child(6) { animation-delay: 2.15s; }
.hello-orbit { fill: none; stroke: var(--brass); stroke-width: 1; opacity: .48; transform-origin: 510px 133px; animation: hello-orbit-drift 12s ease-in-out infinite; animation-play-state: paused; }
[data-motion="on"] .hello-section.is-loop-visible .hello-paths path, [data-motion="on"] .hello-section.is-loop-visible .hello-orbit { animation-play-state: running; }
@keyframes hello-write { 0%,4% { stroke-dashoffset: 1; opacity: 0; } 22%,80% { stroke-dashoffset: 0; opacity: 1; } 96%,100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes hello-orbit-drift { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-8px) rotate(5deg); } }
.hello-board-note { display: block; color: var(--muted); text-align: center; font-size: 10px; line-height: 1.7; }
.platform-section { padding-bottom: 100px; }
.platform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 44px; }
.platform-card { padding: 33px 35px; }
.platform-icon { display: inline-flex; height: 45px; align-items: center; font-size: 34px; color: var(--teal); margin-bottom: 19px; }
.windows-icon { width: 36px; fill: var(--teal); padding-top: 5px; }
.platform-card h3 { font-size: 30px; }
.platform-card p { font-size: 13px; line-height: 1.85; margin-top: 17px; }
.platform-card .platform-system { color: var(--accent-text); font-size: 11px; margin-top: 10px; }
.platform-card .card-limit { font-size: 11px; border-top: 1px solid var(--line); margin-top: 22px; padding-top: 18px; }
.contribute-strip { display: flex; gap: 34px; align-items: center; justify-content: space-between; padding: 34px 0; border-bottom: 1px solid var(--line); margin-top: 15px; }
.contribute-strip h3 { font-size: 23px; }
.contribute-strip p { font-size: 13px; margin-top: 11px; }
.contribute-strip .button { flex: none; }
.windows-release-note { text-align: center; font-size: 10px !important; margin-top: -3px !important; }
.brush-tab, .topic-tabs button { min-height: 44px; }
.footer-links a, .main-nav a { min-height: 44px; display: inline-flex; align-items: center; }
[data-motion="off"] *, .motion-background * { animation-play-state: paused !important; }
[data-motion="off"] .hello-paths path { stroke-dashoffset: 0 !important; opacity: 1 !important; }
[data-motion="off"] .hero-orbit .orbit-stroke path { stroke-dashoffset: 0 !important; opacity: 1 !important; }
[data-motion="off"] .brush-example .example-stroke { stroke-dashoffset: 0 !important; }
@media (max-width: 1080px) {
 .site-header { gap: 18px; } .main-nav { gap: 15px; }
 .hello-section { gap: 45px; }
}
@media (max-width: 760px) {
 .site-header { flex-wrap: wrap; padding-block: 18px 8px; gap: 10px 16px; min-height: 95px; }
 .site-header .main-nav { order: 3; justify-content: center; width: 100%; margin: 0; gap: 26px; }
 .site-header .main-nav a:nth-child(n) { display: inline-flex; font-size: 12px; }
 .header-controls { margin-left: auto; gap: 6px; }
 .theme-toggle, .motion-toggle { min-width: 44px; padding: 10px 11px; }
 .hero { min-height: 540px; padding-top: 42px; }
 .hero-description { font-size: 16px; }
 .hello-section { grid-template-columns: 1fr; gap: 28px; padding-block: 65px 15px; }
 .hello-copy h2 br { display: none; }
 .hello-copy > p:last-child { max-width: 500px; }
 .hello-board { min-height: 0; padding-block: 28px 23px; }
 .platform-section { padding-bottom: 67px; }
 .platform-grid { gap: 20px; margin-top: 32px; }
 .platform-card { padding: 28px; }
 .platform-card h3 { font-size: 25px; }
 .contribute-strip { flex-wrap: wrap; gap: 20px; }
 .hero-actions .button { min-height: 50px; font-size: 13px; }
 .small-print, .launch-note { font-size: 11px; }
}
@media (max-width: 520px) {
 .wrap { width: calc(100% - 36px - env(safe-area-inset-left) - env(safe-area-inset-right)); }
 .site-header { gap: 8px 6px; padding-top: calc(18px + env(safe-area-inset-top)); }
 .brand { font-size: 19px; gap: 8px; }
 .brand-note { font-size: 9px; }
 .theme-toggle, .motion-toggle { font-size: 10px; padding-inline: 9px; }
 .motion-toggle svg { width: 11px; height: 11px; }
 .header-controls { gap: 5px; }
 .hero { min-height: 553px; padding-top: 33px; }
 .hero h1 { font-size: clamp(49px, 12.7vw, 66px); }
 .hero-description { font-size: 15px; margin-top: 22px; }
 .hero-actions { display: grid; grid-template-columns: 1fr; width: min(290px, 100%); margin-inline: auto; gap: 10px; }
 .hero-actions .button { width: 100%; font-size: 14px; }
 .release-mini { font-size: 10px; }
 .launch-note { max-width: 318px; font-size: 11px; }
 .hero-orbit { display: none; }
 .hello-copy h2 { font-size: 35px; }
 .hello-copy > p:last-child { font-size: 14px; }
 .hello-board { padding: 23px 16px; }
 .hello-board-label { font-size: 8px; }
 .hello-board-note { font-size: 10px; }
 .brush-tab { font-size: 11px; padding-inline: 5px; flex-basis: 40%; }
 .topic-tabs button { font-size: 11px; padding-inline: 10px; }
 .platform-grid { grid-template-columns: 1fr; }
 .platform-card { padding: 28px; }
 .platform-card p { font-size: 14px; }
 .platform-card .card-limit { font-size: 12px; }
 .contribute-strip h3 { font-size: 22px; }
 .contribute-strip .button { width: 100%; }
 .release-actions > .release-help { font-size: 11px !important; }
 .donation-fine, .site-footer .footer-note { font-size: 11px; }
 .document-page > h1 { font-size: 37px; }
 .field input, .field textarea { font-size: 16px; min-height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 *, *::before, *::after { animation: none !important; transition: none !important; }
 .hello-paths path, .hero-orbit .orbit-stroke path, .brush-example .example-stroke { stroke-dashoffset: 0 !important; opacity: 1 !important; }
}
@media (min-width: 761px) and (max-width: 940px) {
 .site-header { flex-wrap: wrap; padding-block: 18px 8px; gap: 10px 16px; }
 .site-header .main-nav { order: 3; justify-content: center; width: 100%; margin: 0; gap: 28px; }
 .header-controls { margin-left: auto; }
}
html:not([data-motion]) .hello-paths path, html:not([data-motion]) .hero-orbit .orbit-stroke path { animation: none; stroke-dashoffset: 0; opacity: 1; }
[data-motion="off"] .nib-stroke { stroke-dashoffset: 0 !important; }
@media (max-width: 760px) and (prefers-reduced-transparency: no-preference) { .glass-panel { backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px); } }
.film-section { padding-bottom: 95px; }
.film-frame { margin: 37px auto 0; padding: 14px 14px 0; max-width: 1000px; overflow: hidden; }
.film-frame video { width: 100%; height: auto; aspect-ratio: 16 / 9; display: block; border-radius: 13px; background: var(--art); object-fit: contain; }
.film-frame figcaption { padding: 17px 20px 20px; margin: 0; font-size: 11px; line-height: 1.8; }
@media (max-width: 760px) { .film-section { padding-bottom: 65px; } .film-frame { padding: 8px 8px 0; border-radius: 18px; margin-top: 28px; } .film-frame video { border-radius: 10px; } .film-frame figcaption { padding: 13px 12px 15px; } }
/* Draw the whole greeting on one clock, then clear all letters together. */
.hello-paths { animation: hello-page 12s ease infinite; animation-play-state: paused; }
.hello-paths path:nth-child(n) { animation-delay: 0s; opacity: 1; }
.hello-paths path:nth-child(1) { animation-name: hello-h; }
.hello-paths path:nth-child(2) { animation-name: hello-e; }
.hello-paths path:nth-child(3) { animation-name: hello-l-one; }
.hello-paths path:nth-child(4) { animation-name: hello-l-two; }
.hello-paths path:nth-child(5) { animation-name: hello-o; }
.hello-paths path:nth-child(6) { animation-name: hello-finish; }
[data-motion="on"] .hello-section.is-loop-visible .hello-paths { animation-play-state: running; }
@keyframes hello-page { 0%,2% { opacity: 0; } 4%,88% { opacity: 1; } 96%,100% { opacity: 0; } }
@keyframes hello-h { 0%,4% { stroke-dashoffset: 1; } 18%,96% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
@keyframes hello-e { 0%,10% { stroke-dashoffset: 1; } 24%,96% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
@keyframes hello-l-one { 0%,17% { stroke-dashoffset: 1; } 31%,96% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
@keyframes hello-l-two { 0%,24% { stroke-dashoffset: 1; } 37%,96% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
@keyframes hello-o { 0%,31% { stroke-dashoffset: 1; } 45%,96% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
@keyframes hello-finish { 0%,39% { stroke-dashoffset: 1; } 51%,96% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
[data-motion="off"] .hello-paths, html:not([data-motion]) .hello-paths { opacity: 1 !important; animation: none; }
@media (prefers-reduced-motion: reduce) { .hello-paths { opacity: 1 !important; } }
@media (max-width: 520px) {
 .study-card > p, .topic-description p, .brush-description p, .flow-list p { font-size: 14px; }
 .all-brushes { font-size: 12px; }
 .study-card > .card-limit, .catalog-note { font-size: 11px; }
}

/* Setup information stays readable alongside the workspace previews. */
.launch-guides { display: flex; flex-wrap: wrap; gap: 8px 25px; margin-top: 16px; }
.launch-guides p, .release-fallback { font-size: 12px; line-height: 1.7; }
.launch-guides strong { color: var(--ink); font-weight: 600; }
.launch-guides a { display: inline-block; margin-left: 7px; }
.release-fallback { margin-top: 11px; }
.windows-workspace { padding-block: 40px 110px; }
.windows-preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 38px; }
.workspace-preview { overflow: hidden; padding: 10px; border-radius: 22px; }
.workspace-preview > a { display: block; border-radius: 14px; overflow: hidden; }
.workspace-preview img { display: block; width: 100%; height: auto; }
.workspace-preview figcaption { padding: 22px 15px 17px; }
.workspace-preview figcaption strong { display: block; font-size: 19px; letter-spacing: -.03em; line-height: 1.3; }
.workspace-preview figcaption span { display: block; font-size: 13px; color: var(--muted); margin-top: 8px; }
.doc-section pre { white-space: pre-wrap; overflow-wrap: anywhere; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); font-size: 13px; line-height: 1.6; }
.workspace-next { display: flex; flex-wrap: wrap; gap: 15px 32px; margin-top: 24px; font-size: 14px; }
.publishing-intro { max-width: 780px; }
.publishing-status { display: inline-flex; border: 1px solid var(--line); border-radius: 100px; padding: 7px 13px; font-size: 12px; color: var(--accent-text); margin-block: 20px; }
.store-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 35px; }
.store-card { padding: 29px; border-radius: 24px; }
.store-card h2 { font-size: 32px; letter-spacing: -.035em; margin-top: 12px; }
.store-cost { font-size: 36px; letter-spacing: -.05em; color: var(--ink); font-weight: 650; margin-top: 19px; line-height: 1.1; }
.store-cost small { display: block; font-size: 13px; color: var(--muted); letter-spacing: 0; font-weight: 400; margin-top: 10px; }
.store-card p { margin-top: 17px; font-size: 14px; }
.store-card p.store-cost { font-size: 52px; margin-top: 24px; }
.store-card .text-link { display: inline-block; margin-top: 17px; font-size: 13px; }
.publish-checklist { display: grid; gap: 10px; margin-top: 23px; }
.publish-checklist label { display: flex; gap: 13px; align-items: flex-start; border: 1px solid var(--line); padding: 17px; border-radius: 14px; font-size: 14px; cursor: pointer; min-height: 52px; }
.publish-checklist input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--teal); }
.publish-checklist strong { display: block; font-weight: 600; }
.publish-checklist span span { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
.checklist-progress { font-size: 13px; margin-top: 14px; }
.publishing-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 23px; }
.publishing-actions button { border: 1px solid var(--line); }
.publishing-links { display: flex; flex-wrap: wrap; gap: 14px 25px; margin-top: 18px; font-size: 14px; }
@media (max-width: 760px) { .windows-workspace { padding-bottom: 70px; } .windows-preview-grid, .store-grid { grid-template-columns: 1fr; gap: 20px; } .workspace-preview figcaption { padding: 18px 12px; } .store-card { padding: 25px; } }
@media (max-width: 520px) { .launch-guides { display: block; } .launch-guides p + p { margin-top: 5px; } .windows-preview-grid { margin-top: 28px; } .publishing-actions .button { width: 100%; } }

.channel-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; margin:28px 0; }
.channel-card { padding:23px; border:1px solid var(--line); border-radius:22px; background:var(--surface); min-width:0; }
.channel-top { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.channel-number { font-size:12px; opacity:.55; font-variant-numeric:tabular-nums; }
.channel-status { font-size:11px; line-height:1.5; text-align:right; }
.channel-card h3 { font-size:21px; letter-spacing:-.02em; margin:17px 0 5px; }
.channel-card p { font-size:13px; margin:12px 0; }
.channel-card .channel-purpose { font-size:11px; text-transform:uppercase; letter-spacing:.1em; opacity:.6; margin:0; }
.channel-card .source-link { font-size:12px; display:inline-block; padding:12px 0; }
@media(max-width:760px) { .channel-grid { grid-template-columns:1fr; } }
