:root {
  --blue: #007aff;
  --blue-dark: #0457c8;
  --ink: #111827;
  --muted: #667085;
  --soft: #f5f8ff;
  --paper: #ffffff;
  --line: rgba(17, 24, 39, 0.1);
  --gold: #f6bd3b;
  --shadow: 0 26px 80px rgba(0, 56, 140, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: 100%;
  padding: 16px max(24px, calc((100vw - 1160px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(0, 80, 180, 0.22);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  color: rgba(17, 24, 39, 0.72);
  font-size: 14px;
  font-weight: 650;
}

.nav-links a,
.nav-cta,
.button {
  text-decoration: none;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.nav-cta,
.button.primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 12px 30px rgba(0, 122, 255, 0.24);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.92fr);
  align-items: center;
  gap: 72px;
  width: min(1160px, calc(100% - 48px));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: 76px 0 96px;
}

.hero::before {
  position: absolute;
  inset: -74px -12vw auto;
  height: 62%;
  z-index: -1;
  background:
    radial-gradient(circle at 78% 16%, rgba(246, 189, 59, 0.24), transparent 28%),
    linear-gradient(135deg, #eef7ff 0%, #f7fbff 42%, #ffffff 100%);
  content: "";
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
}

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

.hero h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(50px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-text {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.22;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.app-store-link {
  display: inline-flex;
  width: 202px;
}

.app-store-link img {
  width: 100%;
  height: auto;
}

.hero-visual {
  position: relative;
  min-height: 600px;
}

.app-orbit {
  position: absolute;
  top: 20px;
  right: 18px;
  display: grid;
  width: 214px;
  height: 214px;
  place-items: center;
  border-radius: 42px;
  background: linear-gradient(145deg, #063a8b, #007aff);
  box-shadow: var(--shadow);
}

.app-orbit img {
  width: 160px;
  height: 160px;
  border-radius: 34px;
}

.preview-phone {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(390px, 86vw);
  min-height: 560px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 42px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(150deg, rgba(0, 122, 255, 0.34), rgba(246, 189, 59, 0.34)) border-box;
  box-shadow: var(--shadow);
}

.phone-bar {
  width: 82px;
  height: 5px;
  margin: 0 auto 28px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.18);
}

.preview-header {
  display: grid;
  gap: 4px;
}

.preview-header span,
.backup-meter span,
.preview-list span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.preview-header strong {
  font-size: 28px;
}

.backup-meter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding: 20px;
  border-radius: 22px;
  background: var(--soft);
}

.backup-meter strong {
  display: block;
  margin-top: 4px;
  font-size: 23px;
}

.backup-meter p {
  margin: 0;
  color: var(--blue);
  font-size: 32px;
  font-weight: 850;
}

.meter-track {
  height: 10px;
  margin: 18px 4px 28px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5efff;
}

.meter-track span {
  display: block;
  width: 82%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--gold));
}

.preview-list {
  display: grid;
  gap: 12px;
}

.preview-list p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.preview-list strong {
  color: var(--blue-dark);
  font-size: 14px;
}

.section,
.company-section,
.contact-section,
.content-page {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 94px 0;
}

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

.section-heading h2,
.company-section h2,
.contact-section h2,
.page-hero h1 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.04;
  letter-spacing: 0;
}

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

.feature-card,
.steps article,
.policy-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.06);
}

.feature-card {
  min-height: 252px;
  padding: 28px;
}

.feature-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 14px;
  background: var(--soft);
  font-size: 24px;
}

.feature-card h3,
.steps h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.2;
}

.feature-card p,
.steps p,
.company-section p,
.contact-section p,
.policy-panel p,
.policy-panel li {
  color: var(--muted);
}

.steps-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.steps article {
  min-height: 210px;
  padding: 30px;
}

.steps span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-weight: 850;
}

.company-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
  padding: 86px 0;
}

.company-section {
  border-bottom: 1px solid var(--line);
}

.company-section a,
.contact-section a:not(.button),
.site-footer a,
.policy-panel a {
  color: var(--blue-dark);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 42px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.content-page {
  padding: 76px 0 96px;
}

.page-hero {
  max-width: 840px;
  margin-bottom: 38px;
}

.page-hero p:last-child {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
}

.policy-stack {
  display: grid;
  gap: 16px;
}

.policy-panel {
  padding: 30px;
}

.policy-panel h2 {
  margin-bottom: 10px;
  font-size: 25px;
}

.policy-panel p:last-child,
.policy-panel ul:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .hero,
  .company-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 36px;
    padding-top: 48px;
  }

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

  .app-orbit {
    right: 0;
    width: 156px;
    height: 156px;
    border-radius: 32px;
  }

  .app-orbit img {
    width: 116px;
    height: 116px;
    border-radius: 26px;
  }

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

@media (max-width: 560px) {
  .site-header,
  .hero,
  .section,
  .company-section,
  .contact-section,
  .content-page,
  .site-footer {
    width: min(100% - 32px, 1160px);
  }

  .site-header {
    padding-left: 16px;
    padding-right: 16px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-bottom: 58px;
  }

  .hero h1 {
    font-size: 48px;
  }

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

  .preview-phone {
    min-height: 500px;
    padding: 20px;
  }

  .section,
  .company-section,
  .contact-section {
    padding: 62px 0;
  }

  .site-footer {
    display: grid;
  }
}
