/* OD-LAYOUT-PRIMITIVES v1 — structure only: display, flex/grid, overflow, wrapping, ratio, geometry.
   Put this @layer first; product CSS outside the layer wins ordinary layout rules.
   Native hidden and closed-dialog states take precedence over component display rules. */
@layer od-layout {
  [hidden]:not([hidden='until-found' i]) {
    display: none !important;
  }
  dialog:not([open]) {
    display: none !important;
  }

  :where(
      .od-stack,
      .od-row,
      .od-row-top,
      .od-cluster,
      .od-grid,
      .od-field,
      .od-stat,
      .od-cell,
      .od-tile
    )
    > :where(*) {
    min-width: 0;
  }

  /* containers */
  .od-stack {
    display: flex;
    flex-direction: column;
    gap: var(--od-gap, 8px);
  }
  .od-row {
    display: flex;
    align-items: center;
    gap: var(--od-gap, 8px);
  }
  .od-row-top {
    display: flex;
    align-items: flex-start;
    gap: var(--od-gap, 8px);
  }
  .od-cluster {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--od-gap, 8px);
  }
  .od-fill {
    flex: 1 1 0;
    min-width: 0;
  }
  .od-fixed {
    flex: none;
  }
  .od-grid {
    display: grid;
    gap: var(--od-gap, 12px);
    grid-template-columns: repeat(var(--od-cols, 3), minmax(0, 1fr));
  }

  /* stacked information: each piece is its own line — never sibling inline spans */
  .od-stat,
  .od-field,
  .od-cell {
    display: grid;
    gap: var(--od-gap, 2px);
  }
  :where(.od-stat, .od-field, .od-cell) > :where(*) {
    display: block;
  }
  .od-tile {
    display: grid;
    grid-template-rows: auto 1fr;
  }
  :where(.od-tile) > :where(*) {
    display: block;
  }

  /* media keeps its intrinsic ratio by default; never a distorted or cropped
     cover by accident. height:auto lets the ratio win over an <img height="…">
     attribute. Cropping to a uniform box is an explicit opt-in: set --od-ratio
     AND add .od-media-cover together (per the core rule, only where a crop is
     deliberate — tile thumbs, decorative fills — never on full-frame content). */
  .od-media {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: var(--od-ratio, auto);
  }
  .od-media-cover {
    object-fit: cover;
  }

  /* functional inline SVG icons opt into bounded geometry; content SVGs keep their own */
  .od-icon {
    display: inline-block;
    inline-size: var(--od-icon-size, 1em);
    block-size: var(--od-icon-size, 1em);
    flex: none;
  }

  /* data text only — authored copy is rewritten to its budget instead */
  .od-truncate {
    display: block;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .od-clamp-2,
  .od-clamp-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
  }
  .od-clamp-2 {
    -webkit-line-clamp: 2;
  }
  .od-clamp-3 {
    -webkit-line-clamp: 3;
  }
  .od-lines-2 {
    min-height: calc(2 * 1.4em);
  } /* block-level reservation for a shared baseline */
  .od-nowrap {
    white-space: nowrap;
  } /* 数字+单位 · 价格+起 · 日期+星期 */
  .od-keep {
    word-break: keep-all;
    overflow-wrap: anywhere;
  } /* CJK labels break at spaces / <wbr> first */

  /* screen skeleton (optional): bars take their own space, the middle scrolls — no padding guessed for chrome */
  .od-screen {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    height: 100%;
  }
  .od-scroll {
    overflow-y: auto;
    overscroll-behavior: contain;
    min-height: 0;
  }

  /* horizontal rail: the next item peeks at the edge; trailing room survives overflow */
  .od-rail {
    display: flex;
    gap: var(--od-gap, 8px);
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    padding-inline: var(--od-rail-pad, 16px);
    scroll-padding-inline: var(--od-rail-pad, 16px);
  }
  .od-rail::-webkit-scrollbar {
    display: none;
  }
  :where(.od-rail) > :where(*) {
    flex: none;
    scroll-snap-align: start;
  }
  :where(.od-rail) > :where(:last-child) {
    margin-inline-end: var(--od-rail-pad, 16px);
  }

  .od-spacer {
    flex: none;
    visibility: hidden;
    pointer-events: none;
  }
  .od-touch {
    min-width: 44px;
    min-height: 44px;
  }
}
:root [hidden]:where(:not([hidden='until-found' i])) {
  display: none;
}
/* /OD-LAYOUT-PRIMITIVES v1 */

