/* ===========================================================================
   The Home Phone — brand system
   Palette lifted from mobile_app/src/constants/colors.ts and sampled from the
   App Store screenshots so the site, the app and the store listing agree.

   Fonts are self-hosted: the site otherwise makes no third-party requests.
   Figtree (SIL OFL) is the display face; body copy rides the system stack,
   which is what the app itself uses.
   =========================================================================== */

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/fonts/figtree-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/caveat-latin.woff2") format("woff2");
}

:root {
  /* Brand */
  --cream: #fffcf7;
  --cream-deep: #fff7ee;
  --ink: #101828;
  --ink-soft: #1b2332;
  --red: #bc0909;
  --red-deep: #a62115;
  --red-dark: #7f0000;
  /* The app's textSecondary (#747B87) lands near 3.8:1 on this cream, under
     the 4.5:1 WCAG AA floor for body copy. Same hue, darkened to clear it. */
  --slate: #67707e;
  --pink: #fdede8;
  --pink-deep: #f8dcd4;
  --sun: #ffc754;
  --leaf: #7cac75;
  --leaf-deep: #689860;
  --peach: #fbd9c6;

  /* Surfaces */
  --surface: #ffffff;
  --surface-muted: #fffdfa;
  --border: #efe6df;
  --border-strong: #e4d6cc;
  --chip: #edf0f4;

  --red-rgb: 188, 9, 9;
  --ink-rgb: 16, 24, 40;
  --cream-rgb: 255, 252, 247;

  /* Type */
  --display: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --script: "Caveat", ui-rounded, cursive;

  /* Shape */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --shadow-sm: 0 2px 8px rgba(var(--ink-rgb), 0.04);
  --shadow-md: 0 14px 34px rgba(var(--ink-rgb), 0.07);
  --shadow-lg: 0 30px 70px rgba(var(--ink-rgb), 0.11);
  --shadow-red: 0 14px 30px rgba(var(--red-rgb), 0.22);

  --max: 1180px;
  --gutter: max(20px, calc((100vw - var(--max)) / 2));
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 6px;
}

/* --------------------------------------------------------------- typography */

h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(38px, 5vw, 66px); font-weight: 900; }
h2 { font-size: clamp(32px, 4.3vw, 52px); }
h3 { font-size: 21px; letter-spacing: -0.02em; line-height: 1.2; }

p { margin: 0; }

/* The signature move from the App Store art: one phrase flipped to red. */
.accent { color: var(--red); }

.eyebrow {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}

.lede {
  color: var(--slate);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  max-width: 54ch;
}

.section-heading { display: grid; gap: 14px; max-width: 760px; }
.section-heading p { color: var(--slate); font-size: 18px; line-height: 1.55; }

/* ------------------------------------------------------- spark mark device */
/* The red emphasis ticks that flank every App Store headline. */

.sparks {
  position: absolute;
  width: 74px;
  height: 64px;
  color: var(--red);
  pointer-events: none;
}
.sparks svg { width: 100%; height: 100%; }
.sparks.left { top: -26px; left: -58px; }
.sparks.right { right: -62px; bottom: 6px; }

/* Below full width the headline reaches the gutter, so the marks tuck inside
   rather than hang off and get clipped by the hero's overflow. */
@media (max-width: 1240px) {
  .sparks { width: 54px; height: 47px; }
  .sparks.left { top: -24px; left: -4px; }
  .sparks.right { right: 0; bottom: -4px; }
}

/* ------------------------------------------------------------------ buttons */

.button,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.button.primary,
.nav-cta {
  color: #fff;
  background: var(--red);
  box-shadow: var(--shadow-red);
}
.button.primary:hover,
.nav-cta:hover { background: var(--red-deep); transform: translateY(-2px); }

.button.secondary {
  color: var(--red);
  background: transparent;
  border-color: var(--red);
}
.button.secondary:hover { background: var(--pink); transform: translateY(-2px); }

.nav-cta { min-height: 44px; padding: 10px 20px; font-size: 15px; }

/* ------------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 12px var(--gutter);
  background: rgba(var(--cream-rgb), 0.86);
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(140%) blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.035em;
  white-space: nowrap;
}
.brand img { border-radius: 9px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  color: var(--slate);
}
.nav-links a { transition: color 0.14s ease; }
.nav-links a:hover { color: var(--red); }

/* --------------------------------------------------------------------- hero */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 56px;
  padding: clamp(48px, 7vw, 92px) var(--gutter) clamp(56px, 8vw, 104px);
  overflow: hidden;
}

.hero-content { position: relative; display: grid; gap: 22px; z-index: 2; align-content: center; }
/* Breaks come from explicit <br>s in the markup, matching the brand art:
   "Their first phone / doesn't have to be / a smartphone." */
