:root {
  --ink: #082f49;
  --muted: #486477;
  --paper: #f0f9ff;
  --paper-warm: #fff7ed;
  --surface: #ffffff;
  --surface-blue: #e0f2fe;
  --line: #bae6fd;
  --primary: #0ea5e9;
  --primary-dark: #0369a1;
  --cta: #f97316;
  --cta-dark: #c2410c;
  --green: #16a34a;
  --gold: #f8b84e;
  --shadow: 0 24px 70px rgba(8, 47, 73, 0.14);
  --soft-shadow: 0 16px 36px rgba(8, 47, 73, 0.1);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(249, 115, 22, 0.08) 52%, rgba(255, 255, 255, 0)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(224, 242, 254, 0.34)),
    var(--paper);
  color: var(--ink);
  font-family: Inter, "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(240, 249, 255, 0.88);
  border-bottom: 1px solid rgba(186, 230, 253, 0.82);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 48px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 0.98rem;
  font-weight: 900;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(8, 47, 73, 0.14);
  display: block;
  height: 34px;
  object-fit: cover;
  width: 34px;
}

.top-nav,
.footer-links,
.cta-actions,
.hero-actions,
.hero-proof {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
}

.top-nav {
  gap: clamp(12px, 3vw, 28px);
  font-size: 0.92rem;
  font-weight: 800;
}

.top-nav a,
.site-footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 180ms ease;
}

.top-nav a:hover,
.top-nav a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--primary-dark);
}

main {
  overflow: hidden;
}

.hero,
.feature-band,
.screens-section,
.prepare-section,
.cta-band,
.legal-hero,
.legal-content {
  margin: 0 auto;
  max-width: 1280px;
  padding: clamp(34px, 5vw, 72px) clamp(18px, 4vw, 48px);
}

#features,
#screens,
#prepare {
  scroll-margin-top: 96px;
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(30px, 5vw, 78px);
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.82fr);
  min-height: calc(100vh - 72px);
  padding-bottom: clamp(28px, 4vw, 52px);
  padding-top: clamp(30px, 5vw, 64px);
}

.eyebrow {
  color: var(--cta-dark);
  font-size: 0.8rem;
  font-weight: 900;
  margin: 0 0 14px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(2.2rem, 4.4vw, 4.2rem);
  line-height: 1.04;
  margin-bottom: 18px;
  max-width: 1040px;
}

h2 {
  font-size: clamp(1.55rem, 2.35vw, 2.35rem);
  line-height: 1.12;
  margin-bottom: 12px;
  max-width: 1040px;
}

h3 {
  font-size: 1.14rem;
  line-height: 1.2;
  margin-bottom: 8px;
}

.hero-text,
.release-note,
.section-heading p,
.feature-grid p,
.screenshot-slot p,
.prepare-list p,
.cta-band p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.hero-text {
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  max-width: 760px;
}

.hero-actions {
  gap: 14px;
  margin-top: 24px;
}

.button {
  align-items: center;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  gap: 9px;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.button svg {
  fill: none;
  height: 19px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 19px;
}

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

.button:focus-visible,
.top-nav a:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.primary {
  background: var(--cta);
  box-shadow: 0 14px 28px rgba(249, 115, 22, 0.25);
  color: white;
}

.primary:hover {
  background: var(--cta-dark);
}

.secondary {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  color: var(--ink);
}

.secondary:hover {
  box-shadow: var(--soft-shadow);
}

.hero-proof {
  gap: 10px;
  margin-top: 18px;
}

.hero-proof span {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--primary-dark);
  font-size: 0.86rem;
  font-weight: 900;
  padding: 9px 11px;
}

.phone-stage {
  min-height: 620px;
  position: relative;
}

.phone-frame {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 36px;
  box-shadow: var(--shadow);
  margin: 0 auto;
  padding: 12px;
  width: min(100%, 330px);
}

.phone-frame--main {
  transform: rotate(2deg);
}

.phone-screen {
  background: linear-gradient(180deg, #f8fcff, #e0f2fe 48%, #fff7ed);
  border-radius: 28px;
  min-height: 610px;
  overflow: hidden;
  padding: 24px 18px;
}

.status-row {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
}

.status-row span,
.floating-card span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.status-row strong {
  color: var(--primary-dark);
  font-size: 0.9rem;
}

.mini-map {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.16), rgba(249, 115, 22, 0.18));
  border: 1px solid rgba(14, 165, 233, 0.22);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  padding: 16px;
}

.mini-map span {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  display: block;
  height: 8px;
}

.mini-map span:nth-child(1) {
  width: 72%;
}

.mini-map span:nth-child(2) {
  width: 48%;
}

.mini-map span:nth-child(3) {
  background: var(--cta);
  width: 28%;
}

.weather-card {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 14px;
  padding: 16px;
}

.weather-icon {
  align-items: center;
  background: var(--gold);
  border-radius: 8px;
  color: var(--ink);
  display: inline-flex;
  flex: 0 0 auto;
  font-weight: 900;
  height: 54px;
  justify-content: center;
  width: 54px;
}

