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

:root {
  --ink: #090a0d;
  --panel: #101217;
  --panel-2: #15181e;
  --paper: #edf0f4;
  --slate: #929bad;
  --dim: #5d6676;
  --line: rgba(237, 240, 244, .09);
  --line-strong: rgba(237, 240, 244, .18);
  --cyan: #4df0ff;
  --lime: #c6ff3d;
  --pink: #ff3ea5;
  --orange: #ff8a3d;
  --red: #ff5e68;
  --violet: #9c89ff;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --display: 'Space Grotesk', sans-serif;
  --body: 'Inter', sans-serif;
  --nav: 60px;
}

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  line-height: 1.55;
}

* {
  letter-spacing: 0;
  scrollbar-width: thin;
  scrollbar-color: #377f88 var(--panel);
}

*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: var(--panel); }
*::-webkit-scrollbar-thumb {
  border: 2px solid var(--panel);
  border-radius: 6px;
  background: #377f88;
}

a { color: inherit; text-decoration: none; }
code, pre { font-family: var(--mono); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.nav {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line-strong);
  background: rgba(9, 10, 13, .97);
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
}

.nav__mark { width: 25px; height: 25px; }
.nav__brand span { font: 600 1rem var(--display); }
.nav__brand em { color: var(--cyan); font-style: normal; }

.nav__links {
  display: flex;
  align-self: stretch;
  align-items: stretch;
  gap: 18px;
}

.nav__links a {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--slate);
  font: .6rem var(--mono);
  text-transform: uppercase;
}

.nav__links a:hover,
.nav__links a.is-active { color: var(--paper); }

.nav__links a.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--cyan);
}

.nav__github {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  padding: 0 14px;
  border: 1px solid var(--lime);
  border-radius: 5px;
  background: var(--lime);
  color: #08110a;
  font: 700 .65rem var(--mono);
  text-transform: uppercase;
}

main { padding-top: var(--nav); }

.section-code {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan);
  font: 600 .66rem var(--mono);
  text-transform: uppercase;
}

.section-code::before {
  content: "";
  width: 7px;
  height: 7px;
  background: currentColor;
  box-shadow: 0 0 13px currentColor;
}

