/* ============================================================
   APNA 爱柏诺 — product site
   Light, minimal, editorial
   ============================================================ */

:root {
  --bg: #faf9f6;
  --surface: #ffffff;
  --tint: #f4f2ed;
  --sand: #efeae1;
  --ink: #14171a;
  --ink-2: #3c4348;
  --muted: #79807f;
  --line: rgba(20, 23, 26, 0.1);
  --line-soft: rgba(20, 23, 26, 0.06);
  --accent: #215074;
  --accent-2: #4e86b4;
  --accent-soft: #e9eff4;
  --brand-blue: #215074;
  --brand-orange: #e17c0f;
  --amber: #e17c0f;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --maxw: 1160px;

  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC",
    "Noto Sans SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Georgia, "Songti SC", serif;

  --ease: cubic-bezier(0.22, 0.68, 0.18, 1);
}

* { box-sizing: border-box; }

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

section[id] { scroll-margin-top: 92px; }

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

body.is-locked { overflow: hidden; }

h1, h2, h3, h4, h5 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; }
button { font: inherit; color: inherit; cursor: pointer; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.br-m { display: none; }

/* ---------- shared bits ---------- */

.eyebrow {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  transition: transform 0.35s var(--ease), background 0.3s, color 0.3s,
    border-color 0.3s, box-shadow 0.35s var(--ease), opacity 0.3s;
}
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-block { width: 100%; }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(20, 23, 26, 0.6); }

.btn-line { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: rgba(20, 23, 26, 0.3); background: rgba(20, 23, 26, 0.03); }

.btn-quiet { color: var(--ink-2); background: transparent; padding: 10px 14px; }
.btn-quiet:hover { color: var(--ink); background: rgba(20, 23, 26, 0.04); }

.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -16px rgba(0, 0, 0, 0.55); }

.btn-outline-light { border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.btn-outline-light:hover { border-color: rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.06); }

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

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(250, 249, 246, 0.82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--line-soft);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
  height: 76px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand-logo { height: 30px; width: auto; }
.brand-text {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.16em;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}
.brand-cn {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.nav-links { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav-links a {
  font-size: 13.5px;
  color: var(--ink-2);
  position: relative;
  padding: 6px 0;
  transition: color 0.25s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--ink);
  transition: width 0.35s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 8px; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  background: none; border: 0;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  margin-left: auto;
}
.nav-toggle span { display: block; height: 1.5px; background: var(--ink); width: 20px; transition: transform 0.3s, opacity 0.3s; }
.nav.is-open .nav-toggle span:first-child { transform: translateY(3.2px) rotate(45deg); }
.nav.is-open .nav-toggle span:last-child { transform: translateY(-3.2px) rotate(-45deg); }

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

.hero {
  position: relative;
  padding: 148px 0 96px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -260px;
  right: -180px;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle at center, rgba(33, 80, 116,0.09), transparent 62%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 72px;
  align-items: center;
  position: relative;
}

.hero h1 {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 600;
}
.hero-lede {
  margin-top: 26px;
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--ink-2);
  max-width: 480px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.hero-meta i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: 0.5; }

/* hero panel */
.hero-visual { position: relative; }
.panel {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 22px 22px 18px;
  box-shadow: 0 40px 90px -50px rgba(20, 23, 26, 0.45),
    0 2px 6px rgba(20, 23, 26, 0.03);
}
.panel-head { display: flex; align-items: center; justify-content: space-between; }
.live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 11px;
  border-radius: 999px;
}
.live .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 0 rgba(78, 134, 180,0.5);
  animation: breathe 2.4s infinite;
}
@keyframes breathe {
  0% { box-shadow: 0 0 0 0 rgba(78, 134, 180,0.45); }
  70% { box-shadow: 0 0 0 7px rgba(78, 134, 180,0); }
  100% { box-shadow: 0 0 0 0 rgba(78, 134, 180,0); }
}
.panel-meta { font-size: 12px; color: var(--muted); letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }

