:root {
  --void: #05070b;
  --void-2: #070a10;
  --midnight: #080d14;
  --basalt: #0b131d;
  --basalt-2: #0e1b29;
  --basalt-3: #122335;
  --panel: rgba(8, 18, 28, 0.78);
  --panel-strong: rgba(10, 23, 35, 0.94);
  --field: rgba(6, 13, 22, 0.94);
  --line: rgba(38, 230, 255, 0.18);
  --line-hot: rgba(255, 47, 109, 0.24);
  --line-soft: rgba(243, 248, 255, 0.08);
  --text: #f3f8ff;
  --text-2: #c3d4e2;
  --muted: #8297aa;
  --muted-2: #5d7082;
  --cyan: #26e6ff;
  --cyan-2: #00a7dc;
  --blue: #087dcc;
  --magenta: #ff2f6d;
  --magenta-2: #b314ff;
  --amber: #f5d35c;
  --green: #33ff99;
  --red: #ff1a3d;
  --shadow: rgba(0, 0, 0, 0.5);
  --radius: 8px;
  --radius-sm: 6px;
  --radius-pill: 999px;
  --max: 1160px;
  --hairline: linear-gradient(90deg, transparent, rgba(38, 230, 255, 0.78), rgba(255, 47, 109, 0.56), transparent);
  --panel-fill: linear-gradient(145deg, rgba(12, 28, 42, 0.94), rgba(6, 11, 18, 0.98) 54%, rgba(24, 8, 22, 0.92));
  --logo-gradient: linear-gradient(115deg, #fff 0%, #d7fbff 24%, var(--cyan) 44%, var(--blue) 66%, var(--magenta) 88%);
}

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

html {
  background: var(--void);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(38, 230, 255, 0.018) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 47, 109, 0.016) 1px, transparent 1px),
    radial-gradient(circle at 16% 8%, rgba(38, 230, 255, 0.09), transparent 30rem),
    radial-gradient(circle at 86% 16%, rgba(255, 47, 109, 0.08), transparent 32rem),
    linear-gradient(180deg, var(--void), var(--midnight) 38%, var(--void));
  background-size: 72px 72px, 72px 72px, auto, auto, auto;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.026) 50%, rgba(0, 0, 0, 0) 50%),
    radial-gradient(circle at 50% 0%, rgba(38, 230, 255, 0.05), transparent 42rem);
  background-size: 100% 4px, auto;
  mix-blend-mode: screen;
  opacity: 0.38;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 18%, rgba(38, 230, 255, 0.05) 18.1% 18.35%, transparent 18.45% 54%, rgba(255, 47, 109, 0.045) 54.1% 54.35%, transparent 54.45%),
    radial-gradient(circle at 72% 64%, rgba(8, 125, 204, 0.08), transparent 26rem);
  opacity: 0.82;
}

a {
  color: var(--cyan);
  text-decoration: none;
}

a:hover {
  color: #dcfbff;
}

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

button,
input,
textarea {
  font: inherit;
}

::selection {
  background: rgba(38, 230, 255, 0.25);
  color: var(--text);
}

.site-shell {
  min-height: 100vh;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.narrow {
  width: min(900px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: -120px;
  z-index: 400;
  transform: translateX(-50%);
  padding: 10px 18px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  background: var(--cyan);
  color: #031019;
  font-weight: 800;
}

.skip-link:focus {
  top: 0;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: 68px;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 7, 11, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.28);
}

.nav {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark img {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 18px rgba(38, 230, 255, 0.35), 0 0 18px rgba(255, 47, 109, 0.18);
}

.brand-mark span {
  color: var(--cyan);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
}

.nav-links a {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links .nav-cta {
  padding: 9px 15px;
  border: 1px solid rgba(38, 230, 255, 0.36);
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--cyan), var(--blue) 58%, var(--magenta));
  color: #021019;
  box-shadow: 0 0 22px rgba(38, 230, 255, 0.2), 0 12px 26px rgba(0, 0, 0, 0.32);
}

.nav-links .nav-cta:hover {
  color: #021019;
  filter: brightness(1.08);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(12, 28, 42, 0.84);
  color: var(--text);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  z-index: 199;
  padding: 18px 20px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 7, 11, 0.96);
}

