:root {
  color-scheme: dark;
  --brand-gold: #D4AF37;
  --brand-gold-soft: rgba(212, 175, 55, 0.72);
  --brand-gold-line: rgba(212, 175, 55, 0.28);
  --brand-charcoal: #1A1A1A;
  --brand-black: #0A0A0A;
  --black: var(--brand-black);
  --charcoal: var(--brand-charcoal);
  --charcoal-2: #151515;
  --charcoal-3: #24211c;
  --gold: var(--brand-gold);
  --gold-2: #e8cc74;
  --gold-dim: rgba(212, 175, 55, 0.12);
  --text: #f5f0e7;
  --muted: #bdb4a6;
  --faint: #7d7569;
  --line: rgba(245, 240, 231, 0.12);
  --line-gold: var(--brand-gold-line);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --shadow-deep: 0 34px 110px rgba(0, 0, 0, 0.54);
  --max-width: 1180px;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Public membership funnel renewal v1.0 */

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

.membership-value-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(220px, 0.5fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: center;
}

.membership-value-strip > *,
.membership-section-head,
.founding-price-section > *,
.membership-includes-grid,
.membership-product-preview > *,
.coverage-section > *,
.decision-layers-section > *,
.market-notes-section > *,
.future-portal-section > *,
.membership-steps-section > *,
.membership-final-cta > * {
  min-width: 0;
}

.membership-value-strip h2,
.membership-section-head h2 {
  margin: 12px 0 16px;
}

.membership-value-strip p,
.membership-section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.membership-value-price {
  display: grid;
  gap: 6px;
  justify-items: start;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: rgba(212, 175, 55, 0.055);
}

.membership-value-price strong {
  color: var(--brand-gold-soft);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.membership-value-price span {
  margin-bottom: 14px;
  color: var(--muted);
}

.questions-email-panel,
.market-notes-card,
.future-portal-card {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(212, 175, 55, 0.28);
  background:
    linear-gradient(145deg, rgba(212, 175, 55, 0.085), rgba(255, 255, 255, 0.02)),
    rgba(10, 10, 10, 0.9);
  box-shadow: var(--shadow-deep);
}

.questions-email-panel h2 {
  margin: 14px 0;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.questions-email-panel > p {
  color: var(--muted);
  line-height: 1.7;
}

.questions-email-address {
  display: inline-block;
  max-width: 100%;
  margin: 12px 0 16px;
  overflow-wrap: anywhere;
  color: var(--brand-gold-soft);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 800;
  text-underline-offset: 4px;
}

.membership-conversion-panel {
  width: min(100%, var(--max-width));
  margin: 0 auto clamp(36px, 6vw, 72px);
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid rgba(212, 175, 55, 0.34);
  background:
    radial-gradient(circle at 86% 20%, rgba(212, 175, 55, 0.14), transparent 34%),
    rgba(11, 12, 10, 0.96);
  box-shadow: var(--shadow-deep);
}

.membership-conversion-panel h1 {
  max-width: 920px;
  margin: 12px 0 14px;
  font-size: clamp(2.25rem, 5vw, 4.6rem);
}

.membership-conversion-panel > div > p {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.membership-conversion-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0;
}

.membership-conversion-facts span {
  padding: 9px 13px;
  border: 1px solid rgba(212, 175, 55, 0.23);
  border-radius: 999px;
  color: #e8e3d8;
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.86rem;
}

#membership-checkout {
  scroll-margin-top: 120px;
}

.founding-price-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.65fr);
  width: min(100%, var(--max-width));
  margin-inline: auto;
  padding: clamp(26px, 5vw, 54px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background:
    radial-gradient(circle at 86% 18%, rgba(212, 175, 55, 0.14), transparent 34%),
    linear-gradient(145deg, rgba(168, 182, 148, 0.07), rgba(255, 255, 255, 0.015)),
    rgba(12, 13, 11, 0.94);
  box-shadow: var(--shadow-deep);
}

.founding-price-card h2 {
  margin: 12px 0 18px;
}

.founding-price-card p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.75;
}

.founding-price-caveat {
  margin: 18px 0 0;
  font-size: 0.92rem;
}

.founding-price-summary {
  display: grid;
  justify-items: start;
  min-width: 0;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(212, 175, 55, 0.24);
  background: rgba(212, 175, 55, 0.055);
}

.founding-price-summary > span:first-child {
  color: var(--olive-2);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.founding-price-summary strong {
  margin-top: 14px;
  color: var(--gold-2);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1;
}

.founding-price-summary > span:not(:first-child),
.founding-price-summary small {
  color: var(--muted);
}

.founding-price-summary > span:not(:first-child) {
  margin-top: 7px;
  font-weight: 700;
}

.founding-price-summary small {
  margin-top: 18px;
  line-height: 1.55;
}

.membership-section-head,
.market-notes-layout,
.future-portal-card {
  width: min(100%, var(--max-width));
  margin-inline: auto;
}

.membership-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: end;
}

.membership-includes > .hero-actions,
.market-notes-section > .hero-actions,
.membership-final-cta > .hero-actions {
  width: min(100%, var(--max-width));
  margin: 34px auto 0;
}

.membership-includes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, var(--max-width));
  margin: 42px auto 0;
  padding: 0;
  gap: 12px;
  list-style: none;
}

.membership-includes-grid li {
  position: relative;
  min-height: 72px;
  padding: 20px 18px 20px 48px;
  border: 1px solid rgba(212, 175, 55, 0.17);
  color: #e7e2d6;
  background: rgba(255, 255, 255, 0.02);
  line-height: 1.45;
}

.membership-includes-grid li::before {
  content: "✓";
  position: absolute;
  left: 18px;
  top: 19px;
  color: #9be0b7;
  font-weight: 800;
}

.membership-module-gallery img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: none;
  opacity: 1;
  background: #11130f;
}

.membership-module-gallery figcaption {
  flex: 1;
  padding: 15px 18px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.015);
  font-size: 0.9rem;
  line-height: 1.55;
}

.membership-module-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, var(--max-width));
  margin: 42px auto 0;
  gap: 20px;
}

.membership-module-gallery figure {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.2);
  background: rgba(255, 255, 255, 0.02);
}

.coverage-introduction,
.coverage-surface-grid,
.coverage-framework,
.coverage-boundary {
  width: min(100%, var(--max-width));
  margin-inline: auto;
}

.coverage-introduction {
  margin-top: 28px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.coverage-surface-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
  gap: 18px;
  align-items: stretch;
}

.coverage-surface-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(22px, 2.8vw, 30px);
  border: 1px solid rgba(245, 240, 231, 0.13);
  border-top-width: 3px;
  background: rgba(255, 255, 255, 0.022);
}

.coverage-live {
  border-top-color: var(--brand-gold);
}

.coverage-share {
  border-top-color: var(--olive-2);
}

.coverage-candidates {
  border-top-color: #8aa7bc;
}

.coverage-surface-heading > span {
  display: inline-flex;
  padding: 6px 9px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 999px;
  color: var(--brand-gold-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.coverage-surface-heading h3 {
  margin: 16px 0 12px;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.coverage-surface-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.67;
}

.coverage-instrument-list {
  display: grid;
  margin: 26px 0 0;
  padding: 0;
  gap: 8px;
  list-style: none;
}

.coverage-instrument-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-width: 0;
  padding: 11px 12px;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(245, 240, 231, 0.09);
  background: rgba(0, 0, 0, 0.14);
}

.coverage-instrument-list strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #ebe7dd;
  font-size: 0.88rem;
  line-height: 1.35;
}

.coverage-instrument-list span {
  color: var(--brand-gold-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-align: right;
}

.coverage-instrument-list small {
  display: block;
  margin-top: 3px;
  color: var(--faint);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0;
}

.coverage-candidate-boundary {
  margin: auto 0 0;
  padding-top: 24px;
  color: #d8d2c5;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.55;
}

.coverage-framework {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1.45fr);
  margin-top: 22px;
  padding: clamp(24px, 4vw, 38px);
  gap: clamp(26px, 4vw, 54px);
  border: 1px solid rgba(212, 175, 55, 0.18);
  background: rgba(212, 175, 55, 0.035);
}

.coverage-framework h3 {
  margin: 0 0 12px;
  font-size: 1.5rem;
}

.coverage-framework p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.coverage-layer-list {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  margin: 0;
  padding: 0;
  gap: 8px;
  list-style: none;
}

.coverage-layer-list li {
  padding: 8px 10px;
  border: 1px solid rgba(245, 240, 231, 0.11);
  border-radius: 999px;
  color: #e2ddd2;
  background: rgba(0, 0, 0, 0.13);
  font-size: 0.74rem;
  line-height: 1.25;
}

.coverage-boundary {
  margin-top: 22px;
  padding: clamp(24px, 4vw, 38px);
  border-left: 3px solid var(--olive-2);
  background: rgba(168, 182, 148, 0.065);
}

.coverage-boundary h3 {
  margin: 0 0 14px;
  font-size: 1.45rem;
}

.coverage-boundary p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.coverage-boundary p + p {
  margin-top: 12px;
}

.decision-layer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(100%, var(--max-width));
  margin: 42px auto 0;
  gap: 18px;
}

.decision-layer-grid article {
  padding: clamp(20px, 2.6vw, 30px);
  border: 1px solid rgba(212, 175, 55, 0.18);
  background: rgba(255, 255, 255, 0.02);
}

.decision-layer-grid span {
  color: var(--brand-gold-soft);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.decision-layer-grid h3 {
  margin: 14px 0 10px;
  font-size: 1.3rem;
}

.decision-layer-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.market-notes-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: start;
  gap: clamp(30px, 6vw, 84px);
}

.market-notes-layout h2 {
  margin: 12px 0 18px;
}

.market-notes-layout p,
.market-notes-card p {
  color: var(--muted);
  line-height: 1.75;
}

.market-notes-card h3 {
  margin-top: 0;
}

.future-portal-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: clamp(28px, 5vw, 72px);
}

.future-portal-card h2 {
  margin: 12px 0 16px;
}

.future-portal-card p,
.future-portal-card li {
  color: var(--muted);
  line-height: 1.7;
}

.future-portal-card ul {
  margin: 0;
  padding-left: 20px;
}

.future-portal-card li + li {
  margin-top: 8px;
}

.membership-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: min(100%, var(--max-width));
  margin: 42px auto 0;
  padding: 0;
  gap: 14px;
  list-style: none;
}

.membership-steps li {
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  background: rgba(255, 255, 255, 0.02);
}

.membership-steps span {
  color: var(--brand-gold-soft);
  font-weight: 800;
}

.membership-steps p {
  margin: 16px 0 0;
  color: #ebe7dd;
  line-height: 1.6;
}

.membership-video-showcase > .button {
  display: flex;
  width: fit-content;
  max-width: var(--max-width);
  margin: 30px auto 0;
}

.video-grid.membership-video-grid {
  grid-template-columns: minmax(360px, 1.7fr) repeat(3, minmax(150px, 0.65fr));
  align-items: start;
}

.membership-video-grid .video-card-portrait {
  display: grid;
  grid-template-rows: auto 1fr;
  align-self: stretch;
  max-width: none;
}

.membership-video-grid .video-card-portrait .video-card-copy {
  display: flex;
  flex-direction: column;
}

.membership-video-grid .video-card-portrait .video-card-copy h3 {
  min-height: 3.25em;
}

.membership-video-grid .video-card-portrait .video-card-copy p {
  margin-top: auto;
}

.membership-video-grid .video-poster {
  background:
    radial-gradient(circle at 50% 48%, rgba(212, 175, 55, 0.13), transparent 42%),
    #10120f;
}

.membership-video-grid .video-poster img {
  filter: none;
  opacity: 0.94;
  object-fit: cover;
}

.membership-video-grid .video-card-portrait .video-poster img {
  object-position: center;
}

.membership-video-grid .video-poster::before {
  content: "CSE PRODUCT PREVIEW";
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  max-width: calc(100% - 28px);
  padding: 7px 9px;
  border: 1px solid rgba(232, 204, 116, 0.48);
  border-radius: 999px;
  color: #f2df9c;
  background: rgba(7, 8, 7, 0.82);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
}

.membership-video-grid [data-video-id="cse-fibonacci-sequence"] .video-poster::before {
  content: "FIBONACCI STRUCTURE";
}

.membership-video-grid [data-video-id="cse-short-wfm46ic8U_g"] .video-poster::before {
  content: "OPTION FEASIBILITY";
}

.membership-video-grid [data-video-id="cse-short-red-markets"] .video-poster::before {
  content: "OPTION ENTRY LEVELS";
}

.membership-video-grid [data-video-id="cse-short-k2drPKzSQis"] .video-poster::before {
  content: "PORTFOLIO IMPACT";
}

.video-poster-placeholder {
  background:
    radial-gradient(circle at 50% 44%, rgba(212, 175, 55, 0.2), transparent 28%),
    linear-gradient(145deg, #171a12, #060706 64%);
}

.video-poster-placeholder::before {
  content: "CSE CAPITAL";
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 24%;
  transform: translateX(-50%);
  color: rgba(232, 204, 116, 0.78);
  font-size: clamp(0.72rem, 1.4vw, 1rem);
  font-weight: 800;
  letter-spacing: 0.22em;
  white-space: nowrap;
}

.membership-final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 30px;
}

@media (max-width: 1100px) {
  .coverage-surface-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .coverage-live {
    grid-column: 1 / -1;
  }

  .decision-layer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .membership-video-grid .video-card-landscape {
    grid-column: 1 / -1;
    width: min(100%, 820px);
    justify-self: center;
  }

  .membership-video-grid .video-card-portrait {
    width: min(100%, 300px);
  }
}

