/* 卡阅 SuperReader — static site styles.
   Light, plain, no external assets. */

:root {
  --bg: #f3f6f4;
  --paper: #ffffff;
  --ink: #14201d;
  --body: #46544f;
  --muted: #6f7d78;
  --line: #dbe4df;
  --line-strong: #c8d4ce;
  --pine: #0b6b5d;
  --pine-deep: #06483f;
  --pine-soft: #d9efe9;
  --mint: #edf6f2;
  --mint-deep: #e3f1eb;
  --amber: #b45309;
  --amber-deep: #5b3a12;
  --amber-soft: #fdf0dc;
  --danger: #b3261e;
  --gold: #d7a648;
  --font-sans: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  --font-mono: "Cascadia Mono", "Consolas", "SFMono-Regular", "Menlo", "Liberation Mono", monospace;
  --shell: 1120px;
  --radius: 16px;
  --shadow: 0 18px 44px rgba(20, 32, 29, .08);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  color-scheme: light;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: view-out .16s ease both; }
::view-transition-new(root) { animation: view-in .30s cubic-bezier(.22,.61,.36,1) both; }

@keyframes view-out {
  to { opacity: 0; transform: translateY(-4px); }
}
@keyframes view-in {
  from { opacity: 0; transform: translateY(10px); }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[hidden] { display: none !important; }

img, svg { display: block; max-width: 100%; }
a { color: var(--pine); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--pine-deep); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.35; font-weight: 800; letter-spacing: -.01em; }
h1, h2 { text-wrap: balance; }
code, pre { font-family: var(--font-mono); }
button, input, select { font: inherit; }
button { cursor: pointer; }

:focus-visible {
  outline: 3px solid rgba(11, 107, 93, .55);
  outline-offset: 2px;
  border-radius: 4px;
}

.shell {
  width: min(100% - 48px, var(--shell));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.nowrap { white-space: nowrap; }

.skip-link {
  position: fixed;
  left: 16px; top: -80px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--pine-deep);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: 14px; color: #fff; }

/* ---------- header ---------- */

.site-header {
  --progress: 0;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 246, 244, .94);
  border-bottom: 1px solid rgba(219, 228, 223, .85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
  background: rgba(243, 246, 244, .98);
  box-shadow: 0 12px 30px rgba(20, 32, 29, .07);
}

.scroll-meter {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: var(--pine);
  transform: scaleX(var(--progress));
  transform-origin: 0 50%;
  opacity: .72;
  pointer-events: none;
}

.header-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 24px;
  transition: min-height .25s ease;
}

@media (min-width: 761px) {
  .site-header.is-scrolled .header-inner { min-height: 60px; }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  flex: none;
}
.brand img { border-radius: 11px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-size: 21px; letter-spacing: 2px; font-weight: 800; }
.brand-text small {
  margin-top: 5px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 2.2px;
  color: var(--muted);
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14.5px;
}
.site-nav a {
  color: var(--body);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  background-image: linear-gradient(var(--pine), var(--pine));
  background-repeat: no-repeat;
  background-position: 0 calc(100% - 1px);
  background-size: 0 2px;
  transition: color .2s ease, background-size .28s ease;
}
.site-nav a:hover { color: var(--pine-deep); border-bottom-color: transparent; background-size: 100% 2px; }
.site-nav .nav-cta {
  padding: 9px 17px;
  border: 1px solid var(--pine);
  border-radius: 999px;
  color: var(--pine-deep);
  font-weight: 700;
  background: var(--paper);
  background-image: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.site-nav .nav-cta:hover {
  background: var(--pine-deep);
  color: #fff;
  border-color: var(--pine-deep);
  transform: translateY(-1px);
  box-shadow: 0 7px 16px rgba(6, 72, 63, .16);
}
.site-nav .nav-nfc {
  padding: 9px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 700;
  background: var(--paper);
  background-image: none;
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.site-nav .nav-nfc:hover {
  color: var(--pine-deep);
  border-color: var(--pine);
  background: var(--pine-soft);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  min-height: 44px;
  padding: 0 15px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.js .nav-toggle { display: none; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(760px 420px at 84% 8%, rgba(11, 107, 93, .10), transparent 68%),
    radial-gradient(600px 380px at 4% 96%, rgba(215, 166, 72, .07), transparent 72%),
    var(--bg);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 107, 93, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 107, 93, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 88%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 88%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, .94fr);
  gap: 48px;
  align-items: center;
  padding-block: 64px 58px;
}

.eyebrow, .kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 2.3px;
  color: var(--pine);
  text-transform: uppercase;
}
.eyebrow::before, .kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--pine);
}

