@font-face {
  font-family: "Mona Sans";
  src: url("/static/fonts/mona-sans-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Mona Sans";
  src: url("/static/fonts/mona-sans-medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Mona Sans";
  src: url("/static/fonts/mona-sans-semibold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --side-w: 272px;
  --home-gutter: clamp(28px, 4vw, 72px);
  --p-bg: #f8f8f8;
  --p-surface: #eeeeee;
  --p-ink: #0a0a0a;
  --p-muted: #6a6a6a;
  --p-accent: #1f6b3a;
  --p-accent-ink: #ffffff;
  --p-action: #1f6b3a;
  --p-action-ink: #ffffff;
  --p-inv-bg: #0a0a0a;
  --p-inv-surface: #171717;
  --p-inv-ink: #f8f8f8;
  --p-inv-muted: #939393;
  --p-inv-accent: #1f6b3a;
  --p-inv-accent-ink: #ffffff;
  --p-inv-action: #1f6b3a;
  --p-inv-action-ink: #ffffff;
  --font-display: "Mona Sans", system-ui, sans-serif;
  --font-text: "Mona Sans", system-ui, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --display-weight: 500;
  --display-tracking: -0.03em;
  --display-tracking-xl: -0.04em;
  --display-stretch: 104%;
  --ly-scale: 0.96;
}

.home, .side, .foot, .viewer-surface, .main:has(> .page--account), .main:has(> .page--projects), .main:has(> .lg), .notifications {
  --text: #202b25;
  --secondary: #657068;
  --disabled: #79847b;
  --bg: #f8f8f8;
  --bg-secondary: #eef1ed;
  --bg-hover: #e7ece5;
  --line: #dfe5de;
  --border: #dfe5de;
  --border-hover: #b5c4b6;
  --main: var(--p-action);
  --main-hover: #18572e;
  --main-active: #154c28;
  --action-bg: var(--main);
  --action-hover: var(--main-hover);
  --action-active: var(--main-active);
  --action-ink: #ffffff;
  --secondary-action-bg: var(--text);
  --secondary-action-ink: var(--bg);
  --secondary-action-edge: var(--text);
  --link: #1f6b3a;
  --ring: #438358;
  --bg-selected: #e6eee3;
  --home-surface: #fff;
  --home-detail: #dbe8d5;
  --glass-fill: #f0f3efe8;
  --glass-edge: #ffffff;
  --glass-shine: #ffffffa6;
  --glass-shadow: #28392c0b;
  font-family: var(--font-text);
  color: var(--text);
}

:root[data-theme="dark"] :is(.home, .side, .foot, .viewer-surface, .main:has(> .page--account), .main:has(> .page--projects), .main:has(> .lg), .notifications) {
  --text: #edeef0;
  --secondary: #a6a9af;
  --disabled: #92969e;
  --bg: #101113;
  --bg-secondary: #15171a;
  --bg-hover: #26292e;
  --line: #2c2f35;
  --border: #2c2f35;
  --border-hover: #555a64;
  --main: #8dcfa3;
  --main-hover: #b0dfbf;
  --main-active: #74ba8b;
  --action-bg: #2b7644;
  --action-hover: #31834b;
  --action-active: #24663a;
  --action-ink: #ffffff;
  --secondary-action-bg: #282b30;
  --secondary-action-ink: #edeef0;
  --secondary-action-edge: #3b4048;
  --link: #8dcfa3;
  --ring: #8dcfa3;
  --bg-selected: #272a30;
  --home-surface: #1b1d21;
  --home-detail: #354b3d;
  --glass-fill: #1b1d21eb;
  --glass-edge: #36393f;
  --glass-shine: #ffffff0f;
  --glass-shadow: #00000040;
}

.brand-mark { flex: none; width: 30px; height: 30px; fill: currentColor; }
.brand-light { font-weight: 400; }
.side { position: relative; isolation: isolate; width: var(--side-w); padding: 32px 24px 28px; background: var(--bg); border-right: 0; }
.side::before { content: ""; position: absolute; z-index: -1; inset: 12px; border: 1px solid var(--glass-edge); border-radius: 22px; background: var(--glass-fill); box-shadow: inset 0 1px 0 var(--glass-shine), 0 4px 20px var(--glass-shadow); }
.side__brand { gap: 8px; min-height: 44px; padding: 0 4px; color: var(--text); font-size: 22px; font-weight: 600; letter-spacing: -.8px; }
.side__brand .brand-mark { color: var(--main); }
.side__caption { margin: 6px 4px 32px; color: var(--secondary); font-size: 12px; }
.side__nav { gap: 5px; padding: 0; }
.side__nav a { height: 44px; padding: 0 12px; border: 1px solid transparent; border-radius: 12px; font-size: 14px; font-weight: 500; transition: background .2s, color .2s, border-color .2s; }
.side__nav a:active { background: var(--bg-selected); }
.side__nav a.is-current { background: var(--home-surface); border-color: var(--glass-edge); box-shadow: inset 0 1px 0 var(--glass-shine), 0 2px 5px var(--glass-shadow); color: var(--main); }
.side__nav .ico { width: 19px; height: 19px; }
.side__foot { padding: 0; gap: 24px; }
.side__cta { gap: 10px; padding: 20px 4px 0; border-top: 1px solid var(--line); }
.side__save-title { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: -.2px; }
.side__save-text { margin: 0 0 6px; color: var(--secondary); font-size: 12px; line-height: 1.65; }
.side__cta .btn { height: 44px; padding: 0 8px; border-radius: 12px; background: var(--secondary-action-bg); border-color: var(--secondary-action-edge); color: var(--secondary-action-ink); box-shadow: none; font-size: 12px; transition: opacity .16s, transform .16s; }
.side__cta .btn:hover { opacity: .88; transform: translateY(-1px); }
.side__cta .btn:active { transform: translateY(1px); }
.side__cta .side__signin { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; font-size: 13px; color: var(--secondary); }
.side .theme { justify-content: center; gap: 2px; width: fit-content; margin: 0 auto; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--glass-fill); box-shadow: inset 0 1px 0 var(--glass-shine); }
.side .theme__btn { width: 44px; height: 44px; border-radius: 50%; }
.side .theme__btn.is-active { background: var(--home-surface); color: var(--main); box-shadow: 0 1px 4px var(--glass-shadow), inset 0 0 0 1px var(--glass-edge); }
.side .account__avatar { background: var(--bg-selected); }
.side .menu__panel { background: var(--home-surface); border-color: var(--line); }
.side .menu__item { min-height: 44px; font-size: 14px; }
.side :is(a, button):focus-visible, .foot a:focus-visible, .home a:focus-visible { outline: 2px solid var(--ring); outline-offset: 4px; }

.home { max-width: none; padding: 0; background: var(--bg); text-align: left; transform: none; }
.home-hero { padding: 0 var(--home-gutter) 64px; min-height: 100svh; }
.home-stage, .home-section-inner { width: calc(100% - var(--side-w)); max-width: 1120px; margin-left: max(0px, calc((100% - var(--side-w) - 1120px) / 2)); margin-right: auto; }
.home-topline { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--secondary); }
.home-topline > span:first-child { display: flex; align-items: center; gap: 8px; color: var(--text); }
.home-intro { padding-top: clamp(40px, 6vh, 72px); text-align: center; }
.home-eyebrow { margin: 0 0 20px; color: var(--secondary); font-size: 13px; font-weight: 500; }
.home h1 { margin: 0 auto 24px; max-width: 850px; font-size: clamp(34px, 4vw, 60px); line-height: 1.1; font-weight: 500; letter-spacing: -.045em; text-wrap: balance; }
.home h1 > span { color: var(--secondary); }
.home .lead { max-width: 48ch; margin: 0 auto 36px; font-size: 16px; line-height: 1.7; }
.home .lead code { background: transparent; font-size: inherit; padding: 0; color: var(--text); }
.home-drop { width: 100%; max-width: 620px; min-height: 232px; margin: 0 auto; padding: 36px 24px; gap: 0; background: var(--home-surface); border: 1px dashed var(--border-hover); border-radius: 20px; box-shadow: inset 0 1px 0 var(--glass-shine), 0 6px 32px var(--glass-shadow); transition: background .2s, border-color .2s, box-shadow .2s; }
.home-drop::before { display: none; }
.home-drop:hover, .home-drop:focus-within { border-color: var(--main); }
.home-drop.is-over { background: var(--bg-selected); border-color: var(--main); box-shadow: 0 0 0 3px var(--home-detail); }
.home-drop.is-busy { opacity: 1; background: var(--bg-secondary); border-style: solid; }
.home-drop.is-busy .home-open { opacity: .55; }
.home-drop.is-busy .drop__hint { color: var(--main); }
.home .drop__hint { font-size: 16px; font-weight: 500; text-align: center; }
.home-drop__sub { margin: 7px 0 20px; color: var(--secondary); font-size: 13px; text-align: center; }
.home-open { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 26px; background: var(--action-bg); color: var(--action-ink); border: 1px solid transparent; border-radius: 12px; box-shadow: inset 0 1px 0 #ffffff26, 0 2px 3px var(--glass-shadow); font-size: 14px; font-weight: 500; cursor: pointer; transition: background .16s, transform .16s; }
.home-open input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.home-open:hover { background: var(--action-hover); transform: translateY(-1px); }
.home-open:active { background: var(--action-active); transform: translateY(1px); }
.home-open:has(input:focus-visible) { box-shadow: inset 0 1px 0 #ffffff26, 0 0 0 4px color-mix(in srgb, var(--main) 30%, transparent); }
.home .drop__terms { margin-top: 18px; gap: 0; font-size: 12px; }
.home .drop__terms li { padding: 0 10px; border: 0; background: transparent; border-radius: 0; }
.home .drop__terms li + li { border-left: 1px solid var(--line); }
.home-privacy { display: flex; justify-content: center; align-items: center; gap: 7px; margin: 20px auto 0; color: var(--secondary); font-size: 13px; line-height: 1.6; text-align: center; }
.home-privacy .ico { flex: none; width: 15px; height: 15px; }
.home-convert { margin: 8px 0 0; color: var(--secondary); text-align: center; font-size: 13px; }
.home-convert a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.home-convert a { margin-left: 4px; color: var(--link); text-underline-offset: 4px; }
.home .drop__error { max-width: 660px; margin: 16px auto; }

.home-samples { margin: 0; padding: 72px var(--home-gutter); background: var(--bg-secondary); border-block: 1px solid var(--line); }
.home-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: 1120px; margin: 0 auto 36px; }
.home-section-head .home-eyebrow { margin-bottom: 12px; }
.home-section-head h2 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -.045em; font-weight: 500; }
.home-section-head > a { display: inline-flex; align-items: center; min-height: 44px; flex: none; color: var(--link); font-size: 14px; }
.home-section-head > a [aria-hidden="true"] { margin-left: 8px; }
.home-examples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 1120px; margin: 0 auto; padding: 0; list-style: none; }
.home-examples > li { min-width: 0; }
.home-example-featured { grid-column: 1 / -1; }
.home-example { display: flex; flex-direction: column; height: 100%; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--home-surface); color: var(--text); overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s; }
.home-example:hover { text-decoration: none; border-color: var(--border-hover); transform: translateY(-2px); box-shadow: 0 8px 24px var(--glass-shadow); }
.home-example:active { transform: translateY(0); box-shadow: none; }
.home-example__top { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--secondary); }
.home-example__format { letter-spacing: .03em; }
.home-example__arrow { font-size: 20px; line-height: 1; color: var(--text); transition: transform .18s; }
.home-example:hover .home-example__arrow { transform: translate(2px, -2px); }
.home-preview { display: block; margin: 8px -28px 0; overflow: hidden; border-block: 1px solid var(--line); background: var(--home-surface); }
.home-preview img { display: block; width: 100%; height: auto; min-width: 700px; }
.home-preview .home-preview__dark { display: none; }
:root[data-theme="dark"] .home-preview__light { display: none; }
:root[data-theme="dark"] .home-preview .home-preview__dark { display: block; }
.home-example__name { display: block; margin-top: 24px; font-size: 22px; font-weight: 500; line-height: 1.25; letter-spacing: -.035em; text-wrap: balance; }
.home-example-featured .home-example__name { margin-top: 18px; font-size: 28px; }
.home-example__note { display: block; margin: 9px 0 20px; color: var(--secondary); font-size: 14px; line-height: 1.65; }
.home-example__file { display: block; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); color: var(--secondary); font-size: 12px; overflow-wrap: anywhere; }
.home-example-featured .home-example__file { border-top: 0; padding-top: 20px; }
.home-samples__note { margin: 24px 0 0; text-align: center; color: var(--secondary); font-size: 13px; line-height: 1.6; }

