:root {
  --bg: #f3f5f7;
  --bg-2: #ffffff;
  --ink: #111827;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --surface-soft: rgba(17, 24, 39, 0.045);
  --line: rgba(17, 24, 39, 0.14);
  --line-strong: rgba(17, 24, 39, 0.28);
  --text: #111827;
  --muted: #596477;
  --blue: #1d4ed8;
  --blue-2: #0b76b7;
  --red: #c1121f;
  --red-2: #ef233c;
  --metal: #8d99ae;
  --shadow: 0 18px 48px rgba(17, 24, 39, 0.13);
  --radius: 8px;
  --container: 1180px;
  --header-h: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 320px;
  max-width: 100%;
  overflow-x: clip;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.055) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(0deg, rgba(17, 24, 39, 0.04) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(112deg, transparent 0 8%, rgba(193, 18, 31, 0.08) 8.1% 8.6%, transparent 8.7%),
    linear-gradient(180deg, #f6f7f9 0%, #e9edf2 52%, #f8fafc 100%);
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, "Noto Sans", "Microsoft YaHei", sans-serif;
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

#main {
  overflow-x: clip;
}

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

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

button,
select {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  transform: translateY(-180%);
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface-strong);
  color: var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.noscript-notice {
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(239, 35, 60, 0.28);
  border-radius: var(--radius);
  background: rgba(239, 35, 60, 0.1);
  color: rgba(248, 250, 252, 0.9);
  font-size: 14px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-h);
  border-bottom: 1px solid rgba(17, 24, 39, 0.12);
  background: rgba(248, 250, 252, 0.9);
  backdrop-filter: blur(16px) saturate(1.12);
}

.header-inner {
  width: min(1460px, calc(100% - 28px));
  min-height: var(--header-h);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border: 1px solid rgba(17, 24, 39, 0.18);
  border-radius: var(--radius);
  background: #020406;
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.18), 0 0 0 4px rgba(193, 18, 31, 0.06);
}

.brand-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
  line-height: 1;
}

.brand-name {
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-tag {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
}

.desktop-nav a,
.mobile-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: var(--radius);
  color: rgba(17, 24, 39, 0.76);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0;
  white-space: nowrap;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
  color: #0f172a;
  background: rgba(17, 24, 39, 0.06);
}

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

.language-select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.language-select span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.language-select select {
  width: 128px;
  height: 38px;
  border: 1px solid rgba(17, 24, 39, 0.18);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  padding: 0 10px;
  cursor: pointer;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(17, 24, 39, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: #111827;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: 10px 0 16px;
  border-top: 1px solid rgba(17, 24, 39, 0.1);
  background: rgba(248, 250, 252, 0.96);
}

.mobile-nav.is-open {
  display: grid;
  gap: 6px;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  overflow: hidden;
  display: grid;
  align-items: center;
  border-bottom: 1px solid rgba(17, 24, 39, 0.12);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(246, 247, 249, 0.98), rgba(246, 247, 249, 0.74) 46%, rgba(246, 247, 249, 0.92)),
    linear-gradient(118deg, transparent 0 64%, rgba(193, 18, 31, 0.12) 64.2% 66.6%, transparent 66.8%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(226, 232, 240, 0.78));
  z-index: 1;
}

.hero-media {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 7vh 4vw 3vh;
  opacity: 0.13;
  filter: grayscale(1) contrast(1.1);
}

.hero-media img {
  width: min(900px, 72vw);
  height: auto;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(112deg, transparent 0 28px, rgba(17, 24, 39, 0.06) 29px, transparent 30px),
    linear-gradient(102deg, transparent 0 58%, rgba(193, 18, 31, 0.72) 58.2% 58.7%, transparent 58.9%),
    linear-gradient(104deg, transparent 0 72%, rgba(29, 78, 216, 0.34) 72.2% 72.55%, transparent 72.8%);
  opacity: 0.68;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 28px;
  padding: 72px 0 48px;
}

.hero-copy {
  align-self: center;
  max-width: 760px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 11px;
  border: 1px solid rgba(17, 24, 39, 0.16);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(226, 232, 240, 0.6)),
    rgba(255, 255, 255, 0.7);
  color: rgba(17, 24, 39, 0.86);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  max-width: 920px;
  display: grid;
  gap: 4px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 950;
  text-wrap: normal;
}

.hero-title-line {
  display: block;
  white-space: nowrap;
}

