@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600&family=Karla:wght@400;500;600&display=swap');

:root {
  --bg: #0a0c11;
  --bg-soft: #0f1216;
  --card: #161a21;
  --card-border: rgba(244, 240, 230, 0.08);
  --text: #f3efe6;
  --text-soft: #b7bcc0;
  --text-mute: #6d747c;
  --teal: #52d6c4;
  --teal-deep: #1f8f7c;
  --amber: #e8a860;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Karla', -apple-system, sans-serif;
  --measure: 640px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: var(--teal-deep);
  color: #04120e;
}

a {
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid rgba(82, 214, 196, 0.35);
  transition: border-color 0.2s ease, color 0.2s ease;
}
a:hover { border-color: var(--teal); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- background atmosphere ---------- */

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 900px 600px at 78% -8%, rgba(82, 214, 196, 0.16), transparent 60%),
    radial-gradient(ellipse 700px 500px at 8% 110%, rgba(232, 168, 96, 0.08), transparent 60%),
    var(--bg);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- nav ---------- */

nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(10, 12, 17, 0.65);
  border-bottom: 1px solid var(--card-border);
}
nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--text);
  border: none;
}
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-note {
  font-size: 13px;
  color: var(--text-mute);
  border: none;
  letter-spacing: 0.02em;
}

/* ---------- hero ---------- */

.hero {
  padding: 108px 0 96px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 12px 2px rgba(82, 214, 196, 0.8);
}
.hero h1 {
  font-size: clamp(38px, 5.2vw, 60px);
  line-height: 1.08;
  color: var(--text);
}
.hero h1 em {
  font-style: italic;
  color: var(--teal);
}
.hero p.lede {
  margin-top: 26px;
  max-width: 480px;
  font-size: 19px;
  color: var(--text-soft);
}
.badge-row {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.badge {
  font-size: 13px;
  padding: 9px 16px;
  border-radius: 100px;
  border: 1px solid var(--card-border);
  color: var(--text-soft);
  background: rgba(244, 240, 230, 0.03);
}

/* orb */
.orb-stage {
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-top-color: var(--teal);
  border-right-color: var(--teal);
  animation: spin 22s linear infinite;
  opacity: 0.55;
}
.orb-ring.r1 { width: 340px; height: 340px; }
.orb-ring.r2 { width: 260px; height: 260px; animation-duration: 16s; animation-direction: reverse; border-top-color: var(--amber); border-right-color: transparent; opacity: 0.35;}
.orb-core {
  position: absolute;
  width: 132px; height: 132px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(82,214,196,0.9), rgba(31,143,124,0.25) 70%, transparent 75%);
  filter: blur(1px);
  animation: breathe 5s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.08); opacity: 1; }
}

/* ---------- pull quote ---------- */

.quote-section {
  padding: 40px 0 100px;
  text-align: center;
}
.quote-section blockquote {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.5;
  color: var(--text);
  max-width: 780px;
  margin: 0 auto;
}
.quote-section blockquote .accent { color: var(--teal); font-style: normal; }

/* ---------- section shell ---------- */

section.block {
  padding: 100px 0;
  border-top: 1px solid var(--card-border);
}
.kicker {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}
.block h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  max-width: 640px;
}
.block p.intro {
  margin-top: 20px;
  max-width: var(--measure);
  color: var(--text-soft);
  font-size: 18px;
}

/* problem list */
.uncertainty-list {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 720px;
}
.uncertainty-list li {
  list-style: none;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--card-border);
  color: var(--text-soft);
  font-size: 16px;
}

/* steps */
.steps {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 0 24px 0 0;
}
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 22px; right: 0;
  width: 24px;
  height: 1px;
  background: var(--card-border);
}
.step-num {
  counter-increment: step;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--teal);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 17px;
  margin-bottom: 22px;
}
.step-num::before { content: counter(step, decimal-leading-zero); }
.step h3 {
  font-size: 19px;
  color: var(--text);
  margin-bottom: 8px;
}
.step p {
  font-size: 15px;
  color: var(--text-soft);
  margin: 0;
}

/* audience cards */
.audience-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.audience-card {
  padding: 36px;
  border-radius: 20px;
  background: linear-gradient(160deg, var(--card), var(--bg-soft));
  border: 1px solid var(--card-border);
}
.audience-card .tag {
  font-size: 13px;
  color: var(--teal);
  letter-spacing: 0.03em;
  margin-bottom: 12px;
  display: block;
}
.audience-card h3 {
  font-size: 24px;
  color: var(--text);
  margin-bottom: 16px;
}
.audience-card ul { margin: 0; padding: 0; }
.audience-card li {
  list-style: none;
  padding: 9px 0;
  border-top: 1px solid var(--card-border);
  color: var(--text-soft);
  font-size: 15px;
}
.audience-card li:first-child { border-top: none; }

/* trust checklist */
.trust-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.trust-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.trust-item svg { flex-shrink: 0; margin-top: 3px; color: var(--teal); }
.trust-item span { color: var(--text-soft); font-size: 15px; }
.trust-cta {
  margin-top: 44px;
  font-size: 15px;
  color: var(--text-mute);
}

/* footer */
footer {
  padding: 56px 0 48px;
  border-top: 1px solid var(--card-border);
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
footer .brand { font-size: 16px; }
.footer-links { display: flex; gap: 28px; }
.footer-links a { border: none; color: var(--text-mute); font-size: 14px; }
.footer-links a:hover { color: var(--text-soft); }
.footer-note { font-size: 13px; color: var(--text-mute); width: 100%; margin-top: 8px; }

/* reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- legal page ---------- */

.legal {
  padding: 72px 0 100px;
}
.legal .wrap { max-width: 760px; }
.legal h1 {
  font-size: clamp(30px, 4vw, 42px);
  margin-bottom: 8px;
}
.legal .updated {
  color: var(--text-mute);
  font-size: 14px;
  margin-bottom: 56px;
}
.legal h2 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal);
  margin-top: 48px;
  margin-bottom: 14px;
}
.legal p, .legal li {
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.75;
}
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal .callout {
  margin-top: 56px;
  padding: 22px 24px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--card-border);
  font-size: 14px;
  color: var(--text-mute);
}
.back-link { display: inline-block; margin-bottom: 40px; font-size: 14px; }

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .orb-stage { height: 260px; order: -1; }
  .uncertainty-list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .step:nth-child(2)::after { display: none; }
  .audience-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .wrap { padding: 0 22px; }
  section.block { padding: 72px 0; }
}
