:root {
  --ink: #182137;
  --ink-soft: #44506a;
  --paper: #fffaf5;
  --white: #ffffff;
  --pink: #e84179;
  --pink-dark: #b51f55;
  --green: #a7c83e;
  --green-dark: #6d9020;
  --mint: #e8f5ef;
  --rose: #fff0f5;
  --blue: #eaf2ff;
  --line: rgba(24, 33, 55, 0.12);
  --shadow: 0 22px 70px rgba(24, 33, 55, 0.12);
  --shadow-small: 0 12px 34px rgba(24, 33, 55, 0.10);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --max: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 5%, rgba(232, 65, 121, 0.08), transparent 24rem),
    radial-gradient(circle at 95% 18%, rgba(167, 200, 62, 0.11), transparent 26rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

button, a { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  background: var(--ink);
  color: white;
  padding: .75rem 1rem;
  border-radius: 0 0 10px 10px;
}
.skip-link:focus { top: 0; }

.top-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 4px;
  z-index: 1000;
  background: rgba(24, 33, 55, 0.08);
}
.top-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--pink), var(--green));
}

.site-header {
  position: sticky;
  top: 4px;
  z-index: 50;
  width: min(calc(100% - 2rem), var(--max));
  margin: 1rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem .85rem .75rem 1rem;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 999px;
  background: rgba(255, 250, 245, .83);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 35px rgba(24,33,55,.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  min-width: 220px;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  font-weight: 900;
  font-size: 1.15rem;
  background: linear-gradient(145deg, var(--pink), var(--pink-dark));
  box-shadow: inset 0 0 0 6px rgba(255,255,255,.15);
}
.brand strong, .brand small { display: block; }
.brand strong { line-height: 1.1; }
.brand small { color: var(--ink-soft); font-size: .72rem; }

.desktop-nav { display: flex; align-items: center; gap: 1.4rem; }
.desktop-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: .92rem;
  font-weight: 700;
}
.desktop-nav a:hover { color: var(--pink-dark); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 46px;
  padding: .75rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 850;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  box-shadow: 0 10px 25px rgba(181,31,85,.22);
}
.button-primary:hover { box-shadow: 0 16px 30px rgba(181,31,85,.3); }
.button-secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}
.button-ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}
.button-large { min-height: 54px; padding-inline: 1.5rem; }
.text-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--pink-dark);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.section {
  width: min(calc(100% - 2.2rem), var(--max));
  margin-inline: auto;
  padding: 7rem 0;
}

.hero {
  min-height: calc(100vh - 94px);
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  align-items: center;
  gap: 4rem;
  padding-top: 4.5rem;
}
.eyebrow {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .76rem;
  font-weight: 900;
  color: var(--pink-dark);
}
.pulse-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: .45rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(167,200,62,.18);
  animation: pulse 1.8s infinite;
}
.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3rem, 5.6vw, 6.4rem);
  line-height: .97;
  letter-spacing: -.065em;
}
.hero h1 span {
  display: block;
  margin-top: .4rem;
  color: var(--pink-dark);
}
.hero-lead {
  max-width: 760px;
  margin: 1.8rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
}
.path-picker { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; margin-top: 2rem; }
.path-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .85rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--ink);
  text-align: left;
  box-shadow: var(--shadow-small);
  transition: transform .2s ease, border-color .2s ease;
}
.path-card:hover { transform: translateY(-4px); border-color: rgba(232,65,121,.35); }
.path-card-alt { background: var(--ink); color: white; }
.path-card small { display: block; color: inherit; opacity: .7; }
.path-number {
  min-width: 54px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-weight: 900;
  background: var(--rose);
  color: var(--pink-dark);
}
.path-card-alt .path-number { background: rgba(255,255,255,.12); color: white; }
.micro-proof-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.25rem; }
.micro-proof-row span {
  padding: .45rem .7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: .82rem;
  font-weight: 750;
  background: rgba(255,255,255,.65);
}

