/* Commerce Catalyst — Tool Pages Design System (2026-05-25) */

/* ==========================================================================
   TOKENS / VARIABLES
   ========================================================================== */
:root {
  --ink: #14110F;
  --ink-2: #221E1B;
  --paper: #F7F3EC;
  --bone: #EDE6D9;
  --bone-2: #E2D9C7;
  --gold: #B8964E;
  --gold-light: #D4B373;
  --ash: #6B6660;
  --ash-2: #97928B;
  --radius: 4px;
  --radius-lg: 6px;
}

/* ==========================================================================
   RESET
   ========================================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background: var(--paper);
}

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20,17,15,0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(247,243,236,0.06);
}
.nav-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--paper);
}
.logo-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.1;
}
.logo-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: var(--gold-light);
  letter-spacing: 0.06em;
}
.nav-back {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  color: var(--paper);
  opacity: 0.7;
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid rgba(247,243,236,0.2);
  border-radius: var(--radius);
  transition: all 0.2s;
}
.nav-back:hover {
  opacity: 1;
  border-color: var(--gold);
  color: var(--gold-light);
}

/* ==========================================================================
   PROGRESS BAR
   ========================================================================== */
.progress {
  position: sticky;
  top: 64px;
  z-index: 49;
  height: 3px;
  background: var(--bone-2);
}
.progress-fill {
  height: 100%;
  background: var(--gold);
  width: 25%;
  transition: width 0.4s ease;
}

/* ==========================================================================
   LAYOUT WRAP
   ========================================================================== */
.wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  background: var(--ink);
  color: var(--paper);
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 50%, rgba(184,150,78,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  z-index: 1;
  max-width: 680px;
}
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: lowercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 44px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.hero h1 em {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  color: var(--gold-light);
}
.hero-sub {
  font-size: 17px;
  color: var(--ash-2);
  line-height: 1.5;
}
.hero-meta {
  margin-top: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(247,243,236,0.4);
  letter-spacing: 0.06em;
}

/* ==========================================================================
   QUESTIONS / OPTIONS
   ========================================================================== */
.question-screen {
  padding: 56px 0 48px;
}
.question-screen .wrap {
  max-width: 640px;
}
.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: lowercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 8px;
}
.question-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ash-2);
  margin-bottom: 12px;
}
.question-text {
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.option {
  background: var(--bone);
  border: 1px solid var(--bone-2);
  border-radius: var(--radius);
  padding: 16px 20px;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  gap: 14px;
}
.option:hover {
  border-color: var(--gold);
  background: rgba(184,150,78,0.06);
}
.option.selected {
  border-color: var(--gold);
  border-left: 3px solid var(--gold);
  background: rgba(184,150,78,0.08);
}
.option-dot {
  width: 18px;
  height: 18px;
  border: 2px solid var(--bone-2);
  border-radius: 50%;
  flex-shrink: 0;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.option.selected .option-dot {
  border-color: var(--gold);
  background: var(--gold);
}
.option.selected .option-dot::after {
  content: '';
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
}
.option-label {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.45;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  gap: 16px;
}
.btn {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 14px 24px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--ash);
  padding: 12px 20px;
}
.btn-ghost:hover {
  color: var(--ink);
}

/* ==========================================================================
   EMAIL CAPTURE
   ========================================================================== */
.email-screen {
  padding: 64px 0;
  text-align: center;
}
.email-screen .wrap {
  max-width: 440px;
}
.email-screen h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.email-screen p {
  font-size: 16px;
  color: var(--ash);
  margin-bottom: 32px;
}
.email-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.email-form input {
  padding: 14px 16px;
  border: 1px solid var(--bone-2);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: 'IBM Plex Sans', sans-serif;
  background: var(--bone);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}
.email-form input:focus {
  border-color: var(--gold);
}
.email-form input::placeholder {
  color: var(--ash-2);
}

/* ==========================================================================
   RESULTS — BADGES
   ========================================================================== */
.results-screen {
  padding: 56px 0 48px;
}
.results-screen .wrap {
  max-width: 640px;
}
.result-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: lowercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  background: rgba(184,150,78,0.1);
  padding: 6px 14px;
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.result-title {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.result-copy {
  font-size: 17px;
  color: var(--ash);
  line-height: 1.7;
  margin-bottom: 32px;
}

/* ==========================================================================
   RESULTS — PRESSURE-TEST CARDS
   ========================================================================== */
.pressure-card {
  background: var(--bone);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 20px;
}
.pressure-card h3 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: lowercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 14px;
}
.pressure-card ul {
  list-style: none;
  padding: 0;
}
.pressure-card li {
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.55;
}
.pressure-card li::before {
  content: '?';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 600;
}

/* ==========================================================================
   RESULTS — NEXT-STEP CARDS
   ========================================================================== */
.next-step-card {
  background: var(--bone);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 20px;
}
.next-step-card .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: lowercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 10px;
}
.next-step-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.next-step-card p {
  font-size: 15px;
  color: var(--ash);
  line-height: 1.6;
}

