:root {
  --bg: #0b1016;
  --surface: rgba(11, 16, 22, 0.78);
  --text: #f5efe5;
  --muted: #b5a891;
  --accent: #9b7a47;
  --accent-soft: #d8c39b;
  --line-rgb: 196, 173, 126;
  --line-strong-rgb: 216, 195, 155;
  --bg-start: #090d12;
  --bg-mid: #0b1016;
  --bg-end: #080b10;
  --halo-rgb: 155, 122, 71;
  --halo-soft-rgb: 216, 195, 155;
  --grid-h-rgb: 255, 248, 236;
  --grid-v-rgb: 196, 173, 126;
  --cursor-core-rgb: 248, 240, 225;
  --cursor-glow-rgb: 155, 122, 71;
  --brand-from: #9f7d47;
  --brand-to: #e2c790;
  --brand-glow-rgb: 155, 122, 71;
  --active-bg-rgb: 155, 122, 71;
  --active-ring-rgb: 216, 195, 155;
  --eyebrow: #d7c39d;
  --btn-primary-from: #7b5e33;
  --btn-primary-to: #b48a54;
  --btn-primary-border-rgb: 216, 195, 155;
  --marquee-rgb: 214, 198, 167;
  --success: #9ed3ae;
  --error: #f1a4a4;
  --mx: 50vw;
  --my: 30vh;
}

:root[data-theme="noir-gold"] {
  --bg: #0b1016;
  --surface: rgba(11, 16, 22, 0.78);
  --text: #f5efe5;
  --muted: #b5a891;
  --accent: #9b7a47;
  --accent-soft: #d8c39b;
  --line-rgb: 196, 173, 126;
  --line-strong-rgb: 216, 195, 155;
  --bg-start: #090d12;
  --bg-mid: #0b1016;
  --bg-end: #080b10;
  --halo-rgb: 155, 122, 71;
  --halo-soft-rgb: 216, 195, 155;
  --grid-h-rgb: 255, 248, 236;
  --grid-v-rgb: 196, 173, 126;
  --cursor-core-rgb: 248, 240, 225;
  --cursor-glow-rgb: 155, 122, 71;
  --brand-from: #9f7d47;
  --brand-to: #e2c790;
  --brand-glow-rgb: 155, 122, 71;
  --active-bg-rgb: 155, 122, 71;
  --active-ring-rgb: 216, 195, 155;
  --eyebrow: #d7c39d;
  --btn-primary-from: #7b5e33;
  --btn-primary-to: #b48a54;
  --btn-primary-border-rgb: 216, 195, 155;
  --marquee-rgb: 214, 198, 167;
}

:root[data-theme="midnight-blue"] {
  --bg: #08111e;
  --surface: rgba(8, 17, 30, 0.78);
  --text: #edf5ff;
  --muted: #95aeca;
  --accent: #5b88d8;
  --accent-soft: #b4cef6;
  --line-rgb: 123, 154, 201;
  --line-strong-rgb: 180, 206, 246;
  --bg-start: #07101a;
  --bg-mid: #08111e;
  --bg-end: #060c16;
  --halo-rgb: 75, 120, 196;
  --halo-soft-rgb: 180, 206, 246;
  --grid-h-rgb: 235, 244, 255;
  --grid-v-rgb: 123, 154, 201;
  --cursor-core-rgb: 232, 244, 255;
  --cursor-glow-rgb: 82, 134, 221;
  --brand-from: #6e9de6;
  --brand-to: #d6e7ff;
  --brand-glow-rgb: 82, 134, 221;
  --active-bg-rgb: 82, 134, 221;
  --active-ring-rgb: 180, 206, 246;
  --eyebrow: #c0d7ff;
  --btn-primary-from: #355f9d;
  --btn-primary-to: #6d9ce8;
  --btn-primary-border-rgb: 180, 206, 246;
  --marquee-rgb: 180, 204, 236;
}