.hero h1::after {
  content: "";
  display: block;
  width: min(380px, 80%);
  height: 3px;
  margin-top: 18px;
  background: linear-gradient(90deg, var(--red), #111827 44%, var(--blue), transparent);
}

.hero-lead {
  max-width: 760px;
  margin: 20px 0 0;
  color: rgba(17, 24, 39, 0.74);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.6;
  font-weight: 550;
  text-wrap: pretty;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 17px;
  border-radius: var(--radius);
  border: 1px solid rgba(17, 24, 39, 0.16);
  color: #111827;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0;
  transition: transform 190ms ease, border-color 190ms ease, background 190ms ease;
}

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

.button:focus-visible,
.desktop-nav a:focus-visible,
.mobile-nav a:focus-visible,
.language-select select:focus-visible,
.menu-toggle:focus-visible,
.contact-link:focus-visible {
  outline: 2px solid rgba(96, 213, 255, 0.6);
  outline-offset: 2px;
}

.button-primary {
  border-color: rgba(17, 24, 39, 0.22);
  background:
    linear-gradient(135deg, #111827, #c1121f 72%, #ef233c);
  color: #fff;
  box-shadow: 0 16px 36px rgba(193, 18, 31, 0.24);
}

.button-secondary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(226, 232, 240, 0.62));
}

.hero-dashboard,
.portal-console,
.fuel-panel,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.78)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(226, 232, 240, 0.86));
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-dashboard {
  align-self: end;
  padding: 18px;
}

.hero-dashboard > div:first-child {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
}

.hero-dashboard span,
.console-header span:last-child {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-dashboard strong {
  font-size: 20px;
  line-height: 1.2;
}

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

.metric {
  min-height: 92px;
  padding: 12px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.metric dt {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}

.metric dd {
  margin: 8px 0 0;
  font-size: 24px;
  font-weight: 900;
}

.section {
  padding: 82px 0;
  border-bottom: 1px solid rgba(17, 24, 39, 0.1);
}

.section-dark {
  background:
    linear-gradient(90deg, rgba(193, 18, 31, 0.18), transparent 28%),
    linear-gradient(112deg, transparent 0 76%, rgba(255, 255, 255, 0.06) 76.2% 76.7%, transparent 77%),
    #10151e;
  color: rgba(248, 250, 252, 0.96);
}

.section-dark .section-head p:not(.eyebrow),
.section-dark .section-copy p:not(.eyebrow),
.section-dark .fuel-panel p,
.section-dark .content-card p {
  color: rgba(226, 232, 240, 0.76);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 470px);
  gap: 28px;
  align-items: center;
}

.section-head {
  max-width: 900px;
  margin-bottom: 26px;
}

.section-head h2,
.section-copy h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.section-head p:not(.eyebrow),
.section-copy p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-head::before,
.section-copy::before {
  content: "JWH";
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 24px;
  margin-bottom: 14px;
  border: 1px solid rgba(239, 35, 60, 0.42);
  border-radius: 4px;
  background: rgba(239, 35, 60, 0.12);
  color: #ff7180;
  font-size: 11px;
  font-weight: 950;
}

.portal-console {
  overflow: hidden;
}

.console-header {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.1);
  background: rgba(17, 24, 39, 0.04);
}

.console-header span:first-child {
  font-weight: 900;
}

.console-body {
  padding: 16px;
  display: grid;
  gap: 10px;
}

.portal-step,
.content-card,
.timeline-step,
.ecosystem-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(241, 245, 249, 0.82));
  box-shadow: 0 16px 38px rgba(17, 24, 39, 0.1);
}

.section-dark .content-card,
.section-dark .ecosystem-card,
.section-dark .fuel-panel {
  border-color: rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035)),
    rgba(15, 23, 42, 0.8);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.portal-step {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  padding: 13px;
}

.step-index,
.card-index {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(193, 18, 31, 0.24);
  border-radius: 6px;
  background: rgba(193, 18, 31, 0.12);
  color: var(--red);
  font-weight: 900;
}

.portal-step h3,
.content-card h3,
.timeline-step h3,
.fuel-panel h3,
.ecosystem-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

.portal-step p,
.content-card p,
.timeline-step p,
.fuel-panel p,
.ecosystem-card p {
  margin: 8px 0 0;
  color: var(--muted);
}

.card-grid {
  display: grid;
  gap: 16px;
}

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

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

.content-card,
.ecosystem-card {
  position: relative;
  min-height: 260px;
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.content-card,
.ecosystem-card,
.timeline-step,
.portal-step {
  overflow: hidden;
}

.content-card::after,
.ecosystem-card::after,
.timeline-step::after {
  content: "";
  position: absolute;
  right: 28px;
  bottom: -78px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(239, 35, 60, 0.12);
  transform: rotate(28deg);
  pointer-events: none;
}

.content-card:hover,
.ecosystem-card:hover,
.timeline-step:hover,
.portal-step:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  transition: transform 190ms ease, border-color 190ms ease;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.card-kicker {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 16px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 8px;
  border: 1px solid rgba(17, 24, 39, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: rgba(17, 24, 39, 0.82);
  font-size: 12px;
  font-weight: 750;
}

.hardware-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  gap: 18px;
  align-items: start;
}

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

.fuel-panel {
  padding: 20px;
  position: sticky;
  top: calc(var(--header-h) + 18px);
}

.injector-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.injector-row .tag {
  min-height: 34px;
  border-color: rgba(220, 38, 38, 0.28);
  background: rgba(193, 18, 31, 0.09);
}

.section-process {
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.05) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(226, 232, 240, 0.44));
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  counter-reset: flow;
}

