:root {
  --bg: #f7f6f2;
  --surface: rgba(255, 255, 255, 0.68);
  --ink: #111111;
  --ink-soft: #555555;
  --line: rgba(17, 17, 17, 0.1);
  --line-strong: rgba(17, 17, 17, 0.18);
  --accent: #101f1a;
  --accent-soft: #375a4b;
  --shadow: 0 24px 70px rgba(17, 17, 17, 0.08);
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(55, 90, 75, 0.08), transparent 22rem),
    radial-gradient(circle at left 18%, rgba(16, 31, 26, 0.04), transparent 24rem),
    var(--bg);
}

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

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

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

.status-banner {
  padding: 14px 0 10px;
}

.status-banner p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.6;
}

.status-banner a {
  color: var(--ink);
  font-weight: 600;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
  background: rgba(247, 246, 242, 0.84);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.hero-actions,
.footer-links,
.support-strip,
.article-meta {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  background: linear-gradient(135deg, #1b352b, #111111);
}

.brand-name,
.eyebrow,
.nav a,
.button,
.list-kicker,
.article-label {
  font-family: "Space Grotesk", sans-serif;
}

.brand-name {
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.nav {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 26px;
}

.nav a {
  color: var(--ink-soft);
  font-size: 0.96rem;
  font-weight: 500;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
}

main {
  padding-bottom: 72px;
}

.hero,
.about-layout,
.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: clamp(32px, 5vw, 64px);
}

.hero {
  min-height: min(820px, calc(100vh - 92px));
  align-items: center;
  padding: 42px 0 80px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 6.4vw, 5.6rem);
}

h2 {
  max-width: 16ch;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
}

h3 {
  max-width: 24ch;
  font-size: 1.32rem;
}

p,
li {
  color: var(--ink-soft);
  line-height: 1.72;
}

.hero-lead {
  max-width: 24ch;
  margin: 24px 0 0;
  color: var(--ink);
  font-size: clamp(1.12rem, 1.7vw, 1.45rem);
}

.hero-text,
.section-heading p,
.about-copy p,
.list-copy p,
.article-body p,
.article-body li,
.footer-legal,
.footer-copy {
  max-width: 60ch;
}

.hero-text {
  margin: 20px 0 0;
  max-width: 50ch;
  font-size: 1rem;
}

.hero-actions {
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  min-width: 164px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 700;
}

.button-primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 16px 42px rgba(16, 31, 26, 0.16);
}

.button-secondary {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.74);
}

.hero-visual {
  position: relative;
  min-height: clamp(360px, 48vw, 540px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 40px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.56)),
    linear-gradient(140deg, rgba(55, 90, 75, 0.06), rgba(16, 31, 26, 0.05));
  box-shadow: var(--shadow);
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero-visual::before {
  background-image:
    linear-gradient(rgba(17, 17, 17, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 88%);
}

.hero-visual::after {
  background: radial-gradient(circle at 60% 36%, rgba(55, 90, 75, 0.1), transparent 28%);
}

.signal-orb,
.signal-ring,
.signal-line {
  position: absolute;
}

.signal-orb {
  border-radius: 999px;
  filter: blur(10px);
}

.signal-orb-large {
  left: 12%;
  bottom: 12%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(55, 90, 75, 0.28), transparent 68%);
  animation: drift 12s ease-in-out infinite;
}

.signal-orb-small {
  top: 16%;
  right: 12%;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(16, 31, 26, 0.18), transparent 70%);
  animation: drift 16s ease-in-out infinite reverse;
}

.signal-ring {
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 50%;
}

.signal-ring-one {
  top: 20%;
  left: 22%;
  width: 54%;
  height: 54%;
  animation: rotateSlow 28s linear infinite;
}

.signal-ring-two {
  top: 26%;
  left: 28%;
  width: 42%;
  height: 42%;
  border-style: dashed;
  animation: rotateSlow 20s linear infinite reverse;
}

.signal-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(17, 17, 17, 0.25), transparent);
}

.signal-line-one {
  top: 38%;
  left: 10%;
  width: 72%;
  transform: rotate(-15deg);
}

.signal-line-two {
  bottom: 24%;
  right: 10%;
  width: 58%;
  transform: rotate(18deg);
}

.hero-visual-note {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  max-width: 320px;
  padding: 18px 20px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
}

