/* Inter (SIL Open Font License 1.1, see assets/fonts/Inter-OFL.txt), self-hosted: variable weight 400-800. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Rynzi website — design tokens mirror the `tokens` section of 01-design.json. */
:root {
  --primary: #6c5ce7;
  --primary-soft: rgba(108, 92, 231, 0.16);
  --secondary: #f2b84b;
  --bg: #0e1020;
  --surface: #171a2b;
  --surface-alt: #1f2338;
  --surface-high: #262b44;
  --text: #ffffff;
  --text-secondary: #aeb4cc;
  --divider: rgba(255, 255, 255, 0.12);
  --outline: rgba(255, 255, 255, 0.18);
  --live: #e5484d;
  --success: #30c48d;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 24px;
  --r-pill: 999px;

  --s-xs: 4px;
  --s-sm: 8px;
  --s-md: 16px;
  --s-lg: 24px;
  --s-xl: 32px;

  --shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  --max: 1160px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--s-lg);
}

.muted {
  color: var(--text-secondary);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-sm);
  height: 46px;
  padding: 0 22px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(108, 92, 231, 0.45);
}

.btn-primary:hover {
  background: #7b6cf0;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--outline);
}

.btn-ghost:hover {
  border-color: var(--primary);
}

.btn-sm {
  height: 36px;
  padding: 0 16px;
  font-size: 14px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 18px;
  border-radius: var(--r-md);
  background: #000;
  border: 1px solid var(--outline);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.store-btn:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
}

.store-btn svg {
  width: 24px;
  height: 24px;
  flex: none;
}

.store-btn small {
  display: block;
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.1;
}

.store-btn strong {
  display: block;
  font-size: 16px;
  line-height: 1.2;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 16, 32, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--divider);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s-lg);
  font-size: 15px;
  color: var(--text-secondary);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: transparent;
  border: 1px solid var(--outline);
  color: var(--text);
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 72px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/profile_cover.png") center top / cover no-repeat;
  opacity: 0.55;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 16, 32, 0.35) 0%, var(--bg) 92%);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-sm);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--primary-soft);
  border: 1px solid rgba(108, 92, 231, 0.4);
  color: #c9c1ff;
  font-size: 13px;
  font-weight: 600;
}

.dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 0 rgba(229, 72, 77, 0.6);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(229, 72, 77, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(229, 72, 77, 0); }
  100% { box-shadow: 0 0 0 0 rgba(229, 72, 77, 0); }
}

.hero h1 {
  margin-top: var(--s-md);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
}

.hero h1 .accent {
  background: linear-gradient(90deg, #a99cff, var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin-top: var(--s-md);
  max-width: 540px;
  font-size: 18px;
  color: var(--text-secondary);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--s-xl);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-lg);
  margin-top: var(--s-xl);
  font-size: 14px;
  color: var(--text-secondary);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-meta svg {
  width: 16px;
  height: 16px;
  color: var(--success);
}

/* ---------- Phone mockup ---------- */
.phone {
  position: relative;
  width: 300px;
  margin: 0 auto;
  padding: 12px;
  border-radius: 44px;
  background: #05060d;
  border: 1px solid var(--outline);
  box-shadow: 0 30px 80px rgba(108, 92, 231, 0.35), var(--shadow);
}

.phone-screen {
  border-radius: 34px;
  overflow: hidden;
  background: var(--bg);
  padding: 18px 14px 12px;
  min-height: 560px;
  display: flex;
  flex-direction: column;
}

.phone-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.phone-top h4 {
  font-size: 20px;
}

.phone-chips {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  overflow: hidden;
}

.chip {
  flex: none;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-size: 11px;
  background: var(--surface-alt);
  color: var(--text-secondary);
  border: 1px solid var(--divider);
}

.chip.on {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.live-card {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--divider);
  margin-bottom: 10px;
}

.live-card .cover {
  height: 110px;
  background-size: cover;
  background-position: center;
}

.live-card .badge {
  position: absolute;
  top: 8px;
  left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  background: var(--live);
  font-size: 10px;
  font-weight: 700;
}

.live-card .viewers {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  background: rgba(0, 0, 0, 0.55);
  font-size: 10px;
}

.live-card .body {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
}

.live-card .body img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.live-card .body .t {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

.live-card .body .s {
  font-size: 10px;
  color: var(--text-secondary);
}

.live-card .join {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--primary);
  font-size: 10px;
  font-weight: 600;
}

.phone-tabs {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  padding-top: 10px;
  border-top: 1px solid var(--divider);
  font-size: 10px;
  color: var(--text-secondary);
}