.radar {
  position: relative;
  width: 100%;
  max-width: 330px;
  margin: 16px auto 22px;
  aspect-ratio: 1;
  color: var(--accent);
}
.radar-rings { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--accent); }
.radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(78, 134, 180,0) 0deg,
    rgba(78, 134, 180,0.02) 40deg,
    rgba(78, 134, 180,0.16) 62deg,
    rgba(78, 134, 180,0) 66deg
  );
  animation: sweep 7s linear infinite;
  mask: radial-gradient(circle, #000 100%, #000 100%);
}
@keyframes sweep { to { transform: rotate(360deg); } }

.radar-dot {
  position: absolute;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 0 rgba(78, 134, 180,0.35);
  animation: ping 3.2s infinite;
}
.radar-dot.d1 { top: 29%; left: 62%; animation-delay: 0.2s; }
.radar-dot.d2 { top: 63%; left: 33%; animation-delay: 1.4s; }
.radar-dot.d3 { top: 47%; left: 76%; animation-delay: 2.3s; width: 5px; height: 5px; opacity: 0.7; }
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(78, 134, 180,0.4); }
  70% { box-shadow: 0 0 0 10px rgba(78, 134, 180,0); }
  100% { box-shadow: 0 0 0 0 rgba(78, 134, 180,0); }
}

.radar-core {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
}
.core-num {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
  color: var(--ink);
  font-weight: 500;
}
.core-label { font-size: 10.5px; letter-spacing: 0.14em; color: var(--muted); }

