/* ============================================================
   Minine Aloud — official site
   Editorial print × retro cassette. Brand: 电波紫 #6C5CE7
   ============================================================ */

:root {
  --paper: #f5f0e6;
  --paper-deep: #ece5d6;
  --ink: #201c33;
  --ink-soft: #4d4863;
  --ink-faint: #8b86a0;
  --accent: #6c5ce7;
  --accent-deep: #5546d4;
  --coral: #ff7a59;
  --mint: #27b98c;
  --line: rgba(32, 28, 51, 0.16);
  --line-strong: rgba(32, 28, 51, 0.4);
  --deck: #23202f;
  --deck-2: #2c2839;
  --paper-on-deck: #f1ecdf;
  --radius: 18px;
  --font-display: "Fraunces", "Songti SC", serif;
  --font-body: "Inter", -apple-system, "PingFang SC", sans-serif;
  --font-mono: "Space Mono", "SF Mono", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  /* subtle paper grain */
  background-image:
    radial-gradient(rgba(32, 28, 51, 0.028) 1px, transparent 1px),
    radial-gradient(rgba(32, 28, 51, 0.02) 1px, transparent 1px);
  background-size: 3px 3px, 5px 5px;
  background-position: 0 0, 1px 2px;
}

::selection { background: var(--accent); color: #fff; }

a { color: inherit; }

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

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- type helpers ---------- */

.kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; }

.section-head { margin-bottom: 48px; max-width: 720px; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 52px); margin-top: 14px; }
.section-head p { margin-top: 16px; color: var(--ink-soft); font-size: 18px; max-width: 60ch; }

.mono { font-family: var(--font-mono); }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 240, 230, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.08em;
}

.brand .brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--accent);
  display: grid;
  place-items: center;
  color: #fff;
  flex: none;
}

.brand .brand-mark svg { width: 18px; height: 18px; }

.brand em { font-style: normal; color: var(--accent); }

.site-nav { display: flex; align-items: center; gap: 30px; }

.site-nav a {
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.15s;
}

.site-nav a:hover { color: var(--ink); }

.site-nav a.btn { color: var(--paper); }
.site-nav a.btn:hover { color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid var(--ink);
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
}

.btn:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(108, 92, 231, 0.32); }

.btn.small { padding: 9px 18px; font-size: 14px; }

.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); box-shadow: none; }

.btn.accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.accent:hover { background: var(--accent-deep); border-color: var(--accent-deep); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--ink);
}

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

.hero {
  padding: 84px 0 0;
  border-bottom: 1.5px solid var(--ink);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 72px;
}

.hero h1 {
  font-size: clamp(44px, 6.6vw, 84px);
  line-height: 1.04;
}

.hero h1 .accent-word { color: var(--accent); font-style: italic; }

.hero .lede {
  margin-top: 26px;
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 54ch;
}

.hero-cta { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.hero-note { margin-top: 18px; font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-faint); letter-spacing: 0.04em; }

