/* =========================================================
   Career with Vanessa — quiz
   Premium editorial palette: deep ink / warm cream / wine / honey accent
   ========================================================= */

:root {
  --cream:      #F3EDE3;
  --cream-lift: #FAF6EF;
  --ink:        #1A1614;
  --ink-soft:   #7A6D62;
  --wine:       #A5253F;
  --wine-lift:  #C42B4A;
  --wine-deep:  #4A0F1D;
  --honey:      #C89358;
  --honey-lift: #D9A66C;
  --blush:      #E9BEB6;
  --blush-deep: #D89A90;
  --rule:        rgba(26, 22, 20, 0.10);
  --rule-strong: rgba(26, 22, 20, 0.20);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Instrument Sans", system-ui, -apple-system, sans-serif;
  --mono:  "IBM Plex Mono", ui-monospace, monospace;

  --radius: 10px;
  --radius-lg: 16px;
}

*, *::before, *::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--cream);
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: clip;
}

::selection { background: var(--wine); color: var(--cream-lift); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--wine-deep);
  padding-top: env(safe-area-inset-top, 0px);
}

.site-header-inner {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0.85rem max(1.5rem, env(safe-area-inset-right)) 0.85rem max(1.5rem, env(safe-area-inset-left));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-mark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  min-width: 0;
}

.mark-prefix {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(243, 237, 227, 0.55);
  white-space: nowrap;
}

.mark-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--honey);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.social-nav { display: flex; align-items: center; gap: 0.4rem; flex-shrink: 0; }

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  color: rgba(243, 237, 227, 0.7);
  transition: color 0.2s ease;
}

.social-icon svg { width: 1.1rem; height: 1.1rem; display: block; }
.social-icon:hover { color: var(--honey); }

@media (max-width: 34rem) {
  .mark-prefix { font-size: 0.62rem; }
  .mark-name { font-size: 1.05rem; }
  .social-icon { width: 1.9rem; height: 1.9rem; }
  .social-icon svg { width: 1rem; height: 1rem; }
}

/* ---------- Shell + screens ---------- */

.shell {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.5rem max(1.5rem, env(safe-area-inset-right)) 2rem max(1.5rem, env(safe-area-inset-left));
}

@media (min-width: 44rem) {
  .shell { padding: 2rem 2rem 2.5rem; }
}

.screen[hidden] { display: none; }
.screen { animation: rise 0.6s cubic-bezier(0.16, 1, 0.3, 1) both; }

@keyframes rise {
  from { opacity: 0; transform: translateY(0.5rem); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Shared type ---------- */

.marker {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--honey);
  margin: 0 0 1.5rem;
  font-weight: 500;
}

.marker-hero {
  margin-bottom: 0.25rem;
  font-size: clamp(1.5rem, 4.5vw, 2.25rem);
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.015em;
  text-transform: none;
  color: var(--ink);
}

.hero {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.025em;
  margin: 0 0 2rem;
  color: var(--ink);
  overflow-wrap: break-word;
}

.hero em {
  font-style: italic;
  color: var(--wine);
  position: relative;
  display: inline-block;
}

.lede {
  font-size: 1.125rem;
  line-height: 1.6;
  margin: 0 0 2.25rem;
  color: var(--ink-soft);
}

.lede em {
  font-family: var(--serif);
  font-size: 1.15em;
  font-style: italic;
  color: var(--wine);
  line-height: 1;
}

/* Hand-drawn underline */
.underline-hand { position: relative; display: inline-block; }
.underline-hand::after {
  content: "";
  position: absolute;
  left: -0.04em; right: -0.04em; bottom: -0.12em;
  height: 0.28em;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'><path d='M4 9 Q 40 4, 80 7 T 160 6 Q 180 5, 196 8' stroke='%23C89358' stroke-width='2.4' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}

.hl {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--honey);
  padding: 0 0.05em;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  min-height: 3rem;
  padding: 1rem 1.75rem;
  border: none;
  border-radius: 100px;
  background: var(--ink);
  color: var(--cream-lift);
  cursor: pointer;
  text-align: center;
  touch-action: manipulation;
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.3s ease;
  box-shadow: none;
}

.btn:hover {
  background: var(--wine);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -8px rgba(165, 37, 63, 0.35);
}

.btn:hover .btn-arrow { transform: translateX(3px); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn-arrow { display: inline-block; transition: transform 0.2s ease; }
.btn-lg { font-size: 1rem; padding: 1.15rem 2.25rem; }
.btn-full { display: flex; width: 100%; }

.btn-honey {
  background: var(--honey);
  color: var(--ink);
}
.btn-honey:hover { background: var(--honey-lift); box-shadow: 0 10px 28px -8px rgba(200, 147, 88, 0.45); }

.link {
  display: inline-block;
  min-height: 2.75rem;
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--ink-soft);
  background: none;
  border: none;
  padding: 0.85rem 0.25rem;
  margin-top: 1.5rem;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: var(--rule-strong);
  text-underline-offset: 0.32em;
  touch-action: manipulation;
  transition: color 0.2s ease;
}
.link:hover { color: var(--wine); }
.link-center { display: block; margin: 1.5rem auto 0; text-align: center; }

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

/* ---------- Intro ---------- */

.screen-intro {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100svh - 4rem - 3.5rem);
  max-height: calc(100svh - 4rem);
  padding: clamp(0.5rem, 2vh, 1.5rem) 0;
}