.phone-tabs span.on {
  color: #a99cff;
  font-weight: 600;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--r-md);
  background: rgba(23, 26, 43, 0.92);
  border: 1px solid var(--outline);
  box-shadow: var(--shadow);
  font-size: 13px;
  backdrop-filter: blur(8px);
}

.float-card img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.float-card small {
  display: block;
  color: var(--text-secondary);
  font-size: 11px;
}

.float-a {
  top: 300px;
  left: -150px;
}

.float-b {
  bottom: -24px;
  right: -70px;
}

.float-b .gift {
  font-size: 22px;
}

/* ---------- Sections ---------- */
section {
  padding: 88px 0;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head .kicker {
  color: var(--secondary);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-head h2 {
  margin-top: var(--s-sm);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
}

.section-head p {
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 17px;
}

/* Stats */
.stats {
  padding: 0 0 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-md);
}

.stat {
  padding: 20px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--divider);
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
}

.stat span {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-md);
}

.feature {
  padding: var(--s-lg);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--divider);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature:hover {
  border-color: rgba(108, 92, 231, 0.6);
  transform: translateY(-3px);
}

.feature .icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--primary-soft);
  color: #b4a9ff;
  margin-bottom: var(--s-md);
}

.feature .icon svg {
  width: 22px;
  height: 22px;
}

.feature h3 {
  font-size: 18px;
  margin-bottom: var(--s-sm);
}

.feature p {
  font-size: 15px;
  color: var(--text-secondary);
}

/* Split rows */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split + .split {
  margin-top: 88px;
}

.split.reverse .split-media {
  order: 2;
}

.split-media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--divider);
  background: var(--surface);
}

.split-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-media .overlay {
  position: absolute;
  left: var(--s-md);
  right: var(--s-md);
  bottom: var(--s-md);
  padding: 14px;
  border-radius: var(--r-md);
  background: rgba(14, 16, 32, 0.82);
  border: 1px solid var(--outline);
  backdrop-filter: blur(8px);
}

.seats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  text-align: center;
  font-size: 11px;
  color: var(--text-secondary);
}

.seats img,
.seats .empty {
  width: 44px;
  height: 44px;
  margin: 0 auto 4px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.seats .empty {
  display: grid;
  place-items: center;
  border: 2px dashed var(--outline);
  color: var(--text-secondary);
  font-size: 18px;
}

.split-copy .kicker {
  color: var(--secondary);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.split-copy h2 {
  margin-top: var(--s-sm);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
}

.split-copy > p {
  margin-top: var(--s-md);
  color: var(--text-secondary);
  font-size: 17px;
}

.checks {
  list-style: none;
  padding: 0;
  margin: var(--s-lg) 0 0;
  display: grid;
  gap: 12px;
}

.checks li {
  display: flex;
  gap: 12px;
  font-size: 15px;
}

.checks li::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4a9ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.checks li b {
  display: block;
}

.checks li span {
  color: var(--text-secondary);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-md);
  counter-reset: step;
}

.step {
  position: relative;
  padding: var(--s-lg);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--divider);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-bottom: var(--s-md);
  background: var(--primary);
  font-weight: 700;
  font-size: 14px;
}

.step h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.step p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Community */
.community {
  background: linear-gradient(180deg, var(--bg), var(--surface) 50%, var(--bg));
}

.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-md);
}

.review {
  padding: var(--s-lg);
  border-radius: var(--r-lg);
  background: var(--surface-alt);
  border: 1px solid var(--divider);
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
}

.review .stars {
  color: var(--secondary);
  letter-spacing: 2px;
}

.review p {
  font-size: 15px;
}

.review .who {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  font-size: 14px;
}

.review .who img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.review .who small {
  display: block;
  color: var(--text-secondary);
  font-size: 12px;
}

.interest-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 48px;
}

.interest-cloud .chip {
  font-size: 14px;
  padding: 8px 16px;
}

/* Gifts */
.gift-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--divider);
  padding: 48px;
  background: var(--surface);
}

.gift-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/gift_bg.png") center / cover no-repeat;
  opacity: 0.25;
}

.gift-panel > * {
  position: relative;
}

.gift-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.gift-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gift-item {
  padding: 16px 8px;
  border-radius: var(--r-md);
  background: rgba(14, 16, 32, 0.75);
  border: 1px solid var(--outline);
  text-align: center;
}

.gift-item .emoji {
  font-size: 30px;
}

.gift-item img.emoji {
  display: block;
  width: 38px;
  height: 38px;
  margin: 0 auto;
  object-fit: contain;
}

.gift-item div {
  font-size: 13px;
  font-weight: 600;
  margin-top: 4px;
}