/* ==========================================================================
   数贸融科技 · 品牌官网
   Palette: #ffffff #111111 #1677ff #f7f8fa #6b7280 #d9dee7
   ========================================================================== */

:root {
  --black: #111111;
  --white: #ffffff;
  --paper: #f7f8fa;
  --accent: #1677ff;
  --muted: #6b7280; /* registered token; body-on-light use only */
  --muted-text: rgba(217, 222, 231, 0.68);
  --border: #d9dee7;

  --bg: var(--black);
  --text: var(--white);
  --text-soft: var(--border);
  --text-dim: rgba(217, 222, 231, 0.78);
  --hairline: rgba(217, 222, 231, 0.14);
  --surface: rgba(255, 255, 255, 0.035);
  --surface-strong: rgba(255, 255, 255, 0.06);
  --accent-soft: rgba(22, 119, 255, 0.14);

  --font:
    'Inter', system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', Arial,
    'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;

  --radius: 8px;
  --radius-lg: 8px;
  --shell: 1200px;
  --gutter: 32px;
  --section-y: 128px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.55, 0, 1, 0.45);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

[hidden]:not([hidden='until-found' i]) {
  display: none !important;
}
dialog:not([open]) {
  display: none !important;
}

h1,
h2,
h3,
h4,
p,
dl,
dd,
figure {
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
}
img,
svg {
  display: block;
  max-width: 100%;
}

::selection {
  background: var(--accent);
  color: var(--white);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.od-icon {
  display: inline-block;
  inline-size: var(--od-icon-size, 1em);
  block-size: var(--od-icon-size, 1em);
  flex: none;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius);
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease-out);
}
.skip-link:focus-visible {
  transform: translateY(0);
}

/* ---------- ambient cursor glow ---------- */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 520px;
  height: 520px;
  margin: -260px 0 0 -260px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(22, 119, 255, 0.16),
    transparent 62%
  );
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  will-change: transform;
}
.cursor-glow.is-on {
  opacity: 1;
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(17, 17, 17, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--hairline);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 84px;
  transition: height 0.3s var(--ease-out);
}
.site-header.is-stuck .header-inner {
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
}
.brand-logo {
  display: block;
  width: auto;
  height: 44px;
}
.brand-logo-lg {
  height: 54px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  position: relative;
  padding: 10px 14px;
  font-size: 15px;
  color: var(--text-soft);
  border-radius: var(--radius);
  transition:
    color 0.2s ease,
    background 0.2s ease;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}
.main-nav a:hover {
  color: var(--white);
}
.main-nav a:hover::after,
.main-nav a.is-current::after {
  transform: scaleX(1);
}
.main-nav a.is-current {
  color: var(--white);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.scroll-meter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: transparent;
}
.scroll-meter span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, transparent, var(--accent));
}

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition:
    transform 0.2s var(--ease-out),
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 8px 30px -12px rgba(22, 119, 255, 0.9);
}
.btn-primary:hover {
  background: var(--accent);
  box-shadow:
    0 0 0 3px rgba(22, 119, 255, 0.22),
    0 14px 38px -12px rgba(22, 119, 255, 0.95);
}
.btn-primary:disabled {
  background: rgba(22, 119, 255, 0.28);
  color: rgba(17, 17, 17, 0.6);
  cursor: wait;
  box-shadow: none;
  transform: none;
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--hairline);
}
.btn-ghost:hover {
  border-color: var(--text-dim);
  background: var(--surface);
}