.weather-card strong {
  display: block;
  margin-bottom: 4px;
}

.weather-card p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
  margin: 0;
}

.task-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.task-list span {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
  padding: 14px;
}

.floating-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(8, 47, 73, 0.14);
  display: grid;
  gap: 4px;
  padding: 16px;
  position: absolute;
  width: 230px;
}

.floating-card--pay {
  left: 0;
  top: 110px;
}

.floating-card--food {
  bottom: 100px;
  right: 0;
}

.card-dot {
  background: var(--green);
  border-radius: 999px;
  height: 9px;
  width: 9px;
}

.card-dot--orange {
  background: var(--cta);
}

.section-heading {
  margin-bottom: 22px;
  max-width: 1040px;
}

.section-heading p {
  max-width: 760px;
}

.feature-band {
  padding-top: 28px;
}

.feature-grid,
.screenshot-grid {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-grid article,
.screenshot-slot,
.prepare-list li,
.cta-band {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-grid article {
  min-height: 100%;
  padding: 22px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-grid article:hover {
  box-shadow: var(--soft-shadow);
  transform: translateY(-2px);
}

.feature-icon {
  align-items: center;
  background: var(--surface-blue);
  border-radius: 8px;
  color: var(--primary-dark);
  display: inline-flex;
  height: 44px;
  justify-content: center;
  margin-bottom: 20px;
  width: 44px;
}

.feature-icon svg {
  fill: none;
  height: 22px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 22px;
}

.screens-section {
  padding-top: 34px;
}

.section-heading code {
  background: var(--surface-blue);
  border-radius: 6px;
  color: var(--primary-dark);
  font-weight: 800;
  padding: 2px 6px;
}

.screenshot-grid {
  align-items: start;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.screenshot-slot {
  padding: 18px;
}

.screenshot-media {
  background: #0f172a;
  border-radius: 28px;
  box-shadow: 0 18px 44px rgba(8, 47, 73, 0.16);
  margin-bottom: 18px;
  overflow: hidden;
  padding-top: 216.6667%;
  position: relative;
  width: 100%;
}

.app-screenshot {
  display: block;
  height: 100%;
  left: 0;
  object-fit: cover;
  position: absolute;
  top: 0;
  width: 100%;
}

.prepare-list {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0;
  max-width: 980px;
  padding: 0;
}

.prepare-list li {
  display: grid;
  gap: 18px;
  grid-template-columns: 58px minmax(0, 1fr);
  padding: 20px;
}

.prepare-list span {
  color: var(--cta-dark);
  font-size: 0.9rem;
  font-weight: 900;
}

.prepare-list p {
  margin-bottom: 0;
}

.cta-band {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(14, 165, 233, 0.14), rgba(249, 115, 22, 0.12)),
    rgba(255, 255, 255, 0.86);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  margin-bottom: clamp(30px, 5vw, 64px);
}

.cta-band h2 {
  max-width: 720px;
}

.cta-actions {
  flex: 0 0 auto;
  gap: 14px;
  justify-content: flex-end;
}

.legal-page {
  overflow: visible;
}

.legal-hero,
.legal-content {
  max-width: 980px;
}

.legal-hero {
  padding-bottom: 18px;
}

.release-note {
  color: var(--primary-dark);
  font-size: 0.94rem;
  font-weight: 800;
  margin: 14px 0 0;
}

.legal-content {
  display: grid;
  gap: 14px;
  padding-top: 8px;
}

.legal-content article {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 26px);
}

.legal-content h2 {
  font-size: 1.22rem;
  margin-bottom: 10px;
}

.legal-content p {
  color: var(--muted);
  line-height: 1.72;
  margin-bottom: 0;
}

.legal-content p + p {
  margin-top: 12px;
}

.legal-content a {
  color: var(--primary-dark);
  font-weight: 800;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  font-size: 0.92rem;
  justify-content: space-between;
  padding: 28px clamp(18px, 4vw, 48px);
}

.site-footer p {
  margin: 0;
}

.footer-links {
  gap: 18px;
  justify-content: flex-end;
}

.site-footer a {
  font-weight: 800;
}

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

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .phone-stage {
    min-height: 560px;
  }

  .feature-grid,
  .screenshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
  }

  .top-nav {
    gap: 12px;
    justify-content: flex-start;
    width: 100%;
  }

  .top-nav a {
    font-size: 0.84rem;
  }

  .hero-actions,
  .button,
  .cta-actions {
    width: 100%;
  }

  .phone-stage {
    min-height: 520px;
  }

  .phone-frame {
    width: min(88vw, 310px);
  }

  .floating-card {
    position: relative;
    width: 100%;
  }

  .floating-card--pay,
  .floating-card--food {
    bottom: auto;
    left: auto;
    margin-top: 12px;
    right: auto;
    top: auto;
  }

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

  .prepare-list li {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .footer-links {
    gap: 14px;
    justify-content: flex-start;
  }
}