:root[data-theme="emerald-luxe"] {
  --bg: #091411;
  --surface: rgba(9, 20, 17, 0.8);
  --text: #eef6f1;
  --muted: #97b7aa;
  --accent: #4c947e;
  --accent-soft: #bfe4d5;
  --line-rgb: 104, 170, 144;
  --line-strong-rgb: 191, 228, 213;
  --bg-start: #07100e;
  --bg-mid: #091411;
  --bg-end: #060d0b;
  --halo-rgb: 76, 148, 126;
  --halo-soft-rgb: 191, 228, 213;
  --grid-h-rgb: 239, 248, 243;
  --grid-v-rgb: 104, 170, 144;
  --cursor-core-rgb: 236, 247, 241;
  --cursor-glow-rgb: 76, 148, 126;
  --brand-from: #67af98;
  --brand-to: #d9f0e7;
  --brand-glow-rgb: 76, 148, 126;
  --active-bg-rgb: 76, 148, 126;
  --active-ring-rgb: 191, 228, 213;
  --eyebrow: #b9dbc9;
  --btn-primary-from: #2f6c59;
  --btn-primary-to: #5ea58c;
  --btn-primary-border-rgb: 191, 228, 213;
  --marquee-rgb: 179, 211, 199;
}

:root[data-theme="burgundy-rose"] {
  --bg: #150b12;
  --surface: rgba(21, 11, 18, 0.82);
  --text: #f8edf2;
  --muted: #c2a0af;
  --accent: #b34f74;
  --accent-soft: #f0bdd0;
  --line-rgb: 187, 101, 134;
  --line-strong-rgb: 240, 189, 208;
  --bg-start: #120910;
  --bg-mid: #150b12;
  --bg-end: #0f070d;
  --halo-rgb: 179, 79, 116;
  --halo-soft-rgb: 240, 189, 208;
  --grid-h-rgb: 255, 241, 246;
  --grid-v-rgb: 187, 101, 134;
  --cursor-core-rgb: 255, 241, 246;
  --cursor-glow-rgb: 179, 79, 116;
  --brand-from: #d36f96;
  --brand-to: #ffd7e5;
  --brand-glow-rgb: 179, 79, 116;
  --active-bg-rgb: 179, 79, 116;
  --active-ring-rgb: 240, 189, 208;
  --eyebrow: #ebc0cf;
  --btn-primary-from: #7c3050;
  --btn-primary-to: #c26087;
  --btn-primary-border-rgb: 240, 189, 208;
  --marquee-rgb: 226, 181, 198;
}

:root[data-theme="violet-carbon"] {
  --bg: #0f0b18;
  --surface: rgba(15, 11, 24, 0.82);
  --text: #f2eefb;
  --muted: #b0a5cb;
  --accent: #7f65d8;
  --accent-soft: #d3c8fb;
  --line-rgb: 128, 108, 194;
  --line-strong-rgb: 211, 200, 251;
  --bg-start: #0d0915;
  --bg-mid: #0f0b18;
  --bg-end: #090611;
  --halo-rgb: 127, 101, 216;
  --halo-soft-rgb: 211, 200, 251;
  --grid-h-rgb: 245, 241, 255;
  --grid-v-rgb: 128, 108, 194;
  --cursor-core-rgb: 245, 241, 255;
  --cursor-glow-rgb: 127, 101, 216;
  --brand-from: #9b88ea;
  --brand-to: #ebe3ff;
  --brand-glow-rgb: 127, 101, 216;
  --active-bg-rgb: 127, 101, 216;
  --active-ring-rgb: 211, 200, 251;
  --eyebrow: #d6cdfa;
  --btn-primary-from: #4f3a91;
  --btn-primary-to: #8f72e6;
  --btn-primary-border-rgb: 211, 200, 251;
  --marquee-rgb: 197, 186, 235;
}

:root[data-theme="sunset-copper"] {
  --bg: #18100c;
  --surface: rgba(24, 16, 12, 0.8);
  --text: #faf0e8;
  --muted: #c6ab97;
  --accent: #c66c3c;
  --accent-soft: #f3c59f;
  --line-rgb: 202, 120, 72;
  --line-strong-rgb: 243, 197, 159;
  --bg-start: #150d0a;
  --bg-mid: #18100c;
  --bg-end: #100906;
  --halo-rgb: 198, 108, 60;
  --halo-soft-rgb: 243, 197, 159;
  --grid-h-rgb: 255, 245, 238;
  --grid-v-rgb: 202, 120, 72;
  --cursor-core-rgb: 255, 245, 238;
  --cursor-glow-rgb: 198, 108, 60;
  --brand-from: #de8b56;
  --brand-to: #ffe0c1;
  --brand-glow-rgb: 198, 108, 60;
  --active-bg-rgb: 198, 108, 60;
  --active-ring-rgb: 243, 197, 159;
  --eyebrow: #efc19f;
  --btn-primary-from: #92502a;
  --btn-primary-to: #de8b56;
  --btn-primary-border-rgb: 243, 197, 159;
  --marquee-rgb: 234, 187, 152;
}

