* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--color-surface-dark);
  overflow-x: clip;
}

body {
  background-color: var(--color-surface-dark);
  color: var(--color-cream);
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
}

/* 70% centered page container with a gradual descent into the background and no hard border */
.page-container {
  width: 70%;
  margin-left: auto;
  margin-right: auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  background-color: var(--color-surface-dark);
  border-left: none;
  border-right: none;
  box-shadow:
    -25px 0 60px -15px rgba(0, 0, 0, 0.5),
    25px 0 60px -15px rgba(0, 0, 0, 0.5);
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.site-header {
  align-items: center;
  background: var(--color-surface-dark);
  border-bottom: var(--border) solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--color-border) 8%, var(--color-border) 92%, transparent) 1;
  display: flex;
  gap: var(--space-5);
  height: 80px;
  justify-content: space-between;
  padding: 0 clamp(var(--space-6), 4vw, var(--header-x));
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
}

.site-brand-group {
  align-items: center;
  display: flex;
  gap: var(--space-3);
}

.site-header__divider {
  color: var(--color-muted);
  font-family: var(--font-mono);
  font-size: var(--text-base);
  font-weight: 500;
  opacity: var(--half-opacity);
}

.site-header__title {
  color: var(--color-copy);
  font-family: var(--font-mono);
  font-size: var(--text-nav);
  font-weight: 500;
}

.hero--error {
  background: var(--color-surface-dark);
  flex: 1;
  min-height: 65vh;
  justify-content: center;
  padding-top: clamp(var(--space-12), 12vh, var(--space-16));
  padding-bottom: clamp(var(--space-12), 12vh, var(--space-16));
}

.site-nav {
  display: flex;
  gap: var(--space-8);
}

.site-nav a,
.site-footer a {
  color: var(--color-copy);
  font-family: var(--font-mono);
  font-size: var(--text-nav);
  font-weight: 500;
  text-decoration: none;
}

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

.action-button--header {
  font-size: var(--text-sm);
  padding: var(--header-button-y) var(--space-5);
}

.hero {
  align-items: center;
  background: var(--color-surface-dark);
  border-bottom: var(--border) solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--color-border) 8%, var(--color-border) 92%, transparent) 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  isolation: isolate;
  overflow: visible;
  padding: var(--hero-y) clamp(var(--space-6), 5vw, var(--section-x)) var(--section-y-tight);
  position: relative;
  text-align: center;
}

.hero-dot-grid {
  background-image: radial-gradient(var(--color-accent) var(--size-dot), transparent var(--size-dot));
  background-size: var(--space-5) var(--space-5);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  opacity: var(--dot-opacity);
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: radial-gradient(ellipse 95% 85% at 50% 35%, #000 40%, transparent 95%);
  mask-image: radial-gradient(ellipse 95% 85% at 50% 35%, #000 40%, transparent 95%);
}

.hero__glow {
  background: radial-gradient(circle, var(--color-accent-glow), transparent);
  border-radius: var(--radius-round);
  filter: blur(var(--glow-blur));
  height: var(--glow-height);
  left: calc(50% - var(--glow-half));
  position: absolute;
  top: var(--glow-top);
  width: var(--glow-size);
}

.hero__content,
.hero__actions {
  align-items: center;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.hero__content {
  gap: var(--space-8);
  max-width: var(--hero-max);
}

.hero h1 {
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 600;
  line-height: var(--line-tight);
  margin: 0;
}

.hero__content>p {
  color: var(--color-copy);
  font-family: var(--font-body);
  font-size: var(--size-check);
  line-height: var(--line-copy);
  margin: 0;
}

.hero__actions {
  gap: var(--space-8);
}

.hero__benefits {
  display: flex;
  gap: var(--space-6);
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero__benefits li {
  align-items: center;
  display: flex;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 500;
  gap: var(--space-2);
}

.hero__benefits li::before {
  background: var(--color-accent);
  border-radius: var(--radius-round);
  content: "";
  height: var(--size-marker);
  width: var(--size-marker);
}

.section {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  padding: var(--section-y) clamp(var(--space-6), 5vw, var(--section-x));
}

.section--approach {
  background: linear-gradient(90deg,
      var(--color-surface-dark) 0%,
      var(--color-surface-light) 6%,
      var(--color-surface-light) 94%,
      var(--color-surface-dark) 100%);
  border-bottom: var(--border) solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--color-border) 8%, var(--color-border) 92%, transparent) 1;
}

.approach-layout {
  align-items: center;
  display: flex;
  gap: var(--space-12);
  flex-wrap: wrap;
}

.approach-layout__copy {
  display: flex;
  flex: 1 1 360px;
  flex-direction: column;
  gap: var(--space-8);
  min-width: 0;
}

.approach-layout__copy>p,
.founder__copy>p {
  color: var(--color-copy);
  font-family: var(--font-body);
  font-size: var(--text-copy);
  line-height: var(--line-copy);
  margin: 0;
}

.principle {
  align-items: center;
  background: linear-gradient(90deg, var(--color-surface-dark), var(--color-border-green));
  border: var(--border) solid var(--color-border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  margin: 0;
  padding: var(--quote-y) var(--quote-x);
  text-align: center;
  width: var(--quote-width);
  max-width: 100%;
  flex: 1 1 360px;
}

.principle__quote {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: var(--text-symbol);
  font-weight: 600;
  line-height: 80%;
}

.principle blockquote {
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: var(--text-quote);
  line-height: var(--line-card);
  margin: 0;
}

.principle figcaption {
  border-top: var(--border) solid var(--color-accent-dark);
  color: var(--color-cream);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  padding-top: var(--space-1);
  text-transform: uppercase;
  width: 100%;
}

.section--services,
.section--cta,
.founder {
  background: var(--color-surface-dark);
}

.feature-grid {
  display: grid;
  gap: var(--space-8);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.section--industries {
  background: linear-gradient(90deg,
      var(--color-surface-dark) 0%,
      var(--color-surface-mid) 6%,
      var(--color-surface-mid) 94%,
      var(--color-surface-dark) 100%);
  border-top: var(--border) solid transparent;
  border-bottom: var(--border) solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--color-border) 8%, var(--color-border) 92%, transparent) 1;
}

.industry-grid {
  display: grid;
  gap: var(--space-8);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.section--cta {
  padding: var(--cta-y) clamp(var(--space-6), 5vw, var(--section-x));
}

.cta-panel {
  align-items: center;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-dark));
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-9);
  padding: var(--space-16);
  text-align: center;
  max-width: 100%;
}