.home .prose { width: calc(100% - var(--side-w) - 2 * var(--home-gutter)); max-width: 1120px; margin: 0 auto 0 max(var(--home-gutter), calc((100% - var(--side-w) - 1120px) / 2)); padding: 0; text-align: left; counter-reset: home-chapter; }
.home .prose__answer { padding: 72px 0; margin: 0; color: var(--secondary); font-size: clamp(18px, 1.8vw, 23px); line-height: 1.75; letter-spacing: -.025em; }
.home .prose__answer code { color: var(--text); font-size: .85em; background: var(--bg-secondary); }
.home-chapter { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); gap: 48px; padding: 72px 0; counter-increment: home-chapter; }
.home .home-chapter h2 { position: sticky; top: 40px; align-self: start; margin: 0; font-size: clamp(25px, 2.5vw, 34px); font-weight: 500; line-height: 1.2; letter-spacing: -.04em; text-wrap: balance; }
.home .home-chapter h2::before { content: "0" counter(home-chapter); display: block; margin-bottom: 22px; color: var(--main); font-family: var(--font-mono); font-size: 12px; font-weight: 400; letter-spacing: .04em; }
.home-chapter__body { min-width: 0; max-width: 65ch; }
.home-chapter__body > :first-child { margin-top: 0; }
.home-chapter__body > :last-child { margin-bottom: 0; }
.home .prose p, .home-example__note { text-wrap: pretty; }
.home .prose a { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.home .home-chapter p, .home .home-chapter li { color: var(--secondary); font-size: 16px; line-height: 1.8; }
.home .home-chapter strong { color: var(--text); font-weight: 500; }
.home .steps li { padding-left: 40px; margin-bottom: 32px; }
.home .steps li:last-child, .home .facts li:last-child { margin-bottom: 0; }
.home .steps li::before { width: 24px; height: 24px; left: 0; top: 2px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg-secondary); color: var(--main); font-size: 11px; line-height: 22px; }
.home .facts li { padding: 0 0 24px 22px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.home .facts li:last-child { border-bottom: 0; padding-bottom: 0; }
.home .facts li::before { width: 5px; height: 5px; left: 0; top: 11px; border: 0; background: var(--main); border-radius: 1px; }
.home .faq dt { margin: 24px 0 8px; color: var(--text); font-size: 16px; font-weight: 500; }
.home .faq dt:first-child { margin-top: 0; }
.home .faq dd { margin: 0; padding-bottom: 24px; border-bottom: 1px solid var(--line); color: var(--secondary); font-size: 15px; line-height: 1.8; }
.home .faq dd:last-child { border-bottom: 0; padding-bottom: 0; }

.foot { margin-top: 0; padding: 64px var(--home-gutter) 28px; background: var(--bg-secondary); border-top: 1px solid var(--line); }
.foot__inner { width: calc(100% - var(--side-w)); max-width: 1120px; margin: 0 auto 0 max(0px, calc((100% - var(--side-w) - 1120px) / 2)); grid-template-columns: minmax(160px, .8fr) minmax(0, 2fr); gap: 40px; transform: none; }
.foot__brand { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-size: 23px; font-weight: 600; letter-spacing: -.8px; }
.foot__brand:hover { text-decoration: none; }
.foot__brand .brand-mark { color: var(--main); }
.foot__intro p { max-width: 24ch; margin: 20px 0 24px; color: var(--secondary); font-size: 16px; line-height: 1.6; letter-spacing: -.02em; }
.foot__start { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; font-size: 14px; color: var(--link); }
.foot__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
.foot__heading { margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.foot__links { gap: 0; }
.foot__links li { padding: 11px 0; font-size: 13px; line-height: 1.6; }
.foot__nav a { display: inline; padding: 11px 0; font-size: 13px; line-height: 1.6; }
.foot__nav a::after { display: none; }
.foot .foot__nav a { text-decoration: none; background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; background-origin: content-box; background-clip: content-box; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: color .2s var(--ease-out), background-size .45s var(--ease-out); }
.foot .foot__nav a:hover { text-decoration: none; background-size: 100% 1px; }
.foot__legal { grid-column: 1 / -1; gap: 4px 20px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; }
.foot__legal a { display: inline-flex; align-items: center; min-height: 44px; }
.foot__legal > span { margin-right: auto; color: var(--secondary); }
.home-section-head > a [aria-hidden="true"], .foot__start [aria-hidden="true"], .home-convert a [aria-hidden="true"] { transition: transform .2s; }
.home-section-head > a:hover [aria-hidden="true"], .foot__start:hover [aria-hidden="true"], .home-convert a:hover [aria-hidden="true"] { transform: translate(2px, -2px); }
.home-section-head > a, .foot__start, .side__signin { text-underline-offset: 5px; text-decoration-thickness: 1px; }

.home a.arrow-link, .foot a.arrow-link { text-decoration-line: none; }
.home a.arrow-link:hover, .foot a.arrow-link:hover { text-decoration-line: none; }
.arrow-link > .arrow-link__label { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.arrow-link:hover > .arrow-link__label { text-decoration-line: underline; }
.arrow-link > [aria-hidden="true"] { display: inline-block; flex: none; }

:root {
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .64, 1);
  --rise-ease: var(--ease-out);
  --rise-time: .72s;
  --rise-step: 60ms;
  --rise-distance: 10px;
  --rise-blur: 6px;
}

.home-chapter::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line); transform-origin: left center; }

