:root {
  /* Slate & Amber palette */
  --ink-h: 222;
  --ink-s: 20%;
  --ink-l: 94%;
  --ink: hsl(var(--ink-h), var(--ink-s), var(--ink-l)); /* #edf0f5 - Crisp off-white */
  
  --muted-h: 222;
  --muted-s: 11%;
  --muted-l: 72%;
  --muted: hsl(var(--muted-h), var(--muted-s), var(--muted-l)); /* #9ba1b0 - Muted gray */
  
  --dim-h: 222;
  --dim-s: 8%;
  --dim-l: 45%;
  --dim: hsl(var(--dim-h), var(--dim-s), var(--dim-l)); /* #6d7280 - Dim gray */
  
  --base-h: 222;
  --base-s: 20%;
  --base-l: 7%;
  --base: hsl(var(--base-h), var(--base-s), var(--base-l)); /* #0b0c10 - Rich dark slate */
  
  --panel-h: 222;
  --panel-s: 16%;
  --panel-l: 10%;
  --panel: hsl(var(--panel-h), var(--panel-s), var(--panel-l)); /* #13151b - Slate panel background */
  
  --panel-2-h: 222;
  --panel-2-s: 14%;
  --panel-2-l: 14%;
  --panel-2: hsl(var(--panel-2-h), var(--panel-2-s), var(--panel-2-l)); /* #1b1e26 - Slightly lighter slate */
  
  --line-h: 222;
  --line-s: 12%;
  --line-l: 20%;
  --line: hsl(var(--line-h), var(--line-s), var(--line-l)); /* #2b2f3a - Slate border line */
  
  /* Accent Colors */
  --amber-h: 38;
  --amber-s: 92%;
  --amber-l: 54%;
  --amber: hsl(var(--amber-h), var(--amber-s), var(--amber-l)); /* #f59e0b - Warm Amber */
  
  --amber-2-h: 48;
  --amber-2-s: 94%;
  --amber-2-l: 60%;
  --amber-2: hsl(var(--amber-2-h), var(--amber-2-s), var(--amber-2-l)); /* #fbbf24 - Bright Sunset Yellow */
  
  --red-h: 358;
  --red-s: 85%;
  --red-l: 62%;
  --red: hsl(var(--red-h), var(--red-s), var(--red-l)); /* #ef4444 - Warning Red */
  
  --green-h: 142;
  --green-s: 70%;
  --green-l: 55%;
  --green: hsl(var(--green-h), var(--green-s), var(--green-l)); /* #22c55e - Success Green */

  /* Design Tokens */
  --radius: 20px;
  --radius-inner: 12px;
  --border-width: 1px;
  
  --shadow-flat: 0 4px 20px rgba(0, 0, 0, 0.45);
  --shadow-active: 0 2px 10px rgba(0, 0, 0, 0.35);
  --shadow-popup: 0 20px 50px rgba(0, 0, 0, 0.8);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.9);
  --glow-amber: 0 0 30px rgba(245, 158, 11, 0.15);
  
  /* Fonts */
  --sans: "Inter", "Segoe UI", sans-serif;
  --display: "Sora", "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", monospace;
  --hand: "Caveat", "Patrick Hand", cursive;
}

/* Hand-drawn accents (doodle motif) */
.doodle-hand { font-family: var(--hand) !important; letter-spacing: 0.01em !important; text-transform: none !important; }

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--base);
  background-image: 
    radial-gradient(var(--line) 1px, transparent 1px),
    radial-gradient(circle at 12% 10%, rgba(245, 158, 11, 0.08), transparent 35%),
    radial-gradient(circle at 88% 22%, rgba(251, 191, 36, 0.06), transparent 32%),
    linear-gradient(135deg, #0b0c10 0%, #07080a 54%, #0f1015 100%);
  background-size: 32px 32px, 100% 100%, 100% 100%;
  font-family: var(--sans);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

p {
  max-width: 65ch;
  margin: 0 0 16px 0;
  color: var(--muted);
}

code {
  padding: 0.15em 0.4em;
  border: var(--border-width) solid var(--line);
  border-radius: 8px;
  color: var(--amber-2);
  background: rgba(0, 0, 0, 0.4);
  font-family: var(--mono);
  font-size: 0.86em;
}

.wrap {
  width: min(1140px, calc(100% - 36px));
  margin: 0 auto;
}

/* 1. STICKY GLASS NAVIGATION BAR */
nav {
  position: sticky;
  top: 14px;
  z-index: 50;
  margin-top: 14px;
  border: var(--border-width) solid var(--line);
  border-radius: var(--radius);
  background: rgba(11, 12, 16, 0.85);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-flat);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: var(--border-width) solid var(--line);
}

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

