/* 星月账本 — site styles
   Palette follows the app: near-black surfaces, warm gold, cream ink. */

/* 与 App 同款字体：鸿蒙黑体（HarmonyOS Sans SC）。取自 HarmonyOS SDK，子集化后自托管。 */
@font-face {
  font-family: "HarmonyOS Sans SC";
  src: url("fonts/HarmonyOS-Sans-SC.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0b0b0d;
  --ink-deep: #08080a;
  --card: #141418;
  --card-2: #191920;
  --line: rgba(242, 235, 219, 0.09);
  --line-strong: rgba(242, 235, 219, 0.16);
  --cream: #f2ebdb;
  --muted: #a6a091;
  --muted-2: #837d71;
  --gold: #b99a54;
  --gold-soft: rgba(185, 154, 84, 0.14);
  --gold-line: rgba(185, 154, 84, 0.35);
  --up: #c2543f;

  /* 与 App 一致：全站 HarmonyOS Sans（无衬线）。鸿蒙设备直接命中系统字体，
     其他平台回退到最接近的系统无衬线。 */
  --sans: "HarmonyOS Sans SC", "HarmonyOS Sans", -apple-system, BlinkMacSystemFont,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --serif: var(--sans); /* 兼容旧引用，标题同样使用无衬线 */
  /* App 中金额、标签同样使用鸿蒙黑体，这里不用等宽字族，只用字距和字号区分 */
  --mono: var(--sans);

  --page: min(1180px, calc(100% - 96px));
  --page-narrow: min(880px, calc(100% - 96px));
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: rgba(185, 154, 84, 0.28); color: #fff; }

/* --- shared type ------------------------------------------------------- */

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold-line);
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.01em;
  line-height: 1.25;
}

h1 { font-size: clamp(38px, 4.6vw, 58px); }
h2 { font-size: clamp(30px, 3.6vw, 44px); }
h3 { font-size: 22px; }

p { margin: 0; }

