:root {
  --bg: #f3f8ff;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --text: #142033;
  --muted: #5d6d86;
  --border: rgba(96, 126, 168, 0.18);
  --primary: #2f78ef;
  --primary-deep: #1652b8;
  --accent: #6fdcff;
  --slate: #6a7a97;
  --success: #119669;
  --warning: #c98512;
  --shadow: 0 24px 60px rgba(19, 44, 87, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(111, 220, 255, 0.28), transparent 28%),
    radial-gradient(circle at top right, rgba(47, 120, 239, 0.18), transparent 24%),
    linear-gradient(180deg, #f7fbff 0%, #edf4ff 52%, #f8fbff 100%);
  line-height: 1.65;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.site-shell {
  overflow: clip;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(247, 251, 255, 0.82);
  border-bottom: 1px solid rgba(96, 126, 168, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 88px;
}

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

.brand-mark {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(47, 120, 239, 0.18);
  background: #fff;
}

.brand-copy {
  min-width: 0;
}

.brand-name {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-tagline {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

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

.site-nav a {
  padding: 12px 14px;
  border-radius: 999px;
  color: var(--muted);
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(47, 120, 239, 0.08);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 999px;
}

.button,
.download-chip,
.store-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.button:hover,
.download-chip:hover,
.store-link:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  box-shadow: 0 14px 34px rgba(47, 120, 239, 0.28);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(47, 120, 239, 0.16);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(47, 120, 239, 0.14);
  color: var(--primary-deep);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.section {
  padding: 88px 0;
}

.section-tight {
  padding: 64px 0;
}

.section-header {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-header h1,
.section-header h2,
.section-header h3 {
  margin: 14px 0 0;
  font-family: "Space Grotesk", "Segoe UI", Helvetica, Arial, sans-serif;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.section-header h1 {
  font-size: clamp(3.1rem, 6vw, 5.3rem);
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.section-header p {
  margin: 18px 0 0;
  font-size: 1.08rem;
  color: var(--muted);
}

.hero-grid,
.two-column,
.contact-grid,
.download-grid {
  display: grid;
  gap: 28px;
  align-items: stretch;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.95fr);
}

.two-column,
.contact-grid,
.download-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.pad-lg {
  padding: 32px;
}

.pad-xl {
  padding: 40px;
}

.hero-copy {
  padding: 24px 0;
}

.hero-copy p {
  max-width: 670px;
  font-size: 1.08rem;
}

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

.stat-row,
.info-grid,
.three-grid,
.mini-grid,
.policy-grid,
.footer-links {
  display: grid;
  gap: 18px;
}

.stat-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

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

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

.mini-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.policy-grid {
  grid-template-columns: 280px minmax(0, 1fr);
}

.metric,
.info-card,
.stack-card,
.timeline-card,
.legal-card,
.contact-card,
.download-card,
.system-card {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(96, 126, 168, 0.16);
}

.metric strong,
.info-card strong,
.stack-card strong,
.timeline-card strong,
.system-card strong {
  display: block;
  margin-top: 10px;
  font-size: 1.12rem;
  font-weight: 800;
}

.metric span,
.info-card p,
.stack-card p,
.timeline-card p,
.system-card p,
.legal-card p,
.contact-card p,
.download-card p {
  color: var(--muted);
}

.metric .value {
  margin: 6px 0 0;
  color: var(--text);
  font-family: "Space Grotesk", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
}

.label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(47, 120, 239, 0.1);
  color: var(--primary-deep);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-panel {
  position: relative;
  padding: 28px;
  min-height: 100%;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  pointer-events: none;
}

.hero-image {
  height: 250px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 24px 48px rgba(19, 44, 87, 0.2);
}

.terminal-shell {
  margin-top: 20px;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, #0f1830 0%, #14284d 100%);
  color: #d8e6ff;
  border: 1px solid rgba(111, 220, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.terminal-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.terminal-lines {
  display: grid;
  gap: 12px;
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.9rem;
}

.terminal-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.terminal-line strong {
  color: #fff;
}

.market-board {
  display: grid;
  gap: 18px;
}

.market-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 90px 90px;
  gap: 12px;
  align-items: center;
}

.market-row .spark {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(47, 120, 239, 0.22), rgba(111, 220, 255, 0.72));
}

.positive {
  color: var(--success);
  font-weight: 700;
}

.negative {
  color: #c14c4c;
  font-weight: 700;
}

.chart-box {
  margin-top: 18px;
  min-height: 200px;
  padding: 18px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(232, 242, 255, 0.8)),
    linear-gradient(90deg, rgba(47, 120, 239, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(47, 120, 239, 0.08) 1px, transparent 1px);
  background-size: auto, 42px 42px, 42px 42px;
  border: 1px solid rgba(47, 120, 239, 0.16);
}

.chart-path {
  position: relative;
  height: 164px;
  overflow: hidden;
}

.chart-path::before,
.chart-path::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  border-radius: 999px;
}

.chart-path::before {
  bottom: 26px;
  background:
    linear-gradient(90deg, transparent 0%, rgba(47, 120, 239, 0.45) 8%, rgba(111, 220, 255, 0.9) 100%);
  clip-path: polygon(0% 66%, 12% 62%, 24% 49%, 36% 58%, 48% 38%, 60% 44%, 72% 21%, 84% 31%, 100% 8%, 100% 100%, 0% 100%);
}

.chart-path::after {
  bottom: 16px;
  background: linear-gradient(180deg, rgba(47, 120, 239, 0.2), rgba(47, 120, 239, 0));
  clip-path: polygon(0% 66%, 12% 62%, 24% 49%, 36% 58%, 48% 38%, 60% 44%, 72% 21%, 84% 31%, 100% 8%, 100% 100%, 0% 100%);
}

.strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.strip span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(47, 120, 239, 0.14);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
}

.feature-list,
.legal-list,
.requirements-list,
.steps-list,
.support-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.feature-list li,
.legal-list li,
.requirements-list li,
.steps-list li,
.support-list li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(96, 126, 168, 0.14);
}

.feature-list .count,
.steps-list .count,
.support-list .count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(47, 120, 239, 0.18), rgba(111, 220, 255, 0.32));
  color: var(--primary-deep);
  font-weight: 800;
}

.list-title {
  margin: 0 0 4px;
  font-weight: 800;
}

.list-copy {
  margin: 0;
  color: var(--muted);
}

.photo-card {
  overflow: hidden;
  padding: 12px;
}

.photo-card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 22px;
}

.callout {
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(20, 36, 59, 0.96), rgba(29, 69, 132, 0.92));
  color: #edf5ff;
}

