:root {
  --paper: #f3f1ec;
  --paper-2: #faf9f6;
  --ink: #141413;
  --muted: #6d6861;
  --line: #d8d3c9;
  --line-strong: #b9b2a5;
  --accent: #1f4d43;
  --accent-soft: #e5ebe7;
  --dark: #121413;
  --serif: "Iowan Old Style", "Palatino Linotype", "Songti SC", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--accent); color: var(--paper); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--serif); font-size: 19px; letter-spacing: 0.02em; }
.brand img { width: 28px; height: 28px; border-radius: 6px; filter: grayscale(1); opacity: 0.9; }
.brand em { display: none; }
.site-header nav { display: flex; gap: 28px; color: var(--muted); font-size: 12px; letter-spacing: 0.08em; }
.site-header nav a { padding: 4px 0; border-bottom: 1px solid transparent; }
.site-header nav a:hover { color: var(--ink); border-color: var(--ink); }
.nav-cta { padding: 3px 0; border-bottom: 1px solid var(--ink); font-size: 12px; letter-spacing: 0.08em; }

main { overflow: hidden; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr);
  align-items: center;
  gap: clamp(28px, 3.8vw, 56px);
  min-height: 0;
  padding: clamp(38px, 4.5vw, 64px) clamp(20px, 6vw, 96px) clamp(44px, 5vw, 76px);
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  margin: 0 0 20px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(44px, 5.4vw, 78px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.hero h1 span { color: var(--accent); }
.lead { max-width: 540px; margin: 28px 0 0; color: var(--muted); font-size: 16px; line-height: 1.85; }
.hero-actions, .download-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  border-radius: 1px;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.button:hover { background: var(--ink); color: var(--paper); }
.button.primary { background: var(--ink); color: var(--paper); }
.button.primary:hover { background: var(--accent); border-color: var(--accent); }
.button small { opacity: 0.6; font-size: 10.5px; letter-spacing: 0; }
.small { margin-top: 18px; color: var(--muted); font-size: 11.5px; letter-spacing: 0.02em; }
.hero-shot { position: relative; }
.hero-shot::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid var(--line-strong);
  z-index: 0;
}
.hero-shot img,
.hero-video {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line-strong);
  background: var(--paper-2);
  object-fit: cover;
}
.window-bar { display: none; }

