:root {
  color-scheme: dark;
  --rf-orange: #ff5722;
  --rf-orange-strong: #ff6a32;
  --rf-orange-soft: rgba(255, 87, 34, 0.16);
  --rf-orange-line: rgba(255, 87, 34, 0.5);
  --black: #000;
  --ink: #fbf6f3;
  --muted: #aaa19d;
  --panel: rgba(7, 7, 7, 0.84);
  --panel-solid: #070707;
  --line: rgba(255, 255, 255, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--black);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::selection {
  background: var(--rf-orange);
  color: #050505;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-shell {
  overflow-x: hidden;
}

.hero-section {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr;
  padding-bottom: 42px;
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg {
  z-index: -3;
  background-image: url("assets/kitchen-memory-bg.png");
  background-position: center;
  background-size: cover;
  opacity: 0.74;
  filter: saturate(1.08) contrast(1.12);
}

.hero-shade {
  z-index: -2;
  background:
    radial-gradient(circle at 70% 36%, rgba(255, 87, 34, 0.18), transparent 25%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.22) 54%, rgba(0, 0, 0, 0.78)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), #000 100%);
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  box-shadow: inset 0 0 170px rgba(255, 87, 34, 0.08);
}

.top-nav,
.hero-content,
.section-block,
.affiliate-section,
.split-section,
.roadmap-section,
.legal-footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.top-nav {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
}

.brand-mark img {
  width: 136px;
  height: 88px;
  object-fit: contain;
  opacity: 0.98;
  mix-blend-mode: screen;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(16px);
}

.nav-links a {
  color: #c9c1bd;
  font-size: 12px;
  font-weight: 900;
  padding: 9px 11px;
  border-radius: 6px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--rf-orange);
  background: rgba(255, 87, 34, 0.08);
}

.hero-content {
  align-self: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  gap: 54px;
  align-items: end;
  padding: 54px 0 80px;
}

.hero-copy {
  max-width: 880px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--rf-orange);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 940px;
  margin-bottom: 24px;
  font-size: clamp(58px, 9vw, 124px);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(36px, 6vw, 74px);
  line-height: 0.95;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.1;
}

.hero-lede,
.section-heading p,
.split-section p,
.roadmap-section > p:not(.eyebrow) {
  color: #d7cfcb;
  font-size: clamp(17px, 2vw, 23px);
  line-height: 1.46;
}

.hero-lede {
  max-width: 720px;
  margin-bottom: 30px;
}

.hero-actions,
.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-action,
.secondary-action,
.store-pill,
.tester-card button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.primary-action,
.tester-card button {
  border: 1px solid var(--rf-orange);
  background: var(--rf-orange);
  color: #050505;
  box-shadow: 0 0 32px rgba(255, 87, 34, 0.24);
}

.secondary-action,
.store-pill {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.58);
  color: #ddd5d1;
}

.disabled-link {
  opacity: 0.72;
  cursor: default;
}

.signal-panel,
.feature-grid article,
.tester-card,
.roadmap-grid article {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(16px);
}

.signal-panel {
  padding: 22px;
  border-color: rgba(255, 87, 34, 0.34);
}

.panel-kicker {
  margin-bottom: 8px;
  color: var(--rf-orange);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.signal-panel h2 {
  margin-bottom: 20px;
  font-size: 30px;
  line-height: 1;
}

.status-list {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 14px;
  align-items: center;
}

.status-list span,
.status-list strong {
  min-height: 32px;
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #aaa19d;
  font-size: 12px;
  font-weight: 900;
}

.status-list strong {
  justify-content: flex-end;
  color: var(--rf-orange-strong);
  text-align: right;
}

.section-block,
.split-section,
.roadmap-section {
  padding: 94px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.feature-grid,
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.feature-grid article,
.roadmap-grid article {
  min-height: 220px;
  padding: 24px;
}

.feature-grid span {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--rf-orange);
  font-size: 12px;
  font-weight: 950;
}

.feature-grid p,
.roadmap-grid p,
.form-note,
.merch-strip span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.48;
}

.store-row {
  margin-top: 24px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 440px);
  gap: 54px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.affiliate-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 54px;
  align-items: center;
  padding: 94px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.affiliate-copy {
  max-width: 760px;
}

.affiliate-copy p:not(.eyebrow) {
  color: #d7cfcb;
  font-size: clamp(17px, 2vw, 23px);
  line-height: 1.46;
}

.affiliate-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.affiliate-points span {
  min-height: 82px;
  display: flex;
  align-items: flex-end;
  border: 1px solid rgba(255, 87, 34, 0.22);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.48);
  color: #cfc7c3;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  padding: 14px;
}

.affiliate-card {
  border-color: rgba(255, 87, 34, 0.36);
}

.tester-card {
  display: grid;
  gap: 11px;
  padding: 22px;
  border-color: rgba(255, 87, 34, 0.28);
}

.tester-card label {
  color: #a99f9b;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.tester-card input,
.tester-card select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.66);
  color: var(--ink);
  outline: none;
  padding: 0 13px;
}

