:root {
  --ink: #101114;
  --ink-soft: #555960;
  --ink-faint: #7c8189;
  --paper: #f6f3eb;
  --paper-deep: #ece7db;
  --white: #ffffff;
  --line: #cbc6bb;
  --line-dark: #9b978e;
  --blue: #0865d5;
  --blue-dark: #064da3;
  --blue-pale: #e8f1ff;
  --yellow: #ffbe19;
  --green: #5d8a0a;
  --red: #d82d35;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

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

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

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

h1,
h2,
h3 {
  letter-spacing: -0.045em;
  line-height: 1.02;
}

h1 {
  max-width: 720px;
  margin-bottom: 26px;
  font-size: clamp(3rem, 7.2vw, 6.4rem);
  font-weight: 800;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.3rem, 4.6vw, 4.4rem);
  font-weight: 750;
}

h3 {
  font-size: 1.4rem;
}

.wrap {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding-inline: 28px;
}

.kicker {
  margin-bottom: 20px;
  color: var(--blue-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-size: 0.92rem;
  font-weight: 700;
  transition: background-color 150ms ease, color 150ms ease;
}

.button--dark {
  background: var(--ink);
  color: var(--white);
}

.button--dark:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.store-badge-link {
  display: inline-flex;
  line-height: 0;
}

.store-badge {
  display: block;
  width: auto;
  height: 50px;
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 243, 235, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav__inner {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand__logo {
  display: block;
  width: auto;
  height: 29px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav__links a {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 650;
}

.nav__links a:hover {
  color: var(--blue);
}

.nav__button {
  flex: 0 0 auto;
}

/* Hero */
.hero {
  padding: 82px 0 0;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 70px;
  align-items: center;
}

.hero__copy {
  padding-block: 30px;
}

.hero__lede {
  max-width: 650px;
  margin-bottom: 32px;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.availability {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.hero__fineprint {
  margin: 18px 0 0;
  color: var(--ink-faint);
  font-size: 0.8rem;
}

.product-shot {
  margin-bottom: 0;
  text-align: center;
}

.product-shot figcaption,
.scan-stage figcaption {
  max-width: 360px;
  margin: 18px auto 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.phone {
  position: relative;
  width: min(100%, 295px);
  margin-inline: auto;
  padding: 10px;
  overflow: hidden;
  background: #0b0d10;
  border: 1px solid #0b0d10;
  border-radius: 42px;
  box-shadow: 18px 22px 0 var(--paper-deep);
}

.phone__screen {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border-radius: 33px;
  aspect-ratio: 921 / 2000; /* iPhone 17 Pro Max screenshots (1320 × 2868) */
}

.phone__screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone__island {
  position: absolute;
  top: 12px;
  left: 50%;
  z-index: 2;
  width: 88px;
  height: 25px;
  background: #0b0d10;
  border-radius: 999px;
  transform: translateX(-50%);
}

.market-read {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 1fr);
  margin: 76px 0 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.market-read__item {
  padding: 21px 22px 24px;
  border-left: 1px solid var(--line);
}

.market-read__item:first-child {
  padding-left: 0;
  border-left: 0;
}

.market-read dt {
  margin-bottom: 7px;
  color: var(--ink-faint);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.market-read dd {
  margin-bottom: 0;
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  font-weight: 750;
  letter-spacing: -0.025em;
}

.market-read__item:nth-child(2) dd {
  color: var(--blue);
}

.market-read__item:nth-child(3) dd {
  color: var(--green);
}

/* Shared sections */
.section {
  padding: 116px 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-intro {
  max-width: 780px;
  margin-bottom: 58px;
}

.section-intro > p:last-child {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.section-intro--compact {
  margin-bottom: 46px;
}

/* Scan story */
.scan-story__grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: 84px;
  align-items: center;
}

.scan-stage {
  margin-bottom: 0;
}

.phone--small {
  width: min(100%, 260px);
  box-shadow: -18px 22px 0 var(--paper-deep);
}

.scan-result {
  border-top: 3px solid var(--ink);
}

.scan-result__head {
  padding: 28px 0 30px;
  border-bottom: 1px solid var(--line);
}

.scan-result__status {
  display: block;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scan-result__head h3 {
  margin-bottom: 9px;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.scan-result__head p,
.scan-result__note {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.price-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
  border-bottom: 1px solid var(--ink);
}

.price-summary > div {
  padding: 28px 0;
}

.price-summary > div + div {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.price-summary dt {
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 650;
}

.price-summary dd {
  margin-bottom: 0;
  color: var(--blue);
  font-size: clamp(2rem, 5vw, 3.3rem);
  font-weight: 800;
  letter-spacing: -0.05em;
}

.price-summary > div:last-child dd {
  color: var(--green);
}

.listing-list {
  border-bottom: 1px solid var(--ink);
}

.listing-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.listing-row:last-child {
  border-bottom: 0;
}

.listing-row__thumb {
  width: 48px;
  height: 48px;
  background: var(--paper-deep);
  border: 1px solid var(--line);
}

.listing-row strong,
.listing-row span {
  display: block;
}

.listing-row strong {
  line-height: 1.3;
}

.listing-row div span {
  margin-top: 3px;
  color: var(--ink-faint);
  font-size: 0.76rem;
}

.listing-row b {
  color: var(--blue);
  font-size: 1.05rem;
}

.scan-result__note {
  padding-top: 20px;
  font-size: 0.8rem;
}

/* Pricing explanation */
.pricing {
  background: var(--white);
}

.pricing__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: 90px;
  align-items: start;
}

.process-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.process-list li > span {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
}

.process-list strong {
  font-size: 1.05rem;
}

.process-list p {
  margin: 5px 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.price-definitions {
  border-top: 3px solid var(--ink);
}

.price-definitions article {
  padding: 32px 0 36px;
  border-bottom: 1px solid var(--ink);
}

.price-definitions__label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-faint);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.price-definitions article > strong {
  display: block;
  margin-bottom: 30px;
  color: var(--blue);
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.price-definitions article:last-child > strong {
  color: var(--green);
}

.price-definitions h3 {
  margin-bottom: 10px;
}

.price-definitions p {
  max-width: 430px;
  margin-bottom: 0;
  color: var(--ink-soft);
}

/* Pro */
.pro-section {
  background: var(--paper);
}

.pro-panel {
  padding: 64px;
  background: var(--blue-dark);
  color: var(--white);
  border-radius: 8px;
}

.pro-panel__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 56px;
}

.pro-panel .kicker {
  grid-column: 1 / -1;
  margin-bottom: -42px;
  color: #b9d3ff;
}

.pro-panel h2 {
  max-width: 690px;
  margin-bottom: 0;
}

.pro-panel__intro > p:last-child {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.78);
}

.pro-panel__plans {
  border-top: 1px solid rgba(255, 255, 255, 0.65);
}

.plan-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 25px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.plan-row div strong,
.plan-row div span {
  display: block;
}

.plan-row div strong {
  margin-bottom: 4px;
  font-size: 1.15rem;
}

.plan-row div span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.plan-row > b {
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.plan-row > b span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.75rem;
  font-weight: 500;
}

.pro-panel__fineprint {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
}

.pro-panel__fineprint a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Final CTA and footer */
.final-cta {
  background: var(--yellow);
}

.final-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 70px;
  align-items: center;
}

.final-cta .kicker {
  color: #5b3c00;
}

.final-cta h2 {
  max-width: 760px;
  margin-bottom: 18px;
}

.final-cta p:last-child {
  max-width: 620px;
  margin-bottom: 0;
}

.final-cta__action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.final-cta__action span {
  font-size: 0.75rem;
}

.footer {
  padding: 72px 0 38px;
  background: var(--ink);
  color: var(--white);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr;
  gap: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.footer .brand__logo {
  filter: brightness(0) invert(1);
}

.footer__brand p {
  max-width: 370px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.86rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer__links strong {
  margin-bottom: 5px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

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

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 26px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
}

.footer__bottom .legal {
  display: flex;
  gap: 22px;
}

.footer__bottom .legal a:hover {
  color: var(--yellow);
}

.footer__disclaim {
  max-width: 830px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
  line-height: 1.65;
}

/* Legal pages */
.blob {
  display: none;
}

.legal-hero {
  padding: 76px 0 20px;
}

.legal-hero .wrap {
  max-width: 820px !important;
}

.legal-hero .back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 36px;
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 700;
}

.legal-hero h1 {
  margin-bottom: 12px;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
}

.legal-hero .updated {
  color: var(--ink-faint);
  font-size: 0.86rem;
}

.doc {
  max-width: 820px;
  margin: 0 auto;
  padding: 28px 28px 100px;
}

.doc .card {
  padding-top: 8px;
  border-top: 3px solid var(--ink);
}

.doc h2 {
  margin: 54px 0 14px;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.035em;
}

.doc h3 {
  margin: 34px 0 10px;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.doc p,
.doc li {
  color: #35383d;
  font-size: 1rem;
  line-height: 1.75;
}

.doc ul {
  padding-left: 24px;
}

.doc li {
  margin: 8px 0;
}

.doc a {
  color: var(--blue-dark);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-word;
}

.doc strong {
  color: var(--ink);
}

.doc .note {
  padding: 18px 20px;
  background: #fff1bd;
  border-left: 3px solid var(--yellow);
  color: #563d00;
}

.legal-footer {
  padding-top: 0;
}

/* Responsive */
@media (max-width: 940px) {
  .nav__links {
    display: none;
  }

  .hero__grid,
  .scan-story__grid,
  .pricing__grid {
    grid-template-columns: 1fr;
  }

  .hero__grid {
    gap: 52px;
  }

  .hero__copy {
    padding-bottom: 0;
  }

  .product-shot {
    justify-self: center;
  }

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

  .market-read__item--product {
    grid-column: 1 / -1;
    padding-left: 0;
    border-bottom: 1px solid var(--line);
    border-left: 0;
  }

  .scan-story__grid {
    gap: 60px;
  }

  .scan-stage {
    order: 2;
  }

  .pricing__grid {
    gap: 64px;
  }

  .pro-panel__intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pro-panel .kicker {
    grid-column: auto;
    margin-bottom: 0;
  }

  .final-cta__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .wrap {
    padding-inline: 20px;
  }

  .nav__inner {
    min-height: 62px;
  }

  .brand__logo {
    height: 24px;
  }

  .nav__button {
    min-height: 38px;
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .hero {
    padding-top: 48px;
  }

  h1 {
    font-size: clamp(2.75rem, 14vw, 4.2rem);
  }

  .section {
    padding: 78px 0;
  }

  .section-intro {
    margin-bottom: 42px;
  }

  .market-read {
    grid-template-columns: 1fr;
    margin-top: 58px;
  }

  .market-read__item,
  .market-read__item:first-child,
  .market-read__item--product {
    grid-column: auto;
    padding: 17px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    border-left: 0;
  }

  .market-read__item:last-child {
    border-bottom: 0;
  }

  .price-summary {
    grid-template-columns: 1fr;
  }

  .price-summary > div + div {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .listing-row {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 11px;
  }

  .listing-row__thumb {
    width: 40px;
    height: 40px;
  }

  .listing-row b {
    font-size: 0.92rem;
  }

  .pro-panel {
    margin-inline: -20px;
    padding: 50px 20px;
    border-radius: 0;
  }

  .plan-row {
    align-items: start;
  }

  .plan-row div span {
    max-width: 210px;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer__brand {
    grid-column: auto;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 8px;
  }

  .doc {
    padding-inline: 20px;
  }
}

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

  * {
    transition: none !important;
  }
}
