:root {
  --blue: #1558ff;
  --blue-deep: #073ed0;
  --green: #28c86a;
  --ink: #151922;
  --muted: #5c6472;
  --soft: #f5f7fb;
  --surface: #ffffff;
  --line: #dfe5ef;
  --shadow: 0 20px 60px rgba(21, 35, 70, 0.14);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  background: #fbfcff;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(90deg, rgba(21, 88, 255, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(21, 88, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
}

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

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

button {
  font: inherit;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 14px 0;
  background: rgba(251, 252, 255, 0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(223, 229, 239, 0.78);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(21, 88, 255, 0.22);
}

.brand-name {
  font-size: 20px;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.site-nav a,
.text-links a,
.footer-links a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 5px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.text-links a:hover,
.text-links a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--blue);
  text-decoration-color: currentColor;
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0 20px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-action {
  color: #ffffff;
  background: var(--ink);
}

.button {
  min-height: 52px;
  padding: 0 26px;
}

.button-primary {
  color: #ffffff;
  background: var(--green);
  box-shadow: 0 16px 36px rgba(40, 200, 106, 0.28);
}

.button-secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.36);
}

.button:hover,
.button:focus-visible,
.header-action:hover,
.header-action:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(21, 35, 70, 0.18);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 86svh;
  padding: 84px 0 52px;
  color: #ffffff;
  background:
    linear-gradient(120deg, rgba(4, 20, 60, 0.88), rgba(21, 88, 255, 0.8)),
    linear-gradient(135deg, #0d4fff, #1c9df4);
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-background img {
  position: absolute;
  right: -110px;
  top: -80px;
  width: 520px;
  opacity: 0.12;
  transform: rotate(-10deg);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 24%;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.16));
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: 48px;
}

.kicker {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .kicker,
.download-panel .kicker {
  color: #dce8ff;
}

.hero-copy h1,
.section-heading h2,
.tour-copy h2,
.privacy-copy h2,
.download-panel h2,
.legal-hero h1 {
  margin: 0;
  font-size: 72px;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 610px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 21px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

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

.phone-mock {
  position: absolute;
  left: 50%;
  top: 48%;
  z-index: 2;
  width: 310px;
  min-height: 590px;
  padding: 22px;
  color: var(--ink);
  background: #ffffff;
  border: 10px solid #050607;
  border-radius: 38px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
  transform: translate(-50%, -50%);
}

.phone-status {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 800;
}

.mock-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 22px;
  padding: 4px;
  border-radius: 18px;
  color: #596071;
  background: #eef0f4;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.mock-tabs span {
  padding: 8px 0;
  border-radius: 14px;
}

.mock-tabs .active {
  color: #ffffff;
  background: #050607;
}

.progress-ring {
  display: grid;
  place-items: center;
  width: 190px;
  aspect-ratio: 1;
  margin: 32px auto 28px;
  border: 12px solid var(--blue);
  border-radius: 50%;
  text-align: center;
}

.progress-ring small,
.progress-ring span,
.mock-stats small {
  display: block;
  color: #8a91a0;
  font-size: 12px;
}

.progress-ring strong {
  display: block;
  margin: 2px 0;
  font-size: 44px;
  line-height: 1;
}

.mock-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: 8px;
  background: #edf0f6;
  box-shadow: 0 16px 28px rgba(20, 30, 60, 0.12);
}

.mock-stats span {
  padding: 18px 8px;
  background: #ffffff;
  text-align: center;
}

.mock-stats strong {
  display: block;
  font-size: 20px;
}

.hero-shot {
  position: absolute;
  z-index: 1;
  width: 210px;
  max-height: 520px;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.hero-shot-one {
  top: 38px;
  left: 0;
  transform: rotate(-8deg);
}

.hero-shot-two {
  right: 4px;
  bottom: 26px;
  transform: rotate(7deg);
}

.metric-band {
  margin-top: -1px;
  padding: 26px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.metric {
  min-height: 112px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.metric strong {
  display: block;
  margin-bottom: 6px;
  font-size: 24px;
}

.metric span {
  color: var(--muted);
  font-weight: 650;
}

.section {
  padding: 88px 0;
}

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

.section-heading h2,
.tour-copy h2,
.privacy-copy h2,
.download-panel h2,
.legal-hero h1 {
  font-size: 48px;
  line-height: 1.05;
}

.section-heading p,
.tour-copy p,
.privacy-copy p,
.download-panel p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.feature-card {
  display: grid;
  align-content: space-between;
  min-height: 600px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(21, 35, 70, 0.08);
}

.feature-card > div {
  padding: 22px;
}

.feature-tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--blue);
  background: #edf3ff;
  font-size: 13px;
  font-weight: 900;
}

.feature-card h3 {
  margin: 0;
  font-size: 25px;
  line-height: 1.12;
}

.feature-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.feature-card img {
  width: 100%;
  max-height: 370px;
  object-fit: contain;
  object-position: center bottom;
  padding: 0 18px 18px;
}

.section-contrast {
  background: #111620;
  color: #ffffff;
}

.tour-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: 56px;
}