.masthead {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  margin: 0 0 clamp(0.75rem, 2.5vh, 2rem);
}

.mast-line { flex: 1; height: 1px; background: var(--rule-strong); }

.mast-label {
  font-family: var(--mono);
  font-size: clamp(0.6rem, 1.3vh, 0.7rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}

.screen-intro .hero {
  font-size: clamp(2rem, 6.2vh + 1vw, 4.25rem);
  margin-bottom: clamp(0.75rem, 2.5vh, 1.75rem);
}

.screen-intro .lede {
  font-size: clamp(0.95rem, 1.8vh + 0.35vw, 1.15rem);
  max-width: 30rem;
  margin: 0 auto clamp(1rem, 3vh, 2rem);
}

.screen-intro .btn-hero {
  font-size: clamp(0.95rem, 1.6vh + 0.2vw, 1.0625rem);
  padding: clamp(0.9rem, 2vh, 1.15rem) 2.5rem;
  min-height: 2.75rem;
}

.meta-pills {
  list-style: none;
  padding: 0;
  margin: clamp(0.75rem, 2vh, 1.35rem) 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  font-family: var(--mono);
  font-size: clamp(0.65rem, 1.4vh, 0.72rem);
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

.meta-pills li { display: inline-flex; align-items: center; gap: 0.45rem; }
.pill-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--honey); }

/* Staggered entrance */
@media (prefers-reduced-motion: no-preference) {
  .screen-intro > * { opacity: 0; animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both; }
  .screen-intro .masthead   { animation-delay: 0.10s; }
  .screen-intro .hero       { animation-delay: 0.25s; }
  .screen-intro .lede       { animation-delay: 0.50s; }
  .screen-intro .btn-hero   { animation-delay: 0.70s; }
  .screen-intro .meta-pills { animation-delay: 0.90s; }
  .underline-hand::after {
    clip-path: inset(0 100% 0 0);
    animation: drawUnderline 0.8s cubic-bezier(0.65, 0, 0.35, 1) 0.85s both;
  }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

@keyframes drawUnderline {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}

/* ---------- Quiz ---------- */

.screen-quiz {
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - 8rem);
}

.progress-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.progress-dots { display: flex; gap: 0.35rem; flex: 1; min-width: 60%; }

.progress-dot {
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: var(--rule);
  transition: background-color 0.4s ease;
}
.progress-dot.filled { background: var(--ink); }
.progress-dot.current { background: var(--honey); }

.counter {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0;
  white-space: nowrap;
  font-weight: 500;
}