.nav-links a.lnk {
  padding: 8px 16px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.nav-links a.lnk:hover,
.nav-links a.lnk.is-active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
}

.nav-links .btn {
  margin-left: 12px;
}

@media (max-width: 820px) {
  .nav-links a.lnk {
    display: none;
  }
}

/* 2. BUTTONS WITH TACTILE RESPONSIVENESS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 9999px;
  padding: 12px 28px;
  min-height: 46px;
  cursor: pointer;
  border: var(--border-width) solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 600ms cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: scale(1.025) translateY(-1px);
}

.btn:active {
  transform: scale(0.975) translateY(1px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn-primary {
  background: var(--amber);
  color: #0b0c10;
  border-color: var(--amber);
}

.btn-primary:hover {
  background: var(--amber-2);
  border-color: var(--amber-2);
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.35);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--ink);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.05);
}

.btn-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  font-size: 11px;
  font-weight: 800;
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
  color: inherit;
}

.btn-ghost .btn-icon-wrapper {
  background: rgba(255, 255, 255, 0.08);
}

.btn:hover .btn-icon-wrapper {
  transform: translate(2px, -2px) scale(1.05);
}

/* 3. HERO SECTION (Typographic Center Layout) */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 0 60px;
}

.hero .hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 6px 14px;
  border: var(--border-width) solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius);
  color: var(--amber-2);
  background: rgba(245, 158, 11, 0.06);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1, h2, h3, h4 {
  margin: 0 0 16px 0;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.027em;
}

h1 {
  font-size: clamp(36px, 5.5vw, 68px);
  max-width: 22ch;
  margin-bottom: 24px;
}

.hero p.sub {
  color: var(--muted);
  font-size: clamp(16px, 1.8vw, 20px);
  max-width: 52ch;
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 48px;
}

/* 4. DEMO CONTAINER / VIDEO PREVIEW MOCKUP */
.demo-frame {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  border: var(--border-width) solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-2);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.demo-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.95);
}

.window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: var(--panel);
  border-bottom: var(--border-width) solid var(--line);
  font-family: var(--display);
  font-size: 12.5px;
  color: var(--ink);
}

.window-dots {
  display: flex;
  gap: 7px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.window-dots span:nth-child(1) { background: var(--red); }
.window-dots span:nth-child(2) { background: var(--amber); }
.window-dots span:nth-child(3) { background: var(--green); }

.mock-ui {
  padding: 24px;
  text-align: left;
}

.mock-title {
  color: var(--amber-2);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.mock-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  border-bottom: var(--border-width) solid var(--line);
  padding-bottom: 12px;
}

.mock-tab {
  padding: 6px 14px;
  border: var(--border-width) solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.01);
  transition: all 0.2s ease;
}

.mock-tab.active {
  color: var(--amber-2);
  border-color: var(--amber-2);
  background: rgba(245, 158, 11, 0.08);
}

.mock-content {
  display: none;
  min-height: 180px;
}

.mock-content.active {
  display: block;
}

.mock-row {
  display: grid;
  grid-template-columns: 130px 1fr 100px;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-size: 13.5px;
  margin-bottom: 12px;
}

.mock-input {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: var(--border-width) solid var(--line);
  border-radius: var(--radius-inner);
  background: var(--panel);
  color: #ddd;
}

.mock-btn {
  display: grid;
  place-items: center;
  min-height: 38px;
  border-radius: var(--radius-inner);
  color: #0b0c10;
  background: var(--amber);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 800;
}

.mock-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.mock-grid .mock-box {
  padding: 16px;
  border: var(--border-width) solid var(--line);
  border-radius: var(--radius-inner);
  background: var(--panel);
}

.mock-grid .mock-box strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  margin-bottom: 4px;
}

.mock-grid .mock-box span {
  font-size: 12px;
  color: var(--muted);
}

.mock-script {
  margin-top: 12px;
  min-height: 80px;
  padding: 14px;
  color: var(--amber-2);
  font-family: var(--mono);
  font-size: 12px;
  background: rgba(0, 0, 0, 0.25);
  border: var(--border-width) solid var(--line);
  border-radius: var(--radius-inner);
  line-height: 1.5;
}

.mock-preview-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.mock-img-box {
  aspect-ratio: 16/9;
  border: var(--border-width) solid var(--line);
  border-radius: var(--radius-inner);
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--dim);
  font-size: 11px;
}