.readouts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-soft);
  padding-top: 16px;
}
.readouts li {
  padding: 0 14px;
  border-left: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.readouts li:first-child { border-left: 0; padding-left: 0; }
.r-label { font-size: 11px; color: var(--muted); letter-spacing: 0.08em; }
.readouts b {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.readouts em { font-style: normal; font-size: 10.5px; color: var(--muted); letter-spacing: 0.03em; }

.panel-alert {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: rgba(225, 124, 15, 0.07);
  border: 1px solid rgba(225, 124, 15, 0.18);
  font-size: 11.5px;
  color: #96590d;
  line-height: 1.5;
}
.alert-ico {
  flex: none;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--amber);
}
.panel-caption {
  margin-top: 14px;
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* ---------- stats ---------- */

.stats { padding: 56px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-num {
  font-family: var(--serif);
  font-size: clamp(34px, 3.6vw, 46px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.stat-label { font-size: 13px; color: var(--ink-2); display: flex; flex-direction: column; gap: 4px; }
.stat-label em { font-style: normal; font-size: 11.5px; color: var(--muted); letter-spacing: 0.02em; }

/* ---------- section shell ---------- */

.section { padding: 104px 0; }
.section-tint { background: var(--tint); }
.section-sand { background: var(--sand); }

.sec-head { max-width: 720px; margin-bottom: 60px; }
.sec-head h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.24;
  letter-spacing: -0.035em;
}
.sec-lede {
  margin-top: 22px;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.85;
  max-width: 620px;
}
.sec-head-tight { margin-bottom: 44px; }

/* ---------- why ---------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.why-card {
  background: var(--bg);
  padding: 38px 32px 42px;
  transition: background 0.4s;
}
.why-card:hover { background: #fff; }
.why-index {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent);
  display: block;
  margin-bottom: 26px;
}
.why-card h3 { font-size: 19px; margin-bottom: 12px; letter-spacing: -0.02em; }
.why-card p { font-size: 14.5px; color: var(--ink-2); line-height: 1.8; }

.why-turn {
  margin-top: 56px;
  font-size: clamp(20px, 2.3vw, 27px);
  line-height: 1.6;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 860px;
  font-weight: 500;
}
.why-turn strong { font-weight: 600; color: var(--accent); }

/* ---------- capabilities ---------- */

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.cap {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 30px 28px 32px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.4s;
}
.cap:hover {
  transform: translateY(-4px);
  border-color: var(--line);
  box-shadow: 0 26px 50px -34px rgba(20, 23, 26, 0.4);
}
.cap-ico {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.cap-ico svg { width: 20px; height: 20px; }
.cap h3 { font-size: 18px; margin-bottom: 10px; }
.cap p { font-size: 14px; color: var(--ink-2); line-height: 1.8; }

.cap-list { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.cap-list li {
  font-size: 12.5px;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(33, 80, 116,0.2);
  padding: 5px 12px;
  border-radius: 999px;
}

/* privacy block */
.privacy {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  padding: 44px 44px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-lg);
  align-items: center;
}
.privacy .eyebrow { color: rgba(255, 255, 255, 0.55); margin-bottom: 16px; }
.privacy .eyebrow::before { background: rgba(255, 255, 255, 0.5); }
.privacy h3 { font-size: 24px; margin-bottom: 14px; letter-spacing: -0.02em; }
.privacy-copy p:last-child { color: rgba(255, 255, 255, 0.66); font-size: 14px; line-height: 1.85; }
.privacy-list { display: flex; flex-direction: column; gap: 0; }
.privacy-list li {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.86);
}
.privacy-list li:first-child { border-top: 0; }
.privacy-list span {
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- tags ---------- */

.tag-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 44px 72px;
}
.tag-group h4 {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(20, 23, 26, 0.12);
}
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chips span {
  font-size: 13.5px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(20, 23, 26, 0.08);
  color: var(--ink-2);
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.chips span:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- scenes ---------- */

.scene-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.scene {
  padding: 30px 26px 34px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.scene:hover { transform: translateY(-4px); box-shadow: 0 24px 46px -34px rgba(20, 23, 26, 0.4); }
.scene-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
  border: 1px solid rgba(33, 80, 116,0.24);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 34px;
}
.scene h3 { font-size: 17px; margin-bottom: 12px; }
.scene p { font-size: 13.5px; color: var(--ink-2); line-height: 1.8; }

/* ---------- architecture ---------- */

.arch {
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.6);
  overflow: hidden;
}
.arch-step { flex: 1; padding: 34px 28px 38px; position: relative; }
.arch-step h4 { font-size: 16px; margin-bottom: 10px; }
.arch-step p { font-size: 13px; color: var(--ink-2); line-height: 1.75; }
.arch-no {
  font-family: var(--serif);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
  display: block;
  margin-bottom: 22px;
}
.arch-line { width: 1px; background: var(--line); }

/* ---------- compare ---------- */

.table-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: auto;
  background: var(--surface);
}
.cmp { width: 100%; border-collapse: collapse; min-width: 720px; }
.cmp th, .cmp td {
  text-align: left;
  padding: 18px 22px;
  font-size: 13.5px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
}
.cmp thead th {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 500;
  padding-top: 22px;
  padding-bottom: 18px;
  background: rgba(20, 23, 26, 0.02);
}
.cmp tbody tr:last-child td { border-bottom: 0; }
.cmp tbody td:first-child { color: var(--ink-2); }
.cmp tbody td { color: var(--ink-2); }
.cmp .col-apna {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 500;
}
.cmp thead th.col-apna { color: var(--accent); background: rgba(33, 80, 116,0.1); }
.table-note { margin-top: 16px; font-size: 12px; color: var(--muted); }

/* ---------- partner ---------- */

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.partner-card {
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(20, 23, 26, 0.09);
  border-radius: var(--r-lg);
  padding: 34px 30px 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), background 0.4s;
}
.partner-card:hover { transform: translateY(-4px); background: #fff; box-shadow: 0 28px 54px -38px rgba(20, 23, 26, 0.45); }
.partner-card h3 { font-size: 19px; }
.partner-sub { margin-top: 8px; font-size: 12.5px; color: var(--muted); letter-spacing: 0.02em; }
.partner-card ul { margin: 26px 0 30px; display: flex; flex-direction: column; gap: 12px; }
.partner-card li {
  font-size: 13.5px;
  color: var(--ink-2);
  padding-left: 16px;
  position: relative;
  line-height: 1.6;
}
.partner-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 5px; height: 5px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0.7;
}
.partner-link {
  margin-top: auto;
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 500;
  transition: color 0.3s, gap 0.3s;
}
.partner-link:hover { color: var(--accent); }
.partner-card-hl { background: var(--ink); color: #fff; border-color: var(--ink); }
.partner-card-hl:hover { background: #1b1f23; }
.partner-card-hl .partner-sub { color: rgba(255, 255, 255, 0.55); }
.partner-card-hl li { color: rgba(255, 255, 255, 0.78); }
.partner-card-hl li::before { border-color: rgba(255, 255, 255, 0.5); }
.partner-card-hl .partner-link { color: #fff; }
.partner-card-hl .partner-link:hover { color: var(--accent-2); }

/* ---------- demo form ---------- */

.demo { background: var(--bg); }
.demo-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 80px;
  align-items: start;
}
.demo-copy h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.3; letter-spacing: -0.03em; }
.demo-points { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.demo-points li {
  font-size: 14px;
  color: var(--ink-2);
  padding-left: 22px;
  position: relative;
}
.demo-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 1px solid var(--accent);
}

.demo-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 34px 34px 30px;
  box-shadow: 0 30px 70px -56px rgba(20, 23, 26, 0.5);
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: span 2; }
.field label { font-size: 12px; color: var(--muted); letter-spacing: 0.06em; }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  appearance: none;
}
.field textarea { resize: vertical; line-height: 1.7; }
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M2.5 4.5L6 8l3.5-3.5' stroke='%2379807f' stroke-width='1.2' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 34px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: rgba(33, 80, 116,0.5);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(33, 80, 116,0.1);
}
.field input::placeholder, .field textarea::placeholder { color: #a9aead; }
.field.has-error input { border-color: #c0563f; box-shadow: 0 0 0 3px rgba(192, 86, 63, 0.1); }

.form-foot { display: flex; align-items: center; gap: 18px; margin-top: 6px; flex-wrap: wrap; }
.form-hint { font-size: 12px; color: var(--muted); line-height: 1.6; flex: 1; min-width: 200px; }
.form-hint.is-ok { color: var(--accent); }
.form-hint.is-err { color: #c0563f; }

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

.faq-wrap { display: grid; grid-template-columns: 0.62fr 1.38fr; gap: 72px; align-items: start; }
.sec-head-side { margin-bottom: 0; position: sticky; top: 110px; }
.faq-list { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 40px 24px 0;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  position: relative;
  transition: color 0.3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px; top: 50%;
  width: 11px; height: 11px;
  margin-top: -6px;
  border-right: 1.4px solid var(--muted);
  border-bottom: 1.4px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.35s var(--ease);
}
.faq[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:hover { color: var(--accent); }
.faq-body {
  padding: 0 48px 26px 0;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.85;
  animation: fade 0.4s var(--ease);
}
@keyframes fade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- closing ---------- */

.closing {
  background: var(--ink);
  color: #fff;
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}.closing::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 1200px; height: 1200px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(78, 134, 180,0.16), transparent 60%);
  pointer-events: none;
}
.closing-inner {
  text-align: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 72px;
}
.closing-copy { text-align: center; }
.closing h2 { font-size: clamp(30px, 4vw, 50px); letter-spacing: -0.04em; }
.closing p { margin-top: 18px; color: rgba(255, 255, 255, 0.6); font-size: 15px; }
.closing-cta { margin-top: 38px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.closing-qr {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.closing-qr img {
  width: 128px;
  height: 128px;
  border-radius: 14px;
  background: #fff;
  padding: 8px;
  box-shadow: 0 20px 44px -20px rgba(0, 0, 0, 0.55);
  transition: transform 0.4s var(--ease);
}
.closing-qr:hover img { transform: translateY(-4px); }
.closing-qr span {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.72);
}
@media (max-width: 860px) {
  .closing-inner { flex-direction: column; gap: 44px; }
}

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

.footer { background: var(--bg); padding: 72px 0 34px; border-top: 1px solid var(--line-soft); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}
.brand-footer { margin-bottom: 18px; }
.footer-desc { font-size: 13px; color: var(--muted); line-height: 1.9; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h5 { font-size: 12px; letter-spacing: 0.12em; color: var(--muted); font-weight: 500; margin-bottom: 6px; }
.footer-col a, .footer-col span { font-size: 13.5px; color: var(--ink-2); transition: color 0.3s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
  font-size: 12px;
  color: var(--muted);
}
.footer-note { opacity: 0.85; }

/* ---------- modal ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 23, 26, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.modal-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 36px 34px 30px;
  box-shadow: 0 40px 90px -30px rgba(20, 23, 26, 0.5);
  transform: translateY(14px) scale(0.985);
  transition: transform 0.4s var(--ease);
}
.modal.is-open .modal-card { transform: none; }
.modal-card h3 { font-size: 23px; letter-spacing: -0.02em; }
.modal-sub { margin-top: 10px; font-size: 13px; color: var(--muted); }
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 32px; height: 32px;
  border: 0;
  background: transparent;
  border-radius: 50%;
  font-size: 21px;
  line-height: 1;
  color: var(--muted);
  transition: background 0.25s, color 0.25s;
}
.modal-close:hover { background: rgba(20, 23, 26, 0.06); color: var(--ink); }

.auth-tabs {
  display: flex;
  gap: 4px;
  margin: 26px 0 20px;
  padding: 4px;
  background: var(--bg);
  border-radius: 999px;
  border: 1px solid var(--line-soft);
}
.auth-tab {
  flex: 1;
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 8px 0;
  font-size: 13px;
  color: var(--muted);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.auth-tab.is-active { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(20, 23, 26, 0.07); }

#authForm { display: flex; flex-direction: column; gap: 16px; }
.code-row { display: flex; gap: 10px; }
.code-row input { flex: 1; }
.btn-code { padding: 0 16px; font-size: 13px; white-space: nowrap; }
.btn-code:disabled { opacity: 0.5; cursor: not-allowed; }

.form-error {
  font-size: 12.5px;
  color: #c0563f;
  line-height: 1.6;
}
.auth-tip {
  margin-top: 18px;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--muted);
  border-top: 1px solid var(--line-soft);
  padding-top: 14px;
}
.auth-tip b { color: var(--ink-2); font-weight: 600; }

/* ---------- member drawer ---------- */

.drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.drawer.is-open { opacity: 1; pointer-events: auto; }
.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 23, 26, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.drawer-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 100%);
  background: var(--bg);
  padding: 30px 28px;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: flex-start; justify-content: space-between; }
.drawer-head h3 { font-size: 22px; }
.drawer-head .modal-close { position: static; }

.member-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 18px;
}
.member-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 18px;
  flex: none;
}
.member-name { font-size: 14.5px; font-weight: 500; font-variant-numeric: tabular-nums; }
.member-since { font-size: 11.5px; color: var(--muted); }

