/* ============================================================
   Defrost — Landing Page
   ============================================================ */

:root {
  /* Brand */
  --cyan: #9FE0E2;
  --cyan-strong: #6DCDD0;
  --cyan-deep: #2BA2A6;
  --ink: #0A0A0A;
  --ink-2: #1A1A1A;
  --paper: #FBFAF7;        /* warm off-white */
  --paper-2: #F2EFE8;      /* warm sand */
  --line: rgba(10,10,10,.10);
  --line-soft: rgba(10,10,10,.06);
  --muted: rgba(10,10,10,.58);
  --muted-2: rgba(10,10,10,.42);

  /* Accent intensity (overridden by Tweaks) */
  --accent: var(--cyan);

  /* Type */
  --display: "Space Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Rhythm */
  --maxw: 1200px;
  --gutter: 32px;
  --radius: 14px;
  --radius-lg: 22px;
}

[data-theme="dark"] {
  --ink: #FBFAF7;
  --ink-2: #E8E5DC;
  --paper: #0B0D0E;
  --paper-2: #14181A;
  --line: rgba(255,255,255,.10);
  --line-soft: rgba(255,255,255,.06);
  --muted: rgba(251,250,247,.62);
  --muted-2: rgba(251,250,247,.40);
}

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

body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ============================================================
   Layout primitives
   ============================================================ */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 999px;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(48px, 7vw, 92px); line-height: 0.96; letter-spacing: -0.035em; }
h2 { font-size: clamp(32px, 4vw, 56px); line-height: 1.02; letter-spacing: -0.028em; }
h3 { font-size: clamp(20px, 2vw, 26px); line-height: 1.15; letter-spacing: -0.018em; }

p { margin: 0; }

/* ============================================================
   Top nav
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 700;
  font-size: 22px; letter-spacing: -0.01em;
}
.nav-logo .mark {
  width: 22px; height: 22px;
  background-image: url("assets/defrost-mark.png");
  background-size: contain; background-repeat: no-repeat; background-position: center;
}
.nav-links {
  display: flex; gap: 28px; align-items: center;
  font-size: 14px; color: var(--muted);
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 16px;
  background: var(--ink); color: var(--paper);
  border-radius: 999px; font-size: 14px; font-weight: 500;
  border: 0; cursor: pointer;
  transition: transform .15s ease, opacity .15s ease;
}
.nav-cta:hover { transform: translateY(-1px); opacity: .92; }
.nav-cta::after { content: "→"; font-size: 13px; }

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: 90px 0 80px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}

.hero h1 .accent {
  display: inline-block;
  position: relative;
  color: var(--ink);
}
.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: -2px; right: -2px; bottom: 0.05em;
  height: 0.32em;
  background: var(--accent);
  z-index: -1;
  border-radius: 3px;
}
.hero-sub {
  margin-top: 26px;
  font-size: 19px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 540px;
  text-wrap: pretty;
}

.hero-form {
  margin-top: 36px;
  display: flex; gap: 8px;
  background: var(--paper-2);
  padding: 6px;
  border-radius: 999px;
  max-width: 480px;
  border: 1px solid var(--line);
}
.hero-form input {
  flex: 1;
  background: transparent; border: 0; outline: none;
  padding: 0 18px;
  font-family: inherit; font-size: 15px;
  color: var(--ink);
}
.hero-form input::placeholder { color: var(--muted-2); }
.hero-form button {
  height: 44px; padding: 0 22px;
  background: var(--ink); color: var(--paper);
  border: 0; border-radius: 999px;
  font-weight: 500; font-size: 14px;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform .15s ease, opacity .15s ease;
}
.hero-form button:hover { transform: translateY(-1px); opacity: .92; }

.hero-meta {
  display: flex; gap: 22px; margin-top: 18px;
  font-size: 13px; color: var(--muted-2);
  align-items: center;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta svg { width: 14px; height: 14px; }

/* Hero visual: floating email card */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 4.4;
  min-height: 480px;
}
.hero-bg-ast {
  position: absolute;
  inset: -10% -20% -10% 0;
  background-image: url("assets/defrost-mark.png");
  background-size: 80% auto;
  background-repeat: no-repeat;
  background-position: 60% 50%;
  opacity: 0.6;
  filter: blur(0.4px);
  pointer-events: none;
}