.mock-img-box.active {
  border-color: var(--amber-2);
  color: var(--amber-2);
  background: rgba(245, 158, 11, 0.05);
}

.mock-img-box span.lbl {
  margin-top: 4px;
  font-weight: 700;
}

.mock-console {
  background: #07080a;
  border: var(--border-width) solid var(--line);
  border-radius: var(--radius-inner);
  padding: 16px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--green);
  min-height: 120px;
}

.mock-console .ln {
  margin-bottom: 6px;
}

.mock-console .ln.warn {
  color: var(--amber-2);
}

.mock-console .ln.err {
  color: var(--red);
}

/* 5. REQUIREMENTS CALLOUT */
.req-alert {
  margin: 32px 0 0;
  display: flex;
  gap: 20px;
  padding: 24px;
  border: var(--border-width) solid var(--amber);
  border-radius: var(--radius);
  background: rgba(245, 158, 11, 0.04);
  box-shadow: var(--shadow-flat);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}

.req-alert:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow), var(--glow-amber);
}

.req-icon {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  border: var(--border-width) solid var(--amber);
  color: var(--amber);
  background: rgba(245, 158, 11, 0.08);
}

.req-content {
  flex-grow: 1;
}

.req-content b {
  color: var(--amber-2);
  font-family: var(--display);
  font-weight: 700;
}

.req-content p {
  margin: 4px 0 0;
  font-size: 14.5px;
  color: var(--muted);
}

@media (max-width: 640px) {
  .req-alert {
    flex-direction: column;
    gap: 14px;
  }
}

/* 6. GENERAL SECTIONS */
section {
  padding: 96px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
  border-bottom: var(--border-width) dashed var(--line);
  padding-bottom: 24px;
}

.section-head h2,
h2.center {
  margin: 0;
  font-size: clamp(26px, 3.5vw, 38px);
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

/* Hand-drawn squiggly amber underline under section headings */
.section-head h2::after,
h2.center::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 10px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='10' viewBox='0 0 120 10'><path d='M2 6 C 20 2, 34 9, 52 5 S 88 2, 118 6' fill='none' stroke='%23f59e0b' stroke-width='2.4' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
h2.center { display: inline-block; }
h2.center::after { left: 10%; right: 10%; }

.section-head p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

@media (max-width: 768px) {
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .section-head p {
    max-width: 100%;
  }
}

/* 7. FEATURES BENTO GRID */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Card Bezel Shell & Core */
.card-shell,
.doc-card-shell {
  border: var(--border-width) solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  padding: 8px;
  box-shadow: var(--shadow-flat);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.6s ease;
  display: flex;
}

.card-shell:hover,
.doc-card-shell:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.25);
  box-shadow: var(--shadow), var(--glow-amber);
}

.card,
.doc-card {
  width: 100%;
  border: var(--border-width) solid var(--line);
  border-radius: var(--radius-inner);
  background: var(--panel);
  padding: 24px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.06);
  transition: border-color 0.4s ease, background-color 0.4s ease;
  display: flex;
  flex-direction: column;
}

.card-shell:hover .card,
.doc-card-shell:hover .doc-card {
  border-color: rgba(245, 158, 11, 0.35);
  background: var(--panel-2);
}

.card .ic {
  font-size: 28px;
  margin-bottom: 16px;
  display: block;
  line-height: 1;
}

.card h3,
.doc-card h3 {
  font-size: 19px;
  margin: 0 0 10px 0;
  letter-spacing: -0.015em;
}

.card p,
.doc-card p {
  color: var(--muted);
  font-size: 14.5px;
  margin: 0;
  line-height: 1.6;
}

/* Bento Asymmetric Span */
.card-shell.span2 {
  grid-column: span 2;
}

.card-shell.span2 .card {
  background:
    radial-gradient(circle at 100% 0%, rgba(245, 158, 11, 0.06), transparent 50%),
    var(--panel);
}

.card-shell.span2:hover .card {
  background:
    radial-gradient(circle at 100% 0%, rgba(245, 158, 11, 0.1), transparent 50%),
    var(--panel-2);
}

@media (max-width: 820px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .card-shell.span2 {
    grid-column: span 1;
  }
}

