:root {
  color-scheme: light;
  --bg: #f5f6f2;
  --surface: #ffffff;
  --surface-soft: #eef1eb;
  --ink: #172a36;
  --muted: #65716c;
  --line: #dfe5de;
  --accent: #216649;
  --accent-soft: #b5ebcf;
  --accent-faint: #eaf7ef;
  --error: #a33b31;
  --shadow: 0 16px 48px #172a360f;
  --radius: 24px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #14211e;
  --surface: #1d2c28;
  --surface-soft: #263831;
  --ink: #eef5ef;
  --muted: #a8b8ae;
  --line: #384a40;
  --accent: #a3e8be;
  --accent-soft: #8ccfaa;
  --accent-faint: #263e31;
  --error: #ffb0a5;
  --shadow: 0 16px 48px #00000025;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); background: var(--bg); color: var(--ink); line-height: 1.55; }
body.modal-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button, input, select { color: inherit; }
button { touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
svg { display: block; width: 24px; height: 24px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
img { max-width: 100%; }
button, input, select, dialog { border: 0; }
button:disabled { cursor: not-allowed; opacity: .55; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
::selection { color: #172a36; background: #b5ebcf; }
h1, h2, h3, p { margin: 0; }
h2, h3 { letter-spacing: -.035em; }
h2 { font-size: 29px; line-height: 1.3; }
h3 { font-size: 22px; line-height: 1.3; }
.is-hidden, [hidden] { display: none !important; }
.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-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 12px 18px; border-radius: 12px; color: var(--surface); background: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.shell, .header-inner { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 32px; min-height: 88px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; background: var(--ink); color: #b5ebcf; border-radius: 14px; }
[data-theme="dark"] .brand-mark { background: #0c1916; }
.brand-mark svg { width: 22px; height: 22px; }
.brand-name { display: block; font-size: 17px; font-weight: 760; letter-spacing: -.035em; }
.brand-kicker { display: block; font-size: 10px; letter-spacing: .13em; font-weight: 650; color: var(--muted); }
nav { display: flex; gap: 24px; align-items: center; }
.nav-link { display: inline-flex; align-items: center; min-height: 48px; color: var(--muted); font-size: 14px; font-weight: 550; }
.nav-link:hover { color: var(--ink); }
.header-action { display: flex; align-items: center; }

.button { min-height: 48px; display: inline-flex; justify-content: center; align-items: center; gap: 9px; padding: 12px 20px; border-radius: 13px; border: 1px solid transparent; font-size: 14px; font-weight: 650; line-height: 1.35; background: var(--surface-soft); color: var(--ink); transition: background .16s ease, transform .16s ease, border-color .16s ease; }
.button:active { transform: translateY(1px); }
.button.primary { background: var(--ink); color: var(--bg); }
.button.primary:hover { opacity: .9; }
.button.secondary { background: var(--surface); border-color: var(--line); }
.button.secondary:hover { border-color: var(--accent); }
.button.ghost { background: transparent; border-color: var(--line); }
.button.ghost:hover { background: var(--surface-soft); }
.button.small { padding-inline: 14px; font-size: 13px; }
.button.icon-button, .icon-button { display: inline-grid; place-items: center; width: 48px; min-width: 48px; height: 48px; min-height: 48px; padding: 0; border-radius: 13px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.button svg { width: 18px; height: 18px; }

.hero { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 64px; padding-block: 76px 78px; }
.hero-copy { padding-block: 10px; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 650; font-size: 12px; letter-spacing: .035em; margin-bottom: 25px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-faint); }
h1 { font-size: clamp(44px, 5.2vw, 68px); letter-spacing: -.06em; line-height: 1.18; font-weight: 750; }
h1 em, h1 > span { color: var(--accent); font-style: normal; }
.hero-description { color: var(--muted); max-width: 480px; font-size: 15px; line-height: 1.9; margin-top: 25px; }
.hero-actions { display: flex; align-items: center; gap: 17px; flex-wrap: wrap; margin-top: 27px; }
.device-chips { display: flex; align-items: center; gap: 13px; flex-wrap: wrap; margin-top: 28px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: var(--muted); }
.device-chips .chip { padding: 4px 9px; border: 1px solid var(--line); border-radius: 6px; }
.chip svg { width: 14px; height: 14px; }

.hero-art { background: var(--accent-soft); color: #172a36; position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 410px; padding: 24px 26px; border-radius: 30px; overflow: hidden; }
.art-top, .art-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; z-index: 1; }
.art-top { font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.art-tag { padding: 5px 10px; border: 1px solid #172a3633; border-radius: 100px; font-size: 10px; letter-spacing: .03em; }
.orbit { position: relative; width: 270px; height: 270px; align-self: center; display: grid; place-items: center; }
.orbit-ring { width: 250px; height: 250px; border: 1px solid #172a362e; border-radius: 50%; position: absolute; }
.orbit-ring::after { content: ""; position: absolute; width: 188px; height: 188px; top: 30px; left: 30px; border: 1px solid #172a3626; border-radius: 50%; }
.orbit-ring:nth-child(2) { width: 188px; height: 188px; }
.orbit-center { width: 114px; height: 114px; border-radius: 50%; background: #172a36; color: #d7f9e4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; z-index: 2; font-size: 12px; font-weight: 650; box-shadow: 0 15px 28px #172a361c; transition: transform .18s ease; }
.orbit-center:hover { transform: scale(1.035); }
.orbit-center:active { transform: scale(.97); }
.orbit-center svg { width: 31px; height: 31px; }
.orbit-small { width: 44px; height: 44px; position: absolute; border-radius: 50%; background: #effff5; display: grid; place-items: center; box-shadow: 0 6px 16px #172a360e; }
.orbit-small { top: 16px; right: 42px; }
.orbit-small::before, .orbit-small::after { content: ""; position: absolute; width: 15px; height: 2px; background: #216649; border-radius: 2px; }
.orbit-small::after { transform: rotate(90deg); }
.orbit-small svg { width: 19px; height: 19px; }
.art-bottom { font-size: 12px; font-weight: 600; align-items: flex-end; }
.art-bottom span:last-child { font-size: 10px; color: #172a3699; }
.floating-note { position: absolute; left: 24px; bottom: 90px; background: #ffffffd9; padding: 9px 12px; border-radius: 10px; font-size: 10px; transform: rotate(-7deg); z-index: 3; }

.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 25px; }
.section-kicker { display: block; font-size: 10px; letter-spacing: .16em; color: var(--muted); font-weight: 650; margin-bottom: 7px; }
.section-heading p { color: var(--muted); font-size: 13px; margin-top: 8px; }
.progress-summary { min-width: 165px; flex: 0 0 auto; font-size: 12px; color: var(--muted); padding-bottom: 3px; }
.progress-summary strong { color: var(--ink); }
.progress-track { background: var(--line); height: 5px; border-radius: 100px; overflow: hidden; margin-top: 8px; }
.progress-fill { width: 0; height: 100%; border-radius: inherit; background: var(--accent); transition: width .25s ease; }
.lab-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.panel { min-width: 0; background: var(--surface); padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); }
.panel > h3 { margin-bottom: 7px; }
.panel-top { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.panel-top h3 { flex: 1; }
.panel-number { align-self: flex-start; font-size: 11px; color: var(--muted); line-height: 1.8; padding-top: 3px; font-variant-numeric: tabular-nums; }
.panel-icon { margin-left: auto; display: grid; place-items: center; width: 38px; height: 38px; background: var(--surface-soft); border-radius: 12px; color: var(--accent); }
.panel-icon svg { width: 19px; height: 19px; }
.panel-description { font-size: 13px; color: var(--muted); line-height: 1.8; margin-bottom: 22px; }
.button-row { display: flex; gap: 9px; flex-wrap: wrap; }
.tap-button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 74px; padding: 15px 19px; border-radius: 15px; background: var(--accent-faint); color: var(--accent); font-size: 14px; font-weight: 650; margin-bottom: 13px; transition: background .18s ease; }
.tap-button:hover { background: var(--accent-soft); color: #172a36; }
.tap-count { display: grid; place-items: center; min-width: 38px; height: 38px; border-radius: 12px; background: var(--surface); font-size: 21px; font-weight: 700; font-variant-numeric: tabular-nums; }
.inline-status { font-size: 12px; min-height: 19px; color: var(--muted); margin-top: 13px; }
.mini-label { color: var(--muted); font-size: 12px; }

.form-panel { grid-column: 2; grid-row: span 2; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; }
.field { min-width: 0; }
.field.full { grid-column: 1 / -1; }
label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
input:not([type="checkbox"]):not([type="range"]):not([type="file"]), select, textarea { display: block; width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 11px; background: var(--bg); padding: 11px 13px; font-size: 16px; font-weight: 400; outline-offset: 3px; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: .8; font-size: 14px; }
input[aria-invalid="true"] { border-color: var(--error); }
.field-error { display: block; font-size: 12px; color: var(--error); margin-top: 5px; }
.field-error:empty { display: none; }
.checkbox-row { display: flex; gap: 10px; align-items: center; min-height: 48px; margin-block: 15px; font-weight: 400; line-height: 1.5; }
.checkbox-row input { width: 19px; height: 19px; accent-color: var(--accent); margin: 0; flex-shrink: 0; }
form > .button { width: 100%; }
.form-result { padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px; color: var(--accent); background: var(--accent-faint); font-size: 13px; margin-top: 14px; overflow-wrap: anywhere; }
.form-result:empty { display: none; }

.control-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.control-row label { margin: 0; }
.control-row small { display: block; font-size: 11px; color: var(--muted); font-weight: 400; margin-top: 3px; }
.switch { width: 48px; height: 48px; position: relative; background: transparent; flex-shrink: 0; padding: 0; cursor: pointer; }
.switch input { position: absolute; inset: 0; width: 48px; height: 48px; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; width: 46px; height: 27px; background: var(--line); border-radius: 100px; top: 11px; left: 1px; transition: background .2s; }
.switch span::after { content: ""; position: absolute; width: 21px; height: 21px; border-radius: 50%; background: #ffffff; top: 3px; left: 3px; box-shadow: 0 2px 4px #0000001a; transition: transform .2s; }
.switch input:checked + span { background: var(--accent); }
.switch input:checked + span::after { transform: translateX(19px); }
.switch input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 4px; }
.segment { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3px; padding: 4px; border-radius: 13px; background: var(--surface-soft); min-width: 164px; }
.segment-button { border-radius: 9px; min-height: 48px; font-size: 13px; background: transparent; color: var(--muted); }
.segment-button[aria-pressed="true"], .segment-button[aria-selected="true"], .segment-button.active { background: var(--surface); color: var(--ink); box-shadow: 0 2px 6px #172a360a; font-weight: 650; }
.range-label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; font-size: 13px; }
.range-label output { font-size: 12px; color: var(--accent); font-variant-numeric: tabular-nums; }
input[type="range"] { width: 100%; min-height: 40px; accent-color: var(--accent); cursor: pointer; margin: 0; }
.range-preview { display: flex; align-items: center; justify-content: center; gap: 25px; background: var(--bg); min-height: 118px; border-radius: 13px; margin-top: 8px; }
.range-preview > span { font-size: 11px; color: var(--muted); }
.range-orb { width: 56px; height: 56px; flex-shrink: 0; border-radius: 50%; background: var(--accent-soft); border: 1px solid var(--accent); box-shadow: 0 0 28px #b5ebcf85; transition: width .14s ease, height .14s ease; }
.range-orb.no-glow { box-shadow: none; }

.carousel { display: flex; overflow-x: auto; overflow-y: hidden; position: relative; border-radius: 16px; touch-action: pan-x pan-y; user-select: none; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.carousel::-webkit-scrollbar { display: none; }
.slide { position: relative; min-width: 0; flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; min-height: 209px; padding: 25px; display: flex; flex-direction: column; justify-content: flex-end; color: #172a36; overflow: hidden; }
.slide.mint { background: #d9f1e2; }
.slide.blue { background: #dbe9f4; }
.slide.peach { background: #f7e2cf; }
.slide-number { font-size: 11px; letter-spacing: .1em; opacity: .6; margin-bottom: auto; padding-bottom: 22px; }
.slide-title { font-size: 24px; font-weight: 700; letter-spacing: -.04em; }
.slide-caption { font-size: 12px; opacity: .7; margin-top: 5px; }
.slide-art { position: absolute; top: 45px; right: 34px; width: 110px; height: 110px; border: 1px solid #172a363b; border-radius: 50%; }
.slide-art::before { content: ""; position: absolute; inset: 18px; border: 1px solid #172a363b; border-radius: 50%; }
.slide-art::after { content: ""; position: absolute; width: 35px; height: 35px; background: #ffffffaa; border-radius: 50%; top: -7px; right: -7px; }
.blue .slide-art { border-radius: 26px; transform: rotate(20deg); }
.blue .slide-art::before { border-radius: 16px; }
.peach .slide-art { border-radius: 55px 55px 15px 15px; }
.peach .slide-art::before { border-radius: 40px 40px 10px 10px; }
.carousel-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 11px; }
.carousel-toolbar > div:last-child { display: flex; gap: 7px; }
.dots { display: flex; align-items: center; gap: 2px; }
.dot { display: block; width: 14px; height: 12px; border-radius: 6px; background: transparent; position: relative; }
.dot::after { content: ""; position: absolute; width: 5px; height: 5px; border-radius: 100px; background: var(--line); top: 4px; left: 4px; transition: background .15s; }
.dot[aria-current="true"]::after, .dot.active::after { background: var(--accent); width: 12px; left: 0; }

.drag-zone { position: relative; height: 180px; border-radius: 16px; background: var(--bg); overflow: hidden; border: 1px solid var(--line); }
.drag-grid { position: absolute; inset: 0; background-image: radial-gradient(var(--line) 1px, transparent 1px); background-size: 18px 18px; }
.drag-puck { position: absolute; top: 0; left: 0; width: 80px; height: 80px; border-radius: 23px; background: var(--accent-soft); color: #172a36; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 11px; font-weight: 650; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; box-shadow: 0 5px 14px #172a3612; }
.drag-puck:active { cursor: grabbing; }
.drag-puck svg { width: 21px; height: 21px; }
.drag-readout { flex-shrink: 0; font-size: 10px; color: var(--muted); font-variant-numeric: tabular-nums; pointer-events: none; }
.drag-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.drag-actions .button-row { gap: 5px; }
.drag-actions .icon-button { flex: 0 0 48px; }
.drag-actions > span { font-size: 11px; color: var(--muted); }

.upload-zone { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 160px; text-align: center; border: 1px dashed var(--line); border-radius: 16px; background: var(--bg); padding: 24px; cursor: pointer; }
.upload-zone:hover, .upload-zone.is-dragover { border-color: var(--accent); background: var(--accent-faint); }
.upload-symbol { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--surface); color: var(--accent); margin-bottom: 12px; }
.upload-symbol svg { width: 20px; height: 20px; }
.upload-title { font-size: 13px; font-weight: 650; }
.upload-hint { font-size: 11px; color: var(--muted); margin-top: 5px; font-weight: 400; }
.file-input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-zone:focus-within { outline: 3px solid var(--accent); outline-offset: 4px; }
.upload-preview { display: flex; align-items: center; gap: 12px; margin-top: 13px; border-radius: 12px; border: 1px solid var(--line); padding: 10px; }
.upload-preview img { width: 58px; height: 58px; border-radius: 8px; object-fit: cover; }
.file-meta { min-width: 0; flex: 1; font-size: 12px; overflow-wrap: anywhere; }
.file-meta strong { display: block; font-size: 12px; }
.file-meta span { display: block; color: var(--muted); font-size: 11px; margin-top: 3px; }

.device-section { margin-top: 64px; }
.environment-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.environment-item { min-width: 0; background: var(--surface); padding: 22px; }
.env-label { font-size: 11px; color: var(--muted); margin-bottom: 6px; display: block; }
.env-value { font-size: 14px; font-weight: 650; overflow-wrap: anywhere; }
details { margin-top: 20px; padding: 3px 20px; border: 1px solid var(--line); border-radius: 15px; }
summary { cursor: pointer; font-size: 13px; font-weight: 550; min-height: 52px; padding-block: 16px; }
summary > span { float: right; color: var(--muted); }
summary::marker { color: var(--accent); }
.faq-content { color: var(--muted); font-size: 12px; line-height: 1.9; padding-block: 0 17px; }
.faq-content p + p { margin-top: 6px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 28px calc(28px + env(safe-area-inset-bottom)); margin-top: 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.site-footer a { min-height: 48px; display: inline-flex; align-items: center; color: var(--ink); }

dialog { background: var(--surface); color: var(--ink); padding: 0; width: min(430px, calc(100% - 40px)); max-height: min(640px, calc(100dvh - 48px)); overflow-y: auto; overscroll-behavior: contain; border-radius: 25px; box-shadow: 0 24px 96px #00000030; }
dialog::backdrop { background: #13272088; backdrop-filter: blur(4px); }
.dialog-content { padding: 30px; }
.dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.dialog-heading h2 { font-size: 24px; }
.dialog-close { float: right; display: grid; place-items: center; min-width: 48px; height: 48px; border-radius: 12px; background: var(--surface-soft); margin-top: -8px; margin-right: -8px; }
.dialog-content p { color: var(--muted); font-size: 14px; line-height: 1.8; margin-top: 12px; }
.dialog-content > input { margin-top: 18px; }
.dialog-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 17px; background: var(--accent-faint); color: var(--accent); margin-bottom: 22px; }
.dialog-icon svg { width: 27px; height: 27px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 25px; }
.dialog-success { color: var(--accent); font-size: 13px; margin-top: 15px; }
.toast-region { position: fixed; right: max(24px, env(safe-area-inset-right)); bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 50; display: grid; gap: 10px; max-width: min(400px, calc(100% - 32px)); pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; padding: 15px 18px; border-radius: 14px; color: var(--bg); background: var(--ink); font-size: 13px; box-shadow: var(--shadow); animation: toast-in .18s ease-out; overflow-wrap: anywhere; }
.toast svg { width: 19px; height: 19px; color: var(--accent-soft); }
.toast.error { background: #883b34; color: #fff; }
@keyframes toast-in { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }

@media (hover: none) {
  .button:hover, .orbit-center:hover { transform: none; }
}

@media (max-width: 1020px) {
  .hero { gap: 34px; padding-block: 56px; }
  h1 { font-size: 50px; }
  .hero-art { min-height: 370px; padding: 22px; }
  .panel { padding: 24px; }
  .button-row .button { flex: 1; padding-inline: 10px; }
  .environment-item { padding: 19px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 24px; }
  .shell, .header-inner { width: calc(100% - 40px); }
  .header-inner { min-height: 78px; gap: 16px; flex-wrap: wrap; padding-block: 12px; }
  .brand { gap: 9px; }
  .brand-name { font-size: 15px; }
  .brand-kicker { font-size: 9px; letter-spacing: .08em; }
  .brand-mark { width: 37px; height: 37px; border-radius: 12px; }
  nav { order: 3; width: 100%; gap: 23px; border-top: 1px solid var(--line); padding-top: 5px; }
  .nav-link { min-height: 48px; font-size: 12px; }
  .header-action { margin-left: auto; }
  .header-action { min-height: 48px; padding: 10px 12px; font-size: 12px; }
  .hero { grid-template-columns: 1fr; gap: 29px; padding-block: 36px 46px; }
  .hero-copy { padding: 0; }
  .eyebrow { margin-bottom: 18px; font-size: 11px; }
  h1 { font-size: clamp(38px, 8.7vw, 55px); letter-spacing: -.045em; }
  .hero-description { font-size: 14px; line-height: 1.8; margin-top: 18px; max-width: 520px; }
  .hero-actions { margin-top: 22px; }
  .hero-actions .button { padding-inline: 17px; }
  .device-chips { margin-top: 20px; gap: 14px; }
  .hero-art { min-height: 265px; border-radius: 22px; padding: 20px; }
  .orbit { width: 190px; height: 172px; }
  .orbit-ring { width: 180px; height: 180px; }
  .orbit-ring::after { width: 136px; height: 136px; top: 21px; left: 21px; }
  .orbit-ring:nth-child(2) { width: 136px; height: 136px; }
  .orbit-center { width: 87px; height: 87px; font-size: 10px; gap: 6px; }
  .orbit-center svg { width: 25px; height: 25px; }
  .orbit-small { width: 34px; height: 34px; }
  .orbit-small { top: 0; right: 25px; }
  .orbit-small svg { width: 16px; height: 16px; }
  .floating-note { bottom: 75px; left: 20px; padding: 8px 10px; font-size: 9px; }
  .art-top { font-size: 9px; }
  .art-bottom { font-size: 10px; }
  .art-bottom span:last-child { font-size: 9px; }
  .section-heading { align-items: flex-start; gap: 20px; margin-bottom: 19px; }
  h2 { font-size: 25px; }
  .section-heading p { max-width: 210px; font-size: 12px; }
  .progress-summary { min-width: 98px; font-size: 10px; padding-top: 15px; }
  .lab-grid { grid-template-columns: 1fr; gap: 16px; }
  .form-panel { grid-column: auto; grid-row: auto; }
  .panel { padding: 23px; border-radius: 21px; }
  .panel-top h3 { font-size: 20px; }
  .panel > h3 { font-size: 20px; }
  .panel-description { margin-bottom: 19px; font-size: 12px; }
  .form-grid { gap: 16px 12px; }
  .slide-art { right: 25px; width: 86px; height: 86px; }
  .site-footer { flex-wrap: wrap; }
  .site-footer > span:nth-child(2) { order: 3; width: 100%; }
  .site-footer > a { margin-left: auto; }
  .environment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 18px; }
  .environment-item { padding: 18px; }
  .device-section { margin-top: 44px; }
  .env-value { font-size: 13px; }
  .site-footer { margin-top: 26px; padding-top: 22px; align-items: flex-start; font-size: 10px; }
  .site-footer a { min-height: 35px; margin-top: -8px; white-space: nowrap; }
  .toast-region { right: 16px; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); width: auto; max-width: none; }
  .toast { justify-content: center; }
  dialog { width: calc(100% - 24px); max-height: calc(100dvh - 60px); margin: auto auto 12px; border-radius: 24px; }
  .dialog-content { padding: 25px 24px calc(25px + env(safe-area-inset-bottom)); }
}

@media (max-width: 370px) {
  .shell, .header-inner { width: calc(100% - 28px); }
  .panel { padding: 20px; }
  .hero-actions { gap: 8px; }
  .hero-actions .button { padding-inline: 13px; font-size: 13px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .button-row { gap: 7px; }
  .button-row .button { font-size: 12px; }
  .floating-note { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
