:root {
  --ink: #07111f;
  --ink-soft: #15263c;
  --paper: #f6f8fb;
  --white: #ffffff;
  --muted: #5e6c7e;
  --line: rgba(7, 17, 31, 0.12);
  --blue: #1877f2;
  --blue-bright: #4d9cff;
  --green: #38d475;
  --green-dark: #16a653;
  --radius: 22px;
  --shadow: 0 24px 80px rgba(7, 17, 31, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--blue);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand img {
  border-radius: 7px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--white);
}

.nav-links .nav-cta {
  padding: 9px 16px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9px;
}

.nav-links .nav-cta:hover {
  background: rgba(255, 255, 255, 0.17);
}

.hero {
  position: relative;
  min-height: 810px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 78% 35%, rgba(24, 119, 242, 0.25), transparent 31%),
    linear-gradient(135deg, #07111f 0%, #09192e 58%, #07111f 100%);
  background-size: 48px 48px, 48px 48px, auto, auto;
}

.hero::after {
  position: absolute;
  right: -8%;
  bottom: -190px;
  left: -8%;
  height: 270px;
  content: "";
  background: var(--paper);
  border-radius: 50% 50% 0 0 / 18% 18% 0 0;
}

.hero-glow {
  position: absolute;
  top: 180px;
  left: 9%;
  width: 300px;
  height: 300px;
  background: rgba(56, 212, 117, 0.07);
  border-radius: 50%;
  filter: blur(55px);
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(540px, 1.12fr);
  gap: 56px;
  align-items: center;
  padding-top: 172px;
  padding-bottom: 170px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #72e79f;
}

.eyebrow span {
  width: 21px;
  height: 2px;
  background: currentColor;
}

.hero h1,
.section-heading h2,
.workflow-copy h2,
.install-copy h2 {
  margin: 0;
  font-weight: 710;
  letter-spacing: -0.055em;
  line-height: 0.97;
}

.hero h1 {
  max-width: 620px;
  font-size: clamp(56px, 6vw, 86px);
}

.hero h1 em {
  color: var(--blue-bright);
  font-style: normal;
}

.hero-lead {
  max-width: 590px;
  margin: 28px 0 32px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 18px;
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.copy-button:focus-visible,
.nav-links a:focus-visible,
.text-link:focus-visible,
.footer-links a:focus-visible {
  outline: 3px solid rgba(77, 156, 255, 0.45);
  outline-offset: 3px;
}

.button-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 12px 35px rgba(24, 119, 242, 0.26);
}

.button-primary:hover {
  background: #2985fb;
  box-shadow: 0 16px 40px rgba(24, 119, 242, 0.35);
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.install-command {
  max-width: 540px;
  min-height: 50px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  margin-top: 22px;
  padding: 7px 8px 7px 14px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
}

.install-command .prompt {
  color: var(--green);
  font-size: 20px;
  font-weight: 800;
}

.install-command code,
.terminal-command code {
  overflow: hidden;
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-button {
  min-width: 57px;
  min-height: 34px;
  padding: 7px 10px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 7px;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
}

.copy-button:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 25px 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  list-style: none;
}

.hero-facts li + li::before {
  margin-right: 18px;
  color: var(--green);
  content: "·";
}

.hero-facts strong {
  color: rgba(255, 255, 255, 0.82);
}

.product-stage {
  position: relative;
  width: clamp(720px, 42vw, 800px);
  max-width: none;
  margin-left: -24px;
  isolation: isolate;
}

.screenshot-frame {
  position: relative;
  z-index: 3;
  overflow: hidden;
  background: #dce1e8;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  box-shadow: 34px 46px 100px rgba(0, 0, 0, 0.46), 0 0 0 8px rgba(255, 255, 255, 0.03);
  transform: perspective(1350px) rotateY(-14deg) rotateX(1.5deg) rotateZ(0.35deg);
  transform-origin: center center;
}

.screenshot-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 911 / 576;
  object-fit: contain;
  background: #fff;
}

.stage-orbit {
  position: absolute;
  border: 1px solid rgba(77, 156, 255, 0.23);
  border-radius: 50%;
}

.orbit-one {
  top: -120px;
  right: -45px;
  width: 680px;
  height: 680px;
}

.orbit-two {
  top: -38px;
  right: 36px;
  width: 510px;
  height: 510px;
}

.speed-card {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 162px;
  padding: 11px 13px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 11px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(10px);
}

.speed-card-top {
  top: -47px;
  right: 86px;
}

.speed-card-bottom {
  right: 18px;
  bottom: -50px;
}

.speed-icon {
  width: 32px;
  height: 32px;
  display: grid;
  color: var(--blue);
  background: #eaf3ff;
  border-radius: 8px;
  place-items: center;
}