.hero-visual { position: relative; min-height: 660px; display: grid; place-items: center; }
.portrait-card {
  position: relative;
  z-index: 3;
  width: min(100%, 470px);
  overflow: hidden;
  border-radius: 44px;
  background: #0d6e7b;
  box-shadow: 0 34px 80px rgba(24,33,55,.22);
  transform: rotate(1.4deg);
}
.portrait-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.portrait-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 1rem;
  border-radius: 18px;
  color: white;
  background: rgba(24,33,55,.76);
  backdrop-filter: blur(14px);
}
.portrait-caption span, .portrait-caption strong { display: block; }
.portrait-caption span { font-size: .82rem; opacity: .75; }
.portrait-caption strong { font-size: 1.03rem; }
.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(24,33,55,.22);
  animation: orbit 22s linear infinite;
}
.orbit-one { width: 560px; height: 560px; }
.orbit-two { width: 690px; height: 690px; animation-direction: reverse; animation-duration: 34s; }
.floating-chip {
  position: absolute;
  z-index: 4;
  padding: .7rem 1rem;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-small);
  font-size: .85rem;
  font-weight: 850;
}
.chip-one { top: 14%; right: -2%; }
.chip-two { left: -1%; bottom: 25%; background: var(--rose); color: var(--pink-dark); }
.chip-three { right: 4%; bottom: 8%; background: var(--mint); color: var(--green-dark); }

