:root {
  --bg: #07142f;
  --bg-soft: #0c1f47;
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.16);
  --text: #0f1b33;
  --text-inverse: #f4f8ff;
  --muted: #5f6f8d;
  --muted-inverse: rgba(228, 237, 255, 0.72);
  --line: rgba(13, 39, 85, 0.12);
  --line-strong: rgba(117, 180, 255, 0.22);
  --primary: #12a6ff;
  --primary-strong: #0d7dd8;
  --primary-soft: #dff5ff;
  --cyan: #72e0ff;
  --silver: #c8d4e8;
  --success: #149f75;
  --danger: #d14d5b;
  --shadow: 0 30px 70px rgba(2, 18, 48, 0.18);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --container: min(1160px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(18, 166, 255, 0.2), transparent 32%),
    linear-gradient(180deg, #f5fbff 0%, #edf3fb 42%, #f7faff 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 37, 88, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(10, 37, 88, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 85%);
  z-index: -1;
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

.page-shell {
  padding-bottom: 48px;
}

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

.nav-shell {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 88px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text-inverse);
  min-width: 0;
}

.brand img,
.footer-mark img,
.mobile-brand img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 16px 30px rgba(18, 166, 255, 0.18);
}

.brand-copy,
.footer-mark,
.mobile-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-copy strong,
.footer-mark strong,
.mobile-brand strong {
  display: block;
  font: 700 1.02rem/1.1 "Space Grotesk", "Segoe UI", sans-serif;
  letter-spacing: 0.02em;
}

.brand-copy small,
.footer-mark span,
.mobile-brand span {
  display: block;
  color: var(--muted-inverse);
  font-size: 0.82rem;
  margin-top: 4px;
}

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

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(244, 248, 255, 0.84);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(255, 255, 255, 0.09);
  color: var(--text-inverse);
  transform: translateY(-1px);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-inverse);
  border-radius: 999px;
  padding: 11px 15px;
  cursor: pointer;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(10, 50, 103, 0.16);
}

.button-primary {
  background: linear-gradient(135deg, var(--cyan), var(--primary));
  color: #041024;
}

.button-secondary {
  background: rgba(18, 166, 255, 0.1);
  color: var(--primary-strong);
  border-color: rgba(18, 166, 255, 0.18);
}

.button-dark {
  background: #09162f;
  color: var(--text-inverse);
}

.hero-section,
.page-hero {
  padding: 52px 0 24px;
}

.hero-grid,
.split-layout,
.contact-layout,
.download-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 34px;
  align-items: center;
}

.hero-copy,
.panel,
.legal-card,
.contact-card,
.download-card,
.form-card,
.metric-card,
.step-card,
.scenario-card,
.quote-card,
.info-card,
.principle-card,
.notice-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(10, 44, 94, 0.08);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
}

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

.hero-copy::after {
  content: "";
  position: absolute;
  inset: auto -60px -120px auto;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(18, 166, 255, 0.24), transparent 70%);
}

.eyebrow,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(18, 166, 255, 0.12);
  color: var(--primary-strong);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.9rem, 6vw, 4.7rem);
  line-height: 0.96;
  margin-top: 18px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.15;
}

p {
  margin: 0;
  line-height: 1.7;
}

.lead {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 60ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.disclaimer {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-visual {
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(7, 20, 47, 0.96), rgba(10, 31, 73, 0.92)),
    linear-gradient(180deg, rgba(18, 166, 255, 0.16), transparent);
  border-radius: 34px;
  box-shadow: 0 36px 80px rgba(2, 15, 42, 0.34);
  color: var(--text-inverse);
  position: relative;
  overflow: hidden;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(114, 224, 255, 0.25), transparent 72%);
}

.hero-visual::before {
  width: 320px;
  height: 320px;
  top: -80px;
  right: -70px;
}

.hero-visual::after {
  width: 260px;
  height: 260px;
  bottom: -110px;
  left: -80px;
}

.visual-frame {
  position: relative;
  z-index: 1;
}

.visual-frame img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 22px;
}

.floating-card {
  position: absolute;
  z-index: 2;
  max-width: 220px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 20px 35px rgba(2, 15, 42, 0.2);
}

.floating-card strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.floating-top {
  top: 30px;
  left: 26px;
}

.floating-bottom {
  right: 28px;
  bottom: 26px;
}

.section {
  padding: 42px 0;
}

.section-dark {
  background:
    radial-gradient(circle at top right, rgba(18, 166, 255, 0.22), transparent 28%),
    linear-gradient(180deg, rgba(7, 20, 47, 0.98), rgba(9, 28, 64, 0.96));
  color: var(--text-inverse);
  margin: 44px 0;
}

.section-dark .section-kicker,
.section-dark .section-copy,
.section-dark .scenario-copy,
.section-dark p {
  color: var(--muted-inverse);
}

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

.section-kicker {
  color: var(--primary-strong);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.86rem;
  margin-bottom: 12px;
}

.section-copy {
  color: var(--muted);
  max-width: 58ch;
}

.stats-row,
.principles-grid,
.quotes-grid,
.contact-grid,
.requirements-grid,
.legal-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.metric-card,
.quote-card,
.principle-card,
.info-card,
.contact-card,
.notice-card {
  padding: 24px;
}

.metric-card strong,
.stat-large {
  display: block;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 2rem;
  margin-bottom: 10px;
}

.flow-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.feature-stack,
.steps-stack,
.legal-sections {
  display: grid;
  gap: 18px;
}

.stack-card,
.step-card,
.legal-section-card,
.download-card {
  padding: 24px;
}

.stack-card {
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), #ffffff);
  border: 1px solid rgba(10, 44, 94, 0.08);
  box-shadow: var(--shadow);
}