.email-card {
  position: absolute;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 30px 60px -20px rgba(10,10,10,.18), 0 8px 18px -8px rgba(10,10,10,.12);
  padding: 18px 20px;
  font-size: 14px;
  width: 360px;
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
[data-theme="dark"] .email-card {
  box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 30px 60px -20px rgba(0,0,0,.6), 0 8px 18px -8px rgba(0,0,0,.5);
}
.email-card.primary {
  top: 8%; left: 4%;
  z-index: 3;
  transform: rotate(-2.2deg);
}
.email-card.secondary {
  top: 38%; right: 0;
  z-index: 2;
  transform: rotate(3deg);
  width: 320px;
}
.email-card.tertiary {
  bottom: 4%; left: 18%;
  z-index: 1;
  transform: rotate(-1deg);
  width: 300px;
  opacity: 0.92;
}
.email-card:hover {
  transform: rotate(0) translateY(-4px) scale(1.02);
  z-index: 5;
}

/* Hero on mobile — keep the floating cards inside the viewport, give the
   headline room to breathe, and tighten the section padding. Targets
   <=720px only so tablet and desktop layouts are untouched. */
@media (max-width: 720px) {
  .hero { padding: 64px 0 56px; }
  .hero h1 {
    font-size: clamp(34px, 10vw, 48px);
    letter-spacing: -0.03em;
  }
  .hero-sub {
    font-size: 17px;
    margin-top: 22px;
  }
  .hero-visual { min-height: 380px; }
  .email-card {
    width: auto;
    max-width: calc(100% - 24px);
  }
  .email-card.primary  { left: 4%; right: auto; }
  .email-card.secondary { right: 4%; left: auto; }
  .email-card.tertiary  { left: 6%; right: auto; }
}
.email-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 10px; margin-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}
.email-from { font-weight: 600; font-size: 13px; }
.email-time { font-size: 12px; color: var(--muted-2); font-family: var(--mono); }
.email-subject { font-weight: 600; margin-bottom: 8px; font-size: 14px; }
.email-body { color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.email-body .hi { color: var(--ink); }
.email-tag {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 12px;
  background: color-mix(in srgb, var(--accent) 35%, transparent);
  color: var(--ink);
  font-family: var(--mono); font-size: 11px;
  padding: 3px 9px; border-radius: 999px;
  letter-spacing: 0.02em;
}
[data-theme="dark"] .email-tag { color: var(--ink); background: color-mix(in srgb, var(--accent) 30%, transparent); }
.email-tag::before {
  content: ""; width: 5px; height: 5px;
  background: var(--cyan-deep);
  border-radius: 999px;
}

/* ============================================================
   Logo strip
   ============================================================ */
.logos {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 28px 0;
  background: var(--paper);
}
.logos-row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 40px; flex-wrap: wrap;
}
.logos-row .lbl {
  font-family: var(--mono); font-size: 12px;
  color: var(--muted-2); letter-spacing: 0.06em; text-transform: uppercase;
}
.logos-row .item {
  font-family: var(--display); font-weight: 700;
  font-size: 22px; letter-spacing: -0.02em;
  color: var(--ink);
  opacity: 0.55;
  transition: opacity .2s;
}
.logos-row .item:hover { opacity: 1; }
.logos-row .item .dot {
  display: inline-block; width: 8px; height: 8px;
  border-radius: 999px; background: var(--ink);
  margin-right: 6px; transform: translateY(-2px);
}

/* ============================================================
   Section common
   ============================================================ */
.section {
  padding: 120px 0;
  position: relative;
}
.section.tight { padding: 90px 0; }
.section-head {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  margin-bottom: 64px;
  align-items: end;
}
@media (max-width: 820px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
}
.section-head .desc {
  font-size: 18px; color: var(--muted);
  max-width: 520px; text-wrap: pretty;
}

/* ============================================================
   Problem section (editorial)
   ============================================================ */