.signal-strip {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: .55rem 1rem;
  padding: 1.15rem 1.5rem;
  background: var(--ink);
  color: white;
}
.signal-strip p { margin: 0; color: rgba(255,255,255,.72); }
.signal-strip .text-button { color: #f8b8cc; margin-left: 1rem; }

.section-heading { max-width: 850px; margin-bottom: 2.6rem; }
.section-heading h2, .split-copy h2, .final-card h2 {
  margin: 0;
  font-size: clamp(2.25rem, 4.4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.05em;
}
.section-heading > p:last-child, .split-copy > p, .final-card > p {
  max-width: 760px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.timeline-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 520px;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.85);
  box-shadow: var(--shadow-small);
}
.timeline-featured {
  color: white;
  background: linear-gradient(155deg, var(--ink), #2c3957);
  transform: translateY(-18px);
}
.timeline-index {
  position: absolute;
  right: 1rem;
  top: .6rem;
  font-size: 4.5rem;
  font-weight: 950;
  line-height: 1;
  opacity: .08;
}
.timeline-date { margin: 0 0 1.3rem; color: var(--pink-dark); font-weight: 900; }
.timeline-featured .timeline-date { color: #f7a8c0; }
.timeline-card h3 { margin: 0; font-size: 2rem; letter-spacing: -.04em; }
.timeline-role { min-height: 52px; font-weight: 800; color: var(--ink-soft); }
.timeline-featured .timeline-role, .timeline-featured > p { color: rgba(255,255,255,.75); }
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: auto 0 1.4rem; list-style: none; }
.tag-list li { padding: .42rem .62rem; border-radius: 999px; background: var(--rose); color: var(--pink-dark); font-size: .77rem; font-weight: 850; }
.timeline-featured .tag-list li { background: rgba(255,255,255,.1); color: white; }
.inline-link {
  align-self: flex-start;
  border: 0;
  padding: 0;
  color: var(--pink-dark);
  background: none;
  font-weight: 900;
}
.timeline-featured .inline-link { color: #f7a8c0; }

.proof-section { padding-top: 4.5rem; }
.proof-console {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: white;
  box-shadow: var(--shadow);
}
.proof-tabs {
  display: flex;
  gap: .6rem;
  padding: 1rem;
  overflow-x: auto;
  background: var(--ink);
}
.proof-tab {
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  padding: .65rem .9rem;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.72);
  font-weight: 800;
}
.proof-tab.is-active { background: white; color: var(--ink); }
.proof-panel {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 2rem;
  align-items: center;
  min-height: 330px;
  padding: clamp(1.5rem, 4vw, 3.2rem);
}
.proof-kicker { margin: 0 0 .5rem; color: var(--pink-dark); font-weight: 900; }
.proof-panel h3 { margin: 0 0 1rem; font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.05; letter-spacing: -.04em; }
.proof-panel p { color: var(--ink-soft); }
.proof-evidence { padding: 1.25rem; border-radius: 20px; background: var(--mint); }
.proof-evidence span { display: block; margin-bottom: .5rem; color: var(--green-dark); font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 900; }
.proof-evidence strong { font-size: 1.05rem; }
.proof-meter { display: grid; grid-template-columns: 150px 1fr auto; gap: 1rem; align-items: center; padding: 1rem 1.4rem; border-top: 1px solid var(--line); background: #fbfbfd; }
.proof-meter span, .proof-meter strong { display: block; }
.proof-meter span { font-size: .74rem; color: var(--ink-soft); }
.meter-track { height: 8px; border-radius: 999px; overflow: hidden; background: #e7e9ef; }
.meter-track span { width: 14.28%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--pink), var(--green)); transition: width .35s ease; }
.proof-meter p { margin: 0; color: var(--ink-soft); font-size: .86rem; }

.split-story { display: grid; grid-template-columns: 1.05fr .95fr; gap: 4rem; align-items: center; }
.split-copy blockquote {
  margin: 2rem 0 0;
  padding: 1.3rem 1.5rem;
  border-left: 5px solid var(--pink);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--rose);
  font-size: 1.12rem;
  font-weight: 800;
}
.balance-card { padding: 1.2rem; border-radius: var(--radius-xl); background: var(--ink); box-shadow: var(--shadow); }
.balance-line {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem 1rem;
  color: white;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.balance-line:last-child { border-bottom: 0; }
.balance-line span:last-child { text-align: right; color: #f7b4c8; }
.balance-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 8px rgba(167,200,62,.12); }

.lab-section { border-radius: 60px; background: linear-gradient(145deg, #f5f8f4, #fff3f7); padding-inline: clamp(1.2rem, 4vw, 4rem); }
.lab-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 1rem; }
.challenge-picker { display: grid; gap: .7rem; }
.challenge {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .8rem 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-align: left;
  color: var(--ink);
  background: rgba(255,255,255,.68);
}
.challenge > span { grid-row: 1 / 3; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); font-weight: 900; }
.challenge strong { align-self: end; }
.challenge small { color: var(--ink-soft); }
.challenge.is-active { background: var(--ink); color: white; transform: translateX(10px); box-shadow: var(--shadow-small); }
.challenge.is-active small { color: rgba(255,255,255,.7); }
.challenge.is-active > span { background: var(--pink); color: white; }
.lab-result { min-height: 480px; display: flex; flex-direction: column; padding: clamp(1.5rem, 4vw, 3rem); border-radius: var(--radius-xl); background: white; box-shadow: var(--shadow); }
.lab-result-head { display: flex; justify-content: space-between; gap: 1rem; }
.lab-result-head p, .lab-result-head span { margin: 0; color: var(--pink-dark); font-size: .78rem; font-weight: 900; text-transform: uppercase; letter-spacing: .09em; }
.lab-result h3 { margin: 1.5rem 0 .8rem; font-size: clamp(2rem, 3.3vw, 3.4rem); line-height: 1.02; letter-spacing: -.05em; }
.lab-result > p { color: var(--ink-soft); font-size: 1.06rem; }
.lab-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.lab-actions span { padding: .48rem .7rem; border-radius: 999px; background: var(--blue); color: #31558d; font-size: .78rem; font-weight: 850; }
.lab-why { margin: auto 0 1.5rem; padding: 1rem; border-radius: var(--radius-md); background: var(--mint); }
.lab-why span { color: var(--green-dark); font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .09em; }
.lab-why p { margin: .4rem 0 0; }
.lab-result .button { align-self: flex-start; }

.ab-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.ab-card { min-height: 420px; display: flex; flex-direction: column; padding: 2rem; border-radius: var(--radius-lg); border: 1px solid var(--line); background: white; }
.ab-card h3 { margin: 1.5rem 0 .5rem; font-size: 2.2rem; letter-spacing: -.04em; }
.ab-card ul { margin: 1rem 0 2rem; padding-left: 1.2rem; }
.ab-card .button { align-self: flex-start; margin-top: auto; }
.ab-label { align-self: flex-start; padding: .4rem .65rem; border-radius: 999px; background: #eceef3; font-size: .76rem; font-weight: 900; }
.ab-card.muted { opacity: .82; }
.ab-card.winner { color: white; background: linear-gradient(145deg, var(--pink-dark), var(--pink)); box-shadow: 0 24px 60px rgba(181,31,85,.22); transform: rotate(.6deg); }
.ab-card.winner .ab-label { background: rgba(255,255,255,.16); }
.ab-card.winner .button-primary { background: white; color: var(--pink-dark); }

.plan-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.plan-track article { padding: 1.5rem; border-left: 4px solid var(--pink); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; background: white; box-shadow: var(--shadow-small); }
.plan-track article:nth-child(2) { border-color: var(--green); }
.plan-track article:nth-child(3) { border-color: var(--ink); }
.plan-track span { color: var(--pink-dark); font-weight: 900; }
.plan-track h3 { font-size: 1.5rem; line-height: 1.1; }
.plan-track p { color: var(--ink-soft); }
.plan-track strong { display: block; margin-top: 1.2rem; }

.final-cta { padding-bottom: 4rem; }
.final-card { position: relative; overflow: hidden; padding: clamp(2rem, 6vw, 5rem); border-radius: 48px; color: white; background: var(--ink); box-shadow: var(--shadow); }
.final-card::after { content: "M"; position: absolute; right: -2rem; bottom: -8rem; font-size: 28rem; font-weight: 950; line-height: 1; color: rgba(255,255,255,.035); }
.final-card .eyebrow { color: #f7b4c8; }
.final-card > p { color: rgba(255,255,255,.72); }
.final-actions { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.final-card .button-ghost { color: white; border-color: rgba(255,255,255,.25); }
.shortcut-hint { position: relative; z-index: 2; margin-top: 1.5rem; color: rgba(255,255,255,.55); font-size: .85rem; }
kbd { padding: .2rem .45rem; border: 1px solid rgba(255,255,255,.22); border-radius: 6px; background: rgba(255,255,255,.08); }

.site-footer {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
}
.site-footer strong, .site-footer span { display: block; }
.site-footer span, .site-footer small { color: var(--ink-soft); }
.site-footer small { grid-column: 1 / -1; }
.footer-links { display: flex; gap: 1rem; align-items: center; }
.footer-links a { font-weight: 800; text-decoration: none; }

.floating-contact {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .8rem 1rem;
  border: 0;
  border-radius: 999px;
  color: white;
  background: var(--ink);
  box-shadow: 0 16px 44px rgba(24,33,55,.28);
  font-weight: 900;
}
.floating-contact-ping { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(167,200,62,.45); animation: ping 2s infinite; }

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(24,33,55,.66);
  backdrop-filter: blur(10px);
}
.modal-backdrop[hidden] { display: none; }
.contact-modal, .detail-modal {
  position: relative;
  width: min(100%, 760px);
  max-height: min(90vh, 820px);
  overflow: auto;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--radius-xl);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.modal-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  font-size: 1.5rem;
}
.contact-modal h2, .detail-modal h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.02; letter-spacing: -.05em; }
.contact-options { display: grid; gap: .7rem; margin: 1.5rem 0; }
.contact-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .3rem 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-align: left;
  background: white;
}
.contact-option:hover { border-color: rgba(232,65,121,.4); transform: translateX(4px); }
.contact-option > span { grid-row: 1 / 3; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--rose); color: var(--pink-dark); font-weight: 900; }
.contact-option small { color: var(--ink-soft); }
.contact-direct { display: flex; flex-wrap: wrap; gap: .75rem; }
.contact-direct a { padding: .55rem .8rem; border-radius: 999px; background: var(--ink); color: white; font-weight: 800; text-decoration: none; }
.contact-note { margin: 1rem 0 0; color: var(--ink-soft); font-size: .78rem; }
.detail-modal ul { padding-left: 1.2rem; }
.detail-modal .button { margin-top: 1rem; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 300;
  max-width: calc(100% - 2rem);
  padding: .75rem 1rem;
  border-radius: 999px;
  color: white;
  background: var(--ink);
  box-shadow: var(--shadow-small);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20px);
  transition: opacity .25s ease, transform .25s ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.confetti-layer { position: fixed; inset: 0; z-index: 500; pointer-events: none; overflow: hidden; }
.confetti-piece { position: absolute; top: -20px; width: 9px; height: 16px; border-radius: 3px; animation: confetti 1.8s ease-in forwards; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes pulse { 0%,100% { box-shadow: 0 0 0 5px rgba(167,200,62,.15);} 50% { box-shadow: 0 0 0 11px rgba(167,200,62,0);} }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(167,200,62,.4);} 70% { box-shadow: 0 0 0 12px rgba(167,200,62,0);} 100% { box-shadow: 0 0 0 0 rgba(167,200,62,0);} }
@keyframes confetti { to { transform: translateY(110vh) rotate(720deg); opacity: 0; } }


