:root {
  --bg: #edf5ff;
  --bg-strong: #dcecff;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: #ffffff;
  --ink: #091426;
  --ink-soft: #3e536d;
  --line: rgba(12, 42, 84, 0.12);
  --line-strong: rgba(12, 42, 84, 0.22);
  --accent: #0057ff;
  --accent-soft: #d8e7ff;
  --dark: #08101d;
  --dark-soft: #0f1a2d;
  --success: #0e8b5b;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shadow-lg: 0 24px 80px rgba(7, 17, 32, 0.1);
  --shadow-md: 0 16px 40px rgba(7, 17, 32, 0.08);
  --max-width: 1180px;
  --font-sans: "Inter", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.55)),
    linear-gradient(rgba(15, 54, 108, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 54, 108, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, var(--bg) 0%, #f8fbff 100%);
  background-size: auto, 40px 40px, 40px 40px, auto;
  line-height: 1.6;
}

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

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

ul {
  padding-left: 1.1rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(237, 245, 255, 0.82);
  border-bottom: 1px solid var(--line);
}

.site-header__inner,
.site-footer__inner {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.brand__name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand__tag {
  font-size: 0.78rem;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
}

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

.site-nav a {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
}

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

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button--primary {
  color: #fff;
  background: var(--accent);
  box-shadow: var(--shadow-md);
}

.button--secondary {
  background: var(--surface-strong);
  border-color: var(--line-strong);
}

.button--ghost {
  border-color: var(--line-strong);
  color: var(--ink-soft);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 42px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.lede {
  max-width: 660px;
  margin: 0 0 24px;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.hero-card,
.panel,
.keyword-card,
.cta-band,
.form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.hero-card {
  position: relative;
  min-height: 420px;
  padding: 28px;
  background:
    radial-gradient(circle at 80% 22%, rgba(0, 87, 255, 0.14), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(229, 240, 255, 0.8));
}

.hero-card::before,
.signal-rings::before {
  content: "";
  position: absolute;
  right: 40px;
  top: 54px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(0, 87, 255, 0.22);
  box-shadow:
    0 0 0 20px rgba(0, 87, 255, 0.08),
    0 0 0 58px rgba(0, 87, 255, 0.05);
}

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

.metric,
.keyword-card {
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
}

.metric strong,
.keyword-card strong {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.section {
  padding: 34px 0 24px;
}

.section h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section p,
.section li {
  color: var(--ink-soft);
}

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

.thesis-strip div,
.dark-band__item {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  font-weight: 700;
  line-height: 1.35;
}

.dark-band {
  margin: 28px 0;
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark-soft) 100%);
  color: #eef5ff;
  border-radius: 32px;
  padding: 26px;
  box-shadow: var(--shadow-lg);
}

.dark-band__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 18px;
}

.dark-band p,
.dark-band li,
.dark-band .eyebrow {
  color: rgba(238, 245, 255, 0.78);
}

.cta-band {
  padding: 28px;
  background: linear-gradient(135deg, #fff, #dcecff);
}

.page-hero {
  padding: 72px 0 18px;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
}

.sidebar-nav,
.form-card {
  position: sticky;
  top: 94px;
  padding: 22px;
}

.sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.content-stack {
  display: grid;
  gap: 20px;
}

.panel {
  padding: 26px;
}

.panel h2,
.panel h3 {
  margin-top: 0;
}

.site-footer {
  margin-top: 42px;
  background: linear-gradient(180deg, var(--dark) 0%, #050b14 100%);
  color: #eff6ff;
}

.site-footer a {
  color: rgba(239, 246, 255, 0.82);
}

.site-footer p {
  color: rgba(239, 246, 255, 0.72);
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 14px 16px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.note {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.success-hero {
  padding: 120px 0 80px;
}

.page-layout--book {
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
}

.panel--feature {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(234, 243, 255, 0.92)),
    linear-gradient(90deg, rgba(12, 42, 84, 0.05) 1px, transparent 1px);
  background-size: auto, 32px 32px;
}

.book-hero {
  padding: 72px 0 24px;
}

.book-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 340px;
  gap: 30px;
  align-items: stretch;
}

.book-hero__copy {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border: 1px solid rgba(183, 153, 59, 0.14);
  border-radius: 30px;
  color: #f7f6f2;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.18)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, #07090d 0%, #12161f 100%);
  background-size: auto, 38px 38px, 38px 38px, auto;
  box-shadow: var(--shadow-lg);
}

.book-hero__copy::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 1px solid rgba(213, 184, 79, 0.26);
  box-shadow:
    0 0 0 26px rgba(213, 184, 79, 0.05),
    0 0 0 64px rgba(213, 184, 79, 0.03);
}

.book-hero__copy .eyebrow,
.book-hero__note {
  color: rgba(247, 246, 242, 0.72);
}

.book-hero__copy h1 {
  margin: 0 0 18px;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.book-hero__copy .lede {
  max-width: 680px;
  color: rgba(247, 246, 242, 0.8);
}

.book-hero__note {
  margin: 0;
  font-size: 0.95rem;
}

.book-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
}

.book-badges span {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(213, 184, 79, 0.22);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(247, 246, 242, 0.85);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.book-cover-card {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 18px;
  border: 1px solid rgba(12, 42, 84, 0.14);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(232, 240, 253, 0.9));
  box-shadow: var(--shadow-lg);
}

.book-cover-card img {
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(6, 10, 18, 0.28);
}

.book-cover-card__meta {
  display: grid;
  gap: 4px;
}

.book-cover-card__meta strong {
  font-size: 1.1rem;
}

.book-cover-card__meta span {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

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

.book-strip div {
  display: grid;
  gap: 10px;
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-md);
}

.book-strip strong {
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.book-strip span {
  color: var(--ink-soft);
}

.book-topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.book-topic {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.book-topic strong {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.book-topic p {
  margin: 0;
}

.form-card--book {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(236, 244, 255, 0.94));
}

.form-card__lede,
.form-card__footnote {
  color: var(--ink-soft);
}

.form-card__lede {
  margin-top: 0;
}

.form-card__footnote {
  margin: 16px 0 0;
  font-size: 0.92rem;
}

.form-card__footnote a {
  color: var(--accent);
}

.success-hero--book {
  max-width: 760px;
}

.panel--success {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(230, 240, 255, 0.92));
}

.founder-panel {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(230, 240, 255, 0.88));
  box-shadow: var(--shadow-lg);
}

.founder-panel__image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background:
    radial-gradient(circle at 20% 16%, rgba(0, 87, 255, 0.12), transparent 26%),
    linear-gradient(180deg, #0b1320 0%, #10192a 100%);
  min-height: 270px;
  box-shadow: 0 20px 44px rgba(7, 17, 32, 0.16);
}

.founder-panel__image-wrap::after {
  content: "";
  position: absolute;
  inset: auto 18px 14px 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
}

.founder-panel__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.founder-panel__content .lede {
  margin-bottom: 16px;
}

.founder-panel__content p:last-of-type {
  margin-bottom: 22px;
}

.founder-panel__meta {
  display: grid;
  gap: 4px;
}

.founder-panel__meta strong {
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.founder-panel__meta span {
  color: var(--ink-soft);
}

.founder-panel__accent {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.founder-panel__accent span {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 87, 255, 0.14);
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .hero__grid,
  .page-layout,
  .dark-band__grid,
  .metric-grid,
  .card-grid,
  .link-grid,
  .thesis-strip,
  .book-hero__grid,
  .book-strip,
  .book-topic-grid,
  .founder-panel {
    grid-template-columns: 1fr;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 16px;
  }

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

  .site-header__inner {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: #fff;
  }

  .sidebar-nav,
  .form-card {
    position: static;
  }

  .founder-panel__image-wrap {
    min-height: 300px;
  }
}
