/* ── SULUHU DESIGN INTELLIGENCE TOOL — STYLESHEET ── */

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

:root {
  --black: #000000;
  --white: #ffffff;
  --surface: #F5F4F0;
  --accent: #F26522;
  --text-on-black: #ffffff;
  --text-on-surface: #000000;
  --muted: rgba(255,255,255,0.45);
  --muted-surface: rgba(0,0,0,0.45);
  --border-surface: rgba(0,0,0,0.12);
  --border-dark: rgba(255,255,255,0.12);
  --font: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html, body {
  height: 100%;
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

/* ── VIEWS ── */
.view {
  display: none;
  min-height: 100vh;
  width: 100%;
}
.view.active { display: flex; }

.view-dark {
  background: var(--black);
  color: var(--text-on-black);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

.view-surface {
  background: var(--surface);
  color: var(--text-on-surface);
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 48px 24px;
}

/* ── BRAND MARK ── */
.brand-mark {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 40px;
}
.brand-mark.accent { color: var(--accent); }

/* ── LANDING ── */
.landing-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 48px 24px;
  text-align: center;
  background-color: #000000;
}

.landing-product-identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 40px;
}

.landing-product-name {
  font-size: 2.8rem;
  font-weight: 800;
  color: #F26522;
  letter-spacing: 0.08em;
  line-height: 1;
}

.landing-product-by {
  font-size: 0.75rem;
  font-weight: 400;
  color: #666666;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.landing-eyebrow {
  font-size: 0.65rem;
  font-weight: 500;
  color: #555555;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 24px 0;
}

.landing-headline {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  max-width: 700px;
  margin: 0 auto 24px auto;
  letter-spacing: -0.01em;
}

.landing-subheadline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 400;
  color: #888888;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 40px auto;
}

.landing-decision-types {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  margin-bottom: 48px;
}

.landing-decision-type {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #cccccc;
  letter-spacing: 0.02em;
}

.landing-dot {
  color: #F26522;
  font-size: 1rem;
  font-weight: 700;
}

.landing-cta {
  background-color: #F26522;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  padding: 16px 48px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  letter-spacing: 0.02em;
  font-family: var(--font);
  transition: background-color 0.15s ease, transform 0.1s ease;
  margin-bottom: 24px;
}

.landing-cta:hover { background-color: #d4541a; }
.landing-cta:active { transform: scale(0.98); }

.landing-supporting {
  font-size: 0.8rem;
  color: #555555;
  margin: 0 0 12px 0;
  letter-spacing: 0.02em;
}

.landing-trust {
  font-size: 0.72rem;
  color: #444444;
  margin: 0;
  letter-spacing: 0.01em;
  font-style: italic;
}

@media (max-width: 480px) {
  .landing-product-name { font-size: 2.2rem; }
  .landing-decision-types { flex-direction: column; align-items: center; gap: 10px; }
  .landing-cta { width: 100%; max-width: 320px; padding: 18px 24px; }
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 4px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: opacity 0.15s ease;
  letter-spacing: 0.01em;
}
.btn-primary:hover { opacity: 0.88; }
.btn-primary:active { opacity: 0.75; }
.btn-primary:disabled { opacity: 0.45; cursor: not-allowed; }

.btn-primary.btn-full {
  width: 100%;
  margin-top: 8px;
}

.btn-ghost {
  background: transparent;
  color: var(--muted-surface);
  border: 1px solid var(--border-surface);
  border-radius: 4px;
  padding: 12px 32px;
  font-size: 14px;
  font-family: var(--font);
  cursor: pointer;
  margin-top: 8px;
  transition: opacity 0.15s ease;
}
.btn-ghost:hover { opacity: 0.7; }
.btn-ghost.btn-full { width: 100%; }

.btn-retry {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 4px;
  padding: 8px 20px;
  font-size: 13px;
  font-family: var(--font);
  cursor: pointer;
  margin-top: 8px;
}

/* ── FORM ── */
.form-container {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
}

.form-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.form-sub {
  font-size: 15px;
  color: var(--muted-surface);
  margin-bottom: 32px;
  line-height: 1.55;
}

.field-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.field-group label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--text-on-surface);
}

.field-group input,
.field-group select,
.field-group textarea {
  font-family: var(--font);
  font-size: 15px;
  padding: 12px 14px;
  border: 1.5px solid var(--border-surface);
  border-radius: 4px;
  background: var(--white);
  color: var(--text-on-surface);
  outline: none;
  transition: border-color 0.15s;
  -webkit-appearance: none;
  appearance: none;
}
.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  border-color: var(--accent);
}
.field-group textarea { resize: vertical; min-height: 80px; }

.field-error {
  font-size: 12px;
  color: #d32f2f;
  margin-top: 4px;
  min-height: 16px;
}

.optional {
  font-weight: 400;
  font-size: 11px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted-surface);
}

