@import url("design-tokens.css");

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font: 400 16px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
}
body[data-theme=light] {
  --canvas: #f3f4f0;
  --surface: #fbfcf8;
  --text: #26302e;
  --secondary: #68736e;
  --icon: #5f6d67;
  --accent: #49645d;
  --primary-fill: #354c46;
  --on-primary: #fff;
  --line: #9ca9a1;
  --surface-rgb: 251, 252, 248;
}
body[data-theme=dark] {
  --canvas: #171d1c;
  --surface: #242d2a;
  --text: #edf1eb;
  --secondary: #adb9b1;
  --icon: #b6c2ba;
  --accent: #b7cec0;
  --primary-fill: #d7e4da;
  --on-primary: #1d2d26;
  --line: #82958a;
  --surface-rgb: 36, 45, 42;
}
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button {
  min-height: 44px;
  padding: 9px 15px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
button:hover, .button.secondary:hover { background: color-mix(in srgb, var(--text) 5%, transparent); }
button:focus-visible, a:focus-visible, input:focus-visible, iframe:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
button:disabled { opacity: .45; cursor: default; }
svg { display: block; flex: none; width: 24px; height: 24px; fill: none; }
p { color: var(--secondary); }
h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.45; }
h2 { font-size: 30px; }
[hidden] { display: none !important; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 20; padding: 12px 16px; border-radius: 10px; background: var(--surface); }
.skip:focus { top: 16px; }
.section-width, .masthead { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.chapter { position: relative; }
.eyebrow { margin: 0 0 16px; font: 500 10px/1.6 ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: 3px; text-transform: uppercase; }

.masthead { display: flex; align-items: center; min-height: 96px; gap: 24px; }
.brand { display: inline-flex; align-items: center; min-height: 48px; gap: 11px; font-size: 22px; font-weight: 500; letter-spacing: 1.5px; }
.brand svg { width: 27px; height: 27px; }
.masthead nav { display: flex; align-items: center; gap: 30px; margin-left: auto; font-size: 13px; }
.masthead nav a { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; }
.masthead nav a:not(.nav-entry) { color: var(--secondary); }
.masthead nav a:hover { color: var(--text); }
.masthead nav svg { width: 16px; height: 16px; }
.nav-entry { border-bottom: .6px solid color-mix(in srgb, var(--line) 55%, transparent); }
.theme-switch, .device-switch, .presets { display: flex; gap: 3px; padding: 3px; border-radius: 999px; background: color-mix(in srgb, var(--text) 4%, transparent); }
.theme-switch { flex-wrap: nowrap; }
.theme-switch button, .device-switch button { min-height: 36px; padding: 6px 12px; font-size: 12px; }
button[aria-pressed=true] { background: var(--surface); color: var(--text); box-shadow: 0 1px 5px color-mix(in srgb, var(--text) 8%, transparent); }

.chapter-rail { position: fixed; z-index: 8; top: 50%; right: 22px; display: none; flex-direction: column; gap: 3px; transform: translateY(-50%); }
.chapter-rail a { display: flex; align-items: center; justify-content: flex-end; min-width: 44px; min-height: 44px; gap: 10px; color: var(--secondary); font: 10px/1 ui-monospace, Consolas, monospace; letter-spacing: 1px; }
.chapter-rail a>span:first-child { display: grid; place-items: center; width: 28px; height: 28px; border: .6px solid transparent; border-radius: 50%; transition: border-color 180ms, background 180ms; }
.chapter-rail a[aria-current=location]>span:first-child { border-color: var(--line); background: var(--surface); color: var(--text); }
.rail-label { position: absolute; right: 42px; padding: 5px 8px; border-radius: 6px; background: var(--surface); opacity: 0; pointer-events: none; transform: translateX(5px); transition: opacity 160ms, transform 160ms; white-space: nowrap; }
.chapter-rail a:hover .rail-label, .chapter-rail a:focus-visible .rail-label, .chapter-rail a[aria-current=location] .rail-label { opacity: 1; transform: translateX(0); }

.intro { display: grid; place-items: center; min-height: calc(100svh - 96px); max-width: 1180px; margin: auto; padding: 70px 24px 126px; text-align: center; isolation: isolate; }
.intro::before, .intro::after { position: absolute; color: var(--line); font: 300 20px/1 monospace; opacity: .55; content: "+"; }
.intro::before { top: 82px; left: 8%; }
.intro::after { right: 8%; bottom: 90px; }
.intro-content { position: relative; z-index: 1; }
.hero-thread { position: absolute; z-index: -1; top: 50%; left: 50%; width: min(900px, 100%); height: auto; color: var(--accent); opacity: .14; transform: translate(-50%, -50%); pointer-events: none; }
.hero-thread path { stroke: currentColor; stroke-width: .8; }
.hero-thread circle { fill: var(--canvas); stroke: currentColor; stroke-width: 1; }
.intro h1 {
  margin: 24px 0 16px;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", "SimSun", serif;
  font-size: clamp(46px, 5.6vw, 72px);
  font-weight: 500;
  letter-spacing: .06em;
  line-height: 1.35;
}
.intro h1 span { display: block; }
.hero-english { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 12px; letter-spacing: .3em; }
.intro-copy { margin: 30px 0 0; font-size: 15px; letter-spacing: .06em; }
.actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; gap: 18px; padding: 13px 24px; border: 0; border-radius: 999px; font-size: 14px; line-height: 1.7; transition: background 140ms, transform 140ms, box-shadow 140ms; }
.button:hover { transform: translateY(-2px); }
.button svg { width: 18px; height: 18px; }
.button.primary { background: var(--primary-fill); color: var(--on-primary); }
.button.primary:hover { background: color-mix(in srgb, var(--primary-fill) 90%, var(--text)); box-shadow: 0 7px 20px color-mix(in srgb, var(--text) 9%, transparent); }
.actions .button { min-width: 204px; }
.download-hint { margin: 11px 0 0; font-size: 11px; letter-spacing: .04em; }
.hero-note { display: inline-flex; align-items: center; min-height: 44px; gap: 10px; margin-top: 15px; color: var(--secondary); font-size: 12px; border-bottom: .5px solid color-mix(in srgb, var(--line) 40%, transparent); }
.hero-note span { color: var(--accent); }
.intro-signature { margin: 24px 0 0; font-family: "Songti SC", "STSong", serif; font-size: 12px; letter-spacing: .16em; }
.chapter-next { position: absolute; bottom: 28px; left: 50%; display: inline-flex; align-items: center; min-height: 44px; gap: 12px; color: var(--secondary); font-size: 11px; letter-spacing: .08em; transform: translateX(-50%); white-space: nowrap; }
.chapter-next svg { width: 17px; height: 17px; transform: rotate(90deg); transition: transform 160ms; }
.chapter-next:hover { color: var(--text); }
.chapter-next:hover svg { transform: rotate(90deg) translateX(3px); }

