@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

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

:root {
  --background: #ffffff;
  --foreground: #000000;
  --foreground-muted: rgba(0, 0, 0, 0.55);
  --border: #000000;
  --border-dashed: rgba(0, 0, 0, 0.25);
  --accent: #f97316;
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --radius: 0px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  hyphens: none;
  -webkit-hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

p, li, span, td, th {
  text-wrap: pretty;
  hyphens: none;
  -webkit-hyphens: none;
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
  hyphens: none;
  -webkit-hyphens: none;
}

/* ── LAYOUT FRAME ── */
.frame {
  position: fixed;
  top: 24px;
  bottom: 24px;
  width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  z-index: 50;
}
.frame--left { left: 24px; border-right: 1px solid var(--border); }
.frame--right { right: 24px; border-right: 1px solid var(--border); }
.frame__tick {
  width: 12px;
  border-top: 1px solid var(--border);
}

@media (max-width: 1024px) {
  .frame { display: none; }
}

/* ── PAGE WRAPPER ── */
.page-wrapper {
  padding: 0 16px;
  min-height: 100vh;
}
@media (min-width: 640px) { .page-wrapper { padding: 0 32px; } }
@media (min-width: 1024px) { .page-wrapper { padding: 0 64px; } }

.page-inner {
  max-width: 1400px;
  margin: 0 auto;
  border-left: 1px dashed var(--border-dashed);
  border-right: 1px dashed var(--border-dashed);
  padding-top: 16px;
  padding-bottom: 24px;
}
@media (max-width: 1024px) {
  .page-inner {
    border: none;
  }
}

/* ── NAV / HEADER ── */
.site-header {
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  background: var(--background);
  position: sticky;
  top: 24px;
  z-index: 40;
}
@media (max-width: 1024px) {
  .site-header { top: 0; }
}

.site-header__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-right: 1px solid var(--border);
  flex-shrink: 0;
}
.site-header__logo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  width: 20px;
  height: 20px;
}
.site-header__logo-grid div {
  border: 1px solid var(--border);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0;
  height: 100%;
  overflow-x: auto;
}
.site-nav a {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--foreground);
  text-decoration: none;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  border-left: 1px solid var(--border);
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.site-nav a:hover,
.site-nav a.active {
  background: var(--foreground);
  color: var(--background);
}

.site-header__right {
  display: flex;
  align-items: center;
  height: 100%;
  border-left: 1px solid var(--border);
  flex-shrink: 0;
}

.site-header__contact {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--foreground);
  text-decoration: none;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  border-right: 1px solid var(--border);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.site-header__contact:hover {
  background: var(--foreground);
  color: var(--background);
}

/* ── BURGER BUTTON ── */
.burger-btn {
  width: 48px;
  height: 48px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
@media (max-width: 1024px) {
  .burger-btn { display: flex; }
  .site-header__contact { display: none; }
}

.burger-line {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--foreground);
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}
.burger-btn.is-active .burger-line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.burger-btn.is-active .burger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.burger-btn.is-active .burger-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── MOBILE MENU ── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  visibility: hidden;
}
.mobile-menu.is-open {
  pointer-events: all;
  visibility: visible;
}

.mobile-menu__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-menu.is-open .mobile-menu__overlay {
  opacity: 1;
}

.mobile-menu__panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(320px, 88vw);
  background: var(--background);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}
.mobile-menu.is-open .mobile-menu__panel {
  transform: translateX(0);
}

