/* ─── Fonts ──────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,400&display=swap');

/* ─── Design Tokens ─────────────────────────────────────────────── */
:root {
  --bg:        #F2F0EB;
  --bg-s:      #EAE7E0;
  --bg-inv:    #171613;
  --t1:        #171613;
  --t2:        #3A3830;
  --tm:        #7A776E;
  --border:    #C8C4BA;
  --border-dk: #2E2C28;
  --accent:    #4A5FCC;
  --accent2:   #2A3BA8;

  --font-mono: 'Space Mono', monospace;
  --font-sans: 'DM Sans', -apple-system, sans-serif;
  --header-h:  56px;
}

/* ─── Reset ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* Palette: light tones from Vault's Cloud / Lavender / Blush / Forest / Ember themes */
@keyframes bgDrift {
  0%   { background-color: #F2F0EB; } /* warm cream      — current base    */
  18%  { background-color: #EDEEF5; } /* cool cloud grey — Cloud theme     */
  36%  { background-color: #F0EDF7; } /* soft lavender   — Lavender theme  */
  54%  { background-color: #F5EDF1; } /* pale blush      — Blush theme     */
  72%  { background-color: #EDF2EE; } /* sage white      — Forest theme    */
  88%  { background-color: #F5F0EB; } /* ember cream     — Ember theme     */
  100% { background-color: #F2F0EB; }
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--t1);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  animation: bgDrift 32s ease-in-out infinite;
}

a { color: var(--t1); text-decoration: underline; }
a:hover { color: var(--accent); }

code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--bg-s);
  padding: 2px 6px;
  border: 1px solid var(--border);
  color: var(--accent);
}

/* ─── Header ────────────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(23, 22, 19, 0.07);
  z-index: 200;
  animation: bgDrift 32s ease-in-out infinite;
}

.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 0 24px;
}

.logo {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--t1);
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo:hover { text-decoration: none; color: var(--t1); }

.nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
}

.nav-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--tm);
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 14px;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.12s;
  white-space: nowrap;
  text-transform: lowercase;
}
.nav-btn:hover { color: var(--t1); }
.nav-btn.active { color: var(--t1); }

.nav-btn .chevron {
  width: 9px; height: 9px;
  opacity: 0.5;
  transition: transform 0.2s;
}

/* Dropdown */
.dropdown-parent { position: relative; }
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 8px;
  background: transparent;
  min-width: 200px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.15s, transform 0.15s;
  z-index: 300;
}
.dropdown-inner {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 4px;
}
.dropdown-parent:hover .dropdown,
.dropdown-parent:focus-within .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.dropdown-parent:hover .nav-btn .chevron { transform: rotate(180deg); }

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  color: var(--t1);
  text-decoration: none;
  transition: background 0.1s;
}
.dropdown-item:hover { background: var(--bg-s); text-decoration: none; }

.dropdown-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--t1);
}
.dropdown-icon img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.dropdown-label { font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: var(--t1); }
.dropdown-sub   { font-size: 11px; color: var(--tm); margin-top: 1px; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.icon-btn {
  width: 34px; height: 34px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tm);
  position: relative;
  transition: color 0.12s, border-color 0.12s, box-shadow 0.12s;
  box-shadow: 0 1px 4px rgba(23, 22, 19, 0.07);
}
.icon-btn:hover {
  color: var(--t1);
  border-color: var(--t1);
  box-shadow: 0 2px 8px rgba(23, 22, 19, 0.12);
}
.icon-btn svg { width: 16px; height: 16px; }

.cart-badge {
  position: absolute;
  top: -5px; right: -5px;
  width: 15px; height: 15px;
  background: var(--accent);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─── Main ───────────────────────────────────────────────────────── */
main { padding-top: var(--header-h); }

.page { display: none; animation: fadeIn 0.2s ease; }
.page.active { display: block; }

#page-downloads,
#page-support,
#page-about,
#page-eula {
  background: var(--bg);
  animation: bgDrift 32s ease-in-out infinite;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ─── Shared Sections ───────────────────────────────────────────── */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
}