h1 {
  margin-top: 20px;
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: 1.22;
  letter-spacing: -1.4px;
  font-weight: 800;
  max-width: 13em;
}
h1 .mark {
  color: var(--pine);
  background-image: linear-gradient(transparent 68%, rgba(11, 107, 93, .16) 68%, rgba(11, 107, 93, .16) 92%, transparent 92%);
}

.lead {
  margin-top: 22px;
  max-width: 34em;
  color: var(--body);
  font-size: 17.5px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .22s cubic-bezier(.22,.61,.36,1), box-shadow .22s ease;
}
.btn-primary { background: var(--pine); color: #fff; border-color: var(--pine); box-shadow: 0 8px 18px rgba(6, 72, 63, .12); }
.btn-primary:hover { background: var(--pine-deep); border-color: var(--pine-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 24px rgba(6, 72, 63, .18); }
.btn-quiet { background: var(--paper); color: var(--pine-deep); border-color: var(--line-strong); }
.btn-quiet:hover { border-color: var(--pine); background: var(--mint); color: var(--pine-deep); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(20, 32, 29, .08); }
.btn:active { transform: translateY(0); box-shadow: 0 4px 10px rgba(6, 72, 63, .10); }
.btn-block { width: 100%; }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 26px;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
}
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--pine);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 580px;
  padding: 10px 0 34px;
}

.phone {
  position: relative;
  z-index: 2;
  width: min(302px, 72vw);
  aspect-ratio: 9 / 19.1;
  padding: 9px;
  border-radius: 48px;
  background: #101816;
  box-shadow: 0 38px 70px rgba(6, 40, 35, .28), 0 10px 22px rgba(6, 40, 35, .16);
  transform: rotate(-2deg);
}
.phone::before {
  content: "";
  position: absolute;
  left: -2px; top: 116px;
  width: 3px; height: 58px;
  border-radius: 3px 0 0 3px;
  background: #26342f;
}

