/* Home Theater Calibration - dark theater theme. Independent of the AATP brand. */

:root {
  --bg: #0e0d16;
  --bg-soft: #16151f;
  --panel: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.10);
  --text: #f3f3f7;
  --muted: #a4a3b2;
  --accent: #6c7bff;
  --accent-2: #9aa6ff;
  --radius: 18px;
  --max: 980px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(90% 60% at 50% -5%, #1b1930 0%, var(--bg) 60%) fixed;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.1; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
a { color: var(--accent-2); }

header.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(12px);
  background: rgba(14, 13, 22, 0.7);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); text-decoration: none; }
.brand .dot { width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.nav nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; margin-left: 22px; }
.nav nav a:hover { color: var(--text); }

/* App Store badge (official-style black pill). */
.appstore {
  display: inline-flex; align-items: center; gap: 11px;
  background: #000; color: #fff; border: 1px solid rgba(255,255,255,0.22);
  padding: 11px 20px 11px 18px; border-radius: 12px; text-decoration: none;
  transition: transform .15s ease, border-color .15s ease;
}
.appstore:hover { transform: translateY(-1px); border-color: rgba(255,255,255,0.4); }
.appstore svg { width: 26px; height: 26px; fill: #fff; }
.appstore .t { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.appstore .t small { font-size: 0.62rem; opacity: 0.85; letter-spacing: 0.02em; }
.appstore .t span { font-size: 1.18rem; font-weight: 600; letter-spacing: -0.01em; }

.btn-accent {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff;
  padding: 13px 24px; border-radius: 999px; font-weight: 600; text-decoration: none;
  transition: transform .15s ease;
}
.btn-accent:hover { transform: translateY(-1px); }

/* Hero */
.hero { padding: clamp(40px, 7vw, 80px) 0 clamp(36px, 5vw, 64px); text-align: center; }
.hero img.couch { width: 100%; max-width: 560px; height: auto; display: block; margin: 0 auto clamp(20px, 4vw, 36px); filter: drop-shadow(0 24px 50px rgba(0,0,0,0.6)); }
.hero p.lede { color: var(--muted); font-size: 1.12rem; max-width: 60ch; margin: 20px auto 28px; }

section { padding: clamp(44px, 7vw, 76px) 0; }
.panel {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(28px, 5vw, 48px);
}
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--muted); }
.center { text-align: center; }
.muted { color: var(--muted); }

/* Buy row */
.buy { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 22px; }
.price { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.02em; }
.price small { font-size: 0.9rem; color: var(--muted); font-weight: 500; }

/* Privacy chips */
.priv { text-align: center; }
.priv .big { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; }
.priv .big span { background: linear-gradient(135deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

footer { border-top: 1px solid var(--line); padding: 36px 0; color: var(--muted); font-size: 0.9rem; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }

/* Legal */
.legal { max-width: 760px; margin: 0 auto; padding: clamp(44px, 8vw, 80px) 24px; }
.legal h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); margin-bottom: 6px; }
.legal .eff { color: var(--muted); margin-bottom: 30px; }
.legal h2 { font-size: 1.2rem; margin: 30px 0 10px; }
.legal p { color: var(--muted); margin-bottom: 12px; }
.legal a { color: var(--accent-2); }

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