.hero-visual-kicker {
  margin: 0 0 8px;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-visual-text {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
}

.section {
  padding: clamp(64px, 9vw, 96px) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 96px;
}

.section-heading {
  display: grid;
  gap: 16px;
  margin-bottom: 34px;
}

.list-block {
  border-top: 1px solid var(--line);
}

.list-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.list-row-muted {
  grid-template-columns: minmax(0, 1fr);
}

.list-kicker,
.article-label {
  margin: 0 0 12px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.list-copy p:last-child,
.article-body p:last-child,
.about-copy p:last-child,
.sidebar-card p:last-child {
  margin-bottom: 0;
}

.text-link {
  align-self: start;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  white-space: nowrap;
}

.text-link-muted {
  color: var(--ink-soft);
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--accent-soft);
}

.about-layout {
  align-items: start;
}

.about-copy {
  display: grid;
  gap: 0;
}

.principle-list {
  border-top: 1px solid var(--line);
}

.principle-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.principle-item span {
  color: var(--ink-soft);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
}

.principle-item p {
  margin: 0;
  color: var(--ink);
}

.support-strip {
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 0 0;
}

.support-strip p {
  margin: 0;
  max-width: 36ch;
}

.footer {
  display: grid;
  gap: 14px;
  padding: 32px 0 48px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.footer-links {
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a,
.footer-legal,
.footer-copy {
  font-size: 0.94rem;
}

.footer-copy,
.footer-legal {
  margin: 0;
}

.page {
  padding: 56px 0 80px;
}

.page-hero,
.article-hero {
  padding: 28px 0 48px;
}

.page-hero h1,
.article-hero h1 {
  max-width: 12ch;
  font-size: clamp(2.8rem, 6vw, 4.9rem);
}

.page-intro {
  max-width: 58ch;
  margin: 22px 0 0;
}

.page-panel,
.sidebar-card,
.support-note,
.legal-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  backdrop-filter: blur(18px);
}

.page-panel,
.sidebar-card,
.legal-card {
  padding: 22px;
}

.legal-card {
  max-width: 900px;
}

.stack-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
}

.article-page {
  padding-bottom: 60px;
}

.article-shell {
  align-items: start;
}

.article-body {
  max-width: 720px;
}

.article-meta {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.article-body h2 {
  max-width: none;
  margin-top: 36px;
  font-size: 1.7rem;
}

.article-body ul {
  padding-left: 20px;
}

.article-sidebar {
  display: grid;
  gap: 18px;
  align-self: start;
}

.panel-kicker {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cta-strip {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}

.cta-copy {
  margin: 18px 0 0;
}

.redirect-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
}

.redirect-note {
  max-width: 560px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  text-align: center;
  box-shadow: var(--shadow);
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -16px, 0);
  }
}

@keyframes rotateSlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 900px) {
  .topbar,
  .support-strip,
  .cta-strip,
  .article-meta {
    align-items: flex-start;
  }

  .topbar,
  .support-strip,
  .cta-strip {
    flex-direction: column;
  }

  .topbar {
    gap: 14px;
    padding: 14px 0;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    gap: 14px 18px;
  }

  .hero,
  .about-layout,
  .article-shell,
  .list-row {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 24px 0 56px;
  }

  .hero-visual {
    min-height: 340px;
  }

  .section,
  .page {
    padding-top: 72px;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .support-strip .button,
  .cta-strip .button,
  .list-row .text-link {
    width: auto;
  }

  .hero-visual-note {
    left: 22px;
    right: 22px;
    bottom: 22px;
    max-width: 300px;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(calc(100% - 24px), var(--max));
  }

  h1 {
    max-width: 9ch;
    font-size: clamp(2.45rem, 13vw, 4rem);
  }

  .page-hero h1,
  .article-hero h1,
  h2 {
    max-width: 12ch;
    font-size: clamp(1.9rem, 8vw, 2.7rem);
  }

  .button {
    width: 100%;
    min-width: 0;
  }

  .topbar {
    align-items: flex-start;
  }

  .nav {
    gap: 12px 16px;
  }

  .nav a {
    font-size: 0.9rem;
  }

  .hero {
    padding: 18px 0 48px;
  }

  .hero-lead {
    margin-top: 18px;
    max-width: 18ch;
  }

  .hero-actions {
    width: 100%;
    gap: 12px;
  }

  .hero-visual {
    min-height: 280px;
    border-radius: 28px;
  }

  .hero-visual-note {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
    padding: 14px 16px;
  }

  .signal-ring-one {
    top: 18%;
    left: 18%;
    width: 60%;
    height: 60%;
  }

  .signal-ring-two {
    top: 26%;
    left: 24%;
    width: 48%;
    height: 48%;
  }

  .signal-orb-large {
    width: 160px;
    height: 160px;
  }

  .signal-orb-small {
    width: 100px;
    height: 100px;
  }

  .section {
    scroll-margin-top: 120px;
  }

  .list-row {
    gap: 12px;
    padding: 22px 0;
  }

  .footer {
    padding-bottom: 32px;
  }

  .status-banner p {
    font-size: 0.88rem;
  }
}
