:root {
  --background: #f7f8f8;
  --surface: #ffffff;
  --surface-subtle: #f1f4f3;
  --border: #dde3e1;
  --paper-speckle: #eef1ef;
  --primary: #e06a6a;
  --primary-muted: #f3c1bc;
  --plant-green: #a7bbae;
  --mist-blue: #c9d6dc;
  --wisteria: #b9b1d4;
  --text-primary: #3e3e3e;
  --text-secondary: #6f7775;
  --text-tertiary: #9aa3a0;
  --text-on-primary: #ffffff;
  --warning: #d8b56d;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-xxl: 48px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Segoe UI", sans-serif;
  line-height: 1.7;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 14px max(20px, calc((100vw - var(--max-width)) / 2));
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

.brand,
.site-footer div {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
}

.brand img,
.site-footer img {
  border-radius: var(--radius-sm);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--text-secondary);
  font-size: 14px;
}

.site-nav a,
.site-footer a {
  text-decoration: none;
}

.secondary-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  padding: 0 18px;
  font-weight: 700;
  text-decoration: none;
}

.secondary-button {
  background: var(--surface);
  color: var(--text-secondary);
  border: 1px solid var(--plant-green);
}

.secondary-button-inline {
  margin-bottom: 14px;
}

.app-store-badge {
  width: 142px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  text-decoration: none;
}

.app-store-badge img {
  width: 100%;
  height: auto;
}

.app-store-badge-nav {
  width: 118px;
  flex: 0 0 auto;
}

.app-store-badge-hero {
  width: 164px;
}

.download-cluster {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.download-cluster-center {
  justify-content: center;
  margin-top: 18px;
}

.download-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.qr-card {
  width: 86px;
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: 0 8px 18px rgb(40 48 43 / 7%);
}

.qr-card img {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-sm);
}

.qr-card span {
  color: var(--text-secondary);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: var(--space-xxl);
  overflow: hidden;
  padding: 92px max(20px, calc((100vw - var(--max-width)) / 2)) 96px;
  background:
    radial-gradient(circle at 82% 12%, rgb(201 214 220 / 46%), transparent 32%),
    linear-gradient(150deg, var(--paper-speckle), var(--surface-subtle));
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero-media {
  position: relative;
  z-index: 1;
  margin: 0;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 13% 6% 6% 14%;
  z-index: -1;
  border-radius: 42px;
  background: linear-gradient(135deg, rgb(167 187 174 / 28%), rgb(201 214 220 / 26%));
  filter: blur(22px);
}

.hero-media img {
  width: min(620px, 100%);
  margin-left: auto;
  object-fit: contain;
  filter: drop-shadow(0 26px 34px rgb(40 48 43 / 18%));
}

.hero-media figcaption {
  max-width: 420px;
  margin: 12px 0 0 auto;
  color: var(--text-secondary);
  font-size: 13px;
  text-align: right;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

.line {
  display: block;
}

h1 {
  max-width: 12em;
  margin-bottom: 22px;
  font-size: 56px;
  line-height: 1.16;
  letter-spacing: 0;
}

.lead {
  max-width: 570px;
  margin-bottom: var(--space-xl);
  color: var(--text-secondary);
  font-size: 19px;
}

.trust-copy {
  color: var(--text-tertiary);
  font-size: 13px;
}

.feature-strip,
.compare-section,
.screens-section,
.social-section,
.price-section,
.privacy-section,
.final-cta {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 92px 20px;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.feature-strip article,
.screen-card,
.screen-note,
.price-grid article {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.feature-strip article {
  min-height: 176px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: 18px;
  row-gap: 10px;
  padding: 24px;
}

.feature-strip span {
  grid-row: 1 / span 2;
  align-self: center;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--surface-subtle);
  color: var(--primary);
  font-weight: 800;
}

.feature-strip h2,
.screen-note h3,
.price-grid h3 {
  margin-bottom: 0;
  font-size: 18px;
}

.feature-strip p {
  margin-bottom: 0;
}

.feature-strip p,
.screen-note p,
.section-copy p,
.privacy-section p,
.final-cta p {
  color: var(--text-secondary);
}

.compare-section,
.social-section,
.privacy-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: var(--space-xxl);
}

.section-copy h2,
.final-cta h2 {
  margin-bottom: 16px;
  font-size: 36px;
  line-height: 1.28;
  letter-spacing: 0;
}

.section-copy.narrow {
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
}

.timeline-shot {
  width: min(360px, 100%);
  margin: 0 auto;
}

.timeline-shot img {
  width: 100%;
  aspect-ratio: 1179 / 2556;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--border);
  border-radius: 30px;
  box-shadow: 0 24px 54px rgb(40 48 43 / 14%);
}

figcaption {
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 13px;
  text-align: center;
}

.screens-section {
  max-width: none;
  background: var(--surface-subtle);
}

.screen-grid {
  max-width: var(--max-width);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0 auto;
}

.screen-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  overflow: hidden;
  background: color-mix(in srgb, var(--surface) 84%, var(--surface-subtle));
}

