:root {
  --navy: #0d1b3e;
  --navy-2: #16295a;
  --navy-soft: #e8ecf5;
  --yellow: #f7c548;
  --yellow-soft: #fff4d6;
  --ink: #0d1b3e;
  --ink-muted: #3f4a66;
  --paper: #fffdf8;
  --line: #dfe3ee;
  --radius: 18px;
  --max: 1120px;
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
}

h2 {
  font-size: clamp(1.875rem, 3.6vw, 2.625rem);
}

h3 {
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--navy-2);
  text-underline-offset: 3px;
}

a:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 10;
  padding: 10px 16px;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 700;
  border-radius: 8px;
}

.skip-link:focus {
  top: 16px;
}

/* Header */

.site-header {
  background: var(--navy);
  color: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.wordmark {
  font-weight: 800;
  font-size: 1.875rem;
  letter-spacing: -0.04em;
  color: var(--yellow);
  text-decoration: none;
  line-height: 1;
}

.nav-list {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.975rem;
}

.nav-list a:hover {
  color: var(--yellow);
}

/* Hero */

.hero {
  background: var(--navy);
  color: #fff;
  padding: 56px 0 152px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 56px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(247, 197, 72, 0.14);
  color: var(--yellow);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}

.hero h1 {
  color: #fff;
}

.lede {
  font-size: clamp(1.125rem, 2vw, 1.3125rem);
  color: #d5dcef;
  max-width: 34ch;
  margin-bottom: 32px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--yellow);
  color: var(--navy);
}

.button-primary:hover {
  background: #ffd469;
}

.button-ghost {
  color: #fff;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.button-ghost:hover {
  box-shadow: inset 0 0 0 2px var(--yellow);
}

@media (prefers-reduced-motion: reduce) {
  .button {
    transition: none;
  }
  .button:hover {
    transform: none;
  }
}

/* Hero visual (decorative) */

.hero-visual {
  position: relative;
  max-width: 400px;
  justify-self: center;
  width: 100%;
}

.mock-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.mock-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.mock-title {
  font-weight: 800;
  font-size: 1.25rem;
}

.mock-pill {
  background: var(--yellow-soft);
  color: var(--navy);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.mock-aisles {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.mock-aisles li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}

.dot {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  flex: none;
}

.dot-1 {
  background: var(--yellow);
}
.dot-2 {
  background: var(--navy);
}
.dot-3 {
  background: #9fb3e0;
}
.dot-4 {
  background: #f3dfa6;
}

.mock-basket {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--navy);
  color: #fff;
  border-radius: 14px;
  padding: 14px 18px;
  font-weight: 600;
}

.mock-basket strong {
  color: var(--yellow);
}

.mock-chat {
  position: absolute;
  left: -40px;
  bottom: -112px;
  width: 260px;
}

.bubble {
  margin: 0 0 8px;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.9375rem;
  line-height: 1.4;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.bubble-user {
  background: var(--yellow);
  color: var(--navy);
  border-bottom-right-radius: 4px;
  margin-left: 40px;
}

.bubble-ileth {
  background: #fff;
  color: var(--navy);
  border-bottom-left-radius: 4px;
}

/* Sections */

.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--navy-soft);
}

.section-dark {
  background: var(--navy);
  color: #fff;
}

.steps,
.features {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  gap: 24px;
}

.steps {
  grid-template-columns: repeat(3, 1fr);
}

.features {
  grid-template-columns: repeat(2, 1fr);
}

.step,
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}

.step p,
.feature p {
  color: var(--ink-muted);
}

.step p:last-child,
.feature p:last-child {
  margin-bottom: 0;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 800;
  font-size: 1.25rem;
}

.feature {
  border-top: 6px solid var(--yellow);
}

.feature .note {
  font-size: 0.9375rem;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.iphone {
  text-align: center;
  max-width: 720px;
}

.iphone p {
  font-size: 1.1875rem;
  color: var(--ink-muted);
}

.contact {
  text-align: center;
}

.contact h2 {
  color: #fff;
}

.contact p {
  color: #d5dcef;
}

.contact-email {
  display: inline-block;
  margin-top: 8px;
  color: var(--yellow);
  font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

/* Footer */

.site-footer {
  background: #08132d;
  color: #c3cbe0;
  padding: 32px 0;
  font-size: 0.9375rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
}

.footer-inner p {
  margin: 0;
}

.site-footer a {
  color: #fff;
}

.wordmark-small {
  font-size: 1.375rem;
  margin-right: auto;
}

/* Error page */

.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 96px 0;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    margin-bottom: 104px;
  }
  .mock-chat {
    left: auto;
    right: -8px;
  }
  .steps,
  .features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 16px;
  }
  .nav-list {
    gap: 16px;
  }
  .nav-list li:first-child {
    display: none;
  }
  .hero {
    padding: 40px 0 72px;
  }
  .section {
    padding: 64px 0;
  }
  .step,
  .feature {
    padding: 24px;
  }
  .mock-chat {
    width: 220px;
  }
  .wordmark-small {
    width: 100%;
  }
}
