:root {
  --paper: #f7f5ef;
  --ink: #0c0c0c;
  --muted: #6a6861;
  --line: #d6d1c6;
  --accent: #f7931a;
  --mint: #9ee6c7;
  --blue: #9fc5ff;
  --white: #ffffff;
  --header-bg: rgba(247, 245, 239, 0.88);
  --grid-line-x: rgba(12, 12, 12, 0.05);
  --grid-line-y: rgba(12, 12, 12, 0.04);
  --card-bg: rgba(255, 255, 255, 0.34);
  --form-bg: #ffffff;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body[data-theme="dark"] {
  --paper: #0c0c0c;
  --ink: #f7f5ef;
  --muted: #b6b0a5;
  --line: #3a3833;
  --white: #151515;
  --header-bg: rgba(12, 12, 12, 0.9);
  --grid-line-x: rgba(247, 245, 239, 0.08);
  --grid-line-y: rgba(247, 245, 239, 0.06);
  --card-bg: rgba(255, 255, 255, 0.06);
  --form-bg: #111111;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, var(--grid-line-x) 1px, transparent 1px),
    linear-gradient(var(--grid-line-y) 1px, transparent 1px),
    var(--paper);
  background-size: 56px 56px;
  transition:
    color 180ms ease,
    background-color 180ms ease;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto minmax(300px, 1fr);
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 0 32px;
  border-bottom: 1px solid var(--ink);
  background: var(--header-bg);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.tool-button,
.social-button,
.mobile-menu a {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  overflow: hidden;
  background: #111;
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--accent);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: scale(1.18);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.header-tools {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  align-items: center;
}

.tool-button,
.social-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0 12px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
  cursor: pointer;
}

.tool-button:hover,
.social-button:hover {
  color: var(--paper);
  background: var(--ink);
}

.support-link {
  min-width: 58px;
}

.header-action {
  justify-self: end;
  padding: 13px 18px;
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--ink);
}

.menu-button {
  display: none;
  justify-self: end;
  width: 42px;
  height: 42px;
  border: 1px solid var(--ink);
  background: transparent;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.mobile-menu {
  display: none;
}

.mobile-tools {
  display: none;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 56px;
  align-items: center;
  padding: 96px 32px;
}

.hero {
  min-height: calc(100svh - 72px);
  border-bottom: 1px solid var(--ink);
}

.eyebrow {
  margin: 0 0 18px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
}

.eyebrow.light {
  color: var(--mint);
}

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

h1 {
  max-width: 980px;
  margin-bottom: 24px;
  font-size: clamp(50px, 8vw, 122px);
  line-height: 0.94;
  font-weight: 800;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(36px, 5vw, 74px);
  line-height: 1;
  font-weight: 800;
}

h3 {
  margin-bottom: 14px;
  font-size: 26px;
}

.hero-text,
.statement p,
.contact-section p {
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 34px;
}

.primary-button,
.text-link,
.contact-form button {
  min-height: 48px;
  font-weight: 800;
  text-transform: uppercase;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  padding: 0 22px;
  color: var(--ink);
  background: var(--accent);
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid var(--ink);
}

.terminal-panel {
  overflow: hidden;
  border: 2px solid var(--ink);
  background: #111;
  box-shadow: 10px 10px 0 var(--accent);
}

.terminal-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px;
  color: #d8d8d8;
  border-bottom: 1px solid #333;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
}

.terminal-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.terminal-topbar span:nth-child(2) {
  background: var(--mint);
}

.terminal-topbar span:nth-child(3) {
  background: var(--blue);
}

.terminal-topbar strong {
  margin-left: auto;
}

.terminal-body {
  padding: 24px;
  color: #f3f3f3;
  font-family: "JetBrains Mono", monospace;
}

.terminal-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid #2d2d2d;
  font-size: 14px;
}

.terminal-row em {
  color: var(--mint);
  font-style: normal;
}

pre {
  overflow: auto;
  margin: 28px 0 0;
  padding: 22px;
  color: var(--mint);
  background: #050505;
  border: 1px solid #333;
  font-size: 14px;
  line-height: 1.7;
}

.ticker-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--ink);
}

.ticker-strip div {
  min-height: 132px;
  padding: 28px 32px;
  border-right: 1px solid var(--ink);
}

