:root {
  color-scheme: dark;
  --bg: #080b12;
  --bg-soft: #101827;
  --panel: rgba(18, 27, 43, 0.84);
  --panel-strong: rgba(20, 31, 51, 0.96);
  --text: #f5f7fb;
  --muted: #b5c0d3;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #2dd4bf;
  --accent-2: #f59e0b;
  --accent-3: #8b5cf6;
  --danger: #fb7185;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 20% 10%, rgba(45, 212, 191, 0.2), transparent 28rem),
    radial-gradient(circle at 85% 20%, rgba(139, 92, 246, 0.2), transparent 26rem),
    linear-gradient(135deg, #06080e 0%, #101827 52%, #0d111a 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

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

.site-shell {
  width: calc(100% - 32px);
  max-width: 1180px;
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 20;
  background: var(--text);
  color: var(--bg);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 11, 18, 0.84);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a,
.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  padding: 10px 14px;
  font-weight: 800;
  font-size: 0.92rem;
  background: rgba(255, 255, 255, 0.05);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.nav-links a:hover,
.button:hover {
  transform: translateY(-1px);
  border-color: rgba(45, 212, 191, 0.55);
  background: rgba(45, 212, 191, 0.11);
}

.button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), #38bdf8);
  color: #061018;
}

.button.secondary {
  border-color: rgba(245, 158, 11, 0.45);
}

button.button {
  cursor: pointer;
  font: inherit;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: 44px;
  padding: 64px 0 48px;
}

.hero > *,
.section-grid > * {
  min-width: 0;
}

.eyebrow {
  color: var(--accent);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  margin: 0 0 12px;
  max-width: 100%;
  overflow-wrap: anywhere;
}

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

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

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

h3 {
  font-size: 1.2rem;
  line-height: 1.25;
}

.lede {
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-card {
  position: relative;
  isolation: isolate;
  min-height: 560px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #111827;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, transparent 0%, rgba(8, 11, 18, 0.8) 68%, rgba(8, 11, 18, 0.98) 100%),
    url("code.png") center / cover;
  opacity: 0.74;
}

.hero-card img {
  width: min(320px, 68%);
  margin: 42px auto 28px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.hero-art {
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center;
}

.signal-list {
  margin: 0;
  padding: 0 28px 28px;
  list-style: none;
}

.signal-list li {
  border-top: 1px solid var(--line);
  padding: 16px 0;
  color: var(--muted);
}

.signal-list strong {
  color: var(--text);
}

.section {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.52fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.section-kicker {
  color: var(--accent-2);
  font-weight: 900;
  margin-bottom: 10px;
}

.stack {
  display: grid;
  gap: 18px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: clamp(20px, 3vw, 30px);
}

.panel strong {
  color: var(--text);
}

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

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

.card {
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 24px;
}

.card .tag,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(45, 212, 191, 0.12);
  color: #8ff5e7;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stat {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
  padding: 20px;
}

.stat b {
  display: block;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.stat span {
  color: var(--muted);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.cert {
  min-height: 148px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  padding: 18px;
}

.cert img {
  max-height: 104px;
  object-fit: contain;
}

.feature {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.feature img {
  width: 190px;
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.link-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.art-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.art-strip figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--panel);
}

.art-strip img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

.art-strip figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
}

.link-list a {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-weight: 850;
}

.link-list a span {
  color: var(--muted);
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 48px;
  color: var(--muted);
}

.site-footer .site-shell {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.page-main {
  padding-bottom: 56px;
}

.page-hero {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  align-items: center;
  gap: 42px;
  padding: 72px 0 48px;
}

.page-hero h1 {
  max-width: 15ch;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 0.98;
}

.page-hero .lede {
  max-width: 68ch;
}

.page-visual {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(8, 11, 18, 0.05), rgba(8, 11, 18, 0.88)),
    #111827;
  box-shadow: var(--shadow);
}

.page-visual img {
  width: 100%;
  min-height: 320px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.page-visual figcaption {
  padding: 14px 16px;
  color: var(--muted);
  font-weight: 800;
}

.page-section {
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.content-flow {
  display: grid;
  gap: 18px;
}

.content-flow .panel {
  display: grid;
  gap: 12px;
}

.content-flow ul,
.content-flow ol,
.note-list,
.tool-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

.content-flow li,
.note-list li,
.tool-list li {
  margin: 8px 0;
}

.quote-panel {
  border-left: 4px solid var(--accent-2);
  background: rgba(245, 158, 11, 0.1);
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 18px;
}

.timeline-item time,
.timeline-item .mark {
  color: var(--accent);
  font-weight: 900;
}

.tool-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
  padding: clamp(18px, 3vw, 28px);
}

.tool-panel label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.tool-panel input,
.tool-panel select,
.tool-panel textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  padding: 10px 12px;
  font: inherit;
}

.tool-panel textarea {
  min-height: 128px;
  resize: vertical;
}

.status-box {
  border-color: rgba(245, 158, 11, 0.38);
  background: rgba(245, 158, 11, 0.09);
}

.results-grid,
.tool-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.person,
.result-card,
.feed-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 18px;
}

.person img,
.result-card img,
.feed-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  margin-bottom: 14px;
}

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

.feed-list li {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 16px;
}

.feed-list a {
  color: var(--text);
  font-weight: 900;
  text-decoration: none;
}

.feed-list a:hover {
  color: var(--accent);
}

.utility-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.mini-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.mini-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 800;
}

