@import url("./type.css");
:root {
  color-scheme: dark;
  --bg: #0a121c;
  --panel: #101e2a;
  --line: #263644;
  --text: #edf2f3;
  --muted: #9bafbc;
  --accent: #6fdbc9;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--accent);
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  outline-offset: 6px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
}
header,
main,
footer {
  max-width: 1360px;
  margin: auto;
  padding-inline: 64px;
}
header {
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 24px;
}
.wordmark {
  font-weight: 800;
  font-size: 23px;
  letter-spacing: -1px;
}
.wordmark span {
  font-family: monospace;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--muted);
  margin-left: 12px;
}
nav {
  display: flex;
  gap: 28px;
  font-size: 13px;
  color: #bccbd4;
}
.github {
  font-size: 13px;
}
.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 42px;
  padding-block: 70px;
}
.eyebrow {
  font-family: monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--accent);
  margin: 0 0 26px;
}
.signal {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 10px;
  box-shadow: 0 0 15px #6fdbc955;
}
h1 {
  font-weight: 500;
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1.08;
  letter-spacing: -3px;
  margin: 0 0 28px;
}
em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--accent);
}
.lead {
  max-width: 470px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}
.actions {
  display: flex;
  gap: 25px;
  align-items: center;
  margin: 30px 0 42px;
  font-size: 13px;
}
.primary {
  background: var(--accent);
  color: #08201d;
  border: 1px solid var(--accent);
  display: inline-flex;
  gap: 30px;
  align-items: center;
  padding: 13px 20px;
  font-size: 13px;
  cursor: pointer;
  font-weight: 600;
}
.primary:hover {
  background: #a3f1e3;
  color: #08201d;
}
.hero-note {
  font: 10px monospace;
  letter-spacing: 1px;
  color: var(--muted);
}
.hero-note span {
  margin: 0 9px;
  color: #466273;
}
.hero-visual {
  border: 1px solid var(--line);
  background: linear-gradient(150deg, #13252d55, #0a121c);
  transform: perspective(1000px) rotateY(-3deg);
  box-shadow: 0 40px 80px #0002;
}
.visual-top,
.visual-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  font: 9px monospace;
  letter-spacing: 1px;
  color: var(--muted);
}
.visual-top {
  border-bottom: 1px solid var(--line);
}
.live {
  color: var(--accent);
}
svg {
  width: 100%;
  display: block;
}
.orbit {
  fill: none;
  stroke: #355665;
  stroke-dasharray: 3 7;
}
.flow {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
}
.svg-node rect {
  fill: #142d35;
  stroke: #6fdbc9;
}
.svg-node text {
  fill: #d7f9f2;
  text-anchor: middle;
  font: 13px monospace;
  letter-spacing: 1px;
}
.svg-node .sub {
  font-size: 9px;
  letter-spacing: 0;
  fill: #9bafbc;
}
.small rect {
  fill: #0d1c28;
  stroke: #3e5c6a;
}
.small text {
  font-size: 10px;
}
.principles {
  border-block: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 25px 0;
  font: 11px monospace;
  color: var(--accent);
}
.principles b {
  font: 13px Arial;
  color: #b1c0cb;
  margin-left: 14px;
  font-weight: 400;
}
section:not(.hero) {
  padding-block: 85px;
  border-bottom: 1px solid var(--line);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 36px;
}
.section-head .eyebrow {
  margin-bottom: 14px;
}
h2 {
  font-weight: 400;
  font-size: 39px;
  letter-spacing: -1.3px;
  line-height: 1.2;
  margin: 0;
}
.section-head > p {
  color: var(--muted);
  font-size: 13px;
}
.filters {
  display: flex;
  align-items: end;
  gap: 18px;
  margin-bottom: 25px;
}
label {
  display: grid;
  gap: 7px;
  font: 11px monospace;
  color: var(--muted);
}
input,
select {
  border: 1px solid var(--line);
  background: #101e2a;
  color: var(--text);
  padding: 12px;
  min-width: 240px;
  border-radius: 2px;
}
#search {
  width: 350px;
}
#count {
  font: 11px monospace;
  color: var(--muted);
  margin-left: auto;
  margin-bottom: 14px;
}
.catalog {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: start;
  min-height: 280px;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.card:hover {
  border-color: #60847e;
  transform: translateY(-3px);
}
.card .number {
  font: 11px monospace;
  color: var(--accent);
  margin-bottom: 26px;
}
.card h3 {
  font-size: 24px;
  font-weight: 400;
  margin: 0;
}
.card p {
  font-size: 13px;
  color: var(--muted);
  margin: 14px 0 20px;
}
.badge {
  font: 10px monospace;
  color: var(--accent);
  letter-spacing: 1px;
}
.card button {
  margin-top: auto;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 0;
  cursor: pointer;
}
.fine {
  font-size: 12px;
  color: var(--muted);
}
.case-section {
  background: linear-gradient(120deg, #15283266, transparent);
}
.case-title {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 32px;
}
.case-title p {
  max-width: 600px;
  color: var(--muted);
}
.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 42px;
}
.case-grid article {
  border-top: 1px solid var(--line);
  padding-top: 15px;
}
.case-grid h3 {
  font: 11px monospace;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.case-grid p {
  font-size: 14px;
  color: #bccbd4;
}
.explorer {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  border: 1px solid var(--line);
}
.explorer > div {
  padding: 30px;
  background: radial-gradient(ellipse at center, #1b3a3d66, transparent);
}
.boundary {
  font: 10px monospace;
  letter-spacing: 1px;
  color: var(--muted);
}
#topology {
  display: grid;
  gap: 0;
  margin: 25px 0;
}
#topology button {
  padding: 15px;
  border: 1px solid #456271;
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  font: 13px monospace;
}
#topology button[aria-pressed="true"] {
  border-color: var(--accent);
  color: var(--accent);
}
.connector {
  color: var(--accent);
  padding: 6px 20px;
  font: 11px monospace;
}
.explorer aside {
  padding: 30px;
  border-left: 1px solid var(--line);
}
.explorer h3 {
  font-size: 25px;
  font-weight: 400;
}
.explorer aside p {
  color: var(--muted);
  font-size: 14px;
}
.source {
  color: var(--accent);
  font-size: 12px;
  word-break: break-word;
}
.lab {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 45px;
}
.lab h3 {
  font-size: 27px;
  font-weight: 400;
}
.lab p {
  color: var(--muted);
  font-size: 14px;
}
.terminal {
  background: #071019;
  border: 1px solid var(--line);
  padding: 28px;
  max-height: 530px;
  overflow: auto;
  font: 12px/1.7 monospace;
  min-height: 300px;
}
.terminal p {
  font: 12px/1.7 monospace;
}
.terminal details {
  border-top: 1px solid var(--line);
  padding: 10px 0;
}
.terminal summary {
  cursor: pointer;
  color: var(--accent);
}
pre {
  white-space: pre-wrap;
  word-break: break-word;
  color: #a8c8c8;
}
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 70px;
}
.about > .eyebrow {
  grid-column: 1/-1;
}
.about p {
  color: var(--muted);
  font-size: 14px;
}
.about a {
  display: inline-block;
  margin: 12px 24px 0 0;
  font-size: 13px;
  color: var(--accent);
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding-block: 35px;
  font: 10px monospace;
  color: var(--muted);
}
.skip {
  position: absolute;
  left: 20px;
  top: -100px;
  background: var(--accent);
  color: #000;
  padding: 10px;
  z-index: 5;
}
.skip:focus {
  top: 10px;
}
.empty {
  color: var(--muted);
}
@media (max-width: 1000px) {
  header,
  main,
  footer {
    padding-inline: 30px;
  }
  header {
    flex-wrap: wrap;
    height: auto;
    padding-block: 24px;
  }
  nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }
  .hero {
    gap: 25px;
  }
  .catalog {
    grid-template-columns: 1fr 1fr;
  }
  .hero-note {
    line-height: 2;
  }
  .filters {
    flex-wrap: wrap;
  }
  #count {
    margin-left: 0;
  }
  .hero-visual {
    transform: none;
  }
}
@media (max-width: 680px) {
  header,
  main,
  footer {
    padding-inline: 22px;
  }
  nav {
    gap: 12px;
    font-size: 11px;
  }
  .wordmark span {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-block: 50px;
  }
  .hero-visual {
    margin-top: 15px;
  }
  h1 {
    font-size: 51px;
    letter-spacing: -2px;
  }
  .principles {
    gap: 15px;
    flex-wrap: wrap;
  }
  .principles b {
    margin-left: 7px;
  }
  .section-head {
    display: block;
  }
  h2 {
    font-size: 32px;
  }
  .catalog,
  .case-grid,
  .explorer,
  .lab,
  .about {
    grid-template-columns: 1fr;
  }
  .case-title {
    display: block;
  }
  .filters label,
  #search,
  input,
  select {
    width: 100%;
    min-width: 0;
  }
  .explorer aside {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  section:not(.hero) {
    padding-block: 55px;
  }
  .about > .eyebrow {
    grid-column: auto;
  }
  .actions {
    gap: 18px;
  }
  .primary {
    gap: 15px;
  }
  footer {
    flex-direction: column;
    gap: 12px;
  }
  .visual-bottom {
    font-size: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
    animation: none !important;
  }
}
.replay-secondary {
  display: block;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  color: var(--accent);
  cursor: pointer;
  font-size: 13px;
  width: 100%;
  text-align: left;
}

.architecture-select {
  max-width: 340px;
  margin-bottom: 22px;
}
.connector {
  overflow-wrap: anywhere;
}
.terminal select {
  max-width: 100%;
  min-width: 0;
}
/* Publication design: deliberate type, tactile controls, and continuous navigation. */
body {
  font-family: Manrope, Arial, sans-serif;
  background:
    radial-gradient(ellipse at 85% 6%, #16323e40 0, transparent 30%), var(--bg);
}
header {
  position: relative;
  height: 100px;
}
.wordmark {
  letter-spacing: -1.4px;
}
.wordmark span {
  letter-spacing: 1.4px;
}
.signin {
  border: 1px solid #48605e;
  padding: 10px 16px;
  font-size: 12px;
  color: #c4eee5;
  white-space: nowrap;
  border-radius: 4px;
}
.signin:hover {
  background: #19332f;
}
.menu-toggle {
  display: none;
}
nav {
  gap: 22px;
}
nav a {
  position: relative;
  padding: 10px 0;
}
nav a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s;
}
nav a:hover:after {
  transform: scaleX(1);
}
h1 {
  font-size: clamp(48px, 5.2vw, 73px);
  font-weight: 500;
  letter-spacing: -3.5px;
  line-height: 1.12;
}
h2 {
  font-weight: 500;
  letter-spacing: -1.6px;
}
.hero {
  min-height: 690px;
  gap: 60px;
}
.hero .lead {
  font-size: 15px;
  max-width: 490px;
}
.hero-visual {
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(145deg, #14323b77, #0a121c);
  box-shadow:
    0 22px 80px #0005,
    0 0 100px #3b8d8520;
}
.hero-visual .visual-top {
  padding: 20px;
}
.hero-note {
  line-height: 1.9;
}
.primary {
  border-radius: 4px;
  padding: 14px 21px;
  transition:
    background 0.2s,
    box-shadow 0.2s;
}
.primary:hover {
  box-shadow: 0 6px 26px #66cfb522;
}
.principles {
  border-color: #33424a;
}
.principles b {
  font-family: Manrope, Arial, sans-serif;
  font-weight: 500;
}
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.practice-card {
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  background: #0f1b2580;
}
.practice-card .practice-number {
  font: 11px monospace;
  color: var(--accent);
  display: block;
  margin-bottom: 22px;
}
.practice-card h3 {
  font-size: 19px;
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -0.4px;
  margin: 0 0 14px;
}
.practice-card p {
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
  margin: 0 0 20px;
}
.practice-card a {
  font-size: 11px;
  color: #b1e5d9;
  display: inline-flex;
  gap: 16px;
}
.practice-card:hover {
  background: #14242e;
}
.catalog {
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.card {
  padding: 32px;
  min-height: 320px;
  border-radius: 6px;
  background:
    radial-gradient(ellipse at top right, #244b4e44, transparent 65%), #101d28;
  position: relative;
}
.card:nth-child(2) {
  background:
    radial-gradient(ellipse at top right, #2c485755, transparent 65%), #101d28;
}
.card:nth-child(3) {
  background:
    radial-gradient(ellipse at top right, #28415d66, transparent 65%), #101d28;
}
.card:nth-child(4) {
  background:
    radial-gradient(ellipse at top right, #474d3c55, transparent 65%), #101d28;
}
.card .number {
  margin-bottom: 30px;
  font-size: 10px;
}
.card h3 {
  font-size: 29px;
  letter-spacing: -0.8px;
}
.card p {
  max-width: 320px;
  line-height: 1.8;
}
.card .badge {
  font-size: 10px;
  margin-top: 0;
  line-height: 1.6;
}
.card button {
  border-top: 1px solid #39505e;
  padding-top: 18px;
  width: 100%;
  text-align: left;
  font-family: Manrope, Arial, sans-serif;
  font-size: 12px;
  min-height: 44px;
}
.project-glyph {
  position: absolute;
  right: 30px;
  top: 55px;
  opacity: 0.35;
  font:
    52px Georgia,
    serif;
  color: #a0d7cb;
}
.card h3 {
  padding-right: 65px;
}
.filters input,
.filters select {
  border-radius: 4px;
  background: #0e1c26;
  font:
    13px Manrope,
    Arial,
    sans-serif;
  padding: 14px;
}
.case-section[hidden] {
  display: none;
}
.case-section {
  padding-inline: 35px;
  margin-inline: -35px;
  border-radius: 8px;
}
.back-link {
  font-size: 12px;
  color: var(--muted);
  display: inline-block;
  margin-bottom: 24px;
}
.case-title .badge {
  line-height: 1.8;
  display: inline-block;
}
.case-grid {
  gap: 20px 40px;
}
.case-grid h3 {
  line-height: 1.6;
}
.case-grid p {
  line-height: 1.9;
  font-size: 13px;
}
.explorer {
  border-radius: 6px;
  overflow: hidden;
}
.explorer > div {
  padding: 32px;
}
.explorer aside {
  background: #111f29;
}
.explorer aside strong {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #cbdadf;
}
.explorer aside p {
  font-size: 13px;
  line-height: 1.85;
  margin-top: 5px;
}
#topology button {
  border-radius: 4px;
  min-height: 52px;
  transition: background 0.2s;
}
#topology button:hover {
  background: #1b3540;
}
.connector {
  font-size: 10px;
  padding: 13px 16px;
}
.terminal {
  border-radius: 6px;
  min-height: 395px;
}
.terminal-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  margin-bottom: 30px;
  color: var(--muted);
}
.terminal-chrome i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3f5c66;
}
.terminal-chrome span {
  margin-left: auto;
  font-size: 10px;
}
.terminal .terminal-prompt {
  font:
    22px/1.4 Manrope,
    Arial,
    sans-serif;
  color: #e0edeb;
  max-width: 260px;
  margin-top: 60px;
}
.terminal summary {
  padding: 7px 0;
  line-height: 1.8;
}
.terminal .badge {
  display: block;
  margin-bottom: 15px;
}
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.workspace-card {
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: linear-gradient(145deg, #152932, #0d1822);
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.workspace-card:hover {
  border-color: #6b9b94;
  transform: translateY(-3px);
  color: var(--text);
}
.workspace-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #476760;
  border-radius: 10px;
  color: var(--accent);
  font:
    21px Georgia,
    serif;
  margin-bottom: 32px;
  background: #17332e;
}
.workspace-card .eyebrow {
  font-size: 9px;
  letter-spacing: 1.4px;
  margin-bottom: 16px;
}
.workspace-card h3 {
  font-size: 23px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.6px;
  margin: 0 0 16px;
}
.workspace-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  margin: 0 0 30px;
}
.workspace-action {
  font-size: 12px;
  margin-top: auto;
  color: #c6f1e8;
}
.portrait {
  object-fit: cover;
  object-position: 50% 10%;
  border-radius: 50%;
  background: #1d3b45;
  filter: grayscale(1);
  float: left;
  margin: 0 18px 12px 0;
  border: 1px solid #5f777b;
}
.about p {
  line-height: 1.9;
}
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.contact p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}
.contact .eyebrow {
  color: var(--accent);
  font-size: 11px;
}
.contact-secondary {
  display: block;
  font-size: 12px;
  margin-top: 20px;
  color: var(--muted);
}
footer {
  font-size: 10px;
  line-height: 1.8;
}
.auth-layout {
  min-height: calc(100vh - 200px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
  padding-block: 80px;
}
.auth-intro h1 {
  font-size: 58px;
}
.auth-intro .lead {
  font-size: 15px;
}
.auth-orbit {
  position: relative;
  width: 180px;
  height: 180px;
  border: 1px solid #38534f;
  border-radius: 50%;
  margin: 40px 0;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, #39766820, transparent);
}
.auth-orbit:after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  border: 1px dashed #426b64;
  border-radius: 50%;
}
.orbit-symbol {
  font:
    70px Georgia,
    serif;
  color: var(--accent);
}
.orbit-label {
  position: absolute;
  bottom: -20px;
  font: 8px monospace;
  letter-spacing: 1.5px;
  white-space: nowrap;
  color: var(--muted);
}
.auth-card {
  border: 1px solid #35534f;
  border-radius: 8px;
  background: linear-gradient(140deg, #17312f, #101e2a 70%);
  padding: 40px;
}
.auth-card h2 {
  font-size: 35px;
  margin: 18px 0;
}
.auth-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}
.auth-card .primary {
  width: 100%;
  justify-content: space-between;
  margin: 16px 0;
  font-size: 12px;
}
.auth-card .fine {
  font-size: 11px;
  margin-bottom: 0;
}
.study-option {
  display: flex;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 24px;
  margin-top: 20px;
  background: #101f29;
}
.study-option .workspace-icon {
  margin: 0;
  flex-shrink: 0;
}
.study-option strong {
  font-size: 14px;
  font-weight: 500;
}
.study-option small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 6px;
}
.auth-help {
  font-size: 11px;
  line-height: 1.9;
  color: var(--muted);
  padding: 15px 5px;
}
.auth-help p:first-child {
  color: #c4d7d9;
}
.auth-body header .back-link {
  margin: 0;
}
@media (min-width: 1001px) {
  .hero .intro {
    animation: appear 0.7s ease-out;
  }
  .hero-visual {
    animation: appear 1s ease-out;
  }
  @keyframes appear {
    from {
      opacity: 0;
      translate: 0 15px;
    }
    to {
      opacity: 1;
      translate: 0 0;
    }
  }
}
@media (max-width: 1100px) {
  header,
  main,
  footer {
    padding-inline: 36px;
  }
  .hero {
    gap: 25px;
  }
  .hero h1 {
    font-size: 57px;
  }
  .practice-card {
    padding: 25px;
  }
  .workspace-card {
    padding: 24px;
  }
  .auth-layout {
    gap: 50px;
  }
  .auth-intro h1 {
    font-size: 48px;
  }
  nav {
    gap: 16px;
  }
}
@media (max-width: 1000px) {
  header {
    height: auto;
    padding-block: 22px;
    flex-wrap: wrap;
  }
  nav {
    order: 3;
  }
  .hero {
    min-height: 620px;
  }
  .auth-layout {
    gap: 35px;
  }
  .ecosystem-grid {
    gap: 14px;
  }
  .workspace-card h3 {
    font-size: 20px;
  }
  .project-glyph {
    font-size: 40px;
    right: 22px;
  }
  .card {
    padding: 26px;
  }
  .practice-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 680px) {
  header,
  main,
  footer {
    padding-inline: 24px;
  }
  header {
    gap: 15px;
  }
  .hero {
    padding-block: 50px;
    min-height: 0;
  }
  .hero h1 {
    font-size: 50px;
    letter-spacing: -2.4px;
  }
  .hero-visual {
    margin-top: 8px;
  }
  .hero-note {
    font-size: 9px;
  }
  .hero .lead {
    font-size: 14px;
  }
  .visual-top {
    font-size: 8px;
  }
  .menu-toggle {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-left: auto;
    background: transparent;
    border: 0;
    color: #d8e8e8;
    min-height: 44px;
    font-size: 12px;
    padding: 0 5px;
  }
  .signin {
    font-size: 11px;
    padding: 9px 12px;
  }
  header nav {
    display: none;
    width: 100%;
    order: 4;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--line);
    padding-top: 12px;
  }
  header nav[data-open="true"] {
    display: flex;
  }
  header nav a {
    font-size: 14px;
    padding: 12px 0;
    min-height: 44px;
  }
  .practice-grid,
  .catalog,
  .ecosystem-grid,
  .contact,
  .auth-layout {
    grid-template-columns: 1fr;
  }
  .practice-card {
    padding: 26px;
  }
  .practice-card h3 {
    font-size: 21px;
  }
  .practice-card p {
    font-size: 13px;
  }
  .catalog {
    gap: 20px;
  }
  .card {
    min-height: 320px;
  }
  .card h3 {
    font-size: 28px;
  }
  .case-section {
    padding-inline: 0;
    margin-inline: 0;
  }
  .section-head h2 {
    font-size: 33px;
  }
  .principles {
    display: grid;
    gap: 14px;
    padding: 22px 0;
  }
  .principles b {
    font-size: 12px;
  }
  .workspace-card {
    padding: 28px;
  }
  .workspace-card h3 {
    font-size: 25px;
  }
  .workspace-icon {
    margin-bottom: 24px;
  }
  .explorer > div,
  .explorer aside {
    padding: 22px;
  }
  .boundary {
    line-height: 1.8;
  }
  .terminal {
    min-height: 330px;
    padding: 22px;
  }
  .contact {
    gap: 25px;
  }
  .auth-layout {
    gap: 24px;
    padding-block: 50px;
  }
  .auth-intro h1 {
    font-size: 45px;
  }
  .auth-orbit {
    display: none;
  }
  .auth-intro > .fine {
    margin-top: 24px;
  }
  .auth-card {
    padding: 26px;
  }
  .auth-card h2 {
    font-size: 30px;
  }
  .auth-card .primary {
    padding-inline: 14px;
  }
  .study-option {
    padding: 20px;
  }
  .auth-body header {
    flex-wrap: nowrap;
  }
  .auth-body header .back-link {
    font-size: 10px;
  }
  .auth-body .wordmark {
    font-size: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero .intro,
  .hero-visual {
    animation: none;
  }
  nav a:after {
    transition: none;
  }
}