.callout p,
.callout li,
.callout .muted-invert {
  color: rgba(237, 245, 255, 0.8);
}

.callout .button-secondary {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.legal-layout {
  display: grid;
  gap: 22px;
}

.legal-card h2,
.legal-card h3,
.contact-card h2,
.download-card h2,
.download-card h3 {
  margin-top: 0;
  font-family: "Space Grotesk", "Segoe UI", Helvetica, Arial, sans-serif;
  letter-spacing: -0.03em;
}

.legal-card h3 {
  margin-bottom: 10px;
}

.legal-card ol {
  margin: 16px 0 0 18px;
  color: var(--muted);
}

.legal-card ol li {
  margin-bottom: 12px;
}

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

.highlight-item {
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(47, 120, 239, 0.08);
  border: 1px solid rgba(47, 120, 239, 0.12);
}

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

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-weight: 700;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 15px 16px;
  border-radius: 16px;
  border: 1px solid rgba(96, 126, 168, 0.22);
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(47, 120, 239, 0.55);
  box-shadow: 0 0 0 4px rgba(47, 120, 239, 0.12);
}

.checkbox-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(47, 120, 239, 0.06);
}

.checkbox-row input {
  margin-top: 4px;
}

.form-message {
  display: none;
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 700;
}

.form-message.is-visible {
  display: block;
}

.form-message.success {
  background: rgba(17, 150, 105, 0.12);
  color: #0d6a4b;
}

.form-message.error {
  background: rgba(193, 76, 76, 0.12);
  color: #8e2f2f;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(17, 150, 105, 0.12);
  color: #0d6a4b;
  font-weight: 700;
}

.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.store-link {
  min-width: 196px;
  justify-content: flex-start;
  padding: 16px 18px;
  border-radius: 20px;
  border-color: rgba(96, 126, 168, 0.18);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.store-link strong {
  display: block;
}

.store-link span {
  color: var(--muted);
  font-size: 0.92rem;
}

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

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.timeline-year {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(47, 120, 239, 0.12);
  color: var(--primary-deep);
  font-family: "Space Grotesk", "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 800;
  text-align: center;
}

.download-steps {
  counter-reset: step;
}

.download-steps li {
  grid-template-columns: 56px minmax(0, 1fr);
}

.download-steps .count {
  width: 56px;
  height: 56px;
  border-radius: 18px;
}

.site-footer {
  padding: 40px 0 54px;
}

.footer-card {
  padding: 28px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(96, 126, 168, 0.14);
}

.footer-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
}

.footer-links a {
  color: var(--muted);
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.muted {
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.mobile-only {
  display: none;
}

.mobile-article {
  width: min(100%, 720px);
  margin: 0 auto;
  padding: 28px 20px 44px;
}

.mobile-brand {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 24px;
}

.mobile-brand h1 {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: clamp(2rem, 8vw, 3rem);
  line-height: 1;
}

.mobile-stack {
  display: grid;
  gap: 18px;
}

@media (max-width: 1024px) {
  .hero-grid,
  .two-column,
  .contact-grid,
  .download-grid,
  .policy-grid,
  .highlight-bar,
  .mini-grid,
  .requirements-grid {
    grid-template-columns: 1fr;
  }

  .three-grid,
  .info-grid,
  .stat-row,
  .form-grid,
  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .section {
    padding: 56px 0;
  }

  .header-inner {
    min-height: 80px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .nav-wrap {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(96, 126, 168, 0.14);
    box-shadow: var(--shadow);
  }

  .nav-wrap.is-open {
    display: flex;
  }

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

  .site-nav a {
    padding: 14px 16px;
    border-radius: 16px;
  }

  .hero-grid,
  .three-grid,
  .info-grid,
  .stat-row,
  .form-grid,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .hero-panel,
  .pad-xl,
  .pad-lg,
  .footer-card,
  .legal-card,
  .contact-card,
  .download-card {
    padding: 22px;
  }

  .footer-top,
  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-tagline {
    display: none;
  }

  .photo-card img {
    min-height: 280px;
  }

  .mobile-only {
    display: block;
  }
}
