/* The landing page. Built on styles/tokens.css — this file only lays things
   out. The source design (Claude Design "Isomoira Landing") is drawn at a
   fixed 1180px; everything here is the responsive translation of it. */

.wrap {
  width: var(--wrap);
  max-width: calc(100% - var(--wrap-gutter) * 2);
  margin: 0 auto;
}

.sec {
  padding: var(--sec-pad) 0;
}

.k {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-700);
}

.h2 {
  font-size: var(--text-h2);
  line-height: 1.02;
  margin: 10px 0 0;
}

.lead {
  font-size: var(--text-lead);
  line-height: 1.55;
  color: color-mix(in srgb, var(--color-text) 65%, transparent);
  max-width: 52ch;
  margin: 16px 0 0;
}

.mono {
  font-variant-numeric: tabular-nums;
}

.body-copy {
  font-size: 15px;
  line-height: 1.55;
  color: color-mix(in srgb, var(--color-text) 65%, transparent);
  margin: 8px 0 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 20;
  padding: 10px 16px;
  background: var(--color-accent-900);
  color: #f5f5f8;
}

.skip-link:focus {
  left: 0;
}

/* ── header ─────────────────────────────────────────────────────────────── */

/* Every in-page anchor lands under the sticky header without this — the CTA
   jumps to #waitlist and the form sits behind the bar, looking like the click
   did nothing. */
:root {
  --header-h: 63px;
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}

html {
  scroll-behavior: smooth;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 9;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-divider);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}

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

.brand:hover {
  color: inherit;
  text-decoration: none;
}

.brand__word {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.16em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  font-size: 14px;
}

.site-nav .btn {
  font-size: 14px;
  padding: 8px 18px;
}

/* The four in-page anchors collapse first; the CTA always survives. */
@media (max-width: 720px) {
  .site-nav__links {
    display: none;
  }
}

@media (min-width: 721px) {
  .site-nav__links {
    display: contents;
  }
}

/* ── hero ───────────────────────────────────────────────────────────────── */

.hero {
  padding: clamp(3rem, 1.5rem + 5vw, 6.5rem) 0 clamp(3rem, 1.5rem + 4vw, 5.75rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 1rem + 3vw, 4rem);
  align-items: center;
}

/* Grid items default to min-width:auto, so the phone's fixed width would set
   the column's minimum and push the whole hero past the viewport at 320. */
.hero__grid > * {
  min-width: 0;
}

.hero__title {
  font-size: var(--text-hero);
  line-height: 0.96;
  letter-spacing: -0.02em;
  margin: 14px 0 0;
}

.hero__lead {
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 36px;
  font-size: 13px;
  color: color-mix(in srgb, var(--color-text) 65%, transparent);
}

/* ── waitlist form ──────────────────────────────────────────────────────── */

.waitlist {
  margin-top: 34px;
  max-width: 460px;
}

.waitlist__row {
  display: flex;
  gap: 10px;
}

.waitlist__row .input {
  flex: 1;
  font-family: var(--font-body);
  font-size: 15px;
}

.waitlist__row .btn {
  flex: none;
  font-size: 15px;
  padding: 10px 22px;
}

.waitlist__note {
  margin-top: 12px;
  font-size: 13px;
  color: color-mix(in srgb, var(--color-text) 65%, transparent);
  min-height: 20px;
}

.waitlist__note[data-state="error"] {
  color: #a8422f;
}

.dark .waitlist__note[data-state="error"] {
  color: #f0a08e;
}

.waitlist--center {
  margin: 32px auto 0;
}

@media (max-width: 420px) {
  .waitlist__row {
    flex-direction: column;
  }
}

/* ── the phone ──────────────────────────────────────────────────────────── */

.phone {
  justify-self: center;
  /* min() rather than width+max-width: a fixed width still contributes to the
     grid column's min-content sizing even when max-width caps the render. */
  width: min(344px, 100%);
  height: 700px;
  display: flex;
  flex-direction: column;
  background: var(--color-accent-900);
  color: #f5f5f8;
  border: 1px solid var(--color-divider);
  box-shadow: 0 24px 60px rgba(43, 43, 45, 0.16);
  overflow: hidden;
  /* The mock is a picture of the product, not a live control. */
  user-select: none;
}