.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  z-index: 180;
  width: min(calc(100% - 2rem), 1120px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.1rem;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 24px;
  color: white;
  background: rgba(24,33,55,.97);
  box-shadow: 0 24px 70px rgba(24,33,55,.34);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-copy { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; }
.privacy-badge { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: var(--green); font-weight: 950; }
.cookie-kicker { margin: 0 0 .15rem; color: #cfe68e; font-size: .75rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.cookie-banner h2 { margin: 0; font-size: 1.25rem; line-height: 1.15; }
.cookie-banner p:last-child { max-width: 720px; margin: .35rem 0 0; color: rgba(255,255,255,.72); font-size: .9rem; }
.cookie-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .55rem; }
.cookie-actions .button { min-height: 44px; padding: .65rem .9rem; }
.cookie-actions .button-secondary { color: white; border-color: rgba(255,255,255,.28); background: transparent; }
.cookie-actions .button-consent-choice { color: var(--ink); border: 1px solid white; background: white; box-shadow: none; }
.cookie-actions .button-consent-choice:hover { box-shadow: 0 8px 18px rgba(0,0,0,.18); }

.privacy-modal { position: relative; width: min(100%, 860px); max-height: min(92vh, 900px); overflow: auto; padding: clamp(1.5rem, 4vw, 3rem); border-radius: var(--radius-xl); background: var(--paper); box-shadow: var(--shadow); }
.privacy-modal h2 { max-width: 720px; margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.02; letter-spacing: -.05em; }
.privacy-intro { max-width: 720px; color: var(--ink-soft); }
.consent-list { display: grid; gap: .8rem; margin: 1.5rem 0; }
.consent-item { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem; padding: 1.1rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; }
.consent-item strong { display: block; font-size: 1rem; }
.consent-item p { margin: .3rem 0 0; color: var(--ink-soft); font-size: .88rem; }
.consent-status { padding: .45rem .65rem; border-radius: 999px; font-size: .75rem; font-weight: 900; white-space: nowrap; }
.consent-status.is-required { color: var(--green-dark); background: var(--mint); }
.switch { display: grid; justify-items: center; gap: .25rem; cursor: pointer; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch-track { width: 52px; height: 30px; padding: 3px; border-radius: 999px; background: #c8ccd5; transition: background .2s ease; }
.switch-track span { display: block; width: 24px; height: 24px; border-radius: 50%; background: white; box-shadow: 0 2px 7px rgba(24,33,55,.22); transition: transform .2s ease; }
.switch input:checked + .switch-track { background: var(--green); }
.switch input:checked + .switch-track span { transform: translateX(22px); }
.switch input:focus-visible + .switch-track { outline: 3px solid rgba(232,65,121,.28); outline-offset: 3px; }
.switch-label { font-size: .74rem; font-weight: 800; }
.privacy-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin: 1.3rem 0 .9rem; }
.privacy-signal { padding: .8rem 1rem; border-radius: 12px; color: var(--pink-dark); background: var(--rose); font-size: .85rem; font-weight: 750; }
.privacy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin: 1.5rem 0; }
.privacy-grid article { padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; }
.privacy-grid article > span { color: var(--pink-dark); font-weight: 950; }
.privacy-grid h3 { margin: .5rem 0 .25rem; }
.privacy-grid p { margin: 0; color: var(--ink-soft); font-size: .88rem; }
.privacy-owner { padding: 1rem; border-left: 4px solid var(--green); border-radius: 0 14px 14px 0; background: var(--mint); }
.privacy-owner p { margin: .25rem 0 0; }
.privacy-owner a { color: var(--ink); font-weight: 800; }
.legal-note { color: var(--ink-soft); font-size: .75rem; }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 3rem; }
  .hero-visual { min-height: 560px; }
  .timeline, .plan-track { grid-template-columns: 1fr; }
  .timeline-card { min-height: auto; }
  .timeline-featured { transform: none; }
  .proof-panel, .split-story, .lab-grid { grid-template-columns: 1fr; }
  .proof-meter { grid-template-columns: 140px 1fr; }
  .proof-meter p { grid-column: 1 / -1; }
  .challenge.is-active { transform: none; }
}