.timeline-step {
  min-height: 220px;
  padding: 16px;
}

.timeline-step::before {
  counter-increment: flow;
  content: counter(flow, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.65), rgba(37, 99, 235, 0.65));
  color: #fff;
  font-weight: 900;
}

.tools-section {
  align-items: start;
}

.tool-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (min-width: 1081px) {
  .section:not(.portal-section):not(.contact-section) > .container {
    display: grid;
    grid-template-columns: 292px minmax(0, 1fr);
    gap: 34px;
    align-items: start;
  }

  .section:not(.portal-section):not(.contact-section) .section-head,
  .section:not(.portal-section):not(.contact-section) .section-copy {
    position: sticky;
    top: calc(var(--header-h) + 28px);
    max-width: none;
    margin: 0;
    padding: 18px 18px 18px 0;
    border-right: 1px solid rgba(239, 35, 60, 0.24);
  }

  .section:not(.portal-section):not(.contact-section) .section-head h2,
  .section:not(.portal-section):not(.contact-section) .section-copy h2 {
    font-size: clamp(24px, 2.25vw, 36px);
  }

  .section:not(.portal-section):not(.contact-section) .section-head p:not(.eyebrow),
  .section:not(.portal-section):not(.contact-section) .section-copy p:not(.eyebrow) {
    max-width: 250px;
  }

  .section:not(.portal-section):not(.contact-section) .card-grid,
  .section:not(.portal-section):not(.contact-section) .hardware-layout,
  .section:not(.portal-section):not(.contact-section) .timeline,
  .section:not(.portal-section):not(.contact-section) .tool-wall {
    grid-column: 2;
  }

  .tools-section {
    grid-template-columns: 292px minmax(0, 1fr);
  }

  .tools-section .tool-wall {
    align-self: stretch;
    align-content: flex-start;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    background:
      linear-gradient(150deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.022)),
      rgba(14, 20, 31, 0.64);
  }
}

.tool-wall .tag {
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(226, 232, 240, 0.72));
}

.contact-section {
  background:
    linear-gradient(110deg, rgba(17, 24, 39, 0.92), rgba(17, 24, 39, 0.84) 58%, rgba(193, 18, 31, 0.82)),
    #111827;
  color: rgba(248, 250, 252, 0.96);
}

.contact-section .section-copy p:not(.eyebrow) {
  color: rgba(226, 232, 240, 0.78);
}

.contact-panel {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.contact-section .contact-panel {
  border-color: rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.055)),
    rgba(15, 23, 42, 0.62);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.28);
}

