/* PlatePilot · platepilot.recipes
   Brand: soft olive · antique brass · warm off-white
   Layout: Apple-style vertical story sections + reveal on scroll
*/

:root {
  --olive: #5b8a72;
  --olive-dark: #4a7360;
  --olive-deep: #3d5f4f;
  --olive-muted: rgba(91, 138, 114, 0.14);
  --brass: #c9a227;
  --brass-soft: rgba(201, 162, 39, 0.16);
  --cream: #f9f7f4;
  --ink: #1c1917;
  --muted: #78716c;
  --white: #ffffff;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 16px 48px rgba(28, 25, 23, 0.08);
  --shadow-sm: 0 6px 20px rgba(28, 25, 23, 0.06);
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --header-h: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--olive);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(249, 247, 244, 0.82);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid rgba(28, 25, 23, 0.06);
}

.site-header.compact {
  height: 56px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand:hover {
  text-decoration: none;
  opacity: 0.9;
}

.brand img {
  width: 34px;
  height: 34px;
  /* Icon PNG already has iOS-style rounded corners + transparency */
  border-radius: 0;
  box-shadow: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.15rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), opacity 0.2s;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary,
.btn-download {
  background: var(--brass);
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(201, 162, 39, 0.28);
}

.btn-primary:hover,
.btn-download:hover {
  box-shadow: 0 12px 28px rgba(201, 162, 39, 0.35);
}

.btn-download.is-empty,
.btn-download[aria-disabled="true"] {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}

.btn-secondary {
  background: var(--olive);
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(91, 138, 114, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--olive) !important;
  border: 1.5px solid rgba(91, 138, 114, 0.35);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
}

/* —— Hero —— */
.hero-story {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  padding: 4rem 0 5rem;
  overflow: hidden;
}

.hero-story::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 70%;
  background:
    radial-gradient(ellipse 50% 60% at 70% 30%, rgba(91, 138, 114, 0.18), transparent 70%),
    radial-gradient(ellipse 40% 50% at 20% 60%, rgba(201, 162, 39, 0.12), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1rem;
}

.hero-story h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 0 0 1.1rem;
  color: var(--ink);
}

.lede {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted);
  max-width: 34rem;
  margin: 0 0 1.75rem;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* iPhone-style device frame — screenshot full-bleed to the bezel edge */
.phone-frame {
  width: min(300px, 72vw);
  position: relative;
  filter: drop-shadow(0 28px 48px rgba(28, 25, 23, 0.18));
}

.phone-bezel {
  position: relative;
  border-radius: 44px;
  /* Thin hardware rim only — screen fills everything inside */
  padding: 9px;
  background:
    linear-gradient(155deg, #3a3632 0%, #1c1917 38%, #2a2623 72%, #4a4540 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 0 1px rgba(28, 25, 23, 0.35);
}

/* Side button hints */
.phone-bezel::before,
.phone-bezel::after {
  content: "";
  position: absolute;
  background: #1a1715;
  border-radius: 2px;
  z-index: 2;
}

/* Silent / volume (left) */
.phone-bezel::before {
  left: -2px;
  top: 92px;
  width: 3px;
  height: 28px;
  box-shadow: 0 38px 0 #1a1715, 0 74px 0 #1a1715;
}

/* Power (right) */
.phone-bezel::after {
  right: -2px;
  top: 128px;
  width: 3px;
  height: 54px;
}

.phone-screen {
  position: relative;
  display: block;
  width: 100%;
  /* Match screenshot aspect so cover never letterboxes */
  aspect-ratio: 738 / 1600;
  border-radius: 35px;
  overflow: hidden;
  background: #0a0908;
  line-height: 0;
  /* No inset gap / cream ring */
  box-shadow: none;
  /* Pull 1px so rounded clip meets bezel with no hairline */
  margin: 0;
}

.phone-shot {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border: 0;
}

/* Legacy placeholder phone UI (unused on coming-soon) */
.phone-chip {
  height: 10px;
  border-radius: 6px;
  background: var(--olive-muted);
  width: 40%;
}

.phone-card {
  flex: 1;
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.phone-card .bar {
  height: 8px;
  border-radius: 4px;
  background: rgba(28, 25, 23, 0.08);
}

.phone-card .bar.w60 { width: 60%; }
.phone-card .bar.w80 { width: 80%; }
.phone-card .thumb {
  flex: 1;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--olive-muted), var(--brass-soft));
  min-height: 80px;
}

/* Keep ring styles if referenced elsewhere */
.phone-rings {
  position: relative;
  width: 148px;
  height: 148px;
  flex-shrink: 0;
  margin: 0.25rem 0 0.5rem;
}