@media (max-width: 860px) {
  .membership-value-strip,
  .membership-section-head,
  .founding-price-card,
  .coverage-surface-grid,
  .coverage-framework,
  .market-notes-layout,
  .future-portal-card,
  .membership-final-cta {
    grid-template-columns: 1fr;
  }

  .membership-value-price {
    width: 100%;
  }

  .membership-includes-grid,
  .membership-module-gallery {
    grid-template-columns: 1fr;
  }

  .coverage-live {
    grid-column: auto;
  }

  .membership-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .video-grid.membership-video-grid {
    grid-template-columns: 1fr;
  }

  .membership-video-grid .video-card-landscape,
  .membership-video-grid .video-card-portrait {
    grid-column: auto;
    width: 100%;
    max-width: 520px;
    justify-self: center;
  }

  .membership-video-grid .video-card-portrait .video-card-copy h3 {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .decision-layer-grid,
  .membership-steps {
    grid-template-columns: 1fr;
  }

  .membership-conversion-facts {
    display: grid;
  }

  .membership-includes-grid li,
  .coverage-instrument-list li,
  .decision-layer-grid article,
  .membership-steps li {
    min-width: 0;
  }

  .coverage-instrument-list li {
    grid-template-columns: minmax(0, 1fr) minmax(72px, auto);
  }
}

/* Membership billing Phase 1 */
.membership-layout {
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.62fr);
}

.membership-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 24px 0 20px;
  color: var(--text);
}

.membership-price strong {
  color: var(--gold-2);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 4.1rem);
  line-height: 1;
}

.membership-price span {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
}

.membership-price-note {
  margin: -8px 0 20px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.membership-hero-offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 18px;
  box-sizing: border-box;
  width: min(100%, 670px);
  min-width: 0;
  margin: 16px 0 22px;
  padding: 15px 17px;
  border: 1px solid rgba(168, 182, 148, 0.34);
  background:
    linear-gradient(135deg, rgba(168, 182, 148, 0.12), rgba(212, 175, 55, 0.045)),
    rgba(20, 22, 18, 0.84);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.membership-hero-offer:hover {
  border-color: rgba(212, 175, 55, 0.52);
  background:
    linear-gradient(135deg, rgba(168, 182, 148, 0.16), rgba(212, 175, 55, 0.07)),
    rgba(24, 26, 22, 0.92);
  transform: translateY(-1px);
}

.membership-hero-offer span {
  min-width: 0;
  color: var(--olive-2);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.035em;
}

.membership-hero-offer strong {
  color: var(--gold-2);
  font-size: 1rem;
  white-space: nowrap;
}

.membership-hero-offer small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.45;
}

.membership-benefits {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.membership-benefits article {
  min-height: 170px;
}

.membership-order-summary {
  display: grid;
  gap: 7px;
  padding: 17px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  background: rgba(212, 175, 55, 0.055);
}

.membership-order-summary span,
.membership-order-summary small {
  color: var(--muted);
}

.membership-order-summary strong {
  color: var(--brand-gold-soft);
  font-size: 1.08rem;
}

.membership-order-summary small {
  line-height: 1.45;
}

.membership-consent a {
  color: var(--brand-gold-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.membership-verification {
  display: grid;
  min-height: 66vh;
  place-items: center;
  padding-top: clamp(78px, 12vw, 150px);
  padding-bottom: clamp(78px, 12vw, 150px);
}

.membership-verification-card {
  width: min(720px, 100%);
  padding: clamp(26px, 6vw, 58px);
  border: 1px solid rgba(212, 175, 55, 0.24);
  background:
    linear-gradient(145deg, rgba(212, 175, 55, 0.08), rgba(255, 255, 255, 0.018)),
    rgba(17, 17, 17, 0.86);
}

.membership-verification-card h1 {
  margin: 14px 0 22px;
}

.membership-verification-note {
  margin: 22px 0 0;
  color: var(--faint);
  font-size: 0.88rem;
  line-height: 1.6;
}

@media (max-width: 1100px) {
  .membership-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .membership-benefits {
    grid-template-columns: 1fr;
  }

  .membership-benefits article {
    min-height: auto;
  }

  .membership-hero-offer {
    grid-template-columns: minmax(0, 1fr);
  }

  .membership-hero-offer strong,
  .membership-hero-offer small {
    grid-column: 1;
    white-space: normal;
  }
}

/* CSE-077 Resource Library */
.resource-hero-copy,
.resource-section-heading,
.resource-card-grid,
.documentation-role-grid,
.resource-closing,
.guide-hero-grid,
.guide-learning-list,
.guide-use-grid,
.related-resource-grid {
  width: min(100%, var(--max-width));
  margin-inline: auto;
}

.resource-hero {
  min-height: 520px;
  display: grid;
  align-items: center;
}

.resource-hero-copy {
  max-width: 900px;
}

.resource-hero h1,
.guide-hero h1 {
  max-width: 900px;
  margin: 14px 0 22px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.resource-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.resource-trust-strip span {
  padding: 9px 13px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  color: var(--brand-gold-soft);
  background: rgba(212, 175, 55, 0.055);
  font-size: 0.78rem;
  font-weight: 800;
}

.resource-section-heading {
  margin-bottom: 32px;
}

.resource-section-heading h2 {
  max-width: 820px;
  margin: 14px 0 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.04;
}

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

.resource-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 4px;
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.055), rgba(255, 255, 255, 0.02)), rgba(18, 18, 18, 0.88);
}

.resource-card-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  background: #10110f;
}

.resource-card-media img,
.guide-cover img,
.related-resource-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.resource-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.resource-type,
.resource-meta,
.related-resource-grid span {
  color: var(--brand-gold-soft);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resource-card h3 {
  margin: 12px 0;
  color: var(--text);
  font-size: clamp(1.35rem, 2.1vw, 1.8rem);
  line-height: 1.16;
}

.resource-card p {
  margin: 0 0 18px;
  color: var(--muted);
}

.resource-card .resource-meta {
  margin-top: auto;
  color: var(--muted);
  line-height: 1.55;
}

.resource-card-actions {
  display: grid;
  gap: 14px;
}

.resource-card-actions .button {
  width: 100%;
}

.resource-download-link,
.resource-back-link,
.guide-secondary-cta,
.language-switch a,
.text-link,
.related-resource-grid a,
.legal-resource-links a,
.approved-resource-links a,
.followup-downloads a {
  color: var(--brand-gold-soft);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.documentation-role-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.documentation-role-grid article,
.guide-use-grid article {
  padding: 24px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  background: rgba(255, 255, 255, 0.025);
}

.documentation-role-grid span {
  color: var(--brand-gold-soft);
  font-weight: 800;
}

.documentation-role-grid h3,
.guide-use-grid h3 {
  margin: 12px 0 8px;
  font-size: 1.35rem;
}

.documentation-role-grid p,
.guide-use-grid p {
  margin: 0;
  color: var(--muted);
}

.resource-qualification {
  width: min(100%, var(--max-width));
  margin: 28px auto 0;
  padding: 18px 20px;
  border-left: 3px solid var(--brand-gold);
  color: var(--muted);
  background: rgba(212, 175, 55, 0.055);
}

.resource-qualification a {
  color: var(--brand-gold-soft);
  text-decoration: underline;
}

.resource-closing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 30px;
}

.guide-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: clamp(34px, 6vw, 88px);
}

.guide-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.9rem);
}

.resource-back-link {
  display: inline-block;
  margin-bottom: 24px;
}

.guide-meta {
  margin: 24px 0;
  line-height: 1.6;
}

.guide-actions {
  justify-content: flex-start;
}

.guide-actions button {
  font: inherit;
}

.share-status {
  min-height: 1.5em;
  margin: 12px 0 4px;
  color: #c7f1d8;
  font-weight: 800;
}

.guide-secondary-cta {
  display: inline-block;
  margin-top: 12px;
}

.guide-cover {
  overflow: hidden;
  margin: 0;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.38);
  background: #10110f;
}

.guide-learning-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
  padding: 0;
  list-style: none;
}

.guide-learning-list li {
  position: relative;
  padding: 18px 18px 18px 46px;
  border: 1px solid rgba(212, 175, 55, 0.16);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.018);
}

.guide-learning-list li::before {
  content: "✓";
  position: absolute;
  top: 18px;
  left: 18px;
  color: #8fddb1;
  font-weight: 800;
}

.guide-boundary .legal-copy {
  width: min(100%, 900px);
  margin-inline: auto;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(236, 179, 93, 0.25);
  background: rgba(236, 179, 93, 0.045);
}

.guide-use-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.language-switch {
  width: min(100%, var(--max-width));
  margin: 28px auto 0;
  color: var(--muted);
}

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

.related-resource-grid article {
  display: grid;
  grid-template-columns: minmax(180px, 0.75fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.2);
  background: rgba(255, 255, 255, 0.02);
}

.related-resource-grid img {
  aspect-ratio: 16 / 9;
}

.related-resource-grid article > div {
  padding: 22px;
}

.related-resource-grid h3 {
  margin: 10px 0 16px;
}

.form-resource-note,
.observer-preparation,
.early-access-followup {
  padding: 18px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  background: rgba(212, 175, 55, 0.045);
}

.form-resource-note p,
.observer-preparation p,
.early-access-followup p {
  margin: 8px 0 0;
  color: var(--muted);
}

.form-resource-note a,
.observer-preparation a {
  color: var(--brand-gold-soft);
  font-weight: 800;
}

.observer-preparation {
  margin-top: 24px;
}

.observer-preparation h2,
.early-access-followup h2 {
  margin: 0;
  font-size: 1.45rem;
}

.early-access-followup[hidden] {
  display: none;
}

.early-access-followup:focus-visible {
  outline: 2px solid var(--brand-gold);
  outline-offset: 3px;
}

.followup-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

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

.followup-downloads {
  font-size: 0.82rem;
}

.approved-resource-links,
.legal-resource-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 16px 0;
}

@media (max-width: 1100px) {
  .resource-card-grid,
  .documentation-role-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resource-card:last-child,
  .documentation-role-grid article:last-child {
    grid-column: 1 / -1;
  }

  .guide-use-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .related-resource-grid article {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .resource-hero {
    min-height: 0;
  }

  .resource-hero h1,
  .guide-hero h1 {
    font-size: clamp(2.25rem, 12vw, 3.5rem);
    line-height: 1.02;
  }

  .resource-card-grid,
  .documentation-role-grid,
  .guide-hero-grid,
  .guide-learning-list,
  .guide-use-grid,
  .related-resource-grid,
  .resource-closing {
    grid-template-columns: minmax(0, 1fr);
  }

  .resource-card:last-child,
  .documentation-role-grid article:last-child {
    grid-column: auto;
  }

  .guide-cover {
    grid-row: 1;
  }

  .guide-actions,
  .guide-actions .button,
  .resource-closing .button {
    width: 100%;
  }

  .resource-card-body,
  .documentation-role-grid article,
  .guide-use-grid article {
    padding: 20px;
  }

  .related-resource-grid article {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Consent-safe analytics controls */
.cse-consent-banner,
.cse-consent-dialog {
  color: #f5f1e8;
  border: 1px solid rgba(212, 175, 55, 0.38);
  background: linear-gradient(145deg, rgba(26, 26, 26, 0.98), rgba(9, 9, 9, 0.99));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}

.cse-consent-banner[hidden],
.cse-consent-manage[hidden],
.cse-consent-backdrop[hidden] {
  display: none;
}

.cse-consent-banner {
  position: fixed;
  z-index: 1200;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px;
  border-radius: 12px;
}

.cse-consent-copy {
  max-width: 690px;
}

.cse-consent-copy strong,
.cse-consent-category strong {
  color: #f0d891;
}

.cse-consent-copy p,
.cse-consent-category p {
  margin: 6px 0;
  color: #bbb5aa;
  font-size: 0.86rem;
  line-height: 1.55;
}

.cse-consent-copy a,
.cse-consent-link-button,
.cse-consent-close {
  color: #d4af37;
}

.cse-consent-copy a {
  font-size: 0.78rem;
}

.cse-consent-actions,
.cse-consent-dialog-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.cse-consent-button,
.cse-consent-link-button,
.cse-consent-close,
.cse-consent-manage {
  font: inherit;
  cursor: pointer;
}

.cse-consent-button {
  min-height: 42px;
  padding: 9px 14px;
  color: #f5f1e8;
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.78rem;
  font-weight: 750;
}

.cse-consent-button-primary {
  color: #0a0a0a;
  border-color: #d4af37;
  background: linear-gradient(135deg, #f0d891, #d4af37);
}

.cse-consent-link-button,
.cse-consent-close {
  padding: 6px;
  border: 0;
  background: transparent;
  font-size: 0.78rem;
}

.cse-consent-manage {
  position: fixed;
  z-index: 1100;
  bottom: 12px;
  left: 12px;
  padding: 7px 10px;
  color: #bbb5aa;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 7px;
  background: rgba(10, 10, 10, 0.9);
  font-size: 0.68rem;
}

.cse-consent-backdrop {
  position: fixed;
  z-index: 1300;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.74);
}

.cse-consent-dialog {
  width: min(100%, 620px);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 24px;
  border-radius: 12px;
}

.cse-consent-dialog-header,
.cse-consent-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cse-consent-dialog-header span {
  color: #d4af37;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cse-consent-dialog-header h2 {
  margin: 3px 0 0;
  font-size: 1.55rem;
}

.cse-consent-category {
  margin-top: 15px;
  padding: 15px 0;
  border-top: 1px solid rgba(212, 175, 55, 0.16);
}

.cse-consent-category > span {
  flex: 0 0 auto;
  color: #8d887e;
  font-size: 0.72rem;
}

.cse-consent-category input {
  width: 22px;
  height: 22px;
  accent-color: #d4af37;
}

.cse-consent-dialog-actions {
  margin-top: 18px;
}

.cse-consent-dialog-open {
  overflow: hidden;
}

@media (max-width: 760px) {
  .cse-consent-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
    display: block;
    padding: 17px;
  }

  .cse-consent-actions {
    justify-content: flex-start;
    margin-top: 15px;
  }

  .cse-consent-button {
    flex: 1 1 150px;
  }

  .cse-consent-dialog {
    padding: 19px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(212, 175, 55, 0.045), transparent 28%),
    var(--brand-black);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(212, 175, 55, 0.028) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 78%);
  z-index: -1;
}

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brand-gold);
  outline-offset: 3px;
}