.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 64px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.mobile-menu__brand {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.mobile-menu__close {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}
.mobile-menu__close:hover {
  background: var(--foreground);
  color: var(--background);
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mobile-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  color: var(--foreground);
  border-bottom: 1px solid var(--border);
  transition: background 0.15s, padding-left 0.2s;
}
.mobile-menu__link:hover {
  background: rgba(0, 0, 0, 0.03);
  padding-left: 28px;
}
.mobile-menu__link--active {
  background: var(--foreground);
  color: var(--background);
}
.mobile-menu__link--active:hover {
  background: var(--foreground);
  padding-left: 24px;
}

.mobile-menu__arrow {
  font-size: 16px;
  opacity: 0.4;
  transition: opacity 0.15s, transform 0.2s;
}
.mobile-menu__link:hover .mobile-menu__arrow {
  opacity: 1;
  transform: translateX(4px);
}
.mobile-menu__link--active .mobile-menu__arrow {
  opacity: 0.5;
}

.mobile-menu__foot {
  padding: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
}

.mobile-menu__email {
  font-size: 13px;
  color: var(--foreground-muted);
  text-decoration: none;
  font-family: var(--font-mono);
}
.mobile-menu__email:hover {
  color: var(--foreground);
}

.mobile-menu__legal {
  display: flex;
  gap: 16px;
}
.mobile-menu__legal a {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--foreground-muted);
  text-decoration: none;
}
.mobile-menu__legal a:hover {
  color: var(--foreground);
}

/* ── HERO ── */
.hero {
  position: relative;
  overflow: hidden;
}

.hero__title-wrap {
  position: relative;
  padding: 0 24px;
}

.hero__title {
  font-size: clamp(48px, 8vw, 140px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.03em;
  position: relative;
  z-index: 10;
  padding: 24px 0;
}

.hero__title-ghost {
  display: flex;
  flex-direction: column;
  gap: -0.6em;
  user-select: none;
  position: absolute;
  top: 0; left: 24px;
  right: 24px;
  overflow: hidden;
  z-index: 1;
  opacity: 0.06;
}
.hero__title-ghost span {
  font-size: clamp(48px, 8vw, 140px);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.03em;
  -webkit-text-stroke: 1px var(--foreground);
  color: transparent;
}

/* ── STICKY SCROLL SPACER ── */
.scroll-spacer {
  height: 24px;
  background: var(--background);
  position: sticky;
  top: 72px;
  z-index: 20;
}

/* ── SECTIONS ── */
.section {
  border-top: 1px solid var(--border);
  padding: 64px 24px;
}
.section--accent-top {
  border-top: 2px solid var(--foreground);
}

.section__label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--foreground-muted);
  margin-bottom: 16px;
}

.section__title {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.section__title--lg {
  font-size: clamp(36px, 5vw, 72px);
}

.section__subtitle {
  font-size: 18px;
  color: var(--foreground-muted);
  max-width: 640px;
  line-height: 1.6;
  margin-bottom: 48px;
}

.section__text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--foreground-muted);
}

/* ── GRID CARDS ── */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-bottom: none;
  border-right: none;
}
@media (min-width: 768px) {
  .cards-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .cards-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px;
  position: relative;
  transition: background 0.2s;
}
.card:hover {
  background: rgba(0,0,0,0.02);
}

.card__number {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--foreground-muted);
  margin-bottom: 16px;
  display: block;
}

.card__icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card__title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.2;
}

.card__text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--foreground-muted);
}

/* ── FEATURE LIST ── */
.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--border);
  border-bottom: none;
}
@media (min-width: 640px) {
  .feature-list--2col { grid-template-columns: repeat(2, 1fr); }
  .feature-list--3col { grid-template-columns: repeat(3, 1fr); }
}

.feature-list li {
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  border-right: 1px solid var(--border);
}
.feature-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border: 1px solid var(--foreground);
  flex-shrink: 0;
  transform: rotate(45deg);
}

/* ── TWO COLUMN LAYOUT ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  border-top: 1px solid var(--border);
  padding-top: 48px;
  margin-top: 48px;
}
@media (min-width: 1024px) {
  .two-col { grid-template-columns: 1fr 1fr; gap: 64px; }
}

/* ── PROCESS STEPS ── */
.steps {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
}

.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.step:last-child { border-bottom: none; }
.step:hover { background: rgba(0,0,0,0.02); }

.step__num {
  font-family: var(--font-mono);
  font-size: 12px;
  border-right: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 28px 16px;
  color: var(--foreground-muted);
}

.step__content {
  padding: 28px 32px;
}

.step__label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 6px;
}

