:root {
  --bg: #f6f8fb;
  --ink: #0f172a;
  --muted: #526179;
  --line: #d9e1ec;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --green: #10b981;
  --coral: #f97316;
  --panel: #ffffff;
  --shadow: 0 18px 55px rgba(15, 23, 42, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

p {
  margin: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(217, 225, 236, 0.78);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.nav,
.section {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #475569;
  font-size: 0.92rem;
  font-weight: 800;
}

.nav-links a:hover {
  color: var(--blue);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
}

.button.primary {
  color: #fff;
  background: var(--blue);
}

.button.primary:hover {
  background: var(--blue-dark);
}

.button.secondary {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}

.hero {
  color: #fff;
  background: linear-gradient(135deg, #0f172a, #1d4ed8 58%, #0891b2);
}

.hero-inner {
  width: min(1160px, calc(100% - 36px));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(430px, 1fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: center;
  padding: clamp(58px, 9vw, 96px) 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: #bfdbfe;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3.2rem, 7.8vw, 6.8rem);
  line-height: 0.92;
}

.hero-copy p:not(.eyebrow) {
  max-width: 62ch;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 1.8vw, 1.26rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.gateway-preview {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 80px rgba(2, 6, 23, 0.32);
  backdrop-filter: blur(16px);
}

.gateway-preview img {
  width: 100%;
  margin: 0 auto;
  border-radius: 14px;
  object-fit: contain;
  background: #f8fafc;
}

.section {
  padding: clamp(60px, 8vw, 96px) 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 1fr);
  gap: clamp(22px, 5vw, 58px);
  align-items: end;
  margin-bottom: 30px;
}

.section-head h2,
.workflow-copy h2,
.license-panel h2 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1;
}

.section-head p,
.workflow-copy p:not(.eyebrow),
.license-panel p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  min-height: 320px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 38px rgba(15, 23, 42, 0.05);
}

.feature-card.featured {
  border-color: rgba(37, 99, 235, 0.32);
  box-shadow: 0 22px 60px rgba(37, 99, 235, 0.12);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
}

.feature-icon.is-green {
  background: var(--green);
}

.feature-icon.is-coral {
  background: var(--coral);
}

.feature-icon svg {
  width: 34px;
  height: 34px;
  stroke: currentColor;
  stroke-width: 2.1;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-label {
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature-card h3,
.step-card h3 {
  margin-bottom: 14px;
  font-size: 1.45rem;
}

.feature-card p:not(.card-label),
.step-card p {
  color: var(--muted);
  line-height: 1.65;
}

.workflow-band {
  color: #fff;
  background: #111827;
}

.workflow-inner {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
  padding: clamp(60px, 8vw, 96px) 0;
}

.workflow-agent {
  display: grid;
  place-items: center;
  min-height: 340px;
}

.workflow-agent img {
  width: min(100%, 260px);
  max-height: 420px;
  border-radius: 14px;
  object-fit: contain;
  background: #f8fafc;
}

.workflow-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
  margin-top: 22px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.step-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 38px rgba(15, 23, 42, 0.05);
}

.step-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  font-weight: 950;
}

.license-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.62fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
  padding: clamp(30px, 5vw, 54px);
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #111827, #1e3a8a 72%, #0f766e);
  box-shadow: var(--shadow);
}

.license-panel p:not(.eyebrow) {
  max-width: 68ch;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.76);
}

.license-card {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.license-card p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.license-card strong {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.1;
}

.license-card span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 850;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero-inner,
  .section-head,
  .workflow-inner,
  .license-panel {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .nav,
  .section,
  .hero-inner,
  .workflow-inner {
    width: min(100% - 28px, 1160px);
  }

  .topbar .button {
    display: none;
  }

  h1 {
    font-size: clamp(2.8rem, 14vw, 4.3rem);
  }

  .feature-grid,
  .steps {
    grid-template-columns: 1fr;
  }
}
