/* Simple TV Cards — landing page
   Colors match the print kit. No build step required. */

@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("../fonts/AtkinsonHyperlegible-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("../fonts/AtkinsonHyperlegible-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("../fonts/AtkinsonHyperlegible-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --navy: #12263A;
  --navy-2: #1B3A57;
  --cream: #FFF8EE;
  --cream-2: #F3E6D4;
  --ink: #121212;
  --red: #B10B16;
  --paper: #FFFFFF;
  --rule: #C9BBA8;
  --focus: #FFD100;
  --font: "Atkinson Hyperlegible", "Liberation Sans", Arial, sans-serif;
  --space: 1.25rem;
  --max: 70rem;
  --measure: 40rem;
  --radius: 0.5rem;
  --shadow: 0 1px 2px rgba(18, 38, 58, 0.08), 0 8px 24px rgba(18, 38, 58, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.25rem; /* 20px at default 16px root; scales with browser zoom and user font size */
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
}

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

a {
  color: var(--navy);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--navy-2);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--navy);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -6rem;
  z-index: 100;
  background: var(--focus);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  box-shadow: none;
}

/* Header */
.site-header {
  background: var(--navy);
  color: var(--cream);
  padding: 0.85rem var(--space);
}

.site-header a {
  color: var(--cream);
  text-decoration: none;
}

.site-header a:hover {
  color: var(--cream);
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  padding: 0.4rem 0;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.15rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.45rem 0.7rem;
}

/* Hero */
.hero {
  background: var(--navy);
  color: var(--cream);
  padding: 2.75rem var(--space) 3.25rem;
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.hero h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(2.15rem, 5vw, 3.35rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.tagline {
  margin: 0 0 1.5rem;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  line-height: 1.3;
  color: var(--cream-2);
}

.hero-lead {
  margin: 0 0 2rem;
  max-width: 36rem;
  font-size: 1.3rem;
  line-height: 1.5;
}

.hero .accent-rule {
  display: block;
  width: 3.25rem;
  height: 0.35rem;
  background: var(--focus);
  margin: 0 0 1.5rem;
  border: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.7rem 1.35rem;
  font-family: inherit;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  border-radius: var(--radius);
  border: 3px solid transparent;
  cursor: pointer;
}

.btn:hover {
  text-decoration: none;
}

.btn-light {
  background: var(--cream);
  color: var(--navy);
  border-color: var(--cream);
}

.btn-light:hover {
  background: var(--cream-2);
  color: var(--navy);
  border-color: var(--cream-2);
}

.btn-primary {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}

.btn-primary:hover {
  background: var(--navy-2);
  color: var(--cream);
  border-color: var(--navy-2);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-secondary:hover {
  background: var(--navy);
  color: var(--cream);
}

.btn-block {
  width: 100%;
}

/* Placeholder styling — remove .placeholder-link and .placeholder-flag when real URLs are in place */
.placeholder-link {
  position: relative;
  outline: 2px dashed #8A7B68;
  outline-offset: 4px;
}

.placeholder-link:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.placeholder-flag {
  position: absolute;
  top: -0.7rem;
  right: 0.45rem;
  display: inline-block;
  margin: 0;
  padding: 0.05rem 0.4rem;
  border: 1px dashed #8A7B68;
  border-radius: 0.2rem;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5C5143;
  background: var(--cream);
  line-height: 1.4;
  pointer-events: none;
}

/* Layout helpers */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--space);
  padding-right: var(--space);
}

.section {
  padding: 3rem 0;
}

.section h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  line-height: 1.2;
  color: var(--navy);
}

/* Problem band */
.problem {
  background: var(--cream-2);
  padding: 2.25rem 0;
}

.problem-inner {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 var(--space);
}

.problem-hooks {
  margin: 0 0 0.85rem;
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1.35;
  color: var(--navy);
}

.problem-hooks span {
  display: inline;
}

