@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../assets/fonts/dm-sans-400-700.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/ibm-plex-mono-400.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/ibm-plex-mono-500.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/ibm-plex-mono-600.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../assets/fonts/space-grotesk-400-700.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --bg: #101210;
  --surface: #181b17;
  --surface-2: #20241d;
  --text: #f2f2eb;
  --muted: #a2a89b;
  --line: #30352b;
  --accent: #d5f56b;
  --cyan: #8ddae4;
  --amber: #efb97a;
  --purple: #c5b2ed;
  --blue: #aac4ff;
  --accent-hover: #def69f;
  --on-accent: #151c0b;
  --line-strong: #718194;
  --success: #99d99f;
  --danger: #ffa8a0;
  --soft-accent: #293524;
  --soft-cyan: #20353d;
  --soft-purple: #31283e;
  --soft-amber: #3b2e22;
  --bg-rgb: 16, 18, 16;
  --surface-rgb: 24, 27, 23;
  --surface-2-rgb: 32, 36, 29;
  --text-rgb: 242, 242, 235;
  --muted-rgb: 162, 168, 155;
  --line-rgb: 48, 53, 43;
  --accent-rgb: 213, 245, 107;
  --cyan-rgb: 141, 218, 228;
  --purple-rgb: 197, 178, 237;
  --amber-rgb: 239, 185, 122;
  --brand-filter: grayscale(1) brightness(2.6);
  --font-body: "DM Sans", sans-serif;
  --font-heading: "Space Grotesk", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open {
  overflow: hidden;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
img,
svg,
canvas {
  display: block;
  max-width: 100%;
}
button:disabled {
  cursor: default;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.045em;
}
h1 {
  font-size: clamp(48px, 6.5vw, 88px);
}
h2 {
  font-size: clamp(35px, 4vw, 54px);
}
h3 {
  font-size: 27px;
}
p {
  color: var(--muted);
}
::selection {
  background: var(--accent);
  color: var(--on-accent);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}
button:focus:not(:focus-visible) {
  outline: none;
}
[hidden] {
  display: none !important;
}
.container {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 56px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font: 500 10px/1.6 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: currentColor;
  flex-shrink: 0;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.section-heading .eyebrow {
  margin-bottom: 19px;
}
.section-heading > p {
  max-width: 350px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 52px;
  padding: 14px 23px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  transition:
    background 0.2s,
    transform 0.2s,
    border-color 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.button-primary {
  background: var(--accent);
  color: var(--on-accent);
}
.button-primary:hover {
  background: var(--accent-hover);
}
.button-secondary,
.button-outline {
  border-color: var(--line-strong);
  background: transparent;
}
.button-secondary:hover,
.button-outline:hover {
  border-color: var(--accent);
  background: rgba(var(--accent-rgb), 0.0392);
}
.button-small {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 12px;
}
.button span[aria-hidden] {
  font-size: 20px;
  line-height: 1;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  font-weight: 500;
}
.text-link span {
  color: var(--accent);
  font-size: 21px;
}
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 4px 8px;
  font: 400 9px/1.5 var(--font-mono);
  letter-spacing: 0.02em;
  color: var(--muted);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(var(--bg-rgb), 0.9216);
  backdrop-filter: blur(18px);
}
.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}
.brand-icon {
  width: 33px;
  height: 32px;
  filter: var(--brand-filter);
}
.brand-name {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -1.7px;
}
.brand-dot {
  color: var(--accent);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 31px;
}
.nav-link {
  position: relative;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-link:hover,
.nav-link.is-current {
  color: var(--text);
}
.nav-link.is-current:after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--accent);
}
.nav-badge {
  margin-left: 4px;
  padding: 1px 4px;
  background: var(--surface-2);
  color: var(--accent);
  font: 10px var(--font-mono);
  border: 1px solid var(--line);
  border-radius: 2px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: transparent;
  padding: 10px;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--text);
  margin: 5px 0;
  transition: transform 0.2s;
}
.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 100;
  background: var(--accent);
  color: var(--on-accent);
  padding: 12px 20px;
}
.skip-link:focus {
  top: 12px;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding-top: 52px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 45px;
}
.footer-top p {
  font-size: 12px;
  max-width: 270px;
  margin-top: 13px;
}
.footer-links {
  display: flex;
  gap: 60px;
}
.footer-links > div {
  display: grid;
  align-content: start;
  gap: 11px;
  font-size: 12px;
}
.footer-links > div > span {
  font: 10px var(--font-mono);
  color: var(--muted);
  letter-spacing: 0.08em;
  margin-bottom: 5px;
}
.footer-links a {
  color: var(--muted);
}
.footer-links a:hover {
  color: var(--accent);
}
.footer-bottom {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 22px;
  font: 9px/1.6 var(--font-mono);
  color: var(--muted);
}
.footer-bottom p {
  font-size: 9px;
}
.footer-status {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-status:before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.motion-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--muted);
  font: 9px var(--font-mono);
}
.motion-toggle:hover {
  color: var(--text);
}
.motion-symbol {
  display: inline-block;
  width: 7px;
  height: 9px;
  border-inline: 2px solid currentColor;
}
.motion-toggle[aria-pressed="true"] .motion-symbol {
  border: 0;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid currentColor;
}
.reveal-ready {
  opacity: 1;
}
.reveal-ready.is-visible {
  animation: reveal-in 0.65s ease both;
}
@keyframes reveal-in {
  from {
    opacity: 0.3;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
html[data-motion="paused"] *,
html[data-motion="paused"] *:before,
html[data-motion="paused"] *:after {
  animation-play-state: paused !important;
  scroll-behavior: auto !important;
}
html[data-motion="paused"] .reveal-ready {
  animation: none !important;
  opacity: 1;
  transform: none;
}
dialog {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}
dialog::backdrop {
  background: rgba(8, 14, 22, 0.72);
  backdrop-filter: blur(6px);
}
@media (min-width: 1500px) {
  .container {
    padding-inline: 64px;
  }
}
@media (max-width: 1100px) {
  .container {
    padding-inline: 32px;
  }
  .nav-links {
    gap: 20px;
  }
  .nav-shell {
    gap: 18px;
  }
  .footer-links {
    gap: 35px;
  }
}
@media (max-width: 800px) {
  html {
    scroll-padding-top: 95px;
  }
  .container {
    padding-inline: 24px;
  }
  .nav-shell {
    height: 72px;
  }
  .nav-links {
    display: none;
    position: absolute;
    inset: 72px 0 auto;
    background: var(--bg);
    padding: 26px 24px 36px;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: start;
    gap: 26px;
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
  }
  .nav-links.is-open {
    display: flex;
  }
  .nav-link {
    font-size: 17px;
  }
  .menu-toggle {
    display: block;
  }
  .brand-name {
    font-size: 25px;
  }
  .brand-icon {
    width: 29px;
  }
  .header-actions .button {
    min-height: 37px;
    padding: 8px 12px;
    font-size: 11px;
    gap: 12px;
  }
  .section-heading {
    display: block;
  }
  .section-heading > p {
    margin-top: 22px;
  }
  .footer-top {
    flex-direction: column;
    gap: 34px;
  }
  .footer-links {
    gap: 48px;
  }
  .footer-bottom {
    flex-wrap: wrap;
  }
  .footer-top p {
    max-width: 350px;
  }
}
@media (max-width: 480px) {
  .container {
    padding-inline: 20px;
  }
  .brand-icon {
    width: 25px;
  }
  .brand-name {
    font-size: 24px;
  }
  .nav-shell {
    gap: 10px;
  }
  .header-actions {
    gap: 8px;
  }
  .footer-links {
    gap: 30px;
    flex-wrap: wrap;
  }
  h2 {
    font-size: 36px;
  }
  .button {
    gap: 18px;
  }
  .footer-bottom {
    font-size: 8px;
  }
  .section-heading {
    gap: 22px;
  }
}
@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-ready {
    opacity: 1;
    transform: none;
  }
}

/* Primary routes stay explicit on every page. */
.nav-links {
  gap: 25px;
}
.nav-link {
  font-size: 13px;
}
.nav-quotation {
  white-space: nowrap;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.breadcrumbs a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.breadcrumbs a:hover {
  color: var(--accent);
}
.breadcrumbs [aria-current="page"] {
  color: var(--text);
}
@media (max-width: 1000px) {
  .nav-shell {
    height: 72px;
    gap: 15px;
  }
  .nav-links {
    display: none;
    position: absolute;
    inset: 72px 0 auto;
    background: var(--bg);
    padding: 24px 24px 30px;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: start;
    gap: 25px;
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
  }
  .nav-links.is-open {
    display: flex;
  }
  .nav-link {
    font-size: 17px;
  }
  .menu-toggle {
    display: block;
  }
  .header-actions {
    gap: 8px;
  }
  .header-actions .button {
    min-height: 40px;
    padding: 9px 13px;
    font-size: 12px;
    gap: 12px;
  }
}
@media (max-width: 480px) {
  .nav-shell {
    gap: 10px;
  }
  .header-actions .button {
    padding-inline: 10px;
    font-size: 11px;
    gap: 7px;
  }
  .brand-name {
    font-size: 23px;
  }
  .brand-icon {
    width: 24px;
  }
  .footer-links {
    gap: 25px;
  }
}
@media (max-width: 360px) {
  .nav-shell > .brand .brand-icon {
    display: none;
  }
  .header-actions .button {
    font-size: 10px;
    padding-inline: 9px;
  }
  .nav-shell {
    gap: 8px;
  }
}
