:root {
  color-scheme: light;
  --ink: #07111f;
  --muted: #5a6677;
  --line: #d9e0e8;
  --panel: #ffffff;
  --soft: #f3f6f9;
  --accent: #18a37f;
  --accent-strong: #0b7c65;
  --gold: #d59b2d;
  --blue: #246bfe;
  --shadow: 0 24px 70px rgba(7, 17, 31, 0.16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 22px; font-size: clamp(52px, 9vw, 116px); line-height: 0.9; letter-spacing: 0; }
h2 { margin-bottom: 18px; font-size: clamp(30px, 4vw, 54px); line-height: 1.02; letter-spacing: 0; }
h3 { margin-bottom: 12px; font-size: 22px; }

.site-header {
  position: fixed; z-index: 20; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px); color: #fff;
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}
.site-header.is-scrolled, .site-header.is-open {
  color: var(--ink); background: rgba(255,255,255,.94);
  box-shadow: 0 10px 30px rgba(7,17,31,.08); backdrop-filter: blur(16px);
}
.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 8px;
  padding: 8px 12px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 28px rgba(7,17,31,.18);
}
.brand-logo {
  display: block;
  width: 154px;
  height: auto;
  object-fit: contain;
}
.site-header.is-scrolled .brand,
.site-header.is-open .brand {
  border-color: var(--line);
  background: #fff;
  box-shadow: none;
}
.site-nav { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 650; }
.site-nav a { opacity: .86; }
.site-nav a:hover { opacity: 1; }
.nav-cta, .button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 8px; font-weight: 750; }
.nav-cta { padding: 0 18px; background: var(--accent); color: #fff; opacity: 1 !important; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.3); border-radius: 8px; background: rgba(255,255,255,.08); color: inherit; }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: currentColor; }

.hero {
  position: relative; min-height: 92vh; display: grid; align-items: center;
  padding: 118px clamp(20px, 5vw, 72px) 52px; overflow: hidden; color: #fff;
  background: linear-gradient(90deg, rgba(7,17,31,.94) 0%, rgba(7,17,31,.78) 46%, rgba(7,17,31,.35) 100%), url("https://images.unsplash.com/photo-1551434678-e076c223a692?auto=format&fit=crop&w=1800&q=78") center/cover;
}
.sub-hero {
  min-height: 52vh;
  display: grid;
  align-items: end;
  padding: 138px clamp(20px, 5vw, 72px) 64px;
  color: #fff;
  background: linear-gradient(90deg, rgba(7,17,31,.94), rgba(7,17,31,.68)), url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=78") center/cover;
}
.error-page {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 120px 20px 56px;
  background: linear-gradient(180deg, #07111f 0%, #102033 100%);
  color: #fff;
}
.error-shell {
  width: min(100%, 860px);
  margin: 0 auto;
  text-align: center;
}
.error-code {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: clamp(64px, 14vw, 160px);
  font-weight: 850;
  line-height: .9;
}
.error-page p {
  max-width: 680px;
  margin: 0 auto 24px;
  color: rgba(255,255,255,.78);
  font-size: 19px;
  line-height: 1.7;
}
.error-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.sub-hero-content { max-width: 920px; }
.sub-hero h1 { margin-bottom: 18px; font-size: clamp(44px, 7vw, 86px); }
.sub-hero p { max-width: 760px; color: rgba(255,255,255,.82); font-size: clamp(18px, 2.2vw, 23px); line-height: 1.55; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 140px; background: linear-gradient(180deg, transparent, rgba(7,17,31,.5)); pointer-events: none; }
.hero-content { position: relative; z-index: 2; max-width: 760px; }
.eyebrow { margin: 0 0 14px; color: var(--accent); font-size: 13px; font-weight: 850; letter-spacing: 0; text-transform: uppercase; }
.hero-copy { max-width: 680px; color: rgba(255,255,255,.84); font-size: clamp(18px, 2.4vw, 24px); line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { border: 1px solid transparent; padding: 0 20px; cursor: pointer; font-size: 15px; }
.button.primary { background: var(--accent); color: #fff; }
.button.primary:hover, .nav-cta:hover { background: var(--accent-strong); }
.button.secondary { border-color: rgba(255,255,255,.36); background: rgba(255,255,255,.08); color: #fff; }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 780px; margin: 56px 0 0; }
.hero-stats div { border-top: 1px solid rgba(255,255,255,.24); padding-top: 14px; }
.hero-stats dt { font-size: 24px; font-weight: 850; }
.hero-stats dd { margin: 4px 0 0; color: rgba(255,255,255,.72); }

.hero-media { position: absolute; right: clamp(20px, 5vw, 80px); bottom: 74px; z-index: 1; width: min(42vw, 600px); opacity: .9; }
.product-screen { border: 1px solid rgba(255,255,255,.22); border-radius: 8px; overflow: hidden; background: rgba(255,255,255,.12); box-shadow: var(--shadow); backdrop-filter: blur(22px); }
.screen-top { display: flex; gap: 8px; padding: 14px; border-bottom: 1px solid rgba(255,255,255,.14); }
.screen-top span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.65); }
.screen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 18px; }
.metric, .chart, .code-lines { min-height: 118px; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; padding: 18px; background: rgba(7,17,31,.38); }
.metric b { display: block; font-size: 42px; }
.metric small { color: rgba(255,255,255,.68); }
.chart { display: flex; align-items: end; gap: 12px; }
.chart i { width: 100%; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--accent), var(--gold)); }
.code-lines { display: grid; align-content: center; gap: 12px; }
.code-lines span { height: 10px; border-radius: 999px; background: rgba(255,255,255,.22); }
.code-lines span:nth-child(2) { width: 74%; }
.code-lines span:nth-child(3) { width: 88%; }
.code-lines span:nth-child(4) { width: 56%; }

