:root {
  color-scheme: light;
  --ink: #111111;
  --muted: #575a50;
  --paper: #fbf7ee;
  --mist: #dfe7d9;
  --sage: #cbd7c8;
  --cream: #fffaf0;
  --tomato: #ec4b32;
  --tomato-dark: #bd311f;
  --line: rgba(17, 17, 17, 0.16);
  --shadow: 0 24px 70px rgba(45, 44, 39, 0.16);
  --display: "Arial Black", "Avenir Next Condensed", Impact, sans-serif;
  --body: "Avenir Next", "Trebuchet MS", Verdana, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.04) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(180deg, var(--cream), var(--paper) 58%, var(--mist));
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 24% 20%, rgba(236, 75, 50, 0.11), transparent 24rem),
    radial-gradient(circle at 86% 8%, rgba(203, 215, 200, 0.72), transparent 32rem);
  z-index: -1;
}

a {
  color: inherit;
}

.site-shell {
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 3vw, 38px);
  margin-top: 18px;
  border: 1px solid var(--line);
  background: rgba(250, 248, 239, 0.84);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(32, 33, 28, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0;
  text-decoration: none;
}

.brand-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 13px 0 0 var(--tomato);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 38px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 18px;
  border: 2px solid var(--ink);
  background: var(--tomato);
  color: white;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--ink);
}

.button.secondary {
  background: var(--cream);
  color: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.55fr);
  gap: clamp(22px, 4vw, 54px);
  padding: clamp(36px, 7vw, 86px) clamp(18px, 4vw, 54px);
  margin-top: 18px;
  border: 1px solid var(--line);
  background: rgba(219, 230, 215, 0.9);
  overflow: hidden;
}

.hero::after {
  content: "RECIPES";
  position: absolute;
  right: -0.08em;
  bottom: -0.22em;
  color: rgba(17, 17, 17, 0.055);
  font-family: var(--display);
  font-size: clamp(7rem, 22vw, 22rem);
  line-height: 0.8;
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--tomato-dark);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

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

h1 {
  max-width: 980px;
  margin-bottom: 16px;
  font-family: var(--display);
  font-size: clamp(5.5rem, 16vw, 14.5rem);
  line-height: 0.78;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  color: #2f332d;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 600;
}

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

.hero-media {
  position: relative;
  z-index: 1;
  align-self: end;
  min-height: 470px;
}

.phone-stack {
  position: sticky;
  top: 110px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.phone-card {
  border: 2px solid var(--ink);
  background: var(--cream);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone-card.offset {
  margin-top: 58px;
}

.phone-card img {
  display: block;
  width: 100%;
  height: auto;
}

.section {
  padding: clamp(58px, 8vw, 108px) clamp(18px, 4vw, 54px);
  border-inline: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.84);
}

.section.alt {
  background: rgba(203, 215, 200, 0.74);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: start;
}

.section h2 {
  margin-bottom: 18px;
  font-family: var(--display);
  font-size: clamp(2.7rem, 7vw, 7rem);
  line-height: 0.86;
  letter-spacing: 0;
}

.lead {
  color: #30342e;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 650;
}

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

.feature {
  min-height: 230px;
  padding: 22px;
  border: 2px solid var(--ink);
  background: var(--cream);
  box-shadow: 7px 7px 0 rgba(17, 17, 17, 0.9);
}

.feature h3 {
  margin-bottom: 14px;
  font-family: var(--display);
  font-size: 1.65rem;
  line-height: 0.95;
}

.feature p {
  color: var(--muted);
  font-weight: 600;
}

.clip-board {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 42px);
  align-items: center;
  padding: clamp(18px, 3vw, 34px);
  border: 2px solid var(--ink);
  background: var(--ink);
  color: white;
  box-shadow: 12px 12px 0 var(--tomato);
}

.clip-board img {
  width: 100%;
  border: 2px solid white;
  background: var(--paper);
}

.clip-board h2,
.clip-board p {
  color: white;
}

.clip-board .button {
  background: white;
  color: var(--ink);
}

.support-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.support-row {
  display: grid;
  grid-template-columns: 0.4fr 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.support-row strong {
  font-family: var(--display);
  font-size: 1.25rem;
}

.placeholder-note {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 4vw, 54px) 44px;
  border: 1px solid var(--line);
  background: var(--ink);
  color: white;
}

.footer a {
  color: white;
  font-weight: 800;
}

.simple-page {
  min-height: 100vh;
}

.simple-hero {
  padding: clamp(42px, 8vw, 92px) clamp(18px, 4vw, 54px);
  border: 1px solid var(--line);
  background: rgba(219, 230, 215, 0.9);
}

.simple-hero h1 {
  font-size: clamp(4rem, 13vw, 10rem);
}

.content-narrow {
  max-width: 920px;
  padding: clamp(38px, 6vw, 72px) clamp(18px, 4vw, 54px);
  border-inline: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.9);
}

@media (max-width: 900px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .hero,
  .split,
  .clip-board {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: auto;
  }

  .phone-stack {
    position: relative;
    top: auto;
  }

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

@media (max-width: 620px) {
  .site-shell {
    width: min(100% - 16px, 1440px);
  }

  .topbar {
    margin-top: 8px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(3.25rem, 18vw, 4.9rem);
    line-height: 0.86;
  }

  .hero,
  .section,
  .simple-hero,
  .content-narrow {
    padding-inline: 16px;
  }

  .hero-copy {
    font-size: 0.98rem;
  }

  .button {
    width: 100%;
  }

  .phone-stack {
    grid-template-columns: 1fr;
  }

  .phone-card.offset {
    margin-top: 0;
  }

  .support-row {
    grid-template-columns: 1fr;
  }
}

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