.draft-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  margin-bottom: 24px;
  border: 1px solid var(--border-surface);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.02);
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-on-surface);
}
.draft-banner[hidden] { display: none; }
.draft-banner-icon {
  font-size: 14px;
  line-height: 1.5;
  color: var(--accent);
  flex-shrink: 0;
}
.draft-banner-text { flex: 1; }
.draft-clear-row {
  text-align: center;
  margin-top: 12px;
  min-height: 16px;
}
.draft-clear-link {
  background: none;
  border: none;
  padding: 4px 8px;
  margin: 0;
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--muted-surface);
  text-decoration: underline;
  cursor: pointer;
}
.draft-clear-link[hidden] { display: none; }
.draft-clear-link:hover { color: var(--text-on-surface); }
.draft-clear-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.draft-saved {
  font-size: 12px;
  color: var(--muted-surface);
  text-align: center;
  margin-top: 10px;
  letter-spacing: 0.02em;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.draft-saved[hidden] { display: none; }
.draft-saved.is-visible { opacity: 1; }

/* ── GREETING ── */
.centred-content {
  max-width: 600px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.greeting-text {
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.5;
  color: var(--white);
  max-width: 560px;
}

/* ── QUESTION ── */
.question-container {
  width: 100%;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.progress-bar-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.progress-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

.progress-track {
  height: 2px;
  background: var(--border-dark);
  border-radius: 2px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.question-block { display: flex; flex-direction: column; gap: 20px; }

.question-text {
  font-size: clamp(20px, 3.5vw, 24px);
  line-height: 1.45;
  font-weight: 500;
  color: var(--white);
}

.probe-reframe {
  border-left: 2px solid var(--accent);
  padding: 12px 16px;
  background: rgba(242,101,34,0.08);
  border-radius: 0 4px 4px 0;
}
.probe-reframe p {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
}

.dimension-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

.answer-block { display: flex; flex-direction: column; gap: 12px; }

.answer-input {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  padding: 16px;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid var(--border-dark);
  border-radius: 4px;
  color: var(--white);
  outline: none;
  resize: vertical;
  transition: border-color 0.15s;
  width: 100%;
}
.answer-input::placeholder { color: var(--muted); }
.answer-input:focus { border-color: var(--accent); }

.answer-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}
.char-hint { font-size: 12px; color: var(--muted); }

.inline-error {
  border: 1px solid rgba(255,100,100,0.3);
  background: rgba(255,100,100,0.08);
  border-radius: 4px;
  padding: 14px 16px;
}
.inline-error p { font-size: 14px; color: rgba(255,255,255,0.8); }

/* ── THINKING ── */
.thinking-dots {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.thinking-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 1.4s ease-in-out infinite;
}
.thinking-dots span:nth-child(2) { animation-delay: 0.2s; }
.thinking-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes pulse-dot {
  0%, 80%, 100% { opacity: 0.2; transform: scale(0.85); }
  40% { opacity: 1; transform: scale(1); }
}

.thinking-label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── FRAMEWORK REVEAL ── */
.framework-container {
  max-width: 680px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.framework-pre {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.framework-name {
  font-size: clamp(36px, 6vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1.1;
}

.framework-definition {
  font-size: 18px;
  line-height: 1.55;
  color: var(--white);
}

.framework-rationale {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,255,255,0.75);
  border-top: 1px solid var(--border-dark);
  padding-top: 24px;
}

/* ── OUTPUT ── */
.output-container {
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.output-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 40px;
}

.output-header-org {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted-surface);
}

.output-block {
  padding: 32px 0;
  border-bottom: 1px solid var(--border-surface);
}
.output-block:last-child { border-bottom: none; }

.output-c1-text {
  font-size: clamp(18px, 2.5vw, 22px);
  line-height: 1.5;
  font-weight: 500;
  color: var(--text-on-surface);
}

.framework-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 12px;
}

.output-c2-def {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-on-surface);
}

.output-section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-surface);
  margin-bottom: 16px;
}

.output-rationale {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-on-surface);
  white-space: pre-wrap;
}

.finding-block {
  margin-bottom: 24px;
  padding-left: 16px;
  border-left: 2px solid var(--accent);
}
.finding-block:last-child { margin-bottom: 0; }

.finding-dim {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.finding-block p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-on-surface);
}

.output-c4-text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted-surface);
  font-style: italic;
}

/* ── EMAIL GATE ── */
.email-gate {
  background: var(--black);
  color: var(--white);
  padding: 40px;
  border-radius: 6px;
  margin-top: 40px;
}

.email-gate h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.email-gate p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 24px;
}

.email-gate .field-group label { color: var(--muted); }
.email-gate .field-group input {
  background: rgba(255,255,255,0.06);
  border-color: var(--border-dark);
  color: var(--white);
}
.email-gate .field-group input::placeholder { color: var(--muted); }
.email-gate .field-group input:focus { border-color: var(--accent); }

