/* Apple.com landing — one system: SF type, sentence case, product-first. */

body.landing-route-page {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.landing-route-page .cosmos-landing {
  width: min(980px, calc(100vw - 32px));
}

/* ── Nav: quiet, no mono uppercase pills ── */

body.landing-route-page nav.site-nav .word {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: none;
}

body.landing-route-page nav.site-nav .nav-gps-btn {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-transform: none;
  color: rgba(245, 245, 247, 0.8);
  padding: 8px 12px;
  min-height: 44px;
  border: none;
  background: transparent;
}

body.landing-route-page nav.site-nav .nav-gps-btn.is-signal {
  color: #2997ff;
  background: transparent;
  border: none;
  padding: 8px 12px;
}

body.landing-route-page nav.site-nav .nav-gps-btn:hover,
body.landing-route-page nav.site-nav .nav-gps-btn.is-signal:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #2997ff;
}

/* ── Hero: split grid (Cue copy + live thread) ── */

/* Tomo single-page: hero is flex-centered by landing-tomo.css */
body.landing-tomo-page .cosmos-hero.landing-hero {
  padding: 0;
}

body.landing-route-page .cosmos-hero.landing-hero {
  padding: max(48px, calc(32px + env(safe-area-inset-top, 0px))) 0 48px;
}

body.landing-route-page .landing-hero {
  display: block;
  width: 100%;
}

body.landing-route-page .landing-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  align-items: center;
}

body.landing-route-page .landing-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

body.landing-route-page .landing-thread-stage {
  width: 100%;
  max-width: 24rem;
  margin: 0 auto;
}

/* Classic CRT wordmark is the brand signal again (was hidden for Apple/Tomo pass). */
body.landing-route-page .landing-wordmark {
  display: block !important;
  margin: 0 0 14px;
  text-align: inherit;
}

/* Soft bars so curved glyphs (leading C) keep their silhouette. */
body.landing-route-page .landing-wordmark::before {
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0,
    rgba(0, 0, 0, 0.22) 0.4px,
    rgba(0, 0, 0, 0.38) 1px,
    rgba(0, 0, 0, 0.22) 1.6px,
    transparent 2.2px,
    transparent 9px
  );
}

body.landing-route-page .landing-wordmark::after {
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0,
    rgba(255, 255, 255, 0.35) 0.4px,
    rgba(255, 255, 255, 0.55) 1px,
    rgba(255, 255, 255, 0.35) 1.6px,
    transparent 2.2px,
    transparent 13px
  );
}

body.landing-tomo-page .landing-wordmark {
  margin: 0 0 6px;
  font-size: clamp(56px, 12vw, 108px);
  flex-shrink: 0;
}

body.landing-tomo-page .hero-headline {
  max-width: none;
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 3.6vw, 1.85rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: rgba(245, 245, 247, 0.88);
  text-wrap: wrap;
}

body.landing-tomo-page .hero-headline-line {
  display: block;
  text-wrap: nowrap;
  white-space: nowrap;
}

body.landing-tomo-page .hero-eyebrow {
  display: none;
}

body.landing-route-page .landing-phone-caption {
  margin: 12px 0 0;
  max-width: none;
  font-size: 13px;
  line-height: 1.35;
  color: rgba(245, 245, 247, 0.38);
  text-align: center;
  letter-spacing: -0.01em;
}

body.landing-route-page .landing-phone-caption-em {
  color: #2997ff;
  font-weight: 500;
}

body.landing-route-page .hero-eyebrow {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.022em;
  color: rgba(245, 245, 247, 0.88);
  text-transform: none;
}

body.landing-route-page .hero-headline {
  max-width: 11ch;
  margin: 0 0 14px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif;
  font-size: clamp(2.25rem, 7vw, 3.5rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #f5f5f7;
  text-transform: none;
  text-wrap: balance;
}

body.landing-route-page .hero-subhead {
  max-width: 26rem;
  margin: 0;
  font-size: clamp(1.0625rem, 2.5vw, 1.3125rem);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.014em;
  color: rgba(245, 245, 247, 0.72);
}

body.landing-route-page .hero-cta-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 16px;
  gap: 0;
  width: 100%;
  max-width: 28rem;
  text-align: center;
}

body.landing-route-page .hero-cta-note {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: rgba(245, 245, 247, 0.38);
  text-align: center;
  text-wrap: pretty;
}