@keyframes bgDriftDeep {
  0%   { background-color: #EAE7E0; }
  18%  { background-color: #E5E6EE; }
  36%  { background-color: #E8E5F0; }
  54%  { background-color: #EEE5EA; }
  72%  { background-color: #E5EDE6; }
  88%  { background-color: #EDE8E2; }
  100% { background-color: #EAE7E0; }
}

.section-alt {
  max-width: 100%;
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  animation: bgDriftDeep 32s ease-in-out infinite;
}
.section-alt > * {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tm);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-mono);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  color: var(--t1);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.section-sub {
  font-size: 15px;
  color: var(--tm);
  margin-bottom: 56px;
  max-width: 480px;
  line-height: 1.7;
}

.subsection-title {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--t1);
  margin-bottom: 32px;
  max-width: 1100px;
  padding: 0 24px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: -0.02em;
}

/* ─── Hero ───────────────────────────────────────────────────────── */
.hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: 80px 24px 60px;
  display: grid;
  grid-template-columns: 0.7fr 1.4fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-mockup { display: none; }
}

.hero-content { display: flex; flex-direction: column; gap: 24px; }

.hero-eyebrow { display: flex; align-items: center; gap: 12px; }

.badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--t1);
  background: none;
  border: 1px solid var(--border);
  padding: 4px 10px;
}

.hero-title {
  font-family: var(--font-mono);
  font-size: clamp(38px, 5.5vw, 64px);
  font-weight: 700;
  color: var(--t1);
  line-height: 1.0;
  letter-spacing: -0.04em;
}

.hero-sub {
  font-size: 16px;
  color: var(--t2);
  line-height: 1.7;
  max-width: 420px;
}

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

.hero-note {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--tm);
  letter-spacing: 0.04em;
}

/* ─── App Mockup ─────────────────────────────────────────────────── */
.hero-mockup { position: relative; }

.mockup-window {
  background: var(--bg-inv);
  border: 1px solid var(--border-dk);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(23, 22, 19, 0.22), 0 2px 8px rgba(23, 22, 19, 0.10);
}

.mockup-titlebar {
  height: 34px;
  background: #0F0E0C;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border-bottom: 1px solid var(--border-dk);
}

.mockup-dots { display: flex; gap: 5px; }
.mockup-dots span {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #2E2C28;
}
.mockup-dots span:nth-child(1) { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #febc2e; }
.mockup-dots span:nth-child(3) { background: #28c840; }

.mockup-title-text {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: #5A5850;
  letter-spacing: 0;
}
.mockup-title-text span { color: var(--accent); margin-left: 3px; }

.mockup-body {
  display: grid;
  grid-template-columns: 140px 1fr;
  height: 300px;
}

.mockup-sidebar {
  background: #111010;
  border-right: 1px solid var(--border-dk);
  padding: 8px 0;
  overflow: hidden;
}

.mockup-sidebar-label {
  font-family: var(--font-mono);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3A3830;
  padding: 8px 10px 4px;
}

.mockup-sidebar-item {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #5A5850;
  padding: 4px 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: default;
}
.mockup-sidebar-item span {
  margin-left: auto;
  font-size: 8.5px;
  color: #3A3830;
}
.mockup-sidebar-item.active { color: #E8E5DF; }
.mockup-sidebar-item.active span { color: var(--accent); }

.mockup-sidebar-divider {
  height: 1px;
  background: var(--border-dk);
  margin: 6px 10px;
}

.mockup-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }

.mockup-tracks {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #171613;
}

.mockup-track-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  font-family: var(--font-mono);
  font-size: 7.5px;
  color: #3A3830;
  border-bottom: 1px solid var(--border-dk);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.mockup-track-header span:not(:first-child) { width: 46px; text-align: right; flex-shrink: 0; }

.mockup-track {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-bottom: 1px solid #1E1D1A;
}
.mockup-track.active { background: #1E2240; }

.mockup-play {
  font-size: 7px;
  color: #3A3830;
  width: 14px;
  text-align: center;
  flex-shrink: 0;
}
.mockup-track.active .mockup-play { color: var(--accent); }

.mockup-track-title { font-family: var(--font-mono); font-size: 10px; color: #D4D0C8; font-weight: 700; }
.mockup-track-meta  { font-size: 8.5px; color: #3A3830; margin-top: 1px; }

.mockup-mono {
  font-family: var(--font-mono);
  font-size: 9px;
  color: #5A5850;
  width: 46px;
  text-align: right;
  flex-shrink: 0;
}

.mockup-genre-badge {
  font-family: var(--font-mono);
  font-size: 7.5px;
  font-weight: 700;
  color: #fff;
  padding: 2px 6px;
  white-space: nowrap;
  flex-shrink: 0;
  width: 66px;
  text-align: center;
}

/* ─── Buttons ────────────────────────────────────────────────────── */
.btn {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.12s, color 0.12s, border-color 0.12s, box-shadow 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  text-decoration: none;
  text-transform: lowercase;
}

.btn-primary {
  background: var(--t1);
  color: var(--bg);
  border-color: var(--t1);
  box-shadow: 0 2px 8px rgba(23, 22, 19, 0.18);
}
.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 3px 12px rgba(74, 95, 204, 0.30);
  text-decoration: none;
}

.btn-outline {
  background: none;
  color: var(--t1);
  border-color: var(--border);
  box-shadow: 0 1px 4px rgba(23, 22, 19, 0.08);
}
.btn-outline:hover {
  border-color: var(--t1);
  box-shadow: 0 2px 8px rgba(23, 22, 19, 0.14);
  text-decoration: none;
  color: var(--t1);
}

.btn-ghost {
  background: none;
  color: var(--tm);
  border-color: transparent;
  padding: 11px 0;
}
.btn-ghost:hover { color: var(--t1); text-decoration: none; }

.btn-lg { font-size: 13px; padding: 14px 32px; }
.btn-block { width: 100%; justify-content: center; margin-top: auto; }

/* ─── Features Grid ─────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.feature-card {
  padding: 32px 28px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.15s, box-shadow 0.15s;
}
.feature-card:hover {}

.feature-num {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--tm);
  letter-spacing: 0.1em;
}

.feature-card h3 {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--t1);
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 13.5px;
  color: var(--tm);
  line-height: 1.65;
}

/* ─── Steps ──────────────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 56px;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr 1fr; }
}

.step {
  padding: 28px 24px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ─── Workflow rows ───────────────────────────────────────────────── */
.workflow-rows {
  display: flex;
  flex-direction: column;
  gap: 64px;
  margin-top: 56px;
}

.workflow-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.workflow-row-reverse {
  direction: rtl;
}

.workflow-row-reverse .workflow-text,
.workflow-row-reverse .workflow-img {
  direction: ltr;
}

.workflow-text .step-num {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--tm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.workflow-text h4 {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--t1);
  margin: 0 0 12px;
}

.workflow-text p {
  font-size: 14px;
  color: var(--tm);
  line-height: 1.7;
  margin: 0;
}

.workflow-img {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.workflow-img img {
  max-width: 85%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 40px rgba(23,22,19,0.18), 0 2px 8px rgba(23,22,19,0.10);
}

@media (max-width: 820px) {
  .workflow-row, .workflow-row-reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
}

.step-num {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--tm);
  margin-bottom: 14px;
  letter-spacing: 0.1em;
}

.step h4 {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--t1);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.step p { font-size: 13px; color: var(--tm); line-height: 1.65; }

/* ─── CTA Banner ─────────────────────────────────────────────────── */
.cta-banner {
  background: var(--bg-inv);
  padding: 80px 24px;
  text-align: center;
  border-top: 1px solid var(--border-dk);
}

.cta-inner {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.cta-banner h2 {
  font-family: var(--font-mono);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: #F2F0EB;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.cta-banner p {
  font-size: 14px;
  color: #5A5850;
  line-height: 1.7;
}

.cta-banner .btn-primary {
  background: #F2F0EB;
  color: var(--bg-inv);
  border-color: #F2F0EB;
}
.cta-banner .btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ─── Download Hero ──────────────────────────────────────────────── */
.download-hero {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
}

.download-hero-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.download-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--tm);
  letter-spacing: 0.03em;
}

/* ─── Pricing ────────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 24px;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.pricing-card {
  padding: 28px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: background 0.15s;
}
.pricing-card:hover {
  background: #FAFAF7;
}

.pricing-card.featured {
  background: var(--bg-inv);
  border-color: var(--bg-inv);
  color: #F2F0EB;
}
.pricing-card.featured .pricing-price { color: #F2F0EB; }
.pricing-card.featured .pricing-tier  { color: var(--accent); }
.pricing-card.featured .pricing-desc  { color: #5A5850; }
.pricing-card.featured .pricing-features li.ok  { color: #C8C4BA; }
.pricing-card.featured .pricing-features li.no  { color: #3A3830; }

.pricing-badge {
  position: absolute;
  top: 0;
  left: -1px;
  right: -1px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  padding: 5px 8px;
}


.pricing-tier {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tm);
}

.pricing-price {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  color: var(--t1);
  line-height: 1;
  letter-spacing: -0.03em;
}
.pricing-period {
  font-size: 11px;
  font-weight: 400;
  color: var(--tm);
  letter-spacing: 0;
}

.pricing-desc { font-size: 13px; color: var(--tm); }

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}

.pricing-features li {
  font-size: 12.5px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  line-height: 1.4;
}
.pricing-features li::before {
  content: '';
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}
.pricing-features li.ok { color: var(--t2); }
.pricing-features li.ok::before {
  content: '✓';
  color: var(--t1);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}
.pricing-features li.no { color: var(--tm); opacity: 0.4; }
.pricing-features li.no::before {
  content: '—';
  color: var(--tm);
  font-family: var(--font-mono);
  font-size: 10px;
}

.pricing-note {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--tm);
  margin-top: 24px;
  letter-spacing: 0.04em;
}

/* ─── Specs ──────────────────────────────────────────────────────── */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.spec-block {
  padding: 24px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.spec-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--t1);
  letter-spacing: -0.01em;
}
.spec-value { font-size: 12px; color: var(--tm); line-height: 1.5; }

/* ─── License Activation ─────────────────────────────────────────── */
.license-box {
  max-width: 640px;
  margin: 56px auto 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 36px;
  box-shadow: 0 2px 12px rgba(23, 22, 19, 0.07);
}

.license-box h3 {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--t1);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.license-box p {
  font-size: 13px;
  color: var(--tm);
  margin-bottom: 24px;
  line-height: 1.65;
}

.license-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.input-group { display: flex; flex-direction: column; gap: 6px; }

.input-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tm);
}

.input-field {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--t1);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 11px 14px;
  width: 100%;
  outline: none;
  transition: border-color 0.12s, box-shadow 0.12s;
  letter-spacing: 0.04em;
  box-shadow: 0 1px 4px rgba(23, 22, 19, 0.06) inset;
}
.input-field:focus {
  border-color: var(--t1);
  box-shadow: 0 1px 4px rgba(23, 22, 19, 0.06) inset, 0 0 0 3px rgba(74, 95, 204, 0.10);
}
.input-field::placeholder { color: var(--tm); letter-spacing: 0.04em; }