.mini-nav a:hover {
  color: var(--text);
  border-color: rgba(45, 212, 191, 0.55);
}

.archive-door {
  min-height: 280px;
  display: grid;
  align-content: center;
}

.plain-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
}

.plain-table th,
.plain-table td {
  border-bottom: 1px solid var(--line);
  padding: 12px;
  text-align: left;
}

.plain-table th {
  color: var(--accent);
}

.table-shell {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.table-shell .plain-table {
  min-width: 640px;
}

.feed-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin: 18px 0 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
  font-weight: 900;
}

.pill.live {
  border-color: rgba(45, 212, 191, 0.45);
  color: #8ff5e7;
}

.pill.demo {
  border-color: rgba(245, 158, 11, 0.45);
  color: #facc15;
}

.domain-cell {
  color: var(--text);
  font-weight: 900;
}

.url-cell {
  max-width: 38ch;
  overflow-wrap: anywhere;
  color: var(--muted);
}

.status-cell {
  font-weight: 900;
  color: var(--accent);
}

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

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero,
  .section-grid,
  .page-hero,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .page-hero {
    min-height: 0;
  }

  .hero-card {
    min-height: 0;
  }

  .cards,
  .stats,
  .cert-grid,
  .link-list,
  .art-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-shell {
    width: min(calc(100% - 32px), 358px);
    max-width: 358px;
    margin-left: 16px;
    margin-right: 16px;
  }

  .nav {
    gap: 14px;
  }

  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .nav-links a {
    width: 100%;
    min-height: 42px;
    padding: 9px 10px;
  }

  h1 {
    max-width: 9ch;
    font-size: clamp(2.25rem, 9vw, 2.85rem);
    line-height: 1.02;
    overflow-wrap: break-word;
  }

  .page-hero {
    padding: 48px 0 36px;
    gap: 26px;
  }

  .page-hero h1 {
    max-width: 100%;
    font-size: clamp(2.1rem, 9vw, 2.85rem);
    line-height: 1.04;
  }

  .eyebrow {
    font-size: 0.72rem;
    max-width: 28ch;
  }

  .lede {
    max-width: 30ch;
    font-size: 1rem;
  }

  .page-hero .lede {
    max-width: 100%;
  }

  .cards,
  .stats,
  .cert-grid,
  .link-list,
  .art-strip,
  .feature,
  .timeline-item {
    grid-template-columns: 1fr;
  }

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

  .feature img {
    width: 100%;
    max-height: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Visual refresh layer */
@property --edge-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 145deg;
}

:root {
  color-scheme: dark;
  --bg: #050608;
  --bg-soft: #0b1015;
  --panel: rgba(12, 17, 23, 0.78);
  --panel-strong: rgba(15, 22, 29, 0.94);
  --text: #f8fafc;
  --muted: #aeb8c8;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.22);
  --accent: #34d399;
  --accent-2: #f59e0b;
  --accent-3: #ef476f;
  --cool: #38bdf8;
  --ink: #050608;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.52);
  --shadow-tight: 0 14px 34px rgba(0, 0, 0, 0.34);
  --edge: linear-gradient(var(--edge-angle), rgba(52, 211, 153, 0.72), rgba(56, 189, 248, 0.22), rgba(245, 158, 11, 0.58), rgba(239, 71, 111, 0.48));
}