.phone-rings .ring {
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 50%;
  border-style: solid;
  border-color: transparent;
  box-sizing: border-box;
}

.phone-rings .ring-cal {
  width: 148px;
  height: 148px;
  border-width: 10px;
  border-top-color: var(--olive);
  border-right-color: var(--olive);
  border-bottom-color: var(--olive-muted);
  border-left-color: var(--olive);
  transform: rotate(-20deg);
}

.phone-rings .ring-pro {
  width: 112px;
  height: 112px;
  border-width: 9px;
  border-top-color: var(--brass);
  border-right-color: var(--brass-soft);
  border-bottom-color: var(--brass-soft);
  border-left-color: var(--brass);
  transform: rotate(40deg);
}

.phone-rings .ring-move {
  width: 78px;
  height: 78px;
  border-width: 8px;
  border-top-color: #7a9e8a;
  border-right-color: var(--olive-muted);
  border-bottom-color: #7a9e8a;
  border-left-color: #7a9e8a;
  transform: rotate(-55deg);
}

.phone-rings .ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.phone-rings .ring-num {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.1;
}

.phone-rings .ring-unit {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.phone-card-compact {
  flex: 0 0 auto;
  width: 100%;
  min-height: 0;
}

/* —— Story sections (Apple-style) —— */
.story {
  padding: 6.5rem 0;
  position: relative;
}

.story:nth-child(even) {
  background: rgba(255, 255, 255, 0.45);
}

.story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.story.reverse .story-inner {
  direction: rtl;
}

.story.reverse .story-inner > * {
  direction: ltr;
}

.story h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 0.9rem;
  font-weight: 700;
}

.story p {
  font-size: 1.12rem;
  color: var(--muted);
  margin: 0 0 1rem;
  max-width: 32rem;
}

.story-visual {
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  min-height: 280px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
  border: 1px solid rgba(28, 25, 23, 0.04);
}

/* Cream-composite stills — no phone bezel (avoids double frame) */
.story-visual.story-card {
  padding: 0;
  min-height: 0;
  overflow: hidden;
  gap: 0;
  justify-content: flex-start;
}

.story-visual.story-card img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.story-visual .mock-row {
  display: flex;
  gap: 0.65rem;
  align-items: center;
}

.story-visual .dot {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--olive-muted);
  flex-shrink: 0;
}

.story-visual .dot.brass {
  background: var(--brass-soft);
}

.story-visual .line {
  height: 12px;
  border-radius: 6px;
  background: rgba(28, 25, 23, 0.07);
  flex: 1;
}

.story-visual .line.short { max-width: 45%; }

.feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--olive-dark);
  background: var(--olive-muted);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
  letter-spacing: 0.02em;
}

/* Feature bullet list (Daily Fuel etc.) */
.feature-points {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  max-width: 34rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.feature-points li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.45;
}

.feature-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--olive);
  box-shadow: 0 0 0 3px var(--olive-muted);
}

.feature-points strong {
  color: var(--ink);
  font-weight: 650;
}

/* —— Daily Fuel story visual —— */
.fuel-visual {
  gap: 1.15rem;
  padding: 1.5rem 1.6rem 1.4rem;
  background:
    linear-gradient(145deg, rgba(91, 138, 114, 0.08), transparent 50%),
    linear-gradient(320deg, rgba(201, 162, 39, 0.07), transparent 45%),
    var(--white);
}

.fuel-visual-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.fuel-visual-date {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

.fuel-rings-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.fuel-ring-mock {
  position: relative;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}

.fuel-ring-mock svg {
  display: block;
  transform: rotate(-90deg);
}

.fuel-track {
  fill: none;
  stroke: rgba(28, 25, 23, 0.07);
  stroke-width: 8;
}

.fuel-arc {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 327;
}

.fuel-arc.cal {
  stroke: var(--olive);
  stroke-dashoffset: 90;
  stroke-dasharray: 327;
}

.fuel-arc.pro {
  stroke: var(--brass);
  stroke-dasharray: 251;
  stroke-dashoffset: 95;
}

.fuel-arc.move {
  stroke: #7a9e8a;
  stroke-dasharray: 176;
  stroke-dashoffset: 55;
}

.fuel-ring-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.fuel-ring-label strong {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
}

.fuel-ring-label span {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
}

.fuel-stats {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
  min-width: 140px;
}

.fuel-stat {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.fuel-stat-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.fuel-stat-dot.cal { background: var(--olive); }
.fuel-stat-dot.pro { background: var(--brass); }
.fuel-stat-dot.move { background: #7a9e8a; }

.fuel-stat-name {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fuel-stat-val {
  font-size: 0.92rem;
  font-weight: 650;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.fuel-meals {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.15rem;
}

.fuel-meal {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.65rem;
  background: var(--cream);
  border-radius: 12px;
}

.fuel-meal-thumb {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--olive-muted), rgba(91, 138, 114, 0.28));
  flex-shrink: 0;
}

.fuel-meal-thumb.brass {
  background: linear-gradient(135deg, var(--brass-soft), rgba(201, 162, 39, 0.35));
}

.fuel-meal-meta {
  flex: 1;
  min-width: 0;
}

.fuel-meal-meta .bar {
  height: 8px;
  border-radius: 4px;
  background: rgba(28, 25, 23, 0.08);
}

.fuel-meal-cal {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--olive-dark);
  letter-spacing: -0.02em;
}

/* —— Scroll reveal —— */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html { scroll-behavior: auto; }
}

/* —— Browse / pills —— */
.section {
  padding: 5rem 0;
}

.section-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2.25rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.6rem;
  font-weight: 700;
}