.mobile-menu.open {
  display: grid;
  gap: 12px;
}

.mobile-menu a {
  padding: 10px 0;
  color: var(--text-2);
  font-weight: 750;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 132px 0 84px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 7, 11, 0.95), rgba(5, 7, 11, 0.8) 42%, rgba(5, 7, 11, 0.46) 70%, rgba(5, 7, 11, 0.78)),
    linear-gradient(180deg, rgba(5, 7, 11, 0.18), var(--void)),
    url("/static/brand/hero_crystal_workbench_1672x941.png") 68% center / cover no-repeat;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(38, 230, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 47, 109, 0.06) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(180deg, transparent, #000 16%, #000 72%, transparent);
  opacity: 0.56;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.eyebrow,
.section-label,
.meta-label {
  color: var(--cyan);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(38, 230, 255, 0.25);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, rgba(38, 230, 255, 0.12), rgba(255, 47, 109, 0.08));
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(3.2rem, 8.5vw, 6.8rem);
  line-height: 0.92;
  font-weight: 800;
}

.gradient-text {
  background: var(--logo-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-line {
  margin-top: 20px;
  color: var(--text);
  font-size: clamp(1.45rem, 3.5vw, 2.65rem);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 800;
  line-height: 1.05;
}

.lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--text-2);
  font-size: clamp(1rem, 1.6vw, 1.17rem);
  line-height: 1.78;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 850;
  font-size: 0.9rem;
  transition: transform 0.2s ease, border-color 0.2s ease, filter 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-2) 52%, var(--blue));
  color: #021019;
  box-shadow: 0 0 24px rgba(38, 230, 255, 0.2), 0 14px 30px rgba(0, 0, 0, 0.34);
}

.btn-primary:hover {
  color: #021019;
  filter: brightness(1.08);
}

.btn-secondary {
  border-color: var(--line);
  background: rgba(12, 28, 42, 0.78);
  color: var(--text);
}

.btn-secondary:hover {
  color: var(--text);
  border-color: rgba(38, 230, 255, 0.42);
  background: rgba(16, 42, 62, 0.92);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 760px;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(38, 230, 255, 0.08);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.32);
}

.hero-proof span {
  padding: 13px 15px;
  background: rgba(5, 7, 11, 0.78);
  color: var(--text-2);
  font-size: 0.84rem;
  font-weight: 750;
}

.hero-proof span + span {
  border-left: 1px solid var(--line);
}

.hero-proof strong {
  color: var(--cyan);
}

section {
  position: relative;
  padding: clamp(72px, 9vw, 118px) 0;
}

section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(720px, calc(100% - 40px));
  height: 1px;
  transform: translateX(-50%);
  background: var(--hairline);
  opacity: 0.3;
}

.section-head {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin-bottom: 38px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-title {
  color: var(--text);
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.02;
  font-weight: 800;
}

.section-sub {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.74;
}

.section-head.center .section-sub {
  margin-inline: auto;
}

.band {
  background:
    linear-gradient(180deg, rgba(5, 7, 11, 0.1), rgba(8, 18, 28, 0.62), rgba(5, 7, 11, 0.1)),
    radial-gradient(circle at 10% 14%, rgba(38, 230, 255, 0.07), transparent 30rem),
    radial-gradient(circle at 90% 24%, rgba(255, 47, 109, 0.055), transparent 30rem);
  border-top: 1px solid rgba(38, 230, 255, 0.12);
  border-bottom: 1px solid rgba(255, 47, 109, 0.12);
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 18px;
}

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

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

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

.card,
.feature-card,
.project-card,
.offer-card,
.post-card,
.topic-card,
.product-card,
.form-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-fill);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 18px 48px rgba(0, 0, 0, 0.22);
}

.card::before,
.feature-card::before,
.project-card::before,
.offer-card::before,
.post-card::before,
.topic-card::before,
.product-card::before,
.form-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(38, 230, 255, 0.22), transparent 34%, rgba(255, 47, 109, 0.14) 74%, rgba(245, 211, 92, 0.05)),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.035), transparent);
  opacity: 0.58;
}

.card > *,
.feature-card > *,
.project-card > *,
.offer-card > *,
.post-card > *,
.topic-card > *,
.product-card > *,
.form-panel > * {
  position: relative;
}

