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

html { scroll-padding-top: 4.5rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

:root {
  --bg:         #fff;
  --text:       #0f0f0f;
  --muted:      #555;
  --border:     #e4e4e7;
  --primary:    #4f46e5;
  --violet:     #7c3aed;
  --text-muted: #555;
  --max-width:  780px;
  --acc-1:      #4f46e5;
  --acc-2:      #7c3aed;
  --acc-3:      #0891b2;
  --acc-4:      #059669;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(79,70,229,0.14);
  color: var(--text);
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

p { text-wrap: pretty; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

/* ── Buttons ── */
.btn {
  display: inline-block; padding: 0.65rem 1.4rem; border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-weight: 600; font-size: 0.9rem; text-decoration: none; cursor: pointer;
  transition: all 0.2s; border: none;
}
.btn-primary { background: #0f0f0f; color: #fff; }
.btn-primary:hover {
  background: #2a2a2a;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(15,15,15,0.18);
}
.btn-primary:active { transform: translateY(0); box-shadow: none; }
.btn-large { padding: 0.85rem 2rem; font-size: 1rem; }

/* ── Header ── */
.site-header {
  position: sticky; top: 0;
  background: rgba(255,255,255,0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100; padding: 0.8rem 0;
  transition: transform 0.3s ease;
}
.site-header.header-hidden { transform: translateY(-100%); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; flex-direction: column; gap: 0.1rem; }
.brand-name { font-weight: 700; font-size: 1rem; color: var(--text); line-height: 1.2; }
.brand-tagline { font-size: 0.7rem; color: var(--muted); letter-spacing: 0.01em; }

/* ── Hero ── */
.hero {
  padding: 7rem 0 6rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(79,70,229,0.045), transparent 70%);
}
.hero-quote {
  font-size: clamp(1.7rem, 4.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--text);
  max-width: 680px;
  margin: 0 auto 1.75rem;
  text-wrap: balance;
}
.hero-quote::before {
  content: '\201C';
  display: block;
  font-size: 4.5rem;
  line-height: 0.75;
  color: var(--acc-1);
  margin-bottom: 0.6rem;
  font-family: 'Lora', serif;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ── Accordion sections ── */
.sections { margin: 0; }

.acc-section {
  border-bottom: 1px solid var(--border);
}
.acc-section:first-child { border-top: 1px solid var(--border); }

.acc-section--1 { --acc: var(--acc-1); }
.acc-section--2 { --acc: var(--acc-2); }
.acc-section--3 { --acc: var(--acc-3); }
.acc-section--4 { --acc: var(--acc-4); }

.acc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  cursor: pointer;
  user-select: none;
  position: relative;
}
.acc-header::before {
  content: '';
  position: absolute;
  left: -1.5rem;
  top: 0; bottom: 0;
  width: 3px;
  background: transparent;
  transition: background 0.2s;
}
.acc-header:hover::before,
.acc-section.open .acc-header::before {
  background: var(--acc);
}

.acc-title {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: 700;
  color: var(--text);
  transition: color 0.2s;
}
.acc-header:hover .acc-title,
.acc-section.open .acc-title { color: var(--acc); }

.acc-icon {
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1;
  flex-shrink: 0;
  width: 1.5rem;
  text-align: center;
  transition: color 0.2s;
}
.acc-section.open .acc-icon { color: var(--acc); }

.acc-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}
.acc-body.open { grid-template-rows: 1fr; }

.acc-body-inner {
  overflow: hidden;
  min-height: 0;
}
.acc-body.open .acc-body-inner {
  padding-bottom: 2.5rem;
}

.acc-intro {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 1.5rem;
  line-height: 1.75;
}
.acc-gap { height: 1rem; }

.acc-body-inner p { color: var(--muted); line-height: 1.75; }
.acc-body-inner p + p { margin-top: 0.9rem; }
.start-now-link { color: var(--primary); font-weight: 600; text-decoration: none; white-space: nowrap; }
.start-now-link:hover { text-decoration: underline; }
.acc-body.open .acc-body-inner { padding-top: 0.25rem; }

/* ── Steps ── */
.steps {
  list-style: none;
  counter-reset: steps;
  display: flex; flex-direction: column; gap: 0;
  margin: 1.25rem 0 1.5rem;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute; left: 0.9rem; top: 1.5rem; bottom: 2rem;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--violet));
  opacity: 0.15;
}
.steps li {
  counter-increment: steps;
  padding: 1.1rem 0 1.1rem 3.25rem;
  position: relative;
}
.steps li::before {
  content: counter(steps);
  position: absolute; left: 0; top: 1.05rem;
  width: 1.9rem; height: 1.9rem;
  background: linear-gradient(135deg, var(--primary), var(--violet));
  color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem;
  box-shadow: 0 0 0 3px rgba(79,70,229,0.12);
}
.step-header { font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: 0.35rem; }
.step-header strong { color: var(--violet); }
.steps p { color: var(--muted); font-size: 0.95rem; }

.guarantee {
  font-family: 'Lora', serif;
  font-style: italic;
  color: var(--muted);
  background: rgba(79,70,229,0.04);
  border-left: 3px solid var(--primary);
  padding: 0.9rem 1.25rem;
  border-radius: 0 6px 6px 0;
  margin-top: 0.5rem;
  margin-left: 3rem;
  margin-right: 3rem;
}

/* ── Pain point cards ── */
.pain-points {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin: 1.25rem 0 1.5rem;
}
.pain-points li {
  background: #fafafa;
  border-radius: 8px;
  padding: 1rem 1.15rem;
  border: 1px solid var(--border);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.pain-points li:hover {
  border-color: #a5b4fc;
  box-shadow: 0 4px 16px rgba(79,70,229,0.09);
  transform: translateY(-2px);
}
.pain {
  display: block;
  font-family: 'Lora', serif;
  font-style: italic;
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}
.fix { display: block; color: var(--muted); font-size: 0.9rem; line-height: 1.55; }
.closing-note {
  font-weight: 600;
  color: var(--text);
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 1.75rem 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.footer-tagline {
  font-size: 0.78rem;
  color: #aaa;
  margin-top: 0.2rem;
}
.footer-contact { margin-top: 0.6rem; }
.contact-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.contact-link:hover { text-decoration: underline; }
.footer-sep { color: var(--border); margin: 0 0.5rem; }
.footer-meta {
  font-size: 0.78rem;
  color: #aaa;
  margin-top: 0.3rem;
}

.footer-link { margin-top: 0.6rem; }
.footer-link a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.85rem;
}
.footer-link a:hover { text-decoration: underline; }

/* ── No-JS fallback ── */
.noscript-fallback { padding: 3rem 0 4rem; }
.noscript-fallback h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800;
  letter-spacing: -0.025em; line-height: 1.2; margin-bottom: 1rem;
}
.noscript-fallback h2 {
  font-size: 1.2rem; font-weight: 700; margin: 2.25rem 0 0.75rem;
}
.noscript-fallback p { color: var(--muted); margin-bottom: 0.85rem; }
.noscript-fallback ul,
.noscript-fallback ol { margin: 0 0 1rem 1.35rem; color: var(--muted); }
.noscript-fallback li { margin-bottom: 0.55rem; }
.noscript-fallback strong { color: var(--text); }
.noscript-note {
  background: rgba(79,70,229,0.05);
  border-left: 3px solid var(--primary);
  border-radius: 0 6px 6px 0;
  padding: 0.9rem 1.25rem;
  font-size: 0.9rem;
  margin-top: 2rem;
}

/* ── 404 ── */
.notfound { text-align: center; padding: 7rem 0 6rem; }
.notfound-code {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 0.75rem;
}
.notfound-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800;
  letter-spacing: -0.02em; margin-bottom: 0.75rem;
}
.notfound-body { color: var(--muted); margin-bottom: 1.75rem; }
.notfound-links a {
  color: var(--primary); font-weight: 600; text-decoration: none; font-size: 0.9rem;
}
.notfound-links a:hover { text-decoration: underline; }

