/* ============================================================
   INSTANT — design tokens, reset & primitives
   ============================================================ */
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0a0e16;
  --ink-2: #101725;
  --ink-3: #172132;
  --paper: #f0f1ee;
  --paper-2: #e7e9e5;
  --white: #ffffff;
  --text: #10151d;
  --muted: #47505c;
  --muted-2: #58616d;
  --dark-muted: #aab4c2;
  --line: rgba(16, 21, 29, 0.12);
  --line-strong: rgba(16, 21, 29, 0.22);
  --line-dark: rgba(255, 255, 255, 0.1);
  --orange: #ff5a1f;
  --orange-2: #ff7a3c;
  --orange-ink: #c23a0a;
  --amber: #ffc978;
  --blue: #6ec4ff;
  --green: #3ddc97;
  --font-display: "Space Grotesk", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SFMono-Regular", "JetBrains Mono", "Roboto Mono", Menlo,
    Consolas, monospace;
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 12px;
  --radius-sm: 8px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --shadow: 0 30px 80px -40px rgba(6, 10, 18, 0.5);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

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

body.is-locked,
body.is-loading {
  overflow: hidden;
}

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

img {
  height: auto;
}

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

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

p,
figure,
blockquote {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

::selection {
  background: var(--orange);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

/* Container & rhythm ------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: clamp(76px, 9vw, 132px);
}

.section--tight {
  padding-block: clamp(56px, 6vw, 88px);
}

.section--dark {
  background: var(--ink);
  color: #fff;
}

.section--paper-2 {
  background: var(--paper-2);
}

/* Scroll motion ------------------------------------------------------ */
.motion-ready .section-head,
.motion-ready .feature,
.motion-ready .lane-card,
.motion-ready .step,
.motion-ready .tower-visual,
.motion-ready .map-panel,
.motion-ready .industry,
.motion-ready .faq-list,
.motion-ready .cta-band__inner {
  opacity: 0;
  transform: translate3d(var(--mx, 0), var(--my, 0), 0) scale(var(--ms, 1));
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--md, 0s);
}

.motion-ready .section-head {
  --my: 20px;
}

.motion-ready .feature:nth-child(odd) {
  --mx: -24px;
}

.motion-ready .feature:nth-child(even) {
  --mx: 24px;
}

.motion-ready .lane-card {
  --my: 24px;
}

.motion-ready .lane-card:nth-child(2) {
  --md: 0.08s;
}

.motion-ready .lane-card:nth-child(3) {
  --md: 0.12s;
}

.motion-ready .lane-card:nth-child(4) {
  --md: 0.16s;
}

.motion-ready .step {
  --my: 18px;
}

.motion-ready .step:nth-child(2) {
  --md: 0.05s;
}

.motion-ready .step:nth-child(3) {
  --md: 0.1s;
}

.motion-ready .step:nth-child(4) {
  --md: 0.15s;
}

.motion-ready .step:nth-child(5) {
  --md: 0.2s;
}

.motion-ready .tower-visual {
  --mx: 28px;
}

.motion-ready .map-panel {
  --ms: 0.98;
}

.motion-ready .industry {
  --my: 18px;
}

.motion-ready .industry:nth-child(2) {
  --md: 0.06s;
}

.motion-ready .industry:nth-child(3) {
  --md: 0.12s;
}

.motion-ready .industry:nth-child(4) {
  --md: 0.18s;
}

.motion-ready .faq-list {
  --my: 18px;
}

.motion-ready .cta-band__inner {
  --my: 20px;
}

.motion-ready .is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .motion-ready .section-head,
  .motion-ready .feature,
  .motion-ready .lane-card,
  .motion-ready .step,
  .motion-ready .tower-visual,
  .motion-ready .map-panel,
  .motion-ready .industry,
  .motion-ready .faq-list,
  .motion-ready .cta-band__inner {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Type primitives ---------------------------------------------------- */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-title {
  font-size: clamp(30px, 4.1vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.section-title em {
  font-style: normal;
  color: var(--orange-ink);
}

.section--dark .section-title em {
  color: var(--amber);
}

.section-lead {
  max-width: 460px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.section--dark .section-lead {
  color: var(--dark-muted);
}

.text-gradient {
  color: var(--orange-2);
}

/* Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), background-color 0.3s,
    border-color 0.3s, color 0.3s, box-shadow 0.35s;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
  transition: transform 0.35s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--orange);
  color: #fff;
}

.btn--primary:hover {
  background: #ff6b33;
  transform: translateY(-1px);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-2px);
}

.btn--dark {
  background: var(--ink);
  color: #fff;
}

.btn--dark:hover {
  background: #1b2536;
  transform: translateY(-2px);
}

.btn--outline {
  border-color: var(--line-strong);
  color: var(--text);
}

.btn--outline:hover {
  border-color: var(--text);
  transform: translateY(-2px);
}

.btn--sm {
  min-height: 42px;
  padding: 0 18px;
  font-size: 13px;
}

.btn--block {
  width: 100%;
}

/* Utility ------------------------------------------------------------ */
.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;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  transform: translateY(-160%);
  transition: transform 0.2s;
}

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

.is-light {
  color: #fff;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

}