.section, .band { padding: 96px clamp(20px, 5vw, 72px); }
.content-wrap { max-width: 980px; margin: 0 auto; }
.prose { color: #263447; font-size: 19px; line-height: 1.82; }
.prose p { margin-bottom: 24px; }
.quote-panel {
  margin: 38px 0;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 28px;
  background: var(--soft);
}
.quote-panel blockquote { margin: 0; color: var(--ink); font-size: clamp(24px, 3vw, 34px); line-height: 1.25; font-weight: 800; }
.quote-panel figcaption { margin-top: 16px; color: var(--muted); font-weight: 750; }
.page-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 42px; }
.page-link-card { border: 1px solid var(--line); border-radius: 8px; padding: 24px; background: #fff; }
.page-link-card span { color: var(--accent-strong); font-size: 13px; font-weight: 850; text-transform: uppercase; }
.page-link-card h3 { margin: 10px 0; }
.page-link-card p { color: var(--muted); line-height: 1.65; }
.section-heading { max-width: 820px; margin-bottom: 40px; }
.section-heading p, .split p, .feature-panel p, .contact p { color: var(--muted); font-size: 18px; line-height: 1.7; }
.solution-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.card { min-height: 280px; border: 1px solid var(--line); border-radius: 8px; padding: 28px; background: var(--panel); transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.card:hover { transform: translateY(-4px); border-color: rgba(24,163,127,.42); box-shadow: 0 18px 40px rgba(7,17,31,.1); }
.card p { color: var(--muted); line-height: 1.65; }
.icon { display: inline-flex; margin-bottom: 28px; color: var(--accent-strong); font-weight: 850; }
.product-card { display: flex; flex-direction: column; }
.product-card p { flex: 1; }
.product-link,
.product-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 40px;
  border-radius: 8px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 800;
}
.product-link { background: var(--ink); color: #fff; }
.product-link:hover { background: var(--accent-strong); }
.product-note { border: 1px solid var(--line); color: var(--muted); background: #fff; }
.band { background: var(--soft); }
.sector-list, .feature-points { display: flex; flex-wrap: wrap; gap: 12px; }
.sector-list span, .feature-points span { display: inline-flex; align-items: center; min-height: 42px; border: 1px solid var(--line); border-radius: 8px; padding: 0 16px; background: #fff; color: #263447; font-weight: 650; }
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.ecosystem-grid span,
.ecosystem-grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 16px;
  background: #fff;
  color: #263447;
  font-weight: 750;
  text-align: center;
}
.ecosystem-grid a:hover {
  border-color: rgba(24,163,127,.42);
  color: var(--accent-strong);
  box-shadow: 0 18px 40px rgba(7,17,31,.08);
}
.split { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 64px; align-items: start; }
.timeline { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.timeline li { position: relative; border-left: 2px solid var(--line); padding: 0 0 34px 34px; counter-increment: step; }
.timeline li::before { content: counter(step); position: absolute; left: -16px; top: 0; display: grid; width: 30px; height: 30px; place-items: center; border-radius: 8px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 850; }
.timeline b, .timeline span { display: block; }
.timeline b { margin-bottom: 8px; font-size: 20px; }
.timeline span { color: var(--muted); line-height: 1.65; }
.feature { background: linear-gradient(90deg, rgba(7,17,31,.92), rgba(7,17,31,.72)), url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1800&q=78") center/cover; color: #fff; }
.feature-panel { max-width: 820px; }
.feature-panel p { color: rgba(255,255,255,.78); }
.feature-points { margin-top: 28px; }
.feature-points span { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.1); color: #fff; }
.contact { display: grid; grid-template-columns: minmax(0,.9fr) minmax(320px,520px); gap: 64px; background: #fff; }
.contact-form { display: grid; gap: 16px; border: 1px solid var(--line); border-radius: 8px; padding: 28px; background: var(--soft); }
label { display: grid; gap: 8px; color: #263447; font-weight: 750; }
input, textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 13px 14px; color: var(--ink); font: inherit; background: #fff; }
input:focus, textarea:focus { border-color: var(--accent); outline: 3px solid rgba(24,163,127,.16); }
.contact-form .button { width: fit-content; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-feedback { min-height: 24px; margin: 0; color: var(--muted); font-size: 14px; font-weight: 650; }
.form-feedback.is-success { color: var(--accent-strong); }
.form-feedback.is-error { color: #b42318; }
.contact-form .cf-turnstile { min-height: 65px; }
.site-footer { display: flex; justify-content: space-between; gap: 28px; padding: 34px clamp(20px, 5vw, 72px); background: var(--ink); color: #fff; }
.site-footer p { margin: 8px 0 0; color: rgba(255,255,255,.62); }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }

@media (max-width: 1100px) {
  .hero-media { width: min(46vw, 460px); opacity: .55; }
  .solution-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .site-header { padding: 14px 20px; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 70px; left: 14px; right: 14px; display: none; flex-direction: column; align-items: stretch; gap: 0; border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: #fff; color: var(--ink); box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 13px 12px; }
  .nav-cta { margin-top: 8px; text-align: center; }
  .hero { min-height: auto; padding-top: 116px; }
  .hero-media { display: none; }
  .hero-stats, .solution-grid, .split, .contact, .ecosystem-grid { grid-template-columns: 1fr; }
  .page-links { grid-template-columns: 1fr; }
  .section, .band { padding-top: 70px; padding-bottom: 70px; }
}
@media (max-width: 560px) {
  h1 { font-size: 56px; }
  .hero-actions, .button, .contact-form .button { width: 100%; }
  .hero-stats { gap: 22px; }
  .card { min-height: auto; }
  .site-footer { display: grid; }
}