.tour-copy .kicker {
  color: #86a8ff;
}

.tour-copy p,
.section-contrast .screen-text p {
  color: #b8c1d0;
}

.screen-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.screen-tab {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid #333c4d;
  border-radius: 999px;
  color: #ffffff;
  cursor: pointer;
  background: transparent;
}

.screen-tab:hover,
.screen-tab:focus-visible,
.screen-tab.is-active {
  border-color: var(--green);
  color: #06150c;
  background: var(--green);
}

.screen-text {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid #333c4d;
}

.screen-text h3 {
  margin: 0;
  font-size: 26px;
}

.screen-stage {
  display: grid;
  place-items: center;
  min-height: 680px;
}

.screen-stage img {
  max-height: 690px;
  width: auto;
  border-radius: 28px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.workflow-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(21, 35, 70, 0.08);
}

.workflow-card span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--blue);
  font-weight: 900;
}

.workflow-card h3 {
  margin: 0 0 10px;
  font-size: 25px;
}

.workflow-card p {
  margin: 0;
  color: var(--muted);
}

.privacy-section {
  background: #ffffff;
  border-block: 1px solid var(--line);
}

.privacy-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  gap: 48px;
  align-items: center;
}

.text-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
  color: var(--blue);
  font-weight: 900;
}

.privacy-points {
  display: grid;
  gap: 12px;
}

.privacy-points div {
  display: grid;
  gap: 6px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.privacy-points strong {
  font-size: 21px;
}

.privacy-points span {
  color: var(--muted);
}

.download-section {
  background:
    linear-gradient(120deg, rgba(21, 88, 255, 0.88), rgba(40, 200, 106, 0.72)),
    #1558ff;
}

.download-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(9, 20, 45, 0.28);
}

.download-panel img {
  border-radius: 18px;
}

.download-panel p {
  color: rgba(255, 255, 255, 0.86);
}

.site-footer {
  padding: 26px 0;
  background: #ffffff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 15px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner p:first-child {
  color: var(--ink);
  font-weight: 900;
}

.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

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

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

.legal-page {
  background: #fbfcff;
}

.legal-main {
  padding: 72px 0 88px;
}

.legal-hero {
  margin-bottom: 28px;
}

.legal-hero h1 {
  margin-top: 10px;
}

.legal-hero p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
}

.legal-card {
  display: grid;
  gap: 28px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(21, 35, 70, 0.08);
}

.legal-card section + section {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.legal-card h2 {
  margin: 0 0 10px;
  font-size: 26px;
}

.legal-card h3 {
  margin: 22px 0 10px;
  font-size: 18px;
}

.legal-card p {
  margin: 0;
  color: var(--muted);
}

.legal-card p + p {
  margin-top: 12px;
}

.legal-card ul {
  margin: 12px 0 0;
  padding-left: 22px;
  color: var(--muted);
}

.legal-card li + li {
  margin-top: 7px;
}

.legal-email {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-link {
  color: var(--blue);
  font-weight: 700;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 1100px) {
  .hero-copy h1 {
    font-size: 60px;
  }

  .hero-inner,
  .tour-layout,
  .privacy-layout {
    grid-template-columns: 1fr;
  }

  .hero-product {
    min-height: 540px;
  }

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

  .metric-grid,
  .workflow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .container {
    width: min(var(--max), calc(100% - 28px));
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .site-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-top: 8px;
  }

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

  .hero-inner {
    gap: 34px;
  }

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

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

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

  .phone-mock {
    width: 278px;
    min-height: 520px;
  }

  .hero-shot {
    width: 160px;
  }

  .hero-shot-one {
    left: -4px;
  }

  .hero-shot-two {
    right: -4px;
  }

  .section {
    padding: 64px 0;
  }

  .section-heading h2,
  .tour-copy h2,
  .privacy-copy h2,
  .download-panel h2,
  .legal-hero h1 {
    font-size: 36px;
  }

  .feature-grid,
  .metric-grid,
  .workflow-grid,
  .download-panel {
    grid-template-columns: 1fr;
  }

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

  .screen-stage {
    min-height: auto;
  }

  .screen-stage img {
    max-height: 620px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .brand-name {
    font-size: 18px;
  }

  .header-action {
    min-height: 40px;
    padding-inline: 14px;
    font-size: 14px;
  }

  .site-nav {
    gap: 18px;
    font-size: 14px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-product {
    min-height: 470px;
  }

  .phone-mock {
    width: 246px;
    min-height: 468px;
    padding: 18px;
    border-width: 8px;
  }

  .progress-ring {
    width: 158px;
    border-width: 10px;
  }

  .progress-ring strong {
    font-size: 35px;
  }

  .mock-stats span {
    padding: 13px 4px;
  }

  .mock-stats strong {
    font-size: 17px;
  }

  .hero-shot {
    display: none;
  }

  .metric,
  .workflow-card,
  .privacy-points div,
  .legal-card,
  .download-panel {
    padding: 20px;
  }
}
