:root {
  --paper: #eef3ec;
  --panel: #fbfbf6;
  --ink: #192428;
  --muted: #778184;
  --line: #dbe2d8;
  --blue: #1f58ac;
  --red: #b23b32;
  --teal: #0b7280;
  --shadow: 0 28px 80px rgba(44, 57, 48, 0.16);
  --radius: 26px;
  --page-max: 1180px;
  --legal-max: 860px;
  --gutter: clamp(20px, 4vw, 44px);
  --font-sans: Avenir Next, Avenir, ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --step-caption: 0.78rem;
  --step-small: 0.94rem;
  --step-body: 1rem;
  --step-lede: 1.18rem;
  --step-subtitle: clamp(1.8rem, 4vw, 3rem);
  --step-section: clamp(1.72rem, 3.3vw, 2.35rem);
  --step-legal-title: clamp(3rem, 9vw, 5.2rem);
  --step-hero: clamp(4.7rem, 13vw, 9.4rem);
  --section-space: clamp(72px, 8vw, 94px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.92), transparent 26rem),
    radial-gradient(circle at 86% 20%, rgba(218, 235, 224, 0.9), transparent 30rem),
    var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--step-body);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--page-max);
  padding: 24px var(--gutter);
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
}

.brand-mark {
  background: #d8c178;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(33, 42, 37, 0.12);
  display: block;
  height: 46px;
  object-fit: cover;
  width: 46px;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand strong {
  font-size: 1.12rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  margin-top: 3px;
}

nav {
  align-items: center;
  display: flex;
  gap: clamp(14px, 3vw, 28px);
  color: #4f5b5e;
  font-size: var(--step-small);
  font-weight: 700;
}

nav a:hover,
.secondary-link:hover,
.site-footer a:hover {
  color: var(--teal);
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(42px, 7vw, 94px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  margin: 0 auto;
  max-width: var(--page-max);
  min-height: calc(100vh - 95px);
  padding: 36px var(--gutter) calc(var(--section-space) - 6px);
}

.eyebrow {
  color: var(--teal);
  font-size: var(--step-caption);
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: var(--step-hero);
  letter-spacing: 0;
  line-height: 0.82;
  margin: 0;
}

.subtitle {
  color: #5b6568;
  font-size: var(--step-subtitle);
  font-weight: 800;
  margin: 12px 0 0;
}

.lede {
  color: #526064;
  font-size: var(--step-lede);
  line-height: 1.65;
  margin: 34px 0 0;
  max-width: 620px;
}

.trust-note {
  background: rgba(251, 251, 246, 0.7);
  border: 1px solid rgba(219, 226, 216, 0.95);
  border-radius: 18px;
  color: #465154;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.45;
  margin: 24px 0 0;
  max-width: 590px;
  padding: 14px 18px;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 38px;
}

.app-store {
  display: inline-flex;
}

.app-store img {
  display: block;
  height: auto;
  width: 188px;
}

.secondary-link {
  color: #4c5a5d;
  font-weight: 600;
}

.phone-shell {
  background:
    linear-gradient(145deg, #303338 0%, #0f1216 40%, #292c31 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 58px;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.08),
    inset 0 0 0 8px #111418,
    0 34px 86px rgba(29, 37, 32, 0.26),
    0 12px 28px rgba(29, 37, 32, 0.18);
  justify-self: center;
  max-width: 410px;
  padding: 13px;
  position: relative;
  width: min(100%, 410px);
}

.phone-shell::before {
  background: rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  bottom: 19px;
  content: "";
  height: 4px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 118px;
  z-index: 2;
}

.hero-iphone {
  aspect-ratio: 1206 / 2622;
  border-radius: 45px;
  display: block;
  height: auto;
  overflow: hidden;
  width: 100%;
}

.feature-icon {
  font-weight: 900;
}

.blue {
  color: var(--blue);
}

.red {
  color: var(--red);
}

.teal {
  color: var(--teal);
}

.feature-band {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto;
  max-width: var(--page-max);
  padding: 0 var(--gutter) var(--section-space);
}

.feature-band > div {
  background: rgba(251, 251, 246, 0.72);
  border: 1px solid rgba(219, 226, 216, 0.9);
  padding: 32px 34px 30px;
}

.feature-band > div:first-child {
  border-radius: var(--radius) 0 0 var(--radius);
}

.feature-band > div:last-child {
  border-radius: 0 var(--radius) var(--radius) 0;
}

.feature-icon {
  display: inline-block;
  font-size: 1.1rem;
  margin-bottom: 26px;
}

.feature-band h2,
.section-heading h2 {
  font-size: var(--step-section);
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
}

.feature-band p,
.section-heading p,
figcaption {
  color: #667174;
  line-height: 1.55;
}

.feature-band p,
.section-heading p {
  margin: 14px 0 0;
}

.screenshots {
  margin: 0 auto;
  max-width: var(--page-max);
  padding: 0 var(--gutter) var(--section-space);
}

.section-heading {
  max-width: 600px;
}

.section-heading p:first-child {
  color: var(--teal);
  font-size: var(--step-caption);
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.screenshot-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.screenshot-grid:focus-visible {
  outline: 3px solid rgba(11, 114, 128, 0.42);
  outline-offset: 8px;
}

figure {
  margin: 0;
}

.screenshot-image {
  aspect-ratio: 1320 / 2868;
  border-radius: 34px;
  display: block;
  height: auto;
  width: 100%;
}

figcaption {
  font-size: 0.96rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
}

.legal-page {
  margin: 0 auto;
  max-width: var(--legal-max);
  padding: 56px var(--gutter) var(--section-space);
}

.legal-card {
  background: rgba(251, 251, 246, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(28px, 5vw, 58px);
}

.legal-card h1 {
  font-size: var(--step-legal-title);
  letter-spacing: 0;
  line-height: 0.92;
  margin: 0;
}

.legal-card .eyebrow {
  color: var(--teal);
  font-weight: 700;
  margin: 0 0 14px;
}

.legal-card h2 {
  font-size: 1.18rem;
  margin: 34px 0 8px;
}

.legal-card p {
  color: #5b676a;
  line-height: 1.7;
  margin: 0;
}

.legal-card p + p {
  margin-top: 16px;
}

.legal-card a {
  color: var(--teal);
  font-weight: 600;
}

.updated {
  margin-top: 18px;
}

.site-footer {
  align-items: center;
  color: #657073;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--page-max);
  padding: 0 var(--gutter) 36px;
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  gap: 18px;
  font-weight: 600;
}

@media (max-width: 860px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 28px;
  }

  .phone-shell {
    max-width: 330px;
  }

  .feature-band {
    gap: 14px;
    grid-template-columns: 1fr;
  }

  .feature-band > div,
  .feature-band > div:first-child,
  .feature-band > div:last-child {
    border-radius: var(--radius);
  }

  .screenshot-grid {
    display: flex;
    gap: 18px;
    margin-left: calc(var(--gutter) * -1);
    margin-right: calc(var(--gutter) * -1);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 2px var(--gutter) 20px;
    scroll-padding-inline: var(--gutter);
    scroll-snap-type: x mandatory;
    scrollbar-color: rgba(25, 36, 40, 0.26) transparent;
    -webkit-overflow-scrolling: touch;
  }

  .screenshot-grid figure {
    flex: 0 0 min(78vw, 340px);
    scroll-snap-align: center;
  }
}

@media (max-width: 520px) {
  nav {
    flex-wrap: wrap;
  }
}
