:root {
  color-scheme: light dark;
  --navy: #0b1f3a;
  --ink: #132033;
  --muted: #5b6675;
  --paper: #f7f3ea;
  --white: #ffffff;
  --blue: #1f6feb;
  --gold: #b0894f;
  --line: rgba(11, 31, 58, 0.16);
  font-family: 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(--ink);
  background: var(--paper);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
  background: rgba(11, 31, 58, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
}

.brand-icon {
  width: 34px;
  height: 34px;
}

nav {
  display: flex;
  gap: 18px;
  font-size: 0.92rem;
}

nav a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

nav a:hover {
  color: var(--white);
}

.hero {
  position: relative;
  min-height: 84vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(48px, 8vw, 92px) clamp(20px, 7vw, 96px);
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(11, 31, 58, 0.98), rgba(9, 22, 42, 0.86)),
    url("assets/icon.png") right 8vw center / min(48vw, 560px) no-repeat,
    #0b1f3a;
}

.hero-mark {
  position: absolute;
  right: clamp(-120px, -8vw, -40px);
  bottom: -120px;
  width: min(62vw, 680px);
  opacity: 0.1;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 900px;
}

.hero-logo {
  width: min(560px, 78vw);
  max-height: 150px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 28px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(2.6rem, 6vw, 6rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid currentColor;
  border-radius: 6px;
  color: inherit;
  text-decoration: none;
  font-weight: 750;
}

.button.primary {
  border-color: var(--blue);
  color: var(--white);
  background: var(--blue);
}

.section {
  padding: clamp(54px, 8vw, 96px) clamp(20px, 7vw, 96px);
}

.thesis {
  max-width: 1120px;
}

.thesis h2,
.section-heading h2,
.contact h2 {
  max-width: 820px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.thesis p,
.section-heading p {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.8;
}

.group-section {
  background: var(--white);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: 34px;
}

.company-grid,
.doctrine-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.company-card,
.doctrine article {
  display: grid;
  gap: 18px;
  align-content: start;
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf6;
}

.company-card {
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: center;
}

.company-icon {
  width: 104px;
  height: 104px;
  object-fit: contain;
}

.company-logo {
  width: 220px;
  max-width: 100%;
  max-height: 120px;
  object-fit: contain;
}

.company-card h3,
.doctrine h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.company-card p,
.doctrine p {
  color: var(--muted);
  line-height: 1.65;
}

.company-card a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.doctrine {
  color: var(--white);
  background: #101820;
}

.doctrine-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.doctrine article {
  min-height: 220px;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.045);
}

.doctrine p {
  color: rgba(255, 255, 255, 0.68);
}

.contact {
  justify-content: space-between;
  background: var(--paper);
}

.asset-flywheel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 480px);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  background: #fffaf0;
}

.asset-flywheel p {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.75;
}

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

.flywheel-grid a {
  min-height: 112px;
  display: flex;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 850;
  background: #ffffff;
}

.store-hero {
  min-height: 64vh;
}

.store-grid,
.treasury-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  background: #ffffff;
}

.store-card,
.treasury-grid article {
  min-height: 300px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf6;
}

.store-card h2,
.treasury-grid h2 {
  font-size: 1.28rem;
  line-height: 1.2;
}

.store-card p,
.treasury-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.price {
  margin: 22px 0;
  color: var(--gold);
  font-weight: 900;
}

.treasury-grid span {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0.14em;
}

.mcp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  background: #ffffff;
}

.mcp-card {
  min-height: 300px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf6;
}

.mcp-card h2 {
  font-size: 1.22rem;
  line-height: 1.2;
}

.mcp-card p,
.mcp-card li {
  color: var(--muted);
  line-height: 1.65;
}

.mcp-tag {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--blue);
  background: rgba(31, 111, 235, 0.1);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mcp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.mcp-ledger {
  background: #fffaf0;
}

.mcp-ledger p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.75;
}

@media (max-width: 820px) {
  .site-header,
  .section-heading,
  .asset-flywheel,
  .company-grid,
  .doctrine-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    flex-wrap: wrap;
  }

  .company-card {
    grid-template-columns: 1fr;
  }

  .store-grid,
  .treasury-grid,
  .mcp-grid {
    grid-template-columns: 1fr;
  }
}