body.landing-route-page .hero-cta-stack .hero-cta-note {
  margin: 10px 0 0;
  width: auto;
  max-width: 20rem;
}

body.landing-route-page .hero-cta-row {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 22px;
}

body.landing-route-page .hero-cta-stack .hero-cta-pill {
  align-self: auto;
}

/* Apple.com/os/ios — filled pill + separate text link */
body.landing-route-page .hero-cta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 21px;
  border-radius: 980px;
  background: #f5f5f7;
  color: #1d1d1f;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.022em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  border: none;
  box-shadow: none;
  transition: background 160ms ease, transform 120ms ease;
}

body.landing-route-page .hero-cta-pill:hover {
  background: #fff;
}

body.landing-route-page .hero-cta-pill:active {
  transform: scale(0.98);
}

body.landing-route-page .hero-cta-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: none;
  background: none;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.022em;
  color: #2997ff;
  text-decoration: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

body.landing-route-page .hero-cta-link:hover {
  text-decoration: underline;
}

body.landing-route-page .landing-hero-copy .hero-cta-imessage,
body.landing-route-page .landing-hero-copy .hero-cta-learn,
body.landing-route-page .landing-hero-copy .hero-cta-buy {
  display: none !important;
}

@media (max-width: 720px) {
  body.landing-route-page .landing-hero-copy .hero-install-secondary {
    display: none;
  }

  body.landing-route-page .hero-cta-row {
    justify-content: center;
  }
}

.landing-close-install.hero-cta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 21px;
  border-radius: 980px;
  background: #f5f5f7;
  color: #1d1d1f;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.022em;
  text-decoration: none;
}

body.landing-route-page .hero-signin {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.35;
  color: rgba(245, 245, 247, 0.45);
  text-align: center;
  letter-spacing: -0.01em;
}

body.landing-route-page .hero-signin a {
  color: #2997ff;
  text-decoration: none;
}

body.landing-route-page .hero-signin a:hover {
  text-decoration: underline;
}

body.landing-route-page .hero-cta-duo {
  display: contents;
}

body.landing-route-page .hero-cta-sub,
body.landing-route-page .hero-deck-compact,
body.landing-route-page .hero-kicker,
body.landing-route-page .hero-legal {
  display: none !important;
}

/* ── Waitlist ── */

body.landing-route-page .landing-waitlist-hero {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  max-width: 22rem;
  width: 100%;
  text-align: center;
}

body.landing-route-page .hero-waitlist-label {
  margin: 0 0 14px;
  font-size: 14px;
  color: rgba(245, 245, 247, 0.55);
}

body.landing-route-page .landing-waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body.landing-route-page .landing-waitlist-input {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  font-size: 17px;
  color: #f5f5f7;
  text-transform: none;
}

body.landing-route-page .landing-waitlist-input::placeholder {
  color: rgba(245, 245, 247, 0.35);
  text-transform: none;
}

body.landing-route-page .landing-waitlist-submit {
  min-height: 44px;
  border-radius: 980px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #f5f5f7;
  font-size: 17px;
  letter-spacing: -0.022em;
  text-transform: none;
  cursor: pointer;
}

/* ── Sections (shared) ── */

body.landing-route-page .landing-section {
  padding: clamp(72px, 11vw, 96px) 0;
  border-top: none;
  text-align: center;
}

body.landing-route-page .landing-section-title {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: none;
  color: #f5f5f7;
  margin: 0 auto 12px;
  max-width: 16ch;
}

body.landing-route-page .landing-section-lead {
  font-size: clamp(1.0625rem, 2.5vw, 1.25rem);
  font-weight: 400;
  line-height: 1.47;
  letter-spacing: -0.01em;
  text-transform: none;
  color: rgba(245, 245, 247, 0.65);
  max-width: 32rem;
  margin: 0 auto 32px;
}

/* Hide internal lab traction on public landing */
body.landing-route-page .landing-traction-capability,
body.landing-route-page .landing-traction-badges,
body.landing-route-page .landing-traction-grid {
  display: none !important;
}

/* ── Use case cards ── */

body.landing-route-page .landing-usecases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 680px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  body.landing-route-page .landing-usecases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (min-width: 960px) {
  body.landing-route-page .landing-usecases-grid {
    grid-template-columns: 1fr;
    max-width: none;
    gap: 12px;
  }
}