.feature-card,
.project-card,
.post-card,
.topic-card,
.product-card {
  padding: 24px;
}

.card {
  padding: 28px;
}

.card:hover,
.feature-card:hover,
.project-card:hover,
.post-card:hover,
.topic-card:hover,
.product-card:hover {
  border-color: rgba(38, 230, 255, 0.42);
}

.mono-chip,
.tag,
.project-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(38, 230, 255, 0.08);
  color: var(--cyan);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tag.hot {
  border-color: var(--line-hot);
  background: rgba(255, 47, 109, 0.1);
  color: #ff91b0;
}

.tag.green {
  border-color: rgba(51, 255, 153, 0.24);
  background: rgba(51, 255, 153, 0.08);
  color: var(--green);
}

.tile-code {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border: 1px solid rgba(38, 230, 255, 0.3);
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(38, 230, 255, 0.16), rgba(255, 47, 109, 0.08));
  color: var(--cyan);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 1.15rem;
  font-weight: 900;
  box-shadow: 0 0 22px rgba(38, 230, 255, 0.08);
}

.feature-card h3,
.project-card h3,
.offer-card h3,
.post-card h3,
.topic-card h3,
.product-card h3,
.card h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  line-height: 1.16;
}

.feature-card p,
.project-card p,
.offer-card p,
.post-card p,
.topic-card p,
.product-card p,
.card p {
  margin: 0;
  color: var(--muted);
}

.split-panel {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 20px;
  align-items: stretch;
}

.flagship {
  padding: clamp(28px, 5vw, 48px);
}

.flagship h2 {
  max-width: 760px;
  margin-top: 14px;
  font-size: clamp(2.1rem, 5vw, 4.4rem);
  line-height: 0.98;
}

.flagship p {
  max-width: 700px;
  margin-top: 18px;
  color: var(--text-2);
  font-size: 1.05rem;
}

.signal-board {
  min-height: 100%;
  padding: 24px;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(5, 7, 11, 0.62), rgba(5, 7, 11, 0.9)),
    url("/static/brand/website_header_dark_2400x800.png") center / cover no-repeat;
  border: 1px solid var(--line);
  display: grid;
  align-content: end;
}

.signal-stack {
  display: grid;
  gap: 9px;
}

.signal-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  border: 1px solid rgba(38, 230, 255, 0.14);
  background: rgba(5, 7, 11, 0.68);
  color: var(--text-2);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
}

.signal-row strong {
  color: var(--cyan);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.metric {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(5, 7, 11, 0.5);
}

.metric strong {
  display: block;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.8rem;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.82rem;
}

.project-card,
.post-card,
.topic-card,
.product-card {
  display: grid;
  gap: 14px;
  min-height: 100%;
}

.project-card .project-name,
.post-card .post-title {
  color: var(--text);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
}

.repo-meta {
  color: var(--muted-2);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.proof-strip span {
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(5, 7, 11, 0.62);
  color: var(--text-2);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 800;
}

.post-card .post-title {
  font-size: 1.42rem;
  line-height: 1.08;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted-2);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.offer-card {
  display: flex;
  min-height: 100%;
  padding: 28px;
  flex-direction: column;
}

.offer-price {
  margin: 16px 0 12px;
  color: var(--text);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1;
}

.offer-price span {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.clean-list,
.feature-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.clean-list li,
.feature-list li {
  position: relative;
  padding-left: 20px;
  color: var(--text-2);
  font-size: 0.92rem;
}

.clean-list li::before,
.feature-list li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 8px;
  height: 8px;
  transform: translateY(-50%);
  border-radius: 1px;
  background: var(--cyan);
  box-shadow: 0 0 9px rgba(38, 230, 255, 0.6);
}

.offer-card .button-row,
.product-card .button-row {
  margin-top: auto;
  padding-top: 22px;
}

.page-hero {
  position: relative;
  padding: 132px 0 68px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 7, 11, 0.98), rgba(5, 7, 11, 0.9) 48%, rgba(5, 7, 11, 0.96)),
    url("/static/brand/hero_crystal_workbench_1672x941.png") 70% center / cover no-repeat;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  max-width: 860px;
}

.page-hero h1 {
  font-size: clamp(2.7rem, 6vw, 5.4rem);
  line-height: 0.95;
}

