:root {
  color-scheme: light;
  --paper: #f6f9fd;
  --ink: #102a43;
  --muted: #52667b;
  --blue: #1769d2;
  --sky: #c8e9fc;
  --line: #dbe5ef;
  --dark: #112d43;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; }
button, select, a { -webkit-tap-highlight-color: transparent; }
button, select { font: inherit; }
button, a { touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
button, select { cursor: pointer; }
button { border: 0; }
img { display: block; max-width: 100%; }
figure, blockquote, p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
button:focus-visible, a:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 3px solid #1769d2; outline-offset: 5px; }
::selection { background: #c8e9fc; color: #112d43; }
.wrap { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.section { padding-block: 88px; }
.icon { width: 24px; height: 24px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: fixed; z-index: 100; top: -80px; left: 20px; background: var(--ink); color: white; padding: 12px 20px; border-radius: 8px; }
.skip:focus { top: 14px; }
h2 { font-size: clamp(30px, 3.3vw, 44px); font-weight: 600; letter-spacing: -.045em; line-height: 1.3; white-space: pre-line; }
h3 { font-size: 22px; line-height: 1.4; font-weight: 600; letter-spacing: -.025em; }
.site-header { height: 82px; position: sticky; z-index: 20; top: 0; background: rgb(246 249 253 / 93%); border-bottom: 1px solid rgb(16 42 67 / 8%); backdrop-filter: blur(18px); }
.nav { display: flex; align-items: center; height: 100%; gap: 42px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-size: 24px; letter-spacing: -1px; font-weight: 730; flex-shrink: 0; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-links a { font-size: 14px; color: #456178; transition: color .2s; white-space: nowrap; }
.nav-links a:hover { color: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: 22px; }
.language { display: flex; align-items: center; gap: 5px; }
.language .icon { width: 17px; height: 17px; }
.language select { padding: 10px 0; border: 0; color: var(--ink); background: transparent; font-size: 14px; max-width: 100px; }
.nav-download { font-size: 14px; font-weight: 650; white-space: nowrap; border-bottom: 1px solid var(--ink); padding-block: 8px; }
.nav-download span:last-child { margin-left: 10px; }
.menu-toggle { display: none; }
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: .9fr 1.2fr; gap: 56px; align-items: center; padding-top: 91px; padding-bottom: 76px; }
.hero-copy { position: relative; z-index: 1; }
h1 { font-size: clamp(46px, 4.9vw, 68px); letter-spacing: -.055em; line-height: 1.19; font-weight: 600; }
h1 > span { display: block; }
h1 > span + span { margin-top: 5px; }
.accent { color: var(--blue); background: linear-gradient(110deg, #1769d2 10%, #13a9be 95%); background-clip: text; -webkit-text-fill-color: transparent; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 52px; padding: 14px 23px; border-radius: 8px; font-size: 14px; font-weight: 550; transition: background .2s, transform .2s; }
.button.primary { color: #fff; background: var(--blue); box-shadow: 0 4px 12px rgb(23 105 210 / 10%); }
.button:hover { background: #105bb9; transform: translateY(-2px); }
.button > span:last-child:not([data-i18n]) { font-size: 20px; }
.text-link { display: inline-flex; align-items: center; gap: 14px; font-size: 14px; color: #52667b; }
.text-link:hover { color: var(--blue); }
.hero-visual { position: relative; min-width: 0; padding-top: 0; }
.hero-orbit { position: absolute; z-index: -1; width: 680px; height: 680px; top: -148px; left: -21px; border: 1px solid #dbe5ef; border-radius: 50%; background: radial-gradient(circle, #dde7fa 0%, #edf5fc 40%, transparent 68%); }
.hero-orbit::after { content: ''; position: absolute; inset: 58px; border: 1px solid #dbe5ef; border-radius: 50%; }
.screenshot { position: relative; display: block; width: 100%; padding: 0; background: #fff; border: 1px solid #dbe5ef; border-radius: 10px; overflow: hidden; box-shadow: 0 18px 42px -18px rgb(21 58 92 / 20%); transition: border-color .2s, transform .2s; cursor: zoom-in; }
.screenshot:hover { border-color: #6ba4df; transform: translateY(-2px); }
.screenshot img { width: 100%; height: auto; aspect-ratio: 3 / 2; }
.expand-mark { position: absolute; right: 9px; bottom: 9px; display: grid; place-items: center; width: 27px; height: 27px; background: rgb(16 42 67 / 88%); border: 1px solid rgb(255 255 255 / 30%); color: #fff; border-radius: 50%; font-size: 17px; }
.screenshot.image-failed::after { content: attr(data-error); position: absolute; inset: 0; background: #f6f9fd; display: grid; place-items: center; padding: 20px; font-size: 14px; color: #456178; }
.section-heading { margin-bottom: 52px; }
.creation-grid { display: grid; grid-template-columns: .68fr 1.32fr; gap: 60px; align-items: center; }
.idea { position: relative; padding: 28px 0; }
.idea blockquote { font-size: clamp(23px, 2.4vw, 30px); font-weight: 500; line-height: 1.65; letter-spacing: -.03em; white-space: pre-line; }
.refine { display: flex; gap: 8px; align-items: center; font-size: 16px; color: var(--blue); margin-top: 20px; }
.refine .icon { width: 19px; height: 19px; }
.creation-visual { min-width: 0; }
.reuse-strip { display: grid; grid-template-columns: 1fr 1.12fr; gap: 40px; align-items: center; padding: 34px 38px; border: 1px solid var(--line); border-radius: 12px; margin-top: 40px; background: #eef4fa; }
.reuse-strip h3 { font-size: 20px; margin-bottom: 10px; }
.reuse-strip p { font-size: 16px; line-height: 1.8; color: var(--muted); max-width: none; }
.reuse-diagram { display: flex; gap: 15px; align-items: center; justify-content: flex-end; font-size: 14px; color: #52667b; }
.reuse-item { display: flex; align-items: center; gap: 13px; max-width: none; }
.code-chip { display: flex; flex-direction: column; gap: 8px; text-align: center; border: 1px solid #b8d3ef; border-radius: 10px; background: #e1edfa; padding: 18px 15px; color: #1763ba; font-size: 25px; font-family: ui-monospace, monospace; }
.code-chip span { font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.reuse-result { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.reuse-result .icon { width: 30px; height: 30px; }
.compare { margin-top: 0; }
.compare-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.table-scroll { overflow-x: auto; border-block: 1px solid var(--line); overscroll-behavior-x: contain; }
table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 14px; text-align: left; }
th, td { padding: 17px 18px; line-height: 1.65; border-bottom: 1px solid var(--line); font-weight: 400; }
thead th { font-size: 14px; font-weight: 600; }
tbody th { color: var(--muted); font-size: 14px; }
tbody tr:last-child > * { border-bottom: 0; }
.dimension-col { width: 30%; }
.wandmint-col { width: 17.5%; background: #ecf5ff; }
.comparison-break > * { border-top: 2px solid #c3d7e9; }
.wandmint-cell { color: #1763ba; font-weight: 600; }
thead .wandmint-cell { font-size: 18px; }
.comparison-matrix th:not(:first-child), .comparison-matrix td { text-align: center; }
.comparison-matrix tbody th { color: var(--ink); font-size: 14px; }
.comparison-matrix sup { color: var(--muted); margin-left: 3px; font-size: 14px; }
.comparison-mark { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; font-size: 26px; line-height: 1; font-weight: 600; vertical-align: middle; }
.comparison-mark.yes { color: #087966; }
.comparison-mark.partial { color: #986912; }
.comparison-mark.no { color: #8293a6; font-weight: 400; }
.comparison-legend { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-top: 18px; font-size: 14px; color: var(--muted); }
.comparison-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.comparison-legend .comparison-mark { width: 17px; height: 19px; font-size: 19px; }
.safety { background: #fff; color: var(--ink); position: relative; border-top: 1px solid var(--line); }
.safety-heading { display: flex; gap: 50px; align-items: flex-end; justify-content: space-between; margin-bottom: 50px; }
.safety-heading h2 > span { display: block; }
.sky { color: var(--blue); }
.boundary-scene { color: #eaf2fc; background: var(--dark); border: 1px solid #dbe5ef; border-radius: 16px; padding: 24px 28px 18px; overflow: hidden; background-image: radial-gradient(#8bb5df22 .65px, transparent .65px); background-size: 16px 16px; }
/* Every route leaves the sandbox through the same operation boundary. */
.boundary-flow { display: grid; grid-template-columns: 1.1fr 36px 1.35fr 36px 1fr; align-items: center; gap: 10px; padding-block: 35px 27px; }
.boundary-flow > div { min-width: 0; }
.boundary-flow h3 { font-size: 16px; line-height: 1.6; letter-spacing: -.015em; }
.boundary-flow p { font-size: 14px; color: #b2c8dd; margin-top: 6px; line-height: 1.6; }
.sandbox-node { text-align: center; padding: 24px 14px 17px; background: linear-gradient(135deg, #214c7399, #163a6233); border: 1px dashed #709dcc; border-radius: 14px; }
.code-symbol { display: block; color: #bae5ff; font: 38px/1 ui-monospace, monospace; letter-spacing: -.09em; margin-bottom: 16px; }
.model-permissions { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 19px 22px; margin-top: 0; border: 1px solid #53779866; border-radius: 10px; background: #18374e; flex-wrap: wrap; }
.model-identity { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.model-identity .icon { width: 25px; height: 25px; color: #bae5ff; }
.model-identity h3 { font-size: 16px; line-height: 1.6; }
.closed-routes { display: flex; flex-wrap: wrap; gap: 12px 24px; text-align: left; }
.closed-routes > span { display: flex; gap: 8px; align-items: baseline; color: #b2c8dd; font-size: 15px; line-height: 1.6; }
.closed-routes b { color: #eac3a7; font-size: 15px; font-weight: 400; }
/* Shaft, arrowhead and moving dot share the same SVG endpoints. */
.connector-arrow { display: block; width: 100%; height: 12px; overflow: visible; }
.connector-arrow path { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.wire-dot { fill: var(--wire-dot-color); opacity: 0; }
.flow-wire { color: #8bb5df; --wire-dot-color: #bae5ff; }
.gate-node { padding: 21px 18px 14px; background: #183c5a; border: 1px solid #649ed0; border-radius: 14px; }
.gate-heading { display: flex; gap: 12px; align-items: center; }
.gate-heading .icon { width: 29px; height: 33px; flex-shrink: 0; color: #bae5ff; }
.gate-checks { list-style: none; margin: 19px 0 0; padding: 0; }
.gate-checks li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: baseline; padding: 11px 0; border-top: 1px solid #527a994d; font-size: 14px; line-height: 1.5; }
.gate-number { color: #8ab5da; font: 13px ui-monospace, monospace; }
.gate-checks strong { font-size: 16px; font-weight: 500; }
.access-outcomes > div { display: flex; align-items: center; gap: 12px; padding: 17px 14px; border-radius: 8px; }
.access-outcomes h3 { font-size: 16px; line-height: 1.5; }
.access-outcomes p { font-size: 14px; margin-top: 4px; }
.access-allow { background: #163d44; border: 1px solid #387d84; }
.access-block { background: #463b32; border: 1px solid #745b49; margin-top: 12px; }
.access-allow .outcome-mark { color: #9bdbce; }
.access-block .outcome-mark { color: #eac3a7; }
.outcome-mark { font-size: 23px; }
.checkpoint-example { margin-top: 18px; padding: 23px 28px 19px; border: 1px solid var(--line); border-radius: 12px; background: #f6f9fd; }
.checkpoint-example h3 { font-size: 20px; line-height: 1.6; }
.agent-routes { position: relative; height: 298px; margin-top: 16px; }
.agent-route-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.agent-route, .agent-arrow { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.direct-route { color: #3877b4; }
.bypass-route { color: #af6825; }
.agent-route.bypass-route { stroke-dasharray: 6 6; }
.agent-route-dot { fill: currentColor; animation: route-travel-visibility 6s linear infinite; }
.agent-route-node { position: absolute; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: 20%; height: 96px; padding: 12px 8px; border: 1px solid #cfdeec; border-radius: 10px; background: #fff; text-align: center; }
.agent-route-node strong { font-size: 16px; line-height: 1.45; font-weight: 600; }
.agent-route-node .icon { width: 28px; height: 28px; flex-shrink: 0; color: #3877b4; }
.route-model { top: 30px; left: 0; }
.route-check { top: 30px; left: 40%; border-color: #91b9dd; background: #eaf3fc; }
.route-files { top: 30px; right: 0; }
.route-script { top: 182px; left: 40%; border-color: #dfb996; background: #fff7ed; }
.route-code { color: #af6825; font: 600 24px ui-monospace, monospace; line-height: 28px; }
.direct-route-label, .bypass-route-label { position: absolute; z-index: 1; text-align: center; font-size: 15px; line-height: 1.5; }
.direct-route-label { left: 20%; width: 20%; top: 41px; color: #3877b4; background: #f6f9fd; }
.bypass-route-label { left: 62%; width: 26%; top: 191px; color: #96571b; background: #f6f9fd; }
.bypass-route-label > span { margin-right: 5px; font-size: 18px; }
.bypass-route-label strong { font-weight: 600; }
@keyframes route-travel-visibility { 0%, 8%, 89%, 100% { opacity: 0; } 12%, 85% { opacity: 1; } }
.checkpoint-source { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; line-height: 1.7; color: var(--muted); }
.checkpoint-source a { color: #1763ba; text-decoration: underline; text-underline-offset: 3px; }
.privacy-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 88px; margin-top: 100px; }
.privacy-copy h2 { font-size: clamp(30px, 3.4vw, 44px); }
.privacy-copy > p { font-size: 16px; color: #52667b; line-height: 1.9; margin-top: 22px; max-width: none; }
.privacy-visual { min-width: 0; padding-top: 6px; }
.computer { border: 1px solid #b8cee2; border-bottom-width: 7px; border-radius: 17px 17px 6px 6px; padding: 16px 25px 20px; background: linear-gradient(130deg, #f1f7fc, #e8f2fb); box-shadow: 0 24px 48px -30px #153a5c55; }
.computer-top { text-align: center; position: relative; padding-top: 17px; }
.camera { position: absolute; top: -5px; left: calc(50% - 2px); height: 4px; width: 4px; background: #739cbe; border-radius: 50%; }
.local-process { display: flex; align-items: center; justify-content: space-between; margin: 35px 0 23px; gap: 12px; }
.local-process > div { display: flex; flex-direction: column; align-items: center; gap: 17px; font-size: 14px; text-align: center; white-space: nowrap; }
.file-pile > div { display: flex; position: relative; height: 60px; width: 62px; align-items: center; }
.file-pile > div span { position: absolute; display: grid; place-items: center; width: 40px; height: 50px; border: 1px solid #a7c5e1; border-radius: 5px; font-size: 14px; letter-spacing: .07em; font-weight: 600; color: #1763ba; background: #edf5fc; }
.file-pile > div span:first-child { transform: rotate(-13deg); left: -5px; }
.file-pile > div span:nth-child(2) { transform: rotate(-2deg); left: 7px; }
.file-pile > div span:last-child { transform: rotate(12deg); left: 22px; background: #dcebf9; }
.local-app img { border-radius: 14px; }
.local-wire { display: block; flex: 1; max-width: 38px; color: #739cbe; margin-top: -32px; --wire-dot-color: #1769d2; }
.local-output .icon { width: 60px; height: 60px; padding: 9px; color: #1769d2; stroke-width: 1; }
.computer-base { margin-inline: -16px; height: 9px; background: #c3d7e9; border: 1px solid #a7c5e1; border-radius: 2px 2px 18px 18px; }
.privacy-note { font-size: 13px; line-height: 1.8; max-width: none; color: #52667b; border-top: 1px solid #dbe5ef; padding-top: 24px; margin-top: 48px; }
.execution { padding-bottom: 112px; }
.execution-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.step-heading { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #cbdceb; padding-top: 21px; margin-bottom: 20px; }
.step-number { color: #61768a; font-family: ui-monospace, monospace; font-size: 14px; }
.step-heading .icon { color: var(--blue); width: 22px; height: 22px; }
.execution-step h3 { font-size: 23px; margin-bottom: 12px; }
.step-copy { font-size: 16px; line-height: 1.8; color: var(--muted); min-height: 58px; padding-right: 10px; margin-bottom: 24px; }
.execution-step .screenshot { border-radius: 7px; box-shadow: 0 14px 26px -19px #153a5c33; }
.uses { background: #eef4fa; border-block: 1px solid #dbe5ef; }
.uses-heading { display: block; justify-content: space-between; gap: 50px; align-items: flex-end; margin-bottom: 45px; }
.uses-heading > p { font-size: 16px; color: var(--muted); max-width: 700px; line-height: 1.9; margin-top: 20px; }
.workflows { display: flex; flex-direction: column; gap: 14px; }
.workflow { display: grid; grid-template-columns: .85fr 1.4fr; align-items: center; gap: 24px; padding: 27px 30px; border: 1px solid #dbe5ef; background: #fff; border-radius: 12px; }
.workflow-heading { display: flex; align-items: center; gap: 18px; }
.workflow h3 { font-size: 18px; font-weight: 550; line-height: 1.6; }
.workflow-nodes { display: flex; gap: 14px; align-items: center; justify-content: space-between; }
.workflow-node { display: flex; flex-direction: column; align-items: center; gap: 11px; font-size: 14px; text-align: center; line-height: 1.5; flex: 1; }
.workflow-node .icon { width: 36px; height: 36px; padding: 5px; color: #1763ba; stroke-width: 1.35; }
.workflow-node:last-child .icon { background: #e1edfa; border-radius: 6px; }
.workflow-arrow { color: #739cbe; font-size: 15px; }
.final-cta { padding: 98px 0 78px; text-align: center; background: radial-gradient(ellipse at 50% 70%, #e5f2fb, transparent 60%); }
.final-spark { font-size: 48px; color: #1769d2; margin-bottom: 25px; line-height: 1; }
.final-cta h2 { margin-bottom: 35px; }
.platform { font-size: 13px; color: var(--muted); margin-top: 20px; }
.future { font-size: 16px; color: #61768a; margin-top: 28px; }
.footer { display: flex; gap: 22px; align-items: center; border-top: 1px solid var(--line); padding-block: 27px; }
.footer .brand { font-size: 20px; }
.footer .brand img { width: 29px; height: 29px; }
.footer small { font-size: 12px; color: var(--muted); margin-left: auto; }
.image-viewer { width: min(1400px, calc(100vw - 40px)); max-height: calc(100dvh - 40px); padding: 16px; background: #f6f9fd; color: var(--ink); border: 1px solid #b8cee2; border-radius: 12px; overflow: auto; }
.image-viewer::backdrop { background: rgb(7 27 50 / 75%); backdrop-filter: blur(6px); }
.viewer-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 12px; }
.viewer-toolbar p { font-size: 14px; line-height: 1.6; }
.viewer-toolbar button { display: flex; gap: 12px; align-items: center; flex-shrink: 0; background: #e1edfa; border-radius: 6px; padding: 10px 15px; font-size: 14px; }
.viewer-toolbar button > span:last-child { font-size: 22px; line-height: 16px; }
.image-viewer > img { width: 100%; height: auto; max-height: calc(100dvh - 135px); object-fit: contain; }
/* Shared six-second cycles keep the flow in sequence, with a quiet interval. */
@keyframes travel {
  0% { opacity: 0; cx: 2px; }
  3%, 13% { opacity: 1; }
  17%, 100% { opacity: 0; cx: 38px; }
}
@keyframes node-light {
  0%, 17%, 100% { box-shadow: 0 0 0 0 transparent; }
  7%, 10% { box-shadow: 0 0 22px 2px #70b6f42c; }
}
@keyframes allowed-light {
  0%, 19%, 100% { border-color: #387d84; background: #163d44; }
  7%, 13% { border-color: #96dfd4; background: #20545b; }
}
@keyframes blocked-light {
  0%, 19%, 100% { border-color: #745b49; background: #463b32; }
  7%, 13% { border-color: #e9b894; background: #614535; }
}
.motion-scene .first-wire .wire-dot { animation: travel 6s .2s ease-in-out infinite both; }
.motion-scene .sandbox-node { animation: node-light 6s 0s ease infinite both; }
.motion-scene .gate-node { animation: node-light 6s .9s ease infinite both; }
.motion-scene .gate-checks li { animation: node-light 6s 1.1s ease infinite both; }
.motion-scene .gate-checks li:nth-child(2) { animation-delay: 1.6s; }
.motion-scene .gate-checks li:nth-child(3) { animation-delay: 2.1s; }
.motion-scene .last-wire .wire-dot { animation: travel 6s 2.6s ease-in-out infinite both; }
.motion-scene .access-allow { animation: allowed-light 6s 3s ease infinite both; }
.motion-scene .access-block { animation: blocked-light 6s 3.4s ease infinite both; }
.motion-scene .local-wire:nth-child(2) .wire-dot { animation: travel 6s .2s ease infinite both; }
.motion-scene .local-app img { animation: node-light 6s 1s ease infinite both; }
.motion-scene .local-wire:nth-child(4) .wire-dot { animation: travel 6s 2s ease infinite both; }
.motion-scene .local-output .icon { animation: node-light 6s 2.8s ease infinite both; }
:lang(en-US) h1 { font-size: clamp(43px, 4.4vw, 60px); }
:lang(ja-JP) h1 { font-size: clamp(40px, 4.5vw, 60px); }
:lang(ja-JP) .hero-actions { gap: 18px; }
:lang(ja-JP) .boundary-flow h3 { font-size: 16px; }
:lang(en-US) .gate-checks li { grid-template-columns: 24px 1fr; }
:lang(en-US) .reuse-diagram, :lang(ja-JP) .reuse-diagram { gap: 11px; }
@media (min-width: 1440px) { .hero-grid { padding-block: 100px; } }
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 64px); }
  .nav { gap: 22px; }
  .nav-links { gap: 18px; }
  .nav-actions { gap: 18px; }
  .hero-grid { gap: 32px; grid-template-columns: 1fr 1.1fr; padding-top: 74px; }
  .hero-actions { gap: 18px; }
  h1 { font-size: 53px; }
  .hero .button { padding-inline: 18px; gap: 14px; }
  .creation-grid { gap: 40px; }
  .reuse-strip { padding: 28px; grid-template-columns: 1fr 1.15fr; gap: 22px; }
  .reuse-diagram { gap: 9px; }
  .privacy-grid { gap: 50px; }
  .boundary-scene { padding-inline: 22px; }
  .access-outcomes > div { gap: 8px; padding: 12px 8px; }
  .workflow { grid-template-columns: .85fr 1.4fr; padding: 25px; }
  .workflow-nodes { gap: 10px; }
  .execution-grid { gap: 22px; }
}
@media (max-width: 900px) {
  .nav-download { display: none; }
  .nav-actions { margin-left: auto; }
  .nav-links { margin-left: auto; }
  .hero-grid { gap: 35px; }
  h1 { font-size: 46px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  :lang(en-US) h1 { font-size: 42px; }
  :lang(ja-JP) h1 { font-size: 40px; }
  .hero-orbit { height: 520px; width: 520px; top: -80px; }
  .section { padding-block: 88px; }
  .creation-grid { gap: 35px; grid-template-columns: .75fr 1.25fr; }
  .idea blockquote { font-size: 23px; }
  .refine { font-size: 16px; }
  .reuse-strip { grid-template-columns: 1fr 1fr; }
  .reuse-strip h3 { font-size: 18px; }
  .reuse-strip p { font-size: 16px; max-width: none; }
  .reuse-item { max-width: none; }
  .code-chip { font-size: 22px; padding: 18px 10px; }
  .safety-heading { gap: 30px; }
  .boundary-scene { padding-inline: 18px; }
  .boundary-flow { grid-template-columns: 1fr 20px 1.25fr 20px .95fr; gap: 6px; }
  .boundary-flow h3 { font-size: 16px; }
  .boundary-flow p { font-size: 14px; }
  .gate-node { padding-inline: 12px; }
  .gate-heading { gap: 7px; }
  .gate-heading .icon { width: 23px; }
  .gate-checks li { grid-template-columns: 24px 1fr; gap: 10px; }
  :lang(en-US) .gate-checks li { grid-template-columns: 24px 1fr; }
  .access-outcomes > div { gap: 6px; }
  .privacy-grid { grid-template-columns: .8fr 1.2fr; gap: 35px; }
  .computer { padding-inline: 17px; }
  .local-process { gap: 6px; }
  .local-process > div { font-size: 14px; }
  .local-app img { width: 44px; height: 44px; }
  .file-pile > div, .local-output .icon { width: 44px; height: 44px; }
  .file-pile > div span { width: 30px; height: 38px; }
  .file-pile > div span:last-child { left: 13px; }
  .execution-step h3 { font-size: 21px; }
  .step-copy { font-size: 16px; min-height: 58px; }
  .workflow { grid-template-columns: .75fr 1.25fr; padding: 23px; }
  .workflow h3 { font-size: 18px; }
  .workflow-heading { gap: 12px; }
  .workflow-node { font-size: 14px; }
  th, td { padding: 18px 15px; }
  table { font-size: 14px; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 84px; }
  .wrap { width: calc(100% - 40px); }
  .section { padding-block: 88px; }
  .site-header { height: 68px; }
  .nav { gap: 16px; }
  .brand { font-size: 22px; }
  .brand img { width: 32px; height: 32px; }
  .nav-actions { gap: 16px; }
  .language select { font-size: 14px; }
  .language .icon { width: 16px; height: 16px; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 6px; height: 40px; width: 30px; background: transparent; padding: 4px; }
  .menu-toggle span { display: block; height: 1px; width: 22px; background: var(--ink); }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 68px; padding: 20px; border-bottom: 1px solid var(--line); background: var(--paper); grid-template-columns: 1fr 1fr; gap: 0; }
  .nav-links a { padding: 14px; }
  .nav-links.open { display: grid; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; padding-top: 50px; padding-bottom: 28px; }
  h1 { font-size: clamp(44px, 10.7vw, 64px); line-height: 1.16; }
  :lang(en-US) h1 { font-size: clamp(39px, 9.8vw, 59px); }
  :lang(ja-JP) h1 { font-size: clamp(38px, 9.5vw, 57px); }
  .hero-actions { flex-direction: row; align-items: center; gap: 22px; margin-top: 29px; }
  .hero .button { font-size: 14px; min-height: 47px; }
  .text-link { font-size: 14px; gap: 8px; }
  .hero-visual { padding-top: 0; }
  .hero-orbit { left: 40px; top: -40px; }
  .section-heading { margin-bottom: 33px; }
  h2 { font-size: 30px; }
  .creation-grid { grid-template-columns: 1fr; gap: 23px; }
  .idea { padding: 0 0 16px 20px; border-left: 2px solid #b8d3ef; }
  .idea blockquote { font-size: 24px; max-width: 88%; }
  .refine { margin-top: 20px; font-size: 16px; }
  .reuse-strip { display: flex; flex-direction: column; align-items: stretch; gap: 28px; padding: 25px; margin-top: 27px; }
  .reuse-strip p { max-width: none; font-size: 16px; }
  .reuse-diagram { justify-content: space-between; gap: 11px; }
  .reuse-item { font-size: 14px; max-width: none; }
  .code-chip { padding: 15px 11px; }
  .compare { margin-top: 0; }
  .compare-heading { margin-bottom: 19px; }
  table { table-layout: fixed; font-size: 14px; }
  th, td { padding: 13px 4px; }
  .dimension-col { width: 34%; }
  .wandmint-col { width: 16.5%; }
  .comparison-matrix tbody th { font-size: 14px; line-height: 1.65; padding-right: 10px; }
  .comparison-matrix thead th { font-size: 13px; overflow-wrap: anywhere; }
  .comparison-matrix thead .wandmint-cell { font-size: 14px; }
  .comparison-mark { font-size: 24px; width: 24px; height: 24px; }
  .comparison-legend { font-size: 14px; gap: 10px 18px; }
  thead th { font-size: 14px; }
  tbody th { font-size: 14px; }
  .safety-heading { display: block; margin-bottom: 30px; }
  .safety-heading h2 { font-size: 31px; }
  .boundary-scene { padding: 18px 19px 12px; border-radius: 12px; }
  .boundary-flow { grid-template-columns: 1fr; gap: 0; padding-block: 24px 22px; }
  .sandbox-node { padding: 20px 16px 14px; }
  .code-symbol { font-size: 31px; margin-bottom: 10px; }
  .boundary-flow h3, :lang(ja-JP) .boundary-flow h3 { font-size: 16px; }
  .boundary-flow p { font-size: 14px; }
  .model-permissions { align-items: flex-start; flex-direction: column; gap: 16px; padding: 17px; margin-top: 0; flex-wrap: wrap; }
  .closed-routes { flex-direction: column; gap: 12px 24px; }
  .flow-wire { width: 32px; margin: 20px auto; transform: rotate(90deg); }
  .gate-node { padding: 19px 17px 10px; }
  .gate-heading { gap: 14px; }
  .gate-heading .icon { width: 30px; }
  .gate-checks { margin-top: 15px; }
  .gate-checks li, :lang(en-US) .gate-checks li { grid-template-columns: 24px 1fr; gap: 10px; }
  .access-outcomes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .access-outcomes > div { padding: 13px 10px; gap: 8px; }
  .boundary-flow .access-outcomes h3 { font-size: 16px; }
  .access-outcomes p { font-size: 14px; }
  .access-block { margin-top: 0; }
  .checkpoint-example { padding: 20px 18px 16px; }
  .checkpoint-example h3 { font-size: 20px; }
  .checkpoint-source { gap: 5px 12px; font-size: 13px; }
  .privacy-grid { grid-template-columns: 1fr; gap: 32px; margin-top: 63px; }
  .privacy-copy h2 { font-size: 32px; }
  .privacy-copy > p { font-size: 16px; max-width: none; margin-top: 19px; }
  .privacy-visual { margin-inline: 11px; }
  .computer { padding: 14px 20px 20px; }
  .local-process { gap: 9px; }
  .local-process > div { font-size: 14px; }
  .local-app img, .local-output .icon { width: 48px; height: 48px; }
  .file-pile > div { height: 48px; }
  .privacy-note { margin-top: 29px; padding-top: 20px; font-size: 13px; max-width: none; }
  .execution-grid { grid-template-columns: 1fr; gap: 38px; }
  .step-heading { padding-top: 19px; margin-bottom: 16px; }
  .execution-step h3 { font-size: 24px; margin-bottom: 10px; }
  .step-copy { font-size: 16px; min-height: 58px; margin-bottom: 20px; max-width: 320px; }
  .uses-heading { display: block; margin-bottom: 29px; }
  .uses-heading > p { margin-top: 20px; max-width: 700px; font-size: 16px; }
  .workflow { grid-template-columns: 1fr; gap: 23px; padding: 23px 19px; }
  .workflow h3 { font-size: 18px; }
  .workflow-nodes { gap: 7px; }
  .workflow-node { font-size: 14px; gap: 9px; }
  .workflow-node .icon { width: 33px; height: 33px; }
  .workflow-arrow { font-size: 14px; }
  .final-cta { padding-block: 65px 49px; }
  .final-cta h2 { font-size: 30px; margin-bottom: 27px; }
  .final-spark { font-size: 41px; }
  .platform { font-size: 13px; }
  .future { font-size: 16px; margin-top: 28px; }
  .footer { gap: 12px; flex-wrap: wrap; padding-block: 23px; }
  .footer small { font-size: 12px; }
  .footer .brand { font-size: 19px; }
  .image-viewer { width: calc(100vw - 20px); padding: 11px; max-height: calc(100dvh - 20px); }
  .viewer-toolbar { gap: 12px; }
  .viewer-toolbar p { font-size: 14px; }
  .viewer-toolbar button { font-size: 14px; padding: 9px 11px; }
  :lang(ja-JP) .hero-actions { gap: 18px; }
  :lang(en-US) .workflow-node, :lang(ja-JP) .workflow-node { font-size: 14px; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 32px); }
  .hero-actions { gap: 16px; }
  h2, .safety-heading h2 { font-size: 27px; }
  .boundary-scene { padding-inline: 13px; }
  .local-process > div { font-size: 14px; }
}
.hero-intro { font-size: 18px; line-height: 1.8; color: var(--muted); max-width: 440px; margin-top: 26px; }
.section-lead { font-size: 16px; line-height: 1.85; color: var(--muted); max-width: 760px; margin-top: 22px; }
.annotation { font-size: 13px; line-height: 1.75; color: var(--muted); }
#comparison-note { margin-top: 18px; }
.computer-label { font-size: 14px; line-height: 1.6; color: var(--muted); }
@media (max-width: 900px) {
  .model-identity { flex-shrink: 1; }
  .model-permissions { gap: 16px; }
  .workflow { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 680px) {
  .section { padding-block: 64px; }
  .hero-intro { font-size: 16px; margin-top: 22px; }
  .section-lead { margin-top: 18px; }
  .step-copy { min-height: 0; }
  .annotation, .privacy-note, .checkpoint-source, .platform { font-size: 12px; }
  .access-outcomes { grid-template-columns: 1fr; }
  .boundary-flow .access-outcomes h3 { font-size: 16px; }
  .model-permissions { padding: 17px 14px; }
  .closed-routes > span { font-size: 14px; }
  .checkpoint-example h3 { font-size: 18px; }
  .workflow-nodes { gap: 5px; }
  .workflow-node { min-width: 0; overflow-wrap: anywhere; }
  .comparison-legend { gap: 12px 18px; }
  .dimension-col { width: 36%; }
  .wandmint-col { width: 16%; }
  .future { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (min-width: 681px) and (max-width: 900px) {
  .agent-route-node { height: 124px; gap: 6px; padding: 8px 6px; }
  .route-model, .route-check, .route-files { top: 16px; }
  .route-script { top: 168px; }
}
@media (max-width: 680px) {
  .agent-routes { height: 462px; margin-top: 22px; }
  .agent-route-node { width: 43%; height: 104px; }
  .agent-route-node strong { font-size: 15px; }
  .route-model, .route-files { left: 22%; right: auto; width: 56%; height: 76px; flex-direction: row; gap: 8px; }
  .route-model { top: 0; }
  .route-files { top: auto; bottom: 0; }
  .route-check { top: 178px; left: 0; }
  .route-script { top: 178px; left: 57%; }
  .direct-route-label { left: 0; width: 43%; top: 142px; }
  .bypass-route-label { left: 57%; width: 43%; top: 302px; padding: 3px; background: #f6f9fd; }
}
@media (prefers-reduced-motion: reduce) { .agent-route-dot { display: none; } }
