:root {
  --bg: #f4f8ff;
  --ink: #102745;
  --ink-soft: #3b5778;
  --muted: #66809f;
  --accent: #1f6fe5;
  --accent-strong: #0f55c6;
  --accent-soft: rgba(31, 111, 229, 0.12);
  --warm: #ff8f1f;
  --warm-soft: rgba(255, 143, 31, 0.14);
  --shadow: 0 28px 68px rgba(20, 48, 86, 0.14);
  --shadow-soft: 0 18px 38px rgba(20, 48, 86, 0.1);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1180px;
  --nav-height: 92px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 8% 8%, rgba(31, 111, 229, 0.14), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(255, 143, 31, 0.16), transparent 22%),
    linear-gradient(180deg, #f3f7ff 0%, #f9fbff 46%, #fff7ef 100%);
  color: var(--ink);
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

button,
a.button {
  font: inherit;
}

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

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(248, 251, 255, 0.78);
  border-bottom: 1px solid rgba(16, 39, 69, 0.08);
}

.header-row {
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
}

.brand-logo {
  width: 132px;
  max-width: 34vw;
  height: auto;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

.brand-copy strong {
  font-size: 1rem;
  line-height: 1.1;
}

.brand-copy span:last-child {
  color: var(--muted);
  font-size: 0.88rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.site-nav a {
  color: var(--ink-soft);
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent-strong);
}

.nav-cta {
  padding: 0.82rem 1.14rem;
  border-radius: 999px;
  color: white !important;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  box-shadow: var(--shadow-soft);
}

.menu-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: white;
  box-shadow: var(--shadow-soft);
}

.menu-toggle span {
  display: block;
  width: 1.2rem;
  height: 2px;
  margin: 0.28rem auto;
  border-radius: 999px;
  background: var(--ink);
}

.hero-section {
  position: relative;
  padding: 5.3rem 0 3.6rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 2rem;
  align-items: center;
}

.hero-copy h1,
.section-heading h2,
.redirect-card h1 {
  margin: 0.3rem 0 1rem;
  font-family: "Sora", "Segoe UI", sans-serif;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  font-size: clamp(2.7rem, 5.8vw, 5rem);
  line-height: 0.95;
  max-width: 11ch;
}

.hero-text,
.section-heading p:last-child,
.app-card p,
.step-card p,
.signal-metrics span {
  color: var(--ink-soft);
}

.hero-text {
  max-width: 56ch;
  font-size: 1.06rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.35rem;
  color: var(--accent-strong);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.9rem 1.32rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  cursor: pointer;
}

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

.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  box-shadow: var(--shadow-soft);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(16, 39, 69, 0.12);
}

.hero-panel,
.app-card,
.step-card {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(16, 39, 69, 0.08);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 1rem;
  background:
    radial-gradient(circle at top right, rgba(255, 143, 31, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 248, 255, 0.94));
}

.signal-card {
  border-radius: var(--radius-lg);
  padding: 1.3rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(16, 39, 69, 0.08);
}

.app-hero-brand {
  display: grid;
  gap: 1rem;
  justify-items: start;
}

.app-logo {
  width: min(100%, 240px);
}

.signal-metrics,
.apps-grid,
.steps-grid,
.footer-row {
  display: grid;
  gap: 1rem;
}

.signal-metrics {
  margin-top: 1rem;
}

.signal-metrics article,
.app-card,
.step-card {
  padding: 1.1rem;
}

.signal-metrics article {
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(16, 39, 69, 0.08);
  box-shadow: var(--shadow-soft);
}

.signal-metrics strong,
.app-card h3,
.step-card h3 {
  display: block;
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.inline-link {
  display: inline-flex;
  margin-top: 1rem;
  font-weight: 800;
  color: var(--accent-strong);
}

.hero-points {
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.82rem;
}

.hero-points li {
  position: relative;
  padding-left: 1.4rem;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--warm) 100%);
  transform: translateY(-50%);
}

.section {
  padding: 2rem 0 4.6rem;
}

.alt-section {
  background: linear-gradient(180deg, rgba(244, 248, 255, 0.84), rgba(255, 247, 238, 0.56));
  border-top: 1px solid rgba(16, 39, 69, 0.06);
  border-bottom: 1px solid rgba(16, 39, 69, 0.06);
}

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

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.04;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.94fr);
  gap: 2rem;
  align-items: start;
}

.about-copy {
  margin-bottom: 0;
}

.about-list {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.82rem;
}

.about-list li {
  position: relative;
  padding-left: 1.3rem;
  color: var(--ink-soft);
}

.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--warm) 100%);
  transform: translateY(-50%);
}

.about-panel {
  padding: 1rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(16, 39, 69, 0.08);
  background:
    radial-gradient(circle at top right, rgba(31, 111, 229, 0.1), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 255, 0.92));
  box-shadow: var(--shadow);
}

.about-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.about-stat {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(16, 39, 69, 0.08);
  box-shadow: var(--shadow-soft);
}

.about-stat strong {
  display: block;
  margin: 0 0 0.38rem;
  font-size: 1rem;
}

.about-stat span {
  color: var(--ink-soft);
}

.apps-grid,
.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-kicker,
.app-badge,
.step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  margin-bottom: 0.8rem;
  padding: 0 0.72rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 800;
}

.app-badge-muted {
  background: var(--warm-soft);
  color: var(--warm);
}

.app-card {
  background: rgba(255, 255, 255, 0.86);
}

.app-card-live {
  background:
    radial-gradient(circle at top right, rgba(31, 111, 229, 0.12), transparent 28%),
    rgba(255, 255, 255, 0.9);
}