.lede {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.section {
  padding: 118px 0;
  border-top: 1px solid var(--line);
}
.wrap { width: var(--page); margin: 0 auto; }
.wrap-narrow { width: var(--page-narrow); margin: 0 auto; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 48px;
  align-items: end;
  margin-bottom: 64px;
}
.section-head .lede { padding-bottom: 6px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 22px;
  border-radius: 2px;
  font-size: 14px;
  letter-spacing: 0.04em;
  border: 1px solid var(--line-strong);
  color: var(--cream);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { border-color: var(--gold); color: var(--gold-bright, #d8b878); }
.btn-solid {
  background: var(--gold);
  border-color: var(--gold);
  color: #14110a;
  font-weight: 600;
}
.btn-solid:hover { background: #cba961; border-color: #cba961; color: #14110a; }
.btn svg { width: 14px; height: 14px; }

.text-link {
  color: var(--gold-bright, #d8b878);
  border-bottom: 1px solid var(--gold-line);
  padding-bottom: 2px;
}
.text-link:hover { border-color: var(--gold); }

/* --- nav --------------------------------------------------------------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: 68px;
  display: flex;
  align-items: center;
  background: rgba(11, 11, 13, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(11, 11, 13, 0.92);
}
.nav-inner {
  width: var(--page);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 30px; width: auto; }
.brand span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--muted-2);
  border-left: 1px solid var(--line-strong);
  padding-left: 12px;
}
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s ease;
  position: relative;
}
.nav-links a:hover { color: var(--cream); }
.nav-links a.is-current { color: var(--cream); }
.nav-links a.is-current::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--gold);
}
.nav-cta { margin-left: 8px; height: 38px; padding: 0 16px; font-size: 13px; }
.nav-toggle { display: none; margin-left: auto; padding: 8px; }

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

.hero {
  padding: 168px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  width: 780px;
  height: 780px;
  right: -180px;
  top: -220px;
  background: radial-gradient(circle, rgba(185, 154, 84, 0.14), transparent 62%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 { margin: 26px 0 26px; }
.hero h1 em {
  font-style: normal;
  color: var(--gold-bright, #d8b878);
}
.hero .lede { max-width: 480px; }
.hero-actions { display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; }
.hero-facts {
  display: flex;
  gap: 36px;
  margin-top: 56px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.hero-facts div { font-size: 13px; color: var(--muted); }
.hero-facts strong {
  display: block;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 2px;
}

/* phone visual */
.device {
  position: relative;
  justify-self: center;
  width: min(330px, 100%);
}
.device .frame {
  position: relative;
  border-radius: 38px;
  padding: 9px;
  background: linear-gradient(160deg, #2a2a30, #0f0f12 40%, #232329);
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(242, 235, 219, 0.08),
    0 0 90px -20px rgba(185, 154, 84, 0.16);
}
.device .frame img {
  border-radius: 30px;
  width: 100%;
}
.device .frame::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 62px;
  height: 5px;
  border-radius: 3px;
  background: #000;
  opacity: 0.5;
  z-index: 2;
}
.device figcaption {
  margin-top: 22px;
  font-size: 12.5px;
  color: var(--muted-2);
  text-align: center;
  letter-spacing: 0.04em;
}

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

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.principle {
  padding: 42px 40px 46px;
  border-right: 1px solid var(--line);
}
.principle:first-child { padding-left: 0; }
.principle:last-child { border-right: 0; padding-right: 0; }
.principle .num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.2em;
}
.principle h3 { margin: 18px 0 12px; font-size: 21px; }
.principle p { color: var(--muted); font-size: 14.5px; line-height: 1.8; }

/* --- feature rows ------------------------------------------------------ */

.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 80px;
  align-items: center;
  padding: 78px 0;
  border-bottom: 1px solid var(--line);
}
.feature:last-of-type { border-bottom: 0; }
.feature.flip .feature-text { order: 2; }
.feature.flip .feature-visual { order: 1; }
.feature-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.feature h3 {
  font-size: clamp(26px, 2.6vw, 34px);
  margin: 16px 0 18px;
}
.feature p { color: var(--muted); font-size: 15px; line-height: 1.9; }
.feature ul {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.feature li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--muted);
}
.feature li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 1px;
  background: var(--gold);
}
.feature li strong { color: var(--cream); font-weight: 600; }

.feature-visual { display: flex; justify-content: center; gap: 26px; align-items: center; }
.shot {
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: var(--card);
  overflow: hidden;
  box-shadow: 0 28px 60px -32px rgba(0, 0, 0, 0.9);
}
.shot img { width: 100%; }
.shot-phone { width: 240px; }
.shot-wide {
  width: 100%;
  border-radius: 12px;
}
.shot-wide img { border-radius: 11px; }
.caption {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted-2);
  text-align: center;
  letter-spacing: 0.03em;
}

/* --- versions ---------------------------------------------------------- */

.versions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.plan {
  border: 1px solid var(--line-strong);
  background: var(--card);
  padding: 40px 38px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan-pro {
  background: linear-gradient(170deg, rgba(185, 154, 84, 0.10), rgba(20, 20, 24, 0.9) 46%);
  border-color: var(--gold-line);
}
.plan-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.plan-head h3 { font-size: 26px; }
.plan-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  padding: 3px 8px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  text-transform: uppercase;
}
.plan-pro .plan-tag { border-color: var(--gold-line); color: var(--gold); }
.plan-price {
  margin: 22px 0 6px;
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
}
.plan-price small { font-family: var(--sans); font-size: 13px; color: var(--muted); margin-left: 8px; }
.plan-note { font-size: 13px; color: var(--muted-2); }
.plan-list {
  list-style: none;
  margin: 30px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
  font-size: 14.5px;
  align-content: start;
  flex: 1;
}
.plan-list li { display: flex; gap: 12px; color: var(--muted); }
.plan-list li::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 5px;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--gold) 0 2px, transparent 2.6px) center / 100% 100% no-repeat;
}
.plan-list li strong { color: var(--cream); font-weight: 600; }
.plan-foot {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted-2);
}