.license-result {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  display: none;
}
.license-result.visible { display: block; }
.license-result.ok { border-color: #16a34a; }
.license-result.err { border-color: #dc2626; }

.license-result-text {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--tm);
}
.license-result.ok  .license-result-text { color: #16a34a; }
.license-result.err .license-result-text { color: #dc2626; }

/* ─── FAQ ────────────────────────────────────────────────────────── */
.faq-list {
  max-width: 680px;
  display: flex;
  flex-direction: column;
  margin-top: 56px;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--t1);
  text-align: left;
  transition: color 0.12s;
  letter-spacing: -0.01em;
}
.faq-question:hover { color: var(--accent); }

.faq-chevron {
  width: 12px; height: 12px;
  color: var(--tm);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}
.faq-item.open .faq-answer { max-height: 400px; }

.faq-answer p {
  padding: 0 0 20px;
  font-size: 13.5px;
  color: var(--tm);
  line-height: 1.7;
}

/* ─── Contact Card ───────────────────────────────────────────────── */
.contact-card {
  max-width: 680px;
  margin-top: 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 2px 10px rgba(23, 22, 19, 0.06);
}
.contact-title { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--t1); }
.contact-sub { font-size: 12.5px; color: var(--tm); margin-top: 3px; }
.contact-card .btn { margin-left: auto; flex-shrink: 0; }

/* ─── About ──────────────────────────────────────────────────────── */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 56px;
  align-items: start;
}
@media (max-width: 760px) { .about-layout { grid-template-columns: 1fr; gap: 40px; } }

