:root {
  color-scheme: light;
  --blue: #0a84ff;
  --blue-strong: #0071e3;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --soft: #f5f5f7;
  --surface: #ffffff;
  --line: rgba(29, 29, 31, 0.12);
  --black: #000000;
  --black-soft: #101012;
  --radius-small: 8px;
  --radius-medium: 24px;
  --radius-large: 40px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.14);
  --max: 1180px;
  --nav-height: 64px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(10, 132, 255, 0.45);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--surface);
  background: var(--ink);
  border-radius: var(--radius-small);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-height);
  border-bottom: 1px solid transparent;
  background: rgba(245, 245, 247, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  transition: border-color 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(0, 0, 0, 0.08);
  background: rgba(245, 245, 247, 0.86);
}

.nav-shell {
  width: min(100% - 32px, var(--max));
  height: var(--nav-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand img,
.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(29, 29, 31, 0.72);
  font-size: 14px;
  line-height: 1;
}

.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav-links a[aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
}

.nav-links .mobile-home-link {
  display: none;
}

.hero {
  min-height: calc(100vh - var(--nav-height));
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) 0 clamp(24px, 5vw, 56px);
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
  font-weight: 700;
}

.eyebrow.blue {
  color: #69b3ff;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(56px, 9vw, 112px);
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 0.96;
  font-weight: 800;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.14;
  font-weight: 760;
  letter-spacing: 0;
}

p {
  font-size: 19px;
  line-height: 1.55;
}

.hero-lede {
  max-width: 560px;
  margin: 24px 0 0;
  color: #333336;
  font-size: clamp(21px, 2.4vw, 28px);
  line-height: 1.24;
  font-weight: 600;
}

.hero-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: var(--blue-strong);
}

.button-primary:hover {
  color: #fff;
  background: #0066cc;
}

.button-secondary {
  color: var(--blue-strong);
  background: rgba(0, 113, 227, 0.1);
}

.button-secondary:hover {
  color: var(--blue-strong);
  background: rgba(0, 113, 227, 0.16);
}

.hero-visual {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: auto 8% 7% 8%;
  height: 44%;
  border-radius: 999px;
  background: rgba(10, 132, 255, 0.12);
  filter: blur(40px);
  z-index: -1;
}

.phone-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #050505;
  box-shadow: var(--shadow);
}

.phone-frame img,
.showcase-phone img,
.screen-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-frame-main {
  width: min(58vw, 370px);
  aspect-ratio: 1242 / 2688;
  border-radius: 42px;
}

.phone-frame-secondary {
  position: absolute;
  right: -2%;
  bottom: 2%;
  width: min(34vw, 220px);
  aspect-ratio: 1242 / 2688;
  border-radius: 32px;
  transform: rotate(5deg);
}

.intro-band,
.product-section,
.feature-band,
.privacy-section,
.download-section {
  scroll-margin-top: calc(var(--nav-height) + 24px);
}

.section-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.intro-band {
  padding: clamp(48px, 7vw, 96px) 0;
  background: var(--surface);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
}

.intro-statement h2 {
  font-size: clamp(42px, 6vw, 76px);
}

.intro-text {
  margin: 0;
  color: #3a3a3c;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.2;
  font-weight: 700;
}

.section-black {
  color: var(--surface);
  background: var(--black);
}

.section-light {
  color: var(--ink);
  background: var(--soft);
}

.product-section {
  padding: clamp(64px, 10vw, 132px) 0;
  overflow: hidden;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: clamp(36px, 7vw, 96px);
}

.copy-column {
  max-width: 650px;
}

.copy-column p:not(.eyebrow),
.centered-copy p,
.privacy-copy p,
.download-panel p {
  color: inherit;
  opacity: 0.76;
}

.section-black .copy-column p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
}

.capability-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.capability-list span {
  padding: 10px 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
}

.showcase-phone {
  width: min(100%, 360px);
  aspect-ratio: 1242 / 2688;
  justify-self: center;
  margin: 0;
  overflow: hidden;
  border-radius: 44px;
  box-shadow: 0 36px 90px rgba(10, 132, 255, 0.22);
}

.centered-copy {
  max-width: 860px;
  text-align: center;
}

.centered-copy p {
  margin: 24px auto 0;
  max-width: 740px;
}

.screen-row {
  width: min(100% - 32px, 940px);
  margin: clamp(40px, 7vw, 88px) auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 44px);
}

.screen-tile {
  margin: 0;
}

.screen-tile img {
  aspect-ratio: 1242 / 2688;
  overflow: hidden;
  border-radius: 36px;
  background: #000;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.14);
}

.screen-tile figcaption {
  display: grid;
  gap: 5px;
  margin-top: 18px;
  text-align: center;
}