/* ── Idea Review Panel ── */
.idea-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              margin-top 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 0;
}
.idea-panel.open {
  grid-template-rows: 1fr;
  margin-top: 1rem;
}
.idea-panel-inner {
  overflow: hidden;
  min-height: 0;
}
.idea-panel-content {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 1.75rem;
}
.idea-panel-content--inline {
  background: #1e1b4b;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 1.75rem;
  margin-top: 1rem;
}
.idea-panel-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.3rem;
}
.panel-intro {
  color: rgba(255,255,255,0.7) !important;
  font-size: 0.9rem !important;
  margin-bottom: 1.25rem !important;
}
.field { margin-bottom: 1rem; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin-bottom: 0.3rem;
  letter-spacing: 0.01em;
}
.field-input {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: rgba(255,255,255,0.95);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}
.field-input:focus {
  border-color: #818cf8;
  box-shadow: 0 0 0 3px rgba(129,140,248,0.25);
}
.field-input::placeholder { color: #9ca3af; }
textarea.field-input { resize: vertical; min-height: 80px; }
.field-error { color: #fca5a5; font-size: 0.85rem; margin-bottom: 0.75rem; }
.success-msg { color: #a5f3a5 !important; font-weight: 600; font-size: 1rem !important; padding: 0.5rem 0; }
.success-sub { color: rgba(255,255,255,0.6) !important; font-size: 0.9rem !important; margin-top: 0.4rem !important; }

.idea-panel-content .btn-primary,
.idea-panel-content--inline .btn-primary {
  background: var(--violet);
  box-shadow: 0 3px 12px rgba(124,58,237,0.4);
  margin-top: 0.25rem;
}
.idea-panel-content .btn-primary:hover,
.idea-panel-content--inline .btn-primary:hover {
  background: #6d28d9;
}

/* ── Scope wizard ── */
.scope-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.scope-step {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.scope-undo {
  background: none; border: none; padding: 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: color 0.15s;
}
.scope-undo:hover { color: rgba(255,255,255,0.85); }
.scope-question {
  font-size: 1.1rem; font-weight: 700; color: #fff;
  margin-bottom: 1rem; line-height: 1.4;
}
.scope-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.scope-option {
  padding: 0.45rem 0.95rem;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  background: rgba(255,255,255,0.06);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.82);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  white-space: nowrap;
}
.scope-option:hover {
  border-color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.12);
  color: #fff;
}
.scope-option-other {
  border-style: dashed;
  color: rgba(255,255,255,0.4);
  font-size: 0.875rem;
}
.scope-option-other:hover { color: rgba(255,255,255,0.7); }
.scope-option-go {
  flex-shrink: 0;
  background: rgba(124,58,237,0.4);
  border-color: var(--violet);
  color: #fff;
  border-style: solid;
}
.scope-other-wrap {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex: 1 0 100%;
}
.scope-other-input { flex: 1; min-width: 0; }
.scope-so-far {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.scope-so-far-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255,255,255,0.35);
  flex-shrink: 0;
}
.scope-so-far-chip {
  font-size: 0.8rem;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.12);
}