.btn-sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 14px;
}
.btn-block {
  width: 100%;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 148px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(to right, rgba(217, 222, 231, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(217, 222, 231, 0.055) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(
    ellipse 90% 70% at 50% 40%,
    #111111 25%,
    transparent 78%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 90% 70% at 50% 40%,
    #111111 25%,
    transparent 78%
  );
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.75;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
  padding-bottom: 84px;
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(22, 119, 255, 0.6);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(22, 119, 255, 0.55);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(22, 119, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(22, 119, 255, 0);
  }
}

.hero-title {
  margin: 24px 0 24px;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hero-title .line {
  display: block;
  overflow: hidden;
}
.hero-title .line > span {
  display: block;
  transform: translateY(108%);
  animation: rise 0.9s var(--ease-out) forwards;
}
.hero-title .line:nth-child(2) > span {
  animation-delay: 0.12s;
}
.hero-title .line:nth-child(2) {
  color: var(--text-soft);
}
@keyframes rise {
  to {
    transform: translateY(0);
  }
}

.hero-lead {
  max-width: 30em;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-dim);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
  max-width: 480px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-num {
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 13px;
  color: var(--muted-text);
  letter-spacing: 0.04em;
}

/* hero visual */
.hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.orbit-stage {
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.orbit {
  position: absolute;
  inset: 0;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  animation: spin 26s linear infinite;
}
.orbit-a {
  inset: 6%;
}
.orbit-b {
  inset: 21%;
  animation-duration: 34s;
  animation-direction: reverse;
  border-style: dashed;
}
.orbit-c {
  inset: 35%;
  animation-duration: 18s;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.orbit-node {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(22, 119, 255, 0.9);
}
.orbit-node.n1 {
  top: -4px;
  left: 50%;
}
.orbit-node.n2 {
  bottom: 12%;
  left: 8%;
  background: var(--white);
  box-shadow: none;
  width: 6px;
  height: 6px;
}
.orbit-node.n3 {
  top: 18%;
  right: -4px;
}
.orbit-node.n4 {
  bottom: -4px;
  left: 46%;
  background: var(--white);
  box-shadow: none;
  width: 6px;
  height: 6px;
}
.orbit-node.n5 {
  top: 30%;
  left: -4px;
}

.core {
  position: relative;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(
    circle at 30% 25%,
    rgba(22, 119, 255, 0.34),
    rgba(17, 17, 17, 0.9) 70%
  );
  border: 1px solid rgba(22, 119, 255, 0.55);
  box-shadow:
    0 0 70px -10px rgba(22, 119, 255, 0.55),
    inset 0 0 40px rgba(22, 119, 255, 0.2);
}
.core-ring {
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 1px solid rgba(22, 119, 255, 0.25);
  animation: ringPulse 3.6s ease-out infinite;
}
@keyframes ringPulse {
  0% {
    transform: scale(0.94);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.22);
    opacity: 0;
  }
}
.core-label {
  position: absolute;
  bottom: -46px;
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--muted-text);
}

.terminal {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(330px, 88%);
  background: rgba(17, 17, 17, 0.92);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  backdrop-filter: blur(6px);
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--hairline);
}
.terminal-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(217, 222, 231, 0.25);
}
.terminal-bar span:first-child {
  background: var(--accent);
}
.terminal-bar em {
  margin-left: auto;
  font-style: normal;
  font-size: 11px;
  color: var(--muted-text);
  letter-spacing: 0.08em;
}
.terminal pre {
  margin: 0;
  padding: 14px 16px 16px;
}
.terminal code {
  font-family: 'SFMono-Regular', ui-monospace, Menlo, Consolas, monospace;
  font-size: 11.5px;
  line-height: 1.9;
  color: var(--text-soft);
  white-space: pre-wrap;
}
.t-dim {
  color: var(--muted-text);
}
.t-ok {
  color: var(--accent);
}
.t-accent {
  color: var(--white);
}
.caret {
  display: inline-block;
  width: 7px;
  height: 12px;
  margin-left: 3px;
  background: var(--accent);
  vertical-align: -1px;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}

.float-chip {
  position: absolute;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: rgba(17, 17, 17, 0.85);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-soft);
  backdrop-filter: blur(4px);
  animation: float 6s ease-in-out infinite;
}
.chip-top {
  top: 3%;
  right: 40%;
}
.chip-middle {
  top: 30%;
  right: -6%;
}
.chip-bottom {
  top: 46%;
  left: -6%;
  animation-delay: -2.4s;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

.marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 15px 0;
  background: rgba(255, 255, 255, 0.02);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee-track span {
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  white-space: nowrap;
}
.marquee-track i {
  color: var(--accent);
  font-style: normal;
  font-size: 8px;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- sections ---------- */
.section {
  position: relative;
  padding-block: var(--section-y);
}
.section-head {
  max-width: 680px;
  margin-bottom: 64px;
}
.section-title {
  margin: 18px 0 20px;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.section-lead {
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--text-dim);
  max-width: 34em;
}

/* ---------- services ---------- */
.services {
  border-top: 1px solid var(--hairline);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.045),
    rgba(255, 255, 255, 0.012)
  );
  overflow: hidden;
  transition:
    border-color 0.3s ease,
    transform 0.4s var(--ease-out);
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    340px circle at var(--mx, 50%) var(--my, 0%),
    rgba(22, 119, 255, 0.14),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.service-card:hover {
  border-color: rgba(22, 119, 255, 0.4);
  transform: translateY(-3px);
}
.service-card:hover::before {
  opacity: 1;
}

.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.service-index {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--muted-text);
}
.service-icon {
  color: var(--accent);
}
.service-card h3 {
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.service-desc {
  margin-top: 12px;
  color: var(--text-dim);
  font-size: 15.5px;
  line-height: 1.75;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}
.tag-list li {
  padding: 6px 12px;
  font-size: 12.5px;
  color: var(--text-soft);
  border: 1px solid var(--hairline);
  border-radius: 999px;
}
.service-flow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
  font-size: 12.5px;
  color: var(--muted-text);
  letter-spacing: 0.05em;
}
.service-flow i {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--hairline), rgba(22, 119, 255, 0.45));
}