@media (prefers-reduced-motion: no-preference) {
  [data-rise] {
    animation: rise var(--rise-time) var(--rise-ease) backwards;
    animation-delay: calc(var(--rise-step) * var(--rise-order, 0));
  }
  [data-rise="1"] { --rise-order: 1; }
  [data-rise="2"] { --rise-order: 2; }
  [data-rise="3"] { --rise-order: 3; }
  [data-rise="4"] { --rise-order: 4; }
  [data-rise="5"] { --rise-order: 5; }
  [data-rise="6"] { --rise-order: 6; }
  [data-rise="7"] { --rise-order: 7; }
  [data-rise][data-rise-visual] { --rise-time: .9s; --rise-distance: 18px; --rise-blur: 0px; }
  main:has([aria-invalid="true"]) [data-rise] { animation: none; }

  .motion [data-appear]:not(.is-in) { opacity: 0; }
  .motion [data-appear].is-in { animation: reveal .95s var(--ease-out) backwards; animation-delay: var(--reveal-delay, 0ms); }
  .motion [data-appear="card"].is-in { animation-name: reveal-card; animation-duration: 1.05s; }
  .motion [data-appear="chapter"]:not(.is-in) { opacity: 1; }
  .motion [data-appear="chapter"]:not(.is-in) > * { opacity: 0; }
  .motion [data-appear="chapter"]::before { transform: scaleX(0); }
  .motion [data-appear="chapter"].is-in { animation: none; }
  .motion [data-appear="chapter"].is-in::before { transform: scaleX(1); transition: transform 1.3s var(--ease-out) var(--reveal-delay, 0ms); }
  .motion [data-appear="chapter"].is-in > * { animation: reveal .95s var(--ease-out) backwards; animation-delay: calc(var(--reveal-delay, 0ms) + 120ms); }
  .motion [data-appear="chapter"].is-in > :first-child { animation-delay: var(--reveal-delay, 0ms); }

  .home .field__error,
  .home [data-note]:not([hidden]) { animation: note .32s var(--ease-out) backwards; }
  .home .field input[aria-invalid="true"],
  .home .field input[aria-invalid="true"]:focus { animation: nudge .38s cubic-bezier(.36, .07, .19, .97) .05s; }

  @keyframes rise { from { opacity: 0; transform: translateY(var(--rise-distance)); filter: blur(var(--rise-blur)); } }
  @keyframes reveal { from { opacity: 0; transform: translate3d(0, 28px, 0); filter: blur(8px); } }
  @keyframes reveal-card { from { opacity: 0; transform: translate3d(0, 44px, 0) scale(.965); } }
  @keyframes note { from { opacity: 0; transform: translateY(-4px); } }
  @keyframes nudge { 20%, 60% { transform: translateX(-3px); } 40%, 80% { transform: translateX(3px); } }
}