.speed-card strong,
.speed-card small {
  display: block;
}

.speed-card strong {
  font-size: 12px;
  line-height: 1.3;
}

.speed-card small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

.signal-strip {
  position: relative;
  z-index: 4;
  margin-top: -50px;
}

.signal-grid {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 34px;
  color: #536173;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 15px 55px rgba(7, 17, 31, 0.09);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.signal-grid i {
  width: 4px;
  height: 4px;
  background: var(--green);
  border-radius: 50%;
}

.section {
  padding: 120px 0;
}

.features-section {
  padding-top: 140px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 52px;
}

.section-heading h2,
.workflow-copy h2,
.install-copy h2 {
  font-size: clamp(44px, 5vw, 68px);
}

.section-heading > p {
  max-width: 450px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 17px;
}

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

.feature-card {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  padding: 36px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.feature-wide {
  min-height: 430px;
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

.feature-number {
  position: absolute;
  top: 30px;
  right: 32px;
  color: #bcc6d2;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
}

.card-kicker {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature-card h3 {
  max-width: 590px;
  margin: 0;
  font-size: clamp(28px, 3vw, 41px);
  font-weight: 680;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.feature-card > p,
.feature-copy > p:last-child {
  max-width: 530px;
  margin: 22px 0 0;
  color: var(--muted);
}

.index-visual {
  padding: 28px;
  background: #0a1728;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  box-shadow: 0 24px 55px rgba(7, 17, 31, 0.25);
}

.index-stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 26px;
}

.index-stat strong {
  color: var(--white);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: clamp(24px, 3vw, 38px);
  letter-spacing: -0.05em;
}

.index-stat span {
  color: #8290a2;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.index-line {
  height: 5px;
  margin-top: 13px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 5px;
}

.index-line span {
  width: var(--w);
  height: 100%;
  display: block;
  background: linear-gradient(90deg, var(--blue), var(--green));
  border-radius: inherit;
}

.code-chips,
.action-row {
  position: absolute;
  right: 36px;
  bottom: 34px;
  left: 36px;
  display: flex;
  gap: 8px;
}

.code-chips span,
.action-row span {
  padding: 8px 11px;
  color: #4c5a6e;
  background: #f2f5f8;
  border: 1px solid #e2e7ed;
  border-radius: 7px;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
}

.feature-accent {
  color: var(--white);
  background:
    radial-gradient(circle at 85% 15%, rgba(77, 156, 255, 0.22), transparent 30%),
    #0a1728;
  border-color: rgba(255, 255, 255, 0.08);
}

.feature-accent .feature-number {
  color: #4a5a70;
}

.feature-accent .card-kicker {
  color: #72e79f;
}

.feature-accent > p {
  color: #93a0b1;
}

.feature-accent .action-row span {
  color: #cbd4df;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.pin-list {
  position: absolute;
  right: 36px;
  bottom: 34px;
  left: 36px;
  display: grid;
  gap: 7px;
}

.pin-list span {
  padding: 8px 12px;
  color: #526176;
  background: #f7f9fb;
  border: 1px solid #e7ebf0;
  border-radius: 7px;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 10px;
}

.pin-list span::first-letter {
  color: var(--green);
}

.feature-keyboard {
  background: linear-gradient(135deg, #ffffff, #f0f6ff);
}

.key-cluster {
  display: grid;
  grid-template-columns: 58px 44px 1fr;
  gap: 12px;
  align-items: center;
  padding: 30px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(7, 17, 31, 0.1);
  border-radius: 15px;
  box-shadow: 0 18px 45px rgba(24, 119, 242, 0.08);
}

.key-cluster kbd {
  min-width: 42px;
  min-height: 42px;
  display: grid;
  padding: 6px;
  color: #314157;
  background: #fff;
  border: 1px solid #ccd5e0;
  border-bottom-width: 3px;
  border-radius: 8px;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
  place-items: center;
}

.key-cluster kbd:nth-of-type(2) {
  grid-column: 2;
}

.key-cluster kbd:nth-of-type(3),
.key-cluster kbd:nth-of-type(4) {
  grid-column: 1 / 3;
  justify-self: start;
}

.key-cluster span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.workflow-section {
  color: var(--white);
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    #07111f;
  background-size: 56px 56px;
}

.workflow-section .shell {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 110px;
  align-items: start;
}

.eyebrow-light {
  color: #72e79f;
}

.workflow-copy {
  position: sticky;
  top: 50px;
}

.workflow-copy > p:not(.eyebrow) {
  max-width: 430px;
  margin: 28px 0 26px;
  color: #8d9caf;
}

.text-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: #9dc7ff;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.text-link:hover span {
  transform: translateX(4px);
}

.text-link span {
  transition: transform 160ms ease;
}

.workflow-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-steps li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 38px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.workflow-steps li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.step-number {
  color: #4d9cff;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
}

.workflow-steps h3 {
  margin: -6px 0 7px;
  font-size: 29px;
  font-weight: 680;
  letter-spacing: -0.035em;
}

.workflow-steps p {
  max-width: 570px;
  margin: 0;
  color: #8d9caf;
}

.install-section {
  background: #eaf0f6;
}

.install-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: center;
  padding: 70px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 30px 80px rgba(7, 17, 31, 0.1);
}

.install-copy > p:last-child {
  margin: 25px 0 0;
  color: var(--muted);
}

.terminal-card {
  overflow: hidden;
  color: var(--white);
  background: #07111f;
  border-radius: 13px;
  box-shadow: 0 20px 50px rgba(7, 17, 31, 0.2);
}

.terminal-label {
  display: flex;
  justify-content: space-between;
  padding: 11px 15px;
  color: #7d8da1;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 10px;
  font-weight: 650;
}

.terminal-command {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 16px 17px;
}

.terminal-command > span {
  color: var(--green);
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 12px;
}

.install-links {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 18px;
}

.install-links > span {
  color: var(--muted);
  font-size: 11px;
}

.standalone-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #526176;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.standalone-link:hover {
  color: var(--blue);
}

.standalone-link:focus-visible {
  outline: 3px solid rgba(77, 156, 255, 0.35);
  outline-offset: 4px;
}

.installer-note {
  margin: 16px 0 0;
  color: #7a6a4f;
  font-size: 11px;
  line-height: 1.55;
}

.installer-note strong {
  color: #5c4c32;
}

.site-footer {
  padding: 32px 0;
  color: #718095;
  background: #07111f;
}

.footer-layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
}

