/* kantaq.com landing page. Same tokens as the apps (apps/tv/src/styles.css). */
:root {
  --bg: #0f0c1c;
  --surface: #1a1530;
  --line: #2e2848;
  --line-strong: #4a4460;
  --text: #f4f1fa;
  --muted: #b7b0cc;
  --faint: #8d86a6;
  --accent: #ff4f8b;
  --gold: #ffc14d;
  --font-display: 'Big Shoulders', 'Arial Narrow', system-ui, sans-serif;
  --font-body: 'Atkinson Hyperlegible Next', system-ui, sans-serif;
  --radius: 16px;
  --wrap: 1120px;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

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

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

a {
  color: var(--gold);
}

a:hover {
  color: #ffd27a;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  margin: 0;
}

h2 {
  font-size: clamp(34px, 5vw, 52px);
  margin-bottom: 28px;
}

h3 {
  font-size: 26px;
  margin-bottom: 8px;
}

p {
  margin: 0;
}

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

/* ---- buttons -------------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 2px solid var(--line-strong);
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.15s, background-color 0.15s;
}

.btn:hover {
  color: var(--text);
  border-color: var(--muted);
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #1a0710;
}

.btn-primary:hover {
  color: #1a0710;
  background: #ff6b9e;
  border-color: #ff6b9e;
}

.btn-small {
  min-height: 44px;
  padding: 8px 18px;
  font-size: 16px;
}

/* ---- header --------------------------------------------------------------------------------- */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(15, 12, 28, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
}

.brand:hover {
  color: var(--text);
}

.brand img {
  border-radius: 8px;
}

.q {
  color: var(--accent);
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.top-nav a:not(.btn) {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
}

.top-nav a:not(.btn):hover {
  color: var(--text);
}

/* ---- hero ----------------------------------------------------------------------------------- */
.hero {
  padding: 64px 0 72px;
  background:
    radial-gradient(60% 70% at 15% 20%, rgba(255, 79, 139, 0.16), transparent 70%),
    radial-gradient(50% 60% at 90% 70%, rgba(61, 217, 196, 0.08), transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  color: var(--gold);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

h1 {
  font-size: clamp(48px, 7vw, 84px);
  margin-bottom: 20px;
}

.lead {
  color: var(--muted);
  font-size: 20px;
  max-width: 34em;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.fine {
  margin-top: 16px;
  color: var(--faint);
  font-size: 15px;
}

.hero-art {
  position: relative;
  padding-bottom: 40px;
}

.tv-frame {
  border: 10px solid #000;
  border-radius: 14px;
  background: #000;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.tv-frame img {
  border-radius: 4px;
}

.phone-frame {
  position: absolute;
  right: -8px;
  bottom: 0;
  width: 30%;
  border: 6px solid #000;
  border-radius: 22px;
  background: #000;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.phone-frame img {
  border-radius: 16px;
}

/* ---- sections ------------------------------------------------------------------------------- */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--surface);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.steps li {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.steps p {
  color: var(--muted);
}

.step-n {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  color: var(--gold);
}

.shots {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.shot {
  margin: 0;
}

.shot figcaption {
  margin-top: 14px;
  color: var(--faint);
  font-size: 15px;
}

.features ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.features li {
  color: var(--muted);
  padding-left: 22px;
  position: relative;
}

.features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.features strong {
  color: var(--text);
}

/* ---- FAQ ------------------------------------------------------------------------------------ */
.faq {
  max-width: 820px;
}

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

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-weight: 700;
  font-size: 20px;
}

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

.faq summary::after {
  content: '+';
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
}

.faq details[open] summary::after {
  content: '–';
}

.faq details p {
  color: var(--muted);
  padding-bottom: 20px;
}

/* ---- closing + footer ----------------------------------------------------------------------- */
.closing {
  padding-top: 0;
}

.closing-box {
  text-align: center;
}

.closing-box p {
  color: var(--muted);
}

.closing-box .cta {
  justify-content: center;
}

.foot {
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
  color: var(--faint);
  font-size: 15px;
}

.foot-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.foot nav {
  display: flex;
  gap: 20px;
}

.disclaimer {
  margin-top: 14px;
  font-size: 13px;
}

/* ---- narrow screens ------------------------------------------------------------------------- */
@media (max-width: 860px) {
  .hero {
    padding: 40px 0 56px;
  }

  .hero-grid,
  .shots,
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-art {
    margin-right: 8px;
  }

  .section {
    padding: 56px 0;
  }
}

@media (max-width: 560px) {
  .top-nav a:not(.btn) {
    display: none;
  }

  .cta .btn {
    width: 100%;
  }
}
