:root {
  --paper: #f4f0e6;
  --surface: #fcfaf4;
  --surface-soft: #f0eadc;
  --ink: #1b241f;
  --muted: #6e746a;
  --line: #e4ddcb;
  --green: #24463a;
  --green-deep: #20372f;
  --green-bright: #2f6a52;
  --mint: #dceae2;
  --paw: #bf6457;
  --shadow: 0 1px 2px rgba(28, 36, 30, .05), 0 14px 40px -28px rgba(28, 36, 30, .35);
  --radius: 16px;
  --shell: 1100px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #12100c;
    --surface: #1a1813;
    --surface-soft: #211e17;
    --ink: #f3ede0;
    --muted: #9c988b;
    --line: #2c281f;
    --green: #c9ded5;
    --green-deep: #0f1714;
    --green-bright: #87bca8;
    --mint: #1f2b25;
    --paw: #d9786c;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 20px 50px -30px rgba(0, 0, 0, .8);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
code {
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", monospace;
  font-size: .88em;
  padding: .08em .38em;
  border-radius: 5px;
  background: var(--mint);
  color: var(--green-bright);
}

/* ---- masthead ---- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 16px 28px;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 650; letter-spacing: .01em; }
.brand-cat { border-radius: 9px; background: var(--mint); }
.brand-name { font-size: 17px; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 14.5px; }
.nav a { color: var(--muted); transition: color .15s ease; }
.nav a:hover { color: var(--ink); }
.nav-ghost { color: var(--ink) !important; font-weight: 550; }
.nav-cta {
  color: var(--surface) !important;
  background: var(--green);
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--green-bright); }

main { max-width: var(--shell); margin: 0 auto; padding: 0 28px; }

/* ---- hero ---- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  padding: 72px 0 84px;
}
.eyebrow {
  margin: 0 0 18px;
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green-bright);
}
.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.12;
  letter-spacing: -.015em;
  font-weight: 720;
}
.lede { margin: 0 0 30px; font-size: 17.5px; color: var(--muted); max-width: 30em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex;
  align-items: center;
  padding: 13px 26px;
  border-radius: 12px;
  font-size: 15.5px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform .12s ease, background .15s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: var(--surface); }
.btn-primary:hover { background: var(--green-bright); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--green-bright); color: var(--green-bright); }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
  color: var(--muted);
}
.hero-meta li { display: flex; align-items: center; gap: 8px; }
.hero-meta li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--paw);
}

/* ---- TV mockup (mirrors the app idle screen) ---- */
.hero-screen { display: flex; flex-direction: column; align-items: center; }
.tv {
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 12px;
  border-radius: 18px;
  background: linear-gradient(160deg, #2a2a2a, #141414);
  box-shadow: var(--shadow);
}
.tv-idle {
  width: 100%; height: 100%;
  display: flex;
  gap: 16px;
  padding: 22px 24px;
  border-radius: 9px;
  background: linear-gradient(200deg, #20372f, #101714);
  color: #fff8f1;
  overflow: hidden;
}
.idle-hero { flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.idle-cat { border-radius: 16px; background: #ddebe3; padding: 6px; }
.idle-title { margin-top: 14px; font-size: 22px; font-weight: 720; }
.idle-pill {
  margin-top: 14px;
  padding: 5px 16px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  background: rgba(255, 255, 255, .17);
  border: 1px solid rgba(255, 255, 255, .28);
}
.idle-caption { margin-top: auto; font-size: 12px; line-height: 1.5; color: rgba(231, 221, 209, .62); max-width: 16em; }
.idle-panel {
  width: 47%;
  padding: 16px 17px;
  border-radius: 13px;
  background: rgba(21, 31, 27, .82);
  border: 1px solid rgba(255, 255, 255, .14);
}
.panel-title { font-size: 14px; font-weight: 680; }
.panel-sub { margin-top: 4px; font-size: 10.5px; color: rgba(231, 221, 209, .56); }
.panel-grid { margin: 16px 0 0; display: flex; flex-direction: column; gap: 11px; }
.panel-grid > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.panel-grid dt { margin: 0; font-size: 11px; color: rgba(231, 221, 209, .5); }
.panel-grid dd {
  margin: 0;
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  color: #fff8f1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tv-stand { width: 84px; height: 14px; margin-top: -1px; border-radius: 0 0 7px 7px; background: linear-gradient(#1c1c1c, #2a2a2a); }

/* ---- sections ---- */
.section { padding: 84px 0; }
.section-label {
  margin: 0 0 14px;
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green-bright);
}
.section-title { margin: 0 0 28px; font-size: clamp(26px, 3.4vw, 34px); letter-spacing: -.01em; font-weight: 700; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 12px; }
.card {
  padding: 24px 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 9px; font-size: 17px; font-weight: 660; display: flex; align-items: center; gap: 9px; }
.card p { margin: 0; font-size: 14.5px; color: var(--muted); }
.card-quiet { background: var(--mint); border-color: transparent; }
.card-quiet h3 { color: var(--green-bright); }

/* ---- tested apps ---- */
.apps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.apps li {
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 16.5px;
  font-weight: 600;
}
.apps-more { color: var(--muted); font-weight: 450; background: transparent !important; border-style: dashed !important; }

/* ---- download ---- */
.download { padding: 30px 0 96px; }
.download-inner {
  text-align: center;
  padding: 64px 32px;
  border-radius: 26px;
  background: var(--green-deep);
  color: #fff8f1;
}
.download-inner h2 { margin: 0 0 14px; font-size: clamp(28px, 4vw, 38px); font-weight: 720; }
.download-inner > p { margin: 0 auto 36px; max-width: 40em; font-size: 17px; color: rgba(231, 221, 209, .76); }
.download-inner .cta-row { justify-content: center; }
.download-inner .btn-primary { background: #fff8f1; color: var(--green-deep); }
.download-inner .btn-primary:hover { background: #fff; }
.download-inner .btn-ghost { color: #fff8f1; border-color: rgba(255, 248, 241, .3); }
.download-inner .btn-ghost:hover { border-color: #fff8f1; color: #fff; }

/* ---- footer ---- */
.footer {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 44px 28px 60px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-memo { display: flex; align-items: center; gap: 16px; }
.footer-memo img { border-radius: 12px; background: var(--mint); padding: 4px; }
.footer-memo p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.55; }
.footer-links { display: flex; gap: 24px; font-size: 14.5px; }
.footer-links a { color: var(--muted); transition: color .15s ease; }
.footer-links a:hover { color: var(--green-bright); }

/* ---- responsive ---- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 44px; padding: 48px 0 60px; }
  .hero-screen { max-width: 460px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .masthead { padding: 14px 18px; }
  .nav { gap: 16px; }
  .nav a:not(.nav-cta):not(.nav-ghost) { display: none; }
  main { padding: 0 18px; }
  .cards { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .download-inner { padding: 48px 22px; }
  .footer { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