.capability-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
  padding: 20px 24px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.cap-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--text-soft);
}
.cap-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

/* ---------- products ---------- */
.products {
  border-top: 1px solid var(--hairline);
  background: radial-gradient(
    ellipse 80% 50% at 50% 0%,
    rgba(22, 119, 255, 0.08),
    transparent 70%
  );
}

.product-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.filter-group {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--surface);
}
.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-dim);
  font-size: 13.5px;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}
.filter-btn span {
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(217, 222, 231, 0.12);
  color: inherit;
}
.filter-btn:hover {
  color: var(--white);
}
.filter-btn.is-active {
  background: var(--white);
  color: var(--black);
}
.filter-btn.is-active span {
  background: rgba(17, 17, 17, 0.1);
}
.toolbar-note {
  font-size: 13px;
  color: var(--muted-text);
  letter-spacing: 0.04em;
}

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

.product-card {
  position: relative;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 0;
  padding: 0;
  text-align: left;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  cursor: pointer;
  transition:
    border-color 0.3s ease,
    transform 0.35s var(--ease-out),
    background 0.3s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(22, 119, 255, 0.45);
  background: var(--surface-strong);
}
.product-card:focus-visible {
  outline-offset: 4px;
}
.product-card.is-hiding {
  display: none;
}

.product-media {
  display: flex;
  position: relative;
  padding: 24px 0 24px 24px;
  align-items: center;
  justify-content: center;
  min-height: 0;
}
.product-media-dark {
  background: rgba(22, 119, 255, 0.05);
}

.media-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 3px 8px;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--text-soft);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  background: rgba(17, 17, 17, 0.7);
}

.shot-thumb {
  position: relative;
  display: block;
  width: 100%;
  max-width: 164px;
  aspect-ratio: 9 / 16;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 30px -18px rgba(0, 0, 0, 0.8);
  transition: transform 0.4s var(--ease-out);
}
.shot-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.shot-thumb-landscape {
  max-width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  background: var(--black);
}
.shot-thumb-landscape img {
  object-fit: contain;
  object-position: center;
}
.product-card:hover .shot-thumb {
  transform: translateY(-3px) scale(1.02);
}

.product-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 26px 24px 22px;
  min-width: 0;
}
.product-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  text-transform: uppercase;
}
.dot-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(22, 119, 255, 0.9);
}
.product-name {
  display: block;
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.product-desc {
  display: block;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dim);
}
.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}
.product-link .arrow {
  transition: transform 0.25s var(--ease-out);
  --od-icon-size: 15px;
}
.product-card:hover .product-link .arrow {
  transform: translateX(4px);
}

.empty-state {
  padding: 48px;
  text-align: center;
  color: var(--muted-text);
  border: 1px dashed var(--hairline);
  border-radius: var(--radius-lg);
}

/* ---------- process ---------- */
.process {
  border-top: 1px solid var(--hairline);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  padding-top: 8px;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  height: 1px;
  background: var(--hairline);
}
.timeline::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 6px;
  height: 1px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), rgba(22, 119, 255, 0.2));
  transition: width 1.4s var(--ease-out) 0.15s;
}
.timeline.is-in::after {
  width: calc(100% - 12px);
}