.gift-item small {
  color: var(--secondary);
  font-size: 12px;
}

/* FAQ */
.faq {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq details {
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--divider);
  padding: 0 20px;
}

.faq details[open] {
  border-color: rgba(108, 92, 231, 0.55);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: var(--s-md);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--text-secondary);
  font-size: 20px;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  padding-bottom: 18px;
  color: var(--text-secondary);
  font-size: 15px;
}

/* CTA */
.cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  border-radius: var(--r-lg);
  padding: 64px var(--s-lg);
  border: 1px solid var(--divider);
  background: var(--surface);
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/voice_stage.png") center / cover no-repeat;
  opacity: 0.5;
}

.cta > * {
  position: relative;
}

.cta img.logo {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  margin: 0 auto var(--s-md);
  box-shadow: 0 10px 40px rgba(108, 92, 231, 0.6);
}

.cta h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800;
}

.cta p {
  margin: 12px auto 0;
  max-width: 520px;
  color: var(--text-secondary);
}

.cta .stores {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--s-xl);
}

.cta .fine {
  margin-top: var(--s-md);
  font-size: 13px;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--divider);
  padding: 56px 0 32px;
  margin-top: 40px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: var(--s-xl);
}

.footer-grid h4 {
  font-size: 14px;
  margin-bottom: 12px;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  color: var(--text-secondary);
}

.footer-grid ul a:hover {
  color: var(--text);
}

.footer-grid .brand + p {
  margin-top: 12px;
  color: var(--text-secondary);
  max-width: 320px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-md);
  margin-top: 40px;
  padding-top: var(--s-lg);
  border-top: 1px solid var(--divider);
  color: var(--text-secondary);
  font-size: 13px;
}

/* ---------- Legal / document pages ---------- */
.doc-hero {
  padding: 64px 0 32px;
  border-bottom: 1px solid var(--divider);
  background: radial-gradient(ellipse at top, rgba(108, 92, 231, 0.25), transparent 60%);
}

.doc-hero h1 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
}

.doc-hero p {
  margin-top: 10px;
  color: var(--text-secondary);
}

.doc-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  padding: 48px 0 24px;
}

.doc-toc {
  position: sticky;
  top: 88px;
  align-self: start;
  font-size: 14px;
}

.doc-toc h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.doc-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.doc-toc a {
  color: var(--text-secondary);
}

.doc-toc a:hover {
  color: var(--text);
}

.doc {
  max-width: 760px;
}

.doc section {
  padding: 0;
  margin-bottom: 40px;
  scroll-margin-top: 88px;
}

.doc h2 {
  font-size: 22px;
  margin-bottom: 12px;
}

.doc h3 {
  font-size: 17px;
  margin: 20px 0 8px;
}

.doc p,
.doc li {
  color: #d3d7e6;
  font-size: 15px;
}

.doc p + p {
  margin-top: 12px;
}

.doc ul {
  padding-left: 20px;
  margin: 12px 0 0;
  display: grid;
  gap: 6px;
}

.doc a {
  color: #b4a9ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.doc table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 14px;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--divider);
}

.doc th,
.doc td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--divider);
  vertical-align: top;
}

.doc th {
  background: var(--surface-alt);
  font-weight: 600;
}

.doc td {
  color: #d3d7e6;
  background: var(--surface);
}

.doc tr:last-child td {
  border-bottom: none;
}

.note {
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: var(--primary-soft);
  border: 1px solid rgba(108, 92, 231, 0.4);
  font-size: 15px;
}

.note.warn {
  background: rgba(242, 184, 75, 0.1);
  border-color: rgba(242, 184, 75, 0.4);
}

.card-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.card-list > div {
  padding: 16px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--divider);
}

.card-list b {
  display: block;
  margin-bottom: 4px;
}

.card-list span {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .dot-live {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid,
  .split,
  .gift-grid {
    grid-template-columns: 1fr;
  }
  .split.reverse .split-media {
    order: 0;
  }
  .hero {
    padding-top: 56px;
  }
  .hero-visual {
    margin-top: 16px;
  }
  .feature-grid,
  .reviews {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .doc-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .doc-toc {
    position: static;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }
  .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--s-lg) 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--divider);
    display: none;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 12px 0;
    border-bottom: 1px solid var(--divider);
  }
  .nav-links .btn {
    margin-top: 12px;
  }
  section {
    padding: 64px 0;
  }
  .feature-grid,
  .reviews,
  .steps,
  .card-list {
    grid-template-columns: 1fr;
  }
  .gift-panel {
    padding: 28px 20px;
  }
  .float-a,
  .float-b {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
