:root {
  /* Mirrors the app's minimal-tonal tokens in src/ui/theme.ts. */
  color-scheme: dark;
  --bg: #0e0e0e;
  --surface: #1a1a1a;
  --raised: #242424;
  --section: #121212;
  --text: #f2f2f2;
  --secondary: #c9c9c9;
  --muted: #959595;
  --accent: #38bdf8;
  --link: #38bdf8;
  --on-accent: #06202b;
  --divider: rgb(255 255 255 / 9%);
  --line: #343434;
  --header: rgb(14 14 14 / 92%);
  --shadow: 0 30px 90px rgb(0 0 0 / 30%);
}
@media (prefers-color-scheme: light) {
  :root { color-scheme: light; --bg: #f1f5f9; --surface: #fff; --raised: #e8edf3; --section: #eaf0f6; --text: #0f172a; --secondary: #475569; --muted: #5c6b7f; --link: #036c9b; --divider: rgb(15 23 42 / 10%); --line: #c2cdd9; --header: rgb(241 245 249 / 94%); --shadow: 0 30px 90px rgb(15 23 42 / 10%); }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
button, a, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
a, button, summary { outline-offset: 5px; }
:focus-visible { outline: 2px solid var(--link); }
img { max-width: 100%; height: auto; display: block; }
figure, p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { line-height: 1.1; font-weight: 600; letter-spacing: -.045em; text-wrap: balance; }
h1 { font-size: clamp(46px, 4.7vw, 66px); }
h2 { font-size: clamp(34px, 3.4vw, 47px); }
h3 { font-size: 25px; }
p { color: var(--secondary); }
.container { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.icon { width: 22px; height: 22px; fill: currentColor; stroke: none; flex: none; }
.skip-link { position: absolute; left: 20px; top: -80px; z-index: 3; padding: 12px 20px; background: var(--accent); color: var(--on-accent); border-radius: 12px; }
.skip-link:focus { top: 12px; }
/* Layers: 1 for the sticky site header, 2 for demo nodes, 3 for the skip link. */
.site-header { position: sticky; top: 0; z-index: 1; background: var(--header); backdrop-filter: blur(16px); border-bottom: 1px solid var(--divider); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; letter-spacing: -.05em; font-weight: 600; white-space: nowrap; }
.brand-mark { width: 33px; height: 35px; flex: none; }
.header-inner nav { display: flex; align-items: center; gap: 28px; }
.header-inner nav a, .site-footer nav a { font-size: 13px; color: var(--secondary); transition: color 180ms; }
.header-inner nav a:hover, .site-footer nav a:hover { color: var(--link); }
.availability { display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; background: var(--raised); padding: 9px 14px; font-size: 12px; white-space: nowrap; }
.availability .icon { width: 15px; height: 15px; }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 30px; padding-block: 58px 46px; overflow: clip; }
.hero-copy { padding-bottom: 42px; }
.eyebrow { font-size: 12px; font-weight: 500; color: var(--muted); margin-bottom: 22px; }
.hero h1 span, .closing-section h2 span { color: var(--muted); }
.hero-description { font-size: 18px; line-height: 1.65; max-width: 340px; margin-block: 26px 32px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 26px; padding: 13px 20px; min-height: 48px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; transition: transform 180ms, background 180ms; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button .icon { width: 18px; height: 18px; }
.primary { background: var(--accent); color: var(--on-accent); }
.primary:hover { background: #70cff8; }
.secondary { background: var(--raised); color: var(--text); }
.hero-visual { position: relative; display: grid; place-items: center; min-width: 0; padding-block: 10px 24px; }
.page-device { position: relative; width: 296px; border: 6px solid var(--raised); border-radius: 38px; overflow: hidden; box-shadow: var(--shadow), 0 0 0 1px var(--line); background: var(--bg); transform: rotate(4deg); }
.page-device picture { display: block; }
.page-device picture img { width: 100%; }
.device-top { height: 40px; padding: 6px 18px; display: flex; align-items: center; justify-content: space-between; font-size: 10px; font-weight: 600; }
.device-top .icon { width: 19px; height: 19px; }
.device-island { width: 75px; height: 20px; border-radius: 20px; background: #080808; }
.device-bottom { height: 24px; position: relative; }
.device-bottom::after { content: ""; position: absolute; left: 35%; right: 35%; top: 11px; height: 3px; border-radius: 4px; background: var(--text); }
figcaption { position: relative; text-align: center; font-size: 10px; color: var(--muted); margin-top: 24px; }
.hero-visual figcaption { margin-top: 30px; }
.orbit { position: absolute; border: 1px solid var(--divider); border-radius: 50%; width: 460px; height: 460px; pointer-events: none; }
.orbit-two { width: 560px; height: 560px; }
.orbit-label { position: absolute; display: flex; align-items: center; gap: 9px; background: var(--surface); box-shadow: 0 8px 32px #0001; padding: 12px 15px; border-radius: 12px; color: var(--secondary); font-size: 12px; }
.orbit-label .icon { width: 17px; height: 17px; }
.label-one { left: -5px; top: 100px; transform: rotate(-7deg); }
.label-two { right: -4px; bottom: 118px; transform: rotate(-5deg); }
.app-map { display: grid; grid-template-columns: 1fr 1fr 1.25fr; padding: 28px 0; gap: 26px; border-block: 1px solid var(--divider); }
.app-map > div { display: flex; align-items: center; gap: 15px; }
.app-map > div > .icon { width: 25px; height: 25px; color: var(--muted); }
.app-map strong, .app-map small { display: block; }
.app-map strong { font-weight: 500; font-size: 14px; }
.app-map small { font-size: 11px; color: var(--muted); margin-top: 3px; }
.section { padding-block: 110px; }
.section-intro { max-width: 580px; margin-bottom: 44px; }
.section-intro > p:not(.eyebrow) { max-width: 480px; margin-top: 22px; font-size: 16px; }
.feature-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
.writing-feature { border-radius: 22px; background: var(--surface); padding: 38px 38px 0; overflow: hidden; }
.feature-copy p, .compact-feature p { font-size: 14px; margin-top: 15px; max-width: 390px; }
.feature-icon { color: var(--link); width: 28px; height: 28px; margin-bottom: 22px; }
.writing-sample { margin-top: 36px; background: var(--bg); border: 1px solid var(--divider); border-bottom: 0; padding: 27px 30px 35px; border-radius: 16px 16px 0 0; transform: rotate(-2deg) translateY(8px); }
.sample-label { display: block; font-size: 10px; color: var(--muted); }
.writing-sample .sample-heading { font-size: 20px; font-weight: 600; letter-spacing: -.04em; color: var(--text); margin: 20px 0 10px; }
.writing-sample > p:not(.sample-heading) { font-size: 12px; margin-bottom: 22px; }
.sample-check { display: flex; align-items: center; gap: 8px; font-size: 12px; margin-top: 12px; }
.sample-check .icon { width: 17px; height: 17px; }
.sample-check:first-of-type { color: var(--muted); text-decoration: line-through; }
.sample-attachment { display: flex; align-items: center; gap: 8px; padding: 11px 12px; margin-top: 22px; background: var(--raised); border-radius: 8px; font-size: 11px; }
.sample-attachment .icon { width: 15px; height: 15px; }
.sample-attachment span { margin-left: auto; color: var(--muted); font-size: 9px; }
.feature-stack { display: grid; gap: 20px; }
.compact-feature { padding: 35px; border-radius: 22px; background: var(--surface); }
.theme-sample { display: flex; gap: 8px; margin-top: 24px; }
.theme-sample span { display: grid; place-items: center; width: 54px; height: 47px; border-radius: 10px; font-size: 24px; font-weight: 500; background: #0e0e0e; color: #f2f2f2; }
.theme-sample span + span { background: #f1f5f9; color: #0f172a; }
.connections-section { background: var(--section); overflow: hidden; }
.connection-demo { display: grid; grid-template-columns: 1.8fr 1fr; align-items: center; gap: 40px; }
.page-graph { position: relative; height: 390px; }
.graph-lines { position: absolute; width: 100%; height: 100%; fill: none; stroke: var(--line); stroke-width: 1.3; }
.graph-node { position: absolute; display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 14px 17px; color: var(--secondary); background: var(--surface); border: 1px solid transparent; border-radius: 12px; font-size: 12px; box-shadow: 0 5px 20px #0001; transform: translate(-50%, -50%); transition: border-color 180ms, background 180ms; white-space: nowrap; }
.graph-node .icon { width: 18px; height: 18px; }
.graph-node:hover { background: var(--raised); }
.graph-node[aria-pressed="true"] { border-color: var(--link); color: var(--link); }
.node-center { left: 50%; top: 48.72%; }
.node-top-left { left: 18.46%; top: 23.08%; }
.node-top-right { left: 80.77%; top: 20.51%; }
.node-bottom-left { left: 19.23%; top: 78.21%; }
.node-bottom-right { left: 80.77%; top: 76.92%; }
.graph-detail { min-height: 222px; padding-left: 34px; border-left: 1px solid var(--divider); }
.graph-detail h3 { margin: 15px 0; }
.graph-detail p { font-size: 14px; }
.graph-hint { display: block; font-size: 11px; color: var(--muted); margin-top: 22px; }
.sharing-section { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 90px; }
.sharing-copy > p:not(.eyebrow) { margin-top: 24px; max-width: 370px; }
.feature-list { list-style: none; padding: 0; margin: 38px 0 0; display: grid; gap: 27px; }
.feature-list li { display: flex; gap: 17px; }
.feature-list > li > .icon { color: var(--muted); margin-top: 2px; }
.feature-list h3 { font-size: 16px; line-height: 1.5; letter-spacing: -.02em; }
.feature-list p { font-size: 13px; margin-top: 7px; }
.sharing-visual { min-width: 0; }
.share-art { border-radius: 28px; padding: 48px 24px 30px; background: var(--section); display: flex; flex-direction: column; align-items: center; }
.share-page { width: 270px; max-width: 100%; padding: 24px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); transform: rotate(-5deg); }
.share-page img { border-radius: 10px; margin-bottom: 30px; }
.share-page strong { display: block; font-size: 24px; letter-spacing: -.04em; line-height: 1.2; margin-top: 8px; font-weight: 500; }
.share-page > span:last-of-type { display: block; font-size: 12px; color: var(--secondary); margin-top: 14px; }
.share-page-line { height: 5px; border-radius: 4px; width: 90%; background: var(--raised); margin-top: 23px; }
.share-page-line.short { width: 65%; margin-top: 9px; }
.share-path { height: 65px; width: 1px; background: var(--line); margin: 17px 0; }
.recipient-row { display: flex; padding-left: 8px; }
.recipient-row span { width: 56px; height: 56px; display: grid; place-items: center; border: 4px solid var(--section); border-radius: 50%; background: var(--raised); font-size: 13px; margin-left: -8px; color: var(--secondary); }
.recipient-row span:nth-child(2) { background: var(--text); color: var(--bg); }
.recipient-row span:nth-child(3) { background: var(--accent); color: var(--on-accent); }
.share-art-label { display: flex; gap: 8px; align-items: center; font-size: 11px; margin-top: 18px; }
.share-art-label .icon { width: 16px; height: 16px; }
.ownership-section { background: var(--surface); }
.ownership-layout { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 110px; }
.ownership-icon { width: 36px; height: 36px; color: var(--link); margin-bottom: 26px; }
.ownership-layout p { margin-top: 22px; font-size: 15px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; color: var(--link); margin-top: 24px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link .icon { width: 16px; height: 16px; }
.archive-visual { border: 1px solid var(--divider); padding: 8px 22px; border-radius: 16px; background: var(--bg); box-shadow: 0 18px 50px #0001; transform: rotate(2deg); }
.archive-heading { display: flex; align-items: center; gap: 12px; padding-block: 20px; border-bottom: 1px solid var(--divider); font-size: 13px; }
.file-type { font-family: ui-monospace, monospace; margin-left: auto; color: var(--muted); font-size: 11px; }
.archive-item { display: flex; align-items: center; gap: 14px; padding: 17px 0; font-size: 13px; }
.archive-item > .icon { color: var(--muted); }
.archive-item small { display: block; color: var(--muted); font-size: 10px; margin-top: 2px; }
.plans-section > .section-intro { margin-inline: auto; text-align: center; }
.plans-section > .section-intro > p { margin-inline: auto; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 880px; margin: auto; }
.plan { background: var(--surface); border-radius: 22px; padding: 36px; }
.plan-name { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 500; }
.plan h3 { font-size: 30px; margin: 28px 0 20px; }
.plan > p { font-size: 13px; }
.plan ul { list-style: none; padding: 0; margin: 28px 0 0; }
.plan li { display: flex; align-items: flex-start; gap: 10px; color: var(--secondary); font-size: 12px; padding-block: 8px; }
.plan-check.icon { width: 14px; height: 14px; margin-top: 3px; color: var(--muted); }
.plus-plan { box-shadow: inset 0 2px 0 var(--accent); }
.plus-label { background: var(--accent); color: var(--on-accent); padding: 2px 7px; border-radius: 6px; font-size: 10px; }
.plan .plan-note { font-size: 10px; color: var(--muted); margin-top: 24px; }
.faq-section { display: grid; grid-template-columns: 1fr 1.5fr; gap: 100px; border-top: 1px solid var(--divider); }
.faq-heading p { font-size: 13px; margin-top: 25px; }
.faq-heading .text-link { margin-top: 4px; }
.faq-list details { border-bottom: 1px solid var(--divider); }
.faq-list summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; font-size: 14px; font-weight: 500; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary > .icon { width: 18px; height: 18px; color: var(--muted); transition: transform 180ms; }
.faq-list details[open] summary > .icon { transform: rotate(45deg); }
.faq-list details p { font-size: 13px; padding: 0 25px 24px 0; }
.faq-list details a { color: var(--link); text-decoration: underline; }
.closing-section { text-align: center; padding-block: 70px 110px; }
.closing-icon { margin: 0 auto 30px; filter: drop-shadow(0 8px 15px #0002); }
.closing-section h2 { font-size: clamp(40px, 4.5vw, 60px); }
.closing-section p { margin-top: 24px; font-size: 14px; }
.closing-section .button { margin-top: 28px; }
.site-footer { border-top: 1px solid var(--divider); padding-block: 28px 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.site-footer .brand { font-size: 17px; }
.site-footer .brand-mark { width: 25px; height: 27px; }
.site-footer p { font-size: 11px; color: var(--muted); }
.site-footer p a:hover { color: var(--secondary); text-decoration: underline; text-underline-offset: 3px; }
.site-footer nav { display: flex; gap: 24px; }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: arrive 650ms both; }
  .hero-visual { animation: arrive 800ms 100ms both; }
  .reveal.is-pending { opacity: 0; transform: translateY(18px); }
  .reveal { transition: opacity 650ms, transform 650ms; }
  @keyframes arrive { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
}
@media (max-width: 1100px) {
  .header-inner nav { gap: 20px; }
  .orbit-two { width: 440px; height: 440px; }
  .orbit-one { width: 350px; height: 350px; }
  .label-one { left: 0; top: 60px; }
  .label-two { right: -10px; bottom: 85px; }
  .sharing-section, .ownership-layout { gap: 55px; }
  .connection-demo { gap: 20px; }
  .graph-node { font-size: 10px; padding: 12px; gap: 6px; }
  .faq-section { gap: 60px; }
}
@media (max-width: 767px) {
  html { scroll-padding-top: 110px; }
  .container { width: calc(100% - 40px); }
  .header-inner { flex-wrap: wrap; min-height: 0; gap: 12px; padding-block: 14px 12px; }
  .brand { font-size: 18px; }
  .brand-mark { width: 28px; height: 30px; }
  .availability { padding: 7px 10px; font-size: 10px; }
  .header-inner nav { order: 3; width: 100%; justify-content: space-between; gap: 12px; }
  .header-inner nav a { font-size: 11px; padding-block: 2px; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding-block: 50px 30px; text-align: center; overflow: hidden; }
  .hero-copy { padding: 0; }
  .eyebrow { margin-bottom: 17px; font-size: 11px; }
  h1 { font-size: clamp(40px, 7.4vw, 55px); }
  .hero-description { font-size: 15px; max-width: 300px; margin: 22px auto 24px; }
  .hero-visual { width: 100%; padding-top: 26px; }
  .page-device { width: 250px; border-radius: 32px; }
  .orbit-one { width: 300px; height: 300px; }
  .orbit-two { width: 390px; height: 390px; }
  .orbit-label { font-size: 10px; padding: 10px; }
  .label-one { left: 0; top: 75px; }
  .label-two { right: 0; bottom: 100px; }
  .app-map { grid-template-columns: 1fr; gap: 20px; padding-block: 25px; }
  .app-map > div { gap: 18px; }
  .app-map small { font-size: 12px; }
  .section { padding-block: 70px; }
  .section-intro { margin-bottom: 30px; }
  .section-intro > p:not(.eyebrow) { font-size: 14px; margin-top: 18px; }
  .feature-layout, .feature-stack, .connection-demo, .sharing-section, .ownership-layout, .plans, .faq-section { grid-template-columns: 1fr; }
  .writing-feature, .compact-feature { padding: 28px; }
  .writing-feature { padding-bottom: 0; }
  .writing-sample { padding: 24px 20px 28px; }
  .feature-copy p, .compact-feature p { font-size: 13px; }
  .feature-stack { gap: 16px; }
  .compact-feature h3 { font-size: 23px; }
  .connection-demo { gap: 0; }
  .page-graph { height: 320px; }
  .graph-node { font-size: 11px; padding: 11px 8px; gap: 5px; }
  .graph-node .icon { width: 14px; height: 14px; }
  .node-top-left { left: 22%; }
  .node-top-right { left: 79%; }
  .node-bottom-left { left: 21%; }
  .node-bottom-right { left: 78%; }
  .graph-detail { border-left: 0; border-top: 1px solid var(--divider); padding: 25px 0 0; min-height: 190px; }
  .sharing-section { gap: 38px; }
  .sharing-copy > p:not(.eyebrow) { font-size: 14px; }
  .share-art { padding-top: 38px; }
  .ownership-layout { gap: 40px; }
  .ownership-layout p { font-size: 14px; }
  .archive-visual { max-width: 420px; width: calc(100% - 12px); margin: auto; }
  .plans-section > .section-intro { text-align: left; }
  .plan { padding: 30px; }
  .plan li { font-size: 13px; }
  .faq-section { gap: 25px; }
  .faq-heading h2 br { display: none; }
  .faq-heading p br { display: none; }
  .faq-heading .text-link { margin-left: 5px; }
  .closing-section { padding-block: 40px 75px; }
  .site-footer { flex-wrap: wrap; gap: 20px; padding-bottom: 28px; }
  .site-footer nav { width: 100%; gap: 25px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (prefers-reduced-transparency: reduce) { .site-header { background: var(--bg); backdrop-filter: none; } }