code {
  color: var(--gold-2);
  font-size: 0.95em;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(16px, 2.2vw, 28px);
  min-height: 78px;
  padding: 10px clamp(18px, 4vw, 56px);
  background:
    linear-gradient(180deg, rgba(26, 26, 26, 0.82), rgba(10, 10, 10, 0.82));
  border-bottom: 1px solid rgba(212, 175, 55, 0.16);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.18);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.94), rgba(8, 8, 8, 0.9));
  border-bottom-color: rgba(212, 175, 55, 0.26);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-width: 0;
}

.brand-lockup {
  width: auto;
  height: clamp(54px, 4.8vw, 68px);
  max-width: min(25vw, 230px);
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.34));
}

.brand-monogram {
  display: none;
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.34));
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.7vw, 24px);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

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

.site-nav a:hover,
.footer-contact a:hover {
  color: var(--brand-gold-soft);
}

.nav-cta {
  justify-self: end;
  border: 1px solid rgba(212, 175, 55, 0.42);
  color: var(--brand-gold-soft);
  padding: 10px 16px;
  font-size: 0.84rem;
  font-weight: 700;
  background:
    linear-gradient(180deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.035)),
    rgba(10, 10, 10, 0.82);
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-cta:hover {
  border-color: rgba(212, 175, 55, 0.68);
  color: var(--gold-2);
  background: rgba(26, 26, 26, 0.92);
  transform: translateY(-1px);
}

.mobile-menu-button,
.mobile-nav,
.mobile-nav.is-open {
  display: none !important;
}

.mobile-menu-button {
  all: unset;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  justify-self: end;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  border-radius: 0;
  border: 1px solid rgba(212, 175, 55, 0.44);
  color: var(--brand-gold-soft);
  background:
    linear-gradient(145deg, rgba(212, 175, 55, 0.1), rgba(255, 255, 255, 0.025)),
    rgba(10, 10, 10, 0.82);
  padding: 0 13px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
}

.mobile-menu-button i {
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 160ms ease;
}

.mobile-menu-button[aria-expanded="true"] i {
  transform: rotate(225deg) translate(-1px, -1px);
}

.mobile-nav {
  position: absolute;
  top: calc(100% + 1px);
  left: clamp(18px, 4vw, 56px);
  right: clamp(18px, 4vw, 56px);
  z-index: 60;
  border: 1px solid rgba(212, 175, 55, 0.36);
  background:
    linear-gradient(145deg, rgba(212, 175, 55, 0.1), rgba(255, 255, 255, 0.025)),
    rgba(10, 10, 10, 0.97);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  padding: 10px;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.mobile-nav a:hover {
  color: var(--brand-gold-soft);
}

.mobile-nav a:last-child {
  border-bottom: 0;
}

.mobile-nav-cta {
  margin-top: 8px;
  border: 1px solid rgba(212, 175, 55, 0.42) !important;
  color: var(--brand-gold-soft) !important;
  background: rgba(212, 175, 55, 0.08);
}

.section-shell,
.content-band,
.site-footer {
  padding-left: clamp(18px, 4vw, 56px);
  padding-right: clamp(18px, 4vw, 56px);
}

.hero {
  position: relative;
  min-height: auto;
  display: block;
  overflow: hidden;
  padding-top: clamp(104px, 12vw, 150px);
  padding-bottom: clamp(48px, 7vw, 88px);
  background:
    radial-gradient(circle at 72% 24%, rgba(212, 175, 55, 0.08), transparent 28%),
    linear-gradient(135deg, #0a0a0a 0%, #11100e 48%, #1a1a1a 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.hero::before {
  top: clamp(92px, 12vw, 142px);
  right: max(-190px, -10vw);
  width: min(620px, 52vw);
  aspect-ratio: 530 / 572;
  background-image: url("assets/brand/cse-orbital-hero-mark.png");
  opacity: 0.09;
}

.hero::after {
  left: max(-220px, -12vw);
  bottom: -130px;
  width: min(560px, 48vw);
  aspect-ratio: 900 / 610;
  background-image: url("assets/brand/cse-fibonacci-mark.png");
  opacity: 0.05;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.84;
}

.hero-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(105deg, black 0%, black 40%, transparent 78%);
}

.hero-content,
.hero-panel,
.hero-next-preview {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow,
.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-gold-soft);
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.eyebrow {
  justify-content: center;
}

.eyebrow::before,
.section-label::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 1px;
  flex: 0 0 auto;
  background: var(--brand-gold-line);
}

.section-label::after {
  content: "";
  display: none;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.72;
}

.approach .section-label::after {
  display: inline-block;
  background-image: url("assets/brand/cse-icon-structure.png");
}

.inside-os .section-label::after {
  display: inline-block;
  background-image: url("assets/brand/cse-icon-precision.png");
}

.machine .section-label::after {
  display: inline-block;
  background-image: url("assets/brand/cse-icon-timing.png");
}

.pulse .section-label::after,
.video-showcase .section-label::after,
.founder .section-label::after {
  display: inline-block;
  background-image: url("assets/brand/cse-icon-intelligence.png");
}

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

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.02;
}

h1 {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 12px;
  font-size: clamp(3rem, 4.8vw, 5.2rem);
}

h2 {
  color: var(--text);
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  margin-bottom: 0;
}

h3 {
  line-height: 1.16;
  font-size: 1.08rem;
  margin-bottom: 10px;
}

.hero-subtitle {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: var(--gold-2);
  font-size: clamp(1.16rem, 1.9vw, 1.65rem);
  font-weight: 700;
  margin-bottom: 10px;
}

.hero-copy {
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.48;
}

.hero-definition {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.left-actions {
  justify-content: flex-start;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 0.9rem;
  line-height: 1.15;
  text-align: center;
  white-space: normal;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

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

.button-primary {
  color: #0a0a0a;
  background: linear-gradient(135deg, #f1d888, var(--brand-gold) 58%, #b88f22);
  box-shadow: 0 18px 46px rgba(212, 175, 55, 0.16);
}

.button-secondary {
  color: var(--brand-gold-soft);
  border-color: rgba(212, 175, 55, 0.44);
  background: rgba(10, 10, 10, 0.42);
}

.button-primary:hover {
  box-shadow: 0 20px 54px rgba(212, 175, 55, 0.22);
}

.button-secondary:hover {
  color: var(--gold-2);
  border-color: rgba(212, 175, 55, 0.66);
  background: rgba(26, 26, 26, 0.72);
}

.founder-update-teaser {
  padding-top: clamp(54px, 7vw, 90px);
  padding-bottom: clamp(54px, 7vw, 90px);
}

.founder-update-teaser-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.44fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  max-width: var(--max-width);
  margin: 18px auto 0;
}

.founder-update-teaser h2 {
  max-width: 820px;
}

.founder-update-actions {
  display: grid;
  gap: 12px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin-top: 14px;
}

.trust-row span {
  border: 1px solid rgba(212, 175, 55, 0.16);
  color: var(--muted);
  padding: 6px 9px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(26, 26, 26, 0.42);
}

.hero-panel,
.comparison-card,
.founder-card,
.mode-card,
.waitlist-form,
.waitlist-cta-panel {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow);
}

.hero-panel {
  width: min(100%, 420px);
  justify-self: end;
  padding: 24px;
  border-color: var(--line-gold);
  backdrop-filter: blur(18px);
}

.hero-next-preview {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  max-width: 680px;
  margin-top: 14px;
  padding: 10px 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.hero-next-preview span {
  color: var(--gold-2);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-next-preview strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
  font-size: 0.92rem;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 800;
}

.panel-header strong {
  color: var(--gold-2);
  text-align: right;
}

.signal-orbit {
  position: relative;
  height: 220px;
  margin: 30px 0;
  border: 1px solid rgba(213, 173, 88, 0.22);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(213, 173, 88, 0.22), transparent 46%);
  background-size: 28px 28px, 28px 28px, auto;
  overflow: hidden;
}

.signal-orbit::before,
.signal-orbit::after,
.signal-orbit span {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.signal-orbit::before {
  inset: 44px;
  border: 1px solid rgba(213, 173, 88, 0.3);
}

.signal-orbit::after {
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  background: var(--gold-2);
  box-shadow: 0 0 38px rgba(240, 216, 145, 0.7);
  transform: translate(-50%, -50%);
}

.signal-orbit span {
  width: 9px;
  height: 9px;
  background: rgba(245, 240, 231, 0.72);
}

.signal-orbit span:nth-child(1) {
  left: 18%;
  top: 34%;
}

.signal-orbit span:nth-child(2) {
  right: 18%;
  top: 22%;
}

.signal-orbit span:nth-child(3) {
  right: 30%;
  bottom: 20%;
}

.status-list {
  margin: 0;
}

.status-list div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.status-list dt {
  color: var(--faint);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.status-list dd {
  margin: 0;
  color: var(--text);
  text-align: right;
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-dashboard-block {
  position: relative;
  z-index: 2;
  width: min(100%, 1180px);
  margin: clamp(34px, 5vw, 58px) auto 0;
}

.product-frame,
.product-card,
.machine-preview,
.machine-layer-card {
  border: 1px solid var(--line-gold);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(212, 175, 55, 0.075), rgba(255, 255, 255, 0.022)),
    rgba(26, 26, 26, 0.62);
  box-shadow: var(--shadow-deep);
  overflow: hidden;
}

.product-frame {
  position: relative;
  border-color: rgba(212, 175, 55, 0.36);
}

.product-frame::before,
.product-card-media::before,
.machine-preview::before,
.machine-layer-card::before,
.machine-layer-media::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: inherit;
  z-index: 2;
}

.product-frame-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  min-height: 46px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(213, 173, 88, 0.22);
  color: var(--muted);
  background:
    linear-gradient(90deg, rgba(212, 175, 55, 0.08), transparent 36%),
    rgba(0, 0, 0, 0.62);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.product-frame-top::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  background: url("assets/brand/cse-monogram.png") center / contain no-repeat;
  opacity: 0.45;
}

.product-frame-top strong {
  color: var(--brand-gold-soft);
  white-space: normal;
}

.product-frame-top span,
.product-frame-top strong {
  min-width: 0;
  max-width: 100%;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.product-frame-top span {
  flex: 1 1 210px;
}

.product-frame-top strong {
  flex: 0 1 auto;
  text-align: right;
}

.product-frame img,
.product-card-media img,
.machine-preview > img,
.machine-layer-media img {
  width: 100%;
  height: auto;
}

.product-frame-hero {
  transform: translateZ(0);
}

.product-frame-hero img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.product-status-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid rgba(212, 175, 55, 0.18);
  background: rgba(212, 175, 55, 0.12);
}

.product-status-strip span {
  min-height: 42px;
  display: grid;
  place-items: center;
  padding: 9px 12px;
  color: var(--brand-gold-soft);
  background: rgba(10, 10, 10, 0.9);
  text-align: center;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.62fr);
  gap: clamp(28px, 6vw, 86px);
  max-width: var(--max-width);
  margin: 18px auto 0;
}

.product-section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.product-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: min(1480px, calc(100vw - clamp(36px, 8vw, 112px)));
  margin: 54px auto 0;
}

.product-card {
  position: relative;
  min-height: 430px;
  padding: 12px 12px 24px;
  border-color: rgba(212, 175, 55, 0.2);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.56);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
}

.product-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  margin-bottom: 22px;
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: 6px;
  background: #0a0a0a;
  overflow: hidden;
}

.product-card-media img {
  height: 100%;
  object-fit: cover;
  object-position: left top;
}

.product-card span,
.machine-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 999px;
  padding: 0 10px;
  color: var(--brand-gold-soft);
  background: rgba(212, 175, 55, 0.07);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-card h3 {
  margin: 18px 0 12px;
  color: var(--text);
  font-size: 1.18rem;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.video-showcase-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.62fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: end;
  max-width: var(--max-width);
  margin: 18px auto 0;
}

.video-showcase-head h2 {
  max-width: 820px;
}

.video-showcase-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(16px, 2vw, 24px);
  align-items: start;
  max-width: var(--max-width);
  margin: 48px auto 0;
}

.video-showcase-single .video-grid {
  grid-template-columns: minmax(0, 760px);
}

.video-card {
  width: 100%;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(212, 175, 55, 0.085), rgba(255, 255, 255, 0.024)),
    rgba(13, 13, 13, 0.84);
  box-shadow: var(--shadow-deep);
  overflow: hidden;
}

.video-card-portrait {
  max-width: 360px;
  justify-self: center;
}

.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  background:
    linear-gradient(135deg, rgba(212, 175, 55, 0.1), transparent 46%),
    #050505;
  overflow: hidden;
}