.section-heading { max-width: 720px; margin-bottom: 44px; }
.section-heading h2 { margin-bottom: 14px; font-family: "Songti SC", "STSong", serif; font-size: clamp(30px, 3.2vw, 40px); letter-spacing: .04em; }
.section-heading p:not(.eyebrow) { margin: 0; font-size: 14px; }
.centered-heading { margin-inline: auto; text-align: center; }
.experience { min-height: 100svh; padding: 70px 0 108px; border-top: .6px solid color-mix(in srgb, var(--line) 30%, transparent); }
.experience .section-heading { margin-bottom: 36px; }
.experience-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 76px; align-items: center; }
.demo-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.demo-heading .eyebrow { margin: 0; }
.device-switch { flex: none; flex-wrap: nowrap; }
.device-stage { position: relative; display: flex; align-items: center; justify-content: center; min-width: 0; }
.device-stage[data-device=phone]::before { position: absolute; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 9%, transparent), transparent 70%); pointer-events: none; content: ""; }
.device-frame { position: relative; flex: none; overflow: hidden; isolation: isolate; transform-origin: center; border: 7px solid #242b28; border-radius: 44px; background: var(--canvas); box-shadow: 0 26px 60px color-mix(in srgb, var(--text) 13%, transparent), 0 3px 10px color-mix(in srgb, var(--text) 10%, transparent); }
.device-stage[data-device=phone] .device-frame::after { position: absolute; z-index: 4; top: 8px; left: 50%; width: 76px; height: 19px; border-radius: 999px; background: #242b28; pointer-events: none; content: ""; transform: translateX(-50%); }
.device-stage[data-device=desktop] .device-frame { border-width: 9px; border-radius: 16px; box-shadow: 0 22px 56px color-mix(in srgb, var(--text) 12%, transparent); }
iframe { display: block; border: 0; background: var(--canvas); }
.demo-status { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 30px; background: var(--canvas); color: var(--secondary); font-size: 14px; text-align: center; }
.demo-status[hidden] { display: none; }
.demo-status button { background: var(--surface); color: var(--text); }
.demo-caption { margin: 10px 0 0; font-size: 11px; line-height: 1.8; text-align: center; }
.editorial { align-self: center; }
.editorial-script { margin: 0 0 26px; color: var(--text); font: italic 400 37px/1.22 Georgia, "Times New Roman", serif; letter-spacing: -.02em; }
.editorial article { display: grid; grid-template-columns: 32px minmax(0, 1fr); align-items: start; gap: 14px; padding: 20px 0; border-top: .6px solid color-mix(in srgb, var(--line) 34%, transparent); }
.feature-index { padding-top: 2px; color: var(--text); font: italic 20px/1.4 Georgia, serif; }
.editorial h3 { margin: 0 0 5px; font-family: "Songti SC", "STSong", serif; font-size: 21px; letter-spacing: .05em; }
.editorial article p { margin: 0; font-size: 13px; line-height: 1.85; }
.editorial-footnote { margin: 22px 0 0 46px; font-family: "Songti SC", "STSong", serif; font-size: 12px; letter-spacing: .04em; }
.experience[data-device=desktop] .experience-layout { grid-template-columns: minmax(0, 1fr); gap: 50px; }
.experience[data-device=desktop] .demo-column { width: 100%; max-width: 1120px; margin: auto; }
.experience[data-device=desktop] .editorial { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.experience[data-device=desktop] .editorial-script, .experience[data-device=desktop] .editorial-footnote { grid-column: 1 / -1; }

.memory { min-height: 100svh; padding: 86px 0 108px; border-top: .6px solid color-mix(in srgb, var(--line) 30%, transparent); }
.memory-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); align-items: center; gap: 66px; }
.memory-illustration { min-width: 0; }
.memory-map { width: 100%; height: auto; overflow: visible; }
.mobile-memory-map { display: none; }
.memory-map marker path { fill: var(--accent); }
.map-line { stroke: var(--accent); stroke-width: 1.2; opacity: .72; }
.map-card { fill: color-mix(in srgb, var(--surface) 80%, transparent); stroke: color-mix(in srgb, var(--line) 56%, transparent); stroke-width: .8; }
.map-kicker { fill: var(--secondary); font: 400 14px/1.5 -apple-system, BlinkMacSystemFont, "Microsoft YaHei", sans-serif; letter-spacing: .04em; }
.map-title { fill: var(--text); font: 500 19px/1.5 "Songti SC", "STSong", serif; letter-spacing: .04em; }
.map-message { fill: color-mix(in srgb, var(--accent) 13%, var(--surface)); }
.map-message.faint { opacity: .55; }
.map-organize { fill: color-mix(in srgb, var(--accent) 7%, var(--canvas)); stroke: color-mix(in srgb, var(--line) 45%, transparent); stroke-width: .8; stroke-dasharray: 3 5; }
.map-book { stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.map-kept { stroke: var(--line); stroke-width: 7; stroke-linecap: round; opacity: .38; }
.reply-card { fill: color-mix(in srgb, var(--accent) 9%, var(--surface)); }
.map-dot { fill: var(--primary-fill); }
.map-check { stroke: var(--on-primary); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.map-caption { fill: var(--secondary); font: italic 14px Georgia, "Songti SC", serif; letter-spacing: .08em; }
.memory-copy article { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 17px 0; border-top: .6px solid color-mix(in srgb, var(--line) 30%, transparent); }
.memory-copy article>span { padding-top: 5px; color: var(--secondary); font: 10px/1.5 ui-monospace, Consolas, monospace; }
.memory-copy h3 { margin-bottom: 5px; font-family: "Songti SC", "STSong", serif; font-size: 20px; letter-spacing: .04em; }
.memory-copy p { margin: 0; font-size: 13px; }
.plain-language { margin: 22px 0 0 46px; font-family: "Songti SC", "STSong", serif; font-size: 13px; line-height: 1.9; }
.tech-details { margin-top: 32px; border-top: .6px solid color-mix(in srgb, var(--line) 25%, transparent); border-bottom: .6px solid color-mix(in srgb, var(--line) 25%, transparent); }
.tech-details summary { padding: 16px 0; color: var(--secondary); font-size: 12px; cursor: pointer; }
.tech-details p { max-width: 850px; margin: 0 0 20px; font-size: 12px; line-height: 1.9; }

.ownership { min-height: 100svh; padding: 86px 0 108px; border-top: .6px solid color-mix(in srgb, var(--line) 30%, transparent); }
.ownership-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 54px; }
.ownership-card { display: grid; grid-template-columns: 66px minmax(0, 1fr); gap: 20px; min-height: 188px; padding: 28px 0; border-top: .6px solid color-mix(in srgb, var(--line) 32%, transparent); }
.ownership-icon { width: 58px; height: 58px; color: var(--icon); }
.ownership-icon path, .ownership-icon rect { stroke: currentColor; stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; }
.ownership-card h3 { margin: 0 0 9px; font-family: "Songti SC", "STSong", serif; font-size: 23px; letter-spacing: .05em; }
.ownership-card p { margin: 0; font-size: 13px; line-height: 1.9; }
.card-note { display: block; margin-top: 11px; color: var(--secondary); font-size: 10px; letter-spacing: .04em; }
.ownership-note { margin: 26px 0 0; padding-top: 22px; border-top: .6px solid color-mix(in srgb, var(--line) 25%, transparent); font-size: 12px; text-align: center; }

.everyday { min-height: 100svh; padding: 78px 0 0; border-top: .6px solid color-mix(in srgb, var(--line) 30%, transparent); }
.everyday .section-heading { margin-bottom: 32px; }
.everyday-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: .6px solid color-mix(in srgb, var(--line) 30%, transparent); border-bottom: .6px solid color-mix(in srgb, var(--line) 30%, transparent); }
.everyday-grid article { padding: 26px 30px; }
.everyday-grid article+article { border-left: .6px solid color-mix(in srgb, var(--line) 30%, transparent); }
.everyday-grid svg { width: 23px; height: 23px; margin-bottom: 15px; color: var(--icon); }
.everyday-grid h3 { font-family: "Songti SC", "STSong", serif; font-size: 20px; letter-spacing: .05em; }
.everyday-grid p { margin: 5px 0 0; font-size: 12px; }
.appearance-details { border-bottom: .6px solid color-mix(in srgb, var(--line) 30%, transparent); }
.appearance-details summary { display: flex; align-items: center; justify-content: space-between; min-height: 66px; gap: 20px; color: var(--text); font-family: "Songti SC", "STSong", serif; font-size: 16px; letter-spacing: .05em; cursor: pointer; list-style: none; }
.appearance-details summary::-webkit-details-marker { display: none; }
.summary-action { color: var(--secondary); font: 400 11px/1.7 -apple-system, BlinkMacSystemFont, "Microsoft YaHei", sans-serif; letter-spacing: .03em; }
.appearance-details[open] .summary-action { display: none; }
.appearance-layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 68px; align-items: center; padding: 14px 0 40px; }
.material-scene { position: relative; isolation: isolate; overflow: hidden; height: 330px; border: .6px solid color-mix(in srgb, var(--line) 18%, transparent); border-radius: 24px; background: var(--canvas); box-shadow: 0 14px 40px color-mix(in srgb, var(--text) 5%, transparent); }
.material-pattern { position: absolute; inset: -32px; background: repeating-linear-gradient(0deg, transparent 0 31px, color-mix(in srgb, var(--accent) 18%, transparent) 31px 32px), repeating-linear-gradient(90deg, transparent 0 31px, color-mix(in srgb, var(--accent) 18%, transparent) 31px 32px), var(--canvas); }
.material-scrim { position: absolute; inset: 0; background: var(--scrim); opacity: .08; pointer-events: none; }
.material-glass { position: absolute; inset: 58px 42px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; border: .5px solid color-mix(in srgb, var(--line) 18%, transparent); border-radius: 22px; background: rgba(var(--surface-rgb), .2); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); text-align: center; }
.material-glass svg { width: 25px; height: 25px; margin-bottom: 18px; }
.material-glass strong { color: var(--text); font-family: "Songti SC", "STSong", serif; font-size: 22px; font-weight: 500; letter-spacing: .06em; }
.material-glass p { margin: 10px 0 0; font-size: 12px; }
.preview-caption { margin: 12px 0 0; font-size: 11px; text-align: center; }
.appearance-controls { max-width: 430px; }
.presets { width: fit-content; margin-bottom: 24px; }
.presets button { min-width: 74px; font-size: 13px; }
.range { display: grid; grid-template-columns: minmax(0, 1fr) 48px; gap: 0 12px; margin-bottom: 12px; }
.range label { font-size: 14px; }
.range output { color: var(--secondary); font-size: 12px; font-variant-numeric: tabular-nums; text-align: right; }
.range input[type=range] { grid-column: 1 / 3; width: 100%; height: 34px; margin: 0; accent-color: var(--accent); cursor: pointer; touch-action: pan-y; }
.material-status { min-height: 24px; margin: 12px 0 0; font-size: 11px; }
.closing { padding: 70px 20px 56px; text-align: center; }
.closing h2 { margin: 17px 0 10px; font-family: "Songti SC", "STSong", serif; font-size: 34px; letter-spacing: .05em; }
.closing>p:not(.eyebrow):not(.ai-note) { margin: 0; font-size: 13px; }
.ai-note { max-width: 560px; margin: 30px auto 0; font-size: 10px; }

footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0 36px; border-top: .6px solid color-mix(in srgb, var(--line) 28%, transparent); }
footer .brand { font-size: 18px; }
footer .brand svg { width: 22px; height: 22px; }
footer>div { display: flex; flex-wrap: wrap; gap: 24px; color: var(--secondary); font-size: 11px; }
footer>div>a { display: flex; align-items: center; min-height: 44px; }
dialog { width: calc(100% - 32px); max-width: 460px; padding: 40px 30px 30px; border: 0; border-radius: 24px; background: var(--surface); color: var(--text); box-shadow: 0 8px 32px #0002; }
dialog::backdrop { background: #14202b66; }
dialog h2 { font-family: "Songti SC", "STSong", serif; font-size: 28px; }
dialog p { font-size: 13px; line-height: 1.9; }
dialog .button { margin-top: 16px; }
.dialog-close { position: absolute; top: 4px; right: 4px; display: grid; place-items: center; width: 44px; padding: 0; }
.dialog-note { margin-bottom: 0; font-size: 11px !important; }
.legal { max-width: 720px; margin: 60px auto; padding: 0 24px 80px; line-height: 2; }
.legal h1 { font-family: "Songti SC", "STSong", serif; font-size: 36px; }
.legal h2 { margin-top: 36px; font-size: 20px; }
.legal p { font-size: 14px; }
.legal a:not(.brand) { text-decoration: underline; text-underline-offset: 4px; }

@media (min-width: 1280px) { .chapter-rail { display: flex; } }
@media (min-width: 1100px) and (min-height: 760px) and (prefers-reduced-motion: no-preference) {
  html { scroll-snap-type: y proximity; }
  .chapter { scroll-snap-align: start; scroll-snap-stop: normal; }
  .intro { scroll-snap-align: none; }
}
@media (max-width: 1100px) {
  .section-width, .masthead { width: calc(100% - 48px); }
  .masthead nav { gap: 20px; }
  .experience-layout { gap: 42px; }
  .memory-layout { gap: 34px; }
  .ownership-grid { gap: 0 34px; }
  .appearance-layout { gap: 40px; }
}
@media (max-width: 860px) {
  .experience-layout, .memory-layout { grid-template-columns: 1fr; }
  .demo-column { width: 100%; max-width: 620px; margin-inline: auto; }
  .editorial { max-width: 620px; width: 100%; margin-inline: auto; }
  .memory-illustration { max-width: 680px; margin-inline: auto; }
  .memory-copy { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .memory-copy article { display: block; }
  .memory-copy article>span { display: block; margin-bottom: 10px; }
  .plain-language { grid-column: 1 / -1; margin: 4px 0 0; text-align: center; }
  .ownership-card { grid-template-columns: 52px minmax(0, 1fr); gap: 14px; }
  .ownership-icon { width: 46px; height: 46px; }
}
@media (max-width: 760px) {
  .masthead { flex-wrap: wrap; gap: 4px 14px; min-height: 80px; padding: 14px 0; }
  .masthead nav { order: 3; justify-content: space-between; width: 100%; gap: 16px; }
  .theme-switch { margin-left: auto; }
  .brand { gap: 9px; font-size: 20px; }
  .intro { min-height: calc(100svh - 142px); padding: 54px 20px 70px; }
  .intro::before, .intro::after { display: none; }
  .intro h1 { margin-top: 20px; font-size: clamp(36px, 10vw, 48px); letter-spacing: .03em; }
  .hero-english { font-size: 9px; letter-spacing: .18em; line-height: 1.9; }
  .intro-copy { margin-top: 24px; font-size: 13px; }
  .actions { gap: 10px; }
  .actions .button { width: min(280px, 100%); min-height: 52px; }
  .download-hint { margin-top: 10px; }
  .hero-note { margin-top: 12px; }
  .intro-signature { margin-top: 18px; font-size: 11px; }
  .chapter-next { display: none; }
  .section-heading { margin-bottom: 30px; }
  .section-heading h2 { font-size: 29px; }
  .memory .section-heading h2 { font-size: clamp(25px, 7vw, 29px); }
  .memory .section-heading h2 span { display: block; }
  .experience { min-height: 0; padding: 58px 0 68px; }
  .experience .section-heading { margin-bottom: 30px; }
  .experience-layout { gap: 42px; }
  .demo-heading { gap: 12px; }
  .demo-heading .eyebrow { font-size: 8px; letter-spacing: 1.6px; }
  .device-frame { border-radius: 38px; }
  .editorial-script { font-size: 34px; }
  .editorial article { padding: 20px 0; }
  .editorial-footnote { margin-left: 0; line-height: 1.9; }
  .experience[data-device=desktop] .editorial { display: block; }
  .memory { min-height: 0; padding: 64px 0 68px; }
  .memory-layout { gap: 24px; }
  .memory-map:not(.mobile-memory-map) { display: none; }
  .mobile-memory-map { display: block; min-width: 0; }
  .memory-illustration { overflow: visible; }
  .memory-copy { display: block; }
  .memory-copy article { display: grid; }
  .memory-copy article>span { margin: 0; }
  .plain-language { margin: 20px 0 0 46px; text-align: left; }
  .tech-details { margin-top: 28px; }
  .ownership { min-height: 0; padding: 64px 0 68px; }
  .ownership-grid { grid-template-columns: 1fr; }
  .ownership-card { min-height: 0; padding: 25px 0; }
  .ownership-note { text-align: left; line-height: 1.9; }
  .everyday { min-height: 0; padding: 60px 0 0; }
  .everyday-grid { grid-template-columns: 1fr; }
  .everyday-grid article { display: grid; grid-template-columns: 32px 100px minmax(0, 1fr); align-items: center; gap: 10px; padding: 18px 0; }
  .everyday-grid article+article { border-top: .6px solid color-mix(in srgb, var(--line) 25%, transparent); border-left: 0; }
  .everyday-grid svg { margin: 0; }
  .everyday-grid p { margin: 0; }
  .appearance-layout { grid-template-columns: 1fr; gap: 28px; }
  .material-scene { height: 280px; }
  .material-glass { inset: 42px 24px; }
  .appearance-controls { max-width: none; }
  .closing { padding: 58px 0 50px; }
  .closing h2 { font-size: 30px; }
  footer { align-items: flex-start; flex-direction: column; gap: 4px; }
  footer>div { gap: 22px; }
}
@media (max-width: 390px) {
  .section-width, .masthead { width: calc(100% - 32px); }
  .masthead nav { gap: 12px; font-size: 12px; }
  .theme-switch button, .device-switch button { padding-inline: 10px; }
  .intro { padding-inline: 6px; }
  .intro h1 { font-size: 35px; }
  .presets button { min-width: 68px; }
  .summary-action { font-size: 10px; }
  .everyday-grid article { grid-template-columns: 28px 84px minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}


body[data-theme=light] { --secondary: #626d68; }
.masthead {
  position: sticky;
  top: 0;
  z-index: 12;
  background: color-mix(in srgb, var(--canvas) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.static-demo { display: grid; gap: 10px; width: min(100%, 280px); margin: 0 auto; text-align: left; }
.static-demo-label { color: var(--accent); font-size: 11px; letter-spacing: .12em; text-align: center; }
.static-message { max-width: 88%; padding: 10px 14px; border: .6px solid color-mix(in srgb, var(--line) 24%, transparent); border-radius: 16px; line-height: 1.6; }
.static-message.other { justify-self: start; background: color-mix(in srgb, var(--surface) 72%, transparent); }
.static-message.mine { justify-self: end; background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
.static-demo small { color: var(--secondary); line-height: 1.7; text-align: center; }