.step__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.step__text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--foreground-muted);
  margin-bottom: 16px;
}

.step__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.step__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 10px;
  border: 1px solid var(--border-dashed);
  color: var(--foreground-muted);
}

/* ── PRINCIPLES ── */
.principles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-bottom: none;
}
@media (min-width: 768px) {
  .principles { grid-template-columns: repeat(2, 1fr); }
}

.principle {
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  padding: 32px;
}
.principle:nth-child(even) { border-right: none; }
@media (max-width: 767px) {
  .principle { border-right: none; }
}

.principle__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.principle__title::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--foreground);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.principle__text {
  font-size: 14px;
  color: var(--foreground-muted);
  line-height: 1.6;
}

/* ── HERO ILLUSTRATION (grid box) ── */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  margin-top: 0;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
}

.hero-grid__cell {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 32px;
  position: relative;
  overflow: hidden;
}

.hero-grid__cell--code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: rgba(0,0,0,0.02);
  padding: 24px;
}

.hero-grid__cell--dark {
  background: var(--foreground);
  color: var(--background);
}

/* ── TEAM SECTIONS ── */
.team-section {
  border: 1px solid var(--border);
  border-top: none;
}
.team-section:first-child { border-top: 1px solid var(--border); }

.team-section__header {
  display: grid;
  grid-template-columns: 1fr;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 1024px) {
  .team-section__header { grid-template-columns: 200px 1fr; }
}

.team-section__label-col {
  border-right: 1px solid var(--border);
  padding: 32px 24px;
  width: 200px;
  flex-shrink: 0;
}
@media (max-width: 1023px) {
  .team-section__label-col { border-right: none; border-bottom: 1px solid var(--border); width: auto; }
}

.team-section__label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--foreground-muted);
  display: block;
  margin-bottom: 8px;
}

.team-section__dept {
  font-size: 22px;
  font-weight: 700;
}

.team-section__content {
  padding: 32px 40px;
}

.team-section__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
}

.team-section__text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--foreground-muted);
}
.team-section__text + .team-section__text {
  margin-top: 12px;
}

/* ── CTA SECTION ── */
.cta-section {
  border-top: 2px solid var(--foreground);
  padding: 80px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
@media (min-width: 768px) {
  .cta-section { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}

.cta-section__text {
  max-width: 560px;
}

.cta-section__title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.cta-section__sub {
  font-size: 16px;
  color: var(--foreground-muted);
  line-height: 1.6;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--foreground);
  background: var(--background);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
  font-family: var(--font-sans);
}
.btn:hover {
  background: var(--foreground);
  color: var(--background);
}
.btn--filled {
  background: var(--foreground);
  color: var(--background);
}
.btn--filled:hover {
  background: transparent;
  color: var(--foreground);
}

.btn__arrow {
  font-size: 18px;
  transform: rotate(-45deg);
  display: inline-block;
  transition: transform 0.2s;
}
.btn:hover .btn__arrow {
  transform: rotate(-45deg) translate(2px, -2px);
}

/* ── FOOTER ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (min-width: 768px) {
  .site-footer { flex-direction: row; align-items: center; justify-content: space-between; }
}

.site-footer__brand {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.site-footer__links a {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--foreground-muted);
  text-decoration: none;
  padding: 6px 14px;
  border: 1px solid transparent;
  transition: border-color 0.15s, color 0.15s;
}
.site-footer__links a:hover {
  color: var(--foreground);
  border-color: var(--border-dashed);
}

.site-footer__copy {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--foreground-muted);
}

/* ── INLINE ILLUSTRATIONS (SVG-based) ── */
.illustration-box {
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(0,0,0,0.015);
  position: relative;
}

.illustration-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--border-dashed) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.4;
}

.illustration-box svg,
.illustration-box img {
  position: relative;
  z-index: 1;
}

/* ── PHOTO/IMAGE BLOCKS ── */
.photo-block {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}
.photo-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(20%);
  transition: filter 0.3s, transform 0.5s;
}
.photo-block:hover img {
  filter: grayscale(0%);
  transform: scale(1.02);
}