.timeline-item {
  position: relative;
  padding-top: 34px;
}
.tl-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid rgba(217, 222, 231, 0.4);
  background: var(--black);
  transition:
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}
.timeline-item.is-visible .tl-dot {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(22, 119, 255, 0.15);
}
.tl-step {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted-text);
}
.timeline-item h3 {
  margin: 8px 0 8px;
  font-size: 18px;
  font-weight: 600;
}
.timeline-item p {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-dim);
}
.tl-output {
  display: inline-block;
  margin-top: 14px;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--accent);
}

/* ---------- about ---------- */
.about {
  border-top: 1px solid var(--hairline);
  background: radial-gradient(
    ellipse 70% 60% at 15% 40%,
    rgba(22, 119, 255, 0.07),
    transparent 65%
  );
}
.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: start;
}
.about-copy .btn {
  margin-top: 30px;
}
.about-copy .section-title {
  margin-bottom: 22px;
}
.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--hairline);
}
.pillar {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 4px 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--hairline);
  transition: padding-left 0.3s var(--ease-out);
}
.pillar:hover {
  padding-left: 8px;
}
.pillar-num {
  grid-row: span 2;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent);
  padding-top: 5px;
}
.pillar h3 {
  font-size: 18px;
  font-weight: 600;
}
.pillar p {
  grid-column: 2;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-dim);
}

/* ---------- contact ---------- */
.contact {
  border-top: 1px solid var(--hairline);
  background: linear-gradient(180deg, transparent, rgba(22, 119, 255, 0.05));
}
.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 72px;
  align-items: start;
}
.contact-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--hairline);
}
.contact-list li {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 14.5px;
}
.contact-label {
  color: var(--muted-text);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  padding-top: 2px;
}
.contact-list a {
  color: var(--white);
  border-bottom: 1px solid var(--hairline);
  transition:
    border-color 0.2s ease,
    color 0.2s ease;
}
.contact-list a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 42px 34px 36px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
}
.qr-panel {
  display: grid;
  gap: 14px;
  justify-items: center;
}
.qr-img {
  width: 220px;
  height: 220px;
  padding: 8px;
  border-radius: 16px;
  background: var(--white);
}
.qr-caption {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-soft);
  letter-spacing: 0.06em;
}
.contact-card-note {
  font-size: 12.5px;
  color: var(--muted-text);
  line-height: 1.8;
  max-width: 26em;
}
.contact-card .btn {
  margin-top: 4px;
}
/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--hairline);
  padding-top: 64px;
  background: rgba(255, 255, 255, 0.015);
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 48px;
  padding-bottom: 56px;
}
.footer-brand p {
  margin-top: 18px;
  max-width: 26em;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-dim);
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.footer-nav h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--muted-text);
  margin-bottom: 16px;
}
.footer-nav a {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  color: var(--text-soft);
  transition: color 0.2s ease;
}
.footer-nav a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 22px;
  border-top: 1px solid var(--hairline);
  font-size: 12.5px;
  color: var(--muted-text);
  letter-spacing: 0.02em;
}
.footer-legal {
  color: inherit;
  transition: color 0.2s ease;
}
.footer-legal:hover {
  color: var(--accent);
}

/* ---------- product dialog ---------- */
.product-dialog {
  width: min(880px, calc(100vw - 32px));
  max-height: min(86vh, 720px);
  padding: 0;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--black);
  color: var(--text);
  overflow: hidden;
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 1);
}
.product-dialog[open] {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
}
.product-dialog::backdrop {
  background: rgba(17, 17, 17, 0.72);
  backdrop-filter: blur(6px);
}
.product-dialog[open] {
  animation: dialogIn 0.32s var(--ease-out);
}
@keyframes dialogIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
}

