@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/Fraunces.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --brand-champagne-gold: #f0d5a2;
  --brand-light-metal-gold: #d7a35a;
  --brand-warm-gold-bronze: #996429;
  --brand-deep-bronze: #75491e;
  --brand-dark-bronze: #5c3412;
  --brand-ivory-highlight: #f0e6d1;
  --brand-deep-teal: #1f6b6a;
  --brand-light-teal: #58aa9a;
  --rgb-champagne-gold: 240, 213, 162;
  --rgb-light-metal-gold: 215, 163, 90;
  --rgb-warm-gold-bronze: 153, 100, 41;
  --rgb-deep-bronze: 117, 73, 30;
  --rgb-dark-bronze: 92, 52, 18;
  --rgb-ivory-highlight: 240, 230, 209;
  --rgb-deep-teal: 31, 107, 106;
  --rgb-light-teal: 88, 170, 154;
  --color-page-bg: #ffffff;
  --color-paper: #ffffff;
  --color-paper-soft: var(--brand-ivory-highlight);
  --color-paper-glass: rgba(var(--rgb-ivory-highlight), 0.42);
  --color-paper-glass-strong: rgba(var(--rgb-ivory-highlight), 0.58);
  --color-paper-border: rgba(var(--rgb-champagne-gold), 0.50);
  --color-gold-wash: rgba(var(--rgb-champagne-gold), 0.24);
  --color-gold-wash-strong: rgba(var(--rgb-champagne-gold), 0.34);
  --color-teal-wash: rgba(var(--rgb-light-teal), 0.16);
  --color-teal-wash-strong: rgba(var(--rgb-light-teal), 0.18);
  --color-bronze-wash: rgba(var(--rgb-deep-bronze), 0.12);
  --color-line: rgba(var(--rgb-light-metal-gold), 0.52);
  --color-line-soft: rgba(var(--rgb-champagne-gold), 0.72);
  --color-line-bronze: rgba(var(--rgb-deep-bronze), 0.18);
  --color-line-bronze-strong: rgba(var(--rgb-deep-bronze), 0.42);
  --color-text-soft: rgba(var(--rgb-dark-bronze), 0.70);
  --color-text-faint: rgba(var(--rgb-dark-bronze), 0.62);
  --color-text-inverse: #ffffff;
  --bg: var(--color-page-bg);
  --surface: var(--color-paper);
  --surface-soft: var(--color-paper-soft);
  --ink: var(--brand-dark-bronze);
  --muted: var(--brand-deep-bronze);
  --gold: var(--brand-light-metal-gold);
  --gold-dark: var(--brand-warm-gold-bronze);
  --gold-soft: var(--brand-champagne-gold);
  --bronze-dark: var(--brand-dark-bronze);
  --line: var(--color-line);
  --teal: var(--brand-deep-teal);
  --teal-soft: var(--brand-light-teal);
  --shadow: 0 8px 24px rgba(var(--rgb-dark-bronze), 0.10);
  --max: 1390px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
}

[id] {
  scroll-margin-top: 96px;
}

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

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(var(--rgb-deep-teal), 0.36);
  outline-offset: 4px;
}

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

.site-header {
  width: min(var(--max), calc(100% - 112px));
  height: 96px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

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

.brand-mark {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.brand-word {
  font-family: "Fraunces", Georgia, serif;
  font-size: 37px;
  letter-spacing: 0.16em;
  line-height: 1;
  color: var(--ink);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 48px;
  font-weight: 500;
  color: var(--ink);
}

.site-nav a,
.footer-bottom a {
  transition: color 160ms ease;
}

.site-nav a:hover,
.footer-bottom a:hover {
  color: var(--gold-dark);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  padding: 10px 14px;
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 650;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-primary {
  color: var(--color-text-inverse);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  box-shadow: 0 14px 28px rgba(var(--rgb-warm-gold-bronze), 0.24);
}

.button-primary:hover {
  box-shadow: 0 16px 34px rgba(var(--rgb-warm-gold-bronze), 0.32);
}

.button-secondary {
  color: var(--ink);
  background: var(--color-paper-glass);
  border-color: var(--color-line-bronze-strong);
}

.button-secondary:hover {
  background: var(--surface);
}

.hero {
  display: grid;
  grid-template-columns: minmax(520px, 0.9fr) minmax(650px, 1.1fr);
  gap: 54px;
  align-items: start;
  padding: 20px 0 30px;
}

.hero-copy {
  min-width: 0;
  padding-top: 34px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 34px;
  margin: 0 0 24px;
  padding: 0 20px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold-dark);
  font-size: 12px;
  text-transform: uppercase;
}

h1,
.page-hero h1 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 68px;
  line-height: 1.04;
  font-weight: 700;
  color: var(--bronze-dark);
}

h1 > span {
  display: block;
  white-space: nowrap;
}

.gold-dot {
  color: var(--gold);
}

.ornament {
  position: relative;
  width: min(480px, 100%);
  height: 18px;
  margin: 18px 0 18px;
}

.ornament::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 8px;
  border-top: 1px solid var(--gold-soft);
}