.screen-tile strong {
  font-size: 22px;
  line-height: 1.2;
}

.screen-tile span {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

.feature-band {
  padding: clamp(64px, 10vw, 128px) 0;
  background: var(--surface);
}

.feature-heading {
  max-width: 780px;
  margin-bottom: clamp(32px, 6vw, 64px);
}

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

.feature-card {
  min-height: 220px;
  padding: 28px;
  background: var(--soft);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: var(--radius-small);
}

.feature-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.48;
}

.privacy-section {
  padding: clamp(56px, 8vw, 112px) 0;
}

.privacy-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.privacy-copy p {
  margin: 0;
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
}

.inline-links a {
  color: var(--blue-strong);
  font-weight: 700;
}

.download-section {
  padding: clamp(64px, 10vw, 132px) 0;
  color: #fff;
  background: var(--black);
}

.download-panel {
  width: min(100% - 32px, 820px);
  margin: 0 auto;
  text-align: center;
}

.download-panel img {
  width: 92px;
  height: 92px;
  margin: 0 auto 24px;
  border-radius: 22px;
}

.download-panel p {
  max-width: 640px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.76);
}

.download-panel .button {
  margin-top: 30px;
}

.site-footer {
  padding: 34px 0;
  color: rgba(29, 29, 31, 0.72);
  background: var(--soft);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.footer-brand {
  color: var(--ink);
}

.footer-brand img {
  width: 24px;
  height: 24px;
  border-radius: 7px;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.legal-page {
  background: var(--surface);
}

.legal-main {
  padding: clamp(56px, 8vw, 96px) 0 clamp(64px, 10vw, 128px);
}

.legal-article {
  width: min(100% - 32px, 820px);
  margin: 0 auto;
}

.legal-article h1 {
  font-size: clamp(44px, 7vw, 72px);
  line-height: 0.98;
}

.legal-updated {
  margin: 18px 0 clamp(36px, 6vw, 64px);
  color: var(--muted);
  font-size: 16px;
}

.legal-article section {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.legal-article h2 {
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.08;
  margin-bottom: 16px;
}

.legal-article p,
.legal-article li {
  color: #3a3a3c;
  font-size: 17px;
  line-height: 1.65;
}

.legal-article p {
  margin: 12px 0 0;
}

.legal-article ul {
  margin: 14px 0 0;
  padding-left: 22px;
}

.legal-article li + li {
  margin-top: 8px;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    text-align: center;
  }

  .hero-copy,
  .hero-lede,
  .hero-note {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    min-height: 560px;
  }

  .phone-frame-main {
    width: min(70vw, 360px);
  }

  .phone-frame-secondary {
    right: 4%;
  }

  .intro-grid,
  .split-layout,
  .privacy-grid {
    grid-template-columns: 1fr;
  }

  .split-layout {
    text-align: center;
  }

  .copy-column {
    margin: 0 auto;
  }

  .capability-list {
    justify-content: center;
  }

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

@media (max-width: 720px) {
  :root {
    --nav-height: 58px;
  }

  .nav-shell {
    width: min(100% - 24px, var(--max));
  }

  .brand span {
    max-width: 160px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-links {
    gap: 14px;
    font-size: 13px;
  }

  .nav-links .mobile-home-link {
    display: inline-flex;
  }

  .nav-links a[href="#recognize"],
  .nav-links a[href="#discover"],
  .nav-links a[href="#privacy"],
  .nav-links a[href="privacy.html"] {
    display: none;
  }

  .hero {
    width: min(100% - 24px, var(--max));
    padding-top: 40px;
  }

  .hero-visual {
    min-height: 468px;
  }

  .phone-frame-main {
    width: min(82vw, 312px);
    border-radius: 34px;
  }

  .phone-frame-secondary {
    width: min(38vw, 160px);
    border-radius: 24px;
    right: -4px;
  }

  p {
    font-size: 17px;
  }

  .hero-lede {
    font-size: 21px;
  }

  .button {
    width: 100%;
  }

  .screen-row {
    grid-template-columns: 1fr;
    width: min(100% - 64px, 360px);
  }

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

  .feature-card {
    min-height: auto;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .legal-article p,
  .legal-article li {
    font-size: 16px;
  }
}

@media (max-width: 430px) {
  .nav-links {
    gap: 10px;
  }

  .nav-links a {
    font-size: 12px;
  }

  .brand span {
    max-width: 112px;
  }

  .hero-visual {
    min-height: 420px;
  }

  .phone-frame-main {
    width: min(78vw, 288px);
  }

  .phone-frame-secondary {
    display: none;
  }

  .screen-row {
    width: min(100% - 48px, 330px);
  }

  .showcase-phone {
    width: min(100% - 48px, 320px);
  }

  .capability-list span {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