.section-head p {
  color: var(--muted);
  margin: 0;
  font-size: 1.05rem;
}

.pill-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  max-width: 52rem;
  margin-inline: auto;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--olive-dark);
  background: var(--white);
  border: 1px solid rgba(91, 138, 114, 0.22);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  font-family: inherit;
}

.pill:hover {
  border-color: var(--olive);
  transform: translateY(-1px);
}

.pill.is-active {
  background: var(--olive);
  color: #fff;
  border-color: var(--olive);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.75rem 0 1.25rem;
}

.pill-row .pill {
  cursor: default;
  font-size: 0.78rem;
  padding: 0.3rem 0.7rem;
  background: var(--olive-muted);
  border: none;
  color: var(--olive-dark);
}

/* —— Recipe cards grid —— */
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.15rem;
}

.recipe-tile {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(28, 25, 23, 0.04);
  text-decoration: none !important;
  color: inherit;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  min-height: 100%;
}

.recipe-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.recipe-tile-photo {
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(135deg, var(--olive-muted), var(--brass-soft));
  background-size: cover;
  background-position: center;
}

.recipe-tile-body {
  padding: 0.9rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.recipe-tile-body h3 {
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  margin: 0;
  line-height: 1.3;
  color: var(--ink);
}

.recipe-tile-meta {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

.browse-status {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  min-height: 1.5rem;
  margin-bottom: 1rem;
}

.browse-search {
  display: flex;
  gap: 0.65rem;
  max-width: 28rem;
  margin: 0 auto 1.5rem;
}

.browse-search input {
  flex: 1;
  border: 1px solid rgba(28, 25, 23, 0.1);
  border-radius: 999px;
  padding: 0.75rem 1.15rem;
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
  color: var(--ink);
  outline: none;
}

.browse-search input:focus {
  border-color: var(--olive);
  box-shadow: 0 0 0 3px var(--olive-muted);
}

/* —— CTA band —— */
.cta-band {
  text-align: center;
  padding: 3.5rem 1.5rem;
  margin: 2rem 0 0;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(91, 138, 114, 0.12), rgba(201, 162, 39, 0.1));
  border: 1px solid rgba(91, 138, 114, 0.12);
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.cta-band p {
  color: var(--muted);
  margin: 0 0 1.25rem;
  max-width: 28rem;
  margin-inline: auto;
}

/* Email capture nested in the home CTA band */
.waitlist-card-on-home {
  margin: 0 auto 0.5rem;
  text-align: left;
  max-width: 26rem;
}

.waitlist-card-on-home .waitlist-title {
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
}

.cta-band .btn-ghost {
  margin-top: 0.35rem;
}

/* —— Footer —— */
.site-footer {
  padding: 2.5rem 0 2rem;
  border-top: 1px solid rgba(28, 25, 23, 0.06);
  margin-top: 3rem;
}

.site-footer.compact {
  margin-top: 2rem;
  padding: 1.25rem 0;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.92rem;
}

.fine {
  font-size: 0.85rem;
  color: var(--muted);
}

/* —— Responsive —— */
@media (max-width: 860px) {
  .hero-grid,
  .story-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .story.reverse .story-inner {
    direction: ltr;
  }

  .hero-story {
    min-height: auto;
    padding: 2.5rem 0 3.5rem;
  }

  .nav-links .hide-sm {
    display: none;
  }

  .phone-frame {
    width: min(220px, 55vw);
  }

  .story {
    padding: 4rem 0;
  }
}

@media (max-width: 480px) {
  .wrap {
    width: min(100% - 1.5rem, var(--max));
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}

/* —— Coming soon homepage —— */
.coming-soon-page .coming-soon-hero {
  min-height: calc(100svh - var(--header-h));
  padding: 2.5rem 0 3.5rem;
}

.coming-soon-page .eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 0.85rem;
}

.coming-soon-page h1 {
  font-size: clamp(2.35rem, 5.5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 0 0 1.1rem;
  color: var(--ink);
}

.coming-soon-page .lede {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 34rem;
  margin: 0 0 1.75rem;
}

/* Large, inviting signup block — email + Notify me */
.waitlist-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 247, 244, 0.96) 100%);
  border-radius: 28px;
  box-shadow:
    0 24px 64px rgba(28, 25, 23, 0.1),
    0 2px 0 rgba(255, 255, 255, 0.8) inset;
  padding: 2rem 1.85rem 1.65rem;
  max-width: 26rem;
  border: 1px solid rgba(91, 138, 114, 0.14);
  overflow: hidden;
}