.question-frame {
  background: var(--cream-lift);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 3px rgba(26,22,20,0.04), 0 8px 24px -12px rgba(26,22,20,0.12);
  padding: clamp(1.25rem, 3vh, 2.25rem) 1.5rem clamp(0.5rem, 1.2vh, 0.75rem);
  margin: 0 0 1rem;
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  animation: gentleRise 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@media (min-width: 44rem) {
  .question-frame { padding-left: 2.5rem; padding-right: 2.5rem; }
}

@keyframes gentleRise {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

.question-badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 0.55rem;
  padding: 0 0 0.5rem 0;
  background: none;
  border: none;
  border-bottom: 1px solid var(--rule);
  margin-bottom: clamp(0.85rem, 2vh, 1.35rem);
}

.question-badge .badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--honey);
}

.badge-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}

.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blush-deep); flex-shrink: 0; }

.question {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.1rem, 2vh + 0.7vw, 1.6rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 clamp(0.75rem, 2vh, 1.25rem);
  color: var(--ink);
}

.options { display: flex; flex-direction: column; }

.option {
  font-family: var(--sans);
  font-size: clamp(0.875rem, 1.4vh + 0.3vw, 1rem);
  line-height: 1.45;
  text-align: left;
  color: var(--ink);
  background: none;
  border: none;
  border-top: 1px solid var(--rule);
  padding: clamp(0.65rem, 1.5vh, 1rem) 0 clamp(0.65rem, 1.5vh, 1rem) 1.35rem;
  cursor: pointer;
  position: relative;
  touch-action: manipulation;
  transition: color 0.2s ease, padding-left 0.2s ease, background-color 0.2s ease;
}

.option:first-child { border-top: none; }

.option::before {
  content: "\2192";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  color: var(--honey);
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.options:not(.no-hover) .option:hover,
.option:active {
  color: var(--wine);
  padding-left: 1.75rem;
  background: linear-gradient(90deg, rgba(200, 147, 88, 0.07), transparent 60%);
}

.options:not(.no-hover) .option:hover::before,
.option:active::before {
  opacity: 1;
  transform: translateY(-50%) translateX(0.3rem);
}

.option.selected {
  color: var(--cream-lift) !important;
  background: var(--ink) !important;
  padding-left: 2rem !important;
  border-radius: var(--radius);
  margin: 1px 0;
}

.option.selected::before {
  content: "\2713" !important;
  opacity: 1 !important;
  color: var(--honey) !important;
  font-weight: 600;
  left: 0.1rem;
  transform: translateY(-50%) translateX(0.5rem) !important;
}

.option:disabled { cursor: default; }
.option:disabled:not(.selected) { opacity: 0.22; transition: opacity 0.35s ease; }

.quiz-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.quiz-reassure {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin: 0;
  font-style: italic;
  text-align: right;
}

/* ---------- Gate ---------- */

.screen-gate {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100svh - 8rem);
  padding: clamp(0.5rem, 2vh, 1.5rem) 0;
}

.gate-card {
  background: var(--cream-lift);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 3px rgba(26,22,20,0.04), 0 8px 24px -12px rgba(26,22,20,0.12);
  padding: clamp(1.5rem, 3.5vh, 2.5rem) 1.5rem clamp(1.25rem, 3vh, 2rem);
  position: relative;
}

@media (min-width: 44rem) {
  .gate-card { padding-left: 2.5rem; padding-right: 2.5rem; }
}

.marker-honey { color: var(--honey); }

.gate-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.35rem, 2.8vh + 0.8vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 clamp(0.5rem, 1.4vh, 0.85rem);
}

.gate-title em { font-style: italic; color: var(--wine); }

.gate-sub {
  font-size: clamp(0.875rem, 1.6vh + 0.25vw, 1rem);
  margin: 0 0 clamp(1rem, 2.5vh, 1.75rem);
  line-height: 1.55;
  color: var(--ink-soft);
}