/* 8. STEPS SECTION */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Install / usage guide — vertical numbered steps */
.guide-block { margin-top: 8px; }
.guide-block + .guide-block { margin-top: 40px; }
.guide-block > h3 { font-family: var(--display); font-size: 20px; color: var(--amber-2); margin: 0 0 18px; }
.guide-steps { display: grid; gap: 14px; }
.guide-step {
  display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start;
  padding: 18px 20px; border: var(--border-width) solid var(--line);
  border-radius: var(--radius); background: var(--panel-2);
}
.guide-step.critical { border-color: rgba(245, 158, 11, 0.45); background: rgba(245, 158, 11, 0.05); }
.guide-step .gn {
  width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; color: var(--amber-2);
  border: var(--border-width) solid rgba(245, 158, 11, 0.4); background: rgba(245, 158, 11, 0.06);
}
.guide-step h4 { margin: 4px 0 4px; font-size: 16px; color: var(--ink); font-family: var(--display); }
.guide-step p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.guide-step code { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 1px 7px; color: var(--amber-2); font-size: 13px; }
@media (max-width: 600px) { .guide-step { grid-template-columns: 1fr; } .guide-step .gn { margin-bottom: 4px; } }

.step-card {
  position: relative;
  padding: 28px 24px;
  border: var(--border-width) solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-2);
  box-shadow: var(--shadow-flat);
  display: flex;
  flex-direction: column;
}

.step-num {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 800;
  color: var(--amber-2);
  border: var(--border-width) solid rgba(245, 158, 11, 0.4);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: rgba(245, 158, 11, 0.05);
}

.step-card h3 {
  font-size: 18px;
  margin: 0 0 8px 0;
}

.step-card p {
  color: var(--muted);
  font-size: 14.5px;
  margin: 0;
  line-height: 1.55;
}

@media (max-width: 820px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

/* 9. PRICING SECTION */
.price-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 24px;
}
@media (max-width: 900px) {
  .price-container { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
}
.price-featured { border-color: rgba(245, 158, 11, 0.6); box-shadow: var(--shadow), 0 0 40px rgba(245, 158, 11, 0.3); }
.price-term { color: var(--muted); font-family: var(--display); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; }
.onboarding-banner {
  margin-top: 22px;
  border: var(--border-width) solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius);
  background: rgba(245, 158, 11, 0.05);
  padding: 20px 24px;
  display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.onboarding-banner .ob-price { font-family: var(--display); font-weight: 900; color: var(--amber-2); font-size: 22px; white-space: nowrap; }

/* Pricing Card Shell */
.price-card-shell {
  border: var(--border-width) solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius);
  background: rgba(245, 158, 11, 0.03);
  padding: 8px;
  box-shadow: var(--shadow), var(--glow-amber);
  max-width: 440px;
  width: 100%;
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.6s ease;
}

.price-card-shell:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: var(--shadow), 0 0 35px rgba(245, 158, 11, 0.22);
}

/* Pricing Card Core */
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 36px;
  border: var(--border-width) solid var(--line);
  border-radius: var(--radius-inner);
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.08), transparent 45%),
    var(--panel-2);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08);
  transition: border-color 0.4s ease, background-color 0.4s ease;
  text-align: center;
}

.price-card-shell:hover .price-card {
  border-color: rgba(245, 158, 11, 0.5);
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.12), transparent 45%),
    var(--panel-2);
}