.ornament span {
  position: absolute;
  top: 3px;
  left: 50%;
  width: 44px;
  height: 12px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  clip-path: polygon(0 50%, 50% 0, 100% 50%, 50% 100%);
}

.hero-lead {
  max-width: 560px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
}

.trust-icon,
.module-icon,
.user-pill,
.social-links a {
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--color-gold-wash);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.trust-icon {
  width: 40px;
  height: 40px;
}

.trust-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--teal);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.dashboard {
  min-width: 0;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  min-height: 540px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--color-paper-glass-strong);
  box-shadow: var(--shadow);
}

.dashboard-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mini-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 18px;
}

.mini-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.dashboard-nav-item {
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 12px;
  color: var(--ink);
}

.dashboard-nav-item.active {
  background: var(--color-teal-wash-strong);
  color: var(--teal);
}

.dashboard-main {
  min-width: 0;
}

.dashboard-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}

.dashboard-top p {
  margin: 0 0 4px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 19px;
  font-weight: 700;
}

.dashboard-top span {
  color: var(--muted);
  font-size: 12px;
}

.user-pill {
  width: 34px;
  height: 34px;
  background: var(--gold-soft);
  border: none;
}

.user-avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  object-fit: cover;
  object-position: center;
  background: var(--brand-ivory-highlight);
  border: 2px solid var(--color-paper-border);
  box-shadow: 0 6px 14px rgba(var(--rgb-dark-bronze), 0.14);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.35fr;
  gap: 16px;
}

.pyramid-card,
.signals-card,
.module-card,
.feature-card,
.page-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--color-paper-glass);
  box-shadow: 0 12px 28px rgba(var(--rgb-dark-bronze), 0.07);
}

.pyramid-card {
  min-height: 340px;
  padding: 8px 8px;
  display: grid;
  place-items: center;
}

.pyramid {
  width: min(330px, 100%);
  height: 100%;
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.pyramid-svg {
  display: block;
  width: 100%;
  max-height: 340px;
  overflow: visible;
}

.pyramid-segment {
  stroke: rgba(var(--rgb-dark-bronze), 0.08);
  stroke-linejoin: round;
  stroke-width: 1.2;
}

.pyramid-sak {
  fill: var(--brand-champagne-gold);
}

.pyramid-relation {
  fill: var(--brand-light-teal);
}

.pyramid-person {
  fill: rgba(var(--rgb-light-teal), 0.46);
}

.pyramid-value {
  fill: var(--brand-dark-bronze);
  font-family: "Fraunces", Georgia, serif;
  font-size: 36px;
  font-weight: 800;
  text-anchor: middle;
  text-transform: none;
}

.pyramid-word {
  fill: var(--brand-dark-bronze);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-anchor: middle;
  text-transform: uppercase;
}

.signals-card {
  display: grid;
  grid-template-rows: auto minmax(190px, 1fr) auto auto auto;
  gap: 10px;
  min-width: 0;
  padding: 16px;
  overflow: hidden;
}

.signals-kicker {
  justify-self: start;
  padding: 6px 12px;
  border: 1px solid rgba(var(--rgb-warm-gold-bronze), 0.16);
  border-radius: 999px;
  background: rgba(var(--rgb-champagne-gold), 0.30);
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.signals-chart {
  position: relative;
  min-height: 190px;
  padding: 8px 0 0 46px;
}

.signals-chart svg {
  width: 100%;
  height: 190px;
  overflow: visible;
}

.index-labels {
  position: absolute;
  inset: 12px auto 0 0;
  display: grid;
  grid-template-rows: auto 1fr auto 1fr auto;
  width: 44px;
  color: rgba(var(--rgb-dark-bronze), 0.64);
  font-size: 10px;
  line-height: 1.1;
}

.index-labels span:first-child,
.index-labels span:last-child {
  color: var(--teal);
  font-weight: 700;
}

.chart-midline {
  stroke: var(--color-line-bronze);
  stroke-width: 2;
  stroke-dasharray: 8 9;
}

.chart-shadow {
  fill: none;
  stroke: rgba(var(--rgb-deep-teal), 0.12);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 13;
}

.chart-line {
  fill: none;
  stroke: var(--teal);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.chart-point circle {
  fill: var(--teal);
  stroke: var(--color-paper-glass-strong);
  stroke-width: 5;
}

.chart-point text {
  fill: var(--bronze-dark);
  font-family: "Inter", Arial, sans-serif;
  font-size: 18px;
  font-weight: 800;
  text-anchor: middle;
}

.chart-point text:nth-of-type(n + 2) {
  fill: var(--color-text-faint);
  font-size: 13px;
  font-weight: 600;
}

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

.signal-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--color-line-bronze);
  border-radius: 999px;
  background: var(--color-paper-glass);
  color: var(--bronze-dark);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.signal-pill svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--teal);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.signal-pill:nth-child(3) svg {
  stroke: var(--gold-dark);
}

.signal-pill.active {
  background: rgba(var(--rgb-champagne-gold), 0.28);
}

.signals-note {
  margin: 0;
  color: var(--color-text-soft);
  font-size: 11px;
  line-height: 1.4;
}

.signals-card a,
.module-card a,
.feature-card a {
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
}

.module-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.module-card {
  min-height: 150px;
  padding: 16px;
}

.module-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 8px;
  color: var(--teal);
  background: var(--color-teal-wash);
}