.cta-panel>div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.cta-panel h2 {
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: var(--text-cta);
  font-weight: 600;
  line-height: var(--line-tight);
  margin: 0;
  text-align: center;
}

.cta-panel>div>p {
  color: rgba(255, 255, 255, 0.95);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 450;
  line-height: 1.65;
  margin: var(--space-6) auto 0;
  max-width: min(100%, 800px);
  width: 100%;
  text-align: center;
}

.cta-panel__actions {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.cta-panel__actions>div {
  display: flex;
  gap: var(--space-4);
}

.cta-panel__actions>p {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  opacity: var(--fade-opacity);
}

.founder {
  border-bottom: var(--border) solid transparent;
  border-top: var(--border) solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--color-border) 8%, var(--color-border) 92%, transparent) 1;
  display: flex;
  gap: var(--space-16);
  padding: var(--section-y-tight) clamp(var(--space-6), 5vw, var(--section-x));
  flex-wrap: wrap;
}

.founder__image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  display: flex;
  height: var(--founder-height);
  width: var(--founder-width);
  max-width: 100%;
  flex: 1 1 340px;
}

.founder__picture {
  width: 100%;
  height: 100%;
  display: block;
}

.founder__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.founder__badge {
  position: absolute;
  bottom: var(--space-6);
  left: var(--space-6);
  z-index: 2;
}

.founder__copy {
  display: flex;
  flex: 1 1 360px;
  flex-direction: column;
  gap: var(--space-8);
  max-width: var(--founder-max);
  min-width: 0;
}

.founder__copy header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.founder__copy .tag-pill {
  margin-bottom: var(--space-5);
}

.founder__copy h2 {
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: clamp(30px, 3vw, 39px);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.015em;
  margin: 0 0 var(--space-5) 0;
}

.founder-title__line {
  display: block;
}

@media (min-width: 500px) {
  .founder-title__line {
    white-space: nowrap;
  }
}

.founder__copy h2 i {
  font-style: italic;
  color: var(--color-cream);
}

.founder__copy header p {
  color: var(--color-accent);
  font-family: var(--font-body);
  font-size: var(--text-copy);
  font-weight: 600;
  margin: 0;
}

.checklist--founder {
  gap: var(--space-4);
}

.founder__links {
  align-items: center;
  display: flex;
  gap: var(--space-4);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
}

.founder__links span,
.founder__links a {
  color: var(--color-cream);
  font-weight: 600;
}

.founder__links b {
  color: var(--color-copy);
}

/* --- FAQ Section --- */
.section--faq {
  max-width: var(--hero-max);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  width: 100%;
}

.faq-item {
  border: var(--border) solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-surface-card);
  transition: border-color 0.2s ease, background-color 0.2s ease;
  overflow: hidden;
}

.faq-item:hover {
  border-color: var(--color-border-green);
}

.faq-item[open] {
  border-color: var(--color-border-green);
  background: var(--color-surface-mid);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-card);
  font-weight: 600;
  color: var(--color-white);
  cursor: pointer;
  list-style: none;
  user-select: none;
  line-height: var(--line-heading);
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-round);
  border: var(--border) solid var(--color-border-green);
  background: var(--color-surface-light);
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
  color: var(--color-accent);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease;
  flex-shrink: 0;
  margin-left: var(--space-4);
}

.faq-item[open] .faq-item__toggle {
  transform: rotate(45deg);
  color: var(--color-white);
  background: var(--color-accent);
}

.faq-item__answer {
  padding: 0 var(--space-6) var(--space-6);
  color: var(--color-copy);
  font-family: var(--font-body);
  font-size: var(--text-copy);
  line-height: var(--line-copy);
}