:root[data-theme="arctic-teal"] {
  --bg: #081417;
  --surface: rgba(8, 20, 23, 0.8);
  --text: #eff9fa;
  --muted: #9ec2c6;
  --accent: #4f9ba1;
  --accent-soft: #c3e9eb;
  --line-rgb: 96, 169, 176;
  --line-strong-rgb: 195, 233, 235;
  --bg-start: #071114;
  --bg-mid: #081417;
  --bg-end: #050d10;
  --halo-rgb: 79, 155, 161;
  --halo-soft-rgb: 195, 233, 235;
  --grid-h-rgb: 240, 251, 252;
  --grid-v-rgb: 96, 169, 176;
  --cursor-core-rgb: 240, 251, 252;
  --cursor-glow-rgb: 79, 155, 161;
  --brand-from: #73c1c6;
  --brand-to: #e0f8fa;
  --brand-glow-rgb: 79, 155, 161;
  --active-bg-rgb: 79, 155, 161;
  --active-ring-rgb: 195, 233, 235;
  --eyebrow: #c4e7ea;
  --btn-primary-from: #2f7479;
  --btn-primary-to: #67b8be;
  --btn-primary-border-rgb: 195, 233, 235;
  --marquee-rgb: 179, 219, 223;
}

:root[data-theme="obsidian-red"] {
  --bg: #130b0b;
  --surface: rgba(19, 11, 11, 0.82);
  --text: #f9eeee;
  --muted: #c0a3a3;
  --accent: #b75a5a;
  --accent-soft: #f0c1c1;
  --line-rgb: 182, 96, 96;
  --line-strong-rgb: 240, 193, 193;
  --bg-start: #100909;
  --bg-mid: #130b0b;
  --bg-end: #0c0606;
  --halo-rgb: 183, 90, 90;
  --halo-soft-rgb: 240, 193, 193;
  --grid-h-rgb: 255, 243, 243;
  --grid-v-rgb: 182, 96, 96;
  --cursor-core-rgb: 255, 243, 243;
  --cursor-glow-rgb: 183, 90, 90;
  --brand-from: #d87f7f;
  --brand-to: #ffe1e1;
  --brand-glow-rgb: 183, 90, 90;
  --active-bg-rgb: 183, 90, 90;
  --active-ring-rgb: 240, 193, 193;
  --eyebrow: #ebc0c0;
  --btn-primary-from: #8b3e3e;
  --btn-primary-to: #cb7272;
  --btn-primary-border-rgb: 240, 193, 193;
  --marquee-rgb: 229, 183, 183;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 11% 12%, rgba(var(--halo-rgb), 0.14), transparent 36%),
    radial-gradient(circle at 84% 14%, rgba(var(--halo-soft-rgb), 0.07), transparent 42%),
    linear-gradient(180deg, var(--bg-start) 0%, var(--bg-mid) 46%, var(--bg-end) 100%);
  line-height: 1.5;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(540px circle at var(--mx) var(--my), rgba(var(--grid-h-rgb), 0.028), transparent 62%),
    radial-gradient(300px circle at calc(var(--mx) + 24px) calc(var(--my) - 24px), rgba(var(--halo-rgb), 0.08), transparent 72%);
}

body > * {
  position: relative;
  z-index: 1;
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(var(--grid-h-rgb), 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--grid-v-rgb), 0.008) 1px, transparent 1px);
  background-size: 32px 32px, 48px 48px;
  opacity: 0.72;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.9) 42%, transparent 100%);
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  margin-left: -9px;
  margin-top: -9px;
  border-radius: 999px;
  pointer-events: none;
  z-index: 30;
  opacity: 0;
  transform: translate3d(-120px, -120px, 0);
  background: radial-gradient(circle, rgba(var(--cursor-core-rgb), 0.94), rgba(var(--cursor-glow-rgb), 0.38) 48%, transparent 72%);
  filter: blur(2px);
  transition: opacity 180ms ease;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--bg) 88%, transparent),
    color-mix(in srgb, var(--bg) 28%, transparent)
  );
  border-bottom: 1px solid rgba(var(--line-rgb), 0.08);
}

.header-inner,
.footer-inner {
  width: min(1400px, calc(100% - 36px));
  margin-inline: auto;
}