/* stats strip under hero */
.stat-strip {
  border-top: 1.5px solid var(--ink);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-strip .stat {
  padding: 22px 26px 26px;
  border-right: 1px solid var(--line);
}

.stat-strip .stat:last-child { border-right: none; }

.stat .stat-n {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 600;
  color: var(--ink);
}

.stat .stat-n sup { font-size: 0.45em; color: var(--accent); }

.stat .stat-l {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 4px;
}

/* ---------- cassette ---------- */

.cassette-stage { position: relative; display: grid; place-items: center; }

.cassette {
  width: min(430px, 100%);
  aspect-ratio: 430 / 276;
  background: linear-gradient(160deg, #ffffff 0%, #f0eadb 100%);
  border: 1.5px solid var(--ink);
  border-radius: 22px;
  box-shadow:
    10px 10px 0 rgba(32, 28, 51, 0.9),
    0 30px 60px rgba(32, 28, 51, 0.18);
  padding: 5.2%;
  position: relative;
  rotate: -2.5deg;
  transition: rotate 0.4s ease;
}

.cassette:hover { rotate: 0deg; }

.cassette-label {
  background: var(--accent);
  color: #fff;
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  padding: 4.5% 6%;
  font-family: var(--font-mono);
}

.cassette-label .row1 {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: clamp(10px, 1.2vw, 12px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
}

.cassette-label .row2 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 2.6vw, 26px);
  margin-top: 2%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cassette-window {
  margin-top: 5%;
  background: var(--deck);
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  padding: 3.5% 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6%;
}

.reel {
  width: 21%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid var(--paper-on-deck);
  position: relative;
  animation: spin 3.2s linear infinite;
  flex: none;
}

.reel::before {
  content: "";
  position: absolute;
  inset: 26%;
  border-radius: 50%;
  border: 2px solid var(--paper-on-deck);
}

.reel::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px dashed rgba(241, 236, 223, 0.55);
}

.reel.slow { animation-duration: 4.8s; }

@keyframes spin { to { transform: rotate(360deg); } }

.tape-eq {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 7%;
  height: 46%;
}

.tape-eq i {
  width: 9%;
  background: var(--accent);
  border-radius: 3px;
  animation: eq 1.1s ease-in-out infinite;
}

.tape-eq i:nth-child(1) { height: 45%; animation-delay: 0s; }
.tape-eq i:nth-child(2) { height: 90%; animation-delay: 0.18s; }
.tape-eq i:nth-child(3) { height: 60%; animation-delay: 0.36s; }
.tape-eq i:nth-child(4) { height: 100%; animation-delay: 0.1s; }
.tape-eq i:nth-child(5) { height: 52%; animation-delay: 0.28s; }

@keyframes eq {
  0%, 100% { transform: scaleY(0.45); }
  50% { transform: scaleY(1); }
}

.cassette-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 4.5%;
  font-family: var(--font-mono);
  font-size: clamp(9px, 1.1vw, 11px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hero-sticker {
  position: absolute;
  top: -8px;
  right: 2%;
  background: var(--coral);
  color: #fff;
  border: 1.5px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 8px 14px;
  border-radius: 999px;
  rotate: 6deg;
  box-shadow: 3px 3px 0 rgba(32, 28, 51, 0.9);
}

/* ---------- marquee ---------- */

.marquee {
  border-bottom: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding: 13px 0;
}

.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 30s linear infinite;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-track span { display: inline-flex; align-items: center; gap: 48px; }
.marquee-track b { color: var(--accent); font-weight: 400; }

@keyframes marquee { to { transform: translateX(-50%); } }

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

section { padding: 96px 0; }

section + section { border-top: 1px solid var(--line); }

/* numbered feature rows */
.feature-rows { display: flex; flex-direction: column; }

.feature-row {
  display: grid;
  grid-template-columns: 90px 1fr 1.1fr;
  gap: 32px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

.feature-row:last-child { border-bottom: 1px solid var(--line); }

.feature-row .no {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--accent);
  padding-top: 6px;
}

.feature-row h3 { font-size: 26px; }

.feature-row p { color: var(--ink-soft); font-size: 16.5px; max-width: 56ch; }

.feature-row .tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }

.tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.5);
}

.tag.pro { border-color: var(--accent); color: var(--accent); }

/* ---------- engines ---------- */

.engine-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.engine-card {
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 30px 28px;
  background: #fff;
  box-shadow: 6px 6px 0 rgba(32, 28, 51, 0.9);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.18s;
}

.engine-card:hover { transform: translate(-2px, -2px); }

.engine-card .engine-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.engine-card .engine-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--paper-deep);
  color: var(--ink-soft);
}

.engine-card .engine-badge.pro { background: var(--accent); color: #fff; }

.engine-card h3 { font-size: 24px; }

.engine-card p { color: var(--ink-soft); font-size: 15.5px; flex: 1; }

.engine-card .engine-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-faint);
  border-top: 1px dashed var(--line-strong);
  padding-top: 14px;
  letter-spacing: 0.05em;
}

.lang-belt {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.lang-belt .lang {
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 8px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
}

.lang-belt .lang-note { font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint); margin-left: 6px; }

/* ---------- player demo (dark deck) ---------- */

.deck-section {
  background: var(--deck);
  color: var(--paper-on-deck);
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
}

.deck-section .kicker { color: var(--coral); }
.deck-section .kicker::before { background: var(--coral); }
.deck-section .section-head p { color: rgba(241, 236, 223, 0.72); }

.deck-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.player-mock {
  background: var(--deck-2);
  border: 1px solid rgba(241, 236, 223, 0.2);
  border-radius: 26px;
  padding: 30px 28px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}

.player-mock .pm-head {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(241, 236, 223, 0.55);
  margin-bottom: 22px;
}

.player-mock .pm-text {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.75;
  color: rgba(241, 236, 223, 0.62);
}

.player-mock .pm-text .said { color: rgba(241, 236, 223, 0.38); }