.problem {
  background: var(--paper-2);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.problem-quote {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  max-width: 980px;
  text-wrap: balance;
}
.problem-quote .strike {
  position: relative;
  color: var(--muted-2);
}
.problem-quote .strike::after {
  content: ""; position: absolute;
  left: -2px; right: -2px; top: 50%;
  height: 3px; background: currentColor;
  border-radius: 2px;
}
.problem-quote .hl { color: var(--ink); position: relative; }
.problem-quote .hl::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 8px; background: var(--accent);
  z-index: -1; border-radius: 2px;
}
.problem-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
@media (max-width: 720px) {
  .problem-stats { grid-template-columns: 1fr; gap: 24px; }
}
.stat-num {
  font-family: var(--display);
  font-size: clamp(40px, 4vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-num .pct { color: var(--accent); }
.stat-lbl {
  margin-top: 12px;
  font-size: 15px; color: var(--muted);
  max-width: 260px; line-height: 1.45;
}

/* ============================================================
   How it works — pipeline
   ============================================================ */
.pipeline {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper);
}
@media (max-width: 1100px) {
  .pipeline { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 600px) {
  .pipeline { grid-template-columns: repeat(2, 1fr); }
}
.pipe-step {
  position: relative;
  padding: 28px 22px 26px;
  border-right: 1px solid var(--line-soft);
  background: var(--paper);
  transition: background .2s;
}
.pipe-step:last-child { border-right: 0; }
.pipe-step:hover { background: var(--paper-2); }
@media (max-width: 1100px) {
  .pipe-step:nth-child(4n) { border-right: 0; }
  .pipe-step:nth-child(-n+4) { border-bottom: 1px solid var(--line-soft); }
}
@media (max-width: 600px) {
  .pipe-step { border-right: 0 !important; border-bottom: 1px solid var(--line-soft); }
  .pipe-step:nth-child(2n+1) { border-right: 1px solid var(--line-soft) !important; }
}
.pipe-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.08em;
}
.pipe-icon {
  margin-top: 14px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: 10px;
}
.pipe-icon svg { width: 18px; height: 18px; stroke: var(--ink); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pipe-title {
  margin-top: 18px;
  font-family: var(--display);
  font-weight: 600; font-size: 15px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.pipe-desc {
  margin-top: 6px;
  font-size: 12.5px; color: var(--muted); line-height: 1.4;
}
.pipe-step::after {
  content: "";
  position: absolute;
  right: -7px; top: 50%;
  width: 12px; height: 12px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  transform: translateY(-50%) rotate(45deg);
  background: var(--paper);
  z-index: 2;
}
.pipe-step:last-child::after { display: none; }
@media (max-width: 1100px) {
  .pipe-step:nth-child(4n)::after { display: none; }
}
@media (max-width: 600px) {
  .pipe-step::after { display: none; }
}

/* ============================================================
   Features (alternating)
   ============================================================ */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 140px;
}
.feature:last-child { margin-bottom: 0; }
.feature.flip > .feature-text { order: 2; }
@media (max-width: 920px) {
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 40px; margin-bottom: 80px; }
  .feature.flip > .feature-text { order: 0; }
}

.feature-num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 8px;
}
.feature-num::before {
  content: "*"; color: var(--cyan-deep); font-size: 18px;
  font-family: var(--display); font-weight: 700;
  transform: translateY(2px);
}
.feature-text h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.05;
  margin-bottom: 18px;
}
.feature-text p {
  font-size: 17px; color: var(--muted); line-height: 1.55;
  text-wrap: pretty;
}
.feature-list {
  list-style: none; padding: 0; margin: 24px 0 0;
  display: flex; flex-direction: column; gap: 10px;
}
.feature-list li {
  font-size: 15px;
  display: flex; align-items: flex-start; gap: 12px;
  color: var(--ink-2);
}
.feature-list li::before {
  content: "*";
  color: var(--cyan-deep);
  font-family: var(--display); font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  flex-shrink: 0;
}

/* Visual placeholder card */
.feature-visual {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--paper-2);
  border: 1px solid var(--line);
  overflow: hidden;
  min-height: 420px;
  padding: 28px;
}

/* Feature 1: Research dossier */
.dossier {
  font-family: var(--mono);
  font-size: 12px;
  display: flex; flex-direction: column; gap: 14px;
}
.dossier-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
}
.dossier-card .src {
  font-size: 10.5px; color: var(--muted-2);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 8px;
  display: flex; align-items: center; gap: 6px;
}
.dossier-card .src::before {
  content: ""; width: 6px; height: 6px;
  background: var(--accent); border-radius: 999px;
}
.dossier-card .quote {
  color: var(--ink); font-family: var(--body); font-size: 13.5px;
  line-height: 1.45;
}
.dossier-card .signal {
  margin-top: 10px;
  display: inline-flex; align-items: center; gap: 6px;
  background: color-mix(in srgb, var(--accent) 25%, transparent);
  padding: 3px 8px; border-radius: 6px;
  font-size: 10.5px; color: var(--ink);
  letter-spacing: 0.02em;
}
.dossier-arrow {
  align-self: center; color: var(--muted-2); font-size: 14px;
}

