#tst-wrap *, #tst-wrap *::before, #tst-wrap *::after { box-sizing: border-box; margin: 0; padding: 0; }

#tst-wrap {
  --cream: #F5F0E8;
  --warm-white: #FDFAF5;
  --ink: #1C1813;
  --muted: #6B6259;
  --accent: #8B6F5E;
  --accent-light: #C4A491;
  --line: rgba(28,24,19,0.12);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Helvetica Neue', Arial, sans-serif;
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
}

#tst-wrap #landing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

#tst-wrap .land-left {
  background: var(--cream);
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

#tst-wrap .land-right {
  background: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px;
  position: relative;
  overflow: hidden;
}

#tst-wrap .land-right::before {
  content: '"';
  position: absolute;
  top: 40px; left: 40px;
  font-family: var(--serif);
  font-size: 200px;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  pointer-events: none;
}

#tst-wrap .eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  font-weight: 400;
}

#tst-wrap .hero-title {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.15;
  font-weight: 400;
  margin-bottom: 28px;
  color: var(--ink);
}

#tst-wrap .hero-title em { font-style: italic; color: var(--accent); }

#tst-wrap .hero-sub {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 380px;
  margin-bottom: 48px;
}

#tst-wrap .meta-row { display: flex; gap: 32px; margin-bottom: 48px; }
#tst-wrap .meta-item { display: flex; flex-direction: column; gap: 4px; }
#tst-wrap .meta-num { font-family: var(--serif); font-size: 28px; color: var(--accent); line-height: 1; }
#tst-wrap .meta-label { font-size: 11px; color: var(--muted); letter-spacing: 0.06em; }

#tst-wrap .start-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: var(--warm-white);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.06em;
  padding: 16px 32px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s;
  width: fit-content;
}

#tst-wrap .start-btn:hover { background: var(--accent); }

#tst-wrap .testimonial-text {
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 24px);
  font-style: italic;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  margin-bottom: 32px;
}

#tst-wrap .for-whom { margin-top: 48px; }

#tst-wrap .for-whom-title {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 20px;
  font-weight: 400;
}

#tst-wrap .for-whom-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }

#tst-wrap .for-whom-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

#tst-wrap .for-whom-list li::before { content: '—'; color: var(--accent-light); flex-shrink: 0; }

/* TEST */

#tst-wrap #test-section {
  display: none;
  min-height: 100vh;
  background: var(--warm-white);
  padding: 60px 20px;
}

#tst-wrap .test-container { max-width: 680px; margin: 0 auto; }

#tst-wrap .test-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
}

#tst-wrap .test-logo { font-family: var(--serif); font-size: 16px; color: var(--accent); font-style: italic; }
#tst-wrap .test-step { font-size: 12px; color: var(--muted); letter-spacing: 0.1em; }

#tst-wrap .progress-track { height: 1px; background: var(--line); margin-bottom: 64px; position: relative; }
#tst-wrap .progress-fill { height: 1px; background: var(--accent); transition: width 0.5s ease; position: absolute; top: 0; left: 0; }

#tst-wrap .question-area { animation: tstFadeUp 0.4s ease both; }

@keyframes tstFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

#tst-wrap .q-eyebrow { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }

#tst-wrap .q-text {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 48px;
}

#tst-wrap .options-grid { display: flex; flex-direction: column; gap: 12px; margin-bottom: 48px; }

#tst-wrap .opt {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 20px 24px;
  text-align: left;
  font-size: 15px;
  font-weight: 300;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1.5;
  position: relative;
}

#tst-wrap .opt::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: var(--accent);
  transition: width 0.2s;
  border-radius: 2px 0 0 2px;
}

#tst-wrap .opt:hover { border-color: var(--accent-light); color: var(--ink); }
#tst-wrap .opt.selected { border-color: var(--accent); color: var(--ink); background: rgba(139,111,94,0.05); }
#tst-wrap .opt.selected::before { width: 3px; }

#tst-wrap .test-nav { display: flex; justify-content: space-between; align-items: center; }

#tst-wrap .nav-back {
  background: none; border: none;
  font-size: 13px; color: var(--muted);
  cursor: pointer; letter-spacing: 0.06em;
  padding: 8px 0; display: flex; align-items: center; gap: 8px;
}

