:root {
  --bg: #071024;
  --bg-2: #0b1530;
  --surface: rgba(255,255,255,0.05);
  --surface-strong: rgba(255,255,255,0.08);
  --text: #f3f5fb;
  --muted: #b3bfd5;
  --gold: #f4c04f;
  --teal: #32d6e9;
  --violet: #7b61ff;
  --border: rgba(255,255,255,0.11);
  --shadow: 0 22px 70px rgba(0,0,0,0.38);
  --shadow-soft: 0 16px 40px rgba(0,0,0,0.26);
  --radius: 28px;
  --max: 1220px;
  --serif: Iowan Old Style, Palatino Linotype, Book Antiqua, ui-serif, Georgia, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: var(--sans);
  background:
    radial-gradient(circle at 12% 18%, rgba(50,214,233,0.18), transparent 0 22%),
    radial-gradient(circle at 84% 12%, rgba(123,97,255,0.20), transparent 0 26%),
    radial-gradient(circle at 72% 76%, rgba(244,192,79,0.10), transparent 0 18%),
    linear-gradient(180deg, #060d1d 0%, #081228 42%, #050b19 100%);
  min-height: 100vh;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent 16%, transparent 84%, rgba(255,255,255,0.02));
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(5, 10, 22, 0.72);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand-text strong {
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.82rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav a {
  color: var(--muted);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
  transition: 160ms ease;
}

.nav a:hover { color: var(--text); background: rgba(255,255,255,0.05); }

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.08);
}

.btn-primary {
  background: linear-gradient(135deg, rgba(50,214,233,0.22), rgba(123,97,255,0.22));
  border-color: rgba(50,214,233,0.35);
  box-shadow: 0 10px 30px rgba(50,214,233,0.10);
}

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

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

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: rgba(50,214,233,0.08);
  border: 1px solid rgba(50,214,233,0.16);
  color: var(--teal);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.section-copy h2,
.cta-card h2,
.legal-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.94;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6.1rem);
  max-width: 10ch;
}

.hero p {
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.34rem);
  max-width: 37rem;
  margin: 22px 0 28px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.hero-points li,
.chip {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: #d6def0;
  font-size: 0.94rem;
}

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

.hero-visual {
  position: relative;
}

.device-shell,
.panel-shell {
  border: 1px solid var(--border);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.device-shell {
  padding: 16px;
}

.device-shell img,
.panel-shell img {
  border-radius: 18px;
  width: 100%;
  height: auto;
}

.floating-card {
  position: absolute;
  right: -14px;
  bottom: 20px;
  width: min(280px, 54%);
  padding: 18px;
  border-radius: 24px;
  background: rgba(10, 16, 33, 0.86);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

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

.floating-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.logos-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
  padding: 8px 0 46px;
}

.stat-card {
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.stat-card strong {
  display: block;
  color: var(--gold);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.97rem;
}

main section {
  padding: 34px 0;
}

.section-head {
  max-width: 780px;
  margin-bottom: 26px;
}

.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 4.25rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.section-head p,
.section-copy p,
.legal-copy p,
.legal-copy li,
.cta-card p,
.footer-copy {
  color: var(--muted);
  font-size: 1.04rem;
}

.feature-grid {
  display: grid;
  gap: 24px;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03));
  box-shadow: var(--shadow-soft);
}

.feature-row.reverse .feature-image { order: 2; }
.feature-row.reverse .section-copy { order: 1; }

.section-copy h2 {
  font-size: clamp(2.1rem, 4vw, 3.7rem);
  margin-bottom: 14px;
}

.section-copy .label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--teal);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

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

.check-list li {
  padding-left: 30px;
  position: relative;
  color: #dfe6f7;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--teal));
  box-shadow: 0 0 0 4px rgba(50,214,233,0.08);
}

.showcase {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.showcase-card {
  padding: 12px;
  border-radius: 26px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-soft);
}

.showcase-card img { border-radius: 18px; }
.showcase-card span {
  display: block;
  padding: 10px 6px 2px;
  color: var(--muted);
  font-size: 0.94rem;
}

.audience-grid,
.ethics-grid,
.module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.tile {
  padding: 22px;
  border-radius: 26px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  min-height: 100%;
}

.tile strong {
  display: block;
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.tile p { margin: 0; color: var(--muted); font-size: 0.98rem; }

.module-grid .tile {
  min-height: 150px;
}

.cta-section {
  padding-bottom: 82px;
}

.cta-card {
  padding: 34px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(123,97,255,0.22), transparent 0 34%),
    radial-gradient(circle at bottom left, rgba(50,214,233,0.18), transparent 0 26%),
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.05fr auto;
  gap: 24px;
  align-items: center;
}

.cta-card h2 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  margin-bottom: 12px;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-footer {
  padding: 24px 0 36px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

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

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

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

/* Legal pages */
.legal-wrap {
  padding: 56px 0 80px;
}

.legal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.legal-hero,
.legal-copy {
  padding: 28px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  box-shadow: var(--shadow-soft);
}

.legal-hero { margin-bottom: 18px; }
.legal-hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); margin-bottom: 8px; }
.legal-meta { color: var(--muted); }
.legal-copy h2 {
  font-family: var(--serif);
  font-size: 1.7rem;
  margin: 2rem 0 0.8rem;
  letter-spacing: -0.03em;
}
.legal-copy h2:first-child { margin-top: 0; }
.legal-copy ul { padding-left: 1.2rem; }
.legal-copy a { color: #bfefff; }

.notice {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(50,214,233,0.08);
  color: #dcf7ff;
}

@media (max-width: 1120px) {
  .hero-grid,
  .feature-row,
  .cta-card {
    grid-template-columns: 1fr;
  }
  .cta-actions { justify-content: flex-start; }
  .showcase { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .audience-grid,
  .ethics-grid,
  .module-grid,
  .logos-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .site-header { position: static; }
  .site-header .container,
  .site-footer .container { align-items: flex-start; }
  .nav { justify-content: flex-start; }
  .header-actions { justify-content: flex-start; }
  .hero { padding-top: 42px; }
  .hero h1 { max-width: 100%; }
  .floating-card {
    position: static;
    width: 100%;
    margin-top: 16px;
  }
  .feature-row { padding: 20px; }
  .showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .audience-grid,
  .ethics-grid,
  .module-grid,
  .logos-row { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .hero h1 { font-size: clamp(2.6rem, 15vw, 4.15rem); }
  .section-head h2,
  .section-copy h2,
  .cta-card h2,
  .legal-hero h1 { font-size: clamp(2rem, 11vw, 3.2rem); }
  .showcase { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .hero-actions, .cta-actions { width: 100%; }
}