.tester-card input:focus,
.tester-card select:focus {
  border-color: var(--rf-orange-line);
  box-shadow: 0 0 0 4px var(--rf-orange-soft);
}

.tester-card button {
  width: 100%;
  margin-top: 6px;
}

.hidden-field {
  display: none;
}

.form-note {
  margin-bottom: 0;
  font-size: 12px;
}

.merch-section {
  padding-bottom: 60px;
}

.merch-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.merch-strip span {
  min-height: 92px;
  display: flex;
  align-items: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 87, 34, 0.05), rgba(0, 0, 0, 0.62)),
    var(--panel-solid);
  padding: 16px;
  font-weight: 900;
}

.roadmap-section {
  padding-top: 40px;
}

.roadmap-section > p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 30px;
}

.legal-footer {
  padding: 26px 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #7f7976;
  font-size: 11px;
  font-weight: 800;
}

.legal-footer p {
  max-width: 560px;
  margin: 0;
  line-height: 1.4;
}

.legal-footer nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.legal-footer a {
  color: #b8b1ae;
}

.legal-footer a:hover,
.legal-footer a:focus-visible {
  color: var(--rf-orange);
}

.legal-page {
  min-height: 100vh;
  background: #000;
  color: var(--ink);
  padding: 44px 20px;
}

.thanks-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 87, 34, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(255, 87, 34, 0.06), rgba(0, 0, 0, 0) 42%),
    #000;
  color: var(--ink);
  padding: 24px;
}

.thanks-shell {
  width: min(620px, 100%);
  min-height: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 87, 34, 0.34);
  border-radius: 8px;
  background: rgba(7, 7, 7, 0.86);
  box-shadow: 0 0 70px rgba(255, 87, 34, 0.12);
  padding: clamp(24px, 5vw, 52px);
  text-align: center;
}

.thanks-logo {
  width: 158px;
  height: 104px;
  object-fit: contain;
  margin-bottom: 22px;
  opacity: 0.96;
  mix-blend-mode: screen;
}

.thanks-shell h1 {
  max-width: 520px;
  margin-bottom: 18px;
  font-size: clamp(42px, 9vw, 78px);
  line-height: 0.94;
}

.thanks-shell p:not(.eyebrow) {
  max-width: 460px;
  color: #d7cfcb;
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 28px;
}

.legal-document {
  width: min(760px, 100%);
  margin: 0 auto;
  border: 1px solid rgba(255, 87, 34, 0.28);
  border-radius: 8px;
  background: rgba(8, 8, 8, 0.9);
  padding: clamp(22px, 4vw, 42px);
}

.legal-document h1 {
  font-size: clamp(34px, 7vw, 62px);
  margin-bottom: 20px;
}

.legal-document h2 {
  font-size: 18px;
  margin: 28px 0 10px;
}

.legal-document p,
.legal-document li {
  color: #c8c0bd;
  line-height: 1.6;
}

.legal-document a {
  color: var(--rf-orange);
}

.back-link {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--rf-orange);
  text-decoration: none;
  font-weight: 900;
}

@media (max-width: 900px) {
  .hero-bg {
    background-image: url("assets/kitchen-memory-mobile-bg.png");
    background-position: center;
  }

  .top-nav,
  .hero-content,
  .section-block,
  .affiliate-section,
  .split-section,
  .roadmap-section,
  .legal-footer {
    width: min(100% - 28px, 1180px);
  }

  .top-nav {
    min-height: 88px;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding-top: 10px;
  }

  .brand-mark img {
    width: 118px;
    height: 78px;
  }

  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2px;
    padding: 5px;
  }

  .nav-links a {
    font-size: 10px;
    padding: 8px 7px;
    text-align: center;
  }

  .hero-content,
  .affiliate-section,
  .split-section,
  .feature-grid,
  .roadmap-grid,
  .affiliate-points,
  .merch-strip {
    grid-template-columns: 1fr;
  }

  .hero-content {
    gap: 28px;
    padding: 26px 0 54px;
  }

  h1 {
    font-size: clamp(42px, 13vw, 64px);
  }

  h2 {
    font-size: clamp(34px, 10vw, 54px);
  }

  .hero-lede,
  .section-heading p,
  .split-section p,
  .roadmap-section > p:not(.eyebrow) {
    font-size: 17px;
  }

  .hero-actions,
  .store-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .primary-action,
  .secondary-action,
  .store-pill {
    width: 100%;
  }

  .signal-panel h2 {
    font-size: clamp(25px, 8vw, 30px);
  }

  .status-list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .status-list span {
    min-height: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .status-list strong {
    min-height: 28px;
    justify-content: flex-start;
    border-top: 0;
    padding-bottom: 8px;
  }

  .section-block,
  .affiliate-section,
  .split-section,
  .roadmap-section {
    padding: 64px 0;
  }

  .feature-grid article,
  .roadmap-grid article {
    min-height: 168px;
  }

  .feature-grid span {
    margin-bottom: 22px;
  }

  .legal-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal-footer nav {
    justify-content: flex-start;
  }
}