.module-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.6;
}

.module-icon-deep,
.module-icon-missions {
  color: var(--color-text-faint);
  background: transparent;
  border-color: transparent;
}

.module-icon-deep {
  color: var(--teal);
  background: var(--color-gold-wash);
  border-color: var(--color-line-soft);
}

.module-icon-vibe {
  color: rgba(var(--rgb-dark-bronze), 0.72);
}

.module-card h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.module-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 12px;
}

.module-card strong {
  font-size: 12px;
}

.wave {
  height: 52px;
  margin: 10px 0 14px;
  overflow: hidden;
}

.wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

.wave-fill {
  fill: var(--color-gold-wash-strong);
}

.wave-line {
  fill: none;
  stroke: rgba(var(--rgb-deep-teal), 0.24);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.8;
}

.ai-chat-symbol {
  display: grid;
  place-items: center;
  width: 72px;
  height: 64px;
  margin: 2px auto 12px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--color-gold-wash) 0 58%, transparent 59%);
}

.ai-chat-symbol svg {
  width: 68px;
  height: 58px;
}

.ai-chat-bubble {
  fill: var(--color-paper-glass-strong);
  stroke: var(--brand-dark-bronze);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.ai-chat-link {
  fill: none;
  stroke: var(--brand-deep-teal);
  stroke-linecap: round;
  stroke-width: 2;
}

.ai-chat-node {
  fill: var(--brand-deep-teal);
}

.node-two {
  fill: var(--brand-light-teal);
}

.ai-chat-spark {
  fill: none;
  stroke: var(--brand-light-metal-gold);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.progress {
  height: 8px;
  margin: 10px 0 20px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--color-bronze-wash);
}

.progress span {
  display: block;
  width: 60%;
  height: 100%;
  background: var(--teal);
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  padding: 6px 0 22px;
}

.feature-card {
  min-height: 178px;
  padding: 26px 24px 22px;
  border-radius: 12px;
}

.feature-card h2,
.page-card h2,
.site-footer h2 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 24px;
}

.feature-card h2::after {
  content: "";
  display: block;
  width: 42px;
  margin: 12px 0 16px;
  border-top: 2px solid var(--gold);
}

.feature-card p {
  min-height: 78px;
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.55;
}

.site-footer {
  margin-top: 0;
  border-top: 1px solid var(--line);
  background: var(--color-paper-glass);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr;
  gap: 64px;
  padding: 28px 0;
}

.footer-brand .brand-mark {
  width: 58px;
  height: 58px;
}

.site-footer p {
  color: var(--muted);
  line-height: 1.6;
}

.site-footer a {
  color: inherit;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.social-links a {
  width: 38px;
  height: 38px;
  text-transform: uppercase;
}

.social-links img {
  display: block;
  width: 16px;
  height: 16px;
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr 54px;
  height: 46px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.newsletter-form input {
  width: 100%;
  min-width: 0;
  border: 0;
  padding: 0 16px;
  background: transparent;
}

.newsletter-form button {
  border: 0;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--color-text-inverse);
  font-size: 28px;
}

.form-note {
  min-height: 20px;
  margin: 8px 0 0;
  font-size: 13px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 14px 0 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.footer-bottom nav {
  display: flex;
  gap: 32px;
}

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

.page-hero {
  padding: 76px 0 34px;
}

.page-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 20px 0 76px;
}

.page-card {
  padding: 28px;
}

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

.simple-list {
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

@media (max-width: 1180px) {
  .site-nav {
    gap: 28px;
  }

  h1,
  .page-hero h1 {
    font-size: 62px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .dashboard {
    max-width: 860px;
  }

  .feature-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .site-header {
    grid-template-columns: auto auto;
    height: 76px;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .site-nav {
    position: fixed;
    inset: 76px 20px auto;
    z-index: 20;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 14px;
  }

  .brand-mark {
    width: 52px;
    height: 52px;
  }

  .brand-word {
    font-size: 29px;
  }

  h1,
  .page-hero h1 {
    font-size: 48px;
  }

  h1 > span {
    white-space: normal;
  }

  .hero {
    padding-top: 22px;
  }

  .hero-actions,
  .trust-list {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .dashboard {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .dashboard-nav {
    display: none;
  }

  .dashboard-grid,
  .module-row,
  .page-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .signals-card {
    grid-template-rows: auto auto auto auto auto;
  }

  .signals-chart {
    padding-left: 42px;
  }

  .signal-tabs {
    grid-template-columns: 1fr;
  }

  .feature-cards {
    grid-template-columns: 1fr;
  }

  .feature-card p {
    min-height: 0;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

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