:root {
  --bg: #f4f6fb;
  --surface: #ffffff;
  --surface-raised: #eef1f9;
  --border: #d7deee;
  --text: #0d1430;
  --text-dim: #4a5578;
  --accent: #1c5fd1;
  --accent-soft: #e3ecfd;
  --warm: #d97b1f;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #05070f;
    --surface: #0b1230;
    --surface-raised: #121b42;
    --border: #232e5c;
    --text: #e9edfb;
    --text-dim: #9aa6cf;
    --accent: #5c9bf2;
    --accent-soft: #16307a;
    --warm: #ffb86b;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #05070f;
  --surface: #0b1230;
  --surface-raised: #121b42;
  --border: #232e5c;
  --text: #e9edfb;
  --text-dim: #9aa6cf;
  --accent: #5c9bf2;
  --accent-soft: #16307a;
  --warm: #ffb86b;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: "Unbounded", system-ui, sans-serif;
  text-wrap: balance;
  margin: 0;
}

.mono {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
}

a {
  color: inherit;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding-inline: 20px;
}

/* nav */
nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  height: 30px;
  width: auto;
  display: block;
}

.navlinks {
  display: none;
  gap: 28px;
  font-size: 14px;
  color: var(--text-dim);
}

.navlinks a:hover {
  color: var(--text);
}

@media (min-width: 720px) {
  .navlinks {
    display: flex;
  }
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.lang-switch a,
.lang-switch .lang-current {
  color: var(--text-dim);
  text-decoration: none;
}

.lang-switch a:hover {
  color: var(--text);
}

.lang-switch .lang-current {
  color: var(--accent);
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #04112f;
}

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
}

/* hero */
.hero {
  padding-block: 64px 48px;
}

.hero-mark {
  width: min(340px, 70%);
  height: auto;
  margin-bottom: 26px;
  display: block;
}

.hero .wrap {
  max-width: 1320px;
}

.hero-grid {
  display: grid;
  gap: 40px;
  align-items: start;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 0.9fr 1.3fr;
  }
}

.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.hero p.lead {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 46ch;
  margin-block: 20px 28px;
  line-height: 1.55;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* mock dashboard panel — placeholder until a real screenshot replaces it */
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 60px -20px rgba(10, 20, 60, 0.35);
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-raised);
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border);
}

.panel-title {
  font-size: 12px;
  color: var(--text-dim);
  margin-left: 4px;
}

.panel-body {
  padding: 18px;
  display: grid;
  gap: 12px;
}


.slideshow {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.slide-frame {
  position: relative;
  height: 480px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface-raised);
  overflow: hidden;
}

.slide-frame .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  opacity: 0;
  transform: translateY(0px);
  transition: opacity 0.6s ease;
  will-change: transform;
}

.slide-frame .slide.active {
  opacity: 1;
}

.slide-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
}

.slide-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
}

.slide-dot.active {
  background: var(--accent);
}

@media (max-width: 460px) {
  .slide-frame {
    height: 260px;
  }
}

section {
  padding-block: 56px;
}

.section-head {
  max-width: 56ch;
  margin-bottom: 32px;
}

.section-head .eyebrow {
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(24px, 3.4vw, 32px);
}

.section-head p {
  color: var(--text-dim);
  margin-top: 10px;
  line-height: 1.55;
}

.feature-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}

.feature .icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 16px;
}

.feature h3 {
  font-size: 15px;
  margin-bottom: 8px;
}

.feature p {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.5;
  margin: 0;
}

.steps {
  display: grid;
  gap: 20px;
}

@media (min-width: 860px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  padding: 4px;
}

.step .num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}

.step h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.step p {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.55;
  margin: 0;
}

.install-box {
  margin-top: 32px;
  padding: 16px 18px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.gallery {
  display: grid;
  gap: 16px;
}

@media (min-width: 860px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

.shot {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
}

.shot .chrome {
  display: flex;
  gap: 6px;
  padding: 8px 10px;
  background: var(--surface-raised);
  border-bottom: 1px solid var(--border);
}

.shot .chrome span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border);
}

.shot figcaption {
  padding: 10px 12px;
  font-size: 12.5px;
  color: var(--text-dim);
}

.shot .body {
  height: 340px;
  background: var(--surface-raised);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 12px;
  overflow: hidden;
}

.shot .body img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(3, 5, 12, 0.86);
  cursor: zoom-out;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 6px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.18);
}

.plugin-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chip {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  padding: 7px 12px;
  border-radius: 7px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  color: var(--text-dim);
}

footer {
  border-top: 1px solid var(--border);
  padding-block: 36px;
  margin-top: 20px;
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}

footer p {
  font-size: 13px;
  color: var(--text-dim);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

footer p img.foot-mark {
  height: 20px;
  width: auto;
}

.foot-links {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--text-dim);
}

code.inline {
  font-family: "IBM Plex Mono", monospace;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 12.5px;
}