.form { margin: 0 0 clamp(0.75rem, 1.8vh, 1.15rem); }

.form-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.55rem;
  font-weight: 500;
}

.form-input {
  width: 100%;
  font-family: var(--sans);
  font-size: 1.0625rem;
  color: var(--ink);
  background: none;
  border: none;
  border-bottom: 1px solid var(--rule-strong);
  padding: 0.5rem 0 0.6rem;
  margin-bottom: clamp(1rem, 2.5vh, 1.5rem);
  outline: none;
  transition: border-bottom-color 0.25s ease;
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder { color: var(--ink-soft); opacity: 0.5; }
.form-input:focus { border-bottom-color: var(--honey); }

.reassure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--ink-soft);
  margin: 0;
  text-align: center;
}

.reassure-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--honey); flex-shrink: 0; }

.form-status {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-align: center;
  margin: 0.75rem 0 0;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius);
}

.form-status.status-error {
  color: var(--wine);
  background: rgba(165, 37, 63, 0.06);
}

.form-status.status-ok {
  color: var(--honey);
  background: rgba(200, 147, 88, 0.08);
}

/* ---------- Result ---------- */

.result-greeting {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 5vw, 2.5rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 2.5rem;
}

.greeting-name {
  color: var(--honey);
}

.hero-result {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 4.5vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--wine);
  margin: 0 0 1.75rem;
  overflow-wrap: break-word;
}

.hero-result em {
  font-style: italic;
  position: relative;
  display: inline;
}

.hero-result em::after {
  content: "";
  position: absolute;
  left: -0.03em; right: -0.03em; bottom: -0.08em;
  height: 0.22em;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'><path d='M4 9 Q 40 4, 80 7 T 160 6 Q 180 5, 196 8' stroke='%23C89358' stroke-width='2.4' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
  animation: drawUnderline 0.8s cubic-bezier(0.65, 0, 0.35, 1) 0.4s both;
}

.teaser {
  font-size: 1.0625rem;
  line-height: 1.65;
  margin: 0 0 0.5rem;
}

.teaser-muted {
  color: var(--ink);
  margin: 0 0 2.25rem;
  font-size: 1rem;
  line-height: 1.6;
}

/* "During a meeting" list */
.flow-recognize {
  margin: 0 0 2rem;
  padding: 1.5rem 1.5rem 1.25rem;
  background: var(--cream-lift);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
}

.recognize-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.recognize-list li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink);
}

.recognize-list li + li {
  border-top: 1px solid var(--rule);
}

.recognize-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--honey);
}

/* ---------- Scorecard (donut + legend) ---------- */

.scorecard {
  background: var(--cream-lift);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  margin: 0 0 2.5rem;
}

@media (min-width: 44rem) {
  .scorecard { padding: 2rem 2.25rem; }
}

.scorecard-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.scorecard-title {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--honey);
  font-weight: 500;
}