/* ── ESCALATION ── */
.escalation-title {
  font-size: clamp(22px, 3.5vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.escalation-text {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted-surface);
  margin-bottom: 12px;
}

/* ── CONFIRMATION ── */
.confirmation-title {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.confirmation-text {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 8px;
}
.confirmation-text.small { font-size: 14px; }

.confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.conf-btn {
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 6px;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: opacity 0.15s ease, background-color 0.15s ease;
  border: none;
  white-space: nowrap;
}

.conf-btn-primary {
  background-color: #F26522;
  color: #ffffff;
}
.conf-btn-primary:not(:disabled):hover { background-color: #d4541a; }
.conf-btn-primary:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.conf-btn-secondary {
  background-color: transparent;
  color: #cccccc;
  border: 1px solid #333333;
}
.conf-btn-secondary:hover {
  border-color: #666666;
  color: #ffffff;
}

.conf-btn-share {
  background-color: transparent;
  color: #F26522;
  border: 1px solid #F26522;
}
.conf-btn-share:hover {
  background-color: #F26522;
  color: #ffffff;
}

.confirmation-social {
  margin-top: 32px;
}

.conf-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #666666;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.15s ease;
}
.conf-linkedin:hover { color: #cccccc; }

@media (max-width: 480px) {
  .confirmation-actions { flex-direction: column; align-items: center; }
  .conf-btn { width: 100%; max-width: 280px; text-align: center; }
}

/* ── LANDING PAGE VIEW OVERRIDE ── */
#view-landing.active {
  display: block;
  padding: 0;
  overflow-y: auto;
  align-items: initial;
  justify-content: initial;
}

/* ── QUESTION VIEW OVERRIDE (unified L1 + Lens) ── */
#view-question.active {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 0;
}

/* ── LANDING PAGE ── */
.lp-wrap {
  font-family: system-ui, -apple-system, sans-serif;
  background: #ffffff;
  color: #111111;
}

.lp-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  background: #000000;
  border-bottom: 1px solid #1a1a1a;
  position: sticky;
  top: 0;
  z-index: 100;
}
.lp-nav-brand { display: flex; flex-direction: column; gap: 2px; }
.lp-nav-k {
  font-size: 20px;
  font-weight: 800;
  color: #F26522;
  letter-spacing: 0.06em;
  line-height: 1;
}
.lp-nav-by {
  font-size: 10px;
  color: #555555;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.lp-nav-cta {
  background: #F26522;
  color: #ffffff;
  border: none;
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.lp-nav-cta:hover { background: #d4541a; }

.lp-hero {
  padding: 80px 40px 72px;
  text-align: center;
  background: #000000;
  color: #ffffff;
}
.lp-eye {
  font-size: 11px;
  color: #555555;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.lp-headline {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  max-width: 640px;
  margin: 0 auto 20px auto;
  letter-spacing: -0.01em;
}
.lp-sub {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: #888888;
  line-height: 1.75;
  max-width: 520px;
  margin: 0 auto 36px auto;
}
.lp-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  margin-bottom: 44px;
}
.lp-tag {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #cccccc;
}
.lp-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #F26522;
  display: inline-block;
  flex-shrink: 0;
}
.lp-hero-btn {
  background: #F26522;
  color: #ffffff;
  border: none;
  padding: 16px 48px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: inline-block;
  margin-bottom: 16px;
  font-family: inherit;
}
.lp-hero-btn:hover { background: #d4541a; }
.lp-hero-note {
  font-size: 12px;
  color: #555555;
  letter-spacing: 0.02em;
}

.lp-section { padding: 72px 40px; }
.lp-section--white { background: #ffffff; }
.lp-section--cream { background: #F5F4F0; }
.lp-section--black { background: #000000; }

.lp-section-eye {
  font-size: 11px;
  font-weight: 700;
  color: #F26522;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.lp-section-eye--orange { color: #F26522; }

.lp-section-h {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #111111;
  margin-bottom: 14px;
  max-width: 560px;
  line-height: 1.25;
}
.lp-section-h--white { color: #ffffff; }

.lp-section-body {
  font-size: 15px;
  color: #555555;
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 32px;
}

.lp-who-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 8px;
}
.lp-who-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 20px;
  border: 1px solid #e8e8e8;
}
.lp-who-role {
  font-size: 11px;
  font-weight: 700;
  color: #F26522;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.lp-who-desc { font-size: 13px; color: #666666; line-height: 1.65; }

.lp-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 32px;
  max-width: 600px;
}
.lp-step {
  display: flex;
  gap: 20px;
  padding-bottom: 32px;
  position: relative;
}
.lp-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 15px;
  top: 34px;
  bottom: 0;
  width: 1px;
  background: #eeeeee;
}
.lp-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #000000;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lp-step-badge {
  display: inline-block;
  background: #FDE8D8;
  color: #c24400;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.lp-step-label { font-size: 14px; font-weight: 700; color: #111111; margin-bottom: 4px; }
.lp-step-desc { font-size: 13px; color: #888888; line-height: 1.65; }

.lp-frames {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 28px;
}
.lp-frame {
  background: #111111;
  border-radius: 10px;
  padding: 20px;
  border: 1px solid #222222;
}
.lp-frame-name {
  font-size: 13px;
  font-weight: 700;
  color: #F26522;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.lp-frame-desc { font-size: 13px; color: #888888; line-height: 1.65; }

.lp-not-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
  max-width: 600px;
}
.lp-not-item { display: flex; gap: 10px; align-items: flex-start; }
.lp-not-x {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #999999;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.lp-not-text { font-size: 13px; color: #777777; line-height: 1.55; }

.lp-final {
  padding: 80px 40px;
  background: #000000;
  text-align: center;
}
.lp-final-h {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.2;
}
.lp-final-sub { font-size: 13px; color: #555555; margin-bottom: 32px; }
.lp-final-btn {
  background: #F26522;
  color: #ffffff;
  border: none;
  padding: 18px 52px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.lp-final-btn:hover { background: #d4541a; }

@media (max-width: 600px) {
  .lp-nav { padding: 16px 20px; }
  .lp-hero { padding: 56px 20px 56px; }
  .lp-section { padding: 52px 20px; }
  .lp-not-grid { grid-template-columns: 1fr; }
  .lp-hero-btn, .lp-final-btn { width: 100%; max-width: 320px; padding: 18px 24px; }
}

/* ── QUESTION VIEW (unified) ── */
.qv-wrap {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #F5F4F0;
  font-family: system-ui, -apple-system, sans-serif;
  width: 100%;
}

.qv-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: #ffffff;
  border-bottom: 1px solid #e8e8e8;
  flex-shrink: 0;
}
.qv-brand { display: flex; align-items: baseline; gap: 6px; }
.qv-brand-k { font-size: 16px; font-weight: 800; color: #F26522; letter-spacing: 0.06em; }
.qv-brand-by { font-size: 11px; color: #bbbbbb; letter-spacing: 0.1em; }
.qv-status { font-size: 12px; color: #aaaaaa; }
.qv-topbar-right { display: flex; align-items: center; gap: 16px; }

.lp-nav-actions { display: flex; align-items: center; gap: 16px; }

.session-clear-link {
  background: none;
  border: none;
  padding: 4px 8px;
  margin: 0;
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: #888888;
  text-decoration: underline;
  cursor: pointer;
}
.session-clear-link[hidden] { display: none; }
.session-clear-link:hover { color: #F26522; }
.session-clear-link:focus-visible { outline: 2px solid #F26522; outline-offset: 2px; }

.qv-body { display: flex; flex: 1; }

.qv-rail {
  width: 220px;
  background: #ffffff;
  border-right: 1px solid #e8e8e8;
  padding: 28px 16px;
  flex-shrink: 0;
}
.qv-rail-section { margin-bottom: 28px; }
.qv-rail-heading {
  font-size: 10px;
  font-weight: 700;
  color: #bbbbbb;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
  padding-left: 10px;
}

.qv-rail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 7px;
  margin-bottom: 2px;
}
.qv-rail-item.rail-done   { background: #f0f0f0; }
.qv-rail-item.rail-active { background: #FDE8D8; }
.qv-rail-item.rail-pending { background: transparent; }

.qv-rail-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  background: #eeeeee;
  color: #aaaaaa;
}
.qv-rail-dot.dot-done    { background: #111111; color: #ffffff; }
.qv-rail-dot.dot-active  { background: #F26522; color: #ffffff; }
.qv-rail-dot.dot-pending { background: #eeeeee; color: #aaaaaa; }

.qv-rail-label { font-size: 12px; color: #bbbbbb; line-height: 1.4; }
.qv-rail-label.label-done    { color: #888888; }
.qv-rail-label.label-active  { color: #c24400; font-weight: 600; }
.qv-rail-label.label-pending { color: #bbbbbb; }

.qv-lens-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 7px;
  margin-bottom: 2px;
}
.qv-lens-pip {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #dddddd;
  flex-shrink: 0;
}
.qv-lens-pip.pip-done    { background: #111111; }
.qv-lens-pip.pip-active  { background: #F26522; }
.qv-lens-pip.pip-pending { background: #dddddd; }

.qv-lens-label { font-size: 12px; color: #bbbbbb; }
.qv-lens-label.lens-done    { color: #888888; }
.qv-lens-label.lens-active  { color: #c24400; font-weight: 600; }

.qv-main {
  flex: 1;
  padding: 44px 48px 40px;
  max-width: 680px;
}
.qv-phase {
  font-size: 11px;
  font-weight: 700;
  color: #F26522;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e0e0e0;
}
.qv-question-text {
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 600;
  color: #111111;
  line-height: 1.45;
  margin-bottom: 12px;
}

.qv-hint-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #aaaaaa;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px 0;
  margin-bottom: 20px;
  font-family: inherit;
}
.qv-hint-toggle:hover { color: #888888; }
.qv-hint-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e8e8e8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #999999;
  font-weight: 700;
  flex-shrink: 0;
}

.qv-hint-box {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-left: 3px solid #F26522;
  border-radius: 8px;
  padding: 16px 18px;
  margin-bottom: 20px;
}
.qv-hint-title {
  font-size: 11px;
  font-weight: 700;
  color: #F26522;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.qv-hint-text { font-size: 13px; color: #666666; line-height: 1.7; }

.qv-probe-box {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-left: 3px solid #111111;
  border-radius: 8px;
  padding: 16px 18px;
  margin-bottom: 20px;
}
.qv-probe-label {
  font-size: 10px;
  font-weight: 700;
  color: #999999;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.qv-probe-text { font-size: 14px; color: #333333; line-height: 1.65; }

.qv-textarea {
  width: 100%;
  background: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 8px;
  padding: 16px;
  font-size: 15px;
  color: #111111;
  resize: vertical;
  min-height: 140px;
  line-height: 1.65;
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
}
.qv-textarea:focus { border-color: #F26522; }
.qv-textarea::placeholder { color: #bbbbbb; }

.qv-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  gap: 16px;
}
.qv-microcopy { font-size: 12px; color: #bbbbbb; flex: 1; }
.qv-submit {
  background: #F26522;
  color: #ffffff;
  border: none;
  padding: 14px 36px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  font-family: inherit;
}
.qv-submit:hover { background: #d4541a; }
.qv-submit:active { transform: scale(0.98); }

.qv-error-block {
  border: 1px solid rgba(210,47,47,0.25);
  background: rgba(210,47,47,0.06);
  border-radius: 6px;
  padding: 14px 16px;
  margin-top: 16px;
  font-size: 14px;
  color: #cc0000;
}
.qv-error-block p { font-size: 14px; color: #333333; margin-bottom: 8px; }

.qv-footer-bar {
  padding: 16px 24px;
  font-size: 11px;
  color: #cccccc;
  text-align: right;
  border-top: 1px solid #e8e8e8;
  background: #ffffff;
}

@media (max-width: 680px) {
  .qv-rail { display: none; }
  .qv-main { padding: 28px 20px 32px; }
  .qv-footer { flex-direction: column; align-items: stretch; }
  .qv-submit { width: 100%; text-align: center; }
}

/* ── UTILITY ── */
.hidden { display: none !important; }

.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .view-dark, .view-surface { padding: 32px 20px; }
  .output-container { gap: 0; }
  .email-gate { padding: 28px 20px; }
  .answer-actions { flex-direction: column; align-items: flex-end; }
}

/* ── Profile form: label hint ── */
.pf-label-hint {
  font-size: 10px;
  font-weight: 400;
  color: #aaaaaa;
  letter-spacing: 0.06em;
  text-transform: none;
  margin-left: 8px;
}

/* ── Profile form: short textarea ── */
.pf-textarea-short {
  width: 100%;
  background: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 14px;
  color: #111111;
  font-family: inherit;
  line-height: 1.6;
  resize: none;
  outline: none;
  margin-top: 6px;
  box-sizing: border-box;
}
.pf-textarea-short:focus {
  border-color: #F26522;
}
.pf-textarea-short::placeholder {
  color: #bbbbbb;
  font-size: 13px;
}

/* ── Profile form: field guide text ── */
.pf-field-guide {
  font-size: 12px;
  color: #aaaaaa;
  line-height: 1.55;
  margin-top: 6px;
  margin-bottom: 20px;
}

/* ── POST-GATE IDENTITY BAR ── */
.pg-identity-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-family: system-ui, sans-serif;
  font-size: 12px;
  color: #aaaaaa;
  margin-bottom: 20px;
}
.pg-identity-sep {
  color: #dddddd;
}

/* ── POST-GATE EMAIL ROW ── */
.pg-email-row {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 8px;
}
.pg-email-row input[type="email"] {
  flex: 1;
}
.pg-email-row input[type="email"][readonly] {
  background-color: #f5f5f5;
  color: #555555;
  cursor: default;
}
.pg-email-change {
  background: none;
  border: none;
  color: #888888;
  font-family: system-ui, sans-serif;
  font-size: 12px;
  text-decoration: underline;
  cursor: pointer;
  padding: 0 4px;
}
.pg-email-change:hover {
  color: #F26522;
}

/* ── GREETING TAP HINT ── */
.greeting-tap-hint {
  font-family: system-ui, sans-serif;
  font-size: 11px;
  color: #444444;
  margin-top: 28px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: greet-pulse 2s ease-in-out infinite;
}
@keyframes greet-pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ── TIME ESTIMATE BLOCK ── */
.qv-time-block {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 10px 0 10px;
  margin-top: 12px;
  border-top: 1px solid #f0f0f0;
}
.qv-time-icon {
  font-size: 14px;
  color: #F26522;
  flex-shrink: 0;
}
.qv-time-label {
  font-family: system-ui, sans-serif;
  font-size: 11px;
  color: #bbbbbb;
  line-height: 1.4;
  transition: opacity 0.4s ease;
}

/* ─────────────────────────────────────────────
   CHANGE 7 — Framework glossary tooltip
   ───────────────────────────────────────────── */
.fw-gloss-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: system-ui, sans-serif;
  font-size: 12px;
  color: #888888;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
  margin-bottom: 12px;
}
.fw-gloss-toggle:hover { color: #F26522; }

.fw-gloss-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #eeeeee;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #999999;
  font-weight: 700;
  flex-shrink: 0;
}

.fw-gloss-box {
  display: none;
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-left: 3px solid #F26522;
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 20px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.fw-gloss-text {
  font-family: Georgia, serif;
  font-size: 13px;
  color: #444444;
  line-height: 1.7;
  margin: 0;
}

/* ─────────────────────────────────────────────
   CHANGE 8 — Demo link + demo view
   ───────────────────────────────────────────── */
.lp-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}
.lp-cta-row .lp-hero-btn { margin-bottom: 0; }

.lp-demo-link {
  background: #000000;
  color: #ffffff;
  border: 2px solid #F26522;
  padding: 14px 46px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.lp-demo-link:hover {
  background: #F26522;
  color: #ffffff;
  border-color: #F26522;
}
.lp-demo-link:focus-visible {
  outline: 2px solid #F26522;
  outline-offset: 2px;
}

@media (max-width: 480px) {
  .lp-cta-row { flex-direction: column; gap: 12px; }
  .lp-demo-link { width: 100%; max-width: 320px; padding: 16px 24px; }
}

#view-demo.active {
  display: block;
  padding: 0;
  background: #F5F4F0;
  overflow-y: auto;
}

.demo-wrap {
  font-family: system-ui, sans-serif;
  background: #F5F4F0;
  min-height: 100vh;
  width: 100%;
}

.demo-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: #ffffff;
  border-bottom: 1px solid #e8e8e8;
  position: sticky;
  top: 0;
  z-index: 10;
}
.demo-back {
  background: none;
  border: none;
  font-size: 13px;
  color: #888888;
  cursor: pointer;
  font-family: system-ui, sans-serif;
}
.demo-back:hover { color: #111111; }
.demo-label {
  font-size: 12px;
  color: #aaaaaa;
  font-family: system-ui, sans-serif;
}
.demo-begin-btn {
  background: #F26522;
  color: #ffffff;
  border: none;
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: system-ui, sans-serif;
}

.demo-notice {
  background: #FDE8D8;
  color: #c24400;
  font-size: 12px;
  font-family: system-ui, sans-serif;
  padding: 10px 24px;
  text-align: center;
  border-bottom: 1px solid #f5c4a0;
}

.demo-body {
  max-width: 680px;
  margin: 0 auto;
  padding: 32px 24px;
}

.demo-section {
  background: #ffffff;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 16px;
  border: 1px solid #eeeeee;
}
.demo-section-label {
  font-size: 9px;
  font-weight: 700;
  color: #F26522;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 8px 0;
}
.demo-orange-rule {
  height: 2px;
  background: #F26522;
  margin-bottom: 14px;
  border-radius: 0;
}
.demo-thin-rule {
  height: 1px;
  background: #eeeeee;
  margin-bottom: 14px;
}
.demo-decision-text {
  font-family: Georgia, serif;
  font-size: 14px;
  color: #111111;
  line-height: 1.75;
  font-style: italic;
  margin: 0;
}
.demo-framework-name {
  font-size: 20px;
  font-weight: 900;
  color: #111111;
  letter-spacing: 0.04em;
  margin: 0 0 6px 0;
}
.demo-framework-def {
  font-family: Georgia, serif;
  font-size: 13px;
  color: #444444;
  line-height: 1.7;
  font-style: italic;
  margin: 0;
}
.demo-body-text {
  font-family: Georgia, serif;
  font-size: 13px;
  color: #333333;
  line-height: 1.8;
  margin: 0;
}
.demo-finding { margin-bottom: 20px; }
.demo-finding:last-child { margin-bottom: 0; }
.demo-finding-dim {
  font-size: 9px;
  font-weight: 700;
  color: #F26522;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 6px 0;
  padding-left: 10px;
  border-left: 3px solid #F26522;
}
.demo-stake-text {
  font-family: Georgia, serif;
  font-size: 13px;
  color: #333333;
  line-height: 1.8;
  font-style: italic;
  margin: 0;
}

.demo-cta-bar {
  background: #000000;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.demo-cta-h {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px 0;
  line-height: 1.4;
}
.demo-cta-sub {
  font-size: 12px;
  color: #666666;
  margin: 0;
}
.demo-cta-btn {
  background: #F26522;
  color: #ffffff;
  border: none;
  padding: 14px 24px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: system-ui, sans-serif;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .demo-cta-bar { flex-direction: column; }
  .demo-cta-btn { width: 100%; text-align: center; }
  .demo-topbar { padding: 12px 16px; }
  .demo-label { display: none; }
}

/* ─────────────────────────────────────────────
   CHANGE 9 — Completion moment
   ───────────────────────────────────────────── */
.cv-wrap {
  background: #000000;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cv-inner {
  text-align: center;
  animation: cv-fade-in 0.6s ease forwards;
}
@keyframes cv-fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cv-kauli {
  font-family: system-ui, sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: #F26522;
  letter-spacing: 0.1em;
  margin: 0 0 6px 0;
}
.cv-by {
  font-family: system-ui, sans-serif;
  font-size: 11px;
  color: #444444;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 24px 0;
}
.cv-rule {
  width: 48px;
  height: 2px;
  background: #F26522;
  margin: 0 auto 24px auto;
}
.cv-ready {
  font-family: Georgia, serif;
  font-size: 18px;
  color: #ffffff;
  margin: 0;
  font-style: italic;
}

/* ─────────────────────────────────────────────
   CHANGE 10 — Three decision contexts
   ───────────────────────────────────────────── */
.lp-context-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.lp-context-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 22px 20px;
  border: 1px solid #e8e8e8;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.lp-context-stage {
  font-family: system-ui, sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: #ffffff;
  background: #000000;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 12px;
  align-self: flex-start;
}
.lp-context-fw {
  font-family: system-ui, sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: #F26522;
  letter-spacing: 0.04em;
  margin: 0 0 8px 0;
}
.lp-context-desc {
  font-family: Georgia, serif;
  font-size: 13px;
  color: #555555;
  line-height: 1.7;
  margin: 0 0 14px 0;
  flex: 1;
}
.lp-context-who {
  font-family: system-ui, sans-serif;
  font-size: 11px;
  color: #aaaaaa;
  letter-spacing: 0.04em;
  border-top: 1px solid #f0f0f0;
  padding-top: 12px;
}

@media (max-width: 480px) {
  .lp-context-grid { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────
   PREPARATION VIEW
   ───────────────────────────────────────────── */
#view-prep.active {
  display: block;
  padding: 0;
  background: #F5F4F0;
  overflow-y: auto;
  align-items: stretch;
}

.prep-wrap {
  font-family: system-ui, -apple-system, sans-serif;
  background: #F5F4F0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.prep-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 24px;
  background: #ffffff;
  border-bottom: 1px solid #e8e8e8;
  flex-shrink: 0;
}
.prep-brand { display: flex; align-items: baseline; gap: 6px; }
.prep-brand-k {
  font-size: 15px;
  font-weight: 900;
  color: #F26522;
  letter-spacing: 0.06em;
}
.prep-brand-by {
  font-size: 10px;
  color: #cccccc;
  letter-spacing: 0.1em;
}
.prep-status { font-size: 11px; color: #bbbbbb; }

.prep-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  padding: 28px 24px 24px;
  min-height: 0;
}

.prep-header { margin-bottom: 20px; flex-shrink: 0; }
.prep-eyebrow {
  font-size: 9px;
  font-weight: 700;
  color: #F26522;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 6px 0;
}
.prep-headline {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: #111111;
  margin: 0 0 6px 0;
  line-height: 1.2;
}
.prep-subhead {
  font-size: 13px;
  color: #777777;
  line-height: 1.65;
  max-width: 600px;
  margin: 0;
}

.prep-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  flex: 1;
  min-height: 0;
}

.prep-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 16px 16px 14px;
  border: 1px solid #e8e8e8;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.prep-card--tip {
  border-color: #F26522;
  border-width: 1.5px;
  background: #FFFAF7;
}

.prep-card-num {
  font-size: 9px;
  font-weight: 800;
  color: #F26522;
  letter-spacing: 0.1em;
  margin: 0 0 8px 0;
}
.prep-card-num--tip {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0;
}

.prep-card-title {
  font-size: 13px;
  font-weight: 700;
  color: #111111;
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.prep-card-desc {
  font-size: 12px;
  color: #666666;
  line-height: 1.65;
  margin: 0 0 12px 0;
  flex: 1;
}

.prep-card-example {
  background: #F5F4F0;
  border-radius: 5px;
  padding: 8px 10px;
  margin-top: auto;
}
.prep-example-label {
  font-size: 8px;
  font-weight: 700;
  color: #bbbbbb;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 3px 0;
}
.prep-example-text {
  font-family: Georgia, serif;
  font-size: 11px;
  color: #555555;
  line-height: 1.55;
  font-style: italic;
  margin: 0;
}

.prep-footer-action {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  gap: 20px;
}

.prep-time-note {
  font-size: 12px;
  color: #aaaaaa;
  margin: 0;
  font-family: system-ui, sans-serif;
  display: flex;
  align-items: center;
  gap: 6px;
}
.prep-time-dot { color: #F26522; }

.prep-begin-btn {
  background: #F26522;
  color: #ffffff;
  border: none;
  padding: 13px 36px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: system-ui, sans-serif;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s ease;
}
.prep-begin-btn:hover { background: #d4541a; }
.prep-begin-btn:active { transform: scale(0.98); }

@media (max-width: 768px) {
  .prep-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .prep-grid { grid-template-columns: 1fr; }
  .prep-footer-action {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .prep-begin-btn { width: 100%; text-align: center; }
  .prep-time-note { justify-content: center; }
}

/* Prep header — button moved to top-right */
.prep-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.prep-header-left { flex: 1; min-width: 0; }
.prep-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
  padding-top: 4px;
}

@media (max-width: 640px) {
  .prep-header { flex-direction: column; }
  .prep-header-right { align-items: stretch; width: 100%; }
  .prep-begin-btn { width: 100%; text-align: center; }
}

/* Framework reveal — additional context block */
.fw-context-block {
  margin: 28px 0 20px 0;
  padding: 18px 20px 14px 20px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.12);
  border-left: 3px solid #F26522;
}
.fw-context-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #000;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
  line-height: 1.4;
}
.fw-context-optional {
  font-weight: 400;
  color: rgba(0,0,0,0.5);
  margin-left: 4px;
}
.fw-context-input {
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  color: #000;
  background: #F5F4F0;
  border: 1px solid rgba(0,0,0,0.15);
  padding: 10px 12px;
  resize: vertical;
  min-height: 64px;
  outline: none;
  transition: border-color 0.15s ease;
}
.fw-context-input:focus {
  border-color: #F26522;
}
.fw-context-input::placeholder {
  color: rgba(0,0,0,0.35);
}
.fw-context-count {
  margin: 6px 0 0 0;
  font-size: 11px;
  color: rgba(0,0,0,0.5);
  text-align: right;
  letter-spacing: 0.02em;
}

/* Profile view — Back to home control */
.profile-back {
  align-self: flex-start;
  background: none;
  border: none;
  padding: 0;
  margin: 0 0 24px 0;
  font-size: 13px;
  color: #888888;
  cursor: pointer;
  font-family: system-ui, sans-serif;
  letter-spacing: 0.01em;
}
.profile-back:hover { color: #111111; }
.profile-back:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .profile-back { margin-bottom: 18px; }
}

/* ── LANDING FOOTER ── */
.lp-footer {
  padding: 36px 32px 40px 32px;
  background: #000000;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.lp-footer-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}
.lp-footer-k {
  font-family: system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
}
.lp-footer-by {
  font-family: system-ui, sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.02em;
}
.lp-footer-tag {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 2px 0 12px 0;
}
.lp-footer-socials {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

/* ── REUSABLE SOCIAL ICON ── */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.06);
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.social-icon:hover {
  color: #ffffff;
  background: var(--accent);
  transform: translateY(-1px);
}
.social-icon:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.social-icon--dark {
  color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.04);
}
.social-icon--dark:hover {
  color: #ffffff;
  background: var(--accent);
}

/* ── CONFIRMATION SOCIAL BLOCK (updated layout) ── */
.confirmation-social-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin: 0 0 14px 0;
}
.confirmation-social-icons {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

@media (max-width: 480px) {
  .lp-footer { padding: 28px 24px 32px 24px; }
}

/* ─────────────────────────────────────────────
   OUTPUT — PDF + Contact actions block
   ───────────────────────────────────────────── */
.output-actions-block {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* PDF primary action */
.output-pdf-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 24px 0;
}
.output-pdf-primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000000;
  color: #ffffff;
  border: none;
  padding: 15px 32px;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: system-ui, sans-serif;
  letter-spacing: 0.02em;
  transition: background 0.15s ease;
}
.output-pdf-primary-btn:hover { background: #F26522; }
.output-pdf-primary-btn:active { transform: scale(0.98); }
.output-pdf-arrow { font-size: 16px; font-weight: 900; }
.output-pdf-sub {
  font-family: system-ui, sans-serif;
  font-size: 12px;
  color: #aaaaaa;
  margin: 0;
}

/* Divider */
.output-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
}
.output-divider::before,
.output-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #eeeeee;
}
.output-divider-text {
  font-family: system-ui, sans-serif;
  font-size: 11px;
  color: #aaaaaa;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

/* Contact action */
.output-contact-action { padding: 24px 0 8px; }
.output-contact-heading {
  font-family: system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #111111;
  margin: 0 0 6px 0;
}
.output-contact-sub {
  font-size: 13px;
  color: #666666;
  line-height: 1.65;
  margin: 0 0 20px 0;
}

/* Contact form */
.output-contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 480px;
}
.ocf-identity-bar {
  font-family: system-ui, sans-serif;
  font-size: 12px;
  color: #aaaaaa;
  margin-bottom: 4px;
}
.ocf-input {
  width: 100%;
  background: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 7px;
  padding: 13px 16px;
  font-size: 14px;
  color: #111111;
  font-family: inherit;
  outline: none;
}
.ocf-input:focus { border-color: #F26522; }
.ocf-select {
  appearance: none;
  color: #888888;
  cursor: pointer;
}
.ocf-submit-btn {
  background: #F26522;
  color: #ffffff;
  border: none;
  padding: 14px 32px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: system-ui, sans-serif;
  align-self: flex-start;
}
.ocf-submit-btn:hover { background: #d4541a; }
.ocf-note {
  font-family: system-ui, sans-serif;
  font-size: 11px;
  color: #aaaaaa;
  margin: 0;
}
.ocf-confirm-text {
  font-family: system-ui, sans-serif;
  font-size: 14px;
  color: #111111;
  line-height: 1.65;
  background: #f0f9f0;
  border: 1px solid #c3e6cb;
  border-radius: 7px;
  padding: 16px;
  margin: 0;
}

@media (max-width: 480px) {
  .output-pdf-primary-btn { width: 100%; justify-content: center; }
  .ocf-submit-btn { width: 100%; text-align: center; }
}

/* ─── On-screen contact form: inline errors & loading state ─── */
.ocf-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ocf-field-error {
  font-family: system-ui, sans-serif;
  font-size: 12px;
  color: #d32f2f;
  min-height: 0;
  line-height: 1.4;
}
.ocf-field-error:empty { display: none; }
.ocf-input[aria-invalid="true"] {
  border-color: #d32f2f;
}
.ocf-input[aria-invalid="true"]:focus {
  border-color: #d32f2f;
}

.ocf-form-error {
  background: #fdecea;
  border: 1px solid #f5c6c6;
  border-radius: 7px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.ocf-form-error[hidden] { display: none; }
.ocf-form-error-text {
  font-family: system-ui, sans-serif;
  font-size: 13px;
  color: #8a1c14;
  margin: 0;
  line-height: 1.5;
}
.ocf-form-error-retry {
  background: transparent;
  color: #8a1c14;
  border: 1px solid #d32f2f;
  border-radius: 6px;
  padding: 8px 16px;
  font-family: system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.ocf-form-error-retry:hover {
  background: #d32f2f;
  color: #ffffff;
}

.ocf-submit-btn:disabled,
.ocf-submit-btn.is-loading {
  background: #cccccc;
  color: #ffffff;
  cursor: not-allowed;
}
.ocf-submit-btn.is-loading { opacity: 0.85; }

/* ─── Profile privacy notice ─── */
.pf-privacy-line {
  font-family: system-ui, sans-serif;
  font-size: 12px;
  color: #888888;
  line-height: 1.65;
  margin: 12px 0 28px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px;
}
.pf-privacy-detail + * {
  margin-top: 28px;
}
.pf-privacy-icon {
  font-size: 11px;
}
.pf-privacy-link {
  background: none;
  border: none;
  color: #F26522;
  font-size: 12px;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.pf-privacy-detail {
  background: #f9f9f9;
  border: 1px solid #eeeeee;
  border-radius: 7px;
  padding: 14px 16px;
  margin-top: 10px;
  font-family: system-ui, sans-serif;
  font-size: 12px;
  color: #666666;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pf-privacy-detail p {
  margin: 0;
}

/* ─── Landing footer privacy link ─── */
.lp-privacy-link {
  font-family: system-ui, sans-serif;
  font-size: 10px;
  color: #444444;
  text-decoration: none;
  letter-spacing: 0.06em;
  margin-left: 16px;
}
.lp-privacy-link:hover {
  color: #F26522;
}

/* ─── Output view: back-to-home link ─── */
.output-home-link {
  margin-left: auto;
  align-self: center;
}