.stack-card h3,
.step-card h3,
.download-card h3,
.legal-section-card h3,
.form-card h3 {
  margin-bottom: 12px;
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.meta-chip,
.number-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-weight: 800;
}

.highlight-panel {
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(12, 31, 71, 0.92), rgba(7, 20, 47, 0.96)),
    linear-gradient(135deg, rgba(18, 166, 255, 0.16), transparent);
  border: 1px solid rgba(117, 180, 255, 0.16);
  border-radius: 30px;
  color: var(--text-inverse);
  box-shadow: 0 34px 60px rgba(2, 18, 48, 0.22);
}

.highlight-panel p,
.highlight-panel li,
.highlight-panel .section-copy {
  color: var(--muted-inverse);
}

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

.list-clean li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.list-clean li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--primary));
  flex: 0 0 auto;
}

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

.scenario-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.scenario-card h3,
.quote-card h3,
.notice-card h3 {
  margin-bottom: 10px;
}

.legal-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(300px, 0.28fr);
  gap: 26px;
  align-items: start;
}

.legal-index,
.notice-card {
  position: sticky;
  top: 112px;
}

.legal-card,
.legal-index,
.form-card {
  padding: 30px;
}

.legal-highlight-grid {
  margin-top: 24px;
}

.legal-section-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(10, 44, 94, 0.08);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

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

.index-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 10px;
}

.index-list a {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(18, 166, 255, 0.08);
  color: var(--primary-strong);
  font-weight: 700;
}

.contact-layout {
  align-items: start;
}

.form-card,
.contact-card,
.download-card {
  overflow: hidden;
}

.form-card form {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

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

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

.field label,
.checkbox-row {
  font-weight: 700;
  color: #173056;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(12, 56, 119, 0.14);
  border-radius: 16px;
  background: #f8fbff;
  padding: 14px 16px;
  color: var(--text);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(18, 166, 255, 0.52);
  outline: none;
  box-shadow: 0 0 0 4px rgba(18, 166, 255, 0.14);
}

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

.checkbox-row {
  display: flex;
  gap: 12px;
  align-items: start;
  font-size: 0.95rem;
}

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

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

.feedback.error {
  display: block;
  background: rgba(209, 77, 91, 0.12);
  color: var(--danger);
}

.feedback.success {
  display: block;
  background: rgba(20, 159, 117, 0.12);
  color: var(--success);
}

.download-surface {
  background:
    linear-gradient(150deg, rgba(7, 20, 47, 0.98), rgba(10, 31, 73, 0.94)),
    radial-gradient(circle at top right, rgba(18, 166, 255, 0.18), transparent 35%);
  color: var(--text-inverse);
  border-radius: 34px;
  padding: 22px;
  box-shadow: 0 34px 70px rgba(2, 15, 42, 0.32);
}

.download-surface img {
  height: 460px;
  object-fit: cover;
  border-radius: 24px;
}

.store-grid {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.store-button {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.3s ease, background 0.3s ease;
}

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

.store-button small {
  display: block;
  color: var(--muted-inverse);
  margin-bottom: 6px;
}

.store-button strong {
  color: var(--text-inverse);
  font-size: 1.04rem;
}

.section-divider {
  height: 1px;
  border: 0;
  margin: 26px 0;
  background: linear-gradient(90deg, transparent, rgba(18, 166, 255, 0.4), transparent);
}

.site-footer {
  padding: 24px 0 48px;
}

.footer-shell {
  padding: 30px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(7, 20, 47, 0.96), rgba(9, 28, 64, 0.96));
  color: var(--text-inverse);
  box-shadow: 0 30px 70px rgba(2, 15, 42, 0.28);
}

.footer-top,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.footer-links {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(244, 248, 255, 0.84);
}

.footer-meta {
  color: var(--muted-inverse);
  font-size: 0.95rem;
}

.mobile-about {
  background: linear-gradient(180deg, #f4fbff, #eef5fc);
}

.mobile-about-shell {
  width: min(100%, 420px);
  margin: 0 auto;
  padding: 24px 18px 42px;
}

.mobile-panel {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(10, 44, 94, 0.08);
  box-shadow: var(--shadow);
  margin-top: 16px;
}

.mobile-about h1 {
  font-size: 2.5rem;
}

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

.mobile-item {
  padding: 18px;
  border-radius: 18px;
  background: var(--primary-soft);
}

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

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

@media (max-width: 1024px) {
  .hero-grid,
  .split-layout,
  .contact-layout,
  .download-layout,
  .flow-layout,
  .legal-shell {
    grid-template-columns: 1fr;
  }

  .legal-index,
  .notice-card {
    position: static;
  }

  .stats-row,
  .principles-grid,
  .quotes-grid,
  .contact-grid,
  .requirements-grid,
  .scenario-band,
  .legal-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .nav-shell {
    min-height: 78px;
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    width: 100%;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 10px 0 4px;
  }

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

  .site-nav a,
  .nav-cta {
    width: 100%;
    justify-content: center;
  }

  .nav-actions {
    width: 100%;
  }

  .hero-copy,
  .legal-card,
  .legal-index,
  .form-card {
    padding: 24px;
  }

  .section {
    padding: 30px 0;
  }

  .field-row,
  .stats-row,
  .principles-grid,
  .quotes-grid,
  .contact-grid,
  .requirements-grid,
  .scenario-band,
  .legal-highlights {
    grid-template-columns: 1fr;
  }

  .section-head,
  .footer-top,
  .footer-links {
    align-items: start;
  }

  .visual-frame img,
  .download-surface img {
    height: 320px;
  }
}
