:root {
  --bg: #040507;
  --bg-soft: #0b0d12;
  --panel: rgba(10, 13, 18, 0.88);
  --panel-strong: #0f131a;
  --panel-light: rgba(255, 255, 255, 0.08);
  --ink: #f7f9fc;
  --muted: #a5afbf;
  --line: rgba(255, 255, 255, 0.12);
  --silver: #dce3ef;
  --accent: #77d2ff;
  --accent-strong: #baf0ff;
  --success: #9bf7ce;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: min(1180px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Instrument Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(119, 210, 255, 0.18), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(220, 227, 239, 0.14), transparent 24%),
    linear-gradient(180deg, #030406 0%, #070a10 45%, #030406 100%);
  line-height: 1.6;
}

body.legal-page {
  background:
    radial-gradient(circle at top left, rgba(119, 210, 255, 0.12), transparent 22%),
    linear-gradient(180deg, #06080b 0%, #0b1018 100%);
}

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

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

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

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

.site-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 110px 110px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 85%);
  pointer-events: none;
  opacity: 0.45;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(4, 5, 7, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

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

.brand img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #000;
  padding: 4px;
}

.brand-mark {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-title,
.hero-title,
.section-title,
.legal-title,
.contact-card strong,
.faq-item summary,
.mockup-title,
.step-card strong,
.pillars strong,
.store-label,
.h5-hero h1,
.h5-panel h2 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

.brand-title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.84rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  transition: 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  padding: 72px 0 32px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 28px;
  align-items: stretch;
}

.hero-copy,
.hero-visual,
.section-card,
.quote-card,
.legal-intro,
.legal-main,
.form-shell,
.contact-panel,
.download-hero,
.download-side,
.h5-panel,
.h5-hero {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 44px;
  position: relative;
  overflow: hidden;
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(119, 210, 255, 0.28), transparent 68%);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(119, 210, 255, 0.3);
  background: rgba(119, 210, 255, 0.08);
  color: var(--accent-strong);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-title {
  margin: 18px 0 16px;
  font-size: clamp(2.7rem, 6vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero-title .muted-cut {
  color: var(--silver);
  opacity: 0.86;
}

.lead {
  font-size: 1.08rem;
  color: var(--silver);
  max-width: 42rem;
}

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

.button,
.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: 180ms ease;
}

.button-primary,
.store-ios {
  background: linear-gradient(135deg, var(--accent) 0%, #f4fbff 100%);
  color: #041018;
}

.button-secondary,
.store-android {
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.15);
}

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

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.mini-stats div {
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mini-stats strong {
  display: block;
  font-size: 1.6rem;
  margin-bottom: 4px;
}

.mini-stats span,
.section-text,
.meta-line,
.stat-label,
.faq-item p,
.store-subtext,
.contact-note,
.legal-list li,
.legal-meta {
  color: var(--muted);
}

.hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 640px;
}

.hero-photo {
  position: absolute;
  inset: 18px 18px auto;
  height: 47%;
  border-radius: 26px;
  object-fit: cover;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.38);
}

.hero-mockup {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 24px;
  padding: 24px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(7, 12, 18, 0.95), rgba(9, 15, 20, 0.96)),
    linear-gradient(135deg, rgba(119, 210, 255, 0.12), transparent 60%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mockup-head,
.price-row,
.signal-grid,
.store-badges,
.contact-grid,
.download-grid,
.legal-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.mockup-head {
  margin-bottom: 22px;
}

.mockup-title {
  font-size: 1rem;
  font-weight: 700;
}

.status-pill,
.signal-pill,
.tag,
.legal-chip,
.capsule {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.84rem;
}

.status-pill::before,
.signal-pill::before,
.capsule::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}

.chart-area {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 16px;
}

.candles {
  min-height: 198px;
  border-radius: 22px;
  padding: 20px 18px 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: auto, 52px 100%, 100% 44px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.bar {
  flex: 1;
  min-width: 8px;
  border-radius: 999px 999px 8px 8px;
  background: linear-gradient(180deg, rgba(119, 210, 255, 0.92), rgba(119, 210, 255, 0.25));
}

.bar.down {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.22));
}