.header-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  width: 22px;
  height: 22px;
  display: block;
  flex: none;
  filter: drop-shadow(0 0 10px rgba(var(--brand-glow-rgb), 0.16));
}

.brand-text {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(var(--line-rgb), 0.14);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 12px;
  font: inherit;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease;
}

.menu-toggle:hover {
  border-color: rgba(var(--line-strong-rgb), 0.26);
  background: rgba(255, 255, 255, 0.03);
}

.menu-toggle-label {
  font-size: 0.86rem;
  line-height: 1;
}

.menu-toggle-icon {
  width: 14px;
  height: 10px;
  position: relative;
  display: inline-block;
}

.menu-toggle-icon::before,
.menu-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform 180ms ease, top 180ms ease, bottom 180ms ease, opacity 180ms ease;
}

.menu-toggle-icon::before {
  top: 1px;
  box-shadow: 0 4px 0 currentColor;
}

.menu-toggle-icon::after {
  bottom: 1px;
}

.menu-toggle.is-open .menu-toggle-icon::before {
  top: 4px;
  box-shadow: none;
  transform: rotate(45deg);
}

.menu-toggle.is-open .menu-toggle-icon::after {
  bottom: 4px;
  transform: rotate(-45deg);
}

.top-nav {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid rgba(var(--line-rgb), 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.015);
}

.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.82rem;
  line-height: 1;
  padding: 7px 8px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.lang-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.lang-btn.is-active {
  color: var(--text);
  background: rgba(var(--active-bg-rgb), 0.14);
  box-shadow: inset 0 0 0 1px rgba(var(--active-ring-rgb), 0.16);
}

.theme-switcher {
  display: none;
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 24;
  display: grid;
  gap: 10px;
  padding: 12px 10px;
  border: 1px solid rgba(var(--line-rgb), 0.16);
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--bg) 86%, rgba(255, 255, 255, 0.04)),
    color-mix(in srgb, var(--bg) 64%, transparent)
  );
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.theme-switcher-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
  padding-inline: 2px;
  user-select: none;
}

.theme-switcher-list {
  display: grid;
  gap: 8px;
}

.theme-btn {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, var(--swatch-a), var(--swatch-b));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.theme-btn:hover {
  transform: scale(1.08);
  border-color: rgba(255, 255, 255, 0.32);
}