.video-card-portrait .video-embed {
  aspect-ratio: 9 / 16;
}

.video-embed iframe,
.video-poster,
.video-poster img {
  width: 100%;
  height: 100%;
}

.video-embed iframe {
  display: block;
  border: 0;
}

.video-poster {
  position: relative;
  display: block;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: var(--text);
  background: #050505;
}

.video-poster img {
  object-fit: cover;
  opacity: 0.86;
  transition: opacity 180ms ease, transform 220ms ease;
}

.video-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.36) 100%),
    radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.16), transparent 32%);
}

.video-poster span {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(232, 204, 116, 0.72);
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.72);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
  font-size: 0;
  transform: translate(-50%, -50%);
}

.video-poster span::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 18px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid var(--gold-2);
}

.video-poster:hover img {
  opacity: 1;
  transform: scale(1.025);
}

.video-card-copy {
  padding: 22px;
}

.video-card-copy span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 999px;
  padding: 0 10px;
  color: var(--brand-gold-soft);
  background: rgba(212, 175, 55, 0.07);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.video-card-copy h3 {
  margin: 16px 0 10px;
  color: var(--text);
  font-size: 1.2rem;
}

.video-card-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.content-band {
  padding-top: clamp(78px, 10vw, 132px);
  padding-bottom: clamp(78px, 10vw, 132px);
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent 22%),
    #0a0a0a;
  border-top: 1px solid var(--line);
}

.dark-band {
  background:
    radial-gradient(circle at 15% 18%, rgba(212, 175, 55, 0.07), transparent 28%),
    linear-gradient(180deg, #090909 0%, #151515 100%);
}

.content-band > * {
  position: relative;
  z-index: 1;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 6vw, 86px);
  max-width: var(--max-width);
  margin: 18px auto 0;
}

.section-label {
  max-width: var(--max-width);
  margin: 0 auto;
}

.rich-copy,
.section-note {
  color: var(--muted);
  font-size: 1.02rem;
}

.problem-grid,
.approach-steps,
.comparison-grid,
.timeline,
.audience-grid,
.principle-grid,
.proof-grid {
  display: grid;
  max-width: var(--max-width);
  margin: 52px auto 0;
  gap: 14px;
}

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

.problem-grid article,
.approach-steps article,
.timeline article,
.audience-grid article,
.principle-grid article,
.proof-grid article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid rgba(212, 175, 55, 0.14);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    rgba(26, 26, 26, 0.48);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.22);
}

.problem-grid span,
.timeline span,
.audience-grid span,
.principle-grid span,
.proof-grid span,
.step-number {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--brand-gold-soft);
  font-weight: 800;
  font-size: 0.78rem;
}

.problem-grid p,
.approach-steps p,
.timeline p,
.audience-grid p,
.principle-grid p,
.proof-grid p,
.comparison-card li,
.founder-card p,
.form-note,
.legal-copy p,
.legal-list li,
.legal-positioning,
.disclaimer,
.site-footer p {
  color: var(--muted);
}

.approach-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.capital-thesis {
  position: relative;
  overflow: hidden;
  max-width: var(--max-width);
  margin: 18px auto 0;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(212, 175, 55, 0.24);
  background:
    linear-gradient(135deg, rgba(212, 175, 55, 0.09), rgba(255, 255, 255, 0.02)),
    rgba(26, 26, 26, 0.38);
  box-shadow: var(--shadow);
}

.capital-thesis::after {
  content: "";
  position: absolute;
  right: -86px;
  bottom: -112px;
  width: 340px;
  aspect-ratio: 900 / 610;
  background: url("assets/brand/cse-fibonacci-mark.png") center / contain no-repeat;
  opacity: 0.045;
  pointer-events: none;
}

.capital-thesis > * {
  position: relative;
  z-index: 1;
}

.capital-thesis h2 {
  max-width: 930px;
}

.capital-thesis p {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.mode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: var(--max-width);
  margin: 52px auto 0;
}

.mode-card {
  min-height: 300px;
  padding: 28px;
  border-color: rgba(212, 175, 55, 0.16);
}

.mode-card.featured {
  border-color: rgba(212, 175, 55, 0.42);
  background:
    linear-gradient(145deg, rgba(212, 175, 55, 0.105), rgba(255, 255, 255, 0.028)),
    rgba(26, 26, 26, 0.48);
}

.mode-kicker {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--brand-gold-soft);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.mode-card h3 {
  font-size: 1.35rem;
}

.mode-card p {
  color: var(--muted);
}

.capital-pathway {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  max-width: var(--max-width);
  margin: 14px auto 0;
  border: 1px solid rgba(212, 175, 55, 0.16);
  background: rgba(212, 175, 55, 0.12);
}

.capital-pathway span {
  display: grid;
  place-items: center;
  min-height: 58px;
  padding: 10px;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 800;
  background: #111111;
}

.machine-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 0.84fr);
  gap: clamp(28px, 5vw, 70px);
  max-width: var(--max-width);
  margin: 18px auto 0;
  align-items: start;
}

.machine-grid > * {
  min-width: 0;
}

.machine-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.machine-preview,
.machine-layer-card,
.machine-layer-media {
  position: relative;
}

.machine-preview-stack {
  display: grid;
  gap: 12px;
  min-width: 0;
  width: 100%;
}

.machine-layer-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(210px, 0.62fr);
  gap: 0;
  min-height: 178px;
  overflow: hidden;
  border-color: rgba(212, 175, 55, 0.22);
}

.machine-layer-media {
  min-height: 100%;
  border-right: 1px solid rgba(212, 175, 55, 0.18);
  background: #0a0a0a;
  overflow: hidden;
}

.machine-layer-media img {
  display: block;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
}

.layer-live .machine-layer-media img {
  aspect-ratio: 1500 / 343;
}

.layer-position .machine-layer-media img {
  aspect-ratio: 16 / 9;
  object-position: 5% 9%;
}

.layer-portfolio .machine-layer-media img {
  aspect-ratio: 2720 / 614;
  object-fit: contain;
  object-position: center;
}

.machine-layer-copy {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 18px;
}

.machine-layer-copy span {
  color: var(--brand-gold-soft);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.machine-layer-copy strong {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.18;
}

.machine-layer-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

@media (min-width: 861px) {
  .machine-layer-card {
    grid-template-columns: minmax(0, 1fr) minmax(188px, 0.58fr);
    min-height: 0;
    height: clamp(188px, 15vw, 228px);
    max-height: 228px;
  }

  .machine-layer-media {
    min-width: 0;
    min-height: 0;
    height: 100%;
  }

  .machine-layer-media img {
    width: 100%;
    height: 100%;
  }

  .layer-portfolio .machine-layer-media img {
    padding: 10px;
  }

  .machine-layer-copy {
    min-width: 0;
    padding: clamp(14px, 1.5vw, 18px);
  }
}

@media (min-width: 861px) and (max-width: 1100px) {
  .machine-layer-card {
    grid-template-columns: minmax(0, 1.08fr) minmax(176px, 0.72fr);
    height: 208px;
  }

  .machine-layer-copy strong {
    font-size: 0.94rem;
  }

  .machine-layer-copy p {
    font-size: 0.8rem;
  }
}

.fib-visual,
.pressure-visual {
  max-width: min(1480px, calc(100vw - clamp(36px, 8vw, 112px)));
  margin: 54px auto 0;
}

.fib-system::before {
  content: "";
  position: absolute;
  top: 42px;
  right: max(-180px, -8vw);
  width: min(520px, 48vw);
  aspect-ratio: 900 / 610;
  background: url("assets/brand/cse-fibonacci-mark.png") center / contain no-repeat;
  opacity: 0.07;
  pointer-events: none;
}

.fib-system::after {
  content: "";
  position: absolute;
  left: clamp(18px, 6vw, 96px);
  right: clamp(18px, 6vw, 96px);
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.18), transparent);
  pointer-events: none;
}

.fib-visual figcaption,
.pressure-visual figcaption {
  margin: 0;
}

.fib-visual figcaption {
  padding: 12px 16px;
  border-top: 1px solid rgba(212, 175, 55, 0.18);
  color: var(--muted);
  background: rgba(0, 0, 0, 0.6);
  font-size: 0.82rem;
  font-weight: 700;
}

.pulse-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(420px, 1fr);
  gap: clamp(28px, 6vw, 86px);
  max-width: var(--max-width);
  margin: 18px auto 0;
  align-items: center;
}

.pulse-copy {
  min-width: 0;
}

.pulse-visual {
  grid-column: 2;
  grid-row: 1;
}

.pulse-visual img {
  aspect-ratio: 5 / 3;
  object-fit: cover;
}

.pulse::before,
.founder::before,
.waitlist::before,
.legal-hero::before {
  content: "";
  position: absolute;
  pointer-events: none;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.pulse::before {
  right: max(-130px, -7vw);
  top: 54px;
  width: min(360px, 38vw);
  aspect-ratio: 1;
  background-image: url("assets/brand/cse-icon-intelligence.png");
  opacity: 0.035;
}

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

.comparison-card {
  padding: 28px;
  border-color: rgba(212, 175, 55, 0.18);
}

.comparison-card h3 {
  color: var(--brand-gold-soft);
  font-size: 1.4rem;
}

.comparison-card ul {
  display: grid;
  gap: 14px;
  padding-left: 20px;
  margin: 26px 0 0;
}

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

.waitlist-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.55fr);
  gap: clamp(28px, 6vw, 86px);
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: start;
}

.waitlist::before {
  left: max(-170px, -9vw);
  bottom: -116px;
  width: min(520px, 48vw);
  aspect-ratio: 935 / 1098;
  background-image: url("assets/brand/cse-monogram-universe.png");
  opacity: 0.055;
}

.waitlist-layout .section-label {
  margin: 0 0 18px;
}

.waitlist-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-color: rgba(212, 175, 55, 0.28);
  background:
    linear-gradient(145deg, rgba(212, 175, 55, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(26, 26, 26, 0.58);
}

.waitlist-cta-panel {
  display: grid;
  gap: 18px;
  padding: 28px;
  border-color: rgba(212, 175, 55, 0.28);
  background:
    linear-gradient(145deg, rgba(212, 175, 55, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(26, 26, 26, 0.58);
}

.waitlist-cta-panel p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.form-status {
  border: 1px solid rgba(212, 175, 55, 0.34);
  color: var(--brand-gold-soft);
  padding: 14px;
  font-weight: 800;
  background: rgba(212, 175, 55, 0.07);
}

.form-status a,
.form-note a {
  color: var(--brand-gold-soft);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.form-status[data-status-state="success"] {
  border-color: rgba(111, 198, 149, 0.52);
  color: #c7f1d8;
  background: rgba(111, 198, 149, 0.1);
}

.form-status[data-status-state="error"] {
  border-color: rgba(236, 125, 106, 0.54);
  color: #ffd0c7;
  background: rgba(236, 125, 106, 0.1);
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

input,
select,
textarea {
  min-height: 48px;
  border: 1px solid rgba(245, 240, 231, 0.14);
  border-radius: 0;
  color: var(--text);
  background: rgba(10, 10, 10, 0.48);
  padding: 0 13px;
  font: inherit;
  width: 100%;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(212, 175, 55, 0.62);
  background: rgba(10, 10, 10, 0.68);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.11);
}

textarea {
  min-height: 120px;
  padding-top: 13px;
  resize: vertical;
}

.honeypot-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent-field {
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  text-transform: none;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.5;
}

.consent-field input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 3px 0 0;
  accent-color: var(--gold);
}

.consent-field span {
  min-width: 0;
}

.turnstile-field {
  min-height: 65px;
}

.optional-label {
  color: var(--faint);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.route-main {
  padding-top: 78px;
  background: #0a0a0a;
}

.route-hero {
  padding-top: clamp(62px, 8vw, 104px);
  padding-bottom: clamp(58px, 8vw, 104px);
}

.route-hero-shell {
  max-width: 920px;
  margin: 18px auto 0;
  text-align: center;
}

.route-lede {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
  font-size: clamp(1.2rem, 2.5vw, 1.9rem);
  font-weight: 700;
}

.route-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: var(--max-width);
  margin: 34px auto 0;
}

.route-feature-grid article {
  min-height: 170px;
  padding: 24px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  background:
    linear-gradient(145deg, rgba(212, 175, 55, 0.07), rgba(255, 255, 255, 0.018)),
    rgba(26, 26, 26, 0.48);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.22);
}

.route-feature-grid span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--brand-gold-soft);
  font-weight: 800;
  font-size: 0.78rem;
}

.route-feature-grid h2 {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.12rem;
  line-height: 1.2;
}

.route-disclaimer,
.approved-demo-panel {
  max-width: var(--max-width);
  margin: 28px auto 0;
  border: 1px solid rgba(212, 175, 55, 0.32);
  color: var(--brand-gold-soft);
  background: rgba(212, 175, 55, 0.07);
  padding: 16px;
  font-weight: 800;
}

.approved-demo-panel {
  display: grid;
  gap: 10px;
  margin: 0;
  color: #c7f1d8;
  border-color: rgba(111, 198, 149, 0.52);
  background: rgba(111, 198, 149, 0.1);
}

.observer-access-panel {
  display: grid;
  align-self: start;
  gap: 12px;
}

.route-waitlist {
  min-height: calc(100vh - 78px);
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
  cursor: not-allowed;
  opacity: 0.66;
}

.button:disabled:hover {
  color: var(--brand-gold-soft);
  border-color: rgba(212, 175, 55, 0.44);
  background: rgba(10, 10, 10, 0.42);
  transform: none;
}