.about-hero {
  min-height: calc(100vh - var(--nav) - 34px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(410px, .85fr);
  align-items: center;
  gap: 80px;
  padding: 80px max(5vw, 32px);
  border-bottom: 1px solid var(--line-strong);
  background: #0b0d11;
}

.about-hero__copy { max-width: 900px; }

.about-hero h1 {
  margin-top: 20px;
  font: 700 7.2rem/.9 var(--display);
}

.about-hero__lead {
  max-width: 850px;
  margin-top: 34px;
  color: #b7c0ce;
  font-size: 1.13rem;
  line-height: 1.78;
}

.identity-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 42px;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.identity-line span {
  min-width: 0;
  min-height: 82px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  color: var(--paper);
  font: 600 .68rem var(--mono);
}

.identity-line small {
  margin-bottom: 7px;
  color: var(--dim);
  font: .5rem var(--mono);
}

.profile-visual {
  position: relative;
  width: min(100%, 500px);
  aspect-ratio: 1;
  justify-self: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #0e1014;
  box-shadow: 18px 18px 0 #15181e;
}

.profile-visual::before,
.profile-visual::after {
  content: "";
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.profile-visual::before { inset: 14%; }
.profile-visual::after { inset: 30%; }

.profile-visual__axis {
  position: absolute;
  z-index: 1;
  background: var(--line-strong);
}

.profile-visual__axis--horizontal {
  top: 50%;
  left: 12%;
  width: 76%;
  height: 1px;
}

.profile-visual__axis--vertical {
  top: 12%;
  left: 50%;
  width: 1px;
  height: 76%;
}

.profile-node {
  position: absolute;
  z-index: 2;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: #0e1014;
  font: 700 .72rem var(--mono);
}

.profile-node--center {
  top: 50%;
  left: 50%;
  width: 112px;
  height: 112px;
  transform: translate(-50%, -50%);
  color: var(--cyan);
  font-size: 1.35rem;
  box-shadow: 0 0 28px rgba(77, 240, 255, .12);
}

.profile-node--top { top: 7%; left: 50%; transform: translateX(-50%); color: var(--red); }
.profile-node--right { top: 50%; right: 7%; transform: translateY(-50%); color: var(--pink); }
.profile-node--bottom { bottom: 7%; left: 50%; transform: translateX(-50%); color: var(--lime); }
.profile-node--left { top: 50%; left: 7%; transform: translateY(-50%); color: var(--orange); }

.profile-visual__caption {
  position: absolute;
  z-index: 3;
  right: 9%;
  bottom: 13%;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line-strong);
  background: #0b0d11;
}

.profile-visual__caption span { color: var(--dim); font: .48rem var(--mono); }
.profile-visual__caption strong { font: 600 .6rem var(--mono); }

.communication-section,
.work-section {
  padding: 100px max(5vw, 32px);
  background: #e9edf0;
  color: #101218;
}

.defaults-section,
.why-section {
  padding: 100px max(5vw, 32px);
}

.section-head {
  max-width: 1500px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  margin: 0 auto 60px;
}

.section-head h2 {
  max-width: 870px;
  margin-top: 15px;
  font: 600 3.7rem/1.03 var(--display);
}

.section-head > p {
  max-width: 540px;
  color: var(--slate);
  font-size: .95rem;
  line-height: 1.72;
}

.section-head--light .section-code { color: #087f8c; }
.section-head--light > p { color: #555e6d; }

.communication-grid {
  max-width: 1500px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(380px, .9fr);
  gap: 28px;
  margin: 0 auto;
}

.spectrum-statement {
  padding: 42px;
  border: 1px solid rgba(16, 18, 24, .24);
  border-top: 2px solid #087f8c;
  background: #f5f7f8;
}

.spectrum-statement > span,
.tone-console > header span {
  color: #087f8c;
  font: .56rem var(--mono);
}

.spectrum-statement h3 {
  margin-top: 12px;
  font: 600 2.2rem/1.1 var(--display);
}

.spectrum-statement p {
  max-width: 820px;
  margin-top: 22px;
  color: #535c69;
  font-size: .96rem;
  line-height: 1.8;
}

.tone-console {
  border: 1px solid #202630;
  background: #101218;
  color: var(--paper);
}

.tone-console > header {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line-strong);
}

.tone-console > header strong { color: var(--dim); font: .52rem var(--mono); }
.tone-console dl { padding: 18px 25px; }

.tone-console dl div {
  min-height: 53px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.tone-console dl div:last-child { border-bottom: 0; }
.tone-console dt { color: var(--slate); font: .66rem var(--mono); }
.tone-console dd { font: 700 .6rem var(--mono); }
.tone-low { color: var(--orange); }
.tone-high { color: var(--pink); }
.tone-good { color: var(--lime); }

.tone-notes {
  max-width: 1500px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 28px auto 0;
  border-top: 1px solid rgba(16, 18, 24, .24);
  border-left: 1px solid rgba(16, 18, 24, .24);
}

.tone-notes > div {
  min-width: 0;
  min-height: 190px;
  padding: 28px;
  border-right: 1px solid rgba(16, 18, 24, .24);
  border-bottom: 1px solid rgba(16, 18, 24, .24);
}

.tone-notes span { color: #087f8c; font: .58rem var(--mono); }
.tone-notes strong { display: block; margin-top: 24px; font: 600 1.02rem var(--display); }
.tone-notes p { margin-top: 9px; color: #5a6370; font-size: .8rem; line-height: 1.65; }

.defaults-section { background: #0b0d11; }

.defaults-layout {
  max-width: 1500px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr);
  gap: 28px;
  margin: 0 auto;
}

.defaults-code {
  min-width: 0;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: #0e1014;
}

.defaults-code > header {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line-strong);
}

.defaults-code > header i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pink);
}

.defaults-code > header i:nth-child(2) { background: var(--lime); }
.defaults-code > header i:nth-child(3) { background: var(--cyan); }
.defaults-code > header strong { margin-left: 10px; color: var(--slate); font: .62rem var(--mono); }

.defaults-code pre {
  overflow: auto;
  padding: 32px;
  color: #d6dce5;
  font-size: .78rem;
  line-height: 1.8;
}

.tok-kw { color: var(--pink); }
.tok-str { color: var(--lime); }

.defaults-facts {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.defaults-facts article {
  min-width: 0;
  padding: 24px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.defaults-facts span { color: var(--orange); font: .54rem var(--mono); }
.defaults-facts article:nth-child(2) span { color: var(--cyan); }
.defaults-facts article:nth-child(3) span { color: var(--red); }
.defaults-facts strong { display: block; margin-top: 9px; font: 600 1.06rem var(--display); }
.defaults-facts p { margin-top: 8px; color: var(--slate); font-size: .8rem; line-height: 1.65; }

.work-ledger {
  max-width: 1500px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  border-top: 1px solid rgba(16, 18, 24, .24);
  border-left: 1px solid rgba(16, 18, 24, .24);
}

.work-ledger article {
  min-width: 0;
  min-height: 300px;
  padding: 36px;
  border-right: 1px solid rgba(16, 18, 24, .24);
  border-bottom: 1px solid rgba(16, 18, 24, .24);
}

.work-ledger span { color: #087f8c; font: .55rem var(--mono); }
.work-ledger article:nth-child(2) span { color: #9b2865; }
.work-ledger article:nth-child(3) span { color: #6e871d; }
.work-ledger h3 { margin-top: 50px; font: 600 1.45rem var(--display); }
.work-ledger p { margin-top: 13px; color: #565f6c; font-size: .87rem; line-height: 1.72; }

.why-section {
  border-top: 1px solid var(--line-strong);
  background: #0b0d11;
}

.why-heading {
  max-width: 1100px;
  margin: 0 auto 62px;
  text-align: center;
}

.why-heading .section-code { justify-content: center; }
.why-heading h2 { margin-top: 18px; font: 600 4.2rem/1.02 var(--display); }
.why-heading > p { max-width: 850px; margin: 25px auto 0; color: var(--slate); font-size: .98rem; line-height: 1.78; }

.why-compare {
  max-width: 1500px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 100px minmax(0, 1fr);
  margin: 0 auto;
}

.why-compare article {
  padding: 35px;
  border: 1px solid var(--line-strong);
  background: #0e1014;
}

.why-keep { border-top-color: var(--cyan) !important; }
.why-rebuild { border-top-color: var(--lime) !important; }

.why-compare header {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.why-compare header span { color: var(--dim); font: .55rem var(--mono); }
.why-compare header strong { display: block; margin-top: 8px; font: 600 1.2rem var(--display); }
.why-compare ul { display: grid; gap: 13px; margin-top: 25px; list-style: none; }
.why-compare li { position: relative; padding-left: 22px; color: #b7c0cf; font-size: .86rem; }
.why-compare li::before { content: ""; position: absolute; top: .65em; left: 1px; width: 8px; height: 1px; background: var(--cyan); }
.why-rebuild li::before { background: var(--lime); }

.why-arrow { display: flex; align-items: center; justify-content: center; }
.why-arrow span { width: 24px; height: 1px; background: var(--line-strong); }
.why-arrow strong { margin: 0 8px; color: var(--lime); font: 700 .75rem var(--mono); }

.markup-verdict {
  max-width: 1500px;
  display: grid;
  grid-template-columns: 190px minmax(300px, .9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: 36px;
  margin: 30px auto 0;
  padding: 30px;
  border: 1px solid rgba(255, 62, 165, .4);
  background: #151015;
}

.markup-verdict span { color: var(--pink); font: .57rem var(--mono); }
.markup-verdict strong { font: 600 1.4rem/1.2 var(--display); }
.markup-verdict p { color: #b2a5b1; font-size: .84rem; line-height: 1.7; }

.about-closing {
  padding: 100px max(5vw, 32px) 120px;
  border-top: 1px solid var(--line-strong);
  text-align: center;
}

.about-closing .section-code { justify-content: center; }
.about-closing h2 { max-width: 1000px; margin: 18px auto 0; font: 600 4.2rem/1.03 var(--display); }
.about-closing > p { max-width: 800px; margin: 24px auto 0; color: var(--slate); font-size: .96rem; line-height: 1.75; }
.about-closing > div { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }
.about-closing a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  font: 700 .58rem var(--mono);
  text-transform: uppercase;
}
.about-closing a:hover { border-color: var(--cyan); color: var(--cyan); }

@media (max-width: 1120px) {
  .nav__links { display: none; }
  .about-hero { grid-template-columns: 1fr; gap: 55px; }
  .profile-visual { width: min(80vw, 500px); }
  .communication-grid,
  .defaults-layout { grid-template-columns: 1fr; }
  .defaults-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto; }
  .markup-verdict { grid-template-columns: 160px 1fr; }
  .markup-verdict p { grid-column: 2; }
}

@media (max-width: 860px) {
  :root { --nav: 56px; }
  .nav { grid-template-columns: 1fr auto; padding: 0 16px; }
  .about-hero {
    min-height: auto;
    padding: 78px 22px 72px;
  }
  .about-hero h1 { font-size: 5rem; }
  .identity-line { grid-template-columns: 1fr 1fr; }
  .communication-section,
  .defaults-section,
  .work-section,
  .why-section,
  .about-closing { padding: 74px 22px; }
  .section-head { align-items: flex-start; flex-direction: column; margin-bottom: 44px; }
  .section-head h2 { font-size: 2.8rem; }
  .tone-notes,
  .work-ledger { grid-template-columns: 1fr; }
  .work-ledger article { min-height: 0; }
  .defaults-facts { grid-template-columns: 1fr; }
  .why-heading h2,
  .about-closing h2 { font-size: 3rem; }
  .why-compare { grid-template-columns: 1fr; gap: 12px; }
  .why-arrow { min-height: 44px; transform: rotate(90deg); }
}

@media (max-width: 580px) {
  .nav__github { min-height: 34px; }
  .about-hero h1 { font-size: 3.6rem; }
  .about-hero__lead { font-size: 1rem; }
  .identity-line { grid-template-columns: 1fr; }
  .profile-visual { width: min(86vw, 430px); box-shadow: 9px 9px 0 #15181e; }
  .profile-node { width: 52px; height: 52px; font-size: .62rem; }
  .profile-node--center { width: 88px; height: 88px; font-size: 1.1rem; }
  .profile-visual__caption { display: none; }
  .section-head h2 { font-size: 2.2rem; }
  .spectrum-statement { padding: 25px; }
  .spectrum-statement h3 { font-size: 1.65rem; }
  .tone-console dl { padding: 14px 20px; }
  .defaults-code pre { padding: 21px; font-size: .66rem; }
  .why-heading h2,
  .about-closing h2 { font-size: 2.35rem; }
  .why-compare article { padding: 25px; }
  .markup-verdict { grid-template-columns: 1fr; gap: 18px; }
  .markup-verdict p { grid-column: 1; }
  .about-closing > div { flex-direction: column; }
  .about-closing a { justify-content: center; }
}

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