.scorecard-note {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.scorecard-rows {
  display: flex;
  align-items: center;
  gap: 2rem;
}

@media (max-width: 30rem) {
  .scorecard-rows {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }
}

/* Donut chart */
.score-visual {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  margin: 0 auto;
}

@media (min-width: 30rem) {
  .score-visual { margin: 0; }
}

.donut {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.donut-pct {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  fill: var(--ink);
  transform: rotate(90deg);
  transform-origin: 64px 64px;
}

.donut-sub {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  fill: var(--ink-soft);
  transform: rotate(90deg);
  transform-origin: 64px 64px;
}

/* Legend */
.score-legend {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.legend-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0;
}

.legend-row + .legend-row {
  border-top: 1px solid var(--rule);
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.legend-label {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--ink-soft);
  flex: 1;
}

.legend-val {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.legend-row-win .legend-label {
  color: var(--ink);
  font-weight: 600;
}

.legend-row-win .legend-val {
  color: var(--honey);
  font-weight: 500;
}

/* ---------- Seamless result flow ---------- */

.flow {
  margin: 2rem 0 0;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--honey);
  margin: 0 0 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.eyebrow::before {
  display: none;
}

.eyebrow-wine  { color: var(--honey); }
.eyebrow-honey { color: var(--honey); }

.flow-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 4.5vw, 1.85rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 0.85rem;
  color: var(--ink);
}

.flow-title-muted { color: var(--ink-soft); font-weight: 400; }

.flow-body {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
}

.flow-body-muted { color: var(--ink); }

.flow-body-lg {
  font-size: 1.125rem;
  line-height: 1.6;
}

/* Tactic card */
.flow-tactic {
  background: var(--wine-deep);
  color: var(--cream-lift);
  margin: 1.5rem 0 0;
  padding: 2rem 1.5rem 1.75rem;
  border-radius: var(--radius-lg);
  position: relative;
}

.flow-tactic .eyebrow { color: var(--honey); }

.flow-tactic .flow-body {
  color: rgba(243, 237, 227, 0.9);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.flow-tactic .flow-body strong {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--honey);
}

.flow-tactic .hl {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--honey);
  background: none;
  padding: 0;
}

.tactic-examples {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.25rem;
}

.tactic-examples li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(243, 237, 227, 0.85);
  font-style: italic;
}

.tactic-examples li + li {
  border-top: 1px solid rgba(243, 237, 227, 0.1);
}

.tactic-examples li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--honey);
}

@media (min-width: 44rem) {
  .flow-tactic {
    padding: 2.5rem 2.5rem 2.25rem;
  }
}

/* Mirror section */
.flow-mirror {
  margin: 0 0 2rem;
}

.flow-mirror .flow-body {
  margin-bottom: 0.75rem;
}

.flow-mirror .flow-body-muted {
  color: var(--ink);
  font-size: 1rem;
  margin-bottom: 0;
}

/* Bonus/closing section */
.flow-bonus .flow-body {
  margin-bottom: 0.75rem;
}

.flow-bonus .flow-body:last-child {
  margin-bottom: 0;
}

.flow-founder {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}
.flow-founder .flow-body { color: var(--ink); font-size: 1rem; margin-bottom: 0.75rem; }
.flow-founder .flow-body-muted { color: var(--ink); margin-bottom: 0; }
.flow-founder .flow-body:last-child { margin-bottom: 0; }

/* Scroll cue */
.scroll-cue {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0 0.25rem;
  height: 1.25rem;
}

.scroll-cue span {
  width: 0.5rem;
  height: 0.5rem;
  border-right: 1.5px solid var(--ink-soft);
  border-bottom: 1.5px solid var(--ink-soft);
  transform: rotate(45deg);
  opacity: 0.25;
  animation: cueBounce 2s ease-in-out infinite;
}

@keyframes cueBounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.15; }
  50%      { transform: rotate(45deg) translate(2px, 2px); opacity: 0.4; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue span { animation: none; }
}

.badge-dot-ink { background: var(--ink-soft); }
.badge-dot-honey { background: var(--honey); }


/* Result entrance — initial elements */
@media (prefers-reduced-motion: no-preference) {
  .screen-result .result-greeting,
  .screen-result .marker-hero,
  .screen-result .hero-result,
  .screen-result .scorecard {
    opacity: 0;
    animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  .screen-result .result-greeting  { animation-delay: 0.05s; }
  .screen-result .marker-hero      { animation-delay: 0.15s; }
  .screen-result .hero-result      { animation-delay: 0.22s; }
  .screen-result .scorecard        { animation-delay: 0.35s; }
}

/* Scroll-reveal for deeper sections */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Offer ---------- */

.offer {
  background: var(--wine-deep);
  color: var(--cream-lift);
  margin: 3.5rem -1.5rem 0;
  padding: 2.75rem 1.5rem 2.5rem;
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--honey);
}

@media (min-width: 44rem) {
  .offer { margin-left: -3rem; margin-right: -3rem; padding: 4rem 3.5rem 3.25rem; border-radius: var(--radius-lg); }
}