.drawer-sub { font-size: 12px; letter-spacing: 0.12em; color: var(--muted); font-weight: 500; }
.booking-list { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.booking {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 16px 18px;
}
.booking-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.booking-scene { font-size: 14px; font-weight: 500; }
.booking-status {
  font-size: 11px;
  color: var(--amber);
  background: rgba(225, 124, 15, 0.1);
  padding: 2px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.booking-meta { margin-top: 8px; font-size: 12px; color: var(--muted); line-height: 1.7; }
.empty { font-size: 13px; color: var(--muted); padding: 22px 0; }

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

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }

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

/* ============================================================
   responsive
   ============================================================ */

@media (max-width: 1040px) {
  .hero-grid { gap: 48px; }
  .nav-links { gap: 22px; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .scene-grid { grid-template-columns: repeat(2, 1fr); }
  .demo-grid { gap: 48px; }
  .faq-wrap { grid-template-columns: 1fr; gap: 40px; }
  .sec-head-side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: span 3; }
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    inset: 76px 0 auto 0;
    background: rgba(250, 249, 246, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 28px 22px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s var(--ease);
  }
  .nav.is-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 14px 0; width: 100%; font-size: 15px; border-bottom: 1px solid var(--line-soft); }
  .nav-links a::after { display: none; }
  .nav-actions .btn-quiet { display: none; }
  .nav-toggle { display: flex; }
  .nav-inner { gap: 14px; }
  .nav-actions { margin-left: 0; }

  .hero { padding-top: 116px; }
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero-lede { max-width: none; }
  .hero-visual { max-width: 420px; margin: 0 auto; width: 100%; }
  .br-m { display: inline; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 24px; }
  .section { padding: 76px 0; }
  .why-grid { grid-template-columns: 1fr; }
  .why-card { padding: 30px 26px 34px; }
  .why-grid .why-card:not(:last-child) { border-bottom: 1px solid var(--line); }
  .privacy { grid-template-columns: 1fr; gap: 30px; padding: 32px 26px; }
  .tag-groups { grid-template-columns: 1fr; gap: 34px; }
  .arch { flex-direction: column; }
  .arch-line { width: auto; height: 1px; }
  .partner-grid { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
  .demo-form { padding: 26px 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: span 2; }
  .closing { padding: 80px 0; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .hero h1 { font-size: 34px; }
  .hero-cta .btn { flex: 1; }
  .readouts li { padding: 0 8px; }
  .readouts b { font-size: 20px; }
  .panel { padding: 16px 16px 14px; border-radius: 22px; }
  .stats-grid { gap: 26px 16px; }
  .stat-num { font-size: 30px; }
  .scene-grid { grid-template-columns: 1fr; }
  .demo-form { grid-template-columns: 1fr; }
  .field-full { grid-column: span 1; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .form-foot .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .modal-card { padding: 28px 22px 24px; }
  .closing-cta .btn { width: 100%; }
}

/* ============================================================
   v2 additions — mission / story / product / value
   ============================================================ */

/* ---------- mission (dark, night sky) ---------- */

.mission {
  position: relative;
  background: linear-gradient(180deg, #0a1622 0%, #0e2233 55%, #0a1622 100%);
  color: #fff;
  padding: 120px 0 96px;
  overflow: hidden;
}
.mission-sky {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(255,255,255,.85), transparent 60%),
    radial-gradient(1px 1px at 28% 12%, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(1.5px 1.5px at 44% 28%, rgba(255,255,255,.6), transparent 60%),
    radial-gradient(1px 1px at 61% 8%, rgba(255,255,255,.8), transparent 60%),
    radial-gradient(2px 2px at 76% 18%, rgba(255,255,255,.75), transparent 60%),
    radial-gradient(1px 1px at 88% 30%, rgba(255,255,255,.6), transparent 60%),
    radial-gradient(1.5px 1.5px at 8% 44%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1px 1px at 35% 40%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(1.5px 1.5px at 55% 46%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1px 1px at 70% 38%, rgba(255,255,255,.6), transparent 60%),
    radial-gradient(1px 1px at 93% 52%, rgba(255,255,255,.45), transparent 60%),
    radial-gradient(1.2px 1.2px at 18% 60%, rgba(255,255,255,.4), transparent 60%),
    radial-gradient(1px 1px at 82% 62%, rgba(255,255,255,.4), transparent 60%),
    radial-gradient(60% 42% at 50% 108%, rgba(15, 46, 66, 0.9), transparent 70%);
}
.mission-inner { position: relative; text-align: center; }
.mission-orb {
  position: relative;
  width: min(420px, 82vw);
  aspect-ratio: 1;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orb {
  position: absolute;
  border-radius: 50%;
}
.orb-1 { inset: 0; background: rgba(33, 80, 116, 0.18); }
.orb-2 { inset: 11%; background: rgba(33, 80, 116, 0.32); }
.orb-3 { inset: 22%; background: linear-gradient(160deg, #1d5a86 0%, #174a70 100%); box-shadow: 0 30px 80px -30px rgba(0,0,0,.6); }
.orb-core {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 12%;
}
.orb-ico { width: 34px; height: 34px; opacity: .95; }
.orb-title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.32em;
  margin-left: 0.32em;
}
.orb-quote {
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.06em;
}
.mission-sub {
  margin-top: 44px;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- brand story ---------- */

.story { padding-top: 110px; }
.story-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 80px;
  align-items: start;
}
.story-copy h2 { font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -0.03em; }
.story-copy p {
  margin-top: 24px;
  font-size: 15px;
  line-height: 1.95;
  color: var(--ink-2);
  max-width: 640px;
}
.story-copy p strong { color: var(--accent); font-weight: 600; }

.timeline {
  border-left: 1px solid var(--line);
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding-top: 8px;
}
.t-item { position: relative; }
.t-item::before {
  content: "";
  position: absolute;
  left: -32.5px;
  top: 7px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--accent);
}
.t-now::before { background: var(--brand-orange); border-color: var(--brand-orange); }
.t-year {
  display: block;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 8px;
}
.t-item p { font-size: 13.5px; color: var(--ink-2); line-height: 1.8; margin: 0; }

/* ---------- product peek ---------- */

.peek-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}
.device-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 14px;
  box-shadow: 0 36px 80px -52px rgba(20, 23, 26, 0.5);
}
.device-card img {
  width: 100%;
  aspect-ratio: 1 / 1.02;
  object-fit: cover;
  border-radius: calc(var(--r-lg) - 6px);
  display: block;
}
.device-card figcaption {
  padding: 14px 6px 4px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-align: center;
}
.peek-copy h2 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -0.03em; }
.peek-lede {
  margin-top: 22px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-2);
  max-width: 520px;
}
.sav {
  margin-top: 34px;
  padding: 24px 26px;
  background: var(--surface);
  border: 1px solid rgba(33, 80, 116, 0.16);
  border-radius: var(--r-md);
}
.sav-head { display: flex; align-items: center; gap: 14px; }
.sav-plus {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--brand-orange);
  line-height: 1;
}
.sav-name { font-size: 18px; font-weight: 600; letter-spacing: 0.02em; color: var(--brand-blue); }
.sav-full {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-family: var(--serif);
}
.sav-cn {
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink-2);
}
.peek-points { margin-top: 26px; display: flex; flex-direction: column; gap: 13px; }
.peek-points li {
  font-size: 13.5px;
  color: var(--ink-2);
  padding-left: 22px;
  position: relative;
}
.peek-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 1px solid var(--accent);
}