.signal-panel {
  display: grid;
  gap: 12px;
}

.signal-card,
.metric-card,
.scenario-card,
.step-card,
.faq-item,
.compat-card,
.update-card,
.legal-box,
.contact-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.signal-card strong,
.metric-card strong,
.compat-card strong {
  display: block;
  font-size: 1.35rem;
}

.signal-card span,
.metric-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: 42px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.section-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.section-card {
  padding: 28px;
}

.mosaic-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
}

.feature-stack,
.signal-grid,
.steps-grid,
.pillars,
.stats-grid,
.legal-grid,
.download-panels {
  display: grid;
  gap: 18px;
}

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

.feature-card-large {
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
}

.feature-card-large::after {
  content: "";
  position: absolute;
  inset: auto -40px -70px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(119, 210, 255, 0.25), transparent 68%);
}

.feature-card-large strong,
.feature-tile strong,
.scenario-card strong,
.quote-card strong,
.legal-box strong,
.contact-card strong,
.update-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.12rem;
}

.feature-tile {
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-tile::before,
.step-card::before,
.legal-box::before,
.contact-card::before {
  content: attr(data-badge);
  display: inline-flex;
  min-width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(119, 210, 255, 0.22), rgba(255, 255, 255, 0.18));
  color: var(--accent-strong);
  font-weight: 700;
}

.feature-photo {
  height: 280px;
  object-fit: cover;
  border-radius: 24px;
  margin-bottom: 18px;
}

.glow-board {
  min-height: 280px;
  margin-bottom: 18px;
  padding: 22px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(119, 210, 255, 0.22), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 14px;
}

