:root {
  --bg: #f4f7fb;
  --panel: rgba(255, 255, 255, 0.78);
  --panel-strong: #ffffff;
  --ink: #0b1328;
  --muted: #5f6f87;
  --line: rgba(11, 19, 40, 0.08);
  --line-strong: rgba(11, 19, 40, 0.14);
  --brand: #1e7cff;
  --brand-deep: #0b57d0;
  --accent: #f0b53a;
  --shadow: 0 20px 60px rgba(12, 21, 43, 0.08);
  --shadow-soft: 0 12px 30px rgba(12, 21, 43, 0.06);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --content: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: 'Manrope', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(30, 124, 255, 0.14), transparent 34%),
    radial-gradient(circle at top right, rgba(240, 181, 58, 0.12), transparent 26%),
    linear-gradient(180deg, #eef3fa 0%, #f8fbff 36%, #f3f6fb 100%);
  color: var(--ink);
}

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

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

button,
a.button {
  font: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

.site-shell {
  position: relative;
  overflow: clip;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  width: var(--content);
  margin: 18px auto 0;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.topbar--scrolled {
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 40px rgba(12, 21, 43, 0.1);
}

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

.brand__logo {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(30, 124, 255, 0.22);
}

.brand__wordmark {
  font-family: 'Sora', sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.desktop-nav,
.topbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link,
.mobile-link {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 999px;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-link:hover,
.mobile-link:hover,
.nav-link.is-active,
.mobile-link.is-active {
  color: var(--ink);
  background: rgba(11, 19, 40, 0.06);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 800;
  transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease, color 220ms ease;
}

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

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  box-shadow: 0 14px 30px rgba(30, 124, 255, 0.3);
}

.button--ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
}

.desktop-only {
  display: inline-flex;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
}

.mobile-panel {
  width: var(--content);
  margin: 14px auto 0;
  padding: 14px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.mobile-panel[hidden] {
  display: none;
}

.mobile-link {
  width: 100%;
  text-align: left;
  display: block;
}

.mobile-panel__cta {
  width: 100%;
  margin-top: 12px;
}

main,
.footer {
  width: var(--content);
  margin-inline: auto;
}

.page {
  display: none;
}

.page--active {
  display: block;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  align-items: center;
  gap: 52px;
  padding: 86px 0 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--brand-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), #77afff);
  box-shadow: 0 0 0 6px rgba(30, 124, 255, 0.08);
}

.hero h1,
.section-heading h2,
.workflow h2,
.cta h2,
.legal-page h1 {
  margin: 0;
  font-family: 'Sora', sans-serif;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.hero h1 {
  font-size: clamp(3.2rem, 7vw, 6.3rem);
  max-width: 12ch;
}

.hero__lede,
.section-heading p,
.workflow__panel > p,
.cta p,
.legal-block p,
.quote-card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero__lede {
  font-size: 1.08rem;
  max-width: 59ch;
  margin: 24px 0 0;
}

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

.hero__actions--center {
  justify-content: center;
}

.hero__facts {
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
  display: grid;
  gap: 14px;
}

.hero__facts li,
.stats-band article,
.feature-card,
.workflow__panel,
.quote-card,
.legal-block,
.cta__card,
.showcase-card {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
}

.hero__facts li {
  padding: 18px 20px;
  border-radius: var(--radius-md);
}

.hero__facts strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}

.hero__facts span {
  color: var(--muted);
  font-size: 0.95rem;
}

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

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.55;
}

.hero-glow--one {
  inset: 80px auto auto 20px;
  width: 210px;
  height: 210px;
  background: rgba(30, 124, 255, 0.28);
}

.hero-glow--two {
  inset: auto 10px 110px auto;
  width: 260px;
  height: 260px;
  background: rgba(240, 181, 58, 0.18);
}

.phone-stack {
  position: relative;
  height: 100%;
}

.phone-frame {
  position: absolute;
  overflow: hidden;
  border-radius: 42px;
  background: #0e1529;
  border: 10px solid #0e1529;
  box-shadow: 0 32px 80px rgba(8, 16, 32, 0.18);
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 20px;
  background: rgba(8, 16, 32, 0.9);
  border-radius: 999px;
  z-index: 2;
}

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

.phone-frame--main {
  right: 38px;
  top: 18px;
  width: 290px;
  height: 604px;
  transform: rotate(4deg);
  z-index: 3;
}

.phone-frame--left {
  left: 10px;
  top: 114px;
  width: 220px;
  height: 462px;
  transform: rotate(-8deg);
  z-index: 1;
}

.phone-frame--right {
  right: 0;
  bottom: 8px;
  width: 224px;
  height: 468px;
  transform: rotate(8deg);
  z-index: 2;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 80px;
}

.stats-band article,
.feature-card,
.quote-card {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.stats-band span,
.showcase-card__copy .eyebrow,
.feature-card h3 + p,
.workflow-list span,
.legal-page__meta,
.footer__tag,
.footer__meta,
.quote-card__label {
  color: var(--muted);
}

.stats-band strong {
  display: block;
  margin: 8px 0;
  font-size: 1.35rem;
  font-weight: 800;
}

.stats-band p,
.feature-card p,
.workflow-list span {
  margin: 0;
  line-height: 1.65;
}

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

.section-heading h2,
.workflow h2,
.cta h2 {
  font-size: clamp(2.1rem, 4vw, 4rem);
}

.section-heading p {
  margin: 18px 0 0;
  font-size: 1rem;
}

.showcase,
.feature-rail,
.workflow,
.cta {
  margin: 0 0 96px;
}

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

.showcase-card {
  padding: 22px;
  border-radius: calc(var(--radius-xl) + 2px);
}

.showcase-card:nth-child(1) {
  grid-column: span 7;
}

.showcase-card:nth-child(2) {
  grid-column: span 5;
}

.showcase-card--feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.8fr);
  align-items: center;
  gap: 26px;
}