/* Feature 2: Email composition with framework chips */
.compose {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  font-size: 14px;
}
.compose-meta {
  display: flex; justify-content: space-between; gap: 8px;
  padding-bottom: 14px; margin-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--mono); font-size: 11px; color: var(--muted-2);
  letter-spacing: 0.04em;
}
.compose-frameworks {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-bottom: 14px;
}
.fwk-chip {
  font-family: var(--mono); font-size: 10.5px;
  padding: 4px 9px; border-radius: 6px;
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  color: var(--muted);
  letter-spacing: 0.04em;
}
.fwk-chip.on {
  background: color-mix(in srgb, var(--accent) 35%, transparent);
  color: var(--ink);
  border-color: transparent;
}
.compose-body {
  font-size: 14px; line-height: 1.55; color: var(--ink-2);
}
.compose-body .h { color: var(--ink); font-weight: 600; }
.compose-body .swap { background: color-mix(in srgb, var(--accent) 35%, transparent); padding: 0 4px; border-radius: 3px; color: var(--ink); }
.compose-score {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 18px; padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--mono); font-size: 11px; color: var(--muted);
}
.compose-score .ok { color: var(--cyan-deep); font-weight: 600; }

/* Feature 3: Learning chart */
.chart {
  position: relative; height: 100%;
  display: flex; flex-direction: column;
  justify-content: space-between;
}
.chart-head {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--mono); font-size: 11px; color: var(--muted-2);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.chart-head .now {
  font-family: var(--display); font-size: 28px; font-weight: 700;
  color: var(--ink); letter-spacing: -0.02em;
  text-transform: none;
}
.chart-head .delta {
  color: var(--cyan-deep); font-weight: 600;
  font-family: var(--mono); font-size: 12px;
}
.chart-svg {
  width: 100%; height: 200px;
}
.chart-x {
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 10.5px;
  color: var(--muted-2); letter-spacing: 0.04em;
  padding-top: 8px; border-top: 1px solid var(--line-soft);
}
.chart-bullets {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-top: 18px;
}
.chart-bullets .b {
  font-family: var(--mono); font-size: 11px;
  background: var(--paper); border: 1px solid var(--line);
  padding: 5px 10px; border-radius: 999px;
  color: var(--muted);
}
.chart-bullets .b.win { background: color-mix(in srgb, var(--accent) 30%, transparent); color: var(--ink); border-color: transparent; }

/* ============================================================
   Comparison
   ============================================================ */
.compare {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
}
[data-theme="dark"] .compare {
  background: var(--paper-2);
  color: var(--ink);
  border: 1px solid var(--line);
}
.compare h2 { color: inherit; max-width: 700px; }
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}
@media (max-width: 720px) {
  .compare-grid { grid-template-columns: 1fr; gap: 20px; }
}
.compare-col {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 28px;
}
[data-theme="dark"] .compare-col {
  background: var(--paper);
  border: 1px solid var(--line);
}
.compare-col.us {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border-color: color-mix(in srgb, var(--accent) 50%, transparent);
}
.compare-col h4 {
  font-size: 14px;
  font-family: var(--mono); font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 18px;
  color: inherit;
  opacity: 0.7;
}
.compare-col.us h4 { color: var(--cyan); opacity: 1; }
[data-theme="dark"] .compare-col.us h4 { color: var(--cyan-deep); }
.compare-col ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 14px;
}
.compare-col li {
  font-size: 16px; line-height: 1.4;
  display: flex; align-items: flex-start; gap: 12px;
}
.compare-col li::before {
  content: "✕";
  color: rgba(255,255,255,.4);
  font-size: 13px;
  flex-shrink: 0;
  line-height: 1.5;
}
[data-theme="dark"] .compare-col:not(.us) li::before { color: var(--muted-2); }
.compare-col.us li::before {
  content: "*";
  color: var(--accent);
  font-family: var(--display); font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
}

/* ============================================================
   Pricing teaser
   ============================================================ */