.offer-inner { position: relative; max-width: 32rem; margin: 0 auto; }

.offer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.85rem;
  background: rgba(200, 147, 88, 0.12);
  border: 1px solid rgba(200, 147, 88, 0.3);
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.offer-badge-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--honey); animation: pulse 2.4s ease-in-out infinite; }
.offer-badge-text { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--honey); font-weight: 500; }

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.offer-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.25rem, 8vw, 3.25rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 1.15rem;
  color: var(--cream-lift);
}

.offer-title em { font-style: italic; color: var(--honey); }

.offer-kicker-line {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.35;
  color: var(--honey);
  margin: 0 0 1.5rem;
}

.offer-body { font-size: 1rem; line-height: 1.6; color: rgba(243, 237, 227, 0.85); margin: 0 0 1.75rem; }

.offer-divider { display: flex; align-items: center; gap: 0.8rem; margin: 1.75rem 0; }
.offer-divider span:not(.divider-dot) { flex: 1; height: 1px; background: rgba(241, 231, 208, 0.15); }
.divider-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--honey); flex-shrink: 0; }

.offer-list { list-style: none; padding: 0; margin: 0; }
.offer-list li {
  display: flex;
  gap: 1.15rem;
  padding: 1.2rem 0;
  border-top: 1px solid rgba(241, 231, 208, 0.12);
  align-items: flex-start;
}
.offer-list li:first-child { border-top: none; }

.offer-num { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; color: var(--honey); padding-top: 0.4rem; font-weight: 500; flex-shrink: 0; }
.offer-name { display: block; font-family: var(--serif); font-size: 1.4rem; font-style: italic; color: var(--cream-lift); line-height: 1; margin-bottom: 0.45rem; }
.offer-desc { display: block; font-size: 0.9375rem; line-height: 1.55; color: rgba(243, 237, 227, 0.8); }
.offer-desc em { font-family: var(--serif); font-style: italic; color: var(--blush); font-size: 1.15em; }

.offer-price { text-align: center; margin: 0.5rem 0 1.75rem; }
.price-tag { display: inline-flex; align-items: baseline; justify-content: center; gap: 1rem; margin: 0 0 0.85rem; }
.price-was { font-family: var(--serif); font-size: 1.3rem; color: var(--cream); opacity: 0.5; text-decoration: line-through; text-decoration-color: var(--blush); }
.price-now { font-family: var(--serif); font-size: clamp(2.75rem, 10vw, 3.5rem); line-height: 1; color: var(--honey); letter-spacing: -0.02em; font-style: italic; }
.price-note { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blush); margin: 0; font-weight: 500; }
.price-note-mark { width: 4px; height: 4px; border-radius: 50%; background: var(--blush); animation: pulse 2.4s ease-in-out infinite; }

.offer-guarantee {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 1.5rem 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(243, 237, 227, 0.8);
  padding: 1rem 1.1rem;
  background: rgba(0, 0, 0, 0.2);
  border-left: 2px solid var(--honey);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.guarantee-mark { color: var(--honey); font-weight: 500; flex-shrink: 0; padding-top: 0.05rem; }

/* ---------- Footer ---------- */

.foot {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem max(1.5rem, env(safe-area-inset-right)) calc(2.5rem + env(safe-area-inset-bottom, 0px)) max(1.5rem, env(safe-area-inset-left));
  text-align: center;
  border-top: 1px solid var(--rule);
}

.foot-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem 0.85rem;
  margin: 0 0 1rem;
}

.foot-nav a {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 0.35rem 0.15rem;
  transition: color 0.2s ease;
}

.foot-nav a:hover { color: var(--wine); }

.foot-sep { color: var(--ink-soft); opacity: 0.35; font-size: 0.7rem; }

.foot-copy {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: 0.6;
  margin: 0;
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .option:hover { padding-left: 1.35rem; background: none; }
  .btn:hover, .btn:hover .btn-arrow { transform: none; }
}