@media (max-width: 700px) {
  .site-header { top: .5rem; border-radius: 20px; }
  .brand { min-width: 0; }
  .brand small { display: none; }
  .site-header > .button { min-height: 42px; padding: .6rem .8rem; font-size: .82rem; }
  .section { width: min(calc(100% - 1.25rem), var(--max)); padding: 4.5rem 0; }
  .hero { min-height: auto; }
  .hero h1 { font-size: clamp(2.8rem, 14vw, 4.7rem); }
  .path-picker, .ab-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 460px; }
  .portrait-card { width: min(92%, 430px); border-radius: 30px; }
  .orbit-one { width: 420px; height: 420px; }
  .orbit-two { width: 510px; height: 510px; }
  .floating-chip { font-size: .72rem; }
  .chip-one { right: 0; }
  .chip-two { left: 0; }
  .chip-three { right: 0; }
  .signal-strip { text-align: center; }
  .signal-strip .text-button { margin-left: 0; }
  .proof-panel { min-height: auto; }
  .proof-meter { grid-template-columns: 1fr; }
  .lab-section { border-radius: 34px; padding-inline: .8rem; }
  .lab-result-head { display: block; }
  .lab-result-head span { display: block; margin-top: .4rem; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
  .floating-contact span:last-child { display: none; }
  .floating-contact { width: 54px; height: 54px; justify-content: center; padding: 0; }
  .cookie-banner { grid-template-columns: 1fr; bottom: .55rem; width: min(calc(100% - 1rem), 1120px); border-radius: 20px; }
  .cookie-actions { justify-content: stretch; }
  .cookie-actions .button { flex: 1 1 30%; }
  .consent-item { grid-template-columns: 1fr; }
  .consent-item .switch, .consent-status { justify-self: start; }
  .privacy-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