/* ── STAT BLOCKS ── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--border);
  border-right: none;
  border-bottom: none;
}
@media (min-width: 768px) {
  .stats-row { grid-template-columns: repeat(4, 1fr); }
}

.stat {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 24px;
}

.stat__number {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.stat__label {
  font-size: 13px;
  color: var(--foreground-muted);
  font-family: var(--font-mono);
}

/* ── TECH STACK ── */
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid var(--border);
  border-right: none;
  border-bottom: none;
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 10px 16px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--foreground-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.tech-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  display: inline-block;
  flex-shrink: 0;
}

/* ── CORNER MARKS ── */
.corner-mark {
  position: absolute;
  width: 17px;
  height: 17px;
  pointer-events: none;
}
.corner-mark--tl { top: 0; left: 0; }
.corner-mark--tr { top: 0; right: 0; transform: scaleX(-1); }
.corner-mark--bl { bottom: 0; left: 0; transform: scaleY(-1); }
.corner-mark--br { bottom: 0; right: 0; transform: scale(-1); }

/* ── DOTTED BACKGROUND PATTERN ── */
.dot-pattern {
  background-image: radial-gradient(circle, rgba(0,0,0,0.15) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* ── RESPONSIVE UTILITIES ── */
@media (max-width: 1024px) {
  .site-nav { display: none; }
  .scroll-spacer { display: none; }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
  animation: fadeUp 0.6s ease forwards;
}

/* ── SECTION SPLIT (responsive 2-col) ── */
.section-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 767px) {
  .section-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ── LEGAL TABLE (terms / privacy) ── */
.legal-table {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
}
.legal-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  border-bottom: 1px solid var(--border);
}
.legal-row:last-child { border-bottom: none; }
.legal-row__label {
  padding: 28px 24px;
  border-right: 1px solid var(--border);
  background: rgba(0,0,0,0.02);
}
.legal-row__label-num {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--foreground-muted);
}
.legal-row__label-title {
  font-size: 14px;
  font-weight: 700;
  margin-top: 6px;
}
.legal-row__content {
  padding: 28px 32px;
}
@media (max-width: 640px) {
  .legal-row {
    grid-template-columns: 1fr;
  }
  .legal-row__label {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 20px 20px 16px;
  }
  .legal-row__content {
    padding: 20px;
  }
}

/* ── TECH STACK TABLE ── */
.tech-table {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
}
.tech-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 1px solid var(--border);
}
.tech-row:last-child { border-bottom: none; }
.tech-row__label {
  border-right: 1px solid var(--border);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  background: rgba(0,0,0,0.02);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--foreground-muted);
}
.tech-row__tags {
  padding: 14px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.tech-tag-pill {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 5px 12px;
  border: 1px solid var(--border-dashed);
  color: var(--foreground-muted);
  white-space: nowrap;
}
@media (max-width: 640px) {
  .tech-row {
    grid-template-columns: 1fr;
  }
  .tech-row__label {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 10px 16px;
  }
  .tech-row__tags {
    padding: 12px 16px;
  }
}

/* ── UTILITY ── */
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mb-8 { margin-bottom: 32px; }
.text-mono { font-family: var(--font-mono); }
.text-muted { color: var(--foreground-muted); }
.text-accent { color: var(--accent); }
.gap-4 { gap: 16px; }

/* ── PAGE TITLE (non-hero) ── */
.page-title-bar {
  padding: 48px 24px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .page-title-bar { grid-template-columns: 1fr 1fr; align-items: end; }
}

.page-title-bar__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}

.page-title-bar__h1 {
  font-size: clamp(36px, 5vw, 80px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  padding-bottom: 32px;
}

.page-title-bar__desc {
  font-size: 17px;
  color: var(--foreground-muted);
  line-height: 1.65;
  max-width: 480px;
  padding-bottom: 32px;
  align-self: end;
}
@media (min-width: 1024px) {
  .page-title-bar__desc { padding-left: 48px; border-left: 1px solid var(--border); }
}
