:root {
  color-scheme: light;
  --bg: #f3f6fb;
  --panel: #ffffff;
  --ink: #0f172a;
  --muted: #667085;
  --soft: #eef2f7;
  --line: rgba(15, 23, 42, 0.1);
  --blue: #0a8cff;
  --green: #34c759;
  --orange: #ff7a1a;
  --purple: #6b5cff;
  --cyan: #18c7cc;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #080b12;
  --panel: #111827;
  --ink: #f8fafc;
  --muted: #a7b0c0;
  --soft: #1a2230;
  --line: rgba(248, 250, 252, 0.12);
  --shadow: 0 26px 78px rgba(0, 0, 0, 0.44);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 28px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
}

.brand-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(255, 122, 26, 0.22);
}

.brand span {
  display: grid;
  gap: 2px;
}

.brand strong {
  font-size: 18px;
  font-weight: 800;
}

.brand small,
.site-footer,
.lead,
.feature-card p,
.info-card p,
.legal-body p,
.check-list {
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
}

.site-nav a {
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--muted);
  font-weight: 700;
}

.site-nav a.active,
.site-nav a:hover {
  background: var(--soft);
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

select,
.icon-button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
}

select {
  padding: 0 14px;
}

.icon-button {
  min-width: 46px;
  padding: 0 14px;
  cursor: pointer;
}

.hero,
.section,
.page {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.82fr);
  gap: 56px;
  align-items: center;
  min-height: 720px;
  padding: 70px 0 46px;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(46px, 7vw, 88px);
  line-height: 0.96;
  font-weight: 900;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.02;
  font-weight: 900;
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.12;
  font-weight: 900;
}

.lead {
  max-width: 660px;
  margin-bottom: 28px;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.32;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 900;
}

.primary-action {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(10, 140, 255, 0.28);
}

.secondary-action {
  border: 1px solid var(--line);
  background: var(--panel);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--panel);
  color: var(--muted);
  font-weight: 800;
}

.phone-stage {
  position: relative;
  min-height: 720px;
}

.shape-panel {
  position: absolute;
  border-radius: 48px;
}

.shape-blue {
  inset: 120px auto auto 4%;
  width: 76%;
  height: 420px;
  background: var(--purple);
}

.shape-orange {
  inset: 0 0 auto auto;
  width: 56%;
  height: 380px;
  background: var(--orange);
}

.phone-frame {
  position: absolute;
  right: 4%;
  bottom: 0;
  width: min(410px, 82vw);
  padding: 16px;
  border: 10px solid #132033;
  border-radius: 58px;
  background: #132033;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.dynamic-island {
  position: absolute;
  top: 28px;
  left: 50%;
  z-index: 4;
  width: 118px;
  height: 36px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #000000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 42px;
}

.section {
  padding: 64px 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

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

.feature-card,
.info-card,
.legal-body,
.split,
.gallery {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.06);
}

.feature-card {
  padding: 24px;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  border-radius: 18px;
  font-size: 20px;
  font-weight: 900;
}

.accent-blue .feature-icon {
  background: rgba(10, 140, 255, 0.14);
  color: var(--blue);
}

.accent-green .feature-icon {
  background: rgba(52, 199, 89, 0.14);
  color: var(--green);
}

.accent-purple .feature-icon {
  background: rgba(107, 92, 255, 0.14);
  color: var(--purple);
}

.accent-orange .feature-icon {
  background: rgba(255, 122, 26, 0.14);
  color: var(--orange);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.74fr);
  gap: 36px;
  align-items: center;
  padding: 34px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  font-size: 18px;
  font-weight: 800;
}

.check-list li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--green);
}

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

.preview-shot,
.app-shot {
  display: block;
  border-radius: 26px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

.gallery {
  padding: 34px;
}

.screenshots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.page {
  padding: 72px 0;
}

.page-hero.compact {
  max-width: 820px;
  margin-bottom: 34px;
}

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

.info-card {
  padding: 28px;
}

.legal-body {
  max-width: 900px;
  padding: 34px;
}

.legal-body h2 {
  margin-top: 30px;
  font-size: 28px;
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body p {
  font-size: 18px;
  line-height: 1.62;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 30px 0 44px;
  border-top: 1px solid var(--line);
  font-weight: 700;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .site-nav {
    order: 3;
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .phone-stage {
    min-height: 640px;
  }

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

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

@media (max-width: 640px) {
  .site-header,
  .hero,
  .section,
  .page,
  .site-footer {
    width: calc(100% - 28px);
  }

  .site-header {
    padding: 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero {
    padding-top: 42px;
    gap: 30px;
  }

  h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .lead {
    font-size: 20px;
  }

  .phone-stage {
    min-height: 560px;
  }

  .phone-frame {
    right: 50%;
    transform: translateX(50%);
    width: min(350px, 92vw);
  }

  .shape-blue {
    left: 0;
    width: 76%;
    height: 320px;
  }

  .shape-orange {
    width: 54%;
    height: 280px;
  }

  .feature-grid,
  .faq-grid,
  .screenshots,
  .preview-grid {
    grid-template-columns: 1fr;
  }

  .split,
  .gallery,
  .legal-body {
    padding: 22px;
    border-radius: 22px;
  }

  .site-footer {
    flex-direction: column;
  }
}
