:root {
  --bg: #080d12;
  --bg-2: #0d1620;
  --surface: #101922;
  --surface-2: #14222d;
  --surface-3: #0b141c;
  --text: #e6eef2;
  --soft: #c5d4da;
  --muted: #8fa1aa;
  --dim: rgba(230, 238, 242, 0.56);
  --accent: #76afc2;
  --accent-2: #a8d8e6;
  --ember: #c97a3a;
  --ember-soft: #e0a067;
  --line: rgba(118, 175, 194, 0.18);
  --line-strong: rgba(118, 175, 194, 0.34);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --max: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, rgba(13, 22, 32, 0.98) 0%, var(--bg) 38%, #060a0e 100%);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-2); }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  left: 18px;
  top: 12px;
  z-index: 100;
  transform: translateY(-160%);
  border-radius: var(--radius);
  background: var(--accent-2);
  color: #061016;
  padding: 10px 14px;
  font-weight: 800;
}

.skip-link:focus { transform: translateY(0); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-shell {
  width: min(100% - 44px, var(--max));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(5, 9, 13, 0.78), rgba(5, 9, 13, 0.18));
  backdrop-filter: blur(14px);
  transition: border-color 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(8, 13, 18, 0.9);
}

.header-shell {
  width: min(100% - 44px, var(--max));
  min-height: 74px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Cormorant Garamond", Georgia, serif;
  color: #ffffff;
  font-size: 27px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.brand span { color: var(--accent-2); }

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

.site-nav a {
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--soft);
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 700;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #ffffff;
  background: rgba(118, 175, 194, 0.08);
  border-color: rgba(118, 175, 194, 0.18);
}

.site-nav .nav-cta {
  margin-left: 6px;
  color: #061016;
  background: var(--accent);
  border-color: var(--accent);
}

.site-nav .nav-cta:hover {
  color: #061016;
  background: var(--accent-2);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 10px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 148px 0 112px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.hero-media,
.hero-fade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(8, 13, 18, 0.94) 0%, rgba(8, 13, 18, 0.82) 34%, rgba(8, 13, 18, 0.38) 68%, rgba(8, 13, 18, 0.66) 100%),
    linear-gradient(180deg, rgba(8, 13, 18, 0.06) 0%, rgba(8, 13, 18, 0.22) 54%, var(--bg) 100%),
    url("../images/hero.png") center / cover no-repeat,
    url("../images/hero.svg") center / cover no-repeat,
    linear-gradient(135deg, #0d1620 0%, #162634 48%, #090e14 100%);
  transform: scale(1.01);
}

.hero-fade {
  background:
    linear-gradient(180deg, rgba(168, 216, 230, 0.09), transparent 34%),
    linear-gradient(0deg, var(--bg) 0%, transparent 34%);
}

.hero-shell {
  position: relative;
  z-index: 2;
  max-width: 690px;
  margin-inline: calc((100% - min(100% - 44px, var(--max))) / 2) auto;
}

.eyebrow,
.section-kicker,
.card-label {
  margin: 0 0 16px;
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1,
h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 12px;
  color: #ffffff;
  font-size: clamp(64px, 10vw, 132px);
  line-height: 0.88;
  text-shadow: 0 20px 70px rgba(0, 0, 0, 0.54);
}

.hero-line {
  max-width: 620px;
  margin-bottom: 22px;
  color: var(--accent-2);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(28px, 4vw, 48px);
  font-style: italic;
  line-height: 1.06;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 32px;
  color: var(--soft);
  font-size: 17px;
  line-height: 1.85;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.button-primary {
  color: #061016;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 18px 48px rgba(118, 175, 194, 0.2);
}

.button-primary:hover {
  color: #061016;
  background: var(--accent-2);
  box-shadow: 0 22px 58px rgba(118, 175, 194, 0.28);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
}

.button-secondary:hover {
  color: var(--accent-2);
  border-color: var(--accent);
  background: rgba(118, 175, 194, 0.08);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.hero-proof span {
  border: 1px solid rgba(118, 175, 194, 0.2);
  border-radius: var(--radius);
  background: rgba(10, 18, 25, 0.56);
  color: var(--dim);
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 700;
}

.intro-band {
  padding: 70px 0;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg), var(--bg-2));
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 52px;
  align-items: start;
}

.intro-grid h2,
.section-heading h2,
.partners-copy h2,
.final-cta h2 {
  margin-bottom: 16px;
  color: #ffffff;
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: 0.96;
}

.intro-grid p:not(.section-kicker),
.section-heading p,
.partners-copy p,
.final-cta p {
  color: var(--soft);
  font-size: 16px;
  line-height: 1.85;
}

.content-section {
  padding: 96px 0;
  border-bottom: 1px solid var(--line);
}

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

