:root {
  --bg: #070b12;
  --bg-soft: #0d1420;
  --panel: #111b29;
  --panel-strong: #142033;
  --line: rgba(149, 178, 210, 0.22);
  --text: #f3f7fb;
  --muted: #aab8c7;
  --blue: #1d8cff;
  --blue-strong: #006ee6;
  --chalk: #74e2b1;
  --paper: #ffe59a;
  --paper-ink: #1d2530;
  --warning: #f4b35f;
  --max-width: 1160px;
  --radius: 8px;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 80% 10%, rgba(29, 140, 255, 0.2), transparent 32rem),
    var(--bg);
  background-size: 56px 56px, 56px 56px, auto, auto;
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 32px, var(--max-width));
  margin: 16px auto 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 11, 18, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(29, 140, 255, 0.6);
  border-radius: 6px;
  background: rgba(29, 140, 255, 0.16);
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-text,
.eyebrow,
.tool-number,
.status,
.roadmap-list span {
  font-family: var(--mono);
}

.brand-text {
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.94rem;
  padding: 10px 12px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(29, 140, 255, 0.13);
  color: var(--text);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

.section-band {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
  padding: 92px 0;
}

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: center;
  padding-top: 64px;
}

.hero-grid,
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--chalk);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 850px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.hero-subline,
.about-copy p,
.split-section p,
.contact-section p {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-subline {
  max-width: 680px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 6px;
  padding: 12px 18px;
  font-family: var(--mono);
  font-size: 0.92rem;
  font-weight: 800;
}

.button-primary {
  background: var(--blue);
  color: #04111f;
  box-shadow: 0 0 0 4px rgba(29, 140, 255, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #55a9ff;
  outline: none;
}

.button-secondary {
  border: 1px solid rgba(29, 140, 255, 0.55);
  color: var(--text);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(29, 140, 255, 0.14);
  outline: none;
}

.hero-board {
  position: relative;
  min-height: 530px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(17, 27, 41, 0.96), rgba(7, 11, 18, 0.82));
  overflow: hidden;
}

.hero-board::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(116, 226, 177, 0.34);
  border-radius: 6px;
  pointer-events: none;
}

.hero-board img {
  position: absolute;
  inset: 7% 5% auto;
  width: 90%;
  opacity: 0.9;
}

.note-card {
  position: absolute;
  width: min(230px, 55%);
  padding: 18px 18px 20px;
  border-radius: 3px;
  background: var(--paper);
  color: var(--paper-ink);
  font-family: "Segoe Print", "Comic Sans MS", cursive;
  font-size: 1rem;
  line-height: 1.35;
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.32);
}

.note-card span {
  display: block;
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.note-one {
  right: 7%;
  bottom: 22%;
  transform: rotate(3deg);
}

.note-two {
  left: 8%;
  bottom: 8%;
  background: #a7f0ca;
  transform: rotate(-4deg);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.tool-grid,
.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tool-card,
.principle-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17, 27, 41, 0.92);
}

.tool-card {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  padding: 24px;
}

.active-card {
  border-color: rgba(29, 140, 255, 0.8);
  background: linear-gradient(160deg, rgba(29, 140, 255, 0.18), rgba(17, 27, 41, 0.96));
}

.tool-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: auto;
}

.tool-number {
  color: var(--blue);
  font-weight: 800;
}

.status {
  align-self: flex-start;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 0.72rem;
  font-weight: 800;
}

.status-active {
  border-color: rgba(116, 226, 177, 0.6);
  color: var(--chalk);
}

.status-progress {
  border-color: rgba(244, 179, 95, 0.65);
  color: var(--warning);
}

.status-planned {
  color: var(--muted);
}

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

.text-link {
  width: fit-content;
  margin-top: 18px;
  color: var(--blue);
  font-family: var(--mono);
  font-weight: 800;
}

.text-link:hover,
.text-link:focus-visible {
  color: #77bbff;
  outline: none;
}

.about-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-copy {
  display: grid;
  gap: 24px;
}

.about-copy img {
  border: 1px solid rgba(255, 229, 154, 0.48);
  border-radius: var(--radius);
  background: rgba(255, 229, 154, 0.08);
}

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

.principle-grid article {
  min-height: 170px;
  padding: 22px;
}

.principle-grid span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--chalk);
  font-family: var(--mono);
  font-weight: 800;
}

.principle-grid h3 {
  margin-bottom: 0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
  border-top: 1px solid var(--line);
}

.roadmap-section {
  padding-top: 32px;
}

.roadmap-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.roadmap-list li {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(13, 20, 32, 0.92);
  padding: 18px;
  color: var(--muted);
}

.roadmap-list span {
  color: var(--text);
  font-weight: 800;
}

.contact-section {
  margin-bottom: 40px;
  border: 1px solid rgba(29, 140, 255, 0.38);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(29, 140, 255, 0.17), rgba(116, 226, 177, 0.08)),
    rgba(17, 27, 41, 0.92);
  padding: clamp(32px, 6vw, 64px);
}

.contact-section p {
  max-width: 760px;
  margin-bottom: 28px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 22px;
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
  padding: 28px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.86rem;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--text);
  outline: none;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(7, 11, 18, 0.98);
    padding: 8px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero-grid,
  .about-grid,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

@media (max-width: 640px) {
  .site-header,
  .section-band,
  .site-footer {
    width: min(100% - 22px, var(--max-width));
  }

  .section-band {
    padding: 64px 0;
  }

  h1 {
    font-size: clamp(2.7rem, 16vw, 4.2rem);
  }

  h2 {
    font-size: 2.15rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-board {
    min-height: 430px;
  }

  .tool-grid,
  .principle-grid {
    grid-template-columns: 1fr;
  }

  .tool-card {
    min-height: 260px;
  }

  .roadmap-list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
