:root {
  --phase2-max: 1200px;
  --phase2-border: rgba(148, 163, 184, 0.18);
  --phase2-surface: rgba(15, 35, 29, 0.72);
  --phase2-muted: #a8bbb3;
  --phase2-text: #effff8;
  --phase2-accent: #34e6a1;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.site-header,
.site-header *,
.site-footer,
.site-footer *,
.simple-page,
.simple-page *,
.simple-section,
.simple-section * {
  box-sizing: border-box;
}

[data-legacy-header],
[data-legacy-footer] {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 72px;
  padding: 0 max(24px, calc((100vw - var(--phase2-max)) / 2));
  border-bottom: 1px solid var(--phase2-border);
  background: rgba(5, 13, 10, 0.94);
  backdrop-filter: blur(16px);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--phase2-text);
  font: 700 16px/1 Inter, sans-serif;
  text-decoration: none;
  white-space: nowrap;
}

.site-brand img {
  width: 34px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  min-width: 0;
}

.site-nav a,
.site-footer a,
.site-breadcrumbs a {
  color: var(--phase2-muted);
  text-decoration: none;
}

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

.site-header__cta,
.site-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(52, 230, 161, 0.4);
  border-radius: 999px;
  background: rgba(52, 230, 161, 0.08);
  color: var(--phase2-text);
  font-weight: 700;
  text-decoration: none;
}

.site-breadcrumbs {
  width: min(var(--phase2-max), calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0 0;
  color: var(--phase2-muted);
  font: 500 12px/1.4 "JetBrains Mono", monospace;
}

.site-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-breadcrumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(168, 187, 179, 0.55);
}

.answer-block,
.journey,
.decision-section,
.simple-section {
  width: min(var(--phase2-max), calc(100% - 48px));
  margin: 0 auto;
}

.answer-block {
  margin-top: 32px;
  margin-bottom: 72px;
  padding: 24px 28px;
  border: 1px solid var(--phase2-border);
  border-left: 3px solid var(--phase2-accent);
  border-radius: 16px;
  background: var(--phase2-surface);
  color: var(--phase2-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.answer-block strong {
  color: var(--phase2-text);
}

.journey,
.decision-section,
.simple-section {
  padding-top: 88px;
  padding-bottom: 88px;
}

.journey__intro,
.decision-section__intro {
  max-width: 760px;
  margin-bottom: 36px;
}

.journey__eyebrow,
.decision-section__eyebrow,
.simple-eyebrow {
  color: var(--phase2-accent);
  font: 600 12px/1.4 "JetBrains Mono", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.journey h2,
.decision-section h2,
.simple-page h1,
.simple-section h2 {
  color: var(--phase2-text);
  font-family: "Space Grotesk", Inter, sans-serif;
}

.journey h2,
.decision-section h2,
.simple-section h2 {
  margin: 12px 0;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.04;
}

.journey__intro p,
.decision-section__intro p,
.simple-section p,
.simple-page__lead {
  color: var(--phase2-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.journey__grid,
.decision-grid,
.faq-list,
.simple-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.journey-card,
.decision-card,
.faq-list details,
.simple-card {
  padding: 26px;
  border: 1px solid var(--phase2-border);
  border-radius: 18px;
  background: var(--phase2-surface);
}

.journey-card span {
  color: var(--phase2-accent);
  font: 600 12px/1 "JetBrains Mono", monospace;
}

.journey-card h3,
.decision-card h3,
.simple-card h2,
.simple-card h3 {
  margin: 14px 0 8px;
  color: var(--phase2-text);
}

.journey-card p,
.decision-card p,
.decision-card li,
.faq-list details p,
.simple-card p,
.simple-card li {
  color: var(--phase2-muted);
  line-height: 1.65;
}

.journey-card a,
.simple-card a {
  display: inline-block;
  margin-top: 12px;
  color: var(--phase2-accent);
  font-weight: 700;
}

.decision-card ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.faq-list {
  margin-top: 24px;
}

.faq-list details {
  padding: 20px 22px;
}

.faq-list summary {
  color: var(--phase2-text);
  font-weight: 700;
  cursor: pointer;
}

.simple-page {
  min-height: 70vh;
  max-width: 100%;
  padding: 96px max(24px, calc((100vw - var(--phase2-max)) / 2));
  background: #050d0a;
}

.simple-page h1 {
  max-width: 900px;
  margin: 16px 0 24px;
  font-size: clamp(2.8rem, 8vw, 6rem);
  line-height: 0.98;
  overflow-wrap: anywhere;
}

.simple-page__lead {
  max-width: 760px;
}

.simple-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.site-footer {
  padding: 64px max(24px, calc((100vw - var(--phase2-max)) / 2)) 28px;
  border-top: 1px solid var(--phase2-border);
  background: #07130f;
  color: var(--phase2-muted);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 32px;
}

.site-footer h2,
.site-footer h3 {
  color: var(--phase2-text);
}

.site-footer__links {
  display: grid;
  align-content: start;
  gap: 10px;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--phase2-border);
  font-size: 13px;
}

@media (max-width: 860px) {
  .site-nav a:nth-child(-n + 2) {
    display: none;
  }

  .site-header__cta {
    display: none;
  }

  .journey__grid,
  .decision-grid,
  .faq-list,
  .simple-grid,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 16px;
    padding: 0 18px;
  }

  .site-nav {
    display: none;
  }

  .simple-page {
    padding: 72px 20px;
  }

  .simple-page h1 {
    font-size: clamp(2.3rem, 12vw, 3.4rem);
  }

  .answer-block,
  .journey,
  .decision-section,
  .simple-section,
  .site-breadcrumbs {
    width: min(100% - 36px, var(--phase2-max));
  }
}