.player-mock .pm-text .saying {
  color: #fff;
  background: linear-gradient(0deg, rgba(108, 92, 231, 0.45), rgba(108, 92, 231, 0.45));
  border-radius: 5px;
  padding: 1px 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.player-mock .pm-progress {
  margin: 26px 0 10px;
  height: 4px;
  border-radius: 4px;
  background: rgba(241, 236, 223, 0.16);
  position: relative;
  overflow: hidden;
}

.player-mock .pm-progress i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 38%;
  background: var(--accent);
  border-radius: 4px;
  animation: progress 14s linear infinite;
}

@keyframes progress { from { width: 12%; } to { width: 86%; } }

.player-mock .pm-time {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: rgba(241, 236, 223, 0.5);
}

.player-mock .pm-controls {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
}

.pm-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(241, 236, 223, 0.3);
  display: grid;
  place-items: center;
  color: var(--paper-on-deck);
  font-family: var(--font-mono);
  font-size: 10.5px;
}

.pm-btn.play {
  width: 64px;
  height: 64px;
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.pm-btn.play svg { width: 22px; height: 22px; }
.pm-btn svg { width: 17px; height: 17px; }

.deck-points { display: flex; flex-direction: column; gap: 0; }

.deck-point {
  padding: 22px 0;
  border-top: 1px solid rgba(241, 236, 223, 0.14);
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
}

.deck-point:last-child { border-bottom: 1px solid rgba(241, 236, 223, 0.14); }

.deck-point .dp-no {
  font-family: var(--font-mono);
  color: var(--coral);
  font-size: 13px;
  padding-top: 3px;
}

.deck-point h3 { font-size: 19px; margin-bottom: 5px; color: #fff; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }

.deck-point p { font-size: 15px; color: rgba(241, 236, 223, 0.66); }

/* ---------- AI section ---------- */

.ai-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.ai-card {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.65);
  padding: 30px 28px;
}

.ai-card .ai-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.ai-card .ai-ico svg { width: 21px; height: 21px; }

.ai-card h3 { font-size: 22px; margin-bottom: 8px; }

.ai-card p { color: var(--ink-soft); font-size: 15.5px; }

.privacy-callout {
  margin-top: 26px;
  border: 1.5px dashed var(--accent);
  border-radius: var(--radius);
  padding: 22px 26px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(108, 92, 231, 0.06);
}

.privacy-callout svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 3px; }

.privacy-callout p { font-size: 15.5px; color: var(--ink-soft); }
.privacy-callout p strong { color: var(--ink); }

/* ---------- pricing ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.plan {
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background: #fff;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.plan.featured {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 8px 8px 0 var(--accent);
}

.plan .plan-name {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.plan.featured .plan-name { color: rgba(245, 240, 230, 0.6); }

.plan .plan-price { font-family: var(--font-display); font-size: 44px; font-weight: 600; margin-top: 12px; }
.plan .plan-price small { font-size: 17px; font-family: var(--font-body); font-weight: 500; color: var(--ink-faint); }
.plan.featured .plan-price small { color: rgba(245, 240, 230, 0.6); }

.plan .plan-desc { margin-top: 10px; font-size: 14.5px; color: var(--ink-soft); flex: 1; }
.plan.featured .plan-desc { color: rgba(245, 240, 230, 0.75); }

.plan .plan-cta { margin-top: 24px; }

.plan-flag {
  position: absolute;
  top: -14px;
  right: 20px;
  background: var(--coral);
  color: #fff;
  border: 1.5px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}

.pricing-fineprint {
  margin-top: 26px;
  font-size: 13px;
  color: var(--ink-faint);
  max-width: 74ch;
}

/* free vs pro table */
.compare { margin-top: 64px; overflow-x: auto; }

.compare table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 560px;
}

.compare th, .compare td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.compare thead th {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border-bottom: 1.5px solid var(--ink);
}

.compare td:nth-child(2), .compare td:nth-child(3),
.compare th:nth-child(2), .compare th:nth-child(3) { text-align: center; width: 150px; }

.compare .yes { color: var(--mint); font-weight: 700; }
.compare .no-x { color: var(--ink-faint); }
.compare .val { font-family: var(--font-mono); font-size: 13px; }

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

.cta-section { text-align: center; }

.cta-section h2 { font-size: clamp(36px, 5vw, 60px); }

.cta-section p { margin-top: 18px; color: var(--ink-soft); font-size: 18px; }

.cta-section .hero-cta { justify-content: center; }

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

.site-footer {
  border-top: 1.5px solid var(--ink);
  background: var(--ink);
  color: rgba(245, 240, 230, 0.75);
  padding: 56px 0 40px;
  font-size: 14.5px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

.site-footer h4 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 240, 230, 0.45);
  margin-bottom: 16px;
  font-weight: 400;
}