.result-disclaimer {
  font-size: 14px;
  color: var(--ash-2);
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--bone-2);
}

/* ==========================================================================
   RESULTS — TABS & CONTENT TOGGLE
   ========================================================================== */
.result-tab {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--bone-2);
  background: transparent;
  color: var(--ash);
  cursor: pointer;
  transition: all 0.15s;
}
.result-tab:hover {
  border-color: var(--gold);
  color: var(--ink);
}
.result-tab.active {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.result-content {
  display: none;
}
.result-content.active {
  display: block;
}

/* ==========================================================================
   CTA BAND (Founder Hour)
   ========================================================================== */
.cta-band {
  background: var(--ink);
  color: var(--paper);
  padding: 64px 0;
  text-align: center;
}
.cta-band .wrap {
  max-width: 560px;
}
.cta-band .eyebrow {
  margin-bottom: 16px;
}
.cta-band h2 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.cta-band h2 em {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  color: var(--gold-light);
}
.cta-band p {
  font-size: 16px;
  color: var(--ash-2);
  margin-bottom: 28px;
  line-height: 1.6;
}
.cta-band .btn-primary {
  padding: 14px 24px;
  font-size: 14px;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq {
  padding: 64px 0;
}
.faq .wrap {
  max-width: 640px;
}
.faq h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}
.faq details {
  border-bottom: 1px solid var(--bone-2);
  padding: 18px 0;
}
.faq summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  line-height: 1.4;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq details[open] summary {
  color: var(--gold);
}
.faq details p {
  margin-top: 12px;
  font-size: 15px;
  color: var(--ash);
  line-height: 1.7;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background: var(--ink);
  color: var(--paper);
  padding: 56px 0 32px;
}
footer .wrap {
  max-width: 1200px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
}
.foot-tag {
  font-size: 14px;
  color: var(--ash);
  line-height: 1.6;
  margin-top: 12px;
}
.foot-col h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 14px;
  font-weight: 500;
}
.foot-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.foot-col a {
  color: rgba(247,243,236,0.7);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}
.foot-col a:hover {
  color: var(--paper);
}
.foot-bottom {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid rgba(247,243,236,0.08);
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(247,243,236,0.4);
  letter-spacing: 0.08em;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 720px) {
  .nav-inner { padding: 0 20px; }
  .wrap { padding: 0 20px; }
  .hero { padding: 56px 0 48px; }
  .hero h1 { font-size: 32px; }
  .question-text { font-size: 20px; }
  .result-title { font-size: 26px; }
  .cta-band h2 { font-size: 24px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .btn-row { flex-direction: column; }
  .btn { width: 100%; text-align: center; }
}
@media (max-width: 420px) {
  .foot-grid { grid-template-columns: 1fr; gap: 24px; }
}