/* ---------- core value ---------- */

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.value-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(20, 23, 26, 0.09);
  border-radius: var(--r-lg);
  padding: 36px 34px 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), background 0.4s;
}
.value-card:hover { transform: translateY(-4px); background: #fff; box-shadow: 0 28px 54px -38px rgba(20, 23, 26, 0.45); }
.value-no {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--brand-orange);
  display: block;
  margin-bottom: 20px;
}
.value-card h3 {
  font-size: 19px;
  line-height: 1.5;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.value-card p { font-size: 14px; line-height: 1.85; color: var(--ink-2); }
.value-punch {
  margin-top: auto;
  padding-top: 20px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--brand-blue);
  letter-spacing: -0.01em;
}
.value-punch::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 2px;
  background: var(--brand-orange);
  margin-right: 10px;
  vertical-align: middle;
}

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

@media (max-width: 1040px) {
  .story-grid { grid-template-columns: 1fr; gap: 48px; }
  .timeline { max-width: 520px; }
  .peek-grid { grid-template-columns: 1fr; gap: 48px; }
  .device-card { max-width: 560px; }
  .value-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .mission { padding: 84px 0 72px; }
  .story { padding-top: 84px; }
}
@media (max-width: 560px) {
  .brand-logo { height: 24px; }
  .orb-title { font-size: 19px; }
  .orb-quote { font-size: 13px; }
  .value-card { padding: 28px 24px 26px; }
  .sav { padding: 20px 18px; }
}