.dialog-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  min-height: 0;
  height: 100%;
}
.dialog-media {
  position: relative;
  display: grid;
  place-items: center;
  padding: 40px 20px;
  background:
    radial-gradient(
      ellipse at 50% 35%,
      rgba(22, 119, 255, 0.18),
      transparent 65%
    ),
    rgba(255, 255, 255, 0.02);
  border-right: 1px solid var(--hairline);
  overflow: hidden;
}
.shot-frame {
  position: relative;
  border-radius: 18px;
  background: var(--black);
  box-shadow: 0 24px 60px -26px rgba(0, 0, 0, 0.9);
  overflow: hidden;
}
.shot-frame-portrait {
  width: auto;
  max-width: 100%;
  height: min(420px, 62vh);
  aspect-ratio: 1179 / 2556;
  border: 5px solid rgba(217, 222, 231, 0.16);
  border-radius: 26px;
}
.shot-frame-landscape {
  width: 100%;
  height: auto;
  aspect-ratio: 2556 / 1179;
  border: 4px solid rgba(217, 222, 231, 0.16);
  border-radius: 12px;
}
.shot-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 横屏产品：弹层改为上下布局，截图整幅置于顶部 */
.product-dialog.is-landscape {
  width: min(1000px, calc(100vw - 32px));
  max-height: min(92vh, 900px);
  overflow-y: auto;
}
.product-dialog.is-landscape .dialog-panel {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
  height: auto;
  min-height: 0;
}
.product-dialog.is-landscape .dialog-media {
  border-right: 0;
  border-bottom: 1px solid var(--hairline);
  padding: 32px 32px 24px;
}
.product-dialog.is-landscape .shot-frame-landscape {
  width: min(760px, 100%);
  margin-inline: auto;
}
.product-dialog.is-landscape .dialog-body {
  max-height: none;
  padding: 30px 32px 34px;
}
.product-dialog.is-landscape .dialog-body h2 {
  margin-bottom: 10px;
}
.product-dialog.is-landscape .dialog-meta {
  margin: 20px 0;
}
.product-dialog.is-landscape .dialog-sub {
  margin-top: 20px;
}

.dialog-body {
  padding: 40px 36px;
  overflow-y: auto;
  max-height: 100%;
}
.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.8);
  color: var(--text-soft);
  cursor: pointer;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
  --od-icon-size: 18px;
}
.dialog-close:hover {
  color: var(--white);
  border-color: var(--text-dim);
  transform: rotate(90deg);
}

.dialog-kicker {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.dialog-body h2 {
  margin: 10px 0 14px;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.dialog-intro {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-dim);
}
.dialog-sub {
  margin: 26px 0 12px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted-text);
  font-weight: 600;
}
.dialog-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dialog-points li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-soft);
}
.dialog-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--accent);
}
.dialog-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 26px 0;
  padding: 18px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.dialog-meta dt {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--muted-text);
  margin-bottom: 4px;
}
.dialog-meta dd {
  font-size: 14.5px;
  color: var(--white);
}

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  :root {
    --section-y: 100px;
  }
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .hero-visual {
    min-height: 440px;
    max-width: 620px;
    width: 100%;
  }
  .hero-copy {
    max-width: 720px;
  }
  .service-grid,
  .product-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .product-card {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .capability-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 16px;
  }
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 20px;
  }
  .timeline::before,
  .timeline::after {
    display: none;
  }
  .timeline-item {
    padding-top: 28px;
  }
  .about-inner,
  .contact-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }
  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 860px) {
  :root {
    --gutter: 24px;
    --section-y: 84px;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0 10px;
    border: 1px solid var(--hairline);
    border-radius: var(--radius);
    background: transparent;
    cursor: pointer;
  }
  .nav-toggle span {
    display: block;
    height: 1.5px;
    background: var(--white);
    transition:
      transform 0.25s var(--ease-out),
      opacity 0.2s ease;
  }
  .nav-toggle[aria-expanded='true'] span:first-child {
    transform: translateY(3.25px) rotate(45deg);
  }
  .nav-toggle[aria-expanded='true'] span:last-child {
    transform: translateY(-3.25px) rotate(-45deg);
  }

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    max-height: 100vh;
    overflow-y: auto;
    padding: 104px 24px 32px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: rgba(17, 17, 17, 0.98);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--hairline);
    transform: translateY(-102%);
    transition: transform 0.38s var(--ease-out);
    visibility: hidden;
  }
  .main-nav.is-open {
    transform: translateY(0);
    visibility: visible;
  }
  .main-nav a {
    padding: 16px 8px;
    font-size: 20px;
    border-bottom: 1px solid var(--hairline);
    border-radius: 0;
    color: var(--white);
  }
  .main-nav a::after {
    display: none;
  }
  .header-actions .btn-primary {
    display: none;
  }
  .header-inner {
    position: relative;
    z-index: 2;
  }
  .main-nav {
    z-index: 1;
  }
}