* {
  letter-spacing: 0;
}

body {
  position: relative;
  background:
    linear-gradient(135deg, rgba(52, 211, 153, 0.08), transparent 28%),
    linear-gradient(225deg, rgba(245, 158, 11, 0.08), transparent 30%),
    linear-gradient(180deg, #050608 0%, #0c1117 44%, #050608 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

body::before {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.026) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(135deg, rgba(52, 211, 153, 0.055) 0 1px, transparent 1px 18px);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), transparent 86%);
  opacity: 0.66;
}

body::after {
  z-index: -1;
  background:
    linear-gradient(110deg, transparent 0 18%, rgba(52, 211, 153, 0.08) 18% 18.25%, transparent 18.25% 44%, rgba(245, 158, 11, 0.08) 44% 44.25%, transparent 44.25%),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 5px);
  mix-blend-mode: screen;
  opacity: 0.28;
  animation: signalDrift 28s linear infinite;
}

@keyframes signalDrift {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-72px, 36px, 0);
  }
}

.site-shell {
  max-width: 1200px;
}

.site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(90deg, rgba(52, 211, 153, 0.11), transparent 28%, rgba(245, 158, 11, 0.08)),
    rgba(5, 6, 8, 0.78);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.nav {
  min-height: 82px;
}

.brand {
  gap: 14px;
  border-radius: 8px;
  padding: 6px 8px 6px 6px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.brand:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.08), 0 14px 28px rgba(0, 0, 0, 0.36);
}

.brand strong {
  line-height: 1.05;
}

.brand span {
  margin-top: 4px;
  color: #f0b96a;
}

.nav-links a,
.button,
.mini-nav a {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-links a::before,
.button::before,
.mini-nav a::before {
  content: "";
  position: absolute;
  inset: auto 12px 7px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-links a:hover::before,
.button:hover::before,
.mini-nav a:hover::before {
  transform: scaleX(1);
}

.button.primary {
  color: #02100d;
  background: linear-gradient(135deg, #5eead4, #facc15 52%, #fb7185);
  box-shadow: 0 18px 44px rgba(52, 211, 153, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.button.secondary {
  border-color: rgba(245, 158, 11, 0.5);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(255, 255, 255, 0.06));
}

.hero,
.page-hero {
  position: relative;
  isolation: isolate;
}

.hero {
  min-height: min(760px, calc(100svh - 82px));
  gap: 56px;
  padding: 58px 0 48px;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 7% auto 10% -30px;
  width: 7px;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, var(--accent), var(--accent-2), transparent);
  box-shadow: 0 0 38px rgba(52, 211, 153, 0.45);
}

.hero > div:first-child,
.page-hero > div:first-child {
  position: relative;
}

.hero > div:first-child::before,
.page-hero > div:first-child::before {
  content: "";
  display: block;
  width: min(100%, 460px);
  height: 1px;
  margin-bottom: 24px;
  background: linear-gradient(90deg, var(--accent), rgba(245, 158, 11, 0.75), transparent);
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  border: 1px solid rgba(52, 211, 153, 0.26);
  border-radius: 8px;
  padding: 4px 9px;
  color: #8ff5d2;
  background: rgba(52, 211, 153, 0.08);
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 900;
}

.section-kicker {
  border-color: rgba(245, 158, 11, 0.3);
  color: #f6c978;
  background: rgba(245, 158, 11, 0.08);
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  max-width: 10ch;
  font-size: 5.8rem;
  line-height: 0.9;
  background: linear-gradient(135deg, #ffffff 8%, #baf7e5 34%, #f7c66f 68%, #fb7185);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 18px 64px rgba(52, 211, 153, 0.12);
}

h2 {
  max-width: 13ch;
  font-size: 3.2rem;
  line-height: 0.96;
}

h3 {
  font-size: 1.18rem;
}

.lede,
.muted,
.panel p,
.card p,
.signal-list li,
.stat span,
.link-list a span,
.page-visual figcaption,
.art-strip figcaption {
  color: var(--muted);
}

.lede {
  font-size: 1.18rem;
}

.hero-actions {
  margin-top: 34px;
}

.hero-card,
.page-visual,
.panel,
.card,
.stat,
.cert,
.art-strip figure,
.link-list a,
.person,
.result-card,
.feed-card,
.feed-list li,
.tool-panel,
.table-shell,
.timeline-item {
  position: relative;
  border: 1px solid transparent;
  border-radius: 8px;
  background:
    linear-gradient(var(--panel-strong), var(--panel-strong)) padding-box,
    var(--edge) border-box;
  box-shadow: var(--shadow-tight);
}

.panel,
.card,
.stat,
.person,
.result-card,
.feed-card,
.feed-list li,
.timeline-item {
  overflow: hidden;
}

.panel::before,
.card::before,
.stat::before,
.person::before,
.result-card::before,
.feed-card::before,
.feed-list li::before,
.timeline-item::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.14), transparent 34%),
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(255, 255, 255, 0.028) 18px 19px);
  opacity: 0.6;
}