.limits {
  margin-top: 48px;
  border: 1px solid var(--line);
}
.limits table { width: 100%; border-collapse: collapse; font-size: 14px; }
.limits th, .limits td {
  padding: 16px 22px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.limits tr:last-child th, .limits tr:last-child td { border-bottom: 0; }
.limits thead th {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 400;
}
.limits tbody th { font-weight: 400; color: var(--muted); }
.limits td { color: var(--cream); }
.limits td.pro { color: var(--gold-bright, #d8b878); }

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

.band {
  background: var(--ink-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 96px 0;
}
.band-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: start;
}
.band h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 20px; }
.facts { display: grid; gap: 0; border-top: 1px solid var(--line); }
.fact {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.fact dt { color: var(--gold); font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; padding-top: 4px; }
.fact dd { margin: 0; color: var(--muted); }
.fact dd strong { color: var(--cream); font-weight: 600; }

/* --- faq --------------------------------------------------------------- */

.faq { border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 40px 22px 0;
  font-family: var(--serif);
  font-size: 18px;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 60px 24px 0; color: var(--muted); font-size: 14.5px; }
.faq .answer p + p { margin-top: 10px; }

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

.download { padding: 118px 0; }
.download-box {
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(185, 154, 84, 0.07), transparent 60%), var(--card);
  padding: 68px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
}
.download-box h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 14px; }
.download-box .lede { max-width: 460px; font-size: 15px; }
.download-actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.req {
  margin-top: 30px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--muted-2);
}
.req span { display: flex; gap: 8px; align-items: center; }
.req i {
  width: 4px; height: 4px; background: var(--gold); border-radius: 50%; display: inline-block;
}

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

.footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 40px;
  font-size: 13px;
  color: var(--muted-2);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}
.footer-brand img { height: 28px; width: auto; margin-bottom: 14px; }
.footer-brand p { max-width: 320px; line-height: 1.8; }
.footer-cols { display: flex; gap: 72px; flex-wrap: wrap; }
.footer-col h4 {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 400;
  margin-bottom: 14px;
}
.footer-col a, .footer-col span { display: block; padding: 5px 0; color: var(--muted); }
.footer-col a:hover { color: var(--gold-bright, #d8b878); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  flex-wrap: wrap;
  font-size: 12px;
}
.footer-bottom a { color: var(--muted-2); }
.footer-bottom a:hover { color: var(--muted); }

/* --- manual page ------------------------------------------------------- */

.doc-hero {
  padding: 148px 0 56px;
  border-bottom: 1px solid var(--line);
}
.doc-hero h1 { font-size: clamp(36px, 4.6vw, 54px); margin: 22px 0 18px; }
.doc-hero .lede { max-width: 620px; }
.doc-meta {
  display: flex;
  gap: 28px;
  margin-top: 30px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  flex-wrap: wrap;
}
.doc-layout {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: 72px;
  padding: 64px 0 110px;
  align-items: start;
}
.toc {
  position: sticky;
  top: 92px;
  font-size: 13px;
  border-left: 1px solid var(--line);
  padding-left: 20px;
  max-height: calc(100vh - 130px);
  overflow: auto;
}
.toc-title {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted-2);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.toc a {
  display: block;
  padding: 6px 0;
  color: var(--muted);
  line-height: 1.5;
  transition: color 0.2s ease;
}
.toc a:hover { color: var(--cream); }
.toc a.is-active { color: var(--gold-bright, #d8b878); }
.toc .sub { padding-left: 14px; font-size: 12.5px; }

.doc { max-width: 760px; }
.doc section { padding-bottom: 58px; scroll-margin-top: 92px; }
.doc h2 {
  font-size: 30px;
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.doc h2 .n {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.1em;
  font-weight: 400;
}
.doc h3 {
  font-size: 18px;
  margin: 34px 0 10px;
  color: var(--cream);
}
.doc p { color: var(--muted); margin: 12px 0; font-size: 15px; line-height: 1.9; }
.doc p strong { color: var(--cream); font-weight: 600; }
.doc ul, .doc ol { color: var(--muted); font-size: 15px; line-height: 1.9; padding-left: 20px; }
.doc li { margin: 6px 0; }
.doc li::marker { color: var(--gold); }
.doc kbd {
  font-family: var(--mono);
  font-size: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  padding: 1px 6px;
  color: var(--cream);
  background: var(--card);
}
.doc .rule { height: 1px; background: var(--line); margin: 44px 0; }

.callout {
  border-left: 2px solid var(--gold);
  background: rgba(185, 154, 84, 0.06);
  padding: 18px 22px;
  margin: 24px 0;
  font-size: 14px;
  color: var(--muted);
}
.callout strong { color: var(--cream); font-weight: 600; }

.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 8px;
  font-size: 14px;
}
.doc th, .doc td {
  border-bottom: 1px solid var(--line);
  padding: 13px 14px;
  text-align: left;
  vertical-align: top;
}
.doc thead th {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 400;
}
.doc tbody th { color: var(--cream); font-weight: 400; white-space: nowrap; }
.doc td { color: var(--muted); }
.doc .figure { margin: 28px 0 8px; }
.doc .figure img {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
}
.doc .figure figcaption { font-size: 12px; color: var(--muted-2); margin-top: 10px; }
.doc .steps { counter-reset: step; list-style: none; padding: 0; }
.doc .steps li {
  counter-increment: step;
  position: relative;
  padding-left: 38px;
  margin: 16px 0;
}
.doc .steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--gold);
  display: grid;
  place-items: center;
}

.doc-end {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted-2);
}