.pricing-teaser {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 0;
}
.pricing-teaser h2 {
  font-size: clamp(36px, 4.5vw, 64px);
}
.pricing-teaser p {
  margin-top: 20px;
  font-size: 18px; color: var(--muted);
}
.pricing-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
  text-align: left;
}
@media (max-width: 720px) {
  .pricing-tiers { grid-template-columns: 1fr; }
}
.tier {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--paper);
}
.tier.featured {
  border-color: var(--cyan-deep);
  background: color-mix(in srgb, var(--accent) 15%, var(--paper));
  position: relative;
}
.tier-name {
  font-family: var(--mono); font-size: 12px;
  color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase;
}
.tier-price {
  margin-top: 12px;
  font-family: var(--display); font-weight: 700;
  font-size: 38px; letter-spacing: -0.025em;
  line-height: 1;
}
.tier-price small { font-size: 14px; color: var(--muted); font-weight: 400; }
.tier-desc {
  margin-top: 10px; font-size: 14px; color: var(--muted);
  line-height: 1.45;
}
.tier-badge {
  position: absolute; top: -10px; right: 18px;
  font-family: var(--mono); font-size: 10.5px;
  background: var(--ink); color: var(--paper);
  padding: 4px 10px; border-radius: 999px;
  letter-spacing: 0.06em;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 60px;
}
@media (max-width: 820px) {
  .faq { grid-template-columns: 1fr; gap: 32px; }
}
.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  cursor: default;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--display);
  font-weight: 600; font-size: 19px;
  letter-spacing: -0.015em;
  cursor: pointer;
  user-select: none;
  gap: 24px;
}
.faq-q .ind {
  width: 22px; height: 22px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.faq-q .ind::before, .faq-q .ind::after {
  content: ""; position: absolute;
  background: var(--ink);
  transition: transform .25s ease;
}
.faq-q .ind::before { width: 12px; height: 1.5px; }
.faq-q .ind::after  { width: 1.5px; height: 12px; }
.faq-item.open .faq-q .ind::after { transform: scaleY(0); }
.faq-a {
  max-height: 0; overflow: hidden;
  font-size: 16px; color: var(--muted); line-height: 1.55;
  transition: max-height .3s ease, margin-top .3s ease;
  max-width: 640px;
}
.faq-item.open .faq-a {
  max-height: 320px;
  margin-top: 14px;
}

/* ============================================================
   CTA bottom
   ============================================================ */
.cta-final {
  position: relative;
  text-align: center;
  padding: 140px 0 120px;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: -10% 0 0 0;
  background-image: url("assets/defrost-mark.png");
  background-size: 480px auto;
  background-repeat: no-repeat;
  background-position: center 0;
  opacity: 0.18;
  z-index: 0;
}
.cta-final > * { position: relative; z-index: 1; }
.cta-final h2 {
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  max-width: 900px;
  margin: 0 auto;
}
.cta-final p {
  margin: 24px auto 0;
  max-width: 540px;
  font-size: 18px; color: var(--muted);
}
.cta-final .hero-form {
  margin: 36px auto 0;
}

/* ============================================================
   Footer
   ============================================================ */
.foot {
  border-top: 1px solid var(--line-soft);
  background: var(--paper);
  padding: 48px 0 32px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 720px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
.foot-brand .mark-row {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 700; font-size: 24px;
  letter-spacing: -0.01em;
}
.foot-brand .mark-row .mark {
  width: 24px; height: 24px;
  background-image: url("assets/defrost-mark.png");
  background-size: contain; background-repeat: no-repeat; background-position: center;
}
.foot-brand p {
  margin-top: 16px;
  color: var(--muted); font-size: 14px;
  max-width: 280px; line-height: 1.5;
}
.foot-col h5 {
  font-family: var(--mono); font-size: 11px;
  color: var(--muted-2); letter-spacing: 0.08em; text-transform: uppercase;
  margin: 0 0 14px;
  font-weight: 500;
}
.foot-col ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 14px;
}
.foot-col a { color: var(--ink-2); }
.foot-col a:hover { color: var(--cyan-deep); }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 56px; padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--mono); font-size: 11.5px;
  color: var(--muted-2); letter-spacing: 0.04em;
}
@media (max-width: 720px) {
  .foot-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* Marquee for hero ticker */
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--ink);
  color: var(--paper);
  padding: 14px 0;
}
.ticker-row {
  display: flex; gap: 48px;
  animation: scroll 38s linear infinite;
  white-space: nowrap;
  font-family: var(--mono); font-size: 13px;
  letter-spacing: 0.04em;
}
.ticker-row span { display: inline-flex; align-items: center; gap: 12px; }
.ticker-row span::before {
  content: "*"; color: var(--accent);
  font-family: var(--display); font-weight: 700; font-size: 18px;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Selection */
::selection { background: var(--accent); color: var(--ink); }