#tst-wrap .nav-back:hover { color: var(--ink); }
#tst-wrap .nav-back:disabled { opacity: 0.3; cursor: default; }

#tst-wrap .nav-next {
  background: var(--ink); border: none;
  font-size: 13px; font-weight: 400;
  color: var(--warm-white); letter-spacing: 0.08em;
  padding: 14px 28px; border-radius: 2px;
  cursor: pointer; display: flex; align-items: center; gap: 10px;
  transition: background 0.2s, opacity 0.2s;
}

#tst-wrap .nav-next:hover:not(:disabled) { background: var(--accent); }
#tst-wrap .nav-next:disabled { opacity: 0.25; cursor: default; }

/* RESULT */

#tst-wrap #result-section { display: none; min-height: 100vh; background: var(--warm-white); }

#tst-wrap .result-hero {
  background: var(--cream);
  padding: 80px 40px 60px;
  text-align: center;
}

#tst-wrap .result-eyebrow { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; font-weight: 400; }

#tst-wrap .result-title {
  font-family: var(--serif);
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  max-width: 640px;
  margin: 0 auto 24px;
}

#tst-wrap .result-title em { font-style: italic; color: var(--accent); }

#tst-wrap .result-body { max-width: 720px; margin: 0 auto; padding: 60px 40px; }
#tst-wrap .result-desc { font-size: 16px; color: var(--muted); line-height: 1.85; margin-bottom: 40px; }

#tst-wrap .insight-block {
  border-left: 2px solid var(--accent);
  padding: 24px 32px; margin: 40px 0;
  background: var(--cream); border-radius: 0 2px 2px 0;
}

#tst-wrap .insight-block p { font-family: var(--serif); font-size: 18px; font-style: italic; color: var(--ink); line-height: 1.6; }

#tst-wrap .what-next { margin: 48px 0; padding: 40px; background: var(--ink); border-radius: 2px; }
#tst-wrap .what-next-title { font-family: var(--serif); font-size: 22px; margin-bottom: 16px; font-weight: 400; color: rgba(255,255,255,0.9); }
#tst-wrap .what-next-text { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.8; margin-bottom: 28px; }

#tst-wrap .email-form { display: flex; max-width: 440px; }

#tst-wrap .email-input {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-right: none;
  border-radius: 2px 0 0 2px;
  padding: 14px 18px;
  font-size: 14px; font-weight: 300;
  color: #fff; outline: none;
}

#tst-wrap .email-input::placeholder { color: rgba(255,255,255,0.3); }

#tst-wrap .email-submit {
  background: var(--accent); border: none;
  border-radius: 0 2px 2px 0;
  padding: 14px 24px;
  font-size: 13px; font-weight: 400;
  color: #fff; letter-spacing: 0.06em;
  cursor: pointer; transition: background 0.2s; white-space: nowrap;
}

#tst-wrap .email-submit:hover { background: var(--accent-light); }
#tst-wrap .email-note { font-size: 11px; color: rgba(255,255,255,0.3); margin-top: 10px; }
#tst-wrap .success-msg { display: none; font-size: 14px; color: var(--accent-light); padding: 14px 0; }

#tst-wrap .restart-link {
  display: block; text-align: center; margin-top: 32px;
  font-size: 12px; color: var(--muted); letter-spacing: 0.08em;
  cursor: pointer; text-decoration: underline; text-underline-offset: 4px;
}

@media (max-width: 768px) {
  #tst-wrap #landing { grid-template-columns: 1fr; }
  #tst-wrap .land-left { padding: 60px 32px; }
  #tst-wrap .land-right { padding: 60px 32px; }
  #tst-wrap .result-body { padding: 40px 24px; }
  #tst-wrap .what-next { padding: 28px 24px; }
  #tst-wrap .email-form { flex-direction: column; }
  #tst-wrap .email-input { border-right: 1px solid rgba(255,255,255,0.15); border-bottom: none; border-radius: 2px 2px 0 0; }
  #tst-wrap .email-submit { border-radius: 0 0 2px 2px; }
}