.page-hero p {
  max-width: 740px;
  margin: 0;
  color: var(--text-2);
  font-size: 1.1rem;
  line-height: 1.76;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.product-panel {
  position: sticky;
  top: 92px;
}

.product-card .product-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.product-price {
  color: var(--text);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  white-space: nowrap;
}

.form-panel {
  padding: clamp(24px, 4vw, 38px);
}

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

.form-group {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

label {
  color: var(--text);
  font-weight: 800;
  font-size: 0.88rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--field);
  color: var(--text);
  padding: 13px 14px;
  outline: none;
}

textarea {
  min-height: 138px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: rgba(38, 230, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(38, 230, 255, 0.1);
}

.status {
  display: none;
  margin-top: 16px;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  font-weight: 750;
}

.status.ok {
  display: block;
  border: 1px solid rgba(51, 255, 153, 0.28);
  background: rgba(51, 255, 153, 0.08);
  color: var(--green);
}

.status.err {
  display: block;
  border: 1px solid rgba(255, 26, 61, 0.28);
  background: rgba(255, 26, 61, 0.08);
  color: #ff8ea1;
}

.article {
  max-width: 820px;
  margin-inline: auto;
}

.article h2 {
  margin: 42px 0 14px;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
}

.article h3 {
  margin: 28px 0 10px;
  font-size: 1.45rem;
}

.article p,
.article li {
  color: var(--text-2);
  font-size: 1.03rem;
  line-height: 1.82;
}

.article p {
  margin: 0 0 18px;
}

.article ul {
  display: grid;
  gap: 8px;
  margin: 0 0 22px;
  padding-left: 22px;
}

.article blockquote {
  margin: 28px 0;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--cyan);
  border-radius: var(--radius);
  background: rgba(8, 18, 28, 0.7);
  color: var(--text);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.34;
}

.article code {
  padding: 2px 5px;
  border: 1px solid rgba(38, 230, 255, 0.18);
  border-radius: 4px;
  background: rgba(38, 230, 255, 0.08);
  color: var(--cyan);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
}

.article pre {
  overflow-x: auto;
  margin: 24px 0;
  padding: 18px;
  border: 1px solid rgba(38, 230, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(3, 9, 15, 0.92);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.article pre code {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  color: #d7fbff;
  line-height: 1.7;
}

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

.footer {
  padding: 48px 0 34px;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 16% 0%, rgba(38, 230, 255, 0.08), transparent 24rem),
    radial-gradient(circle at 82% 12%, rgba(255, 47, 109, 0.06), transparent 24rem),
    var(--midnight);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.1fr) repeat(3, minmax(150px, 0.65fr));
  gap: 32px;
}

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

.footer h4 {
  margin: 0 0 12px;
  color: var(--muted);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer a {
  display: block;
  margin-bottom: 8px;
  color: var(--text-2);
  font-size: 0.88rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted-2);
  font-size: 0.8rem;
}

.fade-up {
  opacity: 1;
  transform: none;
}

.js .fade-up {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.js .fade-up.visible {
  opacity: 1;
  transform: none;
}

[id] {
  scroll-margin-top: 88px;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .grid-4,
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-panel,
  .product-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .product-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  .topbar,
  .nav {
    height: 62px;
  }

  .nav-links {
    display: none;
  }

  .menu-button {
    display: inline-grid;
    place-items: center;
  }

  .mobile-menu {
    top: 62px;
  }

  .container,
  .narrow {
    width: min(100% - 28px, var(--max));
  }

  .hero {
    min-height: auto;
    padding: 106px 0 64px;
    text-align: left;
    background-position: 66% center;
  }

  .hero h1 {
    font-size: clamp(3rem, 18vw, 4.4rem);
  }

  .hero-line {
    font-size: 1.55rem;
  }

  .hero-proof,
  .metrics,
  .grid-2,
  .grid-3,
  .grid-4,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-proof span + span {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .page-hero {
    padding: 104px 0 54px;
  }

  .footer-grid {
    gap: 22px;
  }
}

@media (max-width: 460px) {
  .brand-mark {
    font-size: 0.98rem;
  }

  .brand-mark img {
    width: 28px;
    height: 28px;
  }

  .hero-actions,
  .button-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0ms !important;
    animation-duration: 0ms !important;
  }
}