.section { padding: clamp(64px, 8vw, 110px) clamp(20px, 6vw, 96px); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.section h2 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.section-head > p:last-child, .split-copy > p { max-width: 620px; margin: 0; color: var(--muted); }
.grid { display: grid; gap: 0; }
.features { grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.feature {
  min-height: 230px;
  padding: 26px 30px 34px 0;
  border-bottom: 1px solid var(--line);
}
.feature:nth-child(3n+2), .feature:nth-child(3n+3) { padding-left: 30px; border-left: 1px solid var(--line); }
.feature-index {
  display: block;
  margin-bottom: 30px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
}
.feature h3 { margin: 0 0 10px; font-family: var(--serif); font-size: 21px; font-weight: 500; }
.feature p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.checks { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; color: var(--muted); font-size: 13px; }
.checks li { padding-top: 12px; border-top: 1px solid var(--line); }
.checks li::before { content: "—"; margin-right: 10px; color: var(--accent); }
.split-shot img { border: 1px solid var(--line-strong); background: var(--paper); }

.pricing {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 30px 34px 0;
  border-bottom: 1px solid var(--line);
}
.price-card + .price-card { padding-left: 30px; border-left: 1px solid var(--line); }
.price-card.featured::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}
.price-card.featured { padding-top: 34px; }
.price-card h3 { margin: 0 0 24px; color: var(--muted); font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.price { margin: 0; font-family: var(--serif); font-size: clamp(38px, 4vw, 54px); font-weight: 500; line-height: 1; letter-spacing: -0.02em; }
.price span { font-size: 14px; color: var(--muted); letter-spacing: 0; }
.price-note { margin: 12px 0 28px; color: var(--muted); font-size: 12px; }
.price-card ul { margin: 0 0 34px; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--muted); font-size: 12.5px; }
.price-card li::before { content: "·"; margin-right: 8px; color: var(--accent); }
.price-card .button { margin-top: auto; align-self: flex-start; }
.ribbon {
  position: absolute;
  top: 36px;
  right: 0;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.faq { border-top: 1px solid var(--line); }
.faq-list { max-width: 900px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-family: var(--serif);
  font-size: 19px;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-family: var(--mono); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 0 24px; max-width: 720px; color: var(--muted); font-size: 13.5px; }

.download {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
  background: var(--dark);
  color: var(--paper);
}
.download .eyebrow { color: #8fbfae; }
.download h2 { color: var(--paper); }
.download p { max-width: 560px; color: #a6a39b; }
.download .button { border-color: rgba(243, 241, 236, 0.35); color: var(--paper); }
.download .button:hover { background: var(--paper); color: var(--dark); }
.download .button.primary { background: var(--paper); color: var(--dark); border-color: var(--paper); }
.download .button.primary:hover { background: #8fbfae; border-color: #8fbfae; }
.download-actions .button small { color: inherit; opacity: 0.55; }
.download-note { padding-top: 8px; border-top: 1px solid rgba(243, 241, 236, 0.18); }
.download-note h3 { margin: 18px 0 14px; font-family: var(--serif); font-size: 20px; font-weight: 500; }
.download-note ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; color: #a6a39b; font-size: 12.5px; }
.download-note li::before { content: "—"; margin-right: 8px; color: #8fbfae; }

.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 90px); align-items: start; border-top: 1px solid var(--line); }
.contact-card { border-top: 1px solid var(--line); }
.contact-card p { display: grid; grid-template-columns: 64px 1fr; gap: 16px; margin: 0; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.contact-card span { color: var(--ink); font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; }
.contact-card a { color: var(--accent); }

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  padding: 34px clamp(20px, 6vw, 96px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11.5px;
}
.site-footer strong { color: var(--ink); font-family: var(--serif); font-size: 15px; font-weight: 500; }
.site-footer p { margin: 2px 0 0; }
.footer-links { display: flex; gap: 22px; }
.footer-links a:hover { color: var(--ink); }
.copyright { width: 100%; margin: 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 10.5px; letter-spacing: 0.04em; }

.legal { max-width: 820px; margin: 0 auto; padding: clamp(48px, 8vw, 96px) clamp(20px, 6vw, 40px) 100px; }
.legal .back { display: inline-block; margin-bottom: 32px; color: var(--muted); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; }
.legal h1 { margin: 0 0 8px; font-family: var(--serif); font-size: clamp(38px, 5vw, 58px); font-weight: 500; letter-spacing: -0.02em; }
.legal .updated { margin: 0 0 44px; padding-bottom: 20px; border-bottom: 1px solid var(--line); color: var(--muted); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; }
.legal h2 { margin: 38px 0 10px; font-family: var(--serif); font-size: 22px; font-weight: 500; }
.legal p, .legal li { color: var(--muted); font-size: 13.5px; line-height: 1.95; }
.legal ul { padding-left: 18px; }
.legal a { color: var(--accent); border-bottom: 1px solid var(--line-strong); }
.legal strong { color: var(--ink); font-weight: 600; }

@media (max-width: 900px) {
  .site-header nav { display: none; }
  .hero, .split, .download, .contact { grid-template-columns: 1fr; min-height: 0; }
  .features, .pricing { grid-template-columns: 1fr; }
  .feature, .feature:nth-child(3n+2), .feature:nth-child(3n+3), .price-card, .price-card + .price-card { padding: 26px 0; border-left: 0; }
  .price-card.featured::before { left: 0; right: 0; }
  .hero-shot::before { inset: 8px -8px -8px 8px; }
}
@media (max-width: 600px) {
  .site-header { padding: 14px 20px; }
  .nav-cta { display: none; }
  .hero h1 { font-size: clamp(42px, 13vw, 58px); }
  .section { padding: 64px 20px; }
  .contact-card p { grid-template-columns: 1fr; gap: 4px; }
}

.about { border-top: 1px solid var(--line); }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: start;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.quote { margin: 0; padding: 24px 0 0; }
.quote p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(27px, 3.2vw, 44px);
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: -0.02em;
}
.quote cite {
  display: block;
  margin-top: 24px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.14em;
}
.about-copy { padding-top: 24px; }
.about-copy p {
  max-width: 560px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
}
.about-copy p:last-child { margin-bottom: 0; }
.pain { border-top: 1px solid var(--line); }
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.pain-grid article { padding: 26px 30px 34px 0; border-bottom: 1px solid var(--line); }
.pain-grid article:nth-child(3n+2),
.pain-grid article:nth-child(3n+3) { padding-left: 30px; border-left: 1px solid var(--line); }
.pain-grid span {
  display: block;
  margin-bottom: 28px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
}
.pain-grid h3 { margin: 0 0 10px; font-family: var(--serif); font-size: 21px; font-weight: 500; }
.pain-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .pain-grid { grid-template-columns: 1fr; }
  .pain-grid article,
  .pain-grid article:nth-child(3n+2),
  .pain-grid article:nth-child(3n+3) { padding: 26px 0; border-left: 0; }
}

.about-subhead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(44px, 6vw, 72px);
  padding-bottom: 24px;
}
.about-subhead h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.about-subhead p { margin: 0; color: var(--muted); font-size: 12.5px; }
@media (max-width: 700px) {
  .about-subhead { display: block; }
  .about-subhead p { margin-top: 8px; }
}

/* hero player mockup: light chrome, full-bleed video */
.hero-shot.player-demo {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #0b1014;
  box-shadow: 0 30px 70px -42px rgba(16, 24, 39, 0.42);
}
.hero-shot.player-demo::before { display: none; }
.player-demo .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  background: #0b1014;
}
.player-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 10px;
  border-bottom: 1px solid rgba(16, 24, 39, 0.12);
  background: rgba(250, 251, 252, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--muted);
  font-size: 7px;
}
.player-brand { display: flex; align-items: center; gap: 4px; color: var(--ink); font-weight: 600; }
.player-brand img { width: 12px; height: 12px; border-radius: 3px; }
.player-file { margin-left: 4px; }
.player-window { margin-left: auto; letter-spacing: 2px; color: #8a98a8; }
.player-subtitle {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 58px;
  z-index: 2;
  max-width: 72%;
  margin: 0 auto;
  padding: 4px 9px;
  border-radius: 2px;
  background: rgba(10, 15, 20, 0.72);
  color: #fff;
  font-size: 9px;
  line-height: 1.5;
  text-align: center;
  transition: opacity 0.2s ease;
}
.player-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 10px;
  border-top: 1px solid rgba(16, 24, 39, 0.1);
  background: rgba(248, 250, 252, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #3b4a5c;
  font-size: 7px;
}
.player-play {
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid #2563eb;
}
.player-time, .player-total { font-family: var(--mono); font-size: 7px; white-space: nowrap; }
.player-time { color: #2563eb; }
.player-progress { position: relative; flex: 1; height: 2px; min-width: 20px; border-radius: 2px; background: #d9e2ec; }
.player-progress i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 2px; background: #2563eb; }
.player-pill {
  padding: 2px 5px;
  border: 1px solid rgba(16, 24, 39, 0.12);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 7px;
  white-space: nowrap;
}
.player-pill.learn { border-color: #bfdbfe; background: #dbeafe; color: #1d4ed8; }
@media (max-width: 720px) {
  .player-pill { display: none; }
  .player-total { display: none; }
  .player-subtitle { font-size: 8px; bottom: 50px; }
}

/* dark player chrome */
.player-demo.dark .player-top {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  background: rgba(8, 12, 16, 0.9);
  color: #8fa0b2;
}
.player-demo.dark .player-brand { color: #e8eef6; }
.player-demo.dark .player-brand img { filter: none; }
.player-demo.dark .player-window { color: #6f8092; }
.player-demo.dark .player-controls {
  border-top-color: rgba(255, 255, 255, 0.08);
  background: rgba(7, 11, 15, 0.93);
  color: #b7c4d2;
}
.player-demo.dark .player-play { border-left-color: #5eead4; }
.player-demo.dark .player-time { color: #5eead4; }
.player-demo.dark .player-progress { background: rgba(255, 255, 255, 0.18); }
.player-demo.dark .player-progress i { background: #5eead4; }
.player-demo.dark .player-pill {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #c3cfdb;
}
.player-demo.dark .player-pill.learn {
  border-color: rgba(94, 234, 212, 0.32);
  background: rgba(94, 234, 212, 0.13);
  color: #5eead4;
}
.player-demo.dark .player-subtitle { background: rgba(3, 7, 10, 0.78); }