.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.site-footer a { color: rgba(245, 240, 230, 0.75); text-decoration: none; transition: color 0.15s; }
.site-footer a:hover { color: #fff; }

.footer-brand { font-family: var(--font-mono); font-size: 16px; font-weight: 700; letter-spacing: 0.08em; color: #fff; }
.footer-brand em { font-style: normal; color: var(--accent); }

.footer-tagline { margin-top: 12px; max-width: 36ch; color: rgba(245, 240, 230, 0.55); }

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(245, 240, 230, 0.14);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(245, 240, 230, 0.45);
}

/* ---------- inner pages (legal / support) ---------- */

.page-hero { padding: 72px 0 48px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); margin-top: 14px; }
.page-hero .page-meta { margin-top: 16px; font-family: var(--font-mono); font-size: 13px; color: var(--ink-faint); }

.prose { max-width: 760px; padding: 56px 0 96px; }

.prose h2 {
  font-size: 26px;
  margin: 44px 0 14px;
  padding-top: 24px;
}

.prose h2 .sec-no { color: var(--accent); font-family: var(--font-mono); font-size: 16px; margin-right: 12px; }

.prose h3 { font-size: 19px; margin: 26px 0 10px; }

.prose p, .prose li { color: var(--ink-soft); font-size: 16px; }

.prose p { margin-bottom: 14px; }

.prose ul, .prose ol { padding-left: 24px; margin-bottom: 14px; display: flex; flex-direction: column; gap: 7px; }

.prose strong { color: var(--ink); }

.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 18px 0 24px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; color: var(--ink-soft); }
.prose th { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; background: var(--paper-deep); color: var(--ink); }

.prose a { color: var(--accent); }

.prose .toc {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.55);
  margin-bottom: 20px;
}

.prose .toc h3 { margin: 0 0 12px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); }
.prose .toc ol { margin: 0; gap: 5px; }
.prose .toc a { text-decoration: none; }
.prose .toc a:hover { text-decoration: underline; }

/* FAQ accordion */
.faq-group { margin-bottom: 44px; }

.faq-group > h2 { font-size: 24px; margin-bottom: 8px; }
.faq-group > h2 .sec-no { color: var(--accent); font-family: var(--font-mono); font-size: 15px; margin-right: 10px; }

details.faq {
  border-bottom: 1px solid var(--line);
}

details.faq summary {
  cursor: pointer;
  padding: 18px 34px 18px 0;
  font-weight: 600;
  font-size: 16.5px;
  list-style: none;
  position: relative;
  color: var(--ink);
}

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

details.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  translate: 0 -50%;
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--accent);
  transition: rotate 0.2s;
}

details.faq[open] summary::after { rotate: 45deg; }

details.faq .faq-a { padding: 0 0 20px; color: var(--ink-soft); font-size: 15.5px; }
details.faq .faq-a p { margin-bottom: 10px; }
details.faq .faq-a p:last-child { margin-bottom: 0; }
details.faq .faq-a ul, details.faq .faq-a ol { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }

.support-channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0 64px;
}

.support-card {
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background: #fff;
  padding: 26px 24px;
  box-shadow: 5px 5px 0 rgba(32, 28, 51, 0.9);
  text-decoration: none;
  transition: transform 0.15s;
  display: block;
}

.support-card:hover { transform: translate(-2px, -2px); }

.support-card h3 { font-size: 19px; margin-bottom: 6px; }
.support-card p { font-size: 14px; color: var(--ink-soft); margin-bottom: 14px; }
.support-card .mail { font-family: var(--font-mono); font-size: 13.5px; color: var(--accent); }

/* ---------- reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(22px); 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; }
  .reel, .tape-eq i, .marquee-track, .pm-progress i { animation: none !important; }
}

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

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .cassette-stage { order: -1; }
  .cassette { rotate: -1.5deg; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-strip .stat:nth-child(2) { border-right: none; }
  .stat-strip .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .engine-grid { grid-template-columns: 1fr; }
  .deck-grid { grid-template-columns: 1fr; gap: 44px; }
  .ai-grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 56px 1fr; }
  .feature-row .fr-body { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .support-channels { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  section { padding: 68px 0; }
  .hero { padding-top: 56px; }

  .site-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1.5px solid var(--ink);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 28px 26px;
    gap: 18px;
  }

  .site-nav.open { display: flex; }

  .nav-toggle { display: block; }

  .feature-row { grid-template-columns: 1fr; gap: 10px; padding: 30px 0; }
  .feature-row .fr-body { grid-column: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