.contact-link {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.contact-link span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-link strong {
  overflow-wrap: anywhere;
}

.contact-section .contact-link span {
  color: rgba(226, 232, 240, 0.74);
}

.contact-section .contact-link strong {
  color: #fff;
}

.site-footer {
  padding: 28px 0;
  background: #f8fafc;
  color: rgba(17, 24, 39, 0.78);
  border-top: 1px solid rgba(17, 24, 39, 0.1);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner p {
  margin: 8px 0 0;
  max-width: 720px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  font-size: 13px;
  font-weight: 750;
}

.footer-links a:hover {
  color: var(--red);
}

.legal-hero {
  padding: 68px 0 38px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.12);
  background:
    linear-gradient(112deg, transparent 0 68%, rgba(193, 18, 31, 0.12) 68.2% 70%, transparent 70.2%),
    linear-gradient(180deg, #fff, #eef2f7);
}

.legal-hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
}

.legal-hero p {
  max-width: 820px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.legal-shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 46px 0 78px;
}

.legal-nav {
  position: sticky;
  top: calc(var(--header-h) + 18px);
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.legal-nav a {
  padding: 9px 10px;
  border-radius: 6px;
  color: rgba(17, 24, 39, 0.78);
  font-size: 14px;
  font-weight: 750;
}

.legal-nav a:hover,
.legal-nav a[aria-current="page"] {
  background: rgba(193, 18, 31, 0.08);
  color: var(--red);
}

.legal-card {
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.legal-card h2 {
  margin: 30px 0 10px;
  font-size: 24px;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card h3 {
  margin: 20px 0 8px;
  font-size: 18px;
}

.legal-card p,
.legal-card li {
  color: rgba(17, 24, 39, 0.74);
}

.legal-card a {
  color: var(--blue);
  font-weight: 750;
}

.error-page .hero {
  min-height: calc(100vh - var(--header-h));
}

.legal-card ul,
.legal-card ol {
  padding-left: 22px;
}

.notice-box {
  margin: 20px 0;
  padding: 14px;
  border-left: 4px solid var(--red);
  background: rgba(193, 18, 31, 0.06);
  color: rgba(17, 24, 39, 0.78);
}

[data-animate] {
  opacity: 1;
  transform: none;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 460ms ease, transform 460ms ease;
}

/* JWH visual direction: dark portal energy, graphite panels, red technical accents. */
:root {
  --bg: #07090d;
  --bg-2: #0d1118;
  --ink: #f8fafc;
  --surface: rgba(17, 22, 31, 0.9);
  --surface-strong: rgba(12, 16, 24, 0.96);
  --surface-soft: rgba(255, 255, 255, 0.055);
  --line: rgba(226, 232, 240, 0.12);
  --line-strong: rgba(239, 35, 60, 0.44);
  --text: rgba(248, 250, 252, 0.96);
  --muted: rgba(203, 213, 225, 0.72);
  --blue: #7dd3fc;
  --blue-2: #38bdf8;
  --red: #ef233c;
  --red-2: #ff4d5f;
  --metal: #cbd5e1;
  --shadow: 0 24px 72px rgba(0, 0, 0, 0.44);
}

body {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(0deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(112deg, transparent 0 12%, rgba(239, 35, 60, 0.22) 12.2% 12.65%, transparent 12.9%),
    linear-gradient(248deg, transparent 0 76%, rgba(125, 211, 252, 0.11) 76.2% 76.6%, transparent 76.9%),
    linear-gradient(180deg, #06080c 0%, #10151f 48%, #06080c 100%);
  color: var(--text);
}

.site-header {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  background: rgba(7, 9, 13, 0.88);
}

.brand-logo {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.42), 0 0 0 4px rgba(239, 35, 60, 0.08);
}

.desktop-nav a,
.mobile-nav a {
  color: rgba(248, 250, 252, 0.78);
}

.desktop-nav a:hover,
.mobile-nav a:hover {
  color: #fff;
  background: rgba(239, 35, 60, 0.12);
}

.language-select,
.menu-toggle {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
}

.language-select select {
  border-color: rgba(239, 35, 60, 0.22);
  background: #0b0f16;
  color: var(--text);
}

.menu-toggle span {
  background: #fff;
}

.mobile-nav {
  border-top-color: rgba(255, 255, 255, 0.08);
  background: rgba(7, 9, 13, 0.97);
}

.hero {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(6, 8, 12, 0.98), rgba(6, 8, 12, 0.68) 50%, rgba(6, 8, 12, 0.94)),
    linear-gradient(118deg, transparent 0 62%, rgba(239, 35, 60, 0.28) 62.2% 64.3%, transparent 64.6%),
    linear-gradient(180deg, rgba(6, 8, 12, 0.24), rgba(6, 8, 12, 0.9));
}

.hero-media {
  opacity: 0.24;
  filter: saturate(0.96) contrast(1.05) brightness(0.7);
}

.hero-mesh {
  background:
    repeating-linear-gradient(112deg, transparent 0 28px, rgba(255, 255, 255, 0.035) 29px, transparent 30px),
    linear-gradient(102deg, transparent 0 58%, rgba(239, 35, 60, 0.72) 58.2% 58.7%, transparent 58.9%),
    linear-gradient(104deg, transparent 0 72%, rgba(125, 211, 252, 0.22) 72.2% 72.55%, transparent 72.8%);
  opacity: 0.72;
}

.badge,
.tag {
  border-color: rgba(255, 255, 255, 0.13);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(13, 18, 28, 0.76);
  color: rgba(248, 250, 252, 0.9);
}

.hero-lead,
.section-head p:not(.eyebrow),
.section-copy p:not(.eyebrow),
.footer-inner p {
  color: var(--muted);
}

.button-secondary {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.035);
}

.hero-dashboard,
.portal-console,
.fuel-panel,
.contact-panel,
.legal-card,
.legal-nav {
  border-color: rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(13, 18, 28, 0.86);
  box-shadow: var(--shadow);
}

.metric,
.portal-step,
.content-card,
.timeline-step,
.ecosystem-card {
  border-color: rgba(255, 255, 255, 0.11);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.072), rgba(255, 255, 255, 0.026)),
    rgba(14, 20, 31, 0.82);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.card-index,
.step-index {
  border-color: rgba(239, 35, 60, 0.32);
  background: rgba(239, 35, 60, 0.13);
  color: #ff7180;
}

.section {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.section-dark,
.section-process,
.contact-section {
  background:
    linear-gradient(112deg, transparent 0 76%, rgba(239, 35, 60, 0.18) 76.2% 77.4%, transparent 77.7%),
    linear-gradient(180deg, rgba(9, 13, 20, 0.96), rgba(14, 20, 31, 0.96));
}

.tool-wall .tag {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(15, 23, 42, 0.76);
}

.site-footer {
  background: #05070a;
  color: rgba(226, 232, 240, 0.82);
  border-top-color: rgba(255, 255, 255, 0.08);
}

.legal-hero {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(112deg, transparent 0 68%, rgba(239, 35, 60, 0.24) 68.2% 70%, transparent 70.2%),
    linear-gradient(180deg, #080b11, #111827);
}

.legal-hero p,
.legal-card p,
.legal-card li,
.legal-nav a {
  color: rgba(226, 232, 240, 0.76);
}

.notice-box {
  border-left-color: var(--red);
  background: rgba(239, 35, 60, 0.1);
  color: rgba(248, 250, 252, 0.86);
}

@media (max-width: 1180px) {
  .desktop-nav {
    display: none;
  }

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

  .brand {
    min-width: 0;
  }

  .hero-inner,
  .split-section,
  .hardware-layout {
    grid-template-columns: 1fr;
  }

  .hero-dashboard {
    align-self: auto;
    max-width: 520px;
  }

  .fuel-panel {
    position: static;
  }

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

@media (max-width: 900px) {
  :root {
    --header-h: 74px;
  }

  .header-inner {
    min-height: var(--header-h);
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .language-select select {
    width: 112px;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    justify-content: center;
    opacity: 0.2;
  }

  .hero-media img {
    width: min(760px, 118vw);
  }

  .hero-inner {
    padding: 64px 0 42px;
  }

  .hero h1 {
    font-size: clamp(38px, 11vw, 64px);
  }

  .card-grid-3,
  .card-grid-4,
  .hardware-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .legal-shell {
    grid-template-columns: 1fr;
  }

  .legal-nav {
    position: static;
  }
}

@media (max-width: 620px) {
  .container,
  .mobile-nav {
    width: min(100% - 24px, var(--container));
  }

  .header-inner {
    width: calc(100% - 20px);
    gap: 8px;
  }

  .brand {
    gap: 8px;
  }

  .brand-name {
    font-size: 17px;
  }

  .brand-tag {
    font-size: 9px;
  }

  .language-select select {
    width: 96px;
    height: 38px;
    font-size: 12px;
  }

  .hero-actions,
  .action-row {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .metric-grid,
  .card-grid-3,
  .card-grid-4,
  .hardware-list,
  .timeline {
    grid-template-columns: 1fr;
  }

  .content-card,
  .ecosystem-card,
  .timeline-step {
    min-height: auto;
  }

  .section {
    padding: 58px 0;
  }

  .footer-inner {
    display: grid;
  }

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

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }
}
.section-dark .tag,
.contact-section .tag {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(248, 250, 252, 0.9);
}

/* Compact JWH production scale. */
:root {
  --type-hero: clamp(32px, 4.8vw, 56px);
  --type-section: clamp(21px, 2.3vw, 31px);
  --type-card: 14.5px;
  --type-body: 13px;
  --type-small: 10px;
  --header-h: 70px;
}

html:lang(zh-CN),
html:lang(zh-TW) {
  --type-hero: clamp(29px, 4.3vw, 50px);
  --type-section: clamp(19px, 2.1vw, 28px);
  --type-card: 13.5px;
  --type-body: 12.2px;
  --type-small: 9.5px;
}

body {
  line-height: 1.45;
}

.header-inner {
  min-height: var(--header-h);
}

.brand {
  gap: 9px;
  min-width: 190px;
}

.brand-logo {
  width: 44px;
  height: 44px;
}

.brand-name {
  font-size: clamp(16px, 1.7vw, 24px);
}

.brand-tag {
  font-size: 9px;
}

.desktop-nav a,
.mobile-nav a {
  min-height: 34px;
  padding: 6px 9px;
  font-size: 12px;
}

.language-select select {
  width: 118px;
  height: 32px;
  font-size: 12px;
}

.menu-toggle {
  width: 38px;
  height: 38px;
}

.hero {
  min-height: calc(92vh - var(--header-h));
}

.hero-inner {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
  gap: 22px;
  padding: 56px 0 36px;
}

.badge-row {
  gap: 7px;
  margin-bottom: 14px;
}

.badge {
  min-height: 27px;
  padding: 5px 9px;
  font-size: 10.5px;
}

.hero h1 {
  font-size: var(--type-hero);
  line-height: 1;
}

.hero h1::after {
  margin-top: 14px;
}

.hero-lead {
  max-width: 700px;
  margin-top: 14px;
  font-size: clamp(13px, 1.22vw, 15.5px);
  line-height: 1.55;
}

.hero-actions,
.action-row {
  gap: 10px;
  margin-top: 18px;
}

.button {
  min-height: 38px;
  padding: 9px 14px;
  font-size: 12px;
}

.hero-dashboard {
  padding: 14px;
}

.hero-dashboard > div:first-child {
  margin-bottom: 10px;
}

.hero-dashboard span,
.console-header span:last-child {
  font-size: 10.5px;
}

.hero-dashboard strong {
  font-size: 16px;
}

.metric-grid {
  gap: 8px;
}

.metric {
  min-height: 72px;
  padding: 10px;
}

.metric dt {
  font-size: 10.5px;
}

.metric dd {
  margin-top: 6px;
  font-size: 19px;
}

.section {
  padding: 58px 0;
}

.split-section {
  gap: 22px;
}

.section-head {
  margin-bottom: 20px;
}

.section-head h2,
.section-copy h2 {
  font-size: var(--type-section);
  line-height: 1.12;
}

.section-head p:not(.eyebrow),
.section-copy p:not(.eyebrow) {
  margin-top: 10px;
  font-size: var(--type-body);
  line-height: 1.52;
}

.eyebrow {
  margin-bottom: 8px;
  font-size: var(--type-small);
}

.section-head::before,
.section-copy::before {
  width: 38px;
  height: 20px;
  margin-bottom: 11px;
  font-size: 9.5px;
}

.console-header {
  min-height: 44px;
  padding: 0 12px;
}

.console-body {
  gap: 8px;
  padding: 12px;
}

.portal-step {
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  padding: 10px;
}

.step-index,
.card-index {
  width: 28px;
  height: 28px;
  font-size: 11px;
}

.portal-step h3,
.content-card h3,
.timeline-step h3,
.fuel-panel h3,
.ecosystem-card h3 {
  font-size: var(--type-card);
  line-height: 1.25;
}

.portal-step p,
.content-card p,
.timeline-step p,
.fuel-panel p,
.ecosystem-card p {
  margin-top: 7px;
  font-size: 12px;
  line-height: 1.48;
}

.card-grid {
  gap: 12px;
}

.content-card,
.ecosystem-card {
  min-height: 205px;
  padding: 14px;
}

.card-top {
  margin-bottom: 10px;
}

.card-kicker {
  font-size: var(--type-small);
}

.tag-row {
  gap: 6px;
  padding-top: 12px;
}

.tag {
  min-height: 23px;
  padding: 4px 7px;
  font-size: 10.5px;
}

.hardware-layout {
  gap: 14px;
}

.hardware-list {
  gap: 12px;
}

.fuel-panel {
  padding: 14px;
}

.injector-row {
  gap: 6px;
  margin-top: 12px;
}

.injector-row .tag {
  min-height: 27px;
}

.timeline {
  gap: 10px;
}

.timeline-step {
  min-height: 168px;
  padding: 13px;
}

.timeline-step::before {
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  font-size: 11px;
}

.tool-wall {
  gap: 6px;
}

.contact-panel {
  gap: 8px;
  padding: 12px;
}

.contact-link {
  padding: 12px;
}

.contact-link span {
  font-size: var(--type-small);
}

.site-footer {
  padding: 22px 0;
}

.footer-links {
  gap: 9px;
  font-size: 11.5px;
}

.legal-hero {
  padding: 52px 0 30px;
}

.legal-hero h1 {
  font-size: clamp(30px, 4.2vw, 52px);
}

.legal-hero p {
  font-size: 14px;
}

.legal-shell {
  padding: 34px 0 58px;
}

.legal-card {
  padding: clamp(18px, 3vw, 30px);
}

.legal-card h2 {
  margin-top: 24px;
  font-size: 20px;
}

.legal-card h3 {
  font-size: 15.5px;
}

.legal-card p,
.legal-card li {
  font-size: 13px;
  line-height: 1.55;
}

.legal-nav a {
  padding: 8px 9px;
  font-size: 12.5px;
}

@media (max-width: 900px) {
  :root {
    --header-h: 64px;
    --type-hero: clamp(28px, 8.6vw, 41px);
    --type-section: clamp(20px, 5.6vw, 28px);
  }

  html:lang(zh-CN),
  html:lang(zh-TW) {
    --type-hero: clamp(25px, 7.8vw, 34px);
    --type-section: clamp(18px, 5vw, 25px);
    --type-body: 12px;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    font-size: 15px;
  }

  .brand-tag {
    font-size: 8px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 44px 0 32px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-dashboard {
    align-self: auto;
    max-width: none;
  }

  .hero-lead {
    font-size: 12.7px;
  }

  .section {
    padding: 46px 0;
  }

  .card-grid-3,
  .card-grid-4,
  .hardware-list {
    gap: 10px;
  }

  .content-card,
  .ecosystem-card,
  .timeline-step {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .language-select select {
    width: 88px;
    height: 34px;
    font-size: 11px;
  }

  .hero h1 {
    font-size: var(--type-hero);
  }

  .hero-lead {
    font-size: 12.4px;
  }

  .section-head p:not(.eyebrow),
  .section-copy p:not(.eyebrow) {
    font-size: 12px;
  }
}

@media (min-width: 1081px) {
  .section:not(.portal-section):not(.contact-section) > .container,
  .tools-section {
    grid-template-columns: 252px minmax(0, 1fr);
    gap: 28px;
  }

  .section:not(.portal-section):not(.contact-section) .section-head,
  .section:not(.portal-section):not(.contact-section) .section-copy {
    top: calc(var(--header-h) + 22px);
    padding: 12px 16px 12px 0;
  }

  .section:not(.portal-section):not(.contact-section) .section-head h2,
  .section:not(.portal-section):not(.contact-section) .section-copy h2 {
    font-size: clamp(20px, 1.8vw, 27px);
    line-height: 1.12;
  }

  html:lang(zh-CN) .section:not(.portal-section):not(.contact-section) .section-head h2,
  html:lang(zh-CN) .section:not(.portal-section):not(.contact-section) .section-copy h2,
  html:lang(zh-TW) .section:not(.portal-section):not(.contact-section) .section-head h2,
  html:lang(zh-TW) .section:not(.portal-section):not(.contact-section) .section-copy h2 {
    font-size: clamp(19px, 1.55vw, 24px);
    line-height: 1.14;
  }

  .section:not(.portal-section):not(.contact-section) .section-head p:not(.eyebrow),
  .section:not(.portal-section):not(.contact-section) .section-copy p:not(.eyebrow) {
    max-width: 215px;
    font-size: 12px;
    line-height: 1.45;
  }

  .content-card,
  .ecosystem-card {
    min-height: 172px;
    padding: 13px;
  }

  .timeline-step {
    min-height: 148px;
  }

  .hardware-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hardware-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }

  .fuel-panel {
    position: static;
    display: grid;
    grid-template-columns: minmax(150px, 230px) minmax(0, 1fr);
    gap: 8px 16px;
    align-items: center;
    padding: 13px;
  }

  .fuel-panel .eyebrow {
    grid-column: 1;
    margin: 0;
  }

  .fuel-panel h3 {
    grid-column: 1;
    font-size: 13.5px;
  }

  .fuel-panel p {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin: 0;
  }

  .fuel-panel .injector-row {
    grid-column: 1 / -1;
    margin-top: 4px;
  }

  .tools-section .tool-wall {
    align-self: start;
    align-content: flex-start;
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .tool-wall .tag {
    min-height: 25px;
    padding: 4px 8px;
    font-size: 10.5px;
  }

  .card-grid {
    gap: 12px;
  }
}

@media (max-width: 620px) {
  .hero h1 {
    gap: 3px;
    max-width: 100%;
  }

  html:lang(en) .hero h1,
  html:lang(de) .hero h1,
  html:lang(fr) .hero h1,
  html:lang(ko) .hero h1 {
    font-size: clamp(19px, 6vw, 25px);
  }

  html:lang(ja) .hero h1,
  html:lang(ru) .hero h1 {
    font-size: clamp(18px, 5.8vw, 24px);
  }
}

@media (max-width: 360px) {
  .header-inner {
    width: calc(100% - 16px);
    gap: 6px;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
    gap: 6px;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .brand-name {
    font-size: 15px;
  }

  .brand-tag {
    max-width: 84px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 8px;
  }

  .header-tools {
    flex: 0 0 auto;
    gap: 6px;
  }

  .language-select {
    padding: 3px;
  }

  .language-select select {
    width: 74px;
    padding: 0 5px;
    font-size: 11px;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
  }
}

:root {
  --type-hero: clamp(24px, 3.25vw, 39px);
  --type-section: clamp(15px, 1.15vw, 18px);
  --type-card: 11.6px;
  --type-body: 10.6px;
  --type-small: 8.2px;
}

html:lang(zh-CN),
html:lang(zh-TW) {
  --type-hero: clamp(25px, 3.2vw, 39px);
  --type-section: clamp(15.5px, 1.2vw, 18px);
  --type-card: 11.8px;
  --type-body: 10.8px;
  --type-small: 8.2px;
}

.brand-name {
  font-size: clamp(15px, 1.35vw, 21px);
}

.brand-tag {
  font-size: 8.5px;
}

.desktop-nav a,
.mobile-nav a,
.language-select select,
.button {
  font-size: 10.5px;
}

.button {
  min-height: 34px;
  padding: 8px 13px;
}

.badge {
  min-height: 22px;
  padding: 3px 7px;
  font-size: 8.8px;
}

.hero h1 {
  gap: 2px;
  font-size: var(--type-hero);
  line-height: 0.98;
}

html:lang(zh-CN) .hero h1,
html:lang(zh-TW) .hero h1 {
  font-size: clamp(25px, 3.2vw, 39px);
}

.hero-lead {
  max-width: 620px;
  font-size: clamp(10.8px, 0.9vw, 12.4px);
  line-height: 1.46;
}

.hero-dashboard {
  padding: 12px;
}

.hero-dashboard strong {
  font-size: 12.3px;
  line-height: 1.25;
}

.hero-dashboard span,
.console-header span:last-child,
.metric dt,
.contact-link span {
  font-size: 8.8px;
}

.metric {
  min-height: 64px;
  padding: 9px;
}

.metric dd {
  margin-top: 4px;
  font-size: 14.5px;
  line-height: 1.32;
}

.section-head h2,
.section-copy h2 {
  font-size: var(--type-section);
  line-height: 1.12;
}

.section-head p:not(.eyebrow),
.section-copy p:not(.eyebrow) {
  font-size: var(--type-body);
  line-height: 1.43;
}

.eyebrow,
.section-head::before,
.section-copy::before,
.card-kicker {
  font-size: var(--type-small);
}

.content-card,
.ecosystem-card,
.timeline-step {
  padding: 12px;
}

.portal-step h3,
.content-card h3,
.timeline-step h3,
.fuel-panel h3,
.ecosystem-card h3 {
  font-size: var(--type-card);
}

.portal-step p,
.content-card p,
.timeline-step p,
.fuel-panel p,
.ecosystem-card p {
  font-size: var(--type-body);
  line-height: 1.43;
}

.step-index,
.card-index {
  width: 26px;
  height: 26px;
  font-size: 10px;
}

.tag {
  min-height: 20px;
  padding: 3px 7px;
  font-size: 8.8px;
}

.fuel-panel h3 {
  font-size: 12.2px;
}

.contact-link {
  padding: 13px;
}

.contact-link strong {
  font-size: 12px;
}

.footer-inner,
.footer-links,
.footer-inner p,
.legal-card p,
.legal-card li,
.legal-nav a {
  font-size: 11.5px;
}

.legal-hero h1 {
  font-size: clamp(24px, 3.2vw, 38px);
}

.legal-hero p {
  font-size: 12px;
}

.legal-card h2 {
  font-size: 16px;
}

.legal-card h3 {
  font-size: 13px;
}

@media (min-width: 1081px) {
  .section:not(.portal-section):not(.contact-section) .section-head h2,
  .section:not(.portal-section):not(.contact-section) .section-copy h2 {
    font-size: clamp(15.5px, 1.18vw, 18.5px);
  }

  html:lang(zh-CN) .section:not(.portal-section):not(.contact-section) .section-head h2,
  html:lang(zh-CN) .section:not(.portal-section):not(.contact-section) .section-copy h2,
  html:lang(zh-TW) .section:not(.portal-section):not(.contact-section) .section-head h2,
  html:lang(zh-TW) .section:not(.portal-section):not(.contact-section) .section-copy h2 {
    font-size: clamp(15.5px, 1.12vw, 18px);
  }

  .section:not(.portal-section):not(.contact-section) .section-head p:not(.eyebrow),
  .section:not(.portal-section):not(.contact-section) .section-copy p:not(.eyebrow) {
    font-size: 10.2px;
  }

  .content-card,
  .ecosystem-card {
    min-height: 142px;
  }

  .timeline-step {
    min-height: 118px;
  }
}

@media (max-width: 620px) {
  :root {
    --type-hero: clamp(22px, 6.4vw, 28px);
    --type-section: clamp(16px, 4.2vw, 21px);
    --type-body: 10.8px;
  }

  .hero-lead {
    font-size: 10.9px;
  }

  .button {
    min-height: 38px;
    font-size: 10.8px;
  }

  .content-card h3,
  .ecosystem-card h3,
  .timeline-step h3,
  .fuel-panel h3 {
    font-size: 11.4px;
  }

  html:lang(en) .hero h1,
  html:lang(de) .hero h1,
  html:lang(fr) .hero h1,
  html:lang(ko) .hero h1,
  html:lang(pl) .hero h1 {
    font-size: clamp(17.5px, 5.2vw, 22px);
  }

  html:lang(ja) .hero h1,
  html:lang(ru) .hero h1 {
    font-size: clamp(16.5px, 5vw, 21px);
  }

  html:lang(zh-CN) .hero h1,
  html:lang(zh-TW) .hero h1 {
    font-size: clamp(23px, 6.3vw, 25px);
  }
}

.section-head h2,
.section-copy h2 {
  white-space: pre-line;
}

.desktop-nav a {
  font-size: 12px;
}

.portal-section .action-row .button-primary {
  border-color: rgba(239, 35, 60, 0.62);
  background:
    linear-gradient(135deg, rgba(124, 14, 26, 0.98), rgba(193, 18, 31, 0.98) 62%, rgba(239, 35, 60, 0.98));
  color: #fff;
  box-shadow: 0 16px 36px rgba(193, 18, 31, 0.26);
}

.contact-link {
  position: relative;
  min-height: 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  align-items: center;
  padding: 12px 16px;
  border-color: rgba(239, 35, 60, 0.58);
  background:
    linear-gradient(135deg, rgba(124, 14, 26, 0.96), rgba(193, 18, 31, 0.94) 62%, rgba(239, 35, 60, 0.92));
  color: #fff;
  box-shadow: 0 18px 42px rgba(193, 18, 31, 0.24);
}

.contact-link::after {
  content: ">";
  grid-column: 2;
  grid-row: 1 / span 2;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  font-weight: 900;
}

.contact-link span,
.contact-section .contact-link span {
  color: rgba(255, 255, 255, 0.72);
}

.contact-link strong,
.contact-section .contact-link strong {
  color: #fff;
  font-size: 12px;
}

.contact-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.22);
}

@media (max-width: 620px) {
  .desktop-nav a {
    font-size: 11px;
  }

  .contact-link {
    min-height: 52px;
    padding: 11px 14px;
  }
}
