:root {
  --bg: #031020;
  --bg-2: #07182c;
  --panel: #0a1c31;
  --panel-2: #0d2239;
  --line: rgba(101, 155, 224, .22);
  --line-strong: rgba(94, 151, 255, .42);
  --text: #f5f8ff;
  --muted: #aebbd0;
  --muted-2: #7f91ac;
  --blue: #1f80ff;
  --blue-2: #5f8fff;
  --cyan: #1adbd3;
  --green: #12d48c;
  --danger: #ff5b66;
  --max: 1280px;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 76% 11%, rgba(26, 101, 225, .16), transparent 31%),
    linear-gradient(180deg, #07182b 0, var(--bg) 27%, #041326 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }
.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; }
.site-shell { overflow: hidden; }

.site-header {
  min-height: 88px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 290px 1fr 280px;
  align-items: center;
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 24px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; width: max-content; }
.brand-shield { width: 42px; height: 48px; object-fit: contain; filter: drop-shadow(0 0 12px rgba(40, 138, 255, .35)); }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-size: 22px; letter-spacing: .045em; }
.brand-copy small { margin-top: 5px; font-size: 12px; color: #dce6f6; }
.site-nav { display: flex; justify-content: center; gap: 38px; font-size: 13px; color: #e9effa; }
.site-nav a, .site-footer nav a, .footer-links a { transition: color .2s ease; }
.site-nav a:hover, .site-footer nav a:hover, .footer-links a:hover { color: #71a3ff; }
.header-note { margin: 0; justify-self: end; color: #9db3df; font-size: 13px; font-style: italic; letter-spacing: .04em; text-align: right; }
.menu-toggle { display: none; }

.hero {
  position: relative;
  max-width: var(--max);
  min-height: 510px;
  margin: 0 auto;
  padding: 52px 24px 36px;
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  align-items: center;
  gap: 40px;
}
.hero::after {
  content: "";
  position: absolute;
  left: -12vw; right: -12vw; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(83, 143, 220, .34), transparent);
}
.hero-glow { position: absolute; border-radius: 999px; filter: blur(65px); pointer-events: none; opacity: .42; }
.hero-glow-one { width: 420px; height: 260px; right: 180px; top: 54px; background: #0b60d7; }
.hero-glow-two { width: 240px; height: 180px; left: -90px; bottom: 70px; background: #093b8d; }
.hero-copy { position: relative; z-index: 3; max-width: 590px; }
.eyebrow { margin: 0 0 10px; color: #7da3ff; text-transform: uppercase; font-weight: 700; font-size: 12px; letter-spacing: .18em; }
.hero h1 { margin: 0; font-size: clamp(43px, 4.35vw, 65px); line-height: .98; letter-spacing: -.035em; }
.hero h1 span { color: #7593ff; }
.hero-lede { max-width: 600px; margin: 22px 0 0; color: #d6dfed; font-size: 17px; line-height: 1.45; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.button {
  min-height: 48px;
  border-radius: 9px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: linear-gradient(135deg, #0b8cff, #1d63f7); box-shadow: 0 10px 28px rgba(15, 110, 255, .24); }
.button-primary:hover { box-shadow: 0 14px 35px rgba(15, 110, 255, .35); }
.button-secondary { background: rgba(3, 15, 31, .72); border-color: #536fee; }
.button-secondary:hover { border-color: #86a6ff; }
.apple-mark { font-size: 11px; border: 2px solid currentColor; width: 17px; height: 17px; display: inline-grid; place-items: center; border-radius: 45% 45% 50% 50%; overflow: hidden; line-height: 1; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 18px; color: #bac7d9; font-size: 12px; }
.hero-meta span:not(:first-child)::before { content: "◇"; margin-right: 8px; color: #8099c4; }

.hero-visual { min-height: 420px; position: relative; display: grid; place-items: center; }
.app-window {
  width: min(100%, 625px);
  position: relative;
  z-index: 3;
  border: 1px solid rgba(132, 172, 225, .5);
  border-radius: 18px;
  overflow: hidden;
  background: #081522;
  box-shadow: 0 22px 80px rgba(0, 0, 0, .48), 0 0 0 5px rgba(54, 91, 137, .17);
  transform: perspective(1100px) rotateY(-1.5deg);
}
.window-topbar { min-height: 45px; display: grid; grid-template-columns: 78px 1fr 160px; align-items: center; padding: 0 14px; border-bottom: 1px solid rgba(110, 151, 198, .16); background: #091726; font-size: 11px; }
.traffic-lights { display: flex; gap: 5px; }
.traffic-lights i { width: 7px; height: 7px; border-radius: 50%; display: block; background: #ff5e57; }
.traffic-lights i:nth-child(2) { background: #ffbd2e; }
.traffic-lights i:nth-child(3) { background: #28c840; }
.window-brand { display: flex; align-items: center; gap: 7px; }
.window-brand img { width: 24px; height: 27px; object-fit: contain; }
.window-brand strong { font-size: 13px; }
.running { justify-self: end; color: #b6c2d3; }
.running b { display: inline-block; width: 7px; height: 7px; margin-right: 6px; background: var(--green); border-radius: 50%; }
.app-layout { min-height: 310px; display: grid; grid-template-columns: 145px 1fr; }
.app-sidebar { padding: 14px 10px; border-right: 1px solid rgba(105, 149, 196, .14); background: #091725; }
.app-nav { border-radius: 6px; padding: 9px 10px; color: #c1ccda; font-size: 10px; margin-bottom: 3px; display: flex; gap: 8px; align-items: center; }
.app-nav.active { background: #0e3474; color: white; }
.app-content { padding: 16px; }
.content-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-size: 12px; }
.content-heading button { border: 0; border-radius: 6px; background: #216df1; color: white; font: inherit; padding: 6px 10px; }
.repo-list { border: 1px solid rgba(115, 157, 209, .18); border-radius: 8px; overflow: hidden; background: #0a1827; }
.repo-row { min-height: 55px; display: grid; grid-template-columns: 1fr 72px 60px; align-items: center; gap: 10px; padding: 8px 10px; border-bottom: 1px solid rgba(115, 157, 209, .14); font-size: 9px; }
.repo-row:last-child { border-bottom: 0; }
.repo-row > div { display: grid; grid-template-columns: 28px 1fr; align-items: center; }
.repo-row .folder { grid-row: 1 / span 2; font-size: 19px; color: #388cff; }
.repo-row strong { font-size: 10px; }
.repo-row small { color: #70839c; }
.approved { justify-self: center; border-radius: 5px; background: rgba(8, 147, 89, .35); color: #52e6a5; padding: 4px 7px; }
.repo-row em { color: #bac5d2; font-style: normal; text-align: right; }
.app-bottom-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 10px; margin-top: 10px; }
.mini-panel { min-height: 78px; padding: 10px; border-radius: 8px; border: 1px solid rgba(115, 157, 209, .17); background: #0a1827; font-size: 9px; }
.mini-panel strong { font-size: 10px; }
.mini-panel p { margin: 6px 0 0; }
.secure-text { color: #39d99a; }
.mini-panel small { color: #71839a; }
.activity-panel p { display: flex; align-items: center; gap: 5px; color: #c0cbda; }
.activity-panel p i { width: 5px; height: 5px; background: var(--green); border-radius: 50%; }
.activity-panel p span { margin-left: auto; color: #71839a; }
.visual-note { position: absolute; right: -16px; top: 82px; color: rgba(130, 157, 229, .7); font-size: 13px; letter-spacing: .08em; transform: rotate(5deg); }
.mountain { position: absolute; bottom: 0; clip-path: polygon(0 80%, 16% 62%, 26% 70%, 38% 42%, 52% 68%, 61% 55%, 73% 74%, 86% 49%, 100% 81%, 100% 100%, 0 100%); }
.mountain-back { left: -4%; right: -3%; height: 220px; background: linear-gradient(180deg, rgba(40, 78, 137, .42), rgba(8, 29, 54, .14)); opacity: .55; }
.mountain-front { left: 22%; right: -12%; height: 175px; background: linear-gradient(180deg, rgba(28, 66, 119, .52), rgba(5, 22, 39, .42)); opacity: .7; }

.feature-grid { max-width: var(--max); margin: 0 auto; padding: 14px 24px 32px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.feature-card { min-height: 180px; padding: 17px 15px; border: 1px solid var(--line); border-radius: 9px; background: linear-gradient(180deg, rgba(11, 29, 49, .84), rgba(8, 24, 42, .72)); }
.feature-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; margin-bottom: 12px; color: #8f73ff; background: rgba(77, 53, 207, .15); font-size: 22px; }
.folder-icon { color: #2989ff; background: rgba(30, 111, 219, .14); }
.shield-icon { color: #32dfd1; background: rgba(24, 177, 178, .13); }
.link-icon { color: #6a8cff; background: rgba(70, 93, 217, .12); }
.feature-card h3 { margin: 0; font-size: 14px; line-height: 1.3; }
.feature-card p { margin: 9px 0 0; color: #afbdd0; font-size: 12px; line-height: 1.5; }

.how-it-works { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 24px 30px; background: rgba(2, 13, 26, .34); }
.section-heading, .steps { max-width: calc(var(--max) - 48px); margin-left: auto; margin-right: auto; }
.section-heading h2 { margin: 0; font-size: 28px; }
.section-heading > p:last-child { margin: 2px 0 0; color: #aebcd0; font-size: 13px; }
.steps { display: grid; grid-template-columns: 1fr 36px 1fr 36px 1fr; gap: 22px; align-items: center; margin-top: 22px; }
.step { display: grid; grid-template-columns: 40px 42px 1fr; gap: 10px; align-items: start; }
.step-number { width: 38px; height: 38px; border: 1px solid #356ee2; border-radius: 50%; display: grid; place-items: center; font-weight: 700; }
.step-icon { color: #1e91ff; font-size: 24px; padding-top: 5px; }
.step:nth-of-type(2) .step-icon { color: #24d8c7; }
.code-icon { font-size: 18px; color: #29a7ff; }
.step h3 { margin: 2px 0 3px; font-size: 14px; }
.step p { margin: 0; color: #aebdd0; font-size: 12px; }
.step-arrow { color: #5e86d2; font-size: 25px; text-align: center; }

.security-band { max-width: var(--max); margin: 0 auto; padding: 18px 24px 20px; display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: 48px; }
.security-copy h2 { margin: 0; font-size: 19px; }
.security-copy p { margin: 2px 0 0; color: #aebcd0; font-size: 12px; }
.security-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.security-points > div { display: grid; grid-template-columns: 35px 1fr; align-items: start; }
.security-points > div > span { font-size: 24px; color: #3898ff; }
.security-points > div:nth-child(2) > span { color: #ff5060; }
.security-points > div:nth-child(3) > span { color: #2dc9ff; }
.security-points p { display: grid; margin: 0; }
.security-points strong { font-size: 11px; }
.security-points small { margin-top: 2px; color: #9baac0; font-size: 10px; }

.pricing { max-width: calc(var(--max) - 48px); margin: 0 auto 22px; padding: 28px; border: 1px solid var(--line); border-radius: 12px; display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: center; background: linear-gradient(120deg, rgba(7, 27, 49, .78), rgba(18, 29, 74, .4)); }
.pricing h2 { margin: 0; font-size: 27px; }
.pricing > div > p:last-child { color: #adbbce; max-width: 700px; }
.pricing-card { min-height: 150px; border: 1px solid var(--line-strong); border-radius: 12px; padding: 18px; background: rgba(6, 21, 39, .72); display: grid; align-content: center; }
.pricing-label { color: #7ba4ff; text-transform: uppercase; letter-spacing: .14em; font-size: 10px; }
.pricing-card strong { font-size: 23px; margin-top: 5px; }
.pricing-card small { color: #a9b6ca; }
.text-link { margin-top: 12px; color: #7ca8ff; font-size: 13px; font-weight: 700; }

.download-cta { max-width: calc(var(--max) - 48px); margin: 0 auto 26px; min-height: 108px; border: 1px solid #2d6fd0; border-radius: 12px; padding: 16px 22px; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; background: radial-gradient(circle at 95% 100%, rgba(94, 71, 203, .28), transparent 27%), linear-gradient(110deg, rgba(7, 30, 55, .94), rgba(7, 24, 48, .86)); }
.cta-copy { display: flex; align-items: center; gap: 15px; }
.cta-copy img { width: 45px; }
.cta-copy h2 { margin: 0; font-size: 20px; }
.cta-copy p { margin: 2px 0 0; color: #b3c0d2; font-size: 12px; }
.cta-actions { display: grid; grid-template-columns: auto auto; gap: 8px 10px; }
.cta-actions p { grid-column: 1 / -1; margin: 0; text-align: center; color: #8f9db3; font-size: 9px; }
.cta-actions p span { margin: 0 5px; }

.site-footer { max-width: var(--max); margin: 0 auto; padding: 16px 24px 24px; display: grid; grid-template-columns: 250px 1fr auto auto; gap: 25px; align-items: center; border-top: 1px solid var(--line); color: #98a7bd; font-size: 10px; }
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-brand img { width: 32px; }
.footer-brand div { display: grid; }
.footer-brand strong { color: #eef4ff; font-size: 14px; }
.footer-brand small { color: #99a8bd; font-size: 9px; }
.site-footer nav, .footer-links { display: flex; gap: 20px; }
.site-footer p { margin: 0; }

.download-notice { position: fixed; left: 50%; bottom: 22px; z-index: 20; transform: translateX(-50%); width: min(calc(100% - 32px), 620px); padding: 14px 48px 14px 16px; border: 1px solid #3e79d1; border-radius: 10px; background: #0a203b; box-shadow: 0 14px 50px rgba(0,0,0,.4); display: grid; gap: 2px; font-size: 12px; }
.download-notice[hidden] { display: none; }
.download-notice span { color: #b4c0d0; }
.download-notice code { color: #8eb4ff; }
.download-notice button { position: absolute; right: 12px; top: 10px; border: 0; background: none; color: white; font-size: 22px; cursor: pointer; }

@media (max-width: 1120px) {
  .site-header { grid-template-columns: 260px 1fr; }
  .header-note { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 38px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { min-height: 440px; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .security-band { grid-template-columns: 1fr; gap: 18px; }
  .site-footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .site-header { min-height: 72px; grid-template-columns: 1fr auto; position: relative; padding: 11px 18px; }
  .brand-shield { width: 35px; height: 40px; }
  .brand-copy strong { font-size: 19px; }
  .brand-copy small { font-size: 10px; }
  .menu-toggle { display: grid; gap: 4px; border: 0; background: none; padding: 8px; }
  .menu-toggle span:not(.sr-only) { display: block; width: 23px; height: 2px; background: white; }
  .site-nav { display: none; position: absolute; z-index: 10; top: 72px; left: 12px; right: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: #08192d; box-shadow: 0 18px 35px rgba(0,0,0,.35); flex-direction: column; gap: 4px; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 9px 8px; }
  .hero { padding: 34px 18px 24px; gap: 15px; }
  .hero h1 { font-size: clamp(39px, 11vw, 55px); }
  .hero-lede { font-size: 15px; }
  .button { width: 100%; }
  .hero-meta { gap: 10px 16px; }
  .hero-visual { min-height: 350px; margin-top: 12px; }
  .app-window { transform: none; }
  .app-layout { grid-template-columns: 100px 1fr; }
  .app-sidebar { padding: 10px 6px; }
  .app-nav { padding: 8px 6px; font-size: 0; }
  .app-nav span { font-size: 16px; }
  .window-topbar { grid-template-columns: 55px 1fr; }
  .running { display: none; }
  .repo-row { grid-template-columns: 1fr 62px; }
  .repo-row em { display: none; }
  .app-bottom-grid { grid-template-columns: 1fr; }
  .activity-panel { display: none; }
  .visual-note { display: none; }
  .feature-grid { padding: 14px 18px 25px; grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step-arrow { transform: rotate(90deg); }
  .security-points { grid-template-columns: 1fr; gap: 12px; }
  .pricing { grid-template-columns: 1fr; margin-left: 18px; margin-right: 18px; padding: 22px; gap: 18px; }
  .download-cta { margin-left: 18px; margin-right: 18px; grid-template-columns: 1fr; }
  .cta-actions { grid-template-columns: 1fr; }
  .cta-actions p { grid-column: auto; }
  .site-footer { grid-template-columns: 1fr; padding: 17px 18px 25px; }
}

@media (max-width: 480px) {
  .feature-grid { grid-template-columns: 1fr; }
  .hero-meta span { width: 100%; }
  .app-layout { grid-template-columns: 64px 1fr; }
  .content-heading button { font-size: 0; width: 28px; height: 28px; padding: 0; }
  .content-heading button::after { content: "+"; font-size: 16px; }
  .repo-row { padding-left: 7px; padding-right: 7px; }
}

/* SSGB commercial pricing */
.pricing-section {
  display: block;
}

.pricing-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.pricing-plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 28px 24px;
  border: 1px solid rgba(93, 156, 255, .28);
  border-radius: 16px;
  background: rgba(8, 29, 52, .72);
}

.plan-featured {
  border-color: rgba(53, 132, 255, .9);
  box-shadow: 0 18px 48px rgba(0, 90, 255, .16);
}

.plan-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(30, 124, 255, .18);
  border: 1px solid rgba(59, 142, 255, .45);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.plan-badge-muted {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.14);
}

.plan-head {
  min-height: 94px;
  padding-right: 58px;
}

.plan-head h3 {
  margin: 0 0 8px;
  font-size: 23px;
}

.plan-head p {
  margin: 0;
  color: var(--muted, #9eb0c8);
  line-height: 1.5;
}

.plan-price {
  display: flex;
  min-height: 74px;
  align-items: baseline;
  gap: 7px;
  margin: 20px 0;
}

.plan-price strong {
  font-size: 40px;
  line-height: 1;
  letter-spacing: -.04em;
}

.plan-price span {
  color: var(--muted, #9eb0c8);
  font-size: 13px;
}

.plan-card ul {
  flex: 1;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.plan-card li {
  position: relative;
  margin: 11px 0;
  padding-left: 20px;
  color: var(--muted, #b2c0d3);
  line-height: 1.45;
}

.plan-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #39d8b5;
  font-weight: 700;
}

.plan-action {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.plan-disabled {
  cursor: default;
  user-select: none;
}

.pricing-note {
  margin: 20px 0 0;
  text-align: center;
  color: var(--muted, #8294ad);
  font-size: 12px;
}

@media (max-width: 1100px) {
  .pricing-plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .pricing-plans {
    grid-template-columns: 1fr;
  }

  .plan-head {
    min-height: 0;
  }
}