.about-lead {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--t1);
  line-height: 1.55;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.about-text p {
  font-size: 14px;
  color: var(--tm);
  line-height: 1.75;
  margin-bottom: 16px;
}
.about-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }

.about-values {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.value-card {
  padding: 20px 22px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.value-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--t1);
  letter-spacing: -0.01em;
}
.value-card p { font-size: 12.5px; color: var(--tm); line-height: 1.6; }

/* ─── Footer ─────────────────────────────────────────────────────── */
.footer {
  background: var(--bg-s);
  border-top: 1px solid var(--border);
  padding: 28px 24px;
  margin-top: 80px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-logo {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--t1);
  letter-spacing: -0.02em;
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--tm);
}
.footer-links a { color: var(--tm); text-decoration: none; }
.footer-links a:hover { color: var(--t1); }
.footer-copy { margin-left: auto; font-family: var(--font-mono); font-size: 10px; color: var(--tm); letter-spacing: 0.04em; }

/* ─── Modal / Cart ───────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(23, 22, 19, 0.4);
  z-index: 500;
  display: none;
  align-items: flex-start;
  justify-content: flex-end;
  padding: calc(var(--header-h) + 6px) 16px 0;
}
.modal-overlay.open { display: flex; }

.modal {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 340px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(23, 22, 19, 0.16), 0 2px 8px rgba(23, 22, 19, 0.08);
  animation: slideDown 0.18s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
}
.modal-header h3 {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--t1);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.modal-close {
  background: none;
  border: none;
  font-size: 18px;
  color: var(--tm);
  cursor: pointer;
  line-height: 1;
  padding: 0 2px;
}
.modal-close:hover { color: var(--t1); }

.modal-body { padding: 18px; overflow-y: auto; }

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 24px 0;
  color: var(--tm);
}
.cart-empty svg { width: 36px; height: 36px; opacity: 0.3; }
.cart-empty p { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; }

/* ─── Hero screenshot ────────────────────────────────────────────── */
.hero-screenshot {
  position: relative;
}
.hero-screenshot img {
  width: 100%;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 48px rgba(23, 22, 19, 0.20), 0 2px 8px rgba(23, 22, 19, 0.10);
  /* Reserves space while image loads / if missing */
  min-height: 280px;
  background: var(--bg-s);
  object-fit: cover;
}
/* Broken image placeholder */
.hero-screenshot img::before {
  content: '';
  display: block;
  position: absolute;
  inset: 0;
  background: var(--bg-s);
  border-radius: 12px;
}
/* Dropdown icon — reserve space if logo.png missing */
.dropdown-icon img {
  min-height: 36px;
  background: var(--t1);
}