.form-note {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
}

.founder {
  position: relative;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.12), rgba(212, 175, 55, 0.055)),
    #0a0a0a;
}

.founder::before {
  right: max(-140px, -8vw);
  top: 32px;
  width: min(390px, 42vw);
  aspect-ratio: 1;
  background-image: url("assets/brand/cse-icon-intelligence.png");
  opacity: 0.04;
}

.founder-card {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 64px);
  border-color: rgba(212, 175, 55, 0.3);
  background:
    linear-gradient(145deg, rgba(212, 175, 55, 0.075), rgba(255, 255, 255, 0.022)),
    rgba(26, 26, 26, 0.62);
}

.founder-card .section-label {
  margin: 0 0 18px;
}

.founder-card p {
  max-width: 860px;
  font-size: 1.08rem;
}

.signature {
  margin-top: 32px;
  color: var(--brand-gold-soft) !important;
  font-weight: 800;
}

.legal-main {
  padding-top: 78px;
  background: #0a0a0a;
}

.legal-hero {
  position: relative;
  padding-top: clamp(56px, 7vw, 92px);
  padding-bottom: clamp(48px, 6vw, 78px);
}

.legal-hero::before {
  right: max(-160px, -8vw);
  top: -8px;
  width: min(460px, 42vw);
  aspect-ratio: 530 / 572;
  background-image: url("assets/brand/cse-orbital-hero-mark.png");
  opacity: 0.06;
}

.legal-shell {
  max-width: 900px;
  margin: 18px auto 0;
}

.legal-shell h1 {
  margin-bottom: 20px;
}

.legal-lede {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(1.22rem, 2.4vw, 1.8rem);
  font-weight: 700;
}

.legal-section {
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(56px, 8vw, 96px);
}

.legal-copy h2 {
  margin-bottom: 24px;
  font-size: clamp(1.85rem, 3.2vw, 3.2rem);
}

.legal-copy p {
  max-width: 720px;
  font-size: 1.02rem;
}

.legal-list {
  display: grid;
  gap: 12px;
  max-width: 680px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.legal-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
}

.company-contact,
.footer-address {
  display: grid;
  gap: 4px;
  margin: 0;
  color: var(--muted);
  font-style: normal;
  line-height: 1.62;
}

.company-contact strong,
.footer-address strong {
  color: var(--text);
  font-size: 1rem;
}

.footer-address span,
.footer-address a {
  min-width: 0;
  overflow-wrap: break-word;
}

.company-contact a,
.footer-address a {
  color: var(--brand-gold-soft);
  font-weight: 800;
}

.contact-card h2 {
  margin-bottom: 18px;
}

.site-footer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(280px, 380px);
  gap: clamp(24px, 4vw, 56px);
  padding-top: 46px;
  padding-bottom: 46px;
  border-top: 1px solid rgba(212, 175, 55, 0.22);
  background:
    linear-gradient(180deg, rgba(26, 26, 26, 0.64), rgba(10, 10, 10, 0.98)),
    #0a0a0a;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: clamp(18px, 4vw, 56px);
  right: clamp(18px, 4vw, 56px);
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.46), transparent);
}

.site-footer::after {
  content: "";
  position: absolute;
  right: -92px;
  bottom: -118px;
  width: min(340px, 42vw);
  aspect-ratio: 900 / 610;
  background: url("assets/brand/cse-fibonacci-mark.png") center / contain no-repeat;
  opacity: 0.045;
  pointer-events: none;
}

.site-footer > * {
  position: relative;
  z-index: 1;
}

.site-footer h2 {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1rem;
  margin-bottom: 4px;
}

.footer-lockup {
  width: min(100%, 360px);
  height: auto;
  margin: -18px 0 12px -24px;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.32));
}

.footer-contact-block {
  display: grid;
  justify-self: end;
  justify-items: start;
  gap: 14px;
  width: min(100%, 380px);
  max-width: 38ch;
  text-align: left;
}

.footer-contact-label {
  margin: 0;
  color: var(--brand-gold-soft) !important;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px 16px;
  color: var(--brand-gold-soft);
  font-weight: 800;
  font-size: 0.9rem;
}

.legal-positioning {
  grid-column: 1 / -1;
  max-width: 980px;
  margin: 0;
  color: var(--text) !important;
  font-size: 0.92rem;
  font-weight: 800;
}

.disclaimer {
  grid-column: 1 / -1;
  max-width: 980px;
  margin: 0;
  font-size: 0.84rem;
}

@media (min-width: 861px) {
  .site-nav {
    display: flex;
  }

  .nav-cta {
    display: inline-flex;
  }

  .mobile-menu-button,
  .mobile-nav,
  .mobile-nav.is-open {
    display: none !important;
  }

  .legal-main {
    background:
      radial-gradient(circle at 12% 14%, rgba(212, 175, 55, 0.06), transparent 24%),
      #0a0a0a;
  }

  .legal-hero .section-label,
  .legal-shell {
    max-width: 1040px;
  }

  .legal-hero {
    padding-top: 76px;
    padding-bottom: 58px;
  }

  .legal-hero .legal-shell {
    max-width: 980px;
  }

  .legal-lede {
    max-width: 680px;
  }

  .legal-section {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .legal-copy {
    max-width: 980px;
    padding: clamp(28px, 4vw, 44px);
    border: 1px solid rgba(212, 175, 55, 0.24);
    background:
      linear-gradient(145deg, rgba(212, 175, 55, 0.07), rgba(255, 255, 255, 0.024)),
      rgba(26, 26, 26, 0.46);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.24);
  }

  .legal-copy h2 {
    margin-bottom: 20px;
  }

  .legal-copy p {
    max-width: 720px;
    margin-bottom: 16px;
    line-height: 1.72;
  }

  .legal-list {
    max-width: 720px;
    gap: 4px;
    margin-bottom: 24px;
  }

  .site-footer {
    align-items: start;
  }

  .legal-positioning,
  .disclaimer {
    max-width: 880px;
  }
}

@media (max-width: 1100px) {
  .brand-lockup {
    height: clamp(48px, 5vw, 58px);
    max-width: min(23vw, 196px);
  }

  .site-footer {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 24px;
  }

  .footer-contact-block {
    width: min(100%, 360px);
    max-width: 36ch;
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    min-height: 70px;
  }

  .site-nav {
    display: none;
  }

  .mobile-menu-button {
    display: inline-flex !important;
  }

  .mobile-nav.is-open:not([hidden]) {
    display: grid !important;
  }

  .hero,
  .section-grid,
  .product-section-head,
  .video-showcase-head,
  .machine-grid,
  .pulse-layout,
  .founder-update-teaser-layout,
  .waitlist-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 96px;
    padding-bottom: 24px;
    gap: 22px;
  }

  .hero::before {
    top: 88px;
    right: -230px;
    width: 540px;
    opacity: 0.065;
  }

  .hero::after,
  .fib-system::after {
    display: none;
  }

  .hero-panel {
    justify-self: stretch;
    width: 100%;
  }

  .product-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: var(--max-width);
  }

  .video-showcase-single .video-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pulse-visual {
    grid-column: auto;
    grid-row: auto;
  }

  .problem-grid,
  .approach-steps,
  .timeline,
  .audience-grid,
  .principle-grid,
  .proof-grid,
  .route-feature-grid,
  .mode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-contact {
    justify-content: flex-start;
  }

  .footer-contact-block {
    justify-items: start;
    justify-self: start;
    width: 100%;
    max-width: 100%;
    text-align: left;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .brand-lockup {
    display: none;
  }

  .brand-monogram {
    display: block;
    width: 58px;
    height: 58px;
  }

  .nav-cta {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  h1 {
    font-size: clamp(2.72rem, 13vw, 3.55rem);
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3.2rem);
  }

  .hero-actions,
  .trust-row,
  .panel-header,
  .status-list div {
    align-items: stretch;
  }

  .hero-next-preview {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .hero-next-preview strong {
    white-space: normal;
  }

  .hero-next-preview {
    display: none;
  }

  .product-status-strip {
    display: none;
  }

  .hero-copy {
    margin: 18px 0 0;
    font-size: 0.94rem;
    line-height: 1.58;
  }

  .hero-actions {
    margin-top: 20px;
    gap: 10px;
  }

  .trust-row {
    margin-top: 14px;
    gap: 7px;
  }

  .trust-row span {
    padding: 6px 8px;
    font-size: 0.68rem;
    line-height: 1.2;
  }

  .hero-dashboard-block {
    margin-top: 28px;
  }

  .button {
    width: 100%;
  }

  .content-band {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .site-footer {
    gap: 22px;
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .footer-contact-block {
    gap: 12px;
  }

  .footer-address {
    line-height: 1.68;
  }

  .problem-grid,
  .approach-steps,
  .comparison-grid,
  .timeline,
  .audience-grid,
  .principle-grid,
  .proof-grid,
  .route-feature-grid,
  .mode-grid,
  .product-card-grid,
  .capital-pathway {
    grid-template-columns: 1fr;
  }

  .product-status-strip {
    grid-template-columns: 1fr;
  }

  .video-grid {
    margin-top: 34px;
  }

  .video-card-copy {
    padding: 18px;
  }

  .product-frame-top {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    min-height: 58px;
    gap: 3px;
  }

  .product-frame-top::before {
    width: 16px;
    height: 16px;
  }

  .product-frame-hero .product-frame-top {
    min-height: 48px;
  }

  .product-frame-hero img {
    aspect-ratio: 16 / 7.2;
  }

  .product-frame-top strong {
    white-space: normal;
  }

  .problem-grid article,
  .approach-steps article,
  .timeline article,
  .audience-grid article,
  .principle-grid article,
  .proof-grid article,
  .mode-card,
  .product-card {
    min-height: auto;
  }

	  .product-card-media {
	    aspect-ratio: 16 / 11;
	  }

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

  .machine-layer-media {
    border-right: 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  }

  .machine-layer-media img {
    max-height: 220px;
  }

	  .panel-header,
	  .status-list div {
	    flex-direction: column;
	  }

  .status-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .status-list dd {
    text-align: left;
  }
}

@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;
  }
}

.public-home .clarity-hero {
  min-height: auto;
  padding-top: clamp(116px, 10vw, 156px);
  padding-bottom: clamp(52px, 7vw, 92px);
  background:
    linear-gradient(180deg, rgba(212, 175, 55, 0.035), transparent 42%),
    linear-gradient(135deg, #090909 0%, #11100e 46%, #171717 100%);
}

.clarity-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.08fr);
  gap: clamp(30px, 5vw, 76px);
  max-width: min(1320px, calc(100vw - clamp(36px, 8vw, 112px)));
  margin: 0 auto;
  align-items: center;
}

.clarity-hero-copy {
  min-width: 0;
}

.public-home .clarity-hero .eyebrow {
  justify-content: flex-start;
}

.public-home .clarity-hero h1 {
  max-width: 720px;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
  font-size: clamp(3.05rem, 5.5vw, 5.85rem);
}

.public-home .clarity-hero .hero-subtitle,
.public-home .clarity-hero .hero-copy {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.public-home .clarity-hero .hero-subtitle {
  max-width: 760px;
  color: var(--text);
  font-size: clamp(1.16rem, 1.7vw, 1.48rem);
}

.public-home .clarity-hero .hero-copy {
  max-width: 670px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.64;
}

.trust-row-left {
  justify-content: flex-start;
}

.clarity-hero-visual {
  min-width: 0;
  margin: 0;
}

.illustrative-dashboard-disclosure {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 13px 16px 14px;
  border-bottom: 1px solid rgba(213, 173, 88, 0.22);
  background:
    linear-gradient(90deg, rgba(212, 175, 55, 0.085), transparent 58%),
    rgba(10, 10, 10, 0.86);
}

.illustrative-dashboard-disclosure span {
  color: var(--brand-gold-soft);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.35;
  text-transform: uppercase;
}

.illustrative-dashboard-disclosure p {
  margin: 0;
  color: #d7d4cc;
  font-size: 0.76rem;
  line-height: 1.5;
}

.clarity-hero-visual img {
  aspect-ratio: 16 / 10.4;
  object-fit: cover;
  object-position: center top;
}

.clarity-explain {
  border-top-color: rgba(212, 175, 55, 0.22);
}

.clarity-card-grid article {
  min-height: 250px;
}

.question-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  max-width: min(1320px, calc(100vw - clamp(36px, 8vw, 112px)));
  margin: 48px auto 0;
}

.question-grid article {
  min-height: 190px;
  padding: 22px;
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(212, 175, 55, 0.07), rgba(255, 255, 255, 0.018)),
    rgba(21, 21, 21, 0.74);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.22);
}

.question-grid span,
.module-category-head span,
.module-card span {
  display: inline-block;
  max-width: 100%;
  color: var(--brand-gold-soft);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  overflow-wrap: anywhere;
}

.question-grid h3 {
  margin: 48px 0 0;
  color: var(--text);
  font-size: 1.18rem;
}

.module-category {
  max-width: min(1320px, calc(100vw - clamp(36px, 8vw, 112px)));
  margin: clamp(46px, 6vw, 72px) auto 0;
  padding-top: clamp(24px, 4vw, 38px);
  border-top: 1px solid rgba(212, 175, 55, 0.22);
}

.module-category-head {
  display: grid;
  grid-template-columns: minmax(190px, 0.28fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 54px);
  align-items: start;
  margin-bottom: 22px;
}

.module-category-head h3 {
  max-width: 780px;
  margin: 0;
  color: var(--text);
  font-size: clamp(1.35rem, 2.4vw, 2.05rem);
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 14px;
}