.phone-screen {
  height: 100%;
  border-radius: 40px;
  padding: 18px 15px 13px;
  background: linear-gradient(180deg, #f8fcfa 0%, #f4f9f6 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.app-head { display: flex; align-items: center; gap: 8px; }
.app-head img { border-radius: 9px; }
.app-name { font-weight: 800; font-size: 18px; letter-spacing: 1px; }
.app-menu { margin-left: auto; color: var(--pine); font-size: 11px; letter-spacing: 2px; }
.app-sub {
  margin-top: 7px;
  padding-left: 42px;
  font-size: 7.5px;
  letter-spacing: .6px;
  color: var(--muted);
}

.app-hero {
  position: relative;
  margin-top: 14px;
  height: 150px;
  border-radius: 17px;
  background: var(--mint-deep);
  overflow: hidden;
  flex: none;
}
.mini-card {
  position: absolute;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(6, 72, 63, .10);
}
.mini-card.back {
  width: 116px; height: 72px;
  left: 50%; top: 34px;
  transform: translateX(-38%) rotate(-13deg);
  background: #cfe9e1;
  border: 1px solid #b6ddd2;
}
.mini-card.front {
  width: 132px; height: 80px;
  left: 50%; top: 40px;
  transform: translateX(-58%) rotate(5deg);
  background: #fdfaf2;
  border: 2px solid var(--pine);
  box-shadow: 0 10px 22px rgba(6, 72, 63, .16);
}
.mini-strip {
  position: absolute; left: 12px; top: 12px;
  width: 44px; height: 6px; border-radius: 3px;
  background: var(--pine);
}
.mini-chip {
  position: absolute; left: 12px; top: 26px;
  width: 22px; height: 17px; border-radius: 4px;
  background: linear-gradient(135deg, #f3d79a, #d7a648);
  border: 1px solid rgba(91, 58, 18, .25);
}
.mini-line {
  position: absolute; left: 12px; bottom: 20px;
  width: 54px; height: 4px; border-radius: 2px;
  background: rgba(11, 107, 93, .22);
}
.mini-line.short { bottom: 12px; width: 34px; opacity: .65; }

.wave {
  position: absolute;
  right: 16px; top: 50%;
  border: 2px solid var(--pine);
  border-left-color: transparent;
  border-top-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: translateY(-50%) rotate(-12deg);
  opacity: .5;
}
.wave.w1 { width: 26px; height: 26px; right: 28px; opacity: .65; }
.wave.w2 { width: 42px; height: 42px; opacity: .42; }
.wave.w3 { width: 58px; height: 58px; opacity: .22; }

.demo-tag {
  position: absolute;
  right: 11px; bottom: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  color: var(--amber);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: .5px;
}

.app-hint {
  margin-top: 16px;
  text-align: center;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .2px;
}
.app-desc {
  margin-top: 6px;
  text-align: center;
  font-size: 8.5px;
  line-height: 1.65;
  color: var(--muted);
  padding-inline: 8px;
}

.read-rows {
  margin-top: 14px;
  padding: 2px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.read-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #eef3f0;
  font-size: 8.5px;
  color: var(--muted);
}
.read-row:last-child { border-bottom: 0; }
.read-row b { color: var(--ink); font-weight: 700; text-align: right; }
.read-row b.pine { color: var(--pine); }

.read-history {
  margin-top: 9px;
  padding: 2px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.history-title {
  padding: 7px 0 3px;
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: .8px;
  color: var(--muted);
}
.history-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
  border-top: 1px solid #eef3f0;
  font-size: 8px;
  color: var(--muted);
}
.history-row b { font-weight: 700; color: var(--pine); }

.app-footer {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 7.5px;
  color: var(--muted);
}
.app-footer .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--pine);
  box-shadow: 0 0 0 3px rgba(11, 107, 93, .12);
}

.float-note {
  position: absolute;
  z-index: 3;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 12px 26px rgba(20, 32, 29, .10);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .4px;
  color: var(--pine-deep);
}
.note-a { right: -4px; top: 84px; transform: rotate(2deg); }
.note-b { left: -6px; bottom: 114px; transform: rotate(-2deg); }

.visual-note {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}

/* ---------- principles ---------- */

.principles {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.principles-grid > div {
  padding: 20px 24px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.principles-grid > div:first-child { border-left: 0; padding-left: 0; }
.principles-grid strong { font-size: 15px; color: var(--pine-deep); }
.principles-grid span { font-size: 12.5px; color: var(--muted); }

/* ---------- sections ---------- */

.section {
  padding-block: 76px;
  scroll-margin-top: 88px;
}
.section + .section { border-top: 1px solid var(--line); }

.section-head {
  max-width: 760px;
  margin-bottom: 40px;
}
.section-head.compact { margin-bottom: 32px; }
h2 {
  margin-top: 12px;
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.3;
  letter-spacing: -.8px;
}
.section-head > p:last-child {
  margin-top: 14px;
  color: var(--body);
  font-size: 16.5px;
}

/* ---------- features ---------- */

.feature-list {
  list-style: none;
  border-top: 1px solid var(--line);
}
.feature-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 18px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.feature-no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1.4px;
  color: var(--pine);
  padding-top: 6px;
}
.feature-body h3 { font-size: 21px; }
.feature-body p {
  margin-top: 8px;
  max-width: 62em;
  color: var(--body);
  font-size: 15.5px;
}
.tag-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px !important;
}
.tag-line span {
  padding: 2px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10.5px;
  background: var(--paper);
}

/* ---------- steps ---------- */

.steps {
  padding-block: 62px;
  background: linear-gradient(180deg, #eaf4ef 0%, #eef6f2 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 88px;
}
.step-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}
.step-list li { position: relative; padding-top: 8px; }
.step-list li + li::before {
  content: "→";
  position: absolute;
  left: -24px; top: 18px;
  color: #9fb5ad;
  font-size: 16px;
}
.step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--pine);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}
.step-list h3 { margin-top: 12px; font-size: 18px; }
.step-list p { margin-top: 5px; color: var(--body); font-size: 14.5px; max-width: 26em; }
.steps-note { margin-top: 28px; font-size: 12.5px; color: var(--muted); }