.section-heading.compact { max-width: 620px; }
.section-heading.align-left { margin-bottom: 0; }

.world-grid {
  display: grid;
  grid-template-columns: 1.16fr 0.92fr;
  gap: 14px;
}

.world-card,
.use-card,
.principle-list article,
.partner-panel,
.faq-grid details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008)),
    var(--surface);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
}

.world-card {
  min-height: 230px;
  padding: 28px;
}

.world-card-large {
  grid-row: span 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 560px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(8, 13, 18, 0.64)),
    linear-gradient(135deg, rgba(118, 175, 194, 0.16), rgba(201, 122, 58, 0.09)),
    var(--surface-3);
  border-color: var(--line-strong);
}

.world-card h3,
.use-card h3,
.principle-list h3,
.partner-panel h3 {
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 21px;
  line-height: 1.18;
}

.world-card-large h3 {
  max-width: 520px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 0.98;
}

.world-card p:not(.card-label),
.use-card p,
.principle-list p,
.partner-panel li,
.faq-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.split-section,
.partners-section {
  background: linear-gradient(180deg, rgba(13, 22, 32, 0.62), rgba(8, 13, 18, 0.98));
}

.split-grid,
.partners-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: start;
}

.principle-list {
  display: grid;
  gap: 12px;
}

.principle-list article {
  display: grid;
  grid-template-columns: 52px 1fr;
  column-gap: 18px;
  padding: 24px;
}

.principle-list span {
  color: var(--ember-soft);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.audience-section { background: var(--bg); }

.use-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.use-card { padding: 28px; }
.partners-copy .button { margin-top: 12px; }

.partner-panel {
  padding: 30px;
  background:
    linear-gradient(135deg, rgba(118, 175, 194, 0.12), rgba(201, 122, 58, 0.08)),
    var(--surface-3);
  border-color: var(--line-strong);
}

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

.partner-panel li {
  position: relative;
  padding-left: 20px;
}

.partner-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ember-soft);
}

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

.faq-grid details {
  padding: 22px 24px;
}

.faq-grid summary {
  cursor: pointer;
  color: #ffffff;
  font-weight: 800;
  line-height: 1.3;
}

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

.faq-grid summary::after {
  content: "+";
  float: right;
  color: var(--accent-2);
}

.faq-grid details[open] summary::after { content: "-"; }
.faq-grid p { margin-top: 14px; }

.final-cta {
  padding: 104px 0;
  border-bottom: 1px solid var(--line);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(118, 175, 194, 0.14), rgba(201, 122, 58, 0.08) 48%, rgba(8, 13, 18, 0.98)),
    var(--surface-3);
}

.final-cta-shell { max-width: 760px; }
.final-cta .hero-actions { justify-content: center; }

.site-footer {
  padding: 30px 0;
  background: #060a0e;
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
}

.footer-brand { font-size: 22px; }

.footer-links {
  display: flex;
  gap: 14px;
  font-weight: 700;
}

@media (max-width: 920px) {
  .nav-toggle { display: block; }

  .site-nav {
    position: fixed;
    inset: 74px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: rgba(8, 13, 18, 0.96);
    padding: 10px;
    box-shadow: var(--shadow);
  }

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

  .site-nav a,
  .site-nav .nav-cta {
    margin-left: 0;
    padding: 12px;
  }

  .hero {
    min-height: 720px;
    padding-top: 132px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(8, 13, 18, 0.82) 0%, rgba(8, 13, 18, 0.68) 42%, var(--bg) 100%),
      url("../images/hero.png") center / cover no-repeat,
      url("../images/hero.svg") center / cover no-repeat,
      linear-gradient(135deg, #0d1620 0%, #162634 48%, #090e14 100%);
  }

  .intro-grid,
  .split-grid,
  .partners-layout,
  .world-grid,
  .use-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .world-card-large { min-height: 420px; }
  .section-heading.align-left { margin-bottom: 28px; }

  .footer-shell {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 620px) {
  .section-shell,
  .header-shell {
    width: min(100% - 32px, var(--max));
  }

  .brand { font-size: 22px; }

  .hero {
    min-height: 680px;
    padding: 116px 0 72px;
  }

  h1 { font-size: clamp(56px, 19vw, 82px); }

  .hero-copy,
  .intro-grid p:not(.section-kicker),
  .section-heading p,
  .partners-copy p,
  .final-cta p {
    font-size: 15px;
  }

  .hero-actions,
  .final-cta .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button { width: 100%; }

  .content-section,
  .intro-band,
  .final-cta {
    padding: 64px 0;
  }

  .world-card,
  .use-card,
  .partner-panel,
  .faq-grid details {
    padding: 22px;
  }

  .principle-list article {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