.module-card {
  display: grid;
  grid-template-rows: 178px minmax(0, 1fr);
  min-width: 0;
  min-height: 430px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(212, 175, 55, 0.07), rgba(255, 255, 255, 0.02)),
    rgba(17, 17, 17, 0.88);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

.module-card img {
  width: 100%;
  height: 178px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  background: #050505;
  object-fit: cover;
  object-position: center top;
}

.module-card div {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  padding: 20px;
}

.module-card h4 {
  margin: 0;
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.module-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.52;
  overflow-wrap: anywhere;
}

.module-card strong {
  display: block;
  max-width: 100%;
  margin-top: 4px;
  color: var(--gold-2);
  font-size: 0.82rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.closing-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.56fr);
  gap: clamp(28px, 6vw, 86px);
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: start;
}

.closing-cta-grid .section-label {
  margin: 0 0 18px;
}

@media (max-width: 1100px) {
  .clarity-hero-grid,
  .product-section-head,
  .section-grid,
  .closing-cta-grid {
    grid-template-columns: 1fr;
  }

  .clarity-hero-grid {
    max-width: var(--max-width);
  }

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

@media (max-width: 860px) {
  .public-home .clarity-hero {
    padding-top: 112px;
  }

  .public-home .clarity-hero h1 {
    font-size: clamp(2.72rem, 11vw, 4.2rem);
  }

  .clarity-hero-grid,
  .question-grid,
  .module-category {
    max-width: calc(100vw - 36px);
  }

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

  .module-category-head {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .module-card {
    grid-template-rows: 164px minmax(0, 1fr);
    min-height: 390px;
  }

  .module-card img {
    height: 164px;
  }
}

@media (max-width: 680px) {
  .public-home .clarity-hero .hero-actions,
  .public-home .clarity-hero .button,
  .closing-cta .button {
    width: 100%;
  }

  .trust-row-left {
    justify-content: flex-start;
  }

  .clarity-hero-visual img {
    aspect-ratio: 16 / 11;
  }

  .question-grid,
  .module-grid {
    grid-template-columns: 1fr;
  }

  .question-grid article {
    min-height: 150px;
  }

  .question-grid h3 {
    margin-top: 28px;
  }

  .module-card {
    min-height: auto;
  }
}

.route-hero-grid,
.route-copy-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(390px, 0.74fr);
  gap: clamp(28px, 6vw, 78px);
  max-width: var(--max-width);
  margin: 18px auto 0;
  align-items: center;
}

.route-hero-grid .eyebrow {
  justify-content: flex-start;
  margin-top: 28px;
}

.route-hero-grid h1 {
  max-width: 780px;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

.route-hero-grid .route-lede {
  max-width: 720px;
  margin-left: 0;
  margin-right: 0;
  color: var(--text);
  font-size: clamp(1.16rem, 2.1vw, 1.72rem);
}

.route-product-visual {
  min-width: 0;
  margin: 0;
}

.route-product-visual img {
  aspect-ratio: 16 / 9.2;
  object-fit: cover;
  object-position: center top;
}

.route-copy-grid {
  align-items: start;
}

.briefing-feature-grid article {
  display: grid;
  align-content: start;
  gap: 12px;
}

.briefing-feature-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.52;
}

.route-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 30px 0 28px;
}

.route-info-grid article {
  min-height: 150px;
  padding: 18px;
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(212, 175, 55, 0.07), rgba(255, 255, 255, 0.018)),
    rgba(17, 17, 17, 0.72);
}

.route-info-grid span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--brand-gold-soft);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.route-info-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.early-access-layout,
.observer-layout,
.membership-layout {
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.62fr);
}

@media (max-width: 1100px) {
  .route-hero-grid,
  .route-copy-grid,
  .early-access-layout,
  .observer-layout,
  .membership-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .route-info-grid {
    grid-template-columns: 1fr;
  }

  .route-info-grid article {
    min-height: auto;
  }

  .route-info-grid span {
    margin-bottom: 16px;
  }
}

/* CSE-071 strategic adjustment: broader, calmer, warmer public surface. */
:root {
  --brand-gold: #b7934f;
  --brand-gold-soft: rgba(183, 147, 79, 0.74);
  --brand-gold-line: rgba(183, 147, 79, 0.22);
  --brand-black: #151713;
  --brand-charcoal: #20211d;
  --black: #151713;
  --charcoal: #20211d;
  --charcoal-2: #242620;
  --charcoal-3: #2a2a23;
  --gold: #b7934f;
  --gold-2: #d4bd82;
  --gold-dim: rgba(183, 147, 79, 0.1);
  --olive: #748062;
  --olive-2: #a8b694;
  --olive-line: rgba(168, 182, 148, 0.28);
  --surface: #1b1d18;
  --surface-2: #22241f;
  --surface-3: #292b25;
  --text: #f4f1ea;
  --muted: #cbc5b8;
  --faint: #958d7e;
  --line: rgba(244, 241, 234, 0.13);
  --line-gold: rgba(183, 147, 79, 0.2);
  --shadow: 0 18px 52px rgba(0, 0, 0, 0.26);
  --shadow-deep: 0 24px 72px rgba(0, 0, 0, 0.34);
}

body {
  background:
    radial-gradient(circle at 22% 0%, rgba(168, 182, 148, 0.12), transparent 28%),
    linear-gradient(180deg, #1b1d18 0%, #171814 48%, #151713 100%);
}

body::before {
  background:
    linear-gradient(90deg, rgba(168, 182, 148, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(244, 241, 234, 0.018) 1px, transparent 1px);
  opacity: 0.55;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline-color: var(--olive-2);
}

.site-header,
.site-header.is-scrolled {
  background:
    linear-gradient(180deg, rgba(32, 33, 29, 0.92), rgba(21, 23, 19, 0.88));
  border-bottom-color: rgba(168, 182, 148, 0.22);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.site-nav,
.mobile-nav a {
  color: #d4cec2;
}

.site-nav a:hover,
.footer-contact a:hover {
  color: var(--olive-2);
}

.nav-cta,
.mobile-menu-button,
.mobile-nav-cta {
  border-color: var(--olive-line);
  color: var(--olive-2);
  background:
    linear-gradient(180deg, rgba(168, 182, 148, 0.12), rgba(168, 182, 148, 0.04)),
    rgba(27, 29, 24, 0.82);
}

.nav-cta:hover {
  border-color: rgba(168, 182, 148, 0.58);
  color: #dfe8cf;
  background: rgba(34, 36, 31, 0.94);
}

.mobile-nav {
  border-color: var(--olive-line);
  background:
    linear-gradient(145deg, rgba(168, 182, 148, 0.12), rgba(255, 255, 255, 0.03)),
    rgba(27, 29, 24, 0.98);
}

.public-home .clarity-hero,
.route-page .route-hero,
.route-waitlist {
  background:
    radial-gradient(circle at 76% 30%, rgba(168, 182, 148, 0.12), transparent 30%),
    linear-gradient(135deg, #1d1f1a 0%, #20211d 54%, #181a16 100%);
}

.hero-noise {
  background-image:
    linear-gradient(rgba(168, 182, 148, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 241, 234, 0.018) 1px, transparent 1px);
  opacity: 0.52;
}

.public-home .clarity-hero h1,
.route-hero-grid h1,
.route-waitlist h1,
h2 {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 800;
  line-height: 1.05;
}

.public-home .clarity-hero h1 {
  font-size: 4.65rem;
}

.route-hero-grid h1,
.route-waitlist h1 {
  font-size: 4.2rem;
}

h2 {
  font-size: 3.55rem;
}

.public-home .clarity-hero .hero-subtitle,
.route-hero-grid .route-lede {
  color: #f1eee7;
}

.eyebrow,
.section-label,
.question-grid span,
.module-category-head span,
.module-card span,
.route-info-grid span,
.product-card span,
.machine-tags span {
  color: var(--olive-2);
}

.eyebrow::before,
.section-label::before {
  background: var(--olive-line);
}

.button-primary {
  color: #10120f;
  background: linear-gradient(135deg, #e2ead4, #a8b694 58%, #7f8d6c);
  box-shadow: 0 16px 34px rgba(168, 182, 148, 0.14);
}

.button-primary:hover {
  box-shadow: 0 18px 42px rgba(168, 182, 148, 0.2);
}

.button-secondary {
  color: #d4cec2;
  border-color: rgba(168, 182, 148, 0.34);
  background: rgba(244, 241, 234, 0.035);
}

.button-secondary:hover {
  color: #e7ecdb;
  border-color: rgba(168, 182, 148, 0.58);
  background: rgba(168, 182, 148, 0.1);
}

.trust-row span,
.product-status-strip span {
  border-color: rgba(168, 182, 148, 0.2);
  color: #d5d0c5;
  background: rgba(244, 241, 234, 0.04);
}

.content-band {
  background:
    linear-gradient(180deg, rgba(244, 241, 234, 0.022), transparent 30%),
    var(--surface);
  border-top-color: rgba(244, 241, 234, 0.1);
}

.dark-band {
  background:
    radial-gradient(circle at 16% 18%, rgba(168, 182, 148, 0.08), transparent 30%),
    linear-gradient(180deg, #20211d 0%, #1a1c17 100%);
}

.product-frame,
.product-card,
.machine-preview,
.machine-layer-card,
.waitlist-form,
.waitlist-cta-panel,
.question-grid article,
.module-card,
.route-info-grid article,
.route-feature-grid article,
.problem-grid article,
.approach-steps article,
.timeline article,
.audience-grid article,
.principle-grid article,
.proof-grid article,
.mode-card {
  border-color: rgba(168, 182, 148, 0.22);
  background:
    linear-gradient(145deg, rgba(168, 182, 148, 0.075), rgba(244, 241, 234, 0.026)),
    rgba(34, 36, 31, 0.78);
  box-shadow: var(--shadow);
}

.product-frame {
  border-color: rgba(168, 182, 148, 0.3);
}

.product-frame-top {
  border-bottom-color: rgba(168, 182, 148, 0.2);
  background:
    linear-gradient(90deg, rgba(168, 182, 148, 0.12), transparent 38%),
    rgba(21, 23, 19, 0.74);
}

.product-frame-top strong,
.module-card strong,
.comparison-card h3,
.signature,
.form-status,
.form-status a,
.form-note a {
  color: var(--olive-2) !important;
}

.module-card img,
.product-card-media,
.machine-layer-media {
  border-color: rgba(168, 182, 148, 0.18);
  background: #141611;
}

.module-category,
.fib-system::after {
  border-top-color: rgba(168, 182, 148, 0.22);
}

.route-feature-grid h2 {
  font-size: 1.12rem;
}

.form-status {
  border-color: rgba(168, 182, 148, 0.34);
  background: rgba(168, 182, 148, 0.08);
}

input,
select,
textarea {
  border-color: rgba(244, 241, 234, 0.16);
  background: rgba(21, 23, 19, 0.56);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(168, 182, 148, 0.62);
  box-shadow: 0 0 0 3px rgba(168, 182, 148, 0.12);
}

.site-footer {
  background:
    linear-gradient(180deg, #1a1c17, #141611);
  border-top-color: rgba(168, 182, 148, 0.18);
}

@media (max-width: 1100px) {
  .public-home .clarity-hero h1,
  .route-hero-grid h1,
  .route-waitlist h1 {
    font-size: 3.55rem;
  }

  h2 {
    font-size: 3rem;
  }
}

@media (max-width: 680px) {
  .public-home .clarity-hero h1,
  .route-hero-grid h1,
  .route-waitlist h1 {
    font-size: 2.72rem;
  }

  h2 {
    font-size: 2.25rem;
  }
}

/* CSE-071b audience path architecture. */
.path-selector {
  background:
    radial-gradient(circle at 82% 10%, rgba(168, 182, 148, 0.1), transparent 28%),
    linear-gradient(180deg, #22241f 0%, #1b1d18 100%);
}

.path-selector-head {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.58fr);
  gap: clamp(28px, 6vw, 86px);
  max-width: var(--max-width);
  margin: 18px auto 0;
  align-items: end;
}

.path-selector-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.path-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: var(--max-width);
  margin: 48px auto 0;
}

.path-card {
  display: grid;
  grid-template-rows: 156px auto auto minmax(106px, 1fr) auto auto;
  min-height: 560px;
  padding: 12px 26px 26px;
  border: 1px solid rgba(168, 182, 148, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(168, 182, 148, 0.085), rgba(244, 241, 234, 0.03)),
    rgba(34, 36, 31, 0.82);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.path-card-build {
  border-color: rgba(183, 147, 79, 0.26);
  background:
    linear-gradient(145deg, rgba(183, 147, 79, 0.07), rgba(168, 182, 148, 0.04)),
    rgba(34, 36, 31, 0.84);
}

.path-card-pro {
  border-color: rgba(244, 241, 234, 0.16);
  background:
    linear-gradient(145deg, rgba(244, 241, 234, 0.055), rgba(168, 182, 148, 0.045)),
    rgba(28, 30, 25, 0.88);
}

.path-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  margin: 22px 0 24px;
  padding: 0 14px;
  border: 1px solid rgba(168, 182, 148, 0.34);
  border-radius: 999px;
  color: var(--olive-2);
  background: rgba(168, 182, 148, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.path-card-media {
  position: relative;
  width: calc(100% + 24px);
  height: 156px;
  margin: 0 0 0 -12px;
  border-bottom: 1px solid rgba(168, 182, 148, 0.2);
  background: #141611;
  overflow: hidden;
}

.path-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.92;
}

.path-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(21, 23, 19, 0.28) 100%),
    linear-gradient(90deg, rgba(168, 182, 148, 0.12), transparent 46%);
  pointer-events: none;
}

.path-card h3 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 1.42rem;
  line-height: 1.14;
}

.path-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.58;
}

.path-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-self: end;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.path-tag-list li {
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(168, 182, 148, 0.22);
  border-radius: 999px;
  color: #d8d2c6;
  background: rgba(244, 241, 234, 0.035);
  font-size: 0.76rem;
  font-weight: 800;
}

.path-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.path-card-actions .button {
  min-height: 40px;
  padding-inline: 16px;
}

.path-card-cta {
  color: var(--olive-2);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(168, 182, 148, 0.34);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.path-route-hero .route-product-visual img {
  min-height: 330px;
  object-fit: cover;
}

.path-route-section {
  background:
    linear-gradient(180deg, rgba(244, 241, 234, 0.026), transparent 32%),
    #1b1d18;
}

.path-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: var(--max-width);
  margin: 46px auto 0;
}

.build-page .path-detail-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

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

.path-detail-grid article {
  min-height: 230px;
  padding: 22px;
  border: 1px solid rgba(168, 182, 148, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(168, 182, 148, 0.075), rgba(244, 241, 234, 0.026)),
    rgba(34, 36, 31, 0.78);
  box-shadow: var(--shadow);
}

.path-detail-grid span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--olive-2);
  font-size: 0.76rem;
  font-weight: 800;
}

.path-detail-grid h3 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 1.12rem;
}