.app-card-top {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.app-card-top-noicon {
  display: block;
}

.app-card-icon {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.app-points,
.modal-list,
.modal-steps {
  margin: 1rem 0 0;
  padding: 0;
}

.app-points,
.modal-list {
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.app-points li,
.modal-list li,
.modal-steps li {
  color: var(--ink-soft);
}

.app-points li,
.modal-list li {
  position: relative;
  padding-left: 1.15rem;
}

.app-points li::before,
.modal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--warm) 100%);
  transform: translateY(-50%);
}

.app-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.app-meta span {
  display: inline-flex;
  align-items: center;
  padding: 0.36rem 0.72rem;
  border-radius: 999px;
  background: rgba(16, 39, 69, 0.06);
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: 2.2rem;
  align-items: start;
}

.contact-copy-block h2 {
  margin: 0.2rem 0 0.9rem;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.contact-intro {
  margin: 0;
  max-width: 34rem;
  color: var(--ink-soft);
}

.contact-note {
  display: inline-flex;
  margin: 1rem 0 0;
  color: var(--accent-strong);
  font-weight: 800;
}

.contact-details {
  border-top: 1px solid rgba(16, 39, 69, 0.1);
  border-bottom: 1px solid rgba(16, 39, 69, 0.1);
}

.contact-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(16, 39, 69, 0.1);
}

.contact-row:last-of-type {
  border-bottom: 0;
}

.contact-label {
  color: var(--muted);
  font-weight: 800;
}

.contact-info {
  display: grid;
  gap: 0.25rem;
}

.contact-value {
  color: var(--ink);
  font-weight: 800;
}

.contact-help {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  padding: 1.25rem 0 0;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  background: rgba(8, 18, 36, 0.58);
  backdrop-filter: blur(8px);
}

.modal-overlay[hidden] {
  display: none;
}

.modal-dialog {
  position: relative;
  width: min(100%, 1040px);
  max-height: min(88vh, 920px);
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(16, 39, 69, 0.08);
  background:
    radial-gradient(circle at top right, rgba(255, 143, 31, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.96));
  box-shadow: 0 34px 80px rgba(12, 30, 57, 0.22);
}

.modal-dialog::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.modal-close {
  position: sticky;
  top: 0;
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border: 0;
  border-radius: 999px;
  background: rgba(16, 39, 69, 0.08);
  color: var(--ink);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-header {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 1.4rem;
  align-items: start;
}

.modal-header h2 {
  margin: 0.2rem 0 0.85rem;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.modal-lead {
  margin: 0;
  max-width: 58ch;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.modal-summary {
  padding: 1.15rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(16, 39, 69, 0.08);
  box-shadow: var(--shadow-soft);
}

.modal-actions {
  margin-top: 1.1rem;
}

.modal-content {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.4rem;
}

.modal-section {
  padding: 1.15rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(16, 39, 69, 0.08);
}

.modal-section h3 {
  margin: 0 0 0.85rem;
  font-size: 1.12rem;
}

.modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.modal-feature {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(244, 248, 255, 0.88);
  border: 1px solid rgba(16, 39, 69, 0.08);
}

.modal-feature h4 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}

.modal-feature p,
.modal-section p {
  margin: 0;
  color: var(--ink-soft);
}

.modal-steps {
  padding-left: 1.25rem;
  display: grid;
  gap: 0.75rem;
}

.modal-section-support p + p {
  margin-top: 0.55rem;
}

.modal-section-support a {
  font-weight: 800;
}

body.modal-open {
  overflow: hidden;
}

.site-footer {
  padding: 1.3rem 0 2rem;
  border-top: 1px solid rgba(16, 39, 69, 0.08);
}

.footer-row {
  grid-template-columns: 1.2fr auto auto;
  align-items: center;
}

.footer-row p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.footer-note {
  text-align: right;
}

.redirect-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
}

.redirect-shell {
  width: min(calc(100% - 2rem), 760px);
}

.redirect-card {
  padding: 2rem;
  text-align: center;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(16, 39, 69, 0.08);
  box-shadow: var(--shadow);
}

.redirect-card p {
  color: var(--ink-soft);
}

.hero-glow {
  position: absolute;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.62;
  pointer-events: none;
}

.hero-glow-left {
  left: -8rem;
  top: 1.5rem;
  background: rgba(31, 111, 229, 0.16);
}

.hero-glow-right {
  right: -8rem;
  top: -3rem;
  background: rgba(255, 143, 31, 0.18);
}

@media (max-width: 1060px) {
  .hero-grid,
  .about-stat-grid,
  .apps-grid,
  .steps-grid,
  .modal-grid,
  .footer-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-row > :first-child {
    grid-column: 1 / -1;
  }

  .modal-header {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  :root {
    --nav-height: 82px;
  }

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

  .site-nav {
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(16, 39, 69, 0.08);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .hero-section {
    padding-top: 4rem;
  }

  .hero-grid,
  .about-grid,
  .about-stat-grid,
  .apps-grid,
  .steps-grid,
  .modal-grid,
  .footer-row,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy h1,
  .section-heading h2 {
    max-width: none;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .modal-overlay {
    padding: 0.75rem;
  }

  .modal-dialog {
    padding: 1rem;
    max-height: 92vh;
  }
}

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

  .hero-copy h1 {
    font-size: clamp(2.2rem, 12vw, 3.5rem);
  }

  .brand-copy span:last-child {
    display: none;
  }

  .brand-logo {
    width: 112px;
  }

  .hero-panel,
  .app-card,
  .step-card,
  .redirect-card,
  .modal-section,
  .modal-summary,
  .modal-dialog {
    padding: 1rem;
  }

  .app-card-top {
    flex-direction: column;
  }

  .button,
  .download-actions .button,
  .hero-actions .button,
  .modal-actions .button,
  .contact-actions .button {
    width: 100%;
  }
}
