:root {
  --navy-0: #081d3d;
  --navy-1: #0d2a55;
  --navy-2: #1d3a66;
  --navy-3: #3f5c8c;
  --ink: #ffffff;
  --muted: #b8c7e0;
  --soft: #7f9cc9;
  --line: rgba(255, 255, 255, 0.14);
  --red: #e63946;
  --gold: #ffd97a;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); line-height: 1.55;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: linear-gradient(160deg, var(--navy-0), var(--navy-1) 45%, var(--navy-2));
  background-attachment: fixed;
}
a { color: var(--gold); }
code, kbd {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 0.92em;
  background: rgba(255, 255, 255, 0.1); border: 1px solid var(--line); border-radius: 6px; padding: 0.05em 0.4em;
}
h1, h2, h3 { line-height: 1.15; margin: 0; }
main, .nav, .foot { max-width: 1180px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }

/* ---------- nav ---------- */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: 0.01em; }
.brand-bar { width: 6px; height: 26px; background: var(--red); border-radius: 2px; }
.nav-cta { color: var(--ink); text-decoration: none; font-weight: 700; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; white-space: nowrap; }
.nav-cta:hover { border-color: var(--gold); }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; padding: 40px 0 64px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.02em; }
.lead { color: var(--muted); font-size: 1.15rem; max-width: 34em; margin: 18px 0 26px; }
.picker label { display: block; font-weight: 700; margin-bottom: 8px; }
.picker-row { display: flex; gap: 10px; flex-wrap: wrap; }
.picker select, .picker button { font: inherit; font-size: 1.05rem; border-radius: 10px; padding: 12px 14px; }
.picker select { flex: 1 1 220px; min-width: 0; color: var(--ink); background: var(--navy-1); border: 1px solid var(--line); }
.picker button { font-weight: 800; color: var(--navy-0); background: var(--gold); border: 0; cursor: pointer; }
.picker button:hover { filter: brightness(1.06); }
.picker select:focus-visible, .picker button:focus-visible, .nav-cta:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.hint { color: var(--soft); font-size: 0.92rem; margin: 10px 0 0; }

/* the live preview, in a TV */
.tv { width: 100%; }
.tv-screen {
  position: relative; aspect-ratio: 16 / 9; background: #000; border: 10px solid #05101f;
  border-radius: 12px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08); overflow: hidden;
}
.tv-screen iframe { position: absolute; top: 0; left: 0; width: 1920px; height: 1080px; border: 0; transform-origin: 0 0; pointer-events: none; }
.tv-stand { width: 26%; height: 14px; margin: 0 auto; background: #05101f; border-radius: 0 0 10px 10px; }

/* ---------- sections ---------- */
section { padding: 56px 0; border-top: 1px solid var(--line); }
section h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 20px; }
.section-lead { color: var(--muted); max-width: 46em; margin: -6px 0 26px; }

.steps ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps .num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--red); font-weight: 800; margin-bottom: 12px; }
.steps h3 { font-size: 1.15rem; margin-bottom: 6px; }
.steps p { color: var(--muted); margin: 0; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.card { position: relative; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 18px; }
.card.best { border-color: rgba(255, 217, 122, 0.55); background: rgba(255, 217, 122, 0.06); }
.card .tag { position: absolute; top: 16px; right: 16px; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--navy-0); background: var(--gold); border-radius: 999px; padding: 3px 10px; }
.card h3 { font-size: 1.15rem; padding-right: 60px; }
.card .for { color: var(--soft); font-size: 0.92rem; margin: 6px 0 12px; }
.card ol { margin: 0; padding-left: 1.2em; }
.card li { margin-bottom: 6px; }
.card .note { color: var(--muted); font-size: 0.9rem; margin: 10px 0 0; border-left: 3px solid var(--red); padding-left: 10px; }

.tips { margin-top: 26px; background: rgba(230, 57, 70, 0.08); border: 1px solid rgba(230, 57, 70, 0.35); border-radius: var(--radius); padding: 20px 24px; }
.tips h3 { font-size: 1.1rem; margin-bottom: 8px; }
.tips ul { margin: 0; padding-left: 1.2em; color: var(--muted); }
.tips b { color: var(--ink); }

.faq details { border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; background: rgba(255, 255, 255, 0.03); }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { color: var(--muted); margin: 10px 0 0; }

.foot { border-top: 1px solid var(--line); padding-top: 26px; padding-bottom: 40px; color: var(--muted); }
.foot p { margin: 0 0 6px; }
.foot .small { font-size: 0.88rem; color: var(--soft); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 32px; padding-top: 16px; }
  .steps ol { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .nav-cta { padding: 7px 12px; font-size: 0.9rem; }
  .cards { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