@media print {
  .motion [data-appear], .motion [data-appear] > * { opacity: 1 !important; animation: none !important; }
}

@media (min-width: 1600px) {
  .foot__nav { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
  :root { --side-w: 232px; --home-gutter: 28px; }
  .side { padding-inline: 20px; }
  .side__brand { font-size: 20px; }
  .home-examples { grid-template-columns: 1fr; gap: 16px; }
  .home-example { padding: 24px; }
  .home-preview { margin-inline: -24px; }
  .home-chapter { gap: 24px; grid-template-columns: 1fr; }
  .home .home-chapter h2 br { display: none; }
  .home .home-chapter h2 { position: static; max-width: 24ch; }
  .home .home-chapter h2::before { margin-bottom: 16px; }
  .foot__inner { grid-template-columns: 1fr; }
}

@media (max-width: 820.8px) {
  :root { --side-w: 0px; --home-gutter: 32px; }
  .side { z-index: 30; width: auto; padding: 12px 20px; gap: 12px 20px; background: var(--bg); border-bottom: 0; }
  .side::before { inset: 6px; border-radius: 20px; }
  .side__brand { padding: 0; min-height: 44px; font-size: 20px; }
  .side__brand .brand-mark { width: 25px; height: 25px; }
  .side__caption, .side__save-title, .side__save-text { display: none; }
  .side__nav a { height: 44px; padding: 0 10px; font-size: 12px; }
  .side__foot { gap: 12px; }
  .side__cta { padding: 0; border: 0; background: transparent; gap: 12px; }
  .side__cta .btn { padding: 0 12px; height: 44px; }
  .side .theme { padding: 2px; gap: 0; margin: 0; }
  .side .theme__btn { width: 44px; height: 44px; }
  .side .menu--up .menu__panel { top: calc(100% + 8px); bottom: auto; min-width: min(248px, calc(100vw - 32px)); transform-origin: top right; }
  .home-hero { min-height: auto; padding: 0 var(--home-gutter) 56px; }
  .home-topline { min-height: 64px; }
  .home-intro { padding-top: 52px; }
  .home h1 { font-size: clamp(34px, 6.5vw, 52px); }
  .home-samples { padding: 56px var(--home-gutter); }
  .home-chapter { padding: 48px 0; }
  .foot { padding: 48px var(--home-gutter) 24px; }
}

@media (max-width: 600px) {
  :root { --home-gutter: 20px; }
  .side { display: grid; grid-template-columns: 1fr auto; padding: 12px 16px; gap: 6px 8px; }
  .side__brand { grid-column: 1; grid-row: 1; font-size: 20px; }
  .side__nav { grid-column: 1 / -1; grid-row: 3; width: 100%; }
  .side__nav a { flex: 1; justify-content: center; min-height: 44px; font-size: 13px; }
  .side__foot { display: contents; }
  .side__cta { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: 8px; }
  .side__cta .btn { min-height: 44px; font-size: 12px; padding: 0 14px; }
  .side__cta .side__signin { min-height: 44px; padding-inline: 12px; white-space: nowrap; }
  .side .theme { grid-column: 2; grid-row: 1; }
  .side .theme__btn { width: 44px; height: 44px; }
  .side__foot > .menu { grid-column: 2; grid-row: 1; justify-self: end; }
  .side:has(.account) { grid-template-columns: 1fr 44px; }
  .side:has(.account) .theme { grid-column: 1 / -1; grid-row: 3; justify-self: center; }
  .side:has(.account) .side__nav { grid-column: 1 / -1; grid-row: 2; }
  .side:has(.account) .side__nav a { padding-inline: 6px; gap: 4px; font-size: 12px; white-space: nowrap; }
  .side:has(.account) .side__nav .ico { width: 16px; height: 16px; }
  .home-hero { padding: 0 var(--home-gutter) 44px; }
  .home-topline { min-height: 48px; font-size: 11px; }
  .home-topline > span:last-child { display: none; }
  .home-intro { padding-top: 36px; }
  .home-eyebrow { font-size: 12px; margin-bottom: 18px; }
  .home h1 { font-size: clamp(28px, 7.6vw, 44px); letter-spacing: -.045em; line-height: 1.14; margin-bottom: 20px; }
  .home .lead { font-size: 14px; line-height: 1.7; margin-bottom: 28px; }
  .home-drop { min-height: 224px; padding: 28px 16px; border-radius: 16px; }
  .home .drop__hint { font-size: 16px; }
  .home-drop__sub { max-width: 27ch; font-size: 13px; line-height: 1.6; }
  .home-open { width: 100%; max-width: 240px; }
  .home .drop__terms { flex-wrap: wrap; justify-content: center; gap: 6px 0; font-size: 12px; }
  .home .drop__terms li { padding-inline: 7px; }
  .home-privacy { align-items: flex-start; max-width: 34ch; font-size: 12px; line-height: 1.6; }
  .home-privacy .ico { margin-top: 2px; }
  .home-convert { font-size: 12px; }
  .home-samples { padding: 44px var(--home-gutter); }
  .home-section-head { align-items: flex-start; gap: 16px; flex-direction: column; margin-bottom: 24px; }
  .home-section-head .home-eyebrow { margin-bottom: 8px; }
  .home-examples { grid-template-columns: 1fr; gap: 16px; }
  .home-example { display: flex; padding: 24px; gap: 0; }
  .home-preview { margin-block: 4px 0; }
  .home-preview img { position: relative; left: 100%; width: calc(100% * 1300 / 607); min-width: 0; transform: translateX(-100%); }
  .home-example__name, .home-example-featured .home-example__name { font-size: 23px; }
  .home-example__note { margin: 8px 0 16px; }
  .home-samples__note { font-size: 13px; line-height: 1.6; }
  .home .prose__answer { padding: 44px 0; font-size: 18px; }
  .home-chapter { grid-template-columns: 1fr; padding: 40px 0; gap: 24px; }
  .home .home-chapter h2 { font-size: 28px; }
  .home .home-chapter p, .home .home-chapter li { font-size: 16px; }
  .foot { padding: 40px var(--home-gutter) 24px; }
  .foot__inner { grid-template-columns: 1fr; gap: 36px; }
  .foot__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .foot__legal { gap: 4px 18px; font-size: 12px; }
  .foot__legal > span { flex-basis: 100%; margin-bottom: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .home *, .side *, .foot * { animation: none !important; transition: none !important; }
}

@supports (backdrop-filter: blur(16px)) {
  .side::before, .side .theme { backdrop-filter: blur(16px) saturate(1.2); }
}

@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .side::before, .side .theme { background: var(--bg-secondary); backdrop-filter: none; box-shadow: none; border-color: var(--border-hover); }
}

@media (forced-colors: active) {
  .side::before, .home-drop, .side .theme { border: 1px solid CanvasText; }
  .side__nav a.is-current, .side .theme__btn.is-active { outline: 2px solid Highlight; }
  .home-open { border-color: ButtonText; }
}

[data-glow] { position: relative; isolation: isolate; }
.glow { position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0; pointer-events: none; background: radial-gradient(var(--glow-size, 380px) circle at var(--gx, 50%) var(--gy, 30%), var(--glow-color, color-mix(in srgb, var(--main) 14%, transparent)), transparent 70%); transition: opacity .6s var(--ease-out); }
.is-glowing > .glow { opacity: 1; }
@media print { .glow { display: none; } }
@media (forced-colors: active) { .glow { display: none; } }