body.landing-route-page .landing-usecase-card {
  padding: 22px 20px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  min-height: 11.5rem;
  text-align: left;
  display: flex;
  flex-direction: column;
}

body.landing-route-page .landing-usecase-title {
  margin: 0 0 8px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #f5f5f7;
  text-transform: none;
}

body.landing-route-page .landing-usecase-body {
  margin: 0;
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: rgba(245, 245, 247, 0.62);
  text-transform: none;
}

body.landing-route-page .landing-usecase-tag {
  margin: 14px 0 0;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #2997ff;
}

/* ── How it works tiles ── */

body.landing-route-page .landing-channels-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  body.landing-route-page .landing-channels-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

body.landing-route-page .landing-channel-card {
  padding: 24px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
}

body.landing-route-page .landing-channel-k {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #2997ff;
}

body.landing-route-page .landing-channel-title {
  margin: 0 0 8px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #f5f5f7;
  text-transform: none;
}

body.landing-route-page .landing-channel-body {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(245, 245, 247, 0.62);
  text-transform: none;
}

body.landing-route-page .landing-channels-more {
  display: none;
}

/* ── Trust ── */

body.landing-route-page .landing-trust-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 24rem;
  text-align: left;
}

body.landing-route-page .landing-trust-list li {
  position: relative;
  padding: 0 0 12px 1.1rem;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(245, 245, 247, 0.68);
  text-transform: none;
}

body.landing-route-page .landing-trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #2997ff;
}

/* ── Close / footer ── */

body.landing-route-page .landing-close-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

body.landing-route-page .landing-close-primary,
body.landing-route-page .landing-waitlist-submit.landing-close-primary {
  min-height: 44px;
  min-width: 12rem;
  border-radius: 980px;
  background: #0071e3;
  border: none;
  font-size: 17px;
  text-transform: none;
  letter-spacing: -0.022em;
  color: #fff;
}

body.landing-route-page .landing-close-secondary {
  font-size: 17px;
  color: #2997ff;
  text-decoration: none;
  text-transform: none;
  border: none;
  background: none;
  letter-spacing: -0.022em;
}

body.landing-route-page .landing-close-secondary:hover {
  text-decoration: underline;
  color: #2997ff;
  border: none;
}

body.landing-route-page .landing-close-footnote,
body.landing-route-page .landing-close-footnote a {
  font-size: 14px;
  color: rgba(245, 245, 247, 0.5);
  text-transform: none;
}

body.landing-route-page .landing-footer {
  font-size: 12px;
  color: rgba(245, 245, 247, 0.45);
  text-transform: none;
}

body.landing-route-page .landing-footer a {
  color: #2997ff;
  text-transform: none;
}

body.landing-route-page .landing-footer-meta {
  text-transform: none;
  letter-spacing: -0.01em;
}

@media (min-width: 900px) {
  body.landing-route-page .cosmos-landing {
    width: min(1080px, calc(100vw - 48px));
  }

  body.landing-route-page .landing-hero-grid {
    grid-template-columns: minmax(0, max-content) auto;
    gap: clamp(32px, 4vw, 52px);
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
    justify-content: center;
  }

  body.landing-route-page.landing-tomo-page .landing-thread-stage.is-imessage {
    max-width: none;
    width: auto;
  }

  body.landing-route-page .landing-hero-copy {
    align-items: flex-start;
    text-align: left;
  }

  body.landing-route-page .hero-headline {
    max-width: 20ch;
  }

  body.landing-route-page .hero-cta-stack {
    align-items: flex-start;
    margin-top: 18px;
    text-align: left;
  }

  body.landing-route-page .hero-subhead {
    text-align: left;
  }

  body.landing-route-page .hero-cta-stack .hero-cta-note {
    text-align: left;
    align-self: flex-start;
    margin-inline: 0;
  }

  body.landing-route-page .hero-cta-stack .hero-cta-pill {
    align-self: flex-start;
  }

  body.landing-route-page .hero-cta-row {
    justify-content: flex-start;
  }

  body.landing-route-page .landing-thread-stage {
    max-width: none;
    margin: 0;
  }

  body.landing-route-page .landing-waitlist-hero {
    align-items: flex-start;
  }
}

@media (min-width: 768px) {
  body.landing-route-page .landing-thread-stage {
    width: 100%;
  }
}