.scope-loading {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 1rem 0;
  color: rgba(255,255,255,0.55); font-size: 0.9rem;
}
.scope-requirement { min-height: 110px; margin-bottom: 1rem; }
.scope-start-btn { margin-top: 0.5rem; }

.follow-note {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55) !important;
  line-height: 1.6;
  margin-bottom: 1rem !important;
}

/* ── Spinner ── */
@keyframes spin { to { transform: rotate(360deg); } }
.spinner {
  display: inline-block;
  width: 0.9rem; height: 0.9rem;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.65s linear infinite;
  vertical-align: middle;
}

/* ── Demo panel ── */
.demo-panel .idea-panel-content {
  background: #fff;
  border-color: var(--border);
  box-shadow: 0 4px 24px rgba(79,70,229,0.08);
}
.demo-panel h3 { color: var(--text) !important; }
.demo-panel .panel-intro { color: var(--muted) !important; }
.demo-label { font-size: 0.85rem; font-weight: 600; color: var(--text); margin: 1.1rem 0 0.5rem; }
.ingredient-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ingredient-tag {
  padding: 0.35rem 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.ingredient-tag:hover { border-color: var(--primary); color: var(--primary); }
.ingredient-tag.selected { background: var(--primary); border-color: var(--primary); color: #fff; }
.mood-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.mood-pill {
  padding: 0.45rem 1.1rem;
  border: 1.5px solid var(--border);
  border-radius: 24px;
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.mood-pill:hover { border-color: var(--violet); color: var(--violet); }
.mood-pill.selected { background: var(--violet); border-color: var(--violet); color: #fff; }
.demo-result {
  background: linear-gradient(135deg, rgba(79,70,229,0.05), rgba(124,58,237,0.05));
  border-left: 3px solid var(--violet);
  border-radius: 0 6px 6px 0;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}
.demo-result p {
  color: var(--text) !important;
  font-family: 'Lora', serif;
  font-style: italic;
  line-height: 1.65;
  margin: 0 !important;
}
.btn-demo {
  display: inline-flex; align-items: center; flex-shrink: 0;
  padding: 0.75rem 1.75rem;
  background: linear-gradient(135deg, var(--violet), #9333ea);
  color: #fff; border: none; border-radius: 8px;
  font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(124,58,237,0.3);
  transition: box-shadow 0.2s, transform 0.15s;
}
.btn-demo:hover { box-shadow: 0 6px 28px rgba(124,58,237,0.45); transform: translateY(-1px); }
.demo-trigger { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; }
.demo-note { font-size: 0.85rem; color: var(--muted); font-style: italic; }

/* ── Mobile ── */
@media (max-width: 600px) {
  .pain-points { grid-template-columns: 1fr; }
  .site-header .btn { font-size: 0.8rem; padding: 0.5rem 0.9rem; }
  .hero { padding: 4rem 0 3.5rem; }
  .hero-quote::before { font-size: 3.5rem; }
  .acc-header { padding: 1.25rem 0; }
}