.faq-item__answer p {
  margin: 0;
}

.site-footer {
  background: linear-gradient(90deg,
      var(--color-surface-dark) 0%,
      var(--color-surface-card) 6%,
      var(--color-surface-card) 94%,
      var(--color-surface-dark) 100%);
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  padding: var(--space-16) clamp(var(--space-6), 5vw, var(--section-x));
}

.site-footer__top,
.site-footer__bottom,
.site-footer__links {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.site-footer__links {
  gap: var(--space-8);
}

.site-footer__links span {
  color: var(--color-copy);
  font-family: var(--font-mono);
  font-size: var(--text-nav);
  font-weight: 500;
}

.site-footer__bottom {
  border-top: var(--border) solid var(--color-border-soft);
  padding-top: var(--space-8);
}

.site-footer__bottom>span {
  color: var(--color-cream);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
}

@media (max-width: 1024px) {
  .page-container {
    width: 85%;
  }
}

@media (max-width: 1350px) {

  .site-header,
  .section,
  .founder,
  .site-footer {
    padding-left: var(--space-10);
    padding-right: var(--space-10);
  }

  .approach-layout,
  .founder {
    flex-wrap: wrap;
  }

  .principle,
  .founder__image {
    flex: 1;
  }

  .section--cta {
    padding-left: var(--space-10);
    padding-right: var(--space-10);
  }
}

@media (max-width: 1125px) {
  .founder {
    padding-bottom: var(--tablet-section-y);
    padding-top: var(--tablet-section-y);
  }
}

@media (max-width: 800px) {
  .site-nav {
    display: none;
  }

  .hero {
    gap: var(--space-6);
    padding-bottom: var(--tablet-section-bottom);
    padding-top: var(--tablet-hero-top);
  }

  .hero h1 {
    font-size: var(--text-hero-tablet);
    line-height: var(--line-hero-tablet);
  }

  .hero__content>p {
    font-size: var(--text-copy);
    line-height: var(--line-copy-mobile);
  }

  .hero__actions {
    gap: var(--space-4);
  }

  .section {
    gap: var(--space-8);
    padding-bottom: var(--tablet-section-bottom);
    padding-top: var(--tablet-section-y);
  }

  .approach-layout {
    gap: var(--space-6);
  }

  .approach-layout__copy,
  .principle,
  .founder__image {
    min-width: 100%;
    width: 100%;
  }

  .principle {
    padding: var(--space-8) var(--tablet-quote-x);
  }

  .principle__quote {
    font-size: var(--text-symbol-tablet);
    line-height: var(--line-symbol-tablet);
  }

  .feature-grid,
  .industry-grid {
    gap: var(--space-4);
    grid-template-columns: 1fr;
  }

  .section--industries {
    padding-bottom: var(--mobile-section-bottom);
    padding-top: var(--mobile-section-bottom);
  }

  .section--cta {
    padding-bottom: var(--mobile-cta-y);
    padding-top: var(--mobile-cta-y);
  }

  .cta-panel {
    gap: var(--cta-gap-tablet);
  }

  .cta-panel h2 {
    font-size: var(--text-cta-tablet);
    line-height: var(--line-cta-tablet);
  }

  .founder {
    gap: var(--space-8);
    padding-bottom: var(--tablet-section-bottom);
    padding-top: var(--tablet-section-bottom);
  }

  .site-footer__top,
  .site-footer__bottom,
  .site-footer__links {
    flex-wrap: wrap;
    gap: var(--space-5);
  }
}

@media (max-width: 640px) {
  .page-container {
    width: 100%;
    border-left: 0;
    border-right: 0;
    box-shadow: none;
  }
}

@media (max-width: 450px) {
  .site-header {
    padding-left: var(--space-5);
    padding-right: var(--space-5);
  }

  .action-button--header {
    padding: var(--space-2) var(--space-3);
  }

  .hero {
    padding-bottom: var(--mobile-section-bottom);
    padding-top: var(--mobile-hero-top);
  }

  .hero h1 {
    font-size: var(--text-hero-mobile);
    line-height: var(--line-hero-mobile);
  }

  .hero__benefits {
    flex-wrap: wrap;
  }

  .section {
    gap: var(--space-4);
    padding-bottom: var(--mobile-section-bottom);
    padding-top: var(--mobile-section-y);
  }

  .principle {
    padding-bottom: var(--mobile-quote-y);
    padding-top: var(--mobile-quote-y);
  }

  .principle blockquote {
    font-size: var(--text-quote-mobile);
    line-height: var(--line-quote-mobile);
  }

  .cta-panel {
    padding: var(--mobile-cta-panel-y) var(--space-8);
  }

  .cta-panel h2 {
    font-size: var(--text-cta-mobile);
    line-height: var(--line-cta-mobile);
  }

  .cta-panel__actions>div {
    flex-wrap: wrap;
    justify-content: center;
  }

  .founder__copy h2 {
    font-size: var(--text-h3-mobile);
    line-height: var(--line-h3-mobile);
  }

  .site-footer {
    padding-left: var(--space-10);
    padding-right: var(--space-10);
  }
}