/* --- reveal ------------------------------------------------------------ */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-in { opacity: 1; transform: none; }

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

@media (max-width: 1080px) {
  :root { --page: calc(100% - 64px); --page-narrow: calc(100% - 64px); }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero { padding-top: 140px; }
  .device { justify-self: center; width: min(300px, 82%); }
  .section-head { grid-template-columns: 1fr; gap: 18px; align-items: start; }
  .feature { grid-template-columns: 1fr; gap: 44px; padding: 64px 0; }
  .feature.flip .feature-text, .feature.flip .feature-visual { order: 0; }
  .band-grid { grid-template-columns: 1fr; gap: 40px; }
  .doc-layout { grid-template-columns: 1fr; gap: 36px; }
  .toc {
    position: static;
    max-height: none;
    border-left: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 20px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 20px;
  }
  .toc-title { width: 100%; margin-bottom: 6px; }
  .toc .sub { display: none; }
  .toc a {
    border: 1px solid var(--line);
    padding: 5px 10px;
    font-size: 12.5px;
    color: var(--muted);
  }
  .toc a.is-active { border-color: var(--gold-line); }
}

@media (max-width: 820px) {
  :root { --page: calc(100% - 40px); --page-narrow: calc(100% - 40px); }
  body { font-size: 15.5px; }
  .section { padding: 76px 0; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav.is-open .nav-links {
    display: flex;
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--ink);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 18px;
  }
  .nav.is-open .nav-links a { padding: 12px 0; font-size: 15px; }
  .nav.is-open .nav-links a.is-current::after { display: none; }
  .hero { padding: 120px 0 72px; }
  .device { justify-self: center; }
  .hero-facts { gap: 22px 30px; }
  .principles { grid-template-columns: 1fr; }
  .principle { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .principle:last-child { border-bottom: 0; }
  .feature-visual { flex-direction: column; gap: 18px; }
  .shot-phone { width: min(250px, 100%); }
  .versions { grid-template-columns: 1fr; }
  .plan { padding: 32px 26px; }
  .limits { overflow-x: auto; }
  .limits table { min-width: 420px; }
  .limits th, .limits td { padding: 13px 14px; }
  .doc table { font-size: 13.5px; }
  .doc tbody th { white-space: normal; }
  .doc th, .doc td { padding: 11px 10px; }
  .fact { grid-template-columns: 1fr; gap: 6px; }
  .download-box { grid-template-columns: 1fr; padding: 40px 28px; gap: 30px; }
  .download { padding: 76px 0; }
  .doc-hero { padding: 118px 0 44px; }
  .doc h2 { font-size: 25px; }
  .doc .figure { margin: 20px 0 6px; }
  .doc-layout { padding: 40px 0 80px; }
  .footer-cols { gap: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
