:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f7f7f5;
  --surface-soft: #efefec;
  --surface-strong: #e2e2de;
  --text-primary: #111111;
  --text-secondary: #686868;
  --line-subtle: #e5e5e1;
  --shadow-subtle: 0 18px 36px rgba(0, 0, 0, 0.05);
  --radius-card: 28px;
  --radius-button: 999px;
  --page-max: 1280px;
  --ease-standard: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(247, 247, 245, 0.65), rgba(255, 255, 255, 0))
      0 0 / 100% 18rem no-repeat,
    var(--bg-primary);
  color: var(--text-primary);
  font-family: "IBM Plex Sans", sans-serif;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(17, 17, 17, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 3.5rem 3.5rem;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 75%);
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--text-primary);
  outline-offset: 4px;
}

button,
a {
  cursor: pointer;
}

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

.site-shell {
  width: min(calc(100% - 2rem), var(--page-max));
  margin: 0 auto;
  padding: 1rem 0 4rem;
}

.topbar {
  position: sticky;
  top: 1rem;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.brand,
.topnav,
.hero-actions,
.footer-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.75rem;
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 0.35rem;
  object-fit: cover;
  flex: 0 0 auto;
}

.topnav {
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.topnav a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition:
    color 180ms var(--ease-standard),
    opacity 180ms var(--ease-standard);
}

.topnav a:hover,
.topnav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text-primary);
}

.hero,
.proof,
.details,
.manifesto,
.faq,
.legal-shell {
  padding: clamp(2rem, 4vw, 4rem) 0;
}

.hero {
  display: block;
  min-height: calc(100svh - 8rem);
}

.hero-copy {
  max-width: 52rem;
}

.eyebrow,
.proof-kicker,
.list-label,
.legal-meta {
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.manifesto-text,
.legal-hero h1 {
  margin: 0;
  font-family: "Archivo", sans-serif;
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.hero h1 {
  max-width: 9ch;
  font-size: clamp(4.25rem, 10vw, 8.5rem);
}

.hero h1 span {
  display: block;
  color: rgba(17, 17, 17, 0.44);
}

.hero-text,
.details-copy p,
.faq-list p,
.legal-copy p,
.legal-copy li {
  max-width: 40rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-actions {
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.button {
  padding: 0.95rem 1.4rem;
  border-radius: var(--radius-button);
  border: 1px solid var(--line-subtle);
  font-weight: 600;
  transition:
    transform 200ms var(--ease-standard),
    background-color 200ms var(--ease-standard),
    border-color 200ms var(--ease-standard),
    color 200ms var(--ease-standard);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--text-primary);
  border-color: var(--text-primary);
  color: #ffffff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #242424;
  border-color: #242424;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.9);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--bg-secondary);
}

.section-heading {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.section-heading h2,
.manifesto-text,
.legal-hero h1 {
  font-size: clamp(2.4rem, 6vw, 5rem);
}

.proof-grid,
.details-layout,
.footer,
.legal-grid {
  display: grid;
  gap: 1.2rem;
}

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

.proof-grid article,
.details-list,
.manifesto-block,
.faq-list details,
.footer,
.legal-card {
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: var(--radius-card);
  background: rgba(247, 247, 245, 0.55);
}

.proof-grid article {
  padding: 1.5rem;
}

.proof-grid h3,
.legal-copy h2 {
  margin: 0.55rem 0 0.7rem;
  font-family: "Archivo", sans-serif;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.proof-grid p:last-child {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.65;
}

.details-layout {
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  align-items: start;
}

.details-list {
  padding: 0.7rem;
}

.details-list div {
  padding: 1.1rem 1rem;
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

.details-list div:last-child {
  border-bottom: none;
}

.details-list strong {
  display: block;
  margin-top: 0.3rem;
  font-family: "Archivo", sans-serif;
  font-size: 1.3rem;
  letter-spacing: -0.04em;
}

.manifesto-block,
.footer,
.legal-card {
  padding: clamp(1.5rem, 4vw, 2.4rem);
}

.manifesto-block {
  background: var(--text-primary);
  color: #ffffff;
}

.manifesto-quote {
  margin: 0;
}

.manifesto-block .eyebrow {
  color: rgba(255, 255, 255, 0.66);
}

.manifesto-text {
  max-width: 14ch;
}

.quote-source {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  align-items: center;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  line-height: 1.5;
}

.quote-source span {
  font-weight: 700;
  color: #ffffff;
}

.quote-source cite {
  font-style: normal;
}

.quote-source a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-list details {
  padding: 1.35rem 1.5rem;
}

.faq-list summary {
  list-style: none;
  font-family: "Archivo", sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  cursor: pointer;
}

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

.faq-list p {
  margin: 0.9rem 0 0;
}

.footer-links {
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-secondary);
  font-weight: 600;
}

.footer-simple {
  display: flex;
  justify-content: flex-end;
  padding: 3rem 0 0.5rem;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  margin-top: 3rem;
}

.legal-shell {
  display: grid;
  gap: 2rem;
}


.legal-topbar {
  position: static;
  margin-bottom: 0;
}

.legal-hero {
  display: grid;
  gap: 1rem;
}

.legal-hero p {
  max-width: 46rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.legal-grid {
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.4fr);
  align-items: start;
}

.legal-card {
  position: sticky;
  top: 1.5rem;
}

.legal-card p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

.legal-copy {
  padding: clamp(1.6rem, 4vw, 2.5rem);
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: calc(var(--radius-card) + 2px);
  background: #ffffff;
}

.legal-copy section + section {
  margin-top: 2.2rem;
  padding-top: 2.2rem;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.legal-copy h2 {
  margin-top: 0;
}

.legal-copy ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-secondary);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 500ms var(--ease-standard),
    transform 500ms var(--ease-standard);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero,
  .proof-grid,
  .details-layout,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 1rem;
  }

  .legal-card {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(calc(100% - 1rem), var(--page-max));
    padding-top: 0.5rem;
  }

  .topbar {
    top: 0.5rem;
    padding: 0.9rem;
    border-radius: 26px;
  }

  .topnav {
    gap: 0.8rem;
  }

  .topnav a {
    font-size: 0.88rem;
  }

  .hero h1 {
    max-width: 7ch;
  }

  .proof-grid article,
  .faq-list details,
  .legal-copy,
  .legal-card {
    padding: 1.25rem;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
