/* SplitKitch landing: light only, warm cream, deep pistachio, cocoa brown.
   All text/background pairs below clear WCAG AA contrast:
   ink on cream 11.4:1, pistachio-dark on cream 5.6:1, white on pistachio 4.9:1,
   cocoa on cream 7.1:1, cocoa on white 8.0:1, muted ink on cream 6.2:1. */

:root {
  color-scheme: light;
  --bg: #fdf6ec;            /* warm cream */
  --surface: #ffffff;
  --ink: #2b2118;           /* warm near-black */
  --ink-muted: #5d4c3d;
  --pistachio: #38602a;     /* deep pistachio, button fill */
  --pistachio-bright: #4a7d37;
  --pistachio-soft: #e7efdc;/* tint band */
  --cocoa: #6d4525;         /* warm cocoa brown accent */
  --cocoa-soft: #a9805c;
  --line: #e8dcc8;
  --shadow-3d: 0 3px 0 rgba(43, 33, 24, 0.22), 0 14px 28px rgba(56, 96, 42, 0.28);
  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Anchor jumps clear the sticky header (64px) instead of hiding under it */
section[id],
.store-badges { scroll-margin-top: 80px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

.wrap {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.1rem); letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; }

a { color: var(--pistachio); }
a:focus-visible, .btn:focus-visible, input:focus-visible {
  outline: 3px solid var(--cocoa);
  outline-offset: 2px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--surface);
  box-shadow: 0 6px 18px rgba(43, 33, 24, 0.10);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 64px;
}
.wordmark {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
}
.wordmark-split,
.wordmark-slash,
.wordmark-accent { display: inline-block; }
.wordmark-split { transform: translateY(-0.07em); }
.wordmark-slash {
  color: var(--cocoa);
  margin: 0 0.03em;
}
.wordmark-accent {
  color: var(--pistachio);
  transform: translateY(0.07em);
}
.wordmark-small { font-size: 1.1rem; }
.site-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  padding: 10px 12px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 10px;
}
.site-nav a:hover { background: var(--pistachio-soft); }

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 22px;
  border-radius: 12px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform 90ms ease, box-shadow 90ms ease;
}
.btn-primary {
  background: var(--pistachio);
  color: #ffffff;
}
.btn-primary:hover { background: var(--pistachio-bright); }
.btn-ghost {
  background: var(--surface);
  color: var(--pistachio);
  border-color: var(--pistachio);
}
.btn-small { padding: 8px 16px; min-height: 44px; }
.btn-pill {
  border-radius: 999px;
  padding: 14px 34px;
  font-size: 1.1rem;
  box-shadow: var(--shadow-3d);
}
.btn:active, .btn.is-pressed {
  transform: translateY(3px);
  box-shadow: 0 0 0 rgba(0,0,0,0), 0 4px 10px rgba(56, 96, 42, 0.25);
}

/* Shimmer and soft glow on the two hero pills */
.btn-shine::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.45) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: shine 3.6s ease-in-out infinite;
  pointer-events: none;
}
.btn-shine { animation: glow 3.6s ease-in-out infinite; }
@keyframes shine {
  0%, 55% { transform: translateX(-120%); }
  85%, 100% { transform: translateX(120%); }
}
@keyframes glow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(74, 125, 55, 0)); }
  50% { filter: drop-shadow(0 0 10px rgba(74, 125, 55, 0.45)); }
}

/* Hero */
.hero { padding: 56px 0 64px; text-align: center; }
.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--pistachio-soft);
  color: var(--pistachio);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.lede {
  max-width: 640px;
  margin: 0 auto;
  color: var(--ink-muted);
  font-size: 1.12rem;
}

.trails {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 44px auto 34px;
  max-width: 860px;
  text-align: left;
}
.trail {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 24px 10px;
  box-shadow: 0 10px 24px rgba(43, 33, 24, 0.07);
}
.trail-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cocoa);
  font-size: 1.3rem;
}
.trail-icon { width: 30px; height: 30px; flex: none; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 13px 0;
  border-top: 1px dashed var(--line);
}
.steps li:first-child { border-top: none; }
.step-icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pistachio-soft);
  color: var(--cocoa);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.step-icon svg { width: 26px; height: 26px; }

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-note { color: var(--ink-muted); margin: 16px 0 0; font-weight: 600; }

/* Sections */
.section { padding: 56px 0; }
.section-alt { background: var(--pistachio-soft); }
.section-lede { max-width: 680px; color: var(--ink-muted); font-size: 1.08rem; }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 8px 20px rgba(43, 33, 24, 0.06);
}
.card p { margin: 0 0 0.8em; }
.card p:last-child { margin-bottom: 0; }
.note-band {
  margin-top: 20px;
  background: var(--surface);
  border-left: 6px solid var(--pistachio);
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 8px 20px rgba(43, 33, 24, 0.05);
}
.note-band p { margin: 0; color: var(--ink-muted); }
.permit-label {
  font-weight: 700;
  color: var(--cocoa);
  background: var(--bg);
  border: 1px dashed var(--cocoa-soft);
  border-radius: 10px;
  padding: 10px 14px;
}

/* Notify form */
.notify-form { margin-top: 26px; max-width: 560px; }
.notify-label { display: block; font-weight: 700; margin-bottom: 10px; }
.notify-row { display: flex; gap: 12px; flex-wrap: wrap; }
.notify-row input {
  flex: 1 1 260px;
  min-height: 44px;
  padding: 12px 16px;
  border: 2px solid var(--cocoa-soft);
  border-radius: 12px;
  font: inherit;
  background: var(--surface);
  color: var(--ink);
}
.form-note { color: var(--ink-muted); font-size: 0.92rem; margin-top: 10px; }

/* Launch layout + store badges (badges are placeholders until the apps ship) */
.launch-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 28px 56px;
  align-items: start;
}
.store-badges {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 10px;
}
.app-icon {
  display: block;
  width: 232px;
  height: auto;
  align-self: center;
  border-radius: 24px;
  filter: drop-shadow(0 10px 22px rgba(43, 33, 24, 0.18));
}
.store-badge { line-height: 0; }
.badge-img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 22px rgba(43, 33, 24, 0.18));
}
.badge-note {
  margin: 0;
  text-align: center;
  color: var(--ink-muted);
  font-size: 0.9rem;
  font-weight: 600;
}
@media (max-width: 760px) {
  .launch-grid { grid-template-columns: 1fr; }
  .store-badges { max-width: 300px; }
}

/* Footer */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 26px 0;
}
.footer-inner {
  display: flex;
  gap: 10px 26px;
  flex-wrap: wrap;
  align-items: center;
  color: var(--ink-muted);
  font-size: 0.95rem;
}
.footer-inner a { min-height: 44px; display: inline-flex; align-items: center; }

/* Small screens */
@media (max-width: 720px) {
  .trails, .two-col { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .hero { padding: 40px 0 48px; }
}

/* Reduced motion: kill shimmer, glow, smooth scroll, and press travel */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-shine::after, .btn-shine { animation: none; }
  .btn { transition: none; }
  .btn:active, .btn.is-pressed { transform: none; }
}
