:root {
  --bg: #0a0a0a;
  --bg-soft: #111111;
  --card: #151515;
  --card-2: #1a1a1a;
  --text: #f5f4ed;
  --muted: #b8b5a3;
  --border: #262626;
  --accent: #ffd342;
  --accent-soft: rgba(255, 211, 66, 0.12);
  --accent-glow: rgba(255, 211, 66, 0.06);
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  --radius: 0.9rem;
  --radius-lg: 1.1rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 17px;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

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

.container {
  width: min(1040px, 90vw);
  margin: 0 auto;
}

.section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  letter-spacing: -0.02em;
  font-weight: 800;
}

h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  letter-spacing: -0.015em;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

h3 {
  font-size: 1.05rem;
  font-weight: 650;
  margin-bottom: 0.4rem;
}

p {
  margin: 0;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.88em;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.15em 0.4em;
  border-radius: 0.3rem;
}

pre code {
  background: none;
  padding: 0;
}


/* ─── TOPBAR ─── */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.8rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.brand img {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.35rem;
}

.nav-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  color: var(--muted);
  font-size: 1rem;
}

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

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


/* ─── BUTTONS ─── */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.7rem;
  padding: 0.7rem 1.15rem;
  font-weight: 650;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 100ms ease, opacity 100ms ease, border-color 100ms ease;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #111;
  box-shadow: 0 6px 24px rgba(255, 211, 66, 0.2);
}

.button-primary:hover {
  opacity: 0.92;
}

.button-ghost {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.button-ghost:hover {
  border-color: rgba(255, 255, 255, 0.15);
}


/* ─── HERO ─── */

.hero {
  padding-top: clamp(4rem, 10vw, 8rem);
  padding-bottom: clamp(2rem, 5vw, 4rem);
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(255, 211, 66, 0.08), transparent),
    var(--bg);
}

.hero-content {
  max-width: 680px;
  text-align: center;
  margin: 0 auto;
}

.hero-eyebrow {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero-copy {
  margin-top: 1.1rem;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}


/* ─── FLOW DEMO ─── */

.flow-steps {
  margin-top: 2.2rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1.2rem;
}

.flow-step {
  flex: 0 1 auto;
  text-align: center;
}

.flow-arrow {
  color: var(--muted);
  font-size: 1.3rem;
  opacity: 0.4;
  flex-shrink: 0;
  height: 2.8rem;
  display: flex;
  align-items: center;
}

.flow-key {
  display: flex;
  gap: 0.35rem;
  justify-content: center;
  align-items: center;
  height: 2.8rem;
  margin-bottom: 0.6rem;
}

.flow-key kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0 0.55rem;
  background: var(--card-2);
  border: 1px solid var(--border);
  border-bottom-width: 3px;
  border-radius: 0.5rem;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.flow-demo-input {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  margin-bottom: 0.6rem;
  box-shadow: var(--shadow);
  white-space: nowrap;
  height: 2.8rem;
}

.flow-timestamp {
  color: var(--muted);
  opacity: 0.7;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.flow-text {
  color: var(--text);
}

.flow-cursor {
  color: var(--accent);
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.flow-label {
  font-size: 1rem;
  color: var(--muted);
  max-width: 20ch;
  margin: 0 auto;
}

.flow-footnote {
  margin-top: 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
  opacity: 0.8;
}


/* ─── COMPARISON ─── */

.comparison-grid {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.comparison-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.4rem;
}

.comparison-old {
  background: var(--card);
}

.comparison-new {
  background: linear-gradient(180deg, var(--accent-soft), var(--accent-glow) 40%), var(--card);
  border-color: rgba(255, 211, 66, 0.2);
}

.comparison-title {
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.8rem;
  color: var(--muted);
}

.comparison-new .comparison-title {
  color: var(--accent);
}

.comparison-card ol {
  margin: 0;
  padding-left: 1.3rem;
}

.comparison-card li {
  color: var(--muted);
  font-size: 1rem;
  padding: 0.15rem 0;
}

.comparison-old li {
  opacity: 0.55;
}

.comparison-new li {
  color: var(--text);
  text-decoration: none;
  opacity: 1;
}

.comparison-rest {
  margin-top: 0.7rem;
  font-size: 1rem;
  color: var(--accent);
  font-weight: 600;
}


/* ─── SAMPLE JOURNAL ─── */

pre {
  margin: 0;
  background: #0c0c0c;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.4rem;
  overflow-x: auto;
  box-shadow: var(--shadow);
  font-size: 0.95rem;
  line-height: 1.75;
  color: #ede8cd;
}


.journal-caption {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1rem;
}

.section-intro {
  color: var(--muted);
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
}


/* ─── PRICING ─── */

.pricing-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.pricing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
}

.pricing-card-pro {
  border-color: rgba(255, 211, 66, 0.25);
  background: linear-gradient(180deg, var(--accent-soft), var(--accent-glow) 30%), var(--card-2);
}

.pricing-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.pricing-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(255, 211, 66, 0.15);
  color: var(--accent);
  padding: 0.15rem 0.5rem;
  border-radius: 0.35rem;
  vertical-align: middle;
  margin-left: 0.3rem;
}

.pricing-copy {
  color: var(--muted);
  font-size: 1rem;
}


/* ─── FAQ ─── */

.faq-list {
  display: grid;
  gap: 0.6rem;
}

details {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--card);
  padding: 0.7rem 0.9rem;
}

summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
}

details p {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.93rem;
}


/* ─── CTA ─── */

.cta-box {
  border: 1px solid rgba(255, 211, 66, 0.2);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, var(--accent-soft), var(--accent-glow) 45%),
    var(--card);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
}

.cta-box h2 {
  max-width: 24ch;
  margin: 0 auto;
}

.cta-box p {
  margin: 0.6rem auto 1.1rem;
  color: var(--muted);
  font-size: 1rem;
}

.cta-trust {
  margin-top: 0.9rem !important;
  margin-bottom: 0 !important;
  font-size: 0.9rem !important;
  opacity: 0.7;
}


/* ─── FOOTER ─── */

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.2rem 0 2rem;
  color: #8a877a;
  font-size: 0.95rem;
}


/* ─── RESPONSIVE ─── */

@media (max-width: 800px) {
  .flow-steps {
    flex-direction: column;
    gap: 0.6rem;
  }

  .flow-arrow {
    transform: rotate(90deg);
  }

  .flow-demo-input {
    white-space: normal;
  }

  .comparison-grid,
  .details-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .topbar-inner {
    min-height: auto;
    padding: 0.6rem 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    gap: 0.8rem;
  }

  .hero-content {
    text-align: left;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .button {
    width: 100%;
  }

  .flow-label {
    max-width: none;
  }
}
