:root {
  color-scheme: dark;
  --bg: #0d1015;
  --panel: #151922;
  --panel-2: #1d2430;
  --stroke: #2a3342;
  --text: #f0f6fb;
  --muted: #9aa8b8;
  --accent: #36d399;
  --blue: #58a6ff;
  --pink: #ff7ab6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 66px;
  padding: 0 clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(13,16,21,.78);
  backdrop-filter: blur(18px);
}
.site-brand, .site-actions, .site-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}
.site-brand { font-weight: 800; }
.site-nav { color: var(--muted); }
.site-nav a:hover { color: var(--text); }
.logo-mark {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background:
    radial-gradient(circle at 6px 6px, #0d1015 0 2px, transparent 2px),
    radial-gradient(circle at 16px 16px, #0d1015 0 2px, transparent 2px),
    linear-gradient(135deg, var(--accent), var(--blue));
}
.primary-btn, .ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.12);
  font-weight: 750;
}
.primary-btn {
  border-color: rgba(54,211,153,.5);
  background: linear-gradient(135deg, #2fc98f, #4f9eff);
  color: #071016;
}
.ghost-btn {
  background: rgba(255,255,255,.045);
  color: var(--text);
}
.large { min-height: 48px; padding: 0 22px; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 560px);
  gap: clamp(28px, 5vw, 72px);
  min-height: calc(100vh - 66px);
  padding: clamp(70px, 10vw, 128px) clamp(18px, 5vw, 72px) 80px;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .55;
  background:
    linear-gradient(rgba(88,166,255,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88,166,255,.09) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 65% 35%, black, transparent 70%);
  animation: drift 16s linear infinite;
}
.hero-copy, .hero-visual { position: relative; z-index: 1; }
.eyebrow {
  margin: 0 0 12px;
  color: #8eeac8;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .08em;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 18px;
  font-size: clamp(54px, 9vw, 112px);
  line-height: .9;
  letter-spacing: 0;
}
h2 {
  max-width: 720px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
}
.tagline {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
}
.hero-actions, .signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.signal-row { color: var(--muted); }
.signal-row span {
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
}

.hero-visual {
  align-self: center;
  min-height: 520px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.025));
  box-shadow: 0 30px 90px rgba(0,0,0,.42);
  overflow: hidden;
}
.mock-toolbar {
  display: flex;
  gap: 7px;
  height: 44px;
  padding: 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mock-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3b4658;
}
.board-stage {
  position: relative;
  height: calc(100% - 44px);
  display: grid;
  place-items: center;
}
.board-card, .mini-board {
  position: relative;
  width: min(78%, 390px);
  aspect-ratio: 1.55;
  border-radius: 16px;
  background:
    radial-gradient(circle at 18% 22%, #0d1015 0 6px, transparent 7px),
    radial-gradient(circle at 82% 78%, #0d1015 0 6px, transparent 7px),
    linear-gradient(135deg, #137c59, #1fa876);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.16), 0 26px 80px rgba(0,0,0,.36);
  transform: perspective(900px) rotateX(58deg) rotateZ(-27deg);
  animation: boardFloat 5s ease-in-out infinite;
}
.chip, .trace, .via { position: absolute; display: block; }
.chip {
  width: 70px;
  height: 54px;
  border-radius: 8px;
  background: #202837;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.chip-a { left: 25%; top: 34%; }
.chip-b { right: 18%; top: 42%; width: 58px; height: 42px; }
.trace {
  height: 5px;
  border-radius: 99px;
  background: #f2c14e;
  transform-origin: left center;
}
.t1 { left: 38%; top: 46%; width: 130px; transform: rotate(8deg); }
.t2 { left: 45%; top: 58%; width: 92px; transform: rotate(-18deg); }
.t3 { left: 18%; top: 30%; width: 150px; transform: rotate(38deg); }
.via {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #e2b867;
  box-shadow: inset 0 0 0 5px #101318;
}
.v1 { left: 48%; top: 41%; }
.v2 { left: 64%; top: 61%; }
.floating-preview {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 190px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(15,18,25,.84);
  backdrop-filter: blur(18px);
}
.floating-preview span { color: var(--muted); font-weight: 750; }
.mini-board {
  width: 100%;
  margin-top: 12px;
  border-radius: 10px;
}

.section {
  padding: 86px clamp(18px, 5vw, 72px);
}
.section-head {
  margin-bottom: 28px;
}
.feature-grid, .pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.feature-grid article, .pricing-card {
  min-height: 210px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.feature-grid article:hover, .pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(54,211,153,.38);
  background: linear-gradient(180deg, rgba(54,211,153,.09), rgba(255,255,255,.025));
}
.feature-grid span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 28px;
  border-radius: 9px;
  background: rgba(54,211,153,.13);
  color: #9ff7d8;
}
.feature-grid p, .preview-copy p, .pricing-card p, .site-footer p {
  color: var(--muted);
}

.preview-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 28px;
  align-items: center;
}
.preview-editor {
  display: grid;
  grid-template-columns: 170px 1fr;
  min-height: 420px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  overflow: hidden;
  background: #10141b;
}
.preview-side {
  border-right: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(#202633 0 34px, transparent 34px 46px) 18px 20px / 110px 46px repeat-y;
}
.preview-canvas {
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 24px 24px;
}
.preview-board {
  width: 70%;
  aspect-ratio: 1.7;
  border-radius: 14px;
  background: linear-gradient(135deg, #137c59, #25b889);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.15);
}

.pricing-card {
  min-height: 250px;
}
.pricing-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
}
.price {
  display: block;
  margin-bottom: 18px;
  color: #8eeac8;
  font-size: 26px;
  font-weight: 850;
}
.pricing-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 34px clamp(18px, 5vw, 72px);
  border-top: 1px solid rgba(255,255,255,.08);
  color: var(--muted);
}
.site-footer div { margin-right: auto; max-width: 420px; }
.site-footer strong { color: var(--text); }

@keyframes drift {
  from { background-position: 0 0; }
  to { background-position: 84px 42px; }
}
@keyframes boardFloat {
  0%, 100% { transform: perspective(900px) rotateX(58deg) rotateZ(-27deg) translateY(0); }
  50% { transform: perspective(900px) rotateX(58deg) rotateZ(-27deg) translateY(-12px); }
}

@media (max-width: 980px) {
  .hero, .preview-shell {
    grid-template-columns: 1fr;
  }
  .feature-grid, .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 680px) {
  .site-nav { display: none; }
  .site-header { padding-inline: 14px; }
  .hero { padding-top: 48px; }
  .hero-visual { min-height: 420px; }
  .feature-grid, .pricing-grid, .preview-editor {
    grid-template-columns: 1fr;
  }
  .preview-side { display: none; }
  .site-actions .ghost-btn { display: none; }
}