.phone__status {
  display: flex;
  justify-content: space-between;
  padding: 12px 22px 4px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 12px;
}

.phone__body {
  padding: 8px 22px 0;
  flex: 1;
  min-height: 0;
}

.phone__add {
  display: flex;
  justify-content: flex-end;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 12px;
  color: var(--color-accent-300);
}

.phone__pair {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}

.phone__avatar {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid rgba(245, 245, 248, 0.22);
  color: rgba(245, 245, 248, 0.55);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
}

.phone__avatar--me {
  border-color: #94bce3;
  color: var(--color-accent-300);
}

.phone__wire {
  flex: 1;
  position: relative;
  height: 1px;
  background: rgba(245, 245, 248, 0.22);
}

.phone__amount {
  position: absolute;
  left: 50%;
  top: -9px;
  transform: translateX(-50%);
  background: var(--color-accent-900);
  padding: 0 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--color-accent-300);
  white-space: nowrap;
}

.phone__status-line {
  text-align: center;
  margin: 10px 0 20px;
  font-size: 13px;
  color: rgba(245, 245, 248, 0.6);
}

.phone__status-line em {
  font-style: normal;
  color: var(--color-accent-300);
  font-weight: 500;
}

.phone__safe {
  padding: 14px 16px;
  background: rgba(148, 188, 227, 0.14);
  border-color: rgba(245, 245, 248, 0.22);
}

.phone__safe > .corner {
  color: rgba(245, 245, 248, 0.55);
}

.phone__safe-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.phone__safe-label {
  font-size: 12px;
  color: #d6ebff;
}

.phone__safe-value {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 26px;
  color: #eef6ff;
}

.phone__safe-sub {
  font-size: 11px;
  color: rgba(214, 235, 255, 0.75);
  margin-top: 2px;
}

.phone__section-label {
  color: rgba(245, 245, 248, 0.55);
  margin: 20px 0 10px;
}

.phone__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.phone__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}

.phone__row--muted {
  color: rgba(245, 245, 248, 0.7);
}

.phone__bar {
  display: flex;
  height: 3px;
  margin-top: 6px;
}

.phone__bar span:first-child {
  background: #94bce3;
}

.phone__bar span:last-child {
  background: #416180;
}

.phone__bar--solo span {
  background: rgba(245, 245, 248, 0.25);
}

.phone__legend {
  display: flex;
  gap: 16px;
  margin-top: 14px;
  font-size: 11px;
  /* The mock reproduces the app's own dim styling, but this is real text a
     low-vision visitor can zoom — 0.5 is 4.2:1 here, 0.6 clears AA. */
  color: rgba(245, 245, 248, 0.6);
}

.phone__swatch {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 5px;
}

.phone__tabs {
  display: flex;
  border-top: 1px solid rgba(245, 245, 248, 0.22);
}

.phone__tab {
  flex: 1;
  text-align: center;
  padding: 11px 0 18px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 245, 248, 0.55);
  position: relative;
}

.phone__tab--on {
  color: #94bce3;
}

.phone__tab--on::before {
  content: "";
  position: absolute;
  top: 0;
  left: 25%;
  width: 50%;
  height: 2px;
  background: #94bce3;
}

/* ── grids shared by several sections ───────────────────────────────────── */

.cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}

.cols-3--wide-gap {
  gap: 36px;
  margin-top: 56px;
}

.cols-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 56px;
  margin-top: 48px;
}

.tier {
  padding: 26px 24px;
}

.tier__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 26px;
  margin-top: 16px;
}

.callout {
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--color-accent-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.callout__text {
  font-size: 16px;
  color: var(--color-accent-900);
}

/* ── the ledger steps ───────────────────────────────────────────────────── */

.step__num {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--color-accent-700);
}

.step__rule {
  height: 1px;
  background: var(--color-divider);
  margin: 12px 0 16px;
  border: 0;
}

.step__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 24px;
}

