:root {
  color-scheme: light dark;
  --bg: #fbfbfd;
  --text: #111114;
  --muted: #5f6368;
  --line: rgba(17, 17, 20, 0.12);
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --accent: #1d9e75;
  --accent-soft: rgba(29, 158, 117, 0.13);
  --coral: #e85d24;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.08);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #050506;
    --text: #f6f6f7;
    --muted: #a7a7ad;
    --line: rgba(255, 255, 255, 0.14);
    --surface: rgba(28, 28, 30, 0.72);
    --surface-strong: rgba(28, 28, 30, 0.92);
    --accent-soft: rgba(29, 158, 117, 0.18);
    --shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% -10%, rgba(29, 158, 117, 0.16), transparent 34rem),
    radial-gradient(circle at 92% 0%, rgba(232, 93, 36, 0.10), transparent 30rem),
    var(--bg);
  color: var(--text);
  font: 17px/1.58 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

a {
  color: inherit;
  text-decoration-color: color-mix(in srgb, var(--accent), transparent 55%);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-strong), transparent 8%);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0;
}

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

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent), #ffffff 18%));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.hero,
.content,
.footer {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  padding: 72px 0 32px;
}

.landing-page {
  overflow-x: hidden;
}

.landing-page .footer {
  width: min(1120px, calc(100% - 32px));
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(330px, 1.04fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100svh - 66px);
  margin: 0 auto;
  padding: clamp(42px, 7vw, 88px) 0 clamp(28px, 5vw, 64px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-subtitle {
  max-width: 640px;
  margin: 0;
  color: color-mix(in srgb, var(--text), var(--muted) 32%);
  font-size: clamp(1.12rem, 2vw, 1.32rem);
  line-height: 1.55;
}

.download-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
}

.app-store-link {
  display: inline-flex;
  align-items: center;
  min-height: 60px;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 180ms ease, filter 180ms ease;
}

.app-store-link:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.app-store-link img {
  width: 180px;
  height: auto;
}

.app-store-link-large img {
  width: 210px;
}

.availability {
  color: var(--muted);
  font-size: 0.96rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface), transparent 16%);
  color: var(--muted);
  font-size: 0.92rem;
}

.phone-showcase {
  position: relative;
  min-height: clamp(520px, 66vw, 730px);
  isolation: isolate;
}

.phone-showcase::before {
  content: "";
  position: absolute;
  inset: 14% 0 8% 8%;
  z-index: -1;
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 28%, rgba(29, 158, 117, 0.34), transparent 34%),
    radial-gradient(circle at 72% 54%, rgba(232, 93, 36, 0.18), transparent 38%);
  filter: blur(34px);
  opacity: 0.86;
}

.phone-frame {
  position: absolute;
  width: min(292px, 42vw);
  aspect-ratio: 1206 / 2622;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 38px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.08)),
    #101012;
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.phone-frame img {
  width: 100%;
  height: 100%;
  border-radius: 29px;
  object-fit: cover;
  background: #111;
}

.phone-frame-front {
  right: 31%;
  top: 2%;
  z-index: 2;
  transform: rotate(-5deg);
}

.phone-frame-back {
  right: 2%;
  top: 17%;
  z-index: 1;
  transform: rotate(6deg);
}

.feature-band,
.download-band {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.feature-band {
  padding: clamp(44px, 7vw, 84px) 0;
}

.section-heading {
  max-width: 760px;
}

.section-heading h2,
.download-band h2 {
  margin-top: 18px;
}

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

.feature-item {
  min-height: 240px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.feature-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.feature-item h3 {
  margin-top: 22px;
}

.download-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 64px;
  padding: clamp(26px, 5vw, 42px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(135deg, var(--surface-strong), color-mix(in srgb, var(--surface), transparent 18%));
  box-shadow: var(--shadow);
}

.download-band p {
  max-width: 560px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  margin: 18px 0 14px;
  font-size: clamp(2.5rem, 6vw, 4.6rem);
}

h2 {
  margin: 44px 0 14px;
  padding-top: 12px;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

h3 {
  margin: 28px 0 10px;
  font-size: 1.24rem;
}

p,
li {
  color: var(--muted);
}

.lead {
  max-width: 760px;
  color: color-mix(in srgb, var(--text), var(--muted) 34%);
  font-size: clamp(1.08rem, 2vw, 1.26rem);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--surface);
}

.panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.content {
  padding-bottom: 56px;
}

.doc {
  padding: clamp(22px, 4vw, 44px);
}

.language-block + .language-block {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.toc {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin: 28px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface), transparent 12%);
}

.toc a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
}

.notice {
  margin: 24px 0;
  padding: 16px 18px;
  border: 1px solid color-mix(in srgb, var(--coral), transparent 62%);
  border-radius: 18px;
  background: color-mix(in srgb, var(--coral), transparent 91%);
}

.notice strong {
  color: var(--text);
}

ul {
  padding-left: 1.25rem;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 36px 0;
}

.footer {
  padding: 28px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.94rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}

@media (max-width: 620px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    padding-top: 44px;
  }
}

@media (max-width: 920px) {
  .landing-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .phone-showcase {
    min-height: 560px;
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
  }

  .phone-frame {
    width: min(268px, 48vw);
  }

  .phone-frame-front {
    right: 38%;
  }

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

  .feature-item {
    min-height: 0;
  }

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

@media (max-width: 560px) {
  .landing-hero {
    padding-top: 34px;
  }

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

  .phone-showcase {
    min-height: 470px;
  }

  .phone-frame {
    width: min(222px, 58vw);
    padding: 8px;
    border-radius: 31px;
  }

  .phone-frame img {
    border-radius: 23px;
  }

  .phone-frame-front {
    right: 34%;
    top: 0;
  }

  .phone-frame-back {
    right: 0;
    top: 18%;
  }

  .app-store-link img,
  .app-store-link-large img {
    width: 176px;
  }
}
