:root {
  --ink: #08111f;
  --ink-2: #111d30;
  --muted: #667085;
  --line: #dfe5ed;
  --paper: #f7f9fc;
  --white: #ffffff;
  --blue: #2563eb;
  --blue-2: #60a5fa;
  --cyan: #67e8f9;
  --green: #22c55e;
  --navy: #0b1526;
  --radius: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
svg { display: block; }

.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.page-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(37,99,235,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(37,99,235,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 48%);
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.nav { height: 82px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--white); font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.brand b { color: #91b4ff; font-weight: 700; }
.brand-mark { width: 30px; height: 30px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 3px; padding: 4px; border: 1px solid rgba(255,255,255,.24); border-radius: 7px; }
.brand-mark span { background: var(--white); border-radius: 1px; }
.brand-mark span:nth-child(2), .brand-mark span:nth-child(3) { opacity: .48; }
.brand-mark span:nth-child(4) { background: #8fb2ff; }
.nav-links { display: flex; align-items: center; gap: 34px; margin-left: auto; margin-right: 40px; }
.nav-links a { color: rgba(255,255,255,.72); font-size: 13px; font-weight: 650; transition: color .2s ease; }
.nav-links a:hover { color: var(--white); }
.nav-action { height: 40px; padding: 0 14px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.16); border-radius: 8px; color: var(--white); font-size: 13px; font-weight: 700; background: rgba(255,255,255,.04); }
.nav-action svg { width: 16px; }
.menu-toggle { display: none; }

.hero {
  min-height: 720px;
  padding: 145px 0 90px;
  display: grid;
  grid-template-columns: 52% 48%;
  align-items: center;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  top: 0;
  height: 720px;
  background:
    radial-gradient(circle at 78% 42%, rgba(37,99,235,.22), transparent 23%),
    linear-gradient(135deg, #070f1d 0%, #0d1a2e 58%, #111f37 100%);
}
.hero-copy { padding-right: 60px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: #9eb9eb; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow span { width: 8px; height: 8px; border: 2px solid #75a1ff; border-radius: 50%; box-shadow: 0 0 0 4px rgba(37,99,235,.12); }
.hero h1, .section h2, .cta h2 {
  margin: 19px 0 22px;
  font-size: clamp(56px, 6vw, 82px);
  line-height: .94;
  letter-spacing: -.065em;
  font-weight: 780;
}
.hero h1 { color: var(--white); }
.hero h1 em, .section h2 em { color: #79a6ff; font-style: normal; }
.hero-lede { max-width: 590px; color: #aab7cc; font-size: 18px; line-height: 1.72; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; }
.button { height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 18px; border-radius: 8px; font-size: 13px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button svg { width: 18px; }
.button-primary { color: var(--white); background: var(--blue); box-shadow: 0 12px 30px rgba(37,99,235,.24); }
.button-primary:hover { background: #3473ef; box-shadow: 0 16px 36px rgba(37,99,235,.32); }
.button-secondary { color: #dce6f7; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); }
.hero-meta { display: flex; margin-top: 54px; }
.hero-meta div { min-width: 135px; padding: 0 24px; border-left: 1px solid rgba(255,255,255,.12); }
.hero-meta div:first-child { padding-left: 0; border-left: 0; }
.hero-meta strong { display: block; color: var(--white); font-size: 22px; line-height: 1; }
.hero-meta span { display: block; margin-top: 7px; color: #7f8da3; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }

.hero-visual { height: 460px; position: relative; display: grid; place-items: center; }
.visual-orbit { position: absolute; border: 1px solid rgba(130,166,237,.10); border-radius: 50%; }
.orbit-one { width: 430px; height: 430px; }
.orbit-two { width: 330px; height: 330px; border-style: dashed; }
.qr-card { width: 290px; position: relative; z-index: 3; border: 1px solid rgba(255,255,255,.11); border-radius: 14px; background: rgba(13,26,46,.88); box-shadow: 0 35px 90px rgba(0,0,0,.36); backdrop-filter: blur(12px); }
.qr-card-top, .qr-card-bottom { height: 50px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; color: #8290a6; font-size: 9px; text-transform: uppercase; letter-spacing: .09em; }
.qr-card-top div { display: flex; align-items: center; gap: 7px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(34,197,94,.75); }
.qr-frame { width: 252px; height: 252px; margin: 0 auto; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.08); border-radius: 8px; background: #fff; box-shadow: 0 20px 40px rgba(0,0,0,.18); }
.qr-code { width: 224px; height: 224px; object-fit: contain; }
.qr-card-bottom { border-top: 1px solid rgba(255,255,255,.07); text-transform: none; letter-spacing: 0; }
.success-check { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: #c9d8ff; background: rgba(37,99,235,.28); }
.floating-chip { position: absolute; z-index: 5; min-width: 150px; height: 64px; display: flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.11); border-radius: 10px; background: rgba(19,35,58,.92); box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.chip-top { top: 50px; right: -10px; }
.chip-bottom { bottom: 58px; left: -22px; }
.chip-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 8px; font-size: 13px; font-weight: 800; }
.lock-icon { color: #74a1ff; background: rgba(37,99,235,.18); }
.blue-icon { color: #08111f; background: #93b3f7; }
.floating-chip div { display: flex; flex-direction: column; }
.floating-chip small { color: #7f8da3; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.floating-chip strong { margin-top: 3px; color: var(--white); font-size: 12px; }

.trust-strip { height: 112px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.82); }
.trust-inner { height: 100%; display: grid; grid-template-columns: 1.1fr repeat(5, 1fr); align-items: center; }
.trust-inner > span { color: #98a1af; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.trust-inner div { height: 44px; display: flex; flex-direction: column; justify-content: center; border-left: 1px solid var(--line); padding-left: 24px; }
.trust-inner strong { font-size: 17px; letter-spacing: -.03em; }
.trust-inner small { margin-top: 5px; color: #98a1af; font-size: 10px; }

.section { padding: 120px 0; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 54px; }
.section-heading > div { max-width: 640px; }
.section-heading h2, .platform h2, .deploy h2 { margin: 14px 0 0; font-size: clamp(44px, 5vw, 68px); }
.section-heading h2 em, .platform h2 em, .deploy h2 em { color: var(--blue); }
.section-heading > p { max-width: 350px; margin: 0 0 8px; color: var(--muted); line-height: 1.7; }
.kicker { color: var(--blue); font-size: 11px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }

.format-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.format-card { min-height: 244px; position: relative; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.74); transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.format-card:hover { z-index: 2; transform: translateY(-6px); background: var(--white); box-shadow: 0 18px 45px rgba(26,45,78,.10); }
.format-card.feature-card { background: var(--blue); color: var(--white); }
.format-card.feature-card p, .format-card.feature-card code { color: rgba(255,255,255,.72); }
.format-card.feature-card code { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.08); }
.format-number { position: absolute; top: 20px; right: 20px; color: #adb6c4; font-size: 9px; font-weight: 800; }
.feature-card .format-number { color: rgba(255,255,255,.52); }
.format-icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 32px; border: 1px solid var(--line); border-radius: 50%; color: var(--blue); font-size: 17px; font-weight: 800; }
.feature-card .format-icon { color: var(--white); border-color: rgba(255,255,255,.25); }
.format-card h3 { margin: 0 0 8px; font-size: 17px; letter-spacing: -.02em; }
.format-card p { min-height: 44px; margin: 0 0 16px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.format-card code { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; height: 24px; padding: 5px 7px; border: 1px solid var(--line); border-radius: 5px; color: #7d899a; background: #f8fafc; font-size: 9px; }

.platform { background: var(--navy); color: var(--white); }
.platform-layout { display: grid; grid-template-columns: 46% 54%; align-items: center; }
.platform-copy { padding-right: 70px; }
.platform-copy h2 { color: var(--white); }
.platform-copy > p { max-width: 470px; color: #98a4b7; line-height: 1.75; }
.feature-list { margin-top: 38px; }
.feature-list > div { display: grid; grid-template-columns: 38px 1fr; align-items: start; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.08); }
.feature-list > div > span { color: #6e86af; font-size: 9px; font-weight: 800; }
.feature-list strong { font-size: 14px; }
.feature-list p { margin: 5px 0 0; color: #8290a5; font-size: 12px; }
.platform-console { overflow: hidden; border: 1px solid rgba(255,255,255,.10); border-radius: 12px; background: #0d192b; box-shadow: 0 30px 80px rgba(0,0,0,.28); }
.console-header { height: 52px; display: flex; align-items: center; gap: 15px; padding: 0 18px; border-bottom: 1px solid rgba(255,255,255,.08); color: #8492a8; font-size: 10px; }
.console-dots { display: flex; gap: 5px; }
.console-dots i { width: 7px; height: 7px; border-radius: 50%; background: #31415a; }
.console-live { margin-left: auto; color: #73d49a; text-transform: uppercase; letter-spacing: .1em; }
.console-live::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #22c55e; }
.console-body { padding: 22px; }
.status-row { height: 52px; display: grid; grid-template-columns: 54px 1fr 44px; align-items: center; border: 1px solid rgba(255,255,255,.07); border-bottom: 0; padding: 0 14px; }
.status-row:first-child { border-radius: 7px 7px 0 0; }
.status-row:nth-child(4) { border-bottom: 1px solid rgba(255,255,255,.07); border-radius: 0 0 7px 7px; }
.status-row span { color: #72a1ff; font-size: 9px; font-weight: 850; }
.status-row code { color: #c1cada; font-size: 11px; }
.status-row b { width: 38px; height: 24px; display: grid; place-items: center; justify-self: end; border-radius: 5px; color: #81dfa8; background: rgba(34,197,94,.09); font-size: 9px; }
.status-row.muted { opacity: .64; }
.console-output { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; padding: 18px; border-left: 2px solid #315da9; color: #8795aa; font-family: "SFMono-Regular", Consolas, monospace; font-size: 11px; }
.console-output i { color: #82a9f7; font-style: normal; }
.console-output em { color: #79d4a4; font-style: normal; }

.developer { background: #eef3f9; }
.section-heading.compact { align-items: flex-end; }
.code-window { overflow: hidden; border: 1px solid #d7e0ec; border-radius: 12px; background: #fff; box-shadow: 0 24px 60px rgba(44,69,106,.10); }
.code-tabs { height: 58px; display: flex; align-items: center; gap: 4px; padding: 0 14px; border-bottom: 1px solid #e6ebf2; }
.code-tab { height: 34px; padding: 0 13px; border: 0; border-radius: 6px; color: #7d8998; background: transparent; font-size: 11px; font-weight: 750; cursor: pointer; }
.code-tab.active { color: #1d4fb5; background: #edf4ff; }
.copy-button { margin-left: auto; height: 34px; display: inline-flex; align-items: center; gap: 7px; padding: 0 10px; border: 1px solid #dfe6ef; border-radius: 6px; color: #667386; background: #fff; font-size: 10px; font-weight: 750; cursor: pointer; }
.copy-button svg { width: 15px; }
.code-block { min-height: 260px; margin: 0; padding: 46px 52px; color: #526174; background: linear-gradient(135deg, #fff, #fbfdff); font-family: "SFMono-Regular", Consolas, monospace; font-size: 13px; line-height: 2; white-space: pre-wrap; }
.code-block .prompt { color: var(--blue); }
.code-block .string { color: #16794a; }
.code-block .keyword { color: #7255ca; }
.code-block .comment { color: #98a4b3; }
.developer-links { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 20px; border-top: 1px solid #d5deea; border-left: 1px solid #d5deea; }
.developer-links a { height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; border-right: 1px solid #d5deea; border-bottom: 1px solid #d5deea; background: rgba(255,255,255,.50); font-size: 12px; font-weight: 800; transition: background .2s ease, color .2s ease; }
.developer-links a:hover { color: var(--blue); background: var(--white); }
.developer-links b { font-size: 16px; }

.deploy-layout { display: grid; grid-template-columns: 43% 57%; align-items: center; }
.deploy-copy { padding-right: 60px; }
.deploy-copy p { max-width: 430px; color: var(--muted); line-height: 1.75; }
.deploy-copy .button { margin-top: 18px; }
.deploy-stack { position: relative; display: flex; flex-direction: column; gap: 12px; }
.stack-card { height: 104px; display: grid; grid-template-columns: 64px 1fr 54px; align-items: center; gap: 14px; padding: 0 18px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.88); box-shadow: 0 16px 40px rgba(42,67,104,.07); }
.stack-card:nth-child(2) { width: calc(100% - 34px); margin-left: 17px; }
.stack-card:nth-child(3) { width: calc(100% - 68px); margin-left: 34px; }
.stack-mark { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 10px; color: var(--white); background: var(--ink-2); font-size: 13px; font-weight: 850; }
.stack-kubernetes .stack-mark { background: #326ce5; }
.stack-ghcr .stack-mark { background: #5b6370; }
.stack-card div:nth-child(2) { display: flex; flex-direction: column; }
.stack-card strong { font-size: 14px; }
.stack-card span { margin-top: 6px; color: #8b96a5; font-size: 10px; }
.stack-card > b { justify-self: end; color: #168b4a; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.stack-card > b::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #22c55e; }

.cta { background: var(--navy); }
.cta-inner { min-height: 300px; display: flex; align-items: center; justify-content: space-between; }
.cta h2 { margin: 14px 0 0; color: var(--white); font-size: clamp(42px, 5vw, 64px); }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 17px; }
.button-light { color: var(--ink); background: var(--white); }
.button-light span { color: var(--blue); }
.text-link { color: #93a2b8; font-size: 12px; font-weight: 750; }
.text-link span { margin-left: 7px; color: #87a9ed; }

.site-footer { background: #070e1a; }
.footer-inner { height: 110px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; }
.footer-brand { font-size: 14px; }
.footer-brand .brand-mark { width: 26px; height: 26px; }
.footer-inner p { justify-self: center; color: #69778c; font-size: 11px; }
.footer-links { justify-self: end; display: flex; gap: 24px; }
.footer-links a { color: #8794a7; font-size: 11px; }
.footer-links a:hover { color: var(--white); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease var(--delay, 0s), transform .7s ease var(--delay, 0s); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .nav-links { gap: 18px; margin-right: 20px; }
  .hero { grid-template-columns: 56% 44%; }
  .hero-copy { padding-right: 20px; }
  .chip-top { right: -2px; }
  .chip-bottom { left: 0; }
  .trust-inner { grid-template-columns: 1fr repeat(5, 1fr); }
  .trust-inner div { padding-left: 12px; }
  .format-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-layout, .deploy-layout { grid-template-columns: 48% 52%; }
  .platform-copy, .deploy-copy { padding-right: 35px; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 36px), var(--container)); }
  .nav { height: 70px; }
  .nav-action { display: none; }
  .menu-toggle { width: 42px; height: 42px; display: grid; place-content: center; gap: 6px; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; background: rgba(255,255,255,.04); }
  .menu-toggle span { width: 18px; height: 1.5px; background: var(--white); transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .nav-links { position: fixed; inset: 70px 18px auto; display: none; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: rgba(8,17,31,.98); box-shadow: 0 20px 50px rgba(0,0,0,.35); }
  .nav-links.open { display: flex; }
  .nav-links a { height: 48px; display: flex; align-items: center; padding: 0 12px; border-bottom: 1px solid rgba(255,255,255,.07); }
  .nav-links a:last-child { border-bottom: 0; }

  .hero { min-height: auto; padding: 130px 0 70px; grid-template-columns: 1fr; }
  .hero::before { height: 920px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(48px, 14vw, 68px); }
  .hero-lede { font-size: 16px; }
  .hero-meta { margin-top: 42px; }
  .hero-meta div { min-width: 0; flex: 1; padding: 0 12px; }
  .hero-visual { height: 410px; margin-top: 24px; }
  .qr-card { width: 260px; }
  .qr-frame { width: 224px; height: 224px; }
  .qr-code { width: 198px; height: 198px; }
  .orbit-one { width: 360px; height: 360px; }
  .orbit-two { width: 280px; height: 280px; }
  .chip-top { top: 22px; right: 0; }
  .chip-bottom { bottom: 22px; left: 0; }

  .trust-strip { height: auto; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); padding: 22px 0; }
  .trust-inner > span { grid-column: 1 / -1; padding: 0 0 12px; }
  .trust-inner div { height: 56px; border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }

  .section { padding: 82px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; margin-bottom: 38px; }
  .section-heading h2, .platform h2, .deploy h2 { font-size: 46px; }
  .section-heading > p { margin-top: 18px; }
  .format-grid { grid-template-columns: repeat(2, 1fr); }
  .format-card { min-height: 230px; }

  .platform-layout, .deploy-layout { grid-template-columns: 1fr; }
  .platform-copy, .deploy-copy { padding: 0 0 44px; }
  .platform-console { width: 100%; }

  .developer-links { grid-template-columns: 1fr; }
  .code-block { min-height: 230px; padding: 30px 22px; font-size: 11px; }

  .deploy-stack { margin-top: 10px; }
  .stack-card:nth-child(2), .stack-card:nth-child(3) { width: 100%; margin-left: 0; }

  .cta-inner { min-height: 360px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 30px; }
  .footer-inner { height: auto; grid-template-columns: 1fr; gap: 20px; padding: 34px 0; }
  .footer-inner p { justify-self: start; }
  .footer-links { justify-self: start; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-meta strong { font-size: 18px; }
  .hero-meta span { font-size: 9px; }
  .floating-chip { min-width: 138px; }
  .chip-top { right: -4px; }
  .chip-bottom { left: -4px; }
  .format-grid { grid-template-columns: 1fr; }
  .format-card { min-height: 210px; }
  .status-row { grid-template-columns: 42px 1fr 40px; }
  .status-row code { font-size: 9px; }
  .console-body { padding: 12px; }
  .stack-card { grid-template-columns: 58px 1fr; }
  .stack-card > b { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button, .format-card { transition: none; }
}