.glow-board .price-row {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

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

.step-card {
  position: relative;
  min-height: 220px;
}

.step-number {
  display: block;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pillars {
  grid-template-columns: 1fr 1fr;
}

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

.metric-card {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.scenario-band {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 18px;
}

.scenario-card {
  min-height: 100%;
}

.scenario-list,
.legal-list,
.store-list,
.h5-list {
  margin: 0;
  padding-left: 18px;
}

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

.quote-card {
  padding: 24px;
  min-height: 230px;
}

.quote-card p {
  font-size: 1.02rem;
  color: var(--silver);
}

.quote-card span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.faq-grid {
  display: grid;
  gap: 12px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-size: 1.02rem;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item[open] {
  background: rgba(255, 255, 255, 0.07);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(119, 210, 255, 0.18), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.page-hero {
  padding: 64px 0 22px;
}

.page-hero-grid,
.contact-layout,
.download-layout,
.legal-layout {
  display: grid;
  gap: 22px;
}

.page-hero-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.page-copy {
  padding: 34px;
}

.page-copy h1,
.download-copy h1,
.h5-hero h1,
.legal-intro h1 {
  margin: 0 0 16px;
  font-size: clamp(2.5rem, 5.2vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

.page-copy p,
.download-copy p,
.legal-intro p {
  color: var(--silver);
}

.page-photo {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border-radius: var(--radius-xl);
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}

.about-detail {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
}

.pillars article,
.legal-box,
.compat-card {
  min-height: 100%;
}

.capsule-row,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-layout {
  grid-template-columns: 1.08fr 0.92fr;
  align-items: start;
}

.form-shell,
.contact-panel,
.download-hero,
.download-side,
.legal-intro,
.legal-main {
  padding: 28px;
}

.form-shell form {
  display: grid;
  gap: 16px;
}

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

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

.form-field label {
  font-size: 0.92rem;
  color: var(--silver);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  padding: 15px 16px;
}

.form-field textarea {
  min-height: 168px;
  resize: vertical;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
  font-size: 0.94rem;
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.form-feedback {
  min-height: 24px;
  font-size: 0.94rem;
  color: var(--accent-strong);
}

.contact-panel {
  display: grid;
  gap: 16px;
}

.contact-grid {
  align-items: stretch;
}

.contact-card {
  flex: 1;
}

.contact-card p,
.contact-card a,
.contact-card span {
  color: var(--muted);
}

.download-layout {
  grid-template-columns: 1.08fr 0.92fr;
  align-items: start;
}

.download-hero {
  min-height: 100%;
}

.download-copy {
  margin-bottom: 26px;
}

.device-photo {
  height: 320px;
  object-fit: cover;
  border-radius: 24px;
  margin-top: 22px;
}

.store-badges {
  flex-wrap: wrap;
}

.store-button {
  gap: 12px;
  min-width: 210px;
  justify-content: flex-start;
}

.store-button small {
  display: block;
  opacity: 0.75;
}

.store-label {
  font-size: 1rem;
}

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

.store-list li,
.legal-list li,
.scenario-list li,
.h5-list li {
  margin-bottom: 8px;
}

.legal-layout {
  grid-template-columns: 0.78fr 1.22fr;
  align-items: start;
}

.legal-sticky {
  position: sticky;
  top: 102px;
}

.legal-title {
  margin-top: 0;
  font-size: 1.2rem;
}

.legal-meta-row,
.legal-sections {
  display: grid;
  gap: 16px;
}

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

.legal-main section + section {
  margin-top: 18px;
}

.legal-main h2 {
  margin: 0 0 10px;
  font-size: 1.24rem;
}

.legal-main p {
  margin: 0 0 12px;
  color: var(--silver);
}

.site-footer {
  padding: 42px 0 52px;
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
}

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

.h5-body {
  background:
    radial-gradient(circle at top, rgba(119, 210, 255, 0.14), transparent 32%),
    linear-gradient(180deg, #020306 0%, #0a0d13 100%);
}

.h5-wrap {
  width: min(680px, calc(100vw - 24px));
  margin: 0 auto;
  padding: 18px 0 32px;
}

.h5-hero,
.h5-panel {
  padding: 22px;
}

.h5-hero {
  margin-bottom: 16px;
}

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

.h5-brand img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  padding: 4px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.h5-brand strong {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1rem;
}

.h5-brand span,
.h5-panel p,
.h5-meta {
  color: var(--muted);
}

.h5-photo {
  width: 100%;
  height: 220px;
  border-radius: 22px;
  object-fit: cover;
  margin-top: 20px;
}

.h5-panel + .h5-panel {
  margin-top: 14px;
}

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

.h5-stats div {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.h5-stats strong {
  display: block;
  font-size: 1.4rem;
}

.hidden {
  display: none;
}

@media (max-width: 1080px) {
  .hero-grid,
  .page-hero-grid,
  .contact-layout,
  .download-layout,
  .legal-layout,
  .mosaic-grid,
  .scenario-band,
  .about-detail {
    grid-template-columns: 1fr;
  }

  .legal-sticky {
    position: static;
  }

  .steps-grid,
  .quotes,
  .stats-grid,
  .download-panels,
  .legal-grid,
  .pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  .hero,
  .page-hero,
  .section {
    padding: 24px 0;
  }

  .nav-row,
  .footer-shell,
  .cta-band,
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-copy,
  .hero-mockup,
  .page-copy,
  .section-card,
  .form-shell,
  .contact-panel,
  .download-hero,
  .download-side,
  .legal-intro,
  .legal-main {
    padding: 22px;
  }

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

  .hero-photo {
    height: 42%;
  }

  .chart-area,
  .feature-stack,
  .steps-grid,
  .quotes,
  .stats-grid,
  .download-panels,
  .legal-grid,
  .pillars,
  .field-grid,
  .h5-stats {
    grid-template-columns: 1fr;
  }

  .mini-stats {
    grid-template-columns: 1fr;
  }

  .brand {
    width: 100%;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .store-button {
    min-width: 100%;
  }
}
