@font-face {
  font-family: "Bricolage";
  src: url("/fonts/bricolage-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --paper: #eaf0f6;
  --white: #f9fbfd;
  --ink: #152138;
  --muted: #4a5b72;
  --blue: #243bce;
  --blue-dark: #172aa8;
  --lime: #d5ee92;
  --line: #c8d3e1;
  --on-blue: #d8e0ff;
  --display: "Bricolage", sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: light;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-synthesis: none;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  scrollbar-color: #8092b1 var(--paper);
  scroll-padding-top: 2rem;
}
* { box-sizing: border-box; }
body { margin: 0; }
::selection { color: var(--ink); background: var(--lime); }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
button:focus-visible { outline-offset: 5px; }
[hidden] { display: none !important; }
img, svg { max-width: 100%; vertical-align: middle; }
img { height: auto; }
p, h1, h2, h3, blockquote { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(3.4rem, 6.7vw, 6rem); letter-spacing: -.04em; line-height: .99; }
h2 { font-size: clamp(2.35rem, 4vw, 3.65rem); letter-spacing: -.035em; line-height: 1.07; }
h3 { font-size: 1.35rem; letter-spacing: -.02em; line-height: 1.25; }
p { text-wrap: pretty; }
.wrap { width: min(1240px, calc(100% - 112px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 8px 16px; background: var(--lime); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { display: flex; align-items: center; justify-content: space-between; padding-block: 27px; gap: 28px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font: 700 2.15rem/1 var(--display); letter-spacing: -.035em; color: var(--blue); text-decoration: none; }
.site-header nav { display: flex; align-items: center; gap: 34px; font-size: .9rem; font-weight: 500; }
.site-header nav a { padding-block: 10px; text-decoration: none; }
.site-header nav a:hover, .site-header [aria-current] { color: var(--blue); text-decoration: underline; }
.source-link { display: inline-flex; align-items: center; gap: 7px; }
.source-link svg { width: 17px; height: 17px; transform: rotate(-40deg); }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; column-gap: 8%; padding-block: 82px 80px; align-items: center; }
.hero h1 { color: var(--blue); }
.hero h1 span { color: var(--ink); }
.hero-description { margin-top: 30px; font-size: 1.15rem; line-height: 1.7; max-width: 42ch; }
.hero-action { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 15px 22px; border-radius: 6px; font-weight: 600; text-decoration: none; min-height: 52px; transition: background-color 160ms ease-out; }
.button:hover { text-decoration: none; }
.button-primary { background: var(--blue); color: var(--white); }
.button-primary:hover { background: var(--blue-dark); }
.text-link { display: inline-flex; gap: 10px; align-items: center; font-size: .93rem; font-weight: 600; color: var(--blue); }
.preview-note { color: var(--muted); font-size: .81rem; line-height: 1.7; margin-top: 18px; }
.specimen { padding-top: 16px; }
.specimen-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--muted); font-size: .85rem; }
.pronunciation { white-space: nowrap; }
.pronunciation [lang] { color: var(--blue); font-size: 1.4rem; margin-right: 7px; }
.spoken { font: 500 clamp(2rem, 3.2vw, 3rem)/1.12 var(--display); color: var(--blue); letter-spacing: -.03em; padding-top: 24px; min-height: 147px; }
.conversion { display: flex; align-items: center; gap: 15px; color: var(--muted); font-size: .85rem; margin: 14px 0 20px; }
.conversion-line { width: 58px; height: 1px; background: var(--line); }
.written-area { padding: 25px 25px 18px; background: var(--white); min-height: 155px; }
.written { font: 500 clamp(1.5rem, 2.1vw, 2rem)/1.32 var(--display); letter-spacing: -.025em; min-height: 76px; }
.cursor, .type-cursor { display: inline-block; width: 2px; height: 1em; margin-left: 4px; background: var(--blue); vertical-align: -.1em; }
.demo-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 13px; }
.demo-play { display: flex; align-items: center; gap: 8px; padding: 8px 0; border: 0; background: transparent; color: var(--blue); font-size: .82rem; font-weight: 600; min-height: 40px; }
.demo-play:hover { text-decoration: underline; text-underline-offset: 4px; }
.demo-play:disabled { color: var(--muted); }
.demo-play svg { width: 16px; height: 16px; }
.language-switch { display: flex; gap: 3px; border: 0; padding: 0; margin: 0; flex-shrink: 0; }
.language-switch label { position: relative; display: flex; align-items: center; min-height: 40px; cursor: pointer; }
.language-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.language-switch span { display: block; padding: 6px 9px; font-size: .74rem; color: var(--muted); border-radius: 4px; }
.language-switch input:checked + span { color: var(--blue); background: var(--paper); }
.language-switch input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.demo-caption { color: var(--muted); margin-top: 12px; font-size: .7rem; min-height: 24px; }
.actual-hud { display: flex; align-items: center; gap: 16px; margin-top: 22px; }
.actual-hud img { width: 228px; }
.actual-hud span { color: var(--muted); font-size: .72rem; max-width: 11ch; line-height: 1.5; }
.utility-band { border-block: 1px solid var(--line); }
.utility-band .wrap { display: flex; justify-content: space-between; padding-block: 26px; gap: 32px; }
.utility-band p { font-size: .88rem; color: var(--muted); }
.utility-band strong { color: var(--ink); font-weight: 500; }
.ritual { padding-block: 110px 100px; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; }
.section-heading > p { max-width: 42ch; color: var(--muted); font-size: 1.1rem; }
.steps { counter-reset: steps; display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px; list-style: none; padding: 0; margin: 54px 0 0; }
.steps li { counter-increment: steps; }
.step-art { height: 110px; display: flex; align-items: center; gap: 4px; margin-bottom: 26px; }
.cursor-art { color: var(--muted); font-size: 1.15rem; }
.keys-art { gap: 8px; }
kbd { font-family: var(--body); font-size: .85em; border: 1px solid var(--line); border-radius: 4px; padding: 2px 5px; white-space: nowrap; }
.keys-art kbd { font-size: 1.3rem; background: var(--white); padding: 10px 14px; border-color: #b4c4d9; border-bottom-width: 3px; border-radius: 7px; }
.result-art span { background: var(--lime); padding: 8px 12px; font-size: .95rem; max-width: 250px; }
.steps h3::before { content: counter(steps) ". "; color: var(--blue); }
.steps p { margin-top: 12px; color: var(--muted); font-size: .95rem; max-width: 35ch; }
.ritual-footnote { margin-top: 40px; font-size: .8rem; color: var(--muted); }
.ownership { color: var(--white); background: var(--blue); padding-block: 95px; }
.ownership-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 12%; }
.ownership h2 { font-size: clamp(3.5rem, 6.3vw, 5.75rem); line-height: 1; }
.ownership h2 span { color: var(--lime); }
.ownership h2 + p { font-size: 1.05rem; line-height: 1.75; color: var(--on-blue); margin-top: 28px; }
.ownership-lead { font-size: 1.2rem; line-height: 1.65; max-width: 42ch; }
.connection-list { margin: 30px 0; }
.connection-list > div { border-top: 1px solid #7184e8; padding: 16px 0; display: grid; grid-template-columns: 140px 1fr; gap: 16px; }
.connection-list dt { font-weight: 600; }
.connection-list dd { color: var(--on-blue); font-size: .9rem; margin: 0; }
.cost-note { color: var(--on-blue); font-size: .88rem; }
.cost-note strong { color: var(--white); font-weight: 600; }
.light-link { color: var(--lime); margin-top: 25px; }
.ownership :focus-visible { outline-color: var(--lime); }
.privacy-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 12%; padding-block: 108px; }
.privacy-preview > div > p + p { color: var(--muted); margin-block: 20px 25px; }
.large-copy { font-size: 1.3rem; line-height: 1.6; }
.questions { display: grid; grid-template-columns: 1fr 1fr; gap: 12%; padding-block: 0 104px; }
.questions h2 { max-width: 7ch; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; list-style: none; padding: 22px 30px 22px 0; cursor: pointer; font-weight: 500; line-height: 1.5; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 3px; top: 30px; width: 8px; height: 8px; border: solid var(--blue); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
details[open] summary::after { transform: rotate(225deg); top: 34px; }
details p { padding: 0 24px 24px 0; color: var(--muted); font-size: .95rem; }
details a { color: var(--blue); }
.closing { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 60px 0 80px; border-top: 1px solid var(--line); }
.closing h2 span { color: var(--blue); }
.closing p { color: var(--muted); font-size: .95rem; margin-top: 18px; }
.closing-action { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
.closing-action span { color: var(--muted); font-size: .76rem; }
.site-footer { border-top: 1px solid var(--line); padding-block: 32px 27px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 22px; }
.footer-brand > span { font-size: .8rem; color: var(--muted); }
.site-footer .wordmark { font-size: 1.8rem; }
.site-footer .wordmark svg { width: 24px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; font-size: .8rem; }
.site-footer nav svg { width: 14px; }
.site-footer > p { width: 100%; font-size: .72rem; color: var(--muted); }
.docs-layout { display: grid; grid-template-columns: 220px minmax(0, 730px); justify-content: space-between; gap: 70px; padding-block: 58px 100px; }
.toc { position: sticky; top: 34px; align-self: start; display: flex; flex-direction: column; gap: 3px; padding-top: 13px; }
.toc a { color: var(--muted); font-size: .9rem; padding: 7px 0; text-decoration: none; }
.toc a:hover { color: var(--blue); text-decoration: underline; }
.prose { min-width: 0; }
.doc-heading h1 { font-size: clamp(3rem, 5vw, 4.5rem); color: var(--blue); }
.doc-lead { font-size: 1.17rem; color: var(--muted); margin-top: 26px; }
.updated { font-size: .85rem; color: var(--muted); margin-top: 20px; }
.prose section { margin-top: 64px; scroll-margin-top: 28px; }
.prose h2 { font-size: 2.1rem; margin-bottom: 20px; }
.prose h3 { margin-top: 36px; margin-bottom: 12px; }
.prose p + p, .prose ul + p, .prose ol + p { margin-top: 18px; }
.prose p, .prose li { max-width: 72ch; }
.prose ul, .prose ol { padding-left: 23px; }
.prose li { padding-left: 4px; margin-block: 10px; }
.prose a { color: var(--blue); }
code, pre { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .86em; }
code { overflow-wrap: anywhere; background: #dfe7f0; padding: 2px 5px; border-radius: 3px; }
pre { overflow-x: auto; font-size: .87rem; line-height: 1.9; margin: 0; padding: 28px 24px; }
pre code { font-size: inherit; background: none; padding: 0; overflow-wrap: normal; }
.code-block { position: relative; background: var(--ink); color: var(--white); margin-block: 25px; padding-top: 30px; border-radius: 6px; }
.copy-button { position: absolute; right: 12px; top: 10px; background: transparent; border: 1px solid #687c99; color: var(--white); border-radius: 4px; padding: 5px 10px; font-size: .75rem; min-height: 34px; }
.copy-button:hover { background: #2a3c58; }
.copy-button:focus-visible { outline-color: var(--lime); }
.copy-status { font-size: .78rem; color: #d0def4; padding-inline: 24px; }
.copy-status:not(:empty) { padding-bottom: 16px; }
.settings-list { background: var(--white); padding: 5px 22px; margin-block: 20px; }
.settings-list > div { display: grid; grid-template-columns: 136px minmax(0, 1fr); padding-block: 15px; gap: 12px; border-bottom: 1px solid var(--line); }
.settings-list > div:last-child { border-bottom: 0; }
.settings-list dt { font-weight: 600; font-size: .9rem; }
.settings-list dd { margin: 0; font-size: .92rem; }
.notice { background: var(--lime); padding: 22px; margin-top: 28px !important; }
.doc-close { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); }
.doc-close p { font: 500 1.6rem/1.4 var(--display); margin-bottom: 12px; }
.not-found { min-height: 65vh; padding-block: 70px; }
.not-found h1 { color: var(--blue); }
.not-found p { margin-block: 24px; }
.not-found .text-link { margin-left: 25px; }
@keyframes type-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
.written-area[data-state="typing"] .written { animation: type-in 900ms cubic-bezier(.16, 1, .3, 1) both; }
.written-area[data-state="listening"] .cursor { opacity: .4; }
@media (min-width: 1600px) { .hero { padding-block: 104px 106px; } }
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 72px); }
  .hero { column-gap: 6%; padding-top: 60px; }
  .hero h1 { font-size: clamp(3.5rem, 7.6vw, 5rem); }
  .hero-action { gap: 14px; }
  .hero-action .text-link { font-size: .85rem; }
  .specimen-heading { font-size: .73rem; }
  .actual-hud { gap: 10px; }
  .actual-hud img { width: 205px; }
  .ownership-grid, .privacy-preview, .questions { gap: 7%; }
  .connection-list > div { grid-template-columns: 118px 1fr; }
  .docs-layout { grid-template-columns: 170px minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { padding-block: 21px; gap: 16px; }
  .wordmark { font-size: 1.85rem; gap: 7px; }
  .wordmark svg { width: 24px; }
  .site-header nav { gap: 17px; font-size: .78rem; }
  .source-link svg { display: none; }
  .hero { grid-template-columns: 1fr; padding-block: 48px 46px; row-gap: 50px; }
  .hero h1 { font-size: clamp(3.5rem, 12.6vw, 5.5rem); }
  .hero-description { margin-top: 23px; font-size: 1.05rem; }
  .hero-action { margin-top: 25px; gap: 22px; }
  .button { padding: 14px 18px; font-size: .9rem; gap: 15px; }
  .hero-action .text-link { font-size: .84rem; }
  .preview-note { font-size: .74rem; }
  .specimen { padding-top: 24px; border-top: 1px solid var(--line); }
  .specimen-heading { font-size: .8rem; }
  .spoken { font-size: 2.35rem; min-height: 128px; }
  .written { font-size: 1.65rem; min-height: 74px; }
  .actual-hud img { width: 215px; }
  .actual-hud span { max-width: 14ch; }
  .utility-band .wrap { gap: 15px; padding-block: 20px; }
  .utility-band p { font-size: .73rem; }
  .ritual { padding-block: 66px; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .section-heading > p { font-size: 1rem; }
  .steps { grid-template-columns: 1fr; gap: 30px; margin-top: 28px; }
  .steps li { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); padding-top: 10px; }
  .step-art { height: 86px; margin-bottom: 8px; }
  .steps p { max-width: none; margin-top: 10px; }
  .ritual-footnote { margin-top: 30px; }
  .ownership { padding-block: 58px; }
  .ownership-grid { grid-template-columns: 1fr; gap: 38px; }
  .ownership h2 { font-size: 4rem; }
  .ownership-lead { font-size: 1.1rem; }
  .connection-list > div { grid-template-columns: 124px 1fr; }
  .privacy-preview { grid-template-columns: 1fr; padding-block: 66px; gap: 26px; }
  .large-copy { font-size: 1.15rem; }
  .questions { grid-template-columns: 1fr; padding-bottom: 66px; gap: 28px; }
  .questions h2 { max-width: none; }
  summary { font-size: .95rem; }
  .closing { flex-direction: column; align-items: flex-start; padding-block: 46px 58px; gap: 28px; }
  .closing h2 { font-size: 2.5rem; }
  .site-footer { gap: 24px; padding-block: 28px; }
  .footer-brand { gap: 18px; }
  .footer-brand > span { font-size: .74rem; }
  .site-footer nav { gap: 16px; font-size: .76rem; }
  .docs-layout { display: flex; flex-direction: column; gap: 35px; padding-block: 26px 65px; }
  .toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 1px 19px; border-block: 1px solid var(--line); padding-block: 12px; }
  .toc a { font-size: .8rem; padding-block: 5px; }
  .doc-heading h1 { font-size: 3.15rem; }
  .doc-lead { font-size: 1.08rem; }
  .prose section { margin-top: 44px; }
  .prose h2 { font-size: 1.95rem; }
  .settings-list { padding-inline: 16px; }
  .settings-list > div { grid-template-columns: 1fr; gap: 5px; }
  pre { padding: 24px 16px; font-size: .74rem; }
  .not-found .text-link { display: flex; margin: 24px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .toc, .copy-button, .demo-controls { display: none !important; }
  :root, body { color: #000; background: #fff; }
  .wrap { width: 100%; }
  .docs-layout { display: block; padding: 0; }
  .prose a { color: inherit; }
  section { break-inside: avoid; }
}