.theme-btn.is-active {
  transform: scale(1.08);
  border-color: rgba(var(--active-ring-rgb), 0.9);
  box-shadow:
    0 0 0 3px rgba(var(--active-bg-rgb), 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.theme-btn[data-theme="noir-gold"] { --swatch-a: #a8864d; --swatch-b: #10161d; }
.theme-btn[data-theme="midnight-blue"] { --swatch-a: #7cabff; --swatch-b: #0b1630; }
.theme-btn[data-theme="emerald-luxe"] { --swatch-a: #6dc3a3; --swatch-b: #0b1713; }
.theme-btn[data-theme="burgundy-rose"] { --swatch-a: #dc6f98; --swatch-b: #1b0b13; }
.theme-btn[data-theme="violet-carbon"] { --swatch-a: #a78cff; --swatch-b: #120d1f; }
.theme-btn[data-theme="sunset-copper"] { --swatch-a: #e8945d; --swatch-b: #1a100b; }
.theme-btn[data-theme="arctic-teal"] { --swatch-a: #77d0d4; --swatch-b: #081619; }
.theme-btn[data-theme="obsidian-red"] { --swatch-a: #da7c7c; --swatch-b: #170b0b; }

.top-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.top-nav a:hover {
  color: var(--text);
  border-color: rgba(var(--line-rgb), 0.16);
  background: rgba(255, 255, 255, 0.02);
}

.fullpage {
  width: 100%;
}

.screen {
  min-height: 100svh;
  padding: 16px 0;
  display: flex;
}

.screen-shell {
  --sx: 50%;
  --sy: 50%;
  width: min(1400px, calc(100% - 36px));
  margin: auto;
  min-height: calc(100svh - 98px);
  display: grid;
  align-content: center;
  position: relative;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.screen-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--sx) var(--sy), rgba(255, 255, 255, 0.045), transparent 68%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.screen-shell:hover::before {
  opacity: 1;
}

.screen-intro .screen-shell::after,
.screen-request .screen-shell::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: min(36%, 420px);
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(var(--line-rgb), 0.08), transparent);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--eyebrow);
}

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

.screen-intro .screen-shell {
  align-content: stretch;
  padding-top: 42px;
  padding-bottom: 26px;
  border-top: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.62fr);
  gap: 52px;
  align-items: end;
  min-height: 100%;
}

.intro-main {
  padding-right: 18px;
}

.intro-main h1 {
  font-size: clamp(2.2rem, 4.7vw, 4.7rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 18ch;
  text-wrap: balance;
}

.lead {
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.62;
  max-width: 58ch;
}

.cta-row {
  margin-top: 34px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.btn-primary {
  color: #eef4ff;
  background: linear-gradient(135deg, var(--btn-primary-from), var(--btn-primary-to));
  border-color: rgba(var(--btn-primary-border-rgb), 0.22);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.015);
  border-color: var(--line);
}

.intro-side {
  align-self: stretch;
  border-left: 1px solid rgba(var(--line-rgb), 0.12);
  padding-left: 20px;
  display: grid;
  align-content: end;
}

.line-item {
  --dx: 0px;
  display: grid;
  gap: 6px;
  padding: 14px 0;
  border-top: 1px solid rgba(var(--line-rgb), 0.12);
  transform: translateX(var(--dx));
  transition: transform 180ms ease, border-color 180ms ease;
}

.line-item:first-child {
  border-top: 0;
}

.line-item:hover {
  border-color: rgba(var(--line-strong-rgb), 0.28);
}

.line-item span {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.line-item strong {
  font-weight: 600;
  line-height: 1.35;
}

.marquee {
  margin-top: 44px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  overflow: hidden;
}

.marquee-track {
  display: inline-block;
  white-space: nowrap;
  color: rgba(var(--marquee-rgb), 0.46);
  letter-spacing: 0.12em;
  font-size: clamp(0.84rem, 1.6vw, 0.98rem);
  animation: marquee 24s linear infinite;
}

@media (min-width: 1400px) {
  .intro-grid {
    grid-template-columns: minmax(0, 1.62fr) minmax(280px, 0.58fr);
    gap: 60px;
  }

  .intro-main h1 {
    font-size: clamp(2.4rem, 4.4vw, 4.95rem);
    max-width: 19ch;
  }
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 24px;
  align-items: end;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(var(--line-rgb), 0.12);
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 3.2rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
}

.section-head p:last-child {
  color: var(--muted);
  max-width: 520px;
  justify-self: end;
}

.service-list {
  margin-top: 16px;
  border-top: 1px solid rgba(var(--line-rgb), 0.12);
}

.service-row {
  --dx: 0px;
  display: grid;
  grid-template-columns: 64px minmax(220px, 320px) 1fr minmax(180px, 220px);
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(var(--line-rgb), 0.12);
  transform: translateX(var(--dx));
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.service-row:hover {
  background: rgba(255, 255, 255, 0.012);
  border-color: rgba(var(--line-strong-rgb), 0.24);
}

.service-row .idx {
  color: var(--eyebrow);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.service-row h3 {
  font-size: 1.08rem;
  font-weight: 600;
}

.service-row p {
  color: var(--muted);
  font-size: 0.95rem;
}

.service-row em {
  color: rgba(var(--marquee-rgb), 0.85);
  font-style: normal;
  text-align: right;
  font-size: 0.88rem;
}

.signal-strip {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(var(--line-rgb), 0.12);
  border-bottom: 1px solid rgba(var(--line-rgb), 0.12);
}

.signal-strip span {
  padding: 12px 0;
  text-align: center;
  color: rgba(var(--marquee-rgb), 0.9);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.signal-strip span + span {
  border-left: 1px solid rgba(var(--line-rgb), 0.12);
}

.workflow-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 28px;
  align-items: stretch;
}

.workflow-main {
  padding-right: 8px;
}

.workflow-main h2 {
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.workflow-copy {
  margin-top: 14px;
  color: var(--muted);
  max-width: 760px;
}

.process-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  border-top: 1px solid rgba(var(--line-rgb), 0.12);
}

.process-list li {
  --dx: 0px;
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(var(--line-rgb), 0.12);
  align-items: start;
  transform: translateX(var(--dx));
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.process-list li:hover {
  border-color: rgba(var(--line-strong-rgb), 0.24);
  background: rgba(255, 255, 255, 0.01);
}

.process-list li > span {
  color: var(--eyebrow);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  padding-top: 4px;
}

.process-list strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
}

.process-list p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.93rem;
}

.contact-rail {
  border-left: 1px solid rgba(var(--line-rgb), 0.12);
  padding-left: 20px;
  display: grid;
  align-content: start;
  gap: 2px;
}

.contact-rail h3 {
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 8px;
}

.rail-line {
  --dx: 0px;
  display: grid;
  gap: 6px;
  padding: 12px 0;
  border-top: 1px solid rgba(var(--line-rgb), 0.12);
  transform: translateX(var(--dx));
  transition: transform 180ms ease, border-color 180ms ease;
}

.rail-line:hover {
  border-color: rgba(var(--line-strong-rgb), 0.24);
}

.rail-line span {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rail-line a,
.rail-line strong {
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
  line-height: 1.35;
}

.rail-note {
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(var(--line-rgb), 0.12);
  color: var(--muted);
  font-size: 0.9rem;
}

.request-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: start;
}

.request-copy {
  padding-right: 10px;
}

.request-copy h2 {
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.request-copy .workflow-copy {
  max-width: 700px;
}

.request-points {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  border-top: 1px solid rgba(var(--line-rgb), 0.12);
}

.request-points li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(var(--line-rgb), 0.12);
  color: var(--muted);
  font-size: 0.95rem;
}

.request-form {
  border-left: 1px solid rgba(var(--line-rgb), 0.12);
  padding-left: 20px;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

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

.field {
  --dx: 0px;
  display: grid;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(var(--line-rgb), 0.12);
  transform: translateX(var(--dx));
  transition: transform 180ms ease, border-color 180ms ease;
}

.field:hover {
  border-color: rgba(var(--line-strong-rgb), 0.24);
}

.field span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.3;
}

.field input,
.field textarea {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.98rem;
  line-height: 1.45;
  padding: 2px 0;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: color-mix(in srgb, var(--muted) 72%, transparent);
}

.field-full {
  grid-column: 1 / -1;
}

.form-actions {
  margin-top: 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
}

.form-actions .btn[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
}

.form-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.form-feedback {
  min-height: 1.4em;
  margin-top: 10px;
  font-size: 0.92rem;
  color: var(--muted);
}

.form-feedback.is-success {
  color: var(--success);
}

.form-feedback.is-error {
  color: var(--error);
}

.site-footer {
  border-top: 1px solid rgba(var(--line-rgb), 0.1);
  background: color-mix(in srgb, var(--bg) 64%, transparent);
}

.footer-inner {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner a {
  color: var(--muted);
  text-decoration: none;
}

.footer-inner a:hover {
  color: var(--text);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-25%);
  }
}

@media (min-width: 980px) {
  html {
    scroll-snap-type: y proximity;
  }

  .screen {
    scroll-snap-align: start;
  }
}

@media (max-width: 1100px) {
  .screen-shell::after {
    left: 0;
    right: 0;
    top: auto;
    bottom: auto;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--line-rgb), 0.12), transparent);
    margin-top: 0;
    display: none;
  }

  .intro-grid,
  .workflow-grid,
  .section-head,
  .request-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .intro-side,
  .contact-rail,
  .request-form {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid rgba(var(--line-rgb), 0.12);
    padding-top: 12px;
  }

  .section-head p:last-child {
    justify-self: start;
  }

  .service-row {
    grid-template-columns: 56px 1fr;
    gap: 8px 14px;
    align-items: start;
  }

  .service-row p,
  .service-row em {
    grid-column: 2;
    text-align: left;
  }

  .signal-strip {
    grid-template-columns: 1fr 1fr;
  }

  .field-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .field-full {
    grid-column: auto;
  }

  .form-actions {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .signal-strip span:nth-child(odd) {
    border-left: 0;
  }

  .signal-strip span:nth-child(n + 3) {
    border-top: 1px solid rgba(var(--line-rgb), 0.12);
  }
}

@media (max-width: 760px) {
  .theme-switcher {
    right: 50%;
    top: auto;
    bottom: 14px;
    transform: translateX(50%);
    grid-auto-flow: column;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 999px;
  }

  .theme-switcher-label {
    writing-mode: horizontal-tb;
    transform: none;
    letter-spacing: 0.14em;
    font-size: 0.62rem;
    margin-right: 2px;
  }

  .theme-switcher-list {
    grid-auto-flow: column;
    grid-template-columns: repeat(8, 18px);
  }

  .site-header {
    position: static;
    backdrop-filter: none;
    background: transparent;
  }

  .header-inner {
    padding: 10px 0;
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 10px;
    row-gap: 8px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .top-nav {
    display: none;
    width: 100%;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    align-items: stretch;
    margin-top: 2px;
    padding-top: 10px;
    border-top: 1px solid rgba(var(--line-rgb), 0.12);
  }

  .top-nav.is-open {
    display: grid;
  }

  .lang-switch {
    order: 0;
    grid-column: 1 / -1;
    justify-content: center;
    width: 100%;
  }

  .top-nav a {
    font-size: 0.88rem;
    padding: 7px 9px;
    text-align: center;
    min-width: 0;
  }

  .top-nav > a[href^="mailto:"] {
    grid-column: 1 / -1;
  }

  .screen {
    min-height: auto;
    padding: 8px 0;
  }

  .screen-shell {
    min-height: auto;
    padding: 20px 0;
  }

  .marquee {
    margin-top: 20px;
    padding-top: 10px;
  }

  .marquee-track {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    animation-duration: 26s;
  }

  .intro-main h1 {
    font-size: clamp(2rem, 10vw, 2.8rem);
    line-height: 1.02;
  }

  .lead {
    font-size: 0.97rem;
  }

  .line-item {
    padding: 12px 0;
  }

  .line-item strong {
    font-size: 0.96rem;
    line-height: 1.4;
  }

  .cta-row {
    gap: 10px;
  }

  .btn {
    width: 100%;
  }

  .form-actions .btn {
    width: 100%;
  }

  .signal-strip {
    grid-template-columns: 1fr;
  }

  .signal-strip span + span {
    border-left: 0;
    border-top: 1px solid rgba(var(--line-rgb), 0.12);
  }

  .process-list li {
    grid-template-columns: 40px 1fr;
    gap: 10px;
  }

  .request-points li {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .field {
    gap: 6px;
    padding: 10px 0;
  }

  .field span {
    font-size: 0.8rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .field input,
  .field textarea {
    font-size: 16px; /* prevent iOS zoom */
    line-height: 1.4;
  }

  .field textarea {
    min-height: 96px;
  }

  .form-meta {
    font-size: 0.88rem;
    line-height: 1.35;
  }

  .footer-inner {
    min-height: auto;
    padding: 12px 0;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .theme-switcher {
    width: calc(100% - 20px);
    justify-content: space-between;
    padding-inline: 10px;
  }

  .theme-switcher-list {
    gap: 6px;
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .theme-btn {
    width: 16px;
    height: 16px;
  }

  .header-inner,
  .footer-inner {
    width: min(1400px, calc(100% - 20px));
  }

  .screen-shell {
    width: min(1400px, calc(100% - 20px));
    padding: 16px 0;
  }

  .top-nav {
    grid-template-columns: 1fr;
  }

  .top-nav a {
    justify-content: center;
  }

  .lang-switch {
    padding: 3px;
    gap: 2px;
  }

  .lang-btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 7px 6px;
    font-size: 0.78rem;
    text-align: center;
  }

  .service-row {
    gap: 6px 10px;
  }

  .service-row h3 {
    font-size: 1rem;
    line-height: 1.3;
  }

  .service-row p,
  .service-row em {
    font-size: 0.88rem;
    line-height: 1.4;
  }

  .signal-strip span {
    font-size: 0.84rem;
    padding: 10px 0;
  }

  .process-list strong {
    font-size: 0.95rem;
  }

  .process-list p {
    font-size: 0.88rem;
  }

  .contact-rail h3 {
    font-size: 0.96rem;
  }

  .rail-line a,
  .rail-line strong {
    font-size: 0.92rem;
    overflow-wrap: anywhere;
  }

  .request-copy h2 {
    font-size: clamp(1.6rem, 8.4vw, 2.1rem);
  }

  .workflow-main h2,
  .section-head h2 {
    font-size: clamp(1.55rem, 7.8vw, 2rem);
  }

  .form-actions {
    gap: 10px;
  }

  .form-feedback {
    font-size: 0.88rem;
    line-height: 1.35;
  }
}

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

  body::before,
  .bg-grid,
  .cursor-glow {
    display: none;
  }

  .marquee-track {
    animation: none;
  }

  * {
    transition: none !important;
  }
}