@media (min-width: 861px) {
  .nav-toggle {
    display: none;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 20px;
    --section-y: 68px;
  }

  .header-inner {
    height: 72px;
  }
  .brand-logo {
    height: 36px;
  }
  .brand-logo-lg {
    height: 46px;
  }

  .hero {
    padding-top: 118px;
  }
  .hero-inner {
    padding-bottom: 56px;
  }
  .hero-title {
    margin: 18px 0 20px;
    gap: 10px;
  }
  .hero-lead {
    font-size: 15.5px;
  }
  .hero-actions {
    gap: 10px;
    margin-top: 28px;
  }
  .hero-actions .btn {
    flex: 1 1 100%;
  }
  .hero-stats {
    margin-top: 40px;
    gap: 10px;
  }
  .stat-num {
    font-size: 30px;
  }
  .stat-label {
    font-size: 11.5px;
  }

  .hero-visual {
    min-height: 400px;
  }
  .orbit-stage {
    width: min(300px, 100%);
  }
  .terminal {
    width: 88%;
    right: -2%;
    bottom: -6px;
  }
  .terminal code {
    font-size: 10px;
  }
  .float-chip {
    font-size: 10.5px;
    padding: 5px 10px;
  }
  .chip-top {
    top: 6px;
    right: 2%;
  }
  .chip-bottom {
    top: 42%;
    left: 0;
  }
  .marquee {
    padding: 11px 0;
  }
  .marquee-track span {
    font-size: 11.5px;
  }

  .section-head {
    margin-bottom: 40px;
  }
  .section-title {
    font-size: 28px;
  }
  .section-lead {
    font-size: 15px;
  }

  .service-card {
    padding: 26px 22px;
  }
  .service-card h3 {
    font-size: 22px;
  }
  .capability-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 18px;
  }
  .cap-item {
    font-size: 12px;
  }

  .product-toolbar {
    margin-bottom: 20px;
    gap: 10px;
  }
  .filter-btn {
    padding: 0 12px;
    font-size: 12.5px;
    min-height: 34px;
  }
  .toolbar-note {
    display: none;
  }
  .product-card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
  }
  .product-media {
    padding: 26px 0;
    border-bottom: 1px solid var(--hairline);
  }
  .product-media-dark {
    border-bottom-color: var(--hairline);
  }
  .shot-thumb {
    max-width: 150px;
  }
  .shot-thumb-landscape {
    max-width: 100%;
  }
  .product-body {
    padding: 20px 20px 22px;
  }
  .product-name {
    font-size: 19px;
  }

  .timeline {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .timeline-item {
    padding: 24px 0 24px 28px;
    border-left: 1px solid var(--hairline);
    margin-left: 6px;
  }
  .timeline-item:last-child {
    border-left-color: transparent;
  }
  .tl-dot {
    left: -7px;
    top: 26px;
  }
  .timeline-item.is-visible .tl-dot {
    box-shadow: 0 0 0 4px rgba(22, 119, 255, 0.15);
  }

  .about-inner {
    gap: 32px;
  }
  .pillar {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 4px 14px;
    padding: 22px 0;
  }
  .pillar h3 {
    font-size: 16.5px;
  }

  .contact-list li {
    grid-template-columns: 72px minmax(0, 1fr);
    font-size: 14px;
  }

  .footer-inner {
    gap: 32px;
    padding-bottom: 36px;
  }
  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .footer-nav > div:last-child {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    font-size: 11.5px;
  }

  .product-dialog {
    max-height: 92vh;
    overflow-y: auto;
  }
  .product-dialog[open] {
    display: block;
  }
  .dialog-panel {
    display: block;
    max-height: none;
  }
  .dialog-media {
    padding: 34px 20px 28px;
    border-right: 0;
    border-bottom: 1px solid var(--hairline);
  }
  .shot-frame-portrait {
    height: min(360px, 46vh);
  }
  .shot-frame-landscape {
    width: 100%;
  }
  .dialog-body {
    padding: 26px 22px 30px;
    overflow: visible;
    max-height: none;
  }
  .dialog-body h2 {
    font-size: 24px;
  }
  .dialog-close {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    background: rgba(17, 17, 17, 0.92);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .hero-title .line > span {
    transform: none;
  }
  .timeline::after {
    width: calc(100% - 12px);
  }
  .cursor-glow {
    display: none;
  }
}