.panel:hover,
.card:hover,
.stat:hover,
.link-list a:hover,
.art-strip figure:hover,
.cert:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.44);
  --edge-angle: 225deg;
}

.panel,
.card,
.stat,
.link-list a,
.art-strip figure,
.cert {
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, --edge-angle 0.3s ease;
}

.hero-card {
  min-height: 590px;
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  background:
    linear-gradient(180deg, rgba(5, 6, 8, 0.02), rgba(5, 6, 8, 0.76) 68%, #050608),
    linear-gradient(135deg, rgba(52, 211, 153, 0.18), rgba(245, 158, 11, 0.08)),
    url("code.png") center / cover;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.58), -22px 0 60px rgba(52, 211, 153, 0.1);
}

.hero-card::before {
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(5, 6, 8, 0.08), rgba(5, 6, 8, 0.62) 72%, #050608),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 7px);
  opacity: 1;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 1;
  pointer-events: none;
  border-radius: 8px;
  background: linear-gradient(120deg, transparent 0 34%, rgba(255, 255, 255, 0.24) 42%, transparent 50% 100%);
  transform: translateX(-34%);
  opacity: 0.18;
}

.hero-card img,
.signal-list {
  position: relative;
  z-index: 2;
}

.hero-card img {
  width: min(340px, 72%);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.58), 0 0 0 8px rgba(255, 255, 255, 0.035);
  filter: saturate(1.12) contrast(1.05);
}

.signal-list {
  padding-inline: 32px;
}

.signal-list li {
  border-color: rgba(255, 255, 255, 0.16);
}

.section {
  position: relative;
  padding: 92px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

main > .section:first-of-type {
  padding-top: 56px;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(52, 211, 153, 0.055), transparent 36%),
    linear-gradient(270deg, rgba(245, 158, 11, 0.05), transparent 38%);
  opacity: 0;
}

.section:nth-of-type(odd)::before {
  opacity: 1;
}

.section-grid {
  gap: 54px;
}

.cards {
  gap: 20px;
}

.card {
  min-height: 240px;
  padding: 26px;
}

.card .tag,
.tag,
.pill {
  border-radius: 8px;
}

.card .tag,
.tag {
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.16), rgba(56, 189, 248, 0.08));
  color: #9df5da;
}

.card:nth-child(2) .tag {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(239, 71, 111, 0.08));
  color: #f9cf80;
}

.card:nth-child(3) .tag {
  background: linear-gradient(135deg, rgba(239, 71, 111, 0.18), rgba(52, 211, 153, 0.08));
  color: #ffb3c4;
}

.feature {
  grid-template-columns: 210px minmax(0, 1fr);
}

.feature img,
.person img,
.result-card img,
.feed-card img {
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.36);
}

.feature img {
  width: 210px;
  transform: rotate(-1.4deg);
}

.stats {
  gap: 18px;
}

.stat b {
  color: #f8fafc;
  font-size: 2.55rem;
  text-shadow: 0 0 30px rgba(52, 211, 153, 0.28);
}

.cert {
  min-height: 162px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(238, 243, 247, 0.94)) padding-box,
    linear-gradient(135deg, rgba(52, 211, 153, 0.75), rgba(245, 158, 11, 0.52)) border-box;
}

.cert img {
  filter: drop-shadow(0 10px 16px rgba(15, 23, 42, 0.22));
  transition: transform 0.22s ease;
}

.cert:hover img {
  transform: scale(1.05);
}

.art-strip {
  gap: 18px;
}