.price-badge {
  display: inline-flex;
  align-self: center;
  margin-bottom: 20px;
  padding: 6px 14px;
  border-radius: var(--radius);
  color: #0b0c10;
  background: var(--amber);
  font-family: var(--display);
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.price {
  margin: 10px 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(34px, 3.4vw, 46px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price small {
  font-size: 16px;
  color: var(--muted);
  font-weight: 500;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px 0;
  text-align: left;
  display: grid;
  gap: 12px;
}

.price-card li {
  color: var(--muted);
  font-size: 14.5px;
  padding-left: 26px;
  position: relative;
  line-height: 1.5;
}

.price-card li::before {
  content: "✓";
  color: var(--amber-2);
  position: absolute;
  left: 0;
  font-weight: 800;
}

.price-card .btn {
  width: 100%;
}

/* 10. DOWNLOAD & INSTALLATION BLOCKS */
.dl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.dl-card-shell {
  display: flex;
}

.dl-card {
  width: 100%;
  border: var(--border-width) solid var(--line);
  border-radius: var(--radius-inner);
  background: var(--panel);
  padding: 28px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
}

.dl-card-shell:hover .dl-card {
  background: var(--panel-2);
  border-color: rgba(245, 158, 11, 0.3);
}

.dl-card h3 {
  font-size: 19px;
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dl-card p {
  color: var(--muted);
  font-size: 14.5px;
  margin: 0 0 16px 0;
  line-height: 1.6;
}

.code-copy-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0 8px;
  padding: 10px 14px;
  border: var(--border-width) solid var(--line);
  border-radius: var(--radius-inner);
  background: #07080a;
}

.code-copy-block code {
  border: none;
  background: transparent;
  padding: 0;
  overflow-x: auto;
  white-space: nowrap;
  flex-grow: 1;
}

.copy-btn {
  border: var(--border-width) solid var(--amber);
  border-radius: var(--radius-inner);
  color: #0b0c10;
  background: var(--amber);
  padding: 5px 12px;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
  flex-shrink: 0;
}

.copy-btn:hover {
  background: var(--amber-2);
  border-color: var(--amber-2);
}

.dl-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

@media (max-width: 820px) {
  .dl-grid {
    grid-template-columns: 1fr;
  }
}

/* 11. FAQ ACCORDION LIST */
.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: var(--border-width) solid var(--line);
  border-radius: 12px;
  padding: 0 20px;
  background: var(--panel);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

details:hover {
  border-color: rgba(245, 158, 11, 0.25);
  background: var(--panel-2);
}

details[open] {
  border-color: rgba(245, 158, 11, 0.35);
  background: var(--panel-2);
}

summary {
  cursor: pointer;
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  padding: 18px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  outline: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  color: var(--amber-2);
  font-size: 20px;
  font-weight: 600;
  transition: transform 0.2s ease;
}

details[open] summary::after {
  transform: rotate(45deg);
}

details p {
  color: var(--muted);
  margin: 0 0 18px;
  font-size: 14.5px;
  line-height: 1.6;
}

/* 12. FOOTER SECTION */
footer {
  border-top: var(--border-width) dashed var(--line);
  padding: 48px 0;
  color: var(--muted);
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

footer a {
  color: var(--amber-2);
  font-weight: 600;
  transition: color 0.15s ease;
}

footer a:hover {
  color: var(--amber);
  text-decoration: underline;
}

@media (max-width: 640px) {
  footer {
    flex-direction: column;
    text-align: center;
  }
}

/* 13. HARDWARE-ACCELERATED TRANSITIONS & SCROLL REVEALS */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  will-change: opacity, transform;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 80ms;
}

.delay-2 {
  transition-delay: 160ms;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ============================================================
   14. DOODLE MOTIF + NEW SECTIONS + A11Y + MOBILE NAV + BUY BAR
   ============================================================ */

/* Notebook / sketch paper texture on alternating sections */
.paper {
  position: relative;
  background:
    repeating-linear-gradient(
      to bottom,
      transparent,
      transparent 27px,
      rgba(255, 255, 255, 0.028) 27px,
      rgba(255, 255, 255, 0.028) 28px
    ),
    var(--panel);
  border-top: var(--border-width) solid var(--line);
  border-bottom: var(--border-width) solid var(--line);
}

/* a11y focus */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
.mock-tab:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Hero highlight + amber marker under key phrase */
h1 .hl {
  color: var(--amber-2);
  text-decoration: underline;
  text-decoration-color: rgba(245, 158, 11, 0.5);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.btn-lg { padding: 16px 34px; min-height: 54px; font-size: 14.5px; }

/* Doodle arrow near primary CTA */
.hero-cta { position: relative; }
.doodle-arrow {
  position: absolute;
  left: 50%;
  transform: translateX(-190px) rotate(-6deg);
  top: -30px;
  color: var(--amber);
  pointer-events: none;
}
@media (max-width: 640px) { .doodle-arrow { display: none; } }

/* Rough hand-drawn marker border on hero demo frame */
.demo-frame {
  position: relative;
  margin-top: 40px;
}
.demo-frame::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 2.5px solid var(--amber);
  border-radius: calc(var(--radius) + 6px);
  filter: url(#rough);
  opacity: 0.5;
  pointer-events: none;
}

/* Hero media placeholder */
.hero-media { width: 100%; max-width: 920px; margin: 0 auto; }
.media-ph {
  aspect-ratio: 16 / 9;
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(-45deg, rgba(255,255,255,0.015) 0 12px, transparent 12px 24px),
    var(--panel-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--muted);
}
.media-ph .ph-play { font-size: 40px; opacity: 0.8; }
.media-ph .ph-label { font-family: var(--display); font-weight: 700; font-size: 15px; }

/* MOBILE HAMBURGER + DRAWER */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: var(--border-width) solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 14px;
    border: var(--border-width) solid var(--line);
    border-radius: var(--radius);
    background: rgba(11, 12, 16, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-popup);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  body.nav-open .nav-links { opacity: 1; visibility: visible; transform: translateY(0); }
  /* override the display:none from the old rule */
  .nav-links a.lnk { display: block; text-align: center; }
  .nav-links .btn { margin-left: 0; width: 100%; }
}

/* REQUIREMENTS GRID */
.req-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.req-col {
  border: var(--border-width) solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-2);
  padding: 26px;
}
.req-col h3 { font-size: 18px; color: var(--amber-2); margin-bottom: 16px; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 28px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--amber-2); font-weight: 800; }
.check-list li b { color: var(--ink); }
.req-alert .req-content p { margin: 6px 0 0; }
@media (max-width: 768px) { .req-grid { grid-template-columns: 1fr; } }

/* USE-CASES */
.usecase-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.usecase-card {
  border: var(--border-width) solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 24px;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1), border-color 0.3s ease;
}
.usecase-card:hover { transform: translateY(-4px); border-color: rgba(245,158,11,0.35); }
.usecase-card .ic { font-size: 30px; display: block; margin-bottom: 12px; }
.usecase-card h3 { font-size: 16px; margin-bottom: 12px; }
.usecase-card .pain { color: var(--muted); font-size: 14px; margin: 0 0 6px; }
.usecase-card .out { color: var(--amber-2); font-size: 14px; font-weight: 600; margin: 0; }
.delay-3 { transition-delay: 240ms; }
@media (max-width: 900px) { .usecase-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .usecase-grid { grid-template-columns: 1fr; } }

/* Bigger step numbers with hand font */
.step-num.doodle-hand {
  font-size: 30px;
  width: 46px;
  height: 46px;
  line-height: 1;
}
.guide-step .gn.doodle-hand { font-size: 22px; }

/* Payment trust strip */
.trust-strip {
  margin-top: 28px;
  border: var(--border-width) solid rgba(245,158,11,0.3);
  border-radius: var(--radius);
  background: rgba(245,158,11,0.05);
  padding: 18px 24px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  max-width: none;
}
.trust-strip b { color: var(--amber-2); }

/* Pricing sub-price + refund note */
.price-sub { color: var(--muted); font-size: 14px; margin: -4px 0 4px; }
.refund-note {
  margin-top: 22px;
  max-width: 760px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  padding: 18px 22px;
  border: var(--border-width) dashed var(--line);
  border-radius: var(--radius);
}
.refund-note b { color: var(--ink); }

/* ROADMAP */
.roadmap { margin-top: 48px; text-align: center; }
.roadmap-list {
  list-style: none; padding: 0; margin: 16px 0 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
}
.roadmap-list li {
  border: var(--border-width) dashed var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  color: var(--muted);
  font-size: 14px;
}

/* COMMUNITY */
.community-card {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  border: var(--border-width) solid rgba(245,158,11,0.3);
  border-radius: var(--radius);
  background: rgba(245,158,11,0.04);
  padding: 32px;
}
.community-card h2 { margin: 8px 0 10px; }
.community-card h2::after { display: none; }
.community-card p { margin: 0; }
.community-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Audio sample placeholder */
.audio-ph { margin-top: 14px; }
.audio-ph .ph-label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.audio-ph audio { width: 100%; max-width: 360px; }

.dl-note { font-size: 13.5px !important; color: var(--dim) !important; }

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

/* STICKY BUY BAR */
.buy-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  border-top: var(--border-width) solid var(--amber);
  background: rgba(11, 12, 16, 0.95);
  backdrop-filter: blur(16px);
  box-shadow: 0 -8px 30px rgba(0,0,0,0.5);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
}
.buy-bar.show { transform: translateY(0); }
.buy-bar-in {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 0;
}
.buy-bar-txt { font-size: 14px; color: var(--muted); }
.buy-bar-txt b { color: var(--amber-2); font-family: var(--display); }
.buy-bar-actions { display: flex; align-items: center; gap: 10px; }
.buy-bar .btn { padding: 10px 22px; min-height: 42px; }
.buy-bar-close {
  width: 34px; height: 34px; flex-shrink: 0;
  border: var(--border-width) solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
}
.buy-bar-close:hover { color: var(--ink); border-color: var(--ink); }
@media (max-width: 480px) {
  .buy-bar-txt { font-size: 12.5px; }
  .buy-bar .btn { padding: 9px 16px; font-size: 12px; }
}