/* ─── Profile panel ──────────────────────────────────────────────── */
.profile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(23, 22, 19, 0.4);
  z-index: 500;
  display: none;
  align-items: flex-start;
  justify-content: flex-end;
  padding: calc(var(--header-h) + 6px) 16px 0;
}
.profile-overlay.open { display: flex; }

.profile-panel {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 380px;
  max-height: 82vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(23, 22, 19, 0.16), 0 2px 8px rgba(23, 22, 19, 0.08);
  animation: slideDown 0.18s ease;
}

.profile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.profile-header h3 {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--t1);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.profile-body {
  overflow-y: auto;
  flex: 1;
}

/* Sign-in form */
.profile-signin {
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.profile-signin-note {
  font-size: 12.5px;
  color: var(--tm);
  line-height: 1.6;
}
.profile-signin-footer {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--tm);
  text-align: center;
  padding-top: 4px;
}
.profile-signin-footer a {
  color: var(--accent);
  text-decoration: none;
}

/* Signed-in state */
.profile-account-header {
  padding: 20px 18px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 14px;
}
.profile-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}
.profile-user-name {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--t1);
  letter-spacing: -0.01em;
}
.profile-user-email {
  font-size: 11.5px;
  color: var(--tm);
  margin-top: 2px;
}

/* Sections */
.profile-section {
  border-bottom: 1px solid var(--border);
}
.profile-section-title {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tm);
  padding: 14px 18px 10px;
}

/* Purchase rows */
.purchase-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-top: 1px solid var(--border);
}
.purchase-icon {
  width: 30px; height: 30px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.purchase-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.purchase-name {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--t1);
  flex: 1;
}
.purchase-tier {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(74, 95, 204, 0.10);
  border: 1px solid rgba(74, 95, 204, 0.20);
  padding: 2px 7px;
  border-radius: 3px;
}
.purchase-date {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--tm);
}