.problem p {
  margin: 0;
}

/* Kits */
.kits {
  background: var(--cream);
}

.kit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.kit {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.kit-head {
  background: var(--navy);
  color: var(--cream);
  padding: 1.15rem 1.35rem 1.05rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4rem 1rem;
}

.kit-head h3 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.25;
}

.kit-price {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 700;
}

.kit-body {
  padding: 1.35rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 1.15rem;
}

.kit-body > p,
.kit-body > ul {
  margin: 0;
}

.kit-body ul {
  padding-left: 1.2rem;
}

.kit-body li + li {
  margin-top: 0.5rem;
}

.kit-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.45rem;
  width: 100%;
  margin-top: auto;
  padding-top: 0.35rem;
}

.kit-actions .placeholder-flag {
  top: -1.05rem;
}

@media (max-width: 43.99rem) {
  .kit-actions .btn.placeholder-link {
    padding-right: 6.5rem;
  }
}

.kit-actions .btn {
  width: 100%;
  margin-top: 0;
}

.kit-print-note {
  margin: 0;
  color: var(--ink);
}

.already-ordered {
  margin: 1.35rem 0 0;
  max-width: 46rem;
  line-height: 1.6;
}

.already-ordered .placeholder-link {
  margin-left: 0.15rem;
  padding: 0;
  outline: none;
  text-underline-offset: 0.16em;
}

.already-ordered .placeholder-link:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.already-ordered .placeholder-flag {
  position: static;
  display: block;
  width: fit-content;
  margin: 0.35rem 0 0;
  top: auto;
  right: auto;
}

/* How it works */
.how {
  background: var(--cream-2);
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  background: var(--paper);
  border-radius: 0.75rem;
  padding: 1.25rem 1.25rem 1.25rem 1.35rem;
  border: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 0.85rem 1rem;
  align-items: start;
  align-content: start;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.step-title {
  margin: 0 0 0.35rem;
  font-size: 1.3rem;
  color: var(--navy);
}

.steps p {
  margin: 0;
}

.steps .btn {
  margin-top: 0.9rem;
  width: 100%;
}

/* Samples */
.samples {
  background: var(--cream);
}

.sample-caption {
  margin: 0 0 1.5rem;
  max-width: var(--measure);
}

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.gallery figure {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gallery figcaption {
  padding: 0.85rem 1rem 1rem;
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--ink);
}

.sample-label {
  display: inline-block;
  margin: 0 0 0.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
}

.gallery img {
  width: 100%;
  background: var(--cream-2);
  border-bottom: 1px solid var(--rule);
}

/* FAQ */
.faq {
  background: var(--paper);
}

.faq-list {
  max-width: var(--measure);
}

.faq-list h3 {
  margin: 1.75rem 0 0.4rem;
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--navy);
}

.faq-list h3:first-child {
  margin-top: 0;
}

.faq-list p {
  margin: 0;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: var(--cream);
  padding: 2.25rem var(--space);
}

.site-footer a {
  color: var(--cream);
}

.site-footer a:hover {
  color: var(--cream-2);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.footer-inner p {
  margin: 0 0 0.5rem;
}

.footer-inner p:last-child {
  margin-bottom: 0;
}

.footer-legal {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: var(--cream-2);
}

/* Wide layout */
@media (min-width: 44rem) {
  .kit-grid {
    grid-template-columns: 1fr 1fr;
  }

  .already-ordered {
    grid-column: 1 / -1;
    max-width: none;
  }

  .steps {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.15rem;
  }

  .steps li {
    grid-template-columns: 1fr;
    padding: 1.35rem;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
  }
}

/* Avoid squeezing three how-it-works columns at mid widths / 200% zoom */
@media (min-width: 44rem) and (max-width: 62rem) {
  .steps {
    grid-template-columns: 1fr;
  }

  .steps li {
    grid-template-columns: 2.6rem 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