.ticker-strip div:last-child {
  border-right: 0;
}

.ticker-strip span,
.article-list span,
.card-index {
  display: block;
  margin-bottom: 16px;
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.ticker-strip strong {
  font-size: clamp(24px, 3vw, 38px);
}

.content-section {
  border-bottom: 1px solid var(--ink);
}

.research-section {
  padding: 0;
  border-bottom: 1px solid var(--ink);
  color: #f7f7f4;
  background:
    radial-gradient(circle at 42% 8%, rgba(65, 206, 98, 0.26), transparent 28%),
    radial-gradient(circle at 88% 14%, rgba(50, 150, 72, 0.26), transparent 22%),
    linear-gradient(135deg, #162918 0%, #121418 45%, #15161b 100%);
}

.research-showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 72px;
  align-items: center;
  min-height: 620px;
  padding: 82px 56px;
  overflow: hidden;
}

.research-showcase::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 10% 20%, rgba(90, 255, 124, 0.12), transparent 12%),
    radial-gradient(circle at 55% 45%, rgba(63, 205, 108, 0.18), transparent 14%);
  filter: blur(28px);
  opacity: 0.9;
}

.research-copy,
.research-subscribe {
  position: relative;
  z-index: 1;
}

.research-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 36px;
  padding: 12px 22px;
  color: #5df06d;
  border: 1px solid rgba(93, 240, 109, 0.35);
  border-radius: 999px;
  background: rgba(93, 240, 109, 0.08);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.research-pill::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #5df06d;
}

.research-copy h2 {
  margin: 0;
  font-size: clamp(56px, 7vw, 116px);
  line-height: 0.95;
  letter-spacing: 0;
}

.research-copy h2.research-title-long {
  max-width: 1120px;
  font-size: clamp(42px, 5.5vw, 84px);
  line-height: 1.02;
}

.research-copy h2::first-line {
  color: #ffffff;
}

.research-copy h2 {
  color: #a3f6bd;
}

.research-copy p:not(.research-pill) {
  max-width: 820px;
  margin: 32px 0 0;
  color: #bdc4cf;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.55;
}

.research-stats {
  display: flex;
  gap: 46px;
  align-items: center;
  margin-top: 54px;
}

.research-stats div + div {
  padding-left: 46px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.research-stats strong {
  display: block;
  color: #ffffff;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1;
}

.research-stats span {
  display: block;
  margin-top: 14px;
  color: #657083;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.research-subscribe {
  justify-self: end;
  width: min(100%, 560px);
  padding: 46px 48px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(22, 23, 27, 0.96), rgba(16, 17, 22, 0.96));
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.38);
}

.research-subscribe h3 {
  margin: 0 0 22px;
  color: #ffffff;
  font-size: clamp(26px, 2vw, 34px);
}

.research-subscribe p {
  margin: 0 0 30px;
  color: #b9bec8;
  font-size: 20px;
  line-height: 1.55;
}

.research-subscribe ul {
  display: grid;
  gap: 18px;
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
}

.research-subscribe li {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #d7d9de;
  font-size: 18px;
  font-weight: 800;
}

.research-subscribe li::before {
  content: "✓";
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #5df06d;
  border: 1px solid rgba(93, 240, 109, 0.35);
  border-radius: 50%;
  background: rgba(93, 240, 109, 0.09);
  font-size: 15px;
}

.research-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 84px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 24px;
  font-weight: 900;
}

.research-subscribe small {
  display: block;
  margin-top: 22px;
  color: #657083;
  text-align: center;
  font-size: 16px;
}

.research-library {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  gap: 64px;
  align-items: center;
  padding: 34px 56px 86px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.research-library::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.35;
}

.research-article-stack,
.research-promise {
  position: relative;
  z-index: 1;
}

.research-article-stack {
  display: grid;
  gap: 18px;
}