.screenshot-frame {
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 72%), rgb(238 241 239 / 82%)),
    var(--paper-speckle);
}

.screenshot-frame img {
  width: 100%;
  aspect-ratio: 9 / 14;
  object-fit: cover;
  object-position: top;
  border: 1px solid color-mix(in srgb, var(--border) 68%, white);
  border-radius: var(--radius-sm);
  background: var(--paper-speckle);
  box-shadow: 0 12px 28px rgb(40 48 43 / 10%);
}

.screen-note {
  min-height: 112px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 14px;
  padding: 16px;
  border-top: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--background);
}

.screen-note span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

.screen-note h3 {
  margin: 0 0 6px;
}

.screen-note p {
  margin-bottom: 0;
  font-size: 14px;
}

.social-banner {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 40px rgb(40 48 43 / 10%);
}

.price-section {
  text-align: center;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 360px));
  justify-content: center;
  gap: 18px;
  text-align: left;
}

.price-grid article {
  padding: 26px;
}

.price-grid .highlight {
  border-color: color-mix(in srgb, var(--primary) 46%, var(--border));
  background: color-mix(in srgb, var(--primary-muted) 16%, white);
}

.price {
  margin: 0 0 16px;
  color: var(--text-primary);
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
}

.price-grid ul {
  margin: 0;
  padding-left: 20px;
  color: var(--text-secondary);
}

.privacy-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.privacy-section img {
  justify-self: end;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 34px rgb(40 48 43 / 12%);
}

.final-cta {
  text-align: center;
}

.site-footer {
  max-width: var(--max-width);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  margin: 0 auto;
  padding: 32px 20px 42px;
  color: var(--text-secondary);
  font-size: 13px;
  border-top: 1px solid var(--border);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 70px;
    padding-bottom: 70px;
    background: linear-gradient(180deg, var(--background), var(--surface-subtle));
  }

  .hero-copy {
    max-width: none;
  }

  .hero-media img {
    width: min(560px, 100%);
    margin: 0 auto;
  }

  .hero-media figcaption {
    margin-right: auto;
    text-align: center;
  }

  h1 {
    font-size: 42px;
  }

  .feature-strip,
  .compare-section,
  .social-section,
  .privacy-section {
    grid-template-columns: 1fr;
  }

  .screen-grid {
    grid-template-columns: 1fr;
    max-width: 430px;
  }

  .privacy-section img {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 10px 14px;
  }

  .app-store-badge-nav {
    width: 106px;
  }

  .hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: 34px;
  }

  .lead {
    font-size: 16px;
  }

  .download-cluster {
    align-items: center;
    gap: 10px;
  }

  .download-links {
    align-items: center;
    gap: 10px;
  }

  .download-cluster-center,
  .download-cluster-center .download-links {
    align-items: center;
  }

  .feature-strip,
  .compare-section,
  .screens-section,
  .social-section,
  .price-section,
  .privacy-section,
  .final-cta {
    padding-top: 64px;
    padding-bottom: 64px;
  }

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

  .section-copy h2,
  .final-cta h2 {
    font-size: 28px;
  }

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

  .site-footer nav {
    justify-content: flex-start;
  }
}
