@import './brand.css?v=denkzeug-3';

@font-face { font-family: Sora; src: url('/assets/fonts/Sora.woff2') format('woff2'); font-style: normal; font-weight: 100 800; font-display: swap; }
@font-face { font-family: 'Source Serif'; src: url('/assets/fonts/SourceSerif4.woff2') format('woff2'); font-style: normal; font-weight: 200 900; font-display: swap; }

:root {
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --wrap: 1160px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; scroll-padding-top: 32px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Sora, system-ui, sans-serif; font-size: 15px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; color: inherit; }
button, a, select, summary { touch-action: manipulation; }
button, summary { cursor: pointer; }
button { -webkit-user-select: none; user-select: none; }
button:disabled { cursor: default; }
img { max-width: 100%; }
button, select { font-size: 16px; }
button:focus-visible, a:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid #4056bf; outline-offset: 5px; }
::selection { background: #dce1fa; color: #20232c; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { line-height: 1.12; font-weight: 600; }
h2 { font-size: clamp(36px, 4.5vw, 56px); letter-spacing: -.055em; }
h3 { letter-spacing: -.045em; }
.wrap { width: min(var(--wrap), calc(100% - 96px)); 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: 20; padding: 12px 20px; background: var(--white); transform: translateY(-160%); }
.skip-link:focus { transform: none; }

/* The field is the one expressive gesture. Everything else stays still. */
.opening { position: relative; isolation: isolate; overflow: clip; background: var(--paper); }
.opening::before { content: ''; position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(#e9ecf3 1px, transparent 1px), linear-gradient(90deg, #e9ecf3 1px, transparent 1px); background-size: 28px 28px; }
#activity-field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.nav { position: relative; z-index: 3; min-height: 100px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; gap: 10px; align-items: center; font-size: 17px; font-weight: 600; letter-spacing: -.055em; flex-shrink: 0; }
.brand img { flex-shrink: 0; }
.nav-links { display: flex; gap: 30px; margin-left: auto; font-size: 12px; }
.nav-links a, .source-link { min-height: 44px; display: inline-flex; align-items: center; }
.source-link { gap: 8px; font-size: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 26px; min-height: 52px; border: 1px solid var(--ink); border-radius: 9px; padding: 12px 22px; background: var(--ink); color: white; font-size: 13px; font-weight: 500; line-height: 1.5; transition: background 160ms ease, transform 140ms var(--ease-out); }
.button span { font-size: 18px; font-weight: 400; line-height: 1; }
.button-small { min-height: 42px; padding: 10px 16px; font-size: 12px; gap: 18px; }
.button:active, .copy-button:active, .motion-control:active { transform: scale(.97); }
.text-link { display: inline-flex; align-items: center; gap: 18px; min-height: 44px; font-size: 13px; font-weight: 500; text-decoration: underline; text-decoration-color: #b6bbca; text-underline-offset: 5px; }
.text-link span { font-size: 17px; }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: #393e4c; }
  .nav-links a:hover, .source-link:hover, .footer a:hover { color: #4359b8; }
  .text-link:hover { text-decoration-color: currentColor; }
  .copy-button:hover, .motion-control:hover { background: #e8ebf3; }
}

.hero { position: relative; min-height: max(720px, calc(100svh - 100px)); display: flex; flex-direction: column; justify-content: center; padding-top: 38px; padding-bottom: 32px; }
.hero-content { position: relative; z-index: 1; width: 100%; margin-top: -22px; text-align: center; }
.hero-content::before { content: ''; position: absolute; z-index: -1; inset: -65px -10px -65px; pointer-events: none; background: radial-gradient(ellipse at center, var(--paper) 18%, rgb(248 249 252 / .96) 44%, rgb(248 249 252 / 0) 72%); }
.wordmark { display: flex; justify-content: center; align-items: center; gap: 24px; }
.hero h1 { font-size: clamp(62px, 10.1vw, 140px); font-weight: 600; line-height: 1.15; letter-spacing: -.075em; color: #181b23; }
.hero-icon { width: clamp(56px, 8.3vw, 110px); height: auto; flex-shrink: 0; }
.pronunciation { margin-top: 21px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; column-gap: 20px; row-gap: 0; font-size: 12px; color: var(--muted); }
.pronunciation > span:first-child { font-family: system-ui, sans-serif; font-size: 15px; }
.pronunciation-help { color: #4a5060; }
.definition-block { max-width: 665px; margin: 40px auto 0; }
.definition { min-height: 135px; font-family: 'Source Serif', Georgia, serif; font-size: 25px; line-height: 1.48; letter-spacing: -.014em; text-wrap: pretty; }
.definition[lang="ar"], .definition[lang="hi"] { line-height: 1.8; }
.definition-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 24px; margin-top: 16px; color: var(--muted); font-size: 11px; }
.locale-control { display: inline-flex; align-items: center; gap: 4px; }
.locale-control[hidden], .copy-button[hidden] { display: none; }
.locale-control select { background: transparent; border: 0; max-width: 140px; min-height: 44px; padding: 0 3px; font-size: 12px; cursor: pointer; }
.hero-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 28px; margin-top: 32px; }
.field-caption { position: absolute; bottom: 24px; left: 0; right: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 20px; align-items: center; color: var(--muted); font-size: 10px; }
.field-legend { display: flex; flex-wrap: wrap; gap: 19px; align-items: center; }
.field-legend > span, .capability-type { display: inline-flex; align-items: center; gap: 7px; }
.tile-key { display: inline-block; width: 8px; height: 8px; border-radius: 2px; flex-shrink: 0; }
.agent-key { background: var(--agent); }
.session-key { background: var(--session); }
.workflow-key { background: var(--workflow); }
.motion-control { display: inline-flex; align-items: center; gap: 7px; border: 0; background: transparent; padding: 10px; min-height: 44px; font-size: 10px; border-radius: 6px; transition: background 140ms ease, transform 140ms var(--ease-out); }
.motion-control[hidden] { display: none; }
.field-note { width: 100%; text-align: center; font-size: 9px; color: #737b8a; }

.page-content { background: var(--white); }
.section-space { padding-block: 108px; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 64px; }
.section-heading > p { max-width: 395px; padding-bottom: 4px; font-size: 15px; color: var(--muted); line-height: 1.8; }
/* Real product views, with device framing kept outside the captured interface. */
.product-section { border-bottom: 1px solid var(--line); }
.product-section__heading { margin-bottom: 48px; }
.product-views { display: grid; grid-template-columns: minmax(0, 1fr) 244px; align-items: end; gap: 24px; }
.product-view { min-width: 0; margin: 0; }
.product-screen, .product-phone { display: block; overflow: hidden; background: var(--paper); box-shadow: 0 12px 32px -20px rgb(32 35 44 / .3); }
.product-screen { border: 1px solid #cfd4e0; border-radius: 12px; }
.product-screen__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 36px; padding: 8px 13px; border-bottom: 1px solid var(--line); color: #565e70; font-size: 10px; }
.product-screen__zoom { display: inline-flex; align-items: center; gap: 7px; }
.product-screen img, .product-phone img { display: block; width: 100%; height: auto; }
.product-phone { border: 7px solid var(--ink); border-radius: 26px; }
.product-tour { container-type: inline-size; }
.product-tour__stage { position: relative; }
.product-tour__image-link { display: block; }
.product-tour__hotspots { position: absolute; inset: 0; pointer-events: none; }
.product-tour__hotspots[hidden], .product-tour__controls[hidden] { display: none; }
.product-tour__hotspot { position: absolute; pointer-events: auto; padding: 0; border: 1.5px solid #4b5fc0; border-radius: 6px; background: rgb(75 95 192 / .08); cursor: pointer; }
.product-tour__hotspot:hover, .product-tour__hotspot:focus-visible { background: rgb(75 95 192 / .2); outline: 2px solid #344aa7; outline-offset: 2px; }
.product-tour__controls { padding: 12px; border-top: 1px solid var(--line); background: var(--white); }
.product-tour__navigation { display: flex; flex-wrap: wrap; gap: 6px; }
.product-tour__navigation button, .product-tour__history button { min-height: 44px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); font-size: 11px; line-height: 1.5; }
.product-tour__navigation button[aria-pressed="true"] { color: #3349a9; border-color: #6878c4; background: #edf0fc; }
.product-tour__history { display: flex; gap: 6px; margin-top: 8px; }
.product-tour__history button { color: var(--muted); background: var(--paper); }
.product-tour__controls p { margin-top: 10px; color: var(--muted); font-size: 10px; line-height: 1.7; }
@container (max-width: 640px) {
  .product-tour__hotspots { display: none; }
  .product-tour__navigation { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.product-view figcaption { display: flex; flex-direction: column; gap: 5px; margin-top: 20px; font-size: 12px; line-height: 1.65; }
.product-view figcaption strong { font-weight: 500; }
.product-view figcaption > span { color: var(--muted); font-size: 11px; }
.product-section__note { max-width: 82ch; margin-top: 28px; color: var(--muted); font-size: 10px; line-height: 1.8; }
@media (hover: hover) and (pointer: fine) { .product-phone:hover { outline: 2px solid #6878c4; outline-offset: 4px; } }
@media (max-width: 1000px) and (min-width: 701px) { .product-views { grid-template-columns: minmax(0, 1fr) 210px; gap: 20px; } }
@media (max-width: 700px) {
  .product-section__heading { margin-bottom: 36px; }
  .product-views { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .product-view--phone { width: min(280px, 100%); justify-self: center; }
  .product-view--phone figcaption { text-align: center; }
  .product-view figcaption { margin-top: 16px; }
  .product-screen__bar { font-size: 9px; }
  .product-section__note { margin-top: 24px; }
}

.principle-grid { margin-top: 68px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 54px; }
.principle { border-top: 1px solid var(--line); padding-top: 30px; }
.principle h3 { font-size: 25px; margin: 25px 0 17px; }
.principle p { font-size: 14px; line-height: 1.9; color: var(--muted); }
.principle p a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.principle .principle-note { margin-top: 19px; font-size: 11px; color: #454c5a; }
.tile-symbol { position: relative; width: 48px; height: 40px; }
.tile-symbol i { position: absolute; display: block; width: 14px; height: 14px; border-radius: 4px; }
.symbol-free i { background: var(--agent); }
.symbol-free i:nth-child(1) { left: 0; top: 0; }
.symbol-free i:nth-child(2) { left: 18px; top: 0; opacity: .3; }
.symbol-free i:nth-child(3) { left: 0; top: 18px; opacity: .3; }
.symbol-free i:nth-child(4) { left: 18px; top: 18px; }
.symbol-remote i { background: var(--session); }
.symbol-remote i:nth-child(1) { left: 0; top: 18px; }
.symbol-remote i:nth-child(2) { left: 18px; top: 0; }
.symbol-remote i:nth-child(3) { left: 36px; top: 18px; }
.symbol-remote i:nth-child(4) { left: 18px; top: 18px; opacity: .22; }
.symbol-extensible i { background: var(--workflow); }
.symbol-extensible i:nth-child(1) { left: 0; top: 0; opacity: .3; }
.symbol-extensible i:nth-child(2) { left: 18px; top: 0; }
.symbol-extensible i:nth-child(3) { left: 0; top: 18px; }
.symbol-extensible i:nth-child(4) { left: 36px; top: 18px; opacity: .5; }

.possibilities { border-top: 1px solid var(--line); }
.possibilities-heading { margin-bottom: 72px; }
.capability { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 84px; align-items: center; padding-block: 58px; }
.capability + .capability { margin-top: 12px; border-top: 1px solid var(--line); }
.capability-copy { max-width: 365px; }
.capability-type { color: var(--muted); font-size: 11px; gap: 9px; }
.capability h3 { font-size: clamp(42px, 5vw, 62px); margin: 20px 0; letter-spacing: -.06em; }
.capability-copy > p { font-size: 14px; line-height: 1.9; color: var(--muted); margin-top: 14px; }
.capability-copy > p a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.capability-copy > .text-link { margin-top: 22px; font-size: 12px; }

/* Artifact studies, rather than a pretend product screenshot. */
.creation-art { position: relative; min-height: 356px; border-radius: 18px; background: #eef1fa; border: 1px solid #e6eaf5; overflow: hidden; }
.artifact { position: absolute; background: white; border: 1px solid #dfe4f0; border-radius: 9px; box-shadow: 0 8px 24px -16px #2c375346; overflow: hidden; }
.artifact-label { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; font-size: 9px; color: #697389; border-bottom: 1px solid #e9edf6; }
.artifact-label > span:last-child:not(.file-dot) { margin-left: auto; color: #697184; }
.artifact-code { top: 28px; left: 26px; width: 265px; height: 214px; }
.file-dot { width: 5px; height: 5px; background: var(--agent); border-radius: 50%; }
.code-lines { display: flex; flex-direction: column; padding: 20px 16px; font-family: ui-monospace, monospace; font-size: 10px; color: #667084; line-height: 1.9; }
.code-lines b { color: #5061b0; font-weight: 500; }
.code-lines em { color: #816b49; font-style: normal; }
.code-space { margin-top: 13px; }
.artifact-slide { width: 242px; height: 180px; top: 66px; right: 26px; transform: rotate(4deg); }
.mini-slide { height: 113px; margin: 10px; padding: 18px; background: #e6e7fa; position: relative; }
.mini-slide > span { position: relative; z-index: 1; display: block; font-size: 21px; line-height: 1.2; letter-spacing: -.065em; }
.slide-tiles { position: absolute; right: 16px; bottom: 20px; width: 48px; height: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.slide-tiles i { background: #8e92ca; border-radius: 5px; }
.slide-tiles i:nth-child(2) { opacity: .3; }
.slide-tiles i:nth-child(3) { opacity: .5; }
.slide-pages { display: flex; gap: 4px; position: absolute; bottom: 9px; left: 13px; }
.slide-pages i { width: 17px; height: 3px; border-radius: 2px; background: #d5daea; }
.slide-pages i:first-child { background: var(--agent); }
.artifact-cad { width: 248px; height: 196px; right: 68px; bottom: -16px; transform: rotate(-5deg); background: #fcfdff; }
.cad-drawing { width: 100%; height: 150px; background-image: linear-gradient(#edf0f7 1px, transparent 1px), linear-gradient(90deg, #edf0f7 1px, transparent 1px); background-size: 14px 14px; }

.workflow-art { padding: 25px 32px 0; background: #fbf8f3; border: 1px solid #eee8df; border-radius: 18px; }
.example-heading { display: flex; justify-content: space-between; gap: 8px; align-items: center; font-size: 12px; font-weight: 500; }
.example-tag { font-size: 9px; font-weight: 400; color: #686758; white-space: nowrap; }
.workflow-steps { width: min(100%, 358px); margin: 26px auto 24px; }
.workflow-node { display: flex; align-items: center; gap: 12px; min-height: 67px; padding: 12px 14px; border: 1px solid #e3ded6; background: white; border-radius: 10px; }
.workflow-node strong { display: block; font-size: 11px; font-weight: 500; line-height: 1.6; }
.workflow-node small { display: block; font-size: 9px; color: var(--muted); }
.node-icon { width: 34px; height: 34px; display: grid; place-items: center; flex-shrink: 0; border-radius: 8px; background: #f4f3f0; font-size: 13px; color: #786244; }
.agent-node { border-color: #a5b1e6; }
.agent-node .node-icon { background: #edf0fc; }
.output-node { font-size: 25px; }
.node-kind { margin-left: auto; color: #687080; font-size: 9px; }
.workflow-connector { display: flex; flex-direction: column; gap: 3px; width: 6px; margin: 5px auto; }
.workflow-connector i { height: 3px; width: 3px; border-radius: 1px; background: #d0b998; }
.workflow-bottom { padding: 13px 0; border-top: 1px solid #e8e2d9; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 10px; color: #6a654f; }
.schedule-icon { font-size: 18px; }

.miniapp-art { min-height: 355px; background: #f2eff8; border: 1px solid #e9e3f2; border-radius: 18px; padding: 28px 42px 0; overflow: hidden; }
.miniapp-window { background: white; border: 1px solid #e3dfee; border-radius: 12px 12px 0 0; padding: 19px 22px 0; }
.miniapp-top { display: flex; align-items: center; gap: 8px; font-size: 9px; padding-bottom: 24px; }
.miniapp-top .example-tag { margin-left: auto; font-size: 8px; }
.miniapp-mark { width: 15px; height: 15px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.miniapp-mark i { background: #a397c8; border-radius: 2px; }
.miniapp-mark i:nth-child(2) { opacity: .4; }
.miniapp-window h4 { font-size: 23px; letter-spacing: -.06em; }
.miniapp-window > p { color: var(--muted); margin-top: 6px; font-size: 10px; }
.miniapp-items { margin-top: 25px; display: flex; flex-direction: column; gap: 10px; }
.miniapp-items > div { display: flex; align-items: center; gap: 10px; border: 1px solid #eeebf4; border-radius: 8px; padding: 11px; font-size: 10px; }
.miniapp-items > div > span:last-child { margin-left: auto; color: #8d87a1; }
.miniapp-items small { display: block; font-size: 8px; color: var(--muted); }
.miniapp-item-icon { width: 30px; height: 32px; display: grid; place-items: center; font-size: 19px; border-radius: 5px; flex-shrink: 0; }
.briefing-icon { background: #edf0fa; color: #7a8ac8; }
.notes-icon { background: #f3eef9; color: #a397c8; }
.miniapp-foot { border-top: 1px solid #efecf4; margin-top: 22px; padding: 14px 0; font-size: 9px; color: #736a86; display: flex; align-items: center; gap: 9px; }
.tiny-tiles { display: inline-flex; gap: 3px; }
.tiny-tiles i { width: 5px; height: 5px; border-radius: 1px; background: #a397c8; }
.tiny-tiles i:nth-child(2) { opacity: .6; }
.tiny-tiles i:nth-child(3) { opacity: .3; }

.get-started { background: var(--paper); border-block: 1px solid var(--line); }
.start-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 84px; align-items: center; }
.closing-icon { display: block; margin-bottom: 30px; }
.start-layout h2 { font-size: clamp(36px, 4.2vw, 52px); }
.start-layout h2 + p { color: var(--muted); margin-top: 26px; font-size: 14px; }
.start-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 30px; }
.cost-note { font-size: 10px; color: var(--muted); margin-top: 22px; }
.setup-card { border: 1px solid var(--line); background: white; padding: 24px; border-radius: 13px; }
.setup-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 11px; color: var(--muted); }
.copy-button { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; min-height: 36px; padding: 6px 10px; white-space: nowrap; font-size: 10px; transition: background 150ms ease, transform 140ms var(--ease-out); }
.setup-card code { display: block; overflow-wrap: anywhere; font-family: ui-monospace, monospace; font-size: 14px; line-height: 1.8; margin: 25px 0 20px; color: var(--muted); }
.setup-card code span { color: var(--ink); }
.setup-card .text-link { font-size: 11px; }
.name-note { font-size: 10px; color: var(--muted); line-height: 1.9; margin: 18px 4px 25px; max-width: 49ch; }
.downloads { border-top: 1px solid var(--line); }
.downloads summary { min-height: 58px; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; }
.downloads summary::-webkit-details-marker { display: none; }
.downloads summary > span { font-size: 21px; font-weight: 400; }
.downloads[open] summary > span { transform: rotate(45deg); }
.downloads-content { padding: 0 0 24px; font-size: 11px; color: var(--muted); }
.downloads-content p { margin-bottom: 14px; }
.downloads-content .download-note { font-size: 10px; margin-top: 14px; }
.download-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 15px 0; }
.download-links .btn { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 6px; background: #e9ecf6; color: #374779; font-size: 11px; }
.footer { padding-block: 32px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer .brand { font-size: 14px; }
.footer > p { color: var(--muted); font-size: 10px; }
.footer nav { margin-left: auto; display: flex; gap: 22px; flex-wrap: wrap; font-size: 10px; color: var(--muted); }
.footer nav a { min-height: 44px; display: inline-flex; align-items: center; }
#staging-banner { background: #fbe4a9; color: #514018; padding: 8px 16px; text-align: center; font-size: 11px; }

@media (min-width: 1600px) { .hero { min-height: 820px; } }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 64px); }
  .nav { gap: 22px; }
  .hero { min-height: 760px; }
  .hero h1 { font-size: 11vw; }
  .principle-grid { gap: 30px; }
  .capability { gap: 36px; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .artifact-slide { right: 12px; width: 205px; }
  .artifact-code { left: 14px; width: 230px; }
  .artifact-cad { right: 24px; }
  .miniapp-art { padding-inline: 20px; }
  .workflow-art { padding-inline: 20px; }
  .start-layout { gap: 40px; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 40px); }
  .nav { min-height: 80px; gap: 18px; }
  .nav .brand { font-size: 16px; }
  .nav-links { display: none; }
  .source-link { margin-left: auto; }
  .source-link > span { display: none; }
  .button-small { min-height: 44px; font-size: 11px; padding: 8px 12px; gap: 12px; }
  .hero { min-height: max(710px, calc(100svh - 80px)); padding-top: 25px; padding-bottom: 140px; justify-content: center; }
  .hero-content { margin: 0; }
  .wordmark { gap: 13px; }
  .hero h1 { font-size: clamp(45px, 11vw, 76px); }
  .hero-icon { width: clamp(40px, 8.8vw, 58px); }
  .pronunciation { margin-top: 20px; gap: 5px 15px; font-size: 10px; }
  .pronunciation > span:first-child { font-size: 14px; }
  .definition-block { margin-top: 32px; max-width: 490px; }
  .definition { font-size: 22px; min-height: 163px; }
  .definition-meta { gap: 0 18px; margin-top: 12px; font-size: 10px; }
  .locale-control select { font-size: 16px; max-width: 128px; }
  .hero-actions { margin-top: 23px; gap: 12px 22px; }
  .hero-actions .text-link { font-size: 12px; gap: 9px; }
  .hero-actions .button { padding: 12px 18px; gap: 18px; }
  .field-caption { bottom: 26px; gap: 2px 6px; }
  .field-legend { gap: 13px; }
  .section-space { padding-block: 72px; }
  .section-heading { grid-template-columns: 1fr; gap: 26px; }
  .section-heading > p { font-size: 13px; max-width: 38ch; }
  .principle-grid { grid-template-columns: 1fr; gap: 32px; margin-top: 40px; }
  .principle { position: relative; padding-top: 25px; padding-left: 65px; }
  .principle .tile-symbol { position: absolute; top: 28px; left: 0; transform: scale(.85); transform-origin: top left; }
  .principle h3 { margin-top: 0; margin-bottom: 12px; }
  .principle p { font-size: 14px; }
  .principle .principle-note { margin-top: 12px; font-size: 10px; }
  .possibilities-heading { margin-bottom: 24px; }
  .capability { grid-template-columns: 1fr; gap: 32px; padding-block: 40px; }
  .capability-copy { max-width: 480px; }
  .capability h3 { margin: 14px 0; font-size: 44px; }
  .capability-copy > p { font-size: 14px; }
  .capability-copy > .text-link { margin-top: 14px; }
  .creation-art { min-height: 324px; }
  .artifact-code { width: 240px; left: 22px; top: 22px; }
  .artifact-slide { top: 72px; width: 220px; right: 20px; }
  .artifact-cad { width: 230px; height: 180px; right: 50px; }
  .workflow-art { padding-inline: 24px; }
  .miniapp-art { min-height: 345px; padding-inline: 28px; }
  .miniapp-window h4 { font-size: 23px; }
  .start-layout { grid-template-columns: 1fr; gap: 40px; }
  .start-actions { gap: 12px 20px; }
  .setup-card { padding: 20px; }
  .setup-card code { font-size: 13px; }
  .copy-button { min-height: 44px; }
  .footer { gap: 16px; padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
  .footer > p { margin-left: auto; font-size: 9px; }
  .footer nav { width: 100%; justify-content: space-between; margin-left: 0; }
}
@media (max-width: 370px) {
  .wrap { width: calc(100% - 32px); }
  .nav { gap: 13px; }
  .nav .brand { font-size: 14px; gap: 7px; }
  .nav .brand img { width: 24px; height: 24px; }
  .source-link svg { width: 18px; }
  .hero h1 { font-size: 43px; }
  .hero-icon { width: 35px; }
  .wordmark { gap: 10px; }
  .definition { font-size: 21px; }
  .field-caption { font-size: 9px; }
  .field-legend { gap: 9px; }
  .motion-control { font-size: 9px; }
  .artifact-slide { right: 7px; width: 191px; }
  .artifact-cad { right: 21px; }
  .miniapp-art { padding-inline: 15px; }
  .miniapp-window { padding-inline: 16px; }
  .example-tag { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
  .button:active, .copy-button:active, .motion-control:active { transform: none; }
}
@media (forced-colors: active) {
  .opening::before, #activity-field { display: none; }
  .tile-key, .tile-symbol i { border: 1px solid CanvasText; }
}