.footer-brand {
  color: var(--white);
}

.site-footer p {
  margin: 0;
  font-size: 12px;
}

.site-footer p a {
  color: #a5b4c7;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
}

.footer-links a {
  color: #8c9aab;
  font-size: 12px;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--white);
}

@media (max-width: 1100px) {
  .hero-layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
  }

  .product-stage {
    width: 680px;
    margin-left: 0;
  }

  .install-panel {
    padding: 54px;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    padding-top: 150px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .product-stage {
    width: 100%;
    margin-left: 0;
  }

  .screenshot-frame {
    transform: perspective(1350px) rotateY(-8deg) rotateX(1deg);
  }

  .speed-card-top {
    right: 24px;
  }

  .speed-card-bottom {
    right: 22px;
  }

  .section-heading,
  .workflow-section .shell,
  .install-panel {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .workflow-section .shell {
    gap: 42px;
  }

  .install-panel {
    gap: 45px;
  }

  .workflow-copy {
    position: static;
  }

  .footer-layout {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer p {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 30px, 1180px);
  }

  .nav-shell {
    min-height: 68px;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .hero-layout {
    padding-top: 125px;
    padding-bottom: 145px;
  }

  .hero h1 {
    font-size: clamp(48px, 15vw, 68px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .install-command code,
  .terminal-command code {
    font-size: 10px;
  }

  .hero-facts {
    display: grid;
    gap: 5px;
  }

  .hero-facts li + li::before {
    margin-right: 8px;
  }

  .screenshot-frame {
    transform: none;
  }

  .speed-card {
    display: none;
  }

  .signal-grid {
    min-height: 90px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 18px;
    text-align: center;
  }

  .signal-grid i {
    display: none;
  }

  .section {
    padding: 86px 0;
  }

  .features-section {
    padding-top: 105px;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading h2,
  .workflow-copy h2,
  .install-copy h2 {
    font-size: 44px;
  }

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

  .feature-card,
  .feature-wide {
    min-height: 390px;
    display: block;
    grid-column: auto;
    padding: 28px;
  }

  .feature-wide.feature-index,
  .feature-wide.feature-keyboard {
    min-height: auto;
  }

  .index-visual,
  .key-cluster {
    margin-top: 32px;
  }

  .code-chips,
  .action-row,
  .pin-list {
    right: 28px;
    bottom: 28px;
    left: 28px;
  }

  .workflow-steps li {
    grid-template-columns: 44px 1fr;
    gap: 12px;
  }

  .install-panel {
    width: calc(100% - 22px);
    padding: 38px 22px;
  }

  .install-links {
    align-items: stretch;
    flex-direction: column;
  }

  .standalone-link {
    justify-content: center;
  }

  .footer-layout {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .site-footer p {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
