:root {
  --bg: #0e0e10;
  --surface: #18181c;
  --surface2: #222228;
  --border: #2e2e38;
  --accent: #7c6af7;
  --accent2: #c084fc;
  --text: #e8e8f0;
  --muted: #b0b0c3;
  --green: #4ade80;
  --yellow: #fbbf24;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(124, 106, 247, 0.16), transparent 30%),
    radial-gradient(circle at top left, rgba(192, 132, 252, 0.08), transparent 20%),
    var(--bg);
  color: var(--text);
  font-family: "DM Mono", monospace;
  font-size: 14px;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

::selection {
  background: rgba(124, 106, 247, 0.35);
}

.site-shell,
.guide-shell {
  width: min(1180px, calc(100vw - 48px));
  margin: 0 auto;
}

.guide-shell {
  width: min(760px, calc(100vw - 48px));
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0 24px;
  border-bottom: 1px solid var(--border);
}

.brand-mark {
  font-family: "Sora", sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand-mark span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links a {
  transition: color 150ms ease;
}

.nav-links a:hover,
.nav-links .is-active {
  color: var(--text);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--text);
  border-radius: 10px;
  padding: 10px 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  cursor: pointer;
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(340px, 0.95fr) minmax(380px, 1.05fr);
  gap: 48px;
  align-items: center;
  padding: 72px 0 64px;
}

.eyebrow,
.card-label {
  color: var(--accent2);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h1,
.page-hero h1,
.spotlight-strip h2,
.feature-card h2,
.product-copy h2,
.contact-card h2,
.info-card h2,
.guide-section-header h2,
.faq-heading,
.faq-card h3 {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.hero-copy h1,
.page-hero h1,
.guide-hero h1 {
  margin-top: 18px;
  font-size: clamp(42px, 8vw, 78px);
  line-height: 0.95;
  background: linear-gradient(135deg, var(--text) 45%, var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text {
  margin-top: 18px;
  max-width: 640px;
  color: var(--muted);
}

.hero-actions,
.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 14px 24px;
  border: 1px solid transparent;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    transform 150ms ease,
    border-color 150ms ease,
    color 150ms ease,
    background 150ms ease;
  cursor: pointer;
}

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

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

.btn-secondary {
  background: var(--surface2);
  border-color: var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent2);
}

.hero-visual {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.hero-glow {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  filter: blur(48px);
  opacity: 0.18;
  pointer-events: none;
}

.hero-glow-left {
  left: 64px;
  top: 72px;
  background: rgba(124, 106, 247, 0.16);
}

.hero-glow-right {
  right: 52px;
  bottom: 52px;
  background: rgba(192, 132, 252, 0.12);
}

.board-card {
  width: min(280px, 45%);
  position: relative;
  background:
    linear-gradient(180deg, rgba(33, 33, 39, 0.98), rgba(20, 20, 25, 0.98));
  border: 1px solid rgba(55, 55, 68, 0.9);
  border-radius: 30px;
  padding: 22px 22px 26px;
  box-shadow:
    0 18px 60px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(4px);
}

.board-card::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.025);
  pointer-events: none;
}

.board-card-left {
  transform: rotate(-11deg) translateX(20px) translateY(8px);
}

.board-card-right {
  transform: rotate(11deg) translateX(-20px) translateY(-4px);
}

.board-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.board-meta-right {
  flex-direction: row-reverse;
}

.oled-screen {
  width: 44px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid #373746;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent),
    #101017;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.encoder-knob {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid #383846;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.12), transparent 35%),
    #17171d;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.key-row,
.thumb-cluster {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.key-row-offset-1 {
  margin-left: 6px;
}

.key-row-offset-2 {
  margin-left: 18px;
}

.key-row-offset-3 {
  margin-left: 30px;
}

.key-row span,
.thumb-cluster span {
  height: 38px;
  flex: 1;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 45%),
    #141419;
  border: 1px solid #2f2f3a;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.thumb-cluster {
  margin-top: 18px;
  justify-content: center;
}

.thumb-cluster span {
  flex: 0 0 46px;
  height: 46px;
}

.thumb-cluster .wide {
  flex-basis: 72px;
}

.key-accent {
  background:
    linear-gradient(180deg, rgba(214, 189, 255, 0.95), rgba(124, 106, 247, 0.92)) !important;
  border-color: rgba(192, 132, 252, 0.36) !important;
  box-shadow:
    0 0 18px rgba(124, 106, 247, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
}

.board-cable {
  position: absolute;
  width: 156px;
  height: 96px;
  border: 3px solid rgba(55, 55, 68, 0.9);
  border-top: none;
  border-radius: 0 0 100px 100px;
  top: 104px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.72;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 48px;
}

.feature-card,
.spotlight-strip,
.product-card,
.contact-card,
.info-card,
.guide-section,
.faq-card {
  background: rgba(24, 24, 28, 0.8);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.feature-card {
  padding: 28px;
  animation: fade-up 500ms ease both;
}

.feature-card:nth-child(2) {
  animation-delay: 80ms;
}

.feature-card:nth-child(3) {
  animation-delay: 160ms;
}

.feature-card h2,
.spotlight-strip h2,
.product-copy h2,
.contact-card h2,
.info-card h2,
.guide-section-header h2,
.faq-heading,
.faq-card h3 {
  margin-top: 14px;
  font-size: 26px;
  line-height: 1;
}

.feature-card p:last-child,
.spotlight-strip p:last-child,
.product-copy p,
.contact-card p,
.info-card p,
.guide-section-body p,
.faq-card p {
  margin-top: 16px;
  color: var(--muted);
}

.spotlight-strip {
  margin-bottom: 72px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 40px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a:hover,
.inline-link:hover {
  color: var(--accent2);
}

.page-hero {
  padding: 64px 0 48px;
}

.product-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 72px;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 1.05fr);
  overflow: hidden;
}

.product-card-flip .product-visual {
  order: 2;
}

.product-visual {
  min-height: 360px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  overflow: hidden;
}

.product-visual-purple {
  background:
    radial-gradient(circle at 50% 40%, rgba(192, 132, 252, 0.2), transparent 35%),
    #141419;
}

.product-visual-green {
  background:
    radial-gradient(circle at 50% 40%, rgba(74, 222, 128, 0.15), transparent 35%),
    #121814;
}

.product-visual-amber {
  flex-direction: column;
  background:
    radial-gradient(circle at 50% 40%, rgba(251, 191, 36, 0.15), transparent 35%),
    #181510;
}

.product-board {
  width: 130px;
  height: 210px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(124, 106, 247, 0.22), transparent 40%),
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.08) 18px,
      transparent 18px,
      transparent 38px
    ),
    #19191f;
  transform: rotate(-14deg);
}

.product-board.right {
  transform: rotate(14deg);
}

.product-board-corne {
  width: 112px;
  height: 178px;
}

.service-chip {
  padding: 18px 24px;
  border-radius: 18px;
  background: rgba(34, 34, 40, 0.78);
  border: 1px solid var(--border);
  color: var(--text);
}

.product-copy,
.contact-card,
.info-card {
  padding: 40px;
}

.product-specs,
.arrow-list {
  list-style: none;
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-specs li,
.arrow-list li {
  position: relative;
  padding-left: 28px;
}

.product-specs li::before,
.arrow-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(380px, 1.4fr) minmax(280px, 0.8fr);
  gap: 24px;
  margin-bottom: 72px;
}

.contact-form {
  margin-top: 28px;
  display: grid;
  gap: 18px;
}

.form-status {
  margin-top: 24px;
  border-radius: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border);
}