.research-article-pill {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  min-height: 96px;
  padding: 20px 28px;
  color: #f6f7f3;
  border: 1px solid rgba(163, 246, 189, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.research-article-pill:hover {
  border-color: rgba(93, 240, 109, 0.55);
  background: rgba(93, 240, 109, 0.09);
}

.research-article-pill span,
.research-article-pill em {
  color: #7b8797;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 900;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.research-article-pill strong {
  min-width: 0;
  color: #ffffff;
  font-size: clamp(18px, 1.7vw, 27px);
  line-height: 1.22;
}

.research-promise {
  justify-self: end;
  max-width: 820px;
}

.research-promise .eyebrow {
  color: rgba(163, 246, 189, 0.72);
}

.research-promise h2 {
  color: #ffffff;
  font-size: clamp(48px, 6.6vw, 108px);
  line-height: 0.98;
  letter-spacing: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--ink);
}

.feature-card {
  min-height: 330px;
  padding: 32px;
  border-right: 1px solid var(--ink);
  background: var(--card-bg);
}

.feature-card:nth-child(2) {
  background: rgba(247, 147, 26, 0.14);
}

.feature-card:nth-child(3) {
  background: rgba(158, 230, 199, 0.2);
}

.feature-card:nth-child(4) {
  border-right: 0;
  background: rgba(159, 197, 255, 0.2);
}

.feature-card p {
  color: var(--muted);
  line-height: 1.6;
}

.black-band {
  padding: 90px 32px;
  color: var(--white);
  background: var(--ink);
}

.band-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 54px;
  background: #333;
  border: 1px solid #333;
}

.process-list div {
  padding: 28px;
  background: var(--ink);
}

.process-list span {
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
}

.process-list strong {
  display: block;
  margin: 24px 0 12px;
  font-size: 24px;
}

.process-list p {
  margin-bottom: 0;
  color: #bdbdbd;
  line-height: 1.6;
}

.article-list {
  border-top: 1px solid var(--ink);
}

.article-list a {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--ink);
}

.article-list strong {
  font-size: 22px;
  line-height: 1.25;
}

.article-list em {
  color: var(--muted);
  font-style: normal;
  font-family: "JetBrains Mono", monospace;
}

.contact-section {
  position: relative;
  overflow: hidden;
  padding: 118px 32px 0;
  border-bottom: 1px solid var(--ink);
  background:
    linear-gradient(90deg, var(--grid-line-x) 1px, transparent 1px),
    linear-gradient(var(--grid-line-y) 1px, transparent 1px),
    color-mix(in srgb, var(--paper) 92%, #e8dfcf);
  background-size: 9px 9px;
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 30px auto 0 34px;
  width: 22px;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  opacity: 0.55;
}

.contact-hero {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  min-height: 490px;
  text-align: center;
}

.contact-kicker {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 0 48px;
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-kicker::before,
.contact-kicker::after {
  content: "";
  width: 56px;
  height: 1px;
  background: var(--line);
}

.contact-hero h2 {
  position: relative;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(76px, 13vw, 184px);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: 0;
}

.contact-hero h2::after {
  content: "";
  position: absolute;
  right: 5%;
  bottom: -6px;
  left: 5%;
  height: 8px;
  background: var(--accent);
  border-radius: 999px;
  transform: rotate(-1deg);
}

.contact-subtitle {
  margin: 58px 0 0;
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 700;
  line-height: 1.5;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 32px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.availability span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
}

.contact-marquee {
  position: relative;
  z-index: 1;
  margin: 0 -32px;
  padding: 20px 0;
  overflow: hidden;
  color: color-mix(in srgb, var(--muted) 56%, transparent);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 700;
  white-space: nowrap;
}

.contact-marquee span {
  display: inline-block;
  min-width: 100%;
  animation: contactTicker 28s linear infinite;
}

@keyframes contactTicker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 292px;
  margin: 0 -32px;
  border-bottom: 1px solid var(--line);
}

.contact-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 42px 34px;
  color: var(--ink);
  border-right: 1px solid var(--line);
  min-width: 0;
  white-space: nowrap;
}

.contact-card:last-child {
  border-right: 0;
}

