/* Resolve Telemetry Overlay — neumorphic soft UI
   One matte surface, top-left light, bottom-right shade. */
:root {
  --bg: #e0e5ec;
  --surface: #e0e5ec;
  --surface-deep: #d8dee7;
  --text: #344052;
  --text-strong: #202a3a;
  --muted: #5a6678;
  --accent: #365f90;
  --accent-hover: #2d507c;
  --accent-soft: #cbd9e9;
  --success: #37795a;
  --danger: #a34e55;
  --warning: #8a681c;
  --light: rgba(255, 255, 255, 0.86);
  --shade: rgba(155, 169, 190, 0.62);
  --shadow-raised: -10px -10px 22px var(--light), 10px 10px 22px var(--shade);
  --shadow-soft: -5px -5px 11px rgba(255, 255, 255, 0.82), 5px 5px 11px rgba(155, 169, 190, 0.58);
  --shadow-hover: -7px -7px 15px rgba(255, 255, 255, 0.9), 7px 7px 15px rgba(155, 169, 190, 0.66);
  --shadow-inset: inset -5px -5px 10px rgba(255, 255, 255, 0.76), inset 5px 5px 10px rgba(155, 169, 190, 0.55);
  --shadow-pressed: inset -3px -3px 7px rgba(255, 255, 255, 0.72), inset 3px 3px 7px rgba(155, 169, 190, 0.62);
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --r-xl: 32px;
  --r-card: 24px;
  --r-ctl: 14px;
  --shell: min(1160px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: light; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Avenir Next", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, select { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }
.shell { width: var(--shell); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
::selection { background: var(--accent); color: #fff; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(224, 229, 236, 0.9);
  box-shadow: 0 8px 18px rgba(155, 169, 190, 0.24);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.header-inner {
  width: var(--shell);
  min-height: 68px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  color: var(--text-strong);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.17em;
}
.header-brand { display: flex; align-items: center; gap: 10px; }
.brand-product {
  max-width: 132px;
  padding-left: 10px;
  border-left: 1px solid rgba(104, 116, 135, 0.38);
  color: var(--accent);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.15;
}
.site-header nav { display: flex; align-items: center; gap: 22px; font-size: 13px; }
.site-header nav a:not(.nav-cta) { color: var(--muted); font-weight: 600; transition: color 0.2s; }
.site-header nav a:not(.nav-cta):hover { color: var(--accent); }
.nav-cta,
.button.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: -4px -4px 9px rgba(255, 255, 255, 0.72), 5px 5px 12px rgba(114, 132, 158, 0.58);
}
.nav-cta {
  padding: 10px 19px;
  border-radius: var(--r-ctl);
  font-weight: 700;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}
.nav-cta:hover { background: var(--accent-hover); box-shadow: var(--shadow-hover); }
.lang-switch,
.currency-switch {
  appearance: none;
  -webkit-appearance: none;
  color: var(--text);
  background-color: var(--surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath d='m5 7 4 4 4-4' fill='none' stroke='%23687487' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  border: 0;
  box-shadow: var(--shadow-inset);
  cursor: pointer;
}
.lang-switch {
  min-height: 38px;
  padding: 0 34px 0 13px;
  background-position: right 10px center;
  border-radius: 12px;
  font-size: 12px;
}

/* ---------- typography ---------- */
html[lang="en"] body { font-family: "Avenir Next", system-ui, -apple-system, "Segoe UI", sans-serif; }
html[lang="ja"] body { font-family: "Avenir Next", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif; }
html[lang="zh-TW"] body { font-family: "Avenir Next", "PingFang TC", "Noto Sans TC", system-ui, sans-serif; }
h1, h2, h3 { color: var(--text-strong); text-wrap: balance; }
h1 {
  margin: 0;
  font-size: clamp(38px, 4.5vw, 62px);
  line-height: 1.13;
  font-weight: 750;
  letter-spacing: -0.045em;
}
h1 em { color: var(--accent); font-style: normal; }
h2 {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.2;
  font-weight: 750;
  letter-spacing: -0.035em;
}
html[lang="ja"] h1 { font-size: clamp(34px, 4vw, 54px); }
.eyebrow,
.price-tag {
  margin: 0 0 18px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero .eyebrow {
  padding-left: 12px;
  color: var(--text-strong);
  border-left: 4px solid var(--accent);
  font-family: "Avenir Next", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: none;
}

/* ---------- buttons ---------- */
.button {
  min-height: 50px;
  padding: 0 25px;
  border: 0;
  border-radius: var(--r-ctl);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.15s;
}
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button:active:not(:disabled),
.nav-cta:active { transform: translateY(1px) scale(0.99); box-shadow: var(--shadow-pressed); }
.button.primary:hover:not(:disabled) { background: var(--accent-hover); }
.button.ghost {
  background: var(--surface);
  color: var(--text-strong);
  box-shadow: var(--shadow-soft);
}
.button.ghost:hover:not(:disabled) { color: var(--accent); box-shadow: var(--shadow-hover); }
.button:disabled {
  cursor: not-allowed;
  color: #8b95a4;
  background: var(--surface-deep);
  box-shadow: var(--shadow-inset);
  transform: none;
}
.button.danger { color: var(--danger); }
.button.danger:hover:not(:disabled) { color: #8c3941; }

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(340px, 0.76fr);
  gap: 28px;
  align-items: center;
  padding-block: 44px 36px;
}
.hero-copy { grid-column: 2; grid-row: 1; }
.hero .price-card { grid-column: 2; grid-row: 2; }
.hero-stage {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: stretch;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.hero h1 { font-size: clamp(36px, 3.35vw, 50px); }
html[lang^="zh"] .hero h1 { font-size: clamp(34px, 2.7vw, 38px); }
.hero-lead {
  max-width: 440px;
  margin: 22px 0 16px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.75;
  text-wrap: pretty;
}
.activity-types {
  max-width: 440px;
  margin: 0 0 28px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.75;
  letter-spacing: 0;
  text-wrap: pretty;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-visual {
  flex: 1;
  min-height: 430px;
  position: relative;
  margin: 0;
  padding: 13px;
  background: var(--surface);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-raised);
}
.hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 45%;
  border-radius: 22px;
  filter: saturate(0.8) contrast(0.96);
  transition: opacity 0.22s ease, transform 0.45s ease;
}
.hero-visual.is-changing img { opacity: 0; transform: scale(1.012); }
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 13px;
  border-radius: 22px;
  box-shadow: inset 4px 4px 12px rgba(31, 45, 63, 0.38), inset -3px -3px 8px rgba(255, 255, 255, 0.2);
  pointer-events: none;
}
.metric,
.route-card {
  position: absolute;
  z-index: 1;
  background: var(--surface);
  color: var(--text);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}
.metric { width: 122px; padding: 13px 15px; }
.metric small { display: block; margin-bottom: 4px; color: var(--muted); font-size: 11px; }
.metric b { color: var(--text-strong); font-family: var(--mono); font-size: 23px; font-weight: 650; margin-right: 5px; }
.metric span { color: var(--accent); font-family: var(--mono); font-size: 10px; }
.m-speed { top: 8%; left: 2%; }
.m-power { top: 31%; right: -2%; }
.m-heart { bottom: 15%; left: 6%; }
.route-card { right: 6%; bottom: 5%; width: 170px; padding: 13px 15px; }
.route-card span { color: var(--accent); font-family: var(--mono); font-size: 11px; }
.route-card svg { display: block; width: 100%; height: 58px; margin-top: 4px; }
.route-card path { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; }
.scene-switch {
  position: absolute;
  z-index: 3;
  top: 22px;
  left: 50%;
  display: flex;
  gap: 3px;
  padding: 4px;
  background: rgba(224, 229, 236, 0.9);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  transform: translateX(-50%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.scene-switch button {
  min-height: 28px;
  padding: 0 9px;
  border: 0;
  border-radius: 9px;
  color: var(--muted);
  background: transparent;
  font: 700 10px/1 "Avenir Next", system-ui, sans-serif;
  white-space: nowrap;
  cursor: pointer;
}
.scene-switch button:hover { color: var(--accent); }
.scene-switch button.is-active { color: #fff; background: var(--accent); }

/* ---------- hero highlights ---------- */
.hero-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.hero-highlights > div { padding: 14px 16px; border-radius: 15px; box-shadow: var(--shadow-soft); }
.hero-highlights strong { display: block; color: var(--text-strong); font-size: 14px; margin-bottom: 5px; }
.hero-highlights span { color: var(--muted); font-size: 12px; line-height: 1.55; }

/* ---------- sections ---------- */
.section-head { max-width: 680px; margin-bottom: 30px; }
.section-head p,
.buy-copy > p:not(.eyebrow),
.manage-copy p {
  max-width: 640px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
  text-wrap: pretty;
}
.feature-section { padding-block: 40px 40px; }
.bento { display: grid; grid-template-columns: 1.3fr 0.85fr 0.85fr; gap: 20px; align-items: stretch; }
.cell,
.price-card,
.manage-card {
  background: var(--surface);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-raised);
}
.cell { padding: 28px; transition: box-shadow 0.25s, transform 0.25s; }
.cell:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.cell h3 { margin: 0 0 12px; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.cell p { max-width: 430px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.cell-wide { display: flex; flex-direction: column; gap: 24px; }
.cell-accent { position: relative; overflow: hidden; }
.cell-accent::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -80px;
  top: -90px;
  border-radius: 50%;
  box-shadow: var(--shadow-inset);
  opacity: 0.65;
}
.gauge-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: auto; }
.gauge-grid span { padding: 14px 16px; border-radius: 14px; box-shadow: var(--shadow-inset); }
.gauge-grid small { display: block; color: var(--muted); font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; }
.gauge-grid b { display: block; margin-top: 8px; color: var(--text-strong); font-family: var(--mono); font-size: 20px; font-weight: 650; }
.gauge-grid .lit { background: var(--accent-soft); }
.gauge-grid .lit b { color: #294e7b; }
.ring {
  position: relative;
  width: 136px;
  height: 136px;
  margin: 28px auto 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: var(--shadow-raised);
}
.ring i {
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  background: conic-gradient(from 210deg, var(--accent) 0 62%, var(--surface-deep) 62% 100%);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 11px), #000 calc(100% - 10px));
  mask: radial-gradient(closest-side, transparent calc(100% - 11px), #000 calc(100% - 10px));
}
.ring b { color: var(--text-strong); font-family: var(--mono); font-size: 30px; font-weight: 650; }
.ring small { color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: 0.16em; }

/* ---------- product + in Resolve ---------- */
.product-overview {
  margin-block: 12px 56px;
  padding: 46px 54px;
  background: var(--surface);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-raised);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  align-items: center;
  gap: clamp(36px, 6vw, 76px);
}
.product-overview-copy h2 { margin: 0; max-width: 650px; }
.product-overview-copy > p:not(.eyebrow) { max-width: 570px; margin: 24px 0 0; color: var(--muted); font-size: 17px; line-height: 1.85; }
.gauge-tags {
  list-style: none;
  max-width: 570px;
  margin: 30px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.gauge-tags li {
  padding: 10px 16px;
  border-radius: 12px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
}
.product-box-visual,
.resolve-showcase { margin: 0; }
.product-box-visual { width: 100%; max-width: 300px; justify-self: center; }
.product-box-visual img,
.resolve-showcase img { display: block; width: 100%; height: auto; }
.product-box-visual img { border-radius: 18px; box-shadow: 0 18px 44px rgba(20, 32, 48, .26); }
.product-box-visual figcaption,
.resolve-showcase figcaption { margin-top: 13px; color: var(--muted); font-size: 12px; line-height: 1.6; text-align: center; }
.resolve-section { padding-block: 12px 52px; }
.resolve-showcase img { overflow: hidden; background: #0b0e11; border-radius: 18px; box-shadow: 0 24px 64px rgba(20, 32, 48, .22); }

/* ---------- workflow ---------- */
.workflow { padding-block: 8px 48px; }
.steps {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.steps li { min-height: 180px; padding: 24px; border-radius: 20px; box-shadow: var(--shadow-soft); }
.steps li > b {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  border-radius: 50%;
  box-shadow: var(--shadow-inset);
}
.steps h3 { margin: 21px 0 9px; font-size: 19px; }
.steps p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }

/* ---------- purchase ---------- */
.price-card { padding: 30px 28px; scroll-margin-top: 96px; }
.early-bird { display: flex; align-items: center; gap: 10px; margin-top: 17px; }
.early-bird span { padding: 5px 9px; border-radius: 999px; color: #fff; background: var(--accent); font-size: 12px; font-weight: 750; }
.early-bird del { color: var(--muted); font-size: 14px; }
.price { margin: 17px 0 9px; color: var(--text-strong); font-size: 23px; font-weight: 750; line-height: 1.45; }
.early-bird:not([hidden]) + .price { margin-top: 8px; }
.currency-label { display: block; margin: 17px 0 9px; color: var(--muted); font-size: 12px; font-weight: 700; }
.currency-switch {
  width: 100%;
  min-height: 48px;
  padding: 0 46px 0 16px;
  background-position: right 15px center;
  background-size: 18px;
  border-radius: var(--r-ctl);
}
.price-sub { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.purchase-button { width: 100%; margin-top: 24px; }
.turnstile-slot { width: 100%; min-height: 65px; margin-top: 20px; }
.turnstile-slot[hidden] { display: none; }
.turnstile-slot + .purchase-button { margin-top: 15px; }
.purchase-note { margin: 16px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; text-align: center; }
.purchase-consent { margin: 10px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; text-align: center; }
.purchase-consent a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.license-result { margin-top: 24px; padding: 19px; color: var(--success); border-radius: 16px; box-shadow: var(--shadow-inset); }
.license-result p { margin: 8px 0 12px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.license-result code {
  display: block;
  padding: 13px;
  color: var(--text-strong);
  font-size: 13px;
  word-break: break-all;
  border-radius: 11px;
  box-shadow: var(--shadow-pressed);
}
.copy-button {
  width: 100%;
  min-height: 42px;
  margin-top: 11px;
  color: var(--success);
  background: var(--surface);
  border: 0;
  border-radius: 11px;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}
.copy-button:active { box-shadow: var(--shadow-pressed); }
.download-button { display: flex; width: 100%; margin-top: 11px; }

/* ---------- license management ---------- */
.manage-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 74px;
  align-items: center;
  padding-block: 10px 72px;
}
.manage-card { padding: 34px; }
.manage-card label { display: block; margin-bottom: 11px; color: var(--text-strong); font-size: 13px; font-weight: 700; }
.manage-card input {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  color: var(--text-strong);
  background: var(--surface);
  border: 0;
  border-radius: var(--r-ctl);
  box-shadow: var(--shadow-inset);
}
.manage-card input::placeholder { color: #8993a2; }
.manage-actions { display: flex; gap: 12px; margin-top: 16px; }
.manage-card .turnstile-slot { margin-top: 15px; }
.manage-actions .button { flex: 1; }
.manage-card strong { color: var(--text-strong); font-size: 15px; }
.manage-card p { color: var(--muted); font-size: 13px; line-height: 1.65; }
.manage-note { margin: 18px 0 0; }
.manage-note[data-state] { position: relative; min-height: 54px; padding: 15px 16px 15px 54px; border-radius: 15px; font-weight: 650; box-shadow: var(--shadow-inset); }
.manage-note[data-state]::before {
  position: absolute;
  left: 17px;
  top: 50%;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: var(--shadow-soft);
  font-size: 13px;
  font-weight: 800;
}
.manage-note[data-state="success"] { color: var(--success); }
.manage-note[data-state="success"]::before { content: "✓"; }
.manage-note[data-state="error"] { color: var(--danger); }
.manage-note[data-state="error"]::before { content: "!"; }
.button.primary:disabled[data-state="success"] { color: var(--success); background: var(--surface); }
.reset-page main { min-height: calc(100dvh - 230px); }
.reset-page .manage-section { padding-block: 110px; }
.reset-page .manage-copy h1 { font-size: clamp(36px, 4.2vw, 54px); }

/* ---------- FAQ ---------- */
.faq-section { max-width: 860px; padding-block: 8px 60px; }
.faq-list { margin-top: 40px; display: grid; gap: 16px; }
details { padding: 22px 25px; border-radius: 18px; box-shadow: var(--shadow-soft); transition: box-shadow 0.2s; }
details[open] { box-shadow: var(--shadow-inset); }
summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-strong);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--accent);
  border-radius: 50%;
  box-shadow: var(--shadow-soft);
  font-size: 18px;
  font-weight: 500;
}
details[open] summary::after { content: "−"; box-shadow: var(--shadow-pressed); }
details p { margin: 16px 36px 0 0; color: var(--muted); font-size: 14px; line-height: 1.85; }
.faq-list p a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- user guide ---------- */
.guide-page { padding-block: 92px 130px; }
.guide-hero { max-width: 780px; margin-bottom: 72px; }
.guide-hero h1 { font-size: clamp(38px, 5.2vw, 66px); }
.guide-hero > p:last-child { max-width: 66ch; margin: 24px 0 0; color: var(--muted); font-size: 17px; line-height: 1.85; }
.guide-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; align-items: start; }
.guide-toc { position: sticky; top: 102px; }
.guide-toc nav { padding: 24px 20px; border-radius: 20px; box-shadow: var(--shadow-inset); }
.guide-toc strong { display: block; margin: 0 8px 16px; color: var(--text-strong); font-size: 13px; letter-spacing: 0.08em; }
.guide-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.guide-toc a {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 7px;
  padding: 8px;
  color: var(--muted);
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.4;
  transition: color 0.2s, background 0.2s;
}
.guide-toc a:hover { color: var(--accent); background: rgba(255, 255, 255, 0.34); }
.guide-toc a span { color: var(--accent); font-family: var(--mono); font-size: 10px; padding-top: 2px; }
.guide-document { min-width: 0; padding: 8px 48px 56px; border-radius: var(--r-xl); box-shadow: var(--shadow-raised); }
.guide-chapter { padding-block: 48px 54px; scroll-margin-top: 96px; }
.guide-chapter + .guide-chapter { box-shadow: inset 0 1px rgba(255, 255, 255, 0.78); }
.guide-chapter h2 { display: flex; gap: 16px; align-items: baseline; font-size: clamp(23px, 2.5vw, 31px); }
.guide-chapter h2 span { flex: 0 0 auto; color: var(--accent); font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; }
.guide-chapter p,
.guide-chapter li { color: var(--muted); font-size: 15px; line-height: 1.85; }
.guide-chapter p { margin: 20px 0 0; }
.guide-chapter ul,
.guide-chapter ol { margin: 20px 0 0; padding-left: 24px; display: grid; gap: 9px; }
.guide-chapter h4 { margin: 30px 0 0; color: var(--text-strong); font-size: 16px; }
.guide-chapter a,
.guide-support a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.guide-chapter code { padding: 2px 7px; color: var(--text-strong); font-family: var(--mono); font-size: 12px; border-radius: 7px; box-shadow: var(--shadow-pressed); }
.guide-support { margin-top: 12px; padding: 30px; border-radius: 18px; box-shadow: var(--shadow-inset); }
.guide-support h2 { font-size: 22px; }
.guide-support p { margin: 12px 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.guide-table-wrap { margin: 17px 0 0; overflow-x: auto; border-radius: 14px; box-shadow: var(--shadow-inset); }
.guide-table { width: 100%; border-collapse: collapse; color: var(--muted); font-size: 13px; line-height: 1.7; }
.guide-table th,
.guide-table td { padding: 12px 16px; text-align: left; vertical-align: top; }
.guide-table tr + tr { box-shadow: inset 0 1px rgba(155, 169, 190, 0.32); }
.guide-table th { color: var(--text-strong); font-weight: 700; white-space: nowrap; }
.guide-table td:first-child { min-width: 210px; color: var(--text-strong); font-family: var(--mono); font-size: 12px; }

/* ---------- footer and banners ---------- */
footer { box-shadow: inset 0 9px 18px -18px rgba(92, 108, 132, 0.95); }
.footer-inner { padding: 50px 0 36px; display: grid; grid-template-columns: 1fr auto; gap: 28px; color: var(--muted); font-size: 13px; }
.footer-brand p { margin: 12px 0 0; line-height: 1.6; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; align-items: start; }
.footer-links a { transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.disclaimer { grid-column: 1 / -1; margin: 0; padding-top: 25px; color: #7a8596; font-size: 12px; line-height: 1.7; box-shadow: inset 0 1px rgba(255, 255, 255, 0.6); }
.sandbox-banner { padding: 10px 20px; color: var(--warning); background: #e4e1d6; box-shadow: var(--shadow-inset); text-align: center; font-size: 13px; font-weight: 700; }

/* ---------- legal ---------- */
.legal {
  max-width: 820px;
  margin: 76px auto 120px;
  padding: 52px 58px 64px;
  background: var(--surface);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-raised);
}
.legal h1 { margin: 0 0 10px; font-size: clamp(32px, 4vw, 44px); }
.legal h2 { margin: 42px 0 0; font-size: 20px; letter-spacing: -0.02em; }
.legal p,
.legal li { color: var(--muted); font-size: 15px; line-height: 1.9; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal .back { display: inline-block; margin-bottom: 38px; padding: 10px 14px; color: var(--accent); font-weight: 700; text-decoration: none; border-radius: 12px; box-shadow: var(--shadow-soft); }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { opacity: 0; transform: translateY(14px); animation: rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
  .hero-copy > :nth-child(2) { animation-delay: 0.07s; }
  .hero-copy > :nth-child(3) { animation-delay: 0.14s; }
  .hero-copy > :nth-child(4) { animation-delay: 0.21s; }
  .hero-copy > :nth-child(5) { animation-delay: 0.28s; }
  .hero-visual,
  .hero-highlights { opacity: 0; animation: fade 0.9s 0.15s ease forwards; }
  .hero-highlights { animation-delay: 0.3s; }
  .metric,
  .route-card { opacity: 0; animation: rise 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
  .m-speed { animation-delay: 0.55s; }
  .m-power { animation-delay: 0.67s; }
  .m-heart { animation-delay: 0.79s; }
  .route-card { animation-delay: 0.91s; }
  .route-card path { stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1.5s 1.05s ease forwards; }
}
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
@keyframes fade { to { opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  :root { --shell: min(calc(100% - 36px), 700px); }
  .site-header nav { gap: 13px; }
  .site-header nav a:not(.nav-cta) { display: none; }
  .site-header nav .license-reset-link { display: block; }
  .reset-page .site-header nav a:not(.nav-cta) { display: block; }
  .guide-page-body .site-header nav a:not(.nav-cta) { display: block; }
  .hero { grid-template-columns: 1fr; gap: 36px; padding-block: 44px 44px; }
  .hero-stage { display: contents; }
  .hero-copy,
  .hero-visual,
  .hero-highlights,
  .hero .price-card { grid-column: auto; grid-row: auto; }
  .hero .price-card { order: 2; width: 100%; max-width: 460px; justify-self: start; }
  .hero-visual { order: 3; flex: none; min-height: 0; }
  .hero-visual img { height: auto; aspect-ratio: 16 / 10; object-position: 60% 45%; }
  .hero-highlights { order: 4; gap: 24px; }
  .m-speed { left: 3%; }
  .m-power { right: 3%; }
  .bento { grid-template-columns: 1fr; }
  .cell-wide { gap: 24px; }
  .product-overview { grid-template-columns: 1fr; gap: 34px; padding: 36px 34px; }
  .product-box-visual { max-width: 250px; }
  .steps { grid-template-columns: 1fr; }
  .steps li { min-height: 0; }
  .manage-section { grid-template-columns: 1fr; gap: 42px; }
  .guide-layout { grid-template-columns: 1fr; }
  .guide-toc { position: static; }
  .guide-toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 12px; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  :root { --shell: min(calc(100% - 28px), 520px); --r-xl: 24px; --r-card: 20px; }
  .header-inner { min-height: 66px; gap: 12px; }
  .site-header nav { gap: 9px; }
  .site-header nav .license-reset-link { display: none; }
  .site-header .nav-cta { display: none; }
  .reset-page .site-header nav a:not(.nav-cta) { display: none; }
  .guide-page-body .site-header nav a:not(.nav-cta) { display: none; }
  .nav-cta { padding-inline: 13px; }
  .lang-switch { max-width: 84px; }
  h1 { font-size: clamp(34px, 11vw, 46px); }
  h1 br { display: none; }
  .hero h1 br { display: block; }
  .hero { gap: 32px; padding-block: 36px 40px; }
  .hero-visual { padding: 9px; }
  .hero-visual::after { inset: 9px; }
  .scene-switch { top: 19px; }
  .scene-switch button { padding-inline: 8px; font-size: 9px; }
  .metric { width: 105px; padding: 10px 12px; }
  .metric b { font-size: 19px; }
  .route-card { width: 145px; }
  .hero-highlights { grid-template-columns: 1fr; gap: 18px; }
  .feature-section { padding-block: 36px 36px; }
  .product-overview { margin-block: 2px 46px; padding: 28px 22px; }
  .gauge-tags { gap: 9px; }
  .gauge-tags li { padding: 8px 13px; font-size: 12px; }
  .product-box-visual { max-width: 300px; }
  .resolve-section { padding-bottom: 44px; }
  .resolve-showcase img { border-radius: 12px; }
  .workflow { padding-block: 4px 44px; }
  .manage-section { padding-bottom: 64px; }
  .faq-section { padding-bottom: 50px; }
  .guide-page { padding-block: 62px 96px; }
  .guide-hero { margin-bottom: 46px; }
  .guide-layout { gap: 30px; }
  .guide-toc ol { grid-template-columns: 1fr; }
  .guide-document { padding: 2px 24px 38px; }
  .guide-chapter { padding-block: 38px 42px; }
  .guide-chapter h2 { align-items: flex-start; }
  .cell { padding: 29px; }
  .price-card,
  .manage-card { padding: 30px 24px; }
  .manage-actions { flex-direction: column; }
  details { padding: 20px; }
  details p { margin-right: 0; }
  .legal { margin: 38px 14px 76px; padding: 38px 26px 48px; }
}
@media (max-width: 380px) {
  .brand { font-size: 12px; }
  .header-brand { gap: 7px; }
  .brand-product { max-width: 84px; padding-left: 7px; font-size: 9px; }
}
