:root {
  --bg: #071019;
  --bg-deep: #04090e;
  --surface: #0d1923;
  --surface-soft: #111f2a;
  --text: #f4f7f8;
  --muted: #91a0aa;
  --muted-light: #bdc7cd;
  --accent: #ffb24a;
  --accent-bright: #ffc46d;
  --cyan: #61d9d0;
  --line: rgba(255, 255, 255, .12);
  --dark-text: #0c151d;
  --container: 1180px;
  --font-display: "Avenir Next", "DIN Alternate", "PingFang SC", sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

body.menu-open { overflow: hidden; }

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

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

button, input, textarea { font: inherit; }

button { color: inherit; }

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

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

.section { padding: 132px 0; }

.skip-link {
  position: fixed;
  z-index: 999;
  left: 20px;
  top: -80px;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--dark-text);
  transition: top .2s;
}

.skip-link:focus { top: 20px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-kicker,
.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font: 600 .73rem/1 var(--font-display);
  letter-spacing: .22em;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.35rem, 4.5vw, 4.5rem);
  line-height: 1.14;
  letter-spacing: -.045em;
}

.section-heading > p:last-child {
  max-width: 620px;
  margin: 25px 0 0;
  color: var(--muted-light);
}

.section-heading.centered { text-align: center; }
.section-heading.centered > p:last-child { margin-inline: auto; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 25px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform .25s, background-color .25s, border-color .25s, color .25s;
}

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

.button:focus-visible,
a:focus-visible,
button:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 4px; }

.button-primary { background: var(--accent); color: var(--dark-text); }
.button-primary:hover { background: var(--accent-bright); }
.button-ghost { border-color: rgba(255,255,255,.28); background: rgba(7,16,25,.18); backdrop-filter: blur(8px); }
.button-ghost:hover { border-color: rgba(255,255,255,.65); background: rgba(255,255,255,.08); }
.button-light { background: var(--text); color: var(--dark-text); }
.button-light:hover { background: var(--accent); }

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .75s ease, transform .75s ease;
}

.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