.waitlist-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--olive) 0%, var(--brass) 100%);
  border-radius: 28px 28px 0 0;
}

.waitlist-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--olive);
}

.waitlist-title {
  font-size: clamp(1.3rem, 3vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 0.55rem;
  color: var(--ink);
}

.waitlist-sub {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0 0 1.15rem;
  line-height: 1.5;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  width: 100%;
}

/* Framed fields — full width */
.waitlist-field {
  width: 100%;
  border-radius: 16px;
  background:
    linear-gradient(180deg, #ffffff 0%, #faf8f5 100%);
  border: 1.5px solid rgba(28, 25, 23, 0.1);
  box-shadow:
    0 1px 2px rgba(28, 25, 23, 0.04),
    0 8px 22px rgba(28, 25, 23, 0.04);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.waitlist-field:hover {
  border-color: rgba(28, 25, 23, 0.16);
}

.waitlist-field:focus-within {
  border-color: rgba(91, 138, 114, 0.65);
  box-shadow:
    0 0 0 4px rgba(91, 138, 114, 0.16),
    0 8px 22px rgba(28, 25, 23, 0.05);
}

.waitlist-card input[type="email"],
.waitlist-card select {
  display: block;
  width: 100%;
  font: inherit;
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
  text-align: center;
  background: transparent;
  border: none;
  border-radius: 16px;
  padding: 1.05rem 1.2rem;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none;
}

.waitlist-card select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2378716C' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
  padding-right: 2.4rem;
  cursor: pointer;
}

.waitlist-card input[type="email"]::placeholder {
  color: #a8a29e;
  font-weight: 450;
  text-align: center;
}

.field-hint {
  font-size: 0.78rem;
  color: var(--muted);
  margin: -0.2rem 0 0;
  text-align: center;
}

.form-error {
  color: #b42318;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
}

.waitlist-submit {
  display: flex;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0.15rem 0 0;
  padding: 1.1rem 1.5rem;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  border-radius: 999px;
  box-shadow:
    0 12px 32px rgba(201, 162, 39, 0.38),
    0 1px 0 rgba(255, 255, 255, 0.25) inset;
}

.waitlist-submit:hover {
  transform: translateY(-1px);
  box-shadow:
    0 16px 36px rgba(201, 162, 39, 0.45),
    0 1px 0 rgba(255, 255, 255, 0.25) inset;
}

.waitlist-submit:active {
  transform: translateY(0);
}

.waitlist-submit:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.waitlist-privacy {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 1rem 0 0.55rem;
  line-height: 1.45;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.waitlist-success {
  text-align: center;
  padding: 0.5rem 0 0.25rem;
}

.waitlist-success-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--olive-deep);
  background: var(--olive-muted);
}

.waitlist-success .waitlist-title {
  color: var(--olive-deep);
  margin-bottom: 0.55rem;
}

.feature-pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0;
  margin: 1.75rem 0 0.35rem;
  max-width: 32rem;
}

.feature-pills li {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--olive-deep);
  background: var(--olive-muted);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
}

.feature-pills-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.35rem 0 0;
  font-style: italic;
}

@media (max-width: 860px) {
  .coming-soon-page .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .coming-soon-page .coming-soon-hero {
    min-height: auto;
    padding: 2rem 0 3rem;
  }

  .waitlist-card {
    max-width: none;
  }
}

@media (max-width: 520px) {
  .coming-soon-page h1 {
    font-size: 2.1rem;
  }

  .waitlist-card {
    padding: 1.65rem 1.25rem 1.4rem;
    border-radius: 24px;
  }

  .waitlist-field {
    border-radius: 16px;
  }

  .waitlist-card input[type="email"] {
    font-size: 1.08rem;
    padding: 1.1rem 1.15rem;
    border-radius: 16px;
  }

  .waitlist-submit {
    font-size: 1.08rem;
    padding: 1.05rem 1.25rem;
  }
}