.hero-content h1 { position: relative; text-wrap: initial; }
.hero-copy { color: var(--slate); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.58; max-width: 50ch; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--slate);
  font-size: 14.5px;
}
.hero-note strong { color: var(--ink); font-weight: 700; }

/* Hero media — photo treatment */
.hero-media { position: relative; }

/* The stock photography averages a muddy grey-taupe, which fights the
   high-key cream-and-red palette. A warm lift pulls it into the system. */
.photo-warm {
  filter: saturate(1.14) contrast(1.04) brightness(1.05) sepia(0.14);
}

.hero-frame { position: relative; }

.hero-photo {
  position: relative;
  width: 100%;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 5 / 6;
}

.hero-blob {
  position: absolute;
  inset: -16% -22% auto auto;
  width: 72%;
  aspect-ratio: 1;
  background: var(--pink);
  border-radius: 48% 52% 44% 56% / 52% 44% 56% 48%;
  z-index: -1;
}

/* Floating app screen */
.hero-media .phone-shot {
  position: absolute;
  width: 33%;
  height: auto;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  border: 5px solid #fff;
}
.hero-media .shot-primary { right: 1%; bottom: -5%; }
.hero-media .shot-secondary { left: -4%; top: 4%; width: 27%; }

/* --------------------------------------------------------------------- band */

.band {
  padding: clamp(56px, 7vw, 96px) var(--gutter);
}
.band.tinted { background: var(--cream-deep); border-block: 1px solid var(--border); }
.band.pink { background: var(--pink); }

/* ------------------------------------------------------------- how it works */

.kit-heading { display: grid; gap: 16px; max-width: 760px; margin-bottom: 52px; }
.kit-lede { color: var(--slate); font-size: 18px; line-height: 1.6; }

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

.kit-step {
  display: grid;
  gap: 14px;
  align-content: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.kit-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.kit-media {
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--pink);
  aspect-ratio: 4 / 3;
}
.kit-media img,
.kit-media svg { width: 100%; height: 100%; object-fit: cover; }
/* Wide lifestyle shots: keep the handheld phone centred as the 16:9 source
   is cropped to the card's 4:3. */
.kit-media img.wide-shot { object-position: 50% center; }

/* A real app screen, shown as a device peeking out of a brand-coloured
   panel rather than cropped square by object-fit: cover. */
.kit-media.is-screen {
  display: grid;
  place-items: end center;
  padding: 16px 16px 0;
  background: var(--pink);
}
.kit-media.is-screen img {
  width: auto;
  max-width: 64%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -2px 16px rgba(var(--ink-rgb), 0.12);
}

.kit-title {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.kit-number {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 15px;
}
.kit-copy { color: var(--slate); font-size: 15.5px; line-height: 1.55; }
.kit-mark { color: var(--red); }

.kit-assurances {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}
.kit-assurances li { display: flex; gap: 14px; align-items: flex-start; }
.kit-assurance-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--pink);
  color: var(--red);
}
.kit-assurance-icon svg { width: 22px; height: 22px; }
.kit-assurances strong { display: block; font-family: var(--display); font-size: 16px; font-weight: 800; }
.kit-assurances span { color: var(--slate); font-size: 15px; }

.affiliate-disclosure {
  margin-top: 36px;
  color: var(--slate);
  font-size: 13px;
  line-height: 1.5;
  max-width: 70ch;
}

/* ------------------------------------------------------------- memory band */

.memory-band {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 52px;
  align-items: center;
  padding: clamp(56px, 7vw, 96px) var(--gutter);
  background: var(--pink);
}
.memory-copy { display: grid; gap: 16px; }
.memory-copy p { color: #6d6158; font-size: 18px; line-height: 1.6; }
.memory-copy a {
  justify-self: start;
  font-family: var(--display);
  font-weight: 800;
  color: var(--red);
  box-shadow: inset 0 -2px 0 currentColor;
  padding: 8px 0;
}

.memory-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.memory-card {
  margin: 0;
  background: #fff;
  border-radius: var(--r-md);
  padding: 12px 12px 6px;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease;
}
.memory-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  filter: saturate(1.12) contrast(1.03) brightness(1.04) sepia(0.12);
}
.memory-card figcaption {
  font-family: var(--script);
  font-size: 23px;
  line-height: 1.25;
  color: var(--ink);
  padding: 10px 6px 8px;
  text-align: center;
}
.tilt-left { transform: rotate(-2deg); }
.tilt-right { transform: rotate(2deg); }
.memory-card:hover { transform: rotate(0deg) translateY(-5px); }

/* ----------------------------------------------------------------- hardware */

.hardware-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 46px;
}
.hardware-card {
  position: relative;
  display: grid;
  gap: 12px;
  align-content: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.hardware-card.required { border-color: var(--pink-deep); box-shadow: var(--shadow-md); }
.hardware-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--r-md);
  background: var(--pink);
}
.hardware-status {
  justify-self: start;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--pink);
  color: var(--red);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