.showcase-card__copy h3,
.feature-card h3,
.legal-block h2 {
  margin: 10px 0 10px;
  font-size: 1.55rem;
  line-height: 1.15;
}

.showcase-card__copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.device-card {
  margin-top: 22px;
  padding: 12px;
  border-radius: 30px;
  background: rgba(10, 16, 32, 0.04);
  border: 1px solid rgba(10, 16, 32, 0.05);
}

.device-card img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 16px 34px rgba(7, 15, 32, 0.1);
}

.device-card--short img {
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
}

.device-card--feature {
  margin-top: 0;
}

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

.feature-card {
  border-radius: var(--radius-lg);
}

.workflow {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 320px;
  gap: 20px;
  align-items: start;
}

.workflow__panel,
.cta__card,
.legal-page {
  padding: 34px;
  border-radius: var(--radius-xl);
}

.workflow-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.workflow-list li {
  display: grid;
  gap: 6px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.workflow-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.workflow-list strong {
  font-size: 1.02rem;
}

.quote-card__label {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cta__card {
  text-align: center;
  background:
    radial-gradient(circle at top, rgba(30, 124, 255, 0.14), transparent 40%),
    var(--panel);
}

.legal-page {
  max-width: 860px;
  margin: 88px auto 96px;
}

.legal-page h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.legal-page__meta {
  margin: 14px 0 0;
  font-size: 0.95rem;
}

.legal-block {
  margin-top: 22px;
  padding: 26px;
  border-radius: var(--radius-lg);
}

.legal-block h2 {
  font-size: 1.2rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 0 0 44px;
}

.brand--footer {
  margin-bottom: 12px;
}

.footer__tag,
.footer__meta {
  max-width: 380px;
  line-height: 1.7;
}

.footer__meta {
  text-align: right;
}

.footer__meta a {
  color: var(--brand-deep);
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(0.18, 0.89, 0.32, 1.15);
}

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

.reveal--delay-1 {
  transition-delay: 90ms;
}

.reveal--delay-2 {
  transition-delay: 180ms;
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero__visual {
    min-height: 620px;
  }

  .stats-band,
  .feature-grid,
  .workflow,
  .showcase-card--feature {
    grid-template-columns: 1fr;
  }

  .showcase-card:nth-child(1),
  .showcase-card:nth-child(2),
  .showcase-card--feature {
    grid-column: 1 / -1;
  }

  .footer {
    flex-direction: column;
  }

  .footer__meta {
    text-align: left;
  }
}

@media (max-width: 820px) {
  :root {
    --content: min(100vw - 28px, 100vw - 28px);
  }

  .desktop-nav,
  .desktop-only {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    padding-top: 54px;
  }

  .hero__visual {
    min-height: 520px;
  }

  .phone-frame--main {
    right: 24px;
    width: 244px;
    height: 510px;
  }

  .phone-frame--left {
    left: 0;
    top: 120px;
    width: 180px;
    height: 376px;
  }

  .phone-frame--right {
    width: 178px;
    height: 374px;
  }

  .showcase-grid,
  .feature-grid,
  .stats-band {
    grid-template-columns: 1fr;
  }

  .workflow__panel,
  .cta__card,
  .legal-page,
  .feature-card,
  .stats-band article,
  .quote-card,
  .showcase-card,
  .legal-block {
    padding: 24px;
  }
}

@media (max-width: 560px) {
  .topbar {
    margin-top: 10px;
    padding: 12px 14px;
  }

  .brand__logo {
    width: 38px;
    height: 38px;
  }

  .brand__wordmark {
    font-size: 1rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .hero__visual {
    min-height: 460px;
  }

  .phone-frame--main {
    right: 8px;
    width: 206px;
    height: 432px;
  }

  .phone-frame--left {
    width: 150px;
    height: 312px;
  }

  .phone-frame--right {
    width: 148px;
    height: 310px;
  }

  .workflow-list strong {
    font-size: 0.98rem;
  }
}
