:root {
  color-scheme: light;
  --ink: #151a22;
  --ink-soft: #343d4a;
  --muted: #667181;
  --line: #d8dde4;
  --paper: #f7f8fa;
  --white: #ffffff;
  --brand: #d94b32;
  --brand-dark: #b53823;
  --accent: #e9b949;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Red Hat Display", ui-sans-serif, system-ui, sans-serif; letter-spacing: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.site-header { position: absolute; inset: 0 0 auto; z-index: 20; border-bottom: 1px solid rgba(255,255,255,.18); color: #fff; }
.nav-shell { display: flex; height: 76px; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 18px; font-weight: 800; }
.brand-icon { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; background: rgba(10,13,20,.28); }
.brand-icon img { width: 32px; height: 32px; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; font-size: 13px; font-weight: 600; }
.desktop-nav a, .login-link { color: rgba(255,255,255,.78); transition: color .16s ease; }
.desktop-nav a:hover, .login-link:hover { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 18px; font-size: 13px; font-weight: 700; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 6px; padding: 0 19px; font-size: 13px; font-weight: 800; transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease; }
.button svg { width: 17px; height: 17px; }
.button:hover { transform: translateY(-1px); }
.button-small { min-height: 39px; padding-inline: 15px; border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.1); color: #fff; }
.button-small:hover { background: #fff; color: var(--ink); }
.button-primary { background: var(--brand); color: #fff; }
.button-primary:hover { background: var(--brand-dark); }
.button-outline { border-color: rgba(255,255,255,.45); color: #fff; }
.button-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.button-quiet { min-height: 40px; border-color: rgba(255,255,255,.4); color: #fff; }

.hero { position: relative; display: flex; min-height: min(760px, 86vh); align-items: center; overflow: hidden; color: #fff; background: #171626 url('../assets/wallpaper-space.png') center 42% / cover no-repeat; }
.hero-shade { position: absolute; inset: 0; background: rgba(8, 12, 20, .58); }
.hero-content { position: relative; z-index: 2; padding-top: 95px; padding-bottom: 50px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: rgba(255,255,255,.78); font-family: "Red Hat Mono", ui-monospace, monospace; font-size: 11px; font-weight: 500; text-transform: uppercase; }
.eyebrow span { display: block; width: 26px; height: 2px; background: var(--brand); }
.eyebrow.dark { color: var(--muted); }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(64px, 9vw, 126px); line-height: .9; font-weight: 800; letter-spacing: 0; }
.hero-copy { max-width: 670px; margin: 28px 0 0; color: rgba(255,255,255,.84); font-size: clamp(17px, 2vw, 21px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 46px; color: rgba(255,255,255,.74); font-size: 12px; font-weight: 600; }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 16px; height: 16px; color: #fff; }
.hero-scroll { position: absolute; right: 32px; bottom: 25px; z-index: 3; display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: #fff; }
.hero-scroll svg { width: 17px; }

.signal-band { border-bottom: 1px solid var(--line); background: var(--white); }
.signal-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.signal-grid div { min-height: 112px; padding: 27px 30px; border-right: 1px solid var(--line); }
.signal-grid div:first-child { border-left: 1px solid var(--line); }
.signal-grid strong, .signal-grid span { display: block; }
.signal-grid strong { font-size: 14px; }
.signal-grid span { margin-top: 7px; color: var(--muted); font-size: 12px; line-height: 1.5; }

.section { padding: 112px 0; }
.section-heading { max-width: 770px; }
.section h2, .final-cta h2 { margin: 0; font-size: clamp(34px, 5vw, 58px); line-height: 1.12; font-weight: 750; letter-spacing: 0; text-wrap: balance; }
.section-heading > p:last-child, .integration-copy > p { max-width: 650px; margin: 23px 0 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.platform { background: var(--paper); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 68px; border-block: 1px solid var(--line); }
.feature { position: relative; min-height: 275px; padding: 36px 34px 40px; border-right: 1px solid var(--line); }
.feature:first-child { border-left: 1px solid var(--line); }
.feature > svg { width: 25px; height: 25px; color: var(--brand); }
.feature-number { position: absolute; top: 19px; right: 20px; color: #929aa5; font-family: "Red Hat Mono", ui-monospace, monospace; font-size: 11px; }
.feature h3 { margin: 58px 0 12px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.integration { border-block: 1px solid var(--line); background: var(--white); }
.integration-grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(520px,1.15fr); align-items: center; gap: 84px; }
.integration-copy h2 { font-size: clamp(34px, 4vw, 52px); }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 29px; color: var(--brand-dark); font-size: 13px; font-weight: 800; }
.text-link svg { width: 16px; height: 16px; }
.code-window { overflow: hidden; border: 1px solid #323a47; border-radius: 8px; background: #121821; box-shadow: 0 20px 50px rgba(22,27,35,.12); color: #d8e0eb; }
.code-toolbar { display: flex; min-height: 48px; align-items: center; justify-content: space-between; border-bottom: 1px solid #303947; padding: 0 18px; color: #aab4c2; font-family: "Red Hat Mono", ui-monospace, monospace; font-size: 11px; }
.code-window pre { margin: 0; overflow-x: auto; padding: 25px; font-family: "Red Hat Mono", ui-monospace, monospace; font-size: 12px; line-height: 1.8; }
.code-window code { font-family: inherit; }
.code-command { color: #f07a61; }.code-string { color: #d8bd78; }

.control { color: #f5f6f8; background: #171c24; }
.control-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(460px,.8fr); gap: 90px; }
.control h2 { max-width: 650px; font-size: clamp(34px, 4vw, 52px); }
.control-list { border-top: 1px solid #3b434f; }
.control-list > div { display: grid; grid-template-columns: 28px 1fr; gap: 17px; border-bottom: 1px solid #3b434f; padding: 25px 0; }
.control-list svg { width: 21px; color: #f07a61; }
.control-list span { color: #aeb8c5; font-size: 13px; line-height: 1.6; }
.control-list strong { display: block; margin-bottom: 4px; color: #fff; font-size: 14px; }

.final-cta { padding: 84px 0; background: #f1c453; }
.final-cta-inner { display: flex; align-items: end; justify-content: space-between; gap: 50px; }
.final-cta .eyebrow { margin-bottom: 15px; }
.final-cta h2 { max-width: 750px; font-size: clamp(34px, 4vw, 51px); }
.button-dark { flex: 0 0 auto; background: var(--ink); color: #fff; }
.button-dark:hover { background: #000; }
.site-footer { border-top: 1px solid #2b323c; color: #aeb7c3; background: #12161d; }
.footer-inner { display: flex; min-height: 108px; align-items: center; gap: 30px; font-size: 12px; }
.footer-brand { color: #fff; }
.footer-brand .brand-icon { width: 36px; height: 36px; }
.footer-brand .brand-icon img { width: 28px; height: 28px; }
.footer-inner p { margin-right: auto; }

@media (max-width: 860px) {
  .desktop-nav { display: none; }
  .hero { min-height: 82vh; min-height: 82dvh; background-position: 59% center; }
  .signal-grid { grid-template-columns: 1fr; }
  .signal-grid div, .signal-grid div:first-child { min-height: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); }
  .signal-grid div:last-child { border-bottom: 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { min-height: 220px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); }
  .feature:last-child { border-bottom: 0; }
  .integration-grid, .control-grid { grid-template-columns: 1fr; gap: 55px; }
  .final-cta-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 32px, 1180px); }
  .nav-shell { height: 68px; }
  .brand { font-size: 16px; }
  .brand-icon { width: 38px; height: 38px; }
  .brand-icon img { width: 29px; height: 29px; }
  .login-link { display: none; }
  .button-small { min-height: 38px; padding-inline: 12px; }
  .hero { min-height: 86vh; min-height: 86dvh; align-items: flex-end; }
  .hero-content { padding-top: 110px; padding-bottom: 54px; }
  .hero h1 { font-size: clamp(58px, 21vw, 86px); }
  .hero-copy { margin-top: 22px; font-size: 16px; line-height: 1.6; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-proof { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 16px; margin-top: 31px; }
  .hero-scroll { display: none; }
  .section { padding: 80px 0; }
  .feature-grid { margin-top: 45px; }
  .feature { padding-inline: 25px; }
  .integration-grid { gap: 42px; }
  .code-window pre { padding: 20px; font-size: 10px; }
  .control-grid { gap: 38px; }
  .final-cta { padding: 68px 0; }
  .button-dark { width: 100%; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 14px; padding-block: 30px; }
  .footer-inner p { margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