.contact-card strong {
  min-width: 0;
  font-size: clamp(15px, 1.25vw, 22px);
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-card em {
  font-style: normal;
  font-size: 22px;
}

.contact-label {
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.email-card {
  grid-template-columns: auto minmax(0, 1fr);
}

.email-card strong {
  color: #ff5a5f;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}

.contact-icon {
  font-size: 28px;
  font-weight: 900;
}

.contact-icon.telegram {
  color: #45aaf2;
  transform: rotate(-22deg);
}

.wechat-card {
  grid-template-columns: 1fr;
  justify-items: center;
  align-content: center;
  text-align: center;
}

.wechat-box {
  display: grid;
  width: 132px;
  height: 132px;
  place-items: center;
  margin: 14px 0 8px;
  color: var(--muted);
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, var(--grid-line-x) 1px, transparent 1px),
    linear-gradient(var(--grid-line-y) 1px, transparent 1px);
  background-size: 10px 10px;
}

.wechat-box span {
  font-size: 24px;
  letter-spacing: -6px;
  opacity: 0.7;
}

.wechat-box small,
.wechat-card > small {
  color: var(--muted);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 32px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links,
  .header-tools {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .mobile-menu.is-open {
    position: fixed;
    top: 72px;
    right: 0;
    left: 0;
    z-index: 19;
    display: grid;
    gap: 1px;
    background: var(--ink);
    border-bottom: 1px solid var(--ink);
  }

  .mobile-menu a {
    padding: 20px 32px;
    background: var(--paper);
  }

  .mobile-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 18px 32px;
    background: var(--paper);
  }

  .section-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .research-showcase {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 64px 28px;
  }

  .research-subscribe {
    justify-self: stretch;
    width: 100%;
  }

  .research-list-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .research-library {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 18px 28px 64px;
  }

  .research-promise {
    justify-self: start;
  }

  .feature-grid,
  .ticker-strip,
  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .contact-card:nth-child(2) {
    border-right: 0;
  }

  .contact-card {
    border-bottom: 1px solid var(--line);
  }

  .feature-card:nth-child(2) {
    border-right: 0;
  }

  .feature-card:nth-child(3) {
    border-top: 1px solid var(--ink);
  }

  .feature-card:nth-child(4) {
    border-top: 1px solid var(--ink);
  }
}

@media (max-width: 640px) {
  .site-header,
  .section-grid,
  .black-band,
  .contact-section,
  .site-footer {
    padding-right: 20px;
    padding-left: 20px;
  }

  .section-grid,
  .contact-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .research-showcase {
    min-height: auto;
    padding: 56px 20px;
  }

  .research-pill {
    margin-bottom: 30px;
    padding: 10px 16px;
    font-size: 12px;
  }

  .research-copy p:not(.research-pill) {
    margin-top: 24px;
    font-size: 18px;
  }

  .research-stats {
    gap: 24px;
    margin-top: 36px;
  }

  .research-stats div + div {
    padding-left: 24px;
  }

  .research-subscribe {
    padding: 28px 22px;
    border-radius: 18px;
  }

  .research-subscribe p,
  .research-subscribe li {
    font-size: 16px;
  }

  .research-button {
    min-height: 60px;
    font-size: 18px;
  }

  .research-list-heading {
    padding: 52px 20px 24px;
  }

  .research-library {
    padding: 10px 20px 52px;
  }

  .research-article-pill {
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: auto;
    padding: 22px 24px;
    border-radius: 28px;
  }

  .research-article-pill strong {
    font-size: 18px;
  }

  .research-promise h2 {
    font-size: clamp(42px, 12vw, 64px);
  }

  .contact-section {
    padding-right: 20px;
    padding-left: 20px;
  }

  .contact-hero {
    min-height: 430px;
  }

  .contact-kicker {
    gap: 12px;
    letter-spacing: 0.08em;
  }

  .contact-kicker::before,
  .contact-kicker::after {
    width: 32px;
  }

  .contact-subtitle {
    margin-top: 42px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    margin-right: -20px;
    margin-left: -20px;
  }

  .contact-card,
  .contact-card:nth-child(2) {
    grid-template-columns: auto 1fr auto;
    padding: 28px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .email-card {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
  }

  .wechat-card {
    grid-template-columns: 1fr;
  }

  .contact-marquee {
    margin-right: -20px;
    margin-left: -20px;
  }

  .hero {
    min-height: auto;
  }

  .feature-grid,
  .ticker-strip,
  .process-list {
    grid-template-columns: 1fr;
  }

  .ticker-strip div,
  .feature-card {
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .article-list a {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .terminal-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .site-footer {
    flex-direction: column;
  }

  .mobile-tools {
    padding-right: 20px;
    padding-left: 20px;
  }
}