.path-detail-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.52;
}

.path-module-section {
  background:
    radial-gradient(circle at 18% 12%, rgba(168, 182, 148, 0.075), transparent 28%),
    #20211d;
}

.path-module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: var(--max-width);
  margin: 46px auto 0;
}

.build-module-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pro-module-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.path-module-grid article {
  display: grid;
  grid-template-rows: 138px auto auto;
  gap: 14px;
  min-width: 0;
  min-height: 292px;
  padding: 12px 12px 22px;
  border: 1px solid rgba(168, 182, 148, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(168, 182, 148, 0.075), rgba(244, 241, 234, 0.026)),
    rgba(27, 29, 24, 0.86);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.path-module-grid img {
  width: 100%;
  height: 138px;
  border: 1px solid rgba(168, 182, 148, 0.18);
  border-radius: 6px;
  object-fit: cover;
  object-position: center top;
  background: #141611;
}

.path-module-grid span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: calc(100% - 16px);
  min-height: 28px;
  margin: 0 8px;
  padding: 0 10px;
  border: 1px solid rgba(168, 182, 148, 0.26);
  border-radius: 999px;
  color: var(--olive-2);
  background: rgba(168, 182, 148, 0.075);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: normal;
  overflow-wrap: anywhere;
}

.path-module-grid h3 {
  margin: 0 8px;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.path-next-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: center;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(168, 182, 148, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(168, 182, 148, 0.085), rgba(244, 241, 234, 0.026)),
    rgba(27, 29, 24, 0.84);
  box-shadow: var(--shadow);
}

.path-next-panel .section-label {
  margin: 0 0 18px;
}

.path-next-panel h2 {
  margin-bottom: 14px;
}

.path-next-panel p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.path-next-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

@media (max-width: 1100px) {
  .path-selector-head,
  .path-next-panel {
    grid-template-columns: 1fr;
  }

  .path-card-grid,
  .path-detail-grid,
  .build-page .path-detail-grid,
  .pro-detail-grid,
  .path-module-grid,
  .build-module-grid,
  .pro-module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .path-next-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .path-card-grid,
  .path-detail-grid,
  .build-page .path-detail-grid,
  .pro-detail-grid,
  .path-module-grid,
  .build-module-grid,
  .pro-module-grid {
    grid-template-columns: 1fr;
  }

  .path-card {
    grid-template-rows: auto;
    min-height: auto;
    padding: 12px 22px 22px;
  }

  .path-card-media {
    width: calc(100% + 20px);
    height: 148px;
    margin-left: -10px;
  }

  .path-card-actions,
  .path-card-actions .button,
  .path-next-panel .button,
  .path-next-actions {
    width: 100%;
  }

  .path-detail-grid article {
    min-height: auto;
  }

  .path-module-grid article {
    min-height: auto;
  }

  .path-route-hero .route-product-visual img {
    min-height: 240px;
  }
}

.pro-credo {
  margin: 18px 0 0;
  max-width: 680px;
  color: var(--olive-2);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.5;
}

.pro-page .route-product-visual img {
  aspect-ratio: 16 / 8.8;
  min-height: 360px;
  object-position: center;
}

@media (max-width: 760px) {
  .pro-page .route-product-visual img {
    min-height: 250px;
  }
}

/* CSE-071f: mobile-only cleanup for real product screenshots and CTA alignment. */
@media (max-width: 760px) {
  .hero-actions .button,
  .path-card-actions .button,
  .path-next-actions .button,
  .path-next-panel .button,
  .closing-cta .button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    padding: 13px 16px;
    line-height: 1.15;
    text-align: center;
  }

  .product-frame {
    background: rgba(34, 36, 31, 0.96);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.26);
  }

  .product-frame::before {
    display: none;
  }

  .product-frame-top {
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
    padding: 10px 12px;
    gap: 2px;
    background: rgba(21, 23, 19, 0.88);
    letter-spacing: 0.08em;
  }

  .product-frame-top::before {
    display: none;
  }

  .product-frame-top span,
  .product-frame-top strong {
    flex: 0 1 auto;
    text-align: left;
  }

  .clarity-hero-visual img,
  .route-product-visual img,
  .path-route-hero .route-product-visual img,
  .pro-page .route-product-visual img {
    display: block;
    min-height: 0;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center top;
    background: #141611;
  }

  .path-card {
    padding: 0 22px 22px;
  }

  .path-card-media {
    width: calc(100% + 44px);
    height: auto;
    min-height: 0;
    margin: 0 -22px 22px;
    background: #141611;
  }

  .path-card-media::after {
    display: none;
  }

  .path-card-media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center top;
    opacity: 0.96;
  }

  .module-card,
  .path-module-grid article {
    grid-template-rows: auto minmax(0, 1fr);
  }

  .module-card img,
  .path-module-grid img {
    height: auto;
    aspect-ratio: auto;
    border: 0;
    border-bottom: 1px solid rgba(168, 182, 148, 0.18);
    object-fit: contain;
    object-position: center top;
  }
}

/* CSE Governance Library v1.0 */
.governance-main {
  padding-top: 78px;
  background:
    radial-gradient(circle at 82% 4%, rgba(183, 147, 79, 0.05), transparent 26%),
    #171814;
}

.governance-shell,
.governance-document-shell {
  width: min(100%, 1160px);
  margin: 0 auto;
}

.governance-hero {
  padding-top: clamp(64px, 8vw, 100px);
  padding-bottom: clamp(62px, 8vw, 104px);
}

.governance-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: clamp(36px, 7vw, 96px);
  align-items: end;
  margin-top: 28px;
}

.governance-hero h1,
.governance-document-hero h1 {
  max-width: 900px;
  margin-bottom: 14px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.governance-tagline,
.governance-document-subtitle {
  margin: 0;
  color: var(--olive-2);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.governance-library-meta,
.governance-document-metadata,
.governance-status-legend {
  margin: 0;
}

.governance-library-meta {
  display: grid;
  border-top: 1px solid rgba(168, 182, 148, 0.25);
}

.governance-library-meta div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(244, 241, 234, 0.11);
}

.governance-library-meta dt,
.governance-document-metadata dt {
  color: var(--faint);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.governance-library-meta dd,
.governance-document-metadata dd {
  margin: 0;
  color: var(--text);
  font-weight: 700;
}

.library-active-indicator {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: #a8b694;
  box-shadow: 0 0 0 4px rgba(168, 182, 148, 0.12);
}

.governance-intro {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 52px);
  margin-top: clamp(54px, 8vw, 92px);
  padding-top: 28px;
  border-top: 1px solid rgba(244, 241, 234, 0.12);
}

.governance-intro p {
  margin: 0;
  color: #d8d2c7;
  font-size: 0.98rem;
  line-height: 1.75;
}

.governance-status-section,
.governance-chapter-nav,
.governance-library,
.governance-boundary,
.governance-document-overview,
.governance-document-body,
.governance-document-closing {
  padding-top: clamp(54px, 7vw, 86px);
  padding-bottom: clamp(54px, 7vw, 86px);
}

.governance-section-heading {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(320px, 1.15fr);
  gap: 18px clamp(36px, 7vw, 100px);
  align-items: end;
}

.governance-section-heading .section-label {
  grid-column: 1 / -1;
}

.governance-section-heading h2,
.governance-boundary h2,
.governance-document-overview h2,
.governance-document-closing h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.035em;
}

.governance-section-heading > p:last-child,
.governance-boundary > .governance-shell > p,
.governance-document-closing > .governance-document-shell > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.governance-status-legend {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 42px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.governance-status-legend > div {
  min-height: 148px;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(244, 241, 234, 0.022);
}

.governance-status-legend dd {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.governance-status {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 26px;
  padding: 5px 9px;
  border: 1px solid rgba(244, 241, 234, 0.18);
  border-radius: 999px;
  color: #d8d2c7;
  background: rgba(244, 241, 234, 0.045);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.075em;
  white-space: nowrap;
}

.governance-status-published {
  border-color: rgba(168, 182, 148, 0.4);
  color: #dce8cb;
  background: rgba(168, 182, 148, 0.1);
}

.governance-status-editorial-review {
  border-color: rgba(212, 189, 130, 0.36);
  color: #ddc98f;
  background: rgba(183, 147, 79, 0.09);
}

.governance-status-planned {
  color: #bcb5a8;
}

.governance-status-archived {
  border-style: dashed;
  color: #9c9589;
  background: transparent;
}

.governance-chapter-nav ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 32px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  list-style: none;
}

.governance-chapter-nav li {
  min-width: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.governance-chapter-nav a {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 72px;
  padding: 16px;
  color: #d8d2c7;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
  transition: color 160ms ease, background 160ms ease;
}

.governance-chapter-nav a:hover {
  color: var(--text);
  background: rgba(168, 182, 148, 0.07);
}

.governance-chapter-nav a span {
  color: var(--olive-2);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}

.governance-library {
  background: #181a16;
}

.governance-chapter {
  scroll-margin-top: 96px;
  padding: clamp(46px, 7vw, 78px) 0;
  border-bottom: 1px solid rgba(244, 241, 234, 0.12);
}

.governance-chapter:first-child {
  padding-top: 0;
}

.governance-chapter:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.governance-chapter-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
}

.governance-chapter-number {
  margin: 0 0 8px;
  color: var(--olive-2);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.governance-chapter-header h2 {
  max-width: 780px;
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1.6rem, 3.2vw, 2.75rem);
  letter-spacing: -0.035em;
}

.governance-chapter-header > p {
  margin: 0;
  color: var(--faint);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.governance-document-list {
  border-top: 1px solid rgba(244, 241, 234, 0.13);
}

.governance-document-row {
  display: grid;
  grid-template-columns: minmax(160px, 0.42fr) minmax(320px, 1fr) 220px;
  gap: clamp(22px, 4vw, 54px);
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid rgba(244, 241, 234, 0.1);
}

.governance-document-identifiers {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.governance-id {
  color: #c4bdae;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.075em;
}

.governance-document-copy h3 {
  margin: 0 0 8px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  line-height: 1.35;
}

.governance-document-copy h3 a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(168, 182, 148, 0.36);
  text-underline-offset: 5px;
}

.governance-document-copy h3 a:hover {
  text-decoration-color: var(--olive-2);
}

.governance-document-copy > p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.governance-document-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 12px;
  color: var(--faint);
  font-size: 0.74rem;
  font-weight: 700;
}

.governance-back-link {
  color: var(--olive-2);
  font-size: 0.78rem;
  font-weight: 800;
}

.governance-publication-actions-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-self: stretch;
  width: 220px;
}

.governance-publication-actions-card .button {
  width: 100%;
  min-height: 44px;
  padding: 0 16px;
  font-size: 0.78rem;
}

.governance-publication-control {
  gap: 7px;
}

.governance-button-tertiary {
  color: #c9c3b7;
  border-color: rgba(244, 241, 234, 0.2);
  background: transparent;
}

.governance-button-tertiary:hover {
  color: var(--text);
  border-color: rgba(168, 182, 148, 0.46);
  background: rgba(168, 182, 148, 0.07);
}

.governance-new-tab-indicator {
  font-size: 0.9em;
  line-height: 1;
}

.governance-boundary h2 {
  max-width: 760px;
  margin: 20px 0 18px;
}

.governance-boundary > .governance-shell > p {
  max-width: 800px;
}

.governance-boundary .button {
  margin-top: 26px;
}

.governance-document-shell {
  max-width: 1040px;
}

.governance-document-hero {
  padding-top: clamp(54px, 8vw, 94px);
  padding-bottom: clamp(54px, 8vw, 90px);
}

.governance-back-link {
  display: inline-flex;
  margin-bottom: 38px;
}

.governance-document-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 22px;
  color: var(--olive-2);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.governance-document-hero h1 {
  font-size: clamp(2.65rem, 6vw, 5.4rem);
}

.governance-legal-notice {
  max-width: 930px;
  margin-top: clamp(40px, 6vw, 68px);
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(212, 189, 130, 0.34);
  border-left: 3px solid #b7934f;
  background:
    linear-gradient(135deg, rgba(183, 147, 79, 0.09), rgba(244, 241, 234, 0.025)),
    rgba(21, 23, 19, 0.72);
}