/* ---------- notices + table ---------- */

.notice {
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 3px solid var(--line-strong);
  background: rgba(255, 255, 255, .62);
  border-radius: 0 12px 12px 0;
}
.notice strong { display: block; font-size: 15px; margin-bottom: 5px; }
.notice p, .notice li { color: var(--body); font-size: 14px; }
.notice ul { margin-top: 4px; padding-left: 1.2em; }
.notice li + li { margin-top: 3px; }
.table-wrap {
  margin-top: 26px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  -webkit-overflow-scrolling: touch;
}
.table-hint { display: none; margin-top: 18px; font-size: 12px; color: var(--muted); }
.card-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 13.5px;
}
.card-table th, .card-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.card-table thead th {
  background: #edf4f0;
  font-size: 12px;
  letter-spacing: .4px;
  color: var(--pine-deep);
  white-space: nowrap;
}
.card-table tbody tr:last-child th,
.card-table tbody tr:last-child td { border-bottom: 0; }
.card-table tbody th { width: 23%; font-weight: 700; color: var(--ink); }
.card-table tbody td { color: var(--body); }
.card-table tbody td:last-child { color: var(--muted); font-size: 12.5px; }

.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  line-height: 1.6;
}

/* ---------- download ---------- */

.download-section {
  background: linear-gradient(180deg, #f7faf8 0%, #f3f6f4 100%);
}
.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.download-panel + .download-panel { margin-top: 22px; }
.download-panel.is-preview { border-color: rgba(180, 83, 9, .28); }
.download-panel.is-preview .download-side { background: #fbf3e8; }
.download-panel.is-preview .channel-kicker { color: var(--amber); }
.download-panel.is-preview .download-main h3 span { color: var(--amber); }
.download-panel.is-desktop { border-color: rgba(11, 107, 93, .22); }
.download-panel.is-desktop .download-side { background: #eef3f1; }
.download-panel.is-desktop .channel-kicker { color: var(--pine-deep); }
.download-main { padding: 30px 32px 26px; }
.channel-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.2px;
  color: var(--pine);
}
.download-main h3 {
  margin-top: 8px;
  font-size: 28px;
}
.download-main h3 span { font-family: var(--font-mono); font-size: 18px; color: var(--pine); letter-spacing: -.2px; }
.download-main > p:not(.channel-kicker):not(.sha-line) {
  margin-top: 10px;
  color: var(--body);
  font-size: 14.5px;
  max-width: 46em;
}

.download-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  margin: 20px 0 0;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.download-meta div { min-width: 0; }
.download-meta dt { font-size: 11px; color: var(--muted); letter-spacing: .5px; }
.download-meta dd { margin: 1px 0 0; font-size: 13.5px; font-weight: 600; overflow-wrap: anywhere; }
.download-meta code { font-size: 12px; color: var(--pine-deep); }

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.sha-line {
  margin-top: 15px;
  display: flex;
  gap: 8px;
  align-items: baseline;
  font-size: 11px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.sha-line span { flex: none; font-family: var(--font-mono); letter-spacing: .6px; }
.sha-line code { color: var(--body); font-size: 10.5px; line-height: 1.6; }

.download-side {
  padding: 28px 24px;
  background: var(--mint);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.download-side h4 { font-size: 14px; color: var(--pine-deep); }
.download-side ul { margin-top: 10px; padding-left: 1.1em; }
.download-side li { font-size: 13px; color: var(--body); margin-top: 4px; }
.download-side .note {
  margin-top: auto;
  padding-top: 18px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid rgba(11, 107, 93, .12);
}

.verify-box {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .72);
}
.verify-box summary {
  min-height: 48px;
  padding: 13px 18px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: var(--pine-deep);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.verify-box summary::-webkit-details-marker { display: none; }
.verify-box summary::after { content: "+"; font-family: var(--font-mono); color: var(--pine); font-size: 18px; }
.verify-box[open] summary::after { content: "−"; }
.verify-body { padding: 0 18px 18px; font-size: 13.5px; color: var(--body); }
.verify-body p + p { margin-top: 10px; }
.verify-body pre {
  margin: 6px 0 0;
  padding: 12px 14px;
  border-radius: 8px;
  background: #0f1c19;
  color: #d7efe7;
  overflow-x: auto;
  font-size: 12px;
  line-height: 1.7;
}

/* ---------- update ---------- */

.update-section {
  background:
    radial-gradient(560px 300px at 8% 20%, rgba(11, 107, 93, .07), transparent 70%),
    #eef5f1;
  scroll-margin-top: 88px;
}
.update-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 404px;
  gap: 56px;
  align-items: start;
}
.update-copy h2 { margin-top: 12px; }
.update-copy > p { margin-top: 14px; color: var(--body); font-size: 16px; }
.update-copy code {
  padding: 1px 5px;
  background: rgba(255, 255, 255, .8);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: .88em;
  color: var(--pine-deep);
}
.update-copy .hint { font-size: 13.5px; color: var(--muted); }
.update-points {
  margin-top: 22px;
  padding-left: 0;
  list-style: none;
}
.update-points li {
  position: relative;
  padding-left: 18px;
  margin-top: 7px;
  font-size: 13.5px;
  color: var(--body);
}
.update-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--pine);
}

.update-tool {
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.update-tool h3 { font-size: 19px; }
.update-tool form { margin-top: 18px; }
.field + .field { margin-top: 16px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.field select, .field input {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
}
.field select:focus, .field input:focus { border-color: var(--pine); }
.field input[aria-invalid="true"] { border-color: var(--danger); background: #fffafa; }
.field-hint, .channel-hint {
  margin-top: 5px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--muted);
}
.channel-hint { color: var(--pine-deep); }
.update-tool .btn-block { margin-top: 18px; }
.update-tool .btn:disabled { opacity: .6; cursor: progress; }

.update-result {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--line-strong);
  border-radius: 0 10px 10px 0;
  background: #f7faf8;
  font-size: 13.5px;
  color: var(--body);
  min-height: 74px;
}
.update-result h4 { font-size: 15px; color: var(--ink); margin-bottom: 4px; }
.update-result p + p { margin-top: 6px; }
.update-result .result-latest .meta,
.update-result .meta { margin-top: 8px; font-size: 11.5px; color: var(--muted); }
.update-result ul { margin-top: 8px; padding-left: 1.1em; font-size: 12.5px; }
.update-result li + li { margin-top: 3px; }
.update-result.is-update { border-left-color: var(--pine); background: var(--mint); }
.update-result.is-latest { border-left-color: var(--pine); background: var(--mint); }
.update-result.is-newer { border-left-color: var(--gold); background: #fdf8e9; }
.update-result.is-error { border-left-color: var(--danger); background: #fdf0ef; }
.update-result.is-loading { border-left-color: #9fb5ad; }
.update-result .result-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.update-result .result-actions .btn { min-height: 42px; padding: 0 15px; font-size: 13px; }
.noscript { margin-top: 12px; font-size: 12.5px; color: var(--amber-deep); }

/* ---------- privacy ---------- */

.privacy-section {
  background: var(--paper);
}
.privacy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 56px;
  align-items: start;
}
.privacy-grid p { margin-top: 14px; color: var(--body); font-size: 15.5px; }
.privacy-list {
  list-style: none;
  border-top: 1px solid var(--line);
}
.privacy-list li {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.privacy-list strong { color: var(--pine-deep); }
.privacy-list span { color: var(--body); }

/* ---------- FAQ ---------- */

.faq-section { padding-block: 70px; }
.faq-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.faq-grid .section-head { margin-bottom: 0; position: sticky; top: 98px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  min-height: 58px;
  padding: 16px 30px 16px 0;
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 700;
  position: relative;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 2px; top: 15px;
  color: var(--pine);
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 400;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p {
  padding: 0 40px 18px 0;
  color: var(--body);
  font-size: 14px;
}

/* ---------- footer ---------- */

.site-footer {
  background: #e9f1ec;
  border-top: 1px solid var(--line-strong);
  padding-top: 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr .9fr 1.1fr;
  gap: 34px;
  padding-bottom: 36px;
}
.footer-brand p { margin-top: 12px; color: var(--muted); font-size: 13px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--body); }
.footer-col h2 {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--pine-deep);
  margin-bottom: 2px;
  font-weight: 800;
}
.footer-col a { color: var(--body); text-decoration: none; }
.footer-col a:hover { color: var(--pine-deep); text-decoration: underline; }
.footer-note p { font-size: 12.5px; color: var(--muted); }
.footer-note p + p { margin-top: 6px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 0 22px;
  border-top: 1px solid rgba(11, 107, 93, .14);
  color: var(--muted);
  font-size: 11.5px;
}

/* ---------- motion ---------- */

@keyframes rise-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes hero-in {
  from { opacity: 0; transform: translateY(26px) scale(.985); }
  to { opacity: 1; transform: none; }
}
@keyframes phone-float {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50% { transform: rotate(-2deg) translateY(-8px); }
}
@keyframes note-float-a {
  0%, 100% { transform: rotate(2deg) translateY(0); }
  50% { transform: rotate(2deg) translateY(-6px); }
}
@keyframes note-float-b {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50% { transform: rotate(-2deg) translateY(-7px); }
}
@keyframes fade-slide {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: none; }
}
@keyframes soft-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(11, 107, 93, .18); }
  50% { box-shadow: 0 0 0 6px rgba(11, 107, 93, 0); }
}

.hero-copy > .eyebrow,
.hero-copy > h1,
.hero-copy > .lead,
.hero-copy > .hero-actions,
.hero-copy > .hero-facts {
  animation: rise-in .72s cubic-bezier(.22,.61,.36,1) both;
}
.hero-copy > h1 { animation-delay: .06s; }
.hero-copy > .lead { animation-delay: .12s; }
.hero-copy > .hero-actions { animation-delay: .18s; }
.hero-copy > .hero-facts { animation-delay: .24s; }
.hero-visual { animation: hero-in .9s .1s cubic-bezier(.22,.61,.36,1) both; }
.phone { animation: phone-float 7.5s 1.2s ease-in-out infinite; }
.note-a { animation: note-float-a 6.4s 1.1s ease-in-out infinite; }
.note-b { animation: note-float-b 7.2s 1.5s ease-in-out infinite; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  will-change: opacity, transform;
}
.reveal-ready .reveal {
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }

.card-table tbody tr { transition: background-color .18s ease; }
.card-table tbody tr:hover { background: #f7fbf9; }
.faq-list details { transition: background-color .2s ease; }
.faq-list details:hover { background: rgba(255, 255, 255, .5); }
.faq-list details[open] > p,
.verify-box[open] .verify-body,
.update-result .result-actions {
  animation: fade-slide .3s cubic-bezier(.22,.61,.36,1) both;
}

/* ---------- roadmap ---------- */

.roadmap-section {
  background:
    radial-gradient(620px 340px at 92% 6%, rgba(215, 166, 72, .08), transparent 70%),
    linear-gradient(180deg, #f7faf8 0%, #f3f6f4 100%);
  scroll-margin-top: 88px;
}
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.roadmap-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 26px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 12px 28px rgba(20, 32, 29, .05);
  transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s ease, border-color .3s ease;
}
.roadmap-card:hover {
  transform: translateY(-4px);
  border-color: #c6dbd2;
  box-shadow: 0 22px 44px rgba(20, 32, 29, .10);
}
.roadmap-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.roadmap-no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1.4px;
  color: var(--pine);
}
.roadmap-card h3 { font-size: 19px; line-height: 1.45; }
.roadmap-card > p { color: var(--body); font-size: 14.5px; }
.roadmap-card .tag-line { margin-top: 2px !important; }
.badge-internal { background: var(--amber-soft); color: var(--amber-deep); }
.roadmap-link {
  margin-top: auto;
  padding-top: 6px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
}
.roadmap-link span { display: inline-block; transition: transform .22s ease; }
.roadmap-link:hover span { transform: translateX(4px); }
.roadmap-note {
  margin-top: 22px;
  font-size: 12.5px;
  color: var(--muted);
}
.roadmap-note code {
  padding: 1px 5px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 255, 255, .8);
  font-size: 11.5px;
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 26px; padding-block: 48px 40px; }
  .hero-copy { max-width: 46em; }
  .hero-visual { min-height: 0; padding-top: 0; }
  .phone { width: min(288px, 68vw); }
  .note-a { right: 8%; }
  .note-b { left: 8%; }
  .update-grid { grid-template-columns: 1fr; gap: 30px; }
  .update-tool { max-width: 480px; }
  .download-panel { grid-template-columns: 1fr; }
  .download-side { border-left: 0; border-top: 1px solid var(--line); }
  .download-side .note { margin-top: 16px; }
  .faq-grid { grid-template-columns: 1fr; gap: 24px; }
  .faq-grid .section-head { position: static; }
  .privacy-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 32px, var(--shell)); }
  .header-inner { min-height: 62px; flex-wrap: wrap; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .js .nav-toggle { display: inline-flex; }
  .site-nav {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 4px 12px;
    padding: 4px 0 12px;
    margin-left: 0;
    border-top: 1px solid var(--line);
    font-size: 14px;
  }
  .js .site-nav {
    display: flex;
    position: absolute;
    left: 16px; right: 16px; top: 62px;
    padding: 14px 16px 16px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(20, 32, 29, .14);
    z-index: 60;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(.985);
    transform-origin: 50% 0;
    pointer-events: none;
    transition: opacity .22s ease, transform .22s cubic-bezier(.22,.61,.36,1), visibility .22s;
  }
  .js .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
  .site-nav a { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .site-nav .nav-cta { margin-top: 4px; }
  .hero-grid { padding-block: 38px 34px; }
  h1 { font-size: clamp(32px, 9vw, 42px); letter-spacing: -1px; }
  .lead { font-size: 16px; }
  .hero-visual { margin-top: 10px; }
  .float-note { font-size: 9px; padding: 7px 9px; }
  .note-a { right: 0; top: 40px; }
  .note-b { left: 0; bottom: 82px; }
  .visual-note { bottom: -2px; }
  .principles-grid { grid-template-columns: 1fr 1fr; }
  .principles-grid > div { padding: 16px 14px; }
  .principles-grid > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .principles-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .roadmap-grid { grid-template-columns: 1fr; }
  .roadmap-card { padding: 20px 20px 18px; }
  .section { padding-block: 52px; }
  .section-head { margin-bottom: 28px; }
  .feature-row { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
  .feature-no { padding-top: 0; }
  .step-list { grid-template-columns: 1fr; gap: 24px; }
  .step-list li + li::before { content: "↓"; left: 10px; top: -22px; }
  .step-list p { max-width: none; }
  .card-table { min-width: 600px; }
  .table-wrap { margin-inline: -4px; }
  .table-hint { display: block; }
  .download-main { padding: 24px 20px 22px; }
  .download-main h3 { font-size: 24px; }
  .download-meta { grid-template-columns: 1fr; gap: 8px; }
  .update-tool { padding: 22px 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 4px; }
}

@media (max-width: 420px) {
  .hero-actions .btn { flex: 1 1 100%; }
  .phone { width: min(272px, 82vw); }
  .note-a, .note-b { display: none; }
  .privacy-list li { grid-template-columns: 82px minmax(0, 1fr); }
}