.pull {
  margin-top: 64px;
  padding: 44px 0 0;
  border-top: 1px solid var(--color-divider);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 1rem + 3vw, 3.5rem);
  align-items: start;
}

.pull__quote {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-pull);
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.pull__body {
  font-size: 16px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--color-text) 65%, transparent);
  margin: 0;
}

/* ── the feature mosaic — hairline gaps, not cards ──────────────────────── */

.mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 52px;
  background: var(--color-divider);
}

.mosaic__cell {
  background: var(--color-bg);
  padding: 28px 26px;
}

.mosaic__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 20px;
}

.mosaic__body {
  font-size: 14px;
  line-height: 1.55;
  color: color-mix(in srgb, var(--color-text) 60%, transparent);
  margin: 8px 0 0;
}

/* ── pricing ────────────────────────────────────────────────────────────── */

.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 52px;
}

.plan {
  padding: 32px 30px;
}

.plan--featured {
  background: var(--color-accent-100);
}

.plan__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}

.plan__name,
.plan__price {
  font-family: var(--font-heading);
  font-weight: 600;
}

.plan__name {
  font-size: 28px;
}

.plan__price {
  font-size: 34px;
}

.plan--featured .plan__name,
.plan--featured .plan__price {
  color: var(--color-accent-900);
}

.plan__blurb {
  font-size: 15px;
  line-height: 1.55;
  color: color-mix(in srgb, var(--color-text) 65%, transparent);
  margin: 12px 0 22px;
}

.plan--featured .plan__blurb {
  color: var(--color-accent-800);
}

.plan__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  margin: 0;
}

.plan__item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid color-mix(in srgb, var(--color-text) 8%, transparent);
}

.plan__item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.plan__item dd {
  margin: 0;
  color: var(--color-accent-700);
  text-align: right;
}

.plan--featured .plan__list {
  color: var(--color-accent-900);
}

.plan--featured .plan__item {
  border-bottom-color: color-mix(in srgb, var(--color-accent-800) 20%, transparent);
}

.plan--featured .plan__item dd {
  color: inherit;
}

.plan__foot {
  font-size: 13px;
  color: color-mix(in srgb, var(--color-accent-800) 80%, transparent);
  margin-top: 20px;
}

/* ── who it's for ───────────────────────────────────────────────────────── */

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 1rem + 3vw, 4rem);
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 8px 0 0;
}

.checklist li {
  padding: 18px 0;
  border-bottom: 1px solid var(--color-divider);
  font-size: 17px;
}

.checklist li:last-child {
  border-bottom: 0;
  color: color-mix(in srgb, var(--color-text) 65%, transparent);
}

/* ── security + faq ─────────────────────────────────────────────────────── */

.pair__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 22px;
}

.faq__q {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 21px;
}

.faq__a {
  font-size: 15px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--color-text) 65%, transparent);
  margin: 8px 0 0;
}

/* ── closing + footer ───────────────────────────────────────────────────── */

.closing {
  padding: clamp(3.5rem, 2rem + 5vw, 6.5rem) 0;
  text-align: center;
}

.closing .lead {
  margin: 16px auto 0;
}

.closing .h2 {
  font-size: clamp(2.25rem, 1.5rem + 3vw, 3.25rem);
}

.site-footer {
  border-top: 1px solid var(--color-divider);
  padding: 36px 0 48px;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px 32px;
  flex-wrap: wrap;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer__word {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.16em;
}

.site-footer__tag {
  font-size: 13px;
  color: color-mix(in srgb, var(--color-text) 65%, transparent);
}

.site-footer__links {
  display: flex;
  gap: 16px 26px;
  font-size: 13px;
  flex-wrap: wrap;
}

/* ── breakpoints ────────────────────────────────────────────────────────── */

@media (max-width: 1040px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero__copy {
    max-width: 640px;
  }

  .pull,
  .split {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 860px) {
  .cols-3,
  .plans {
    grid-template-columns: 1fr;
  }

  .cols-2 {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 560px) {
  .mosaic {
    grid-template-columns: 1fr;
  }

  .phone {
    height: auto;
    padding-bottom: 4px;
  }

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