.governance-legal-notice h2 {
  margin: 0 0 10px;
  color: #ddc98f;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.governance-legal-notice p {
  margin: 0;
  color: #e0dbd1;
  font-size: 0.94rem;
  line-height: 1.72;
}

.governance-document-overview-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(420px, 1.25fr);
  gap: clamp(42px, 8vw, 110px);
}

.governance-document-overview h2 {
  margin-top: 20px;
}

.governance-document-metadata {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.governance-document-metadata div {
  min-height: 84px;
  padding: 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.governance-document-metadata dd {
  margin-top: 7px;
  font-size: 0.9rem;
}

.governance-document-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  margin-top: 34px;
}

.governance-document-actions .button {
  min-height: 44px;
}

.governance-document-body {
  background: #ede9df;
  color: #20211d;
}

.governance-prose {
  max-width: 880px;
}

.governance-prose > section {
  padding: clamp(42px, 6vw, 72px) 0;
  border-bottom: 1px solid rgba(32, 33, 29, 0.18);
}

.governance-prose > section:first-child {
  padding-top: 0;
}

.governance-prose > section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.governance-section-number {
  margin: 0 0 10px;
  color: #6b745b;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.governance-prose h2 {
  margin: 0 0 22px;
  color: #20211d;
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1.9rem, 4vw, 3.25rem);
  letter-spacing: -0.04em;
}

.governance-prose p {
  color: #34362f;
  font-size: 1.02rem;
  line-height: 1.82;
}

.governance-principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(32, 33, 29, 0.18);
  border-left: 1px solid rgba(32, 33, 29, 0.18);
  list-style: none;
  counter-reset: governance-principle;
}

.governance-principles li {
  min-height: 200px;
  padding: 24px;
  border-right: 1px solid rgba(32, 33, 29, 0.18);
  border-bottom: 1px solid rgba(32, 33, 29, 0.18);
  counter-increment: governance-principle;
}

.governance-principles h3 {
  margin: 0 0 12px;
  color: #20211d;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1rem;
}

.governance-principles h3::before {
  content: counter(governance-principle, decimal-leading-zero) ". ";
  color: #6b745b;
}

.governance-principles p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.68;
}

.governance-prose blockquote {
  margin: 0;
  padding: clamp(24px, 4vw, 38px);
  border-left: 3px solid #6b745b;
  background: rgba(107, 116, 91, 0.08);
}

.governance-prose blockquote p {
  margin: 0;
  color: #20211d;
  font-size: clamp(1.08rem, 2.2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.55;
}

.governance-prose blockquote p + p {
  margin-top: 20px;
}

.governance-document-closing h2 {
  margin: 20px 0 16px;
}

.governance-document-closing > .governance-document-shell > p {
  max-width: 720px;
}

.governance-card-media {
  display: flex;
  min-height: 230px;
  align-items: flex-end;
  padding: 24px;
  color: var(--text);
  background:
    linear-gradient(145deg, rgba(168, 182, 148, 0.16), rgba(183, 147, 79, 0.08)),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(244, 241, 234, 0.035) 39px 40px),
    #1a1c17;
}

.governance-card-media span {
  max-width: 14ch;
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.resource-page .resource-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.resource-page .resource-card:last-child {
  grid-column: auto;
}

@media (max-width: 960px) {
  .governance-hero-grid,
  .governance-document-overview-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .governance-library-meta {
    max-width: 560px;
  }

  .governance-intro,
  .governance-status-legend {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .governance-chapter-nav ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .governance-document-row {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .governance-publication-actions-card {
    grid-column: 2;
    justify-self: start;
    width: 220px;
  }
}

@media (max-width: 680px) {
  .governance-main {
    padding-top: 70px;
  }

  .governance-hero h1,
  .governance-document-hero h1 {
    letter-spacing: -0.045em;
  }

  .governance-intro,
  .governance-section-heading,
  .governance-status-legend,
  .governance-chapter-nav ol,
  .governance-document-row,
  .governance-document-metadata,
  .governance-principles {
    grid-template-columns: minmax(0, 1fr);
  }

  .governance-document-row {
    gap: 18px;
  }

  .governance-publication-actions-card {
    grid-column: auto;
    width: 100%;
  }

  .governance-status-legend > div {
    min-height: 0;
  }

  .governance-chapter-header {
    grid-template-columns: minmax(0, 1fr);
  }

  .governance-chapter-header > p {
    display: none;
  }

  .governance-document-actions,
  .governance-document-actions .button,
  .governance-publication-actions-card .button {
    width: 100%;
  }

  .governance-publication-actions-card .button {
    min-height: 44px;
  }

  .governance-principles li {
    min-height: 0;
  }

  .resource-page .resource-card-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media print {
  @page {
    size: A4;
    margin: 18mm;
  }

  .governance-document-page {
    background: #fff !important;
    color: #111 !important;
  }

  .governance-document-page .site-header,
  .governance-document-page .site-footer,
  .governance-document-page .governance-back-link,
  .governance-document-page .governance-document-actions,
  .governance-document-page .governance-document-closing {
    display: none !important;
  }

  .governance-document-page .governance-main {
    padding-top: 0;
    background: #fff !important;
  }

  .governance-document-page .content-band,
  .governance-document-page .dark-band,
  .governance-document-page .governance-document-body {
    padding: 16px 0;
    color: #111 !important;
    background: #fff !important;
    border-color: #bbb !important;
  }

  .governance-document-page h1,
  .governance-document-page h2,
  .governance-document-page h3,
  .governance-document-page p,
  .governance-document-page dt,
  .governance-document-page dd,
  .governance-document-page .governance-document-subtitle {
    color: #111 !important;
  }

  .governance-document-page .governance-legal-notice,
  .governance-document-page .governance-prose blockquote {
    border-color: #555;
    background: #f3f3f3 !important;
  }

  .governance-document-page .governance-principles li {
    break-inside: avoid;
  }
}

/* CSE Member Hub customer dashboard v0.2 */
.resource-card-locked .resource-card-media {
  position: relative;
}

.member-resource-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 8px 11px;
  border: 1px solid rgba(232, 204, 116, 0.55);
  border-radius: 999px;
  color: var(--text);
  background: rgba(10, 10, 10, 0.88);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.member-main {
  min-height: 80vh;
}

.member-page {
  overflow-x: hidden;
}

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

.member-hero {
  min-height: 500px;
  display: grid;
  align-items: center;
}

.member-hero h1 {
  max-width: 900px;
  margin: 14px 0 22px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.member-hero .route-lede {
  margin-left: 0;
}

.member-dashboard-band {
  padding-top: clamp(64px, 8vw, 112px);
}

.member-dashboard {
  display: grid;
  gap: clamp(56px, 7vw, 92px);
}

.member-dashboard-section {
  min-width: 0;
  scroll-margin-top: 110px;
}

.member-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 26px;
}

.member-section-heading h2 {
  margin: 10px 0 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.member-section-heading > p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.member-overview-grid,
.member-support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.member-dashboard-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(26px, 4vw, 40px);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 4px;
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.07), rgba(255, 255, 255, 0.02)), rgba(18, 18, 18, 0.94);
  box-shadow: var(--shadow);
}

.member-dashboard-card-featured {
  border-color: rgba(232, 204, 116, 0.48);
  background:
    radial-gradient(circle at 90% 10%, rgba(212, 175, 55, 0.16), transparent 36%),
    linear-gradient(145deg, rgba(80, 88, 65, 0.5), rgba(12, 12, 12, 0.96));
}

.member-dashboard-card h3 {
  margin: 12px 0;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.12;
}

.member-dashboard-card > p,
.member-feature-list {
  color: var(--muted);
  line-height: 1.65;
}

.member-dashboard-card > .button,
.member-card-actions {
  margin-top: auto;
}

.member-feature-list {
  display: grid;
  gap: 8px;
  margin: 8px 0 28px;
  padding-left: 20px;
}

.member-detail-list {
  display: grid;
  gap: 0;
  margin: 12px 0 26px;
}

.member-detail-list > div {
  display: grid;
  grid-template-columns: minmax(115px, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.16);
}

.member-detail-list dt {
  color: var(--faint);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.member-detail-list dd {
  min-width: 0;
  margin: 0;
  color: var(--text);
  font-weight: 750;
  overflow-wrap: anywhere;
}

.member-billing-issue {
  border-color: rgba(255, 174, 110, 0.52);
}

.member-workspace-card {
  max-width: none;
}

.member-workspace-count {
  margin: 10px 0;
  color: var(--text) !important;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

.member-workspace-count strong {
  color: var(--brand-gold-soft);
}

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

.member-card-actions {
  display: grid;
  gap: 10px;
}

.member-account-email {
  overflow-wrap: anywhere;
}

.member-trial-workspace {
  margin-bottom: 34px;
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid rgba(232, 204, 116, 0.42);
  border-radius: 4px;
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.1), rgba(18, 18, 18, 0.96));
  box-shadow: var(--shadow);
}

.member-trial-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.42fr);
  gap: 30px;
  align-items: start;
}

.member-trial-header h2,
.member-workspace-positions h3 {
  margin: 10px 0 18px;
}

.member-trial-header p,
.member-workspace-empty,
.member-position-card p,
.member-cancel-dialog p {
  color: var(--muted);
  line-height: 1.6;
}

.member-trial-actions {
  display: grid;
  justify-items: stretch;
  gap: 12px;
}

.member-trial-actions [data-cancel-trial-status] {
  min-height: 1.5em;
  margin: 0;
  color: var(--brand-gold-soft);
  font-size: 0.92rem;
}

.member-trial-cancelled {
  color: var(--brand-gold-soft) !important;
  font-weight: 800;
}

.member-workspace-positions {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

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

.member-position-card {
  padding: 20px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  background: rgba(5, 5, 5, 0.42);
}

.member-position-card h4 {
  margin: 8px 0;
  font-size: 1.25rem;
}

.member-cancel-dialog {
  width: min(100% - 32px, 580px);
  padding: clamp(24px, 5vw, 40px);
  border: 1px solid rgba(232, 204, 116, 0.5);
  color: var(--text);
  background: #121212;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.72);
}

.member-cancel-dialog::backdrop {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

.member-cancel-dialog h2 {
  margin-top: 0;
}

.member-cancel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

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

.member-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 4px;
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.06), rgba(255, 255, 255, 0.02)), rgba(18, 18, 18, 0.92);
  box-shadow: var(--shadow);
}

.member-card-visual {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  background: #10110f;
}

.member-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-demo-visual {
  display: grid;
  place-items: end start;
  padding: clamp(24px, 5vw, 46px);
  background:
    radial-gradient(circle at 78% 38%, transparent 0 68px, rgba(212, 175, 55, 0.2) 69px 70px, transparent 71px 108px, rgba(212, 175, 55, 0.1) 109px 110px, transparent 111px),
    linear-gradient(145deg, rgba(80, 88, 65, 0.6), rgba(10, 10, 10, 0.9));
}

.member-demo-visual span {
  color: var(--gold-2);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.member-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(24px, 4vw, 34px);
}

.member-card-body h3 {
  margin: 12px 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.member-card-body > p:not(.resource-meta) {
  color: var(--muted);
  line-height: 1.65;
}

.member-card-body .resource-meta {
  margin-top: auto;
  margin-bottom: 18px;
}

.member-card-body form,
.member-card-body .button {
  width: 100%;
}

.member-card-note,
.private-material-notice {
  margin: 18px 0 0;
  color: var(--faint) !important;
  font-size: 0.82rem;
  font-weight: 700;
}

.member-launch-status {
  min-height: 1.5em;
  margin: 0.8rem 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
}

.member-launch-error {
  color: #ffd5cf;
}

.member-footer {
  padding: 28px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  background: #080808;
}

.member-footer .member-shell,
.member-footer nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.member-footer p {
  margin: 0;
  color: var(--faint);
}

.member-footer a,
.member-pdf-fallback a {
  color: var(--brand-gold-soft);
  font-weight: 800;
}

.member-pdf-viewer {
  display: block;
  width: 100%;
  min-height: min(78vh, 900px);
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: #111;
}

.member-pdf-fallback {
  color: var(--muted);
}

.member-access-state {
  width: min(100% - 40px, 760px);
  min-height: 100vh;
  margin-inline: auto;
  display: grid;
  align-content: center;
  justify-items: start;
}

.member-access-state h1 {
  margin: 14px 0;
  font-size: clamp(2.3rem, 6vw, 4.8rem);
}

.member-access-state p {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

@media (max-width: 760px) {
  .member-hero {
    min-height: 300px;
    padding-block: 64px 48px;
  }

  .member-hero h1 {
    font-size: clamp(2.65rem, 13vw, 3.7rem);
  }

  .member-dashboard-band {
    padding: 52px 20px 72px;
  }

  .member-dashboard {
    gap: 56px;
  }

  .member-section-heading {
    display: grid;
    gap: 14px;
  }

  .member-trial-header,
  .member-position-grid,
  .member-overview-grid,
  .member-support-grid,
  .member-resource-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .member-card-grid:not(.member-resource-grid) {
    grid-template-columns: minmax(0, 1fr);
  }

  .member-dashboard-card,
  .member-card-body {
    padding: 24px;
  }

  .member-detail-list > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
  }

  .member-page .button {
    min-height: 48px;
    height: auto;
    padding: 13px 16px;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .member-footer .member-shell,
  .member-footer nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .member-pdf-viewer {
    min-height: 62vh;
  }
}