.form-status-success {
  background: rgba(74, 222, 128, 0.08);
  border-color: rgba(74, 222, 128, 0.28);
  color: #c4f5d4;
}

.form-status-error {
  background: rgba(248, 113, 113, 0.08);
  border-color: rgba(248, 113, 113, 0.24);
  color: #f2b6b6;
}

.contact-form label {
  display: grid;
  gap: 10px;
  color: var(--text);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--text);
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 1px solid var(--accent);
  border-color: var(--accent);
}

.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;
}

.contact-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.inline-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--accent2);
}

.inline-link-inline {
  display: inline;
  margin-top: 0;
}

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

.badge {
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--muted);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-section {
  overflow: hidden;
  border-radius: 16px;
  margin-bottom: 24px;
  animation: fade-up 400ms ease both;
}

.guide-section:nth-of-type(2) {
  animation-delay: 50ms;
}

.guide-section:nth-of-type(3) {
  animation-delay: 100ms;
}

.guide-section:nth-of-type(4) {
  animation-delay: 150ms;
}

.guide-section:nth-of-type(5) {
  animation-delay: 200ms;
}

.guide-section:nth-of-type(6) {
  animation-delay: 250ms;
}

.guide-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
}

.guide-section-header h2 {
  margin-top: 0;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guide-section-body {
  padding: 22px 24px;
}

.dl-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.tip-box,
.warn-box {
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 16px;
  font-size: 13px;
}

.tip-box {
  background: #1a1a2e;
  border: 1px solid #2e2e5a;
  border-left: 3px solid var(--accent);
  color: #a5a5cc;
}

.tip-box strong {
  color: var(--accent2);
  font-weight: 500;
}

.warn-box {
  background: #1e1710;
  border: 1px solid #3d2e10;
  border-left: 3px solid var(--yellow);
  color: #b8a070;
}

.warn-box strong {
  color: var(--yellow);
  font-weight: 500;
}

code {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1px 7px;
  font-family: "DM Mono", monospace;
  font-size: 12.5px;
  color: var(--accent2);
}

.tab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.tab-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
}

.tab-name {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--accent2);
}

.tab-card p {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--muted);
}

.guide-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 36px 0;
}

.faq-wrap {
  margin-bottom: 72px;
}

.faq-heading {
  font-size: 22px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.faq-card {
  border-radius: 14px;
  padding: 18px 20px;
}

.faq-card h3 {
  margin-top: 0;
  color: var(--accent2);
  font-size: 15px;
  letter-spacing: -0.02em;
}

.faq-card p {
  margin-top: 8px;
  font-size: 13px;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .hero-panel,
  .section-grid,
  .product-card,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    padding-top: 48px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .product-card-flip .product-visual {
    order: 0;
  }

  .spotlight-strip,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .site-shell,
  .guide-shell {
    width: min(1180px, calc(100vw - 32px));
  }

  .topbar {
    position: relative;
    padding-top: 20px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    background: rgba(24, 24, 28, 0.98);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 12px;
    box-shadow: var(--shadow);
    z-index: 10;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 14px 12px;
  }

  .board-card {
    width: 54%;
    padding: 20px 16px;
  }

  .board-card-left {
    transform: rotate(-10deg) translateX(16px);
  }

  .board-card-right {
    transform: rotate(10deg) translateX(-16px);
  }

  .key-row span {
    height: 30px;
  }

  .thumb-cluster span {
    height: 38px;
    flex-basis: 38px;
  }

  .thumb-cluster .wide {
    flex-basis: 56px;
  }

  .board-cable {
    width: 100px;
  }

  .feature-card,
  .spotlight-strip,
  .product-copy,
  .contact-card,
  .info-card {
    padding: 24px;
  }

  .product-visual {
    min-height: 260px;
    gap: 16px;
  }

  .product-board {
    width: 100px;
    height: 170px;
  }

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

  .guide-topline {
    flex-direction: column;
    align-items: flex-start;
  }
}