/* License key rows */
.key-row {
  padding: 12px 18px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.key-row-product {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--t1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.key-tier-badge {
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tm);
}
.key-value-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.key-value {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--tm);
  flex: 1;
  letter-spacing: 0.06em;
  padding: 7px 10px;
  background: var(--bg-s);
  border: 1px solid var(--border);
  border-radius: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.key-value.revealed { color: var(--t1); }

.key-action-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  width: 28px; height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--tm);
  flex-shrink: 0;
  transition: color 0.12s, border-color 0.12s;
}
.key-action-btn:hover { color: var(--t1); border-color: var(--t1); }
.key-action-btn svg { width: 13px; height: 13px; }

.key-status {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--tm);
  letter-spacing: 0.04em;
}
.key-status.active { color: #16a34a; }

/* Sign out row */
.profile-signout-row {
  padding: 14px 18px;
  display: flex;
  justify-content: flex-end;
}

/* ─── EULA ────────────────────────────────────────────────────────── */
.eula-body {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.eula-body p {
  font-size: 14px;
  color: var(--t2);
  line-height: 1.8;
  margin: 0 0 16px;
}

.eula-body h3 {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--t1);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 32px 0 12px;
}

.eula-body ul {
  margin: 0 0 16px 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.eula-body ul li {
  font-size: 14px;
  color: var(--t2);
  line-height: 1.7;
}

.eula-body a {
  color: var(--accent);
  text-decoration: none;
}

.eula-body a:hover {
  text-decoration: underline;
}

/* ─── Mobile nav ─────────────────────────────────────────────────── */
.mobile-menu-btn { display: none; }

.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0; bottom: 0;
  background: var(--bg);
  z-index: 190;
  flex-direction: column;
  padding: 8px 0;
  border-top: 1px solid var(--border);
  overflow-y: auto;
  animation: fadeIn 0.15s ease;
}
.mobile-nav-overlay.open { display: flex; }

.mobile-nav-btn {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--t1);
  background: none;
  border: none;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  padding: 18px 24px;
  text-align: left;
  letter-spacing: -0.01em;
  text-transform: lowercase;
  transition: background 0.1s, color 0.1s;
}
.mobile-nav-btn:hover { background: var(--bg-s); color: var(--accent); }

/* ─── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 700px) {
  /* Show hamburger, hide desktop nav */
  .nav { display: none; }
  .mobile-menu-btn { display: flex; }

  /* Header tighter on mobile */
  .header-inner { gap: 8px; padding: 0 16px; }

  /* Section padding */
  .section { padding: 48px 16px; }
  .section-alt { padding: 48px 0; }

  /* Hero stacks */
  .hero {
    grid-template-columns: 1fr;
    padding: 40px 16px 32px;
    gap: 32px;
  }
  .hero-mockup { display: none; }
  .hero-title { font-size: clamp(32px, 9vw, 48px); }
  .hero-sub { max-width: 100%; }

  /* Features: single column */
  .features-grid { grid-template-columns: 1fr; }

  /* Steps: single column */
  .steps { grid-template-columns: 1fr; }

  /* Workflow: single column, shorter image */
  .workflow-row,
  .workflow-row-reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .workflow-img { height: 220px; }
  .workflow-text h4 { font-size: 15px; }

  /* Pricing: single column */
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card { padding: 24px 20px; }
  .upgrade-box { flex-direction: column; align-items: flex-start !important; }
  .upgrade-box .btn { flex-shrink: unset !important; width: 100%; justify-content: center; }

  /* Section titles smaller */
  .section-title { font-size: clamp(22px, 7vw, 32px); }

  /* FAQ */
  .faq-list { max-width: 100%; }

  /* Contact card stacks */
  .contact-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .contact-card .btn { margin-left: 0; }

  /* About */
  .about-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 32px;
  }

  /* Footer */
  .footer { padding: 24px 16px; margin-top: 48px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-copy { margin-left: 0; }

  /* Hero screenshot on mobile */
  .hero-screenshot img { min-height: 180px; }

  /* Subsection title */
  .subsection-title { padding: 0 16px; font-size: 15px; }

  /* EULA */
  #page-eula .section { padding: 40px 16px; }
}

@media (min-width: 701px) and (max-width: 960px) {
  .section { padding: 64px 24px; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 64px 24px 48px; }
}

/* ─── Scrollbar ──────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); }
::-webkit-scrollbar-thumb:hover { background: var(--tm); }