/* Darker than --slate: the neutral chip is lighter than the cream, so the
   badge needs more weight to clear 4.5:1. */
.hardware-card.tested .hardware-status { background: var(--chip); color: #5c6472; }
.hardware-card p { color: var(--slate); font-size: 15.5px; line-height: 1.55; }
.kit-amount { color: var(--red); }
.kit-terms { font-size: 13px !important; }
.hardware-link {
  justify-self: start;
  font-family: var(--display);
  font-weight: 800;
  color: var(--red);
  box-shadow: inset 0 -2px 0 currentColor;
  padding: 8px 0;
}

/* ----------------------------------------------------------------- features */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 46px;
}
.feature-card {
  display: grid;
  gap: 12px;
  align-content: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--pink-deep);
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: var(--pink);
  color: var(--red);
}
.feature-icon svg { width: 25px; height: 25px; }
.feature-card p { color: var(--slate); font-size: 15.5px; line-height: 1.55; }

/* ------------------------------------------------------------ closing band */

.closing-band {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 52px;
  padding: clamp(56px, 7vw, 96px) var(--gutter);
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.closing-band .closing-media img {
  width: 100%;
  border-radius: var(--r-xl);
  aspect-ratio: 5 / 4;
  object-fit: cover;
}
.closing-copy { display: grid; gap: 20px; justify-items: start; }
.closing-copy h2 { color: #fff; font-size: clamp(28px, 3.4vw, 42px); }
.closing-copy p { color: rgba(255, 255, 255, 0.72); font-size: 18px; line-height: 1.6; max-width: 46ch; }
.closing-band .button.primary { background: var(--red); }
.closing-band .button.primary:hover { background: #d11b1b; }

/* ------------------------------------------------------------------ pricing */

.pricing-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
  padding: clamp(56px, 7vw, 96px) var(--gutter);
}
.pricing-band > div:first-child { display: grid; gap: 18px; align-content: start; }
.pricing-band p { color: var(--slate); font-size: 18px; line-height: 1.6; }

.check-list { display: grid; gap: 12px; margin: 6px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 32px; font-size: 16.5px; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4 10-10'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.price-panel {
  display: grid;
  gap: 18px;
  justify-items: stretch;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.line-pricing > span {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

.line-picker { display: flex; flex-wrap: wrap; gap: 8px; border: 0; margin: 0; padding: 0; }
.line-picker legend {
  font-size: 13px;
  color: var(--slate);
  margin-bottom: 10px;
  padding: 0;
}
.line-picker input { position: absolute; opacity: 0; pointer-events: none; }
.line-picker label {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  border: 2px solid var(--border-strong);
  font-family: var(--display);
  font-size: 17px;
  font-weight: 800;
  color: var(--slate);
  cursor: pointer;
  transition: all 0.14s ease;
}
.line-picker label:hover { border-color: var(--red); color: var(--red); }
.line-picker input:checked + label {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.line-picker input:focus-visible + label { outline: 3px solid var(--red); outline-offset: 2px; }

.price-figure { display: none; }
.price-figure strong {
  display: block;
  font-family: var(--display);
  font-size: 58px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}
.price-figure em {
  font-style: normal;
  font-size: 19px;
  font-weight: 700;
  color: var(--slate);
  letter-spacing: -0.01em;
}
.price-figure p { color: var(--slate); font-size: 15px; margin-top: 8px; }

.line-pricing:has(#lines-1:checked) .price-figure[data-lines="1"],
.line-pricing:has(#lines-2:checked) .price-figure[data-lines="2"],
.line-pricing:has(#lines-3:checked) .price-figure[data-lines="3"],
.line-pricing:has(#lines-4:checked) .price-figure[data-lines="4"],
.line-pricing:has(#lines-5:checked) .price-figure[data-lines="5"] { display: block; }

.price-note { color: var(--slate); font-size: 14px; }
.price-note.quiet { text-align: center; }

/* ---------------------------------------------------------------------- faq */

.faq-band { padding: clamp(56px, 7vw, 96px) var(--gutter); }
.faq-list { display: grid; gap: 14px; margin-top: 40px; max-width: 860px; }
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 13px 24px;
  transition: border-color 0.16s ease;
}
.faq-list details[open] { border-color: var(--pink-deep); box-shadow: var(--shadow-sm); }
.faq-list summary {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
  padding: 7px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--red);
  font-size: 20px;
  line-height: 1;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list p { color: var(--slate); font-size: 16px; line-height: 1.6; margin-top: 14px; }

/* ------------------------------------------------------------------ company */

.company-band {
  display: grid;
  gap: 16px;
  max-width: 760px;
  padding: clamp(48px, 6vw, 80px) var(--gutter);
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}
.company-band p { color: var(--slate); font-size: 17px; line-height: 1.6; }
.company-band a { color: var(--red); font-weight: 700; }

/* ------------------------------------------------------------------- footer */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 32px var(--gutter);
  border-top: 1px solid var(--border);
  background: var(--cream-deep);
  color: var(--slate);
  font-size: 15px;
}
.footer-brand { font-size: 17px; color: var(--ink); }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; font-weight: 600; }
.footer-links a:hover { color: var(--red); }

/* ------------------------------------------------- support and legal pages */

.legal-hero {
  display: grid;
  gap: 14px;
  padding: clamp(44px, 6vw, 76px) var(--gutter) 28px;
}
.legal-hero h1, .support-hero h1 { font-size: clamp(34px, 4.4vw, 52px); }
.legal-hero p { color: var(--slate); font-size: 17px; line-height: 1.6; }

/* Prose stays readable while the section keeps the site-wide gutter. */
.legal-hero > *, .legal-content > * { max-width: 72ch; }

.legal-content {
  display: grid;
  gap: 16px;
  padding: 0 var(--gutter) clamp(48px, 6vw, 80px);
}
.legal-content h2 { font-size: 24px; margin-top: 22px; }
.legal-content p { color: var(--slate); font-size: 16.5px; line-height: 1.65; }
.legal-content a, .legal-hero a, .support-contact a { color: var(--red); font-weight: 700; }

.support-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
  padding: clamp(44px, 6vw, 76px) var(--gutter) 44px;
}
.support-hero > div { display: grid; gap: 14px; }
.support-hero p { color: var(--slate); font-size: 17px; line-height: 1.6; }

.support-contact {
  display: grid;
  gap: 8px;
  justify-items: start;
  background: var(--pink);
  border-radius: var(--r-lg);
  padding: 26px;
}
.support-contact span {
  font-family: var(--display);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}
.support-contact a { font-size: 18px; word-break: break-word; }
.support-contact p { color: #6d6158; font-size: 15px; line-height: 1.55; }

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding: 0 var(--gutter) clamp(48px, 6vw, 80px);
}
.support-grid article {
  display: grid;
  gap: 10px;
  align-content: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.support-topic {
  justify-self: start;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--pink);
  color: var(--red);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.support-grid h2 { font-size: 22px; }
.support-grid p { color: var(--slate); font-size: 16px; line-height: 1.6; }

.support-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
  padding: clamp(44px, 6vw, 72px) var(--gutter);
  background: var(--cream-deep);
  border-top: 1px solid var(--border);
}
.support-checklist > div { display: grid; gap: 14px; }

/* -------------------------------------------------------------- responsive */

@media (max-width: 1040px) {
  .hero { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { max-width: 520px; }
  .kit-flow, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .memory-band, .pricing-band, .closing-band,
  .support-hero, .support-checklist { grid-template-columns: 1fr; gap: 36px; }
  .kit-assurances { grid-template-columns: 1fr; gap: 18px; }
  .nav-links { display: none; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .kit-flow, .feature-grid, .hardware-grid,
  .support-grid { grid-template-columns: 1fr; }

  /* Four stacked polaroids ran ~2.4 screens tall. Swiping keeps them at a
     readable size and brings the section back to roughly one screen. */
  .memory-list {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    /* Bleed past the section gutter so the strip runs to the screen edge. */
    margin-inline: calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 10px;
  }
  .memory-card {
    flex: 0 0 70%;
    scroll-snap-align: start;
  }
  .memory-card figcaption { font-size: 20px; }
  .hero { padding-top: 28px; }
  .price-panel { padding: 24px; }
  .price-figure strong { font-size: 46px; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 10px; }
  /* Comfortable touch targets in the footer link row. */
  .footer-links { gap: 4px 20px; }
  .footer-links a { padding: 11px 0; }

  /* The wordmark and the CTA cannot both fit beside each other at phone
     width, so the mark carries the brand and the text steps aside. */
  .site-header { gap: 12px; min-height: 64px; }
  .brand span { display: none; }
  .footer-brand span { display: inline; }
  .nav-cta { padding: 10px 18px; }

  /* Full-bleed stacked actions read as one clear pair. */
  .hero-actions { display: grid; gap: 10px; }
  .hero-actions .button { width: 100%; }

  /* Room above the headline so the spark mark clears the cap height. */
  .hero-content h1 { padding-top: 22px; }
  .sparks.left { top: -4px; left: 0; }
  .sparks.right { right: 0; bottom: -2px; }

  .hero-note { display: block; }
  .hero-note strong { margin-right: 4px; }

  .memory-card figcaption { font-size: 21px; }
  .tilt-left, .tilt-right { transform: none; }
}

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