.art-strip figure {
  background:
    linear-gradient(rgba(12, 17, 23, 0.72), rgba(12, 17, 23, 0.94)) padding-box,
    linear-gradient(135deg, rgba(56, 189, 248, 0.36), rgba(245, 158, 11, 0.48)) border-box;
}

.art-strip img {
  aspect-ratio: 16 / 19;
  filter: saturate(1.08) contrast(1.04);
  transition: transform 0.28s ease, filter 0.28s ease;
}

.art-strip figure:hover img {
  transform: scale(1.035);
  filter: saturate(1.22) contrast(1.08);
}

.art-strip figcaption {
  background: rgba(5, 6, 8, 0.76);
}

.link-list {
  gap: 14px;
}

.link-list a {
  min-height: 74px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)) padding-box,
    linear-gradient(135deg, rgba(52, 211, 153, 0.3), rgba(245, 158, 11, 0.3)) border-box;
}

.link-list a::after {
  content: ">";
  color: var(--accent);
  font-weight: 900;
  transform: translateX(0);
  transition: transform 0.2s ease;
}

.link-list a:hover::after {
  transform: translateX(4px);
}

.site-footer {
  background:
    linear-gradient(90deg, rgba(52, 211, 153, 0.08), transparent 34%, rgba(245, 158, 11, 0.08)),
    rgba(5, 6, 8, 0.78);
}

.page-hero {
  padding-top: 86px;
}

.page-hero h1 {
  max-width: 12ch;
  font-size: 4.75rem;
}

.page-visual {
  transform: rotate(1.2deg);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
}

.page-visual img {
  filter: saturate(1.08) contrast(1.04);
}

.quote-panel {
  border-left: 0;
  background:
    linear-gradient(135deg, rgba(245, 158, 11, 0.16), rgba(239, 71, 111, 0.08)) padding-box,
    linear-gradient(135deg, rgba(245, 158, 11, 0.65), rgba(239, 71, 111, 0.45)) border-box;
}

.tool-panel input,
.tool-panel select,
.tool-panel textarea {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(5, 6, 8, 0.54);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.tool-panel input:focus,
.tool-panel select:focus,
.tool-panel textarea:focus {
  outline: 2px solid rgba(52, 211, 153, 0.55);
  outline-offset: 2px;
}

.plain-table th {
  color: #8ff5d2;
}

@media (min-width: 901px) {
  .section-grid > div:first-child,
  .content-grid > div:first-child {
    position: sticky;
    top: 112px;
  }
}

@media (max-width: 1100px) {
  h1 {
    font-size: 4.85rem;
  }

  h2 {
    font-size: 2.72rem;
  }

  .hero {
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .nav {
    min-height: 0;
  }

  .hero {
    min-height: 0;
    padding-top: 56px;
  }

  .hero-card {
    transform: none;
    min-height: 0;
  }

  .page-visual {
    transform: none;
  }

  h1,
  .page-hero h1 {
    max-width: 100%;
    font-size: 4rem;
  }

  h2 {
    max-width: 100%;
    font-size: 2.46rem;
  }

  .section {
    padding: 72px 0;
  }
}

@media (max-width: 620px) {
  .site-shell {
    width: calc(100% - 32px);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .site-header {
    position: relative;
  }

  .brand {
    width: 100%;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .nav-links {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .nav-links a,
  .button {
    font-size: 0.86rem;
    min-width: 0;
    white-space: normal;
  }

  .hero {
    padding: 42px 0 34px;
  }

  .hero,
  .section-grid,
  .page-hero,
  .content-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero > *,
  .section-grid > *,
  .page-hero > *,
  .content-grid > * {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero::before,
  .page-hero::before {
    display: none;
  }

  h1,
  .page-hero h1 {
    max-width: 8.6ch;
    font-size: 2.56rem;
    line-height: 0.98;
    overflow-wrap: break-word;
  }

  .page-hero h1 {
    max-width: 100%;
  }

  h2 {
    font-size: 2.08rem;
  }

  .lede {
    max-width: 100%;
    font-size: 1rem;
    overflow-wrap: break-word;
  }

  .hero-card img {
    width: min(270px, 74%);
    margin-top: 28px;
  }

  .signal-list {
    padding-inline: 20px;
  }

  .section {
    padding: 58px 0;
  }

  .card,
  .panel,
  .tool-panel {
    padding: 22px;
  }

  .feature img {
    width: 100%;
    transform: none;
  }
}
