:root {
  --cream: #fffdf8;
  --black: #191919;
  --purple: #ab9ff2;
  --purple-deep: #3c315b;
  --lavender: #e2dffe;
  --lime: #f1ff52;
  --ink-soft: #55516b;
  --line: rgba(60, 49, 91, 0.14);
  --radius-card: 20px;
  --font: 'Base Sans', 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  background: var(--cream);
  color: var(--black);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 2px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  /* Grows toward the edges on small screens so text never hugs the bezel */
  padding: 0 clamp(20px, 5.5vw, 32px);
}

/* ---------- Floating pill nav ---------- */

.nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 14px clamp(12px, 3vw, 16px) 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  max-width: 880px;
  background: var(--black);
  color: var(--cream);
  border: 1px solid rgba(226, 223, 254, 0.14);
  border-radius: 999px;
  padding: 8px 10px 8px 16px;
  box-shadow: 0 12px 32px rgba(25, 25, 25, 0.18);
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}

.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: block;
  flex: none;
}

.brand-name {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  font-weight: 500;
}

.nav-links a {
  color: rgba(255, 253, 248, 0.78);
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--lavender);
}

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

.nav-gh {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 253, 248, 0.78);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
}

.nav-gh:hover {
  color: var(--cream);
}

.nav-gh svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

/* ---------- Pill buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 20px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0) scale(0.97);
}

.btn-lime {
  background: var(--lime);
  color: var(--black);
  box-shadow: 0 6px 18px rgba(241, 255, 82, 0.35);
}

.btn-lime:hover {
  background: #e9fa3d;
}

.btn-purple {
  background: var(--purple);
  color: var(--black);
}

.btn-purple:hover {
  background: #9d8fee;
}

.btn-ghost {
  background: #ffffff;
  color: var(--black);
  border-color: var(--line);
  box-shadow: 0 2px 10px rgba(60, 49, 91, 0.06);
}

.btn-ghost:hover {
  background: var(--lavender);
}

.btn-nav {
  background: var(--lime);
  color: var(--black);
  font-size: 13px;
  padding: 8px 16px;
}

.btn-nav:hover {
  background: #e9fa3d;
}

.btn svg {
  width: 15px;
  height: 15px;
}

/* ---------- Hero ---------- */

.hero {
  padding: 148px 0 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* First-paint entrance: one gentle fade-up, staggered by element */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero > * {
  animation: fade-up 600ms var(--ease-out) both;
}

.hero > *:nth-child(2) { animation-delay: 80ms; }
.hero > *:nth-child(3) { animation-delay: 160ms; }
.hero > *:nth-child(4) { animation-delay: 240ms; }
.hero > *:nth-child(5) { animation-delay: 320ms; }

/* Scroll reveal: opt-in via .reveal / .reveal-stagger, applied only when JS runs */
.js .reveal,
.js .reveal-stagger > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 550ms var(--ease-out), transform 550ms var(--ease-out);
}

.js .reveal.in,
.js .reveal-stagger.in > * {
  opacity: 1;
  transform: none;
}

.js .reveal-stagger.in > *:nth-child(2) { transition-delay: 70ms; }
.js .reveal-stagger.in > *:nth-child(3) { transition-delay: 140ms; }
.js .reveal-stagger.in > *:nth-child(4) { transition-delay: 210ms; }

.announce {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  max-width: 100%;
  background: rgba(226, 223, 254, 0.55);
  border: 1px solid rgba(171, 159, 242, 0.45);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 12.5px;
  color: var(--purple-deep);
  text-decoration: none;
  margin-bottom: 28px;
  transition: background 0.15s ease;
}

.announce:hover {
  background: var(--lavender);
}

.announce strong {
  color: var(--purple-deep);
}

.announce .arrow {
  font-weight: 700;
  color: var(--purple);
}

.hero h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--purple-deep);
  max-width: 760px;
}

.hero h1 .accent {
  color: var(--black);
  text-decoration: underline;
  text-decoration-color: var(--lime);
  text-decoration-thickness: 6px;
  text-underline-offset: 5px;
}

.hero .sub {
  margin-top: 18px;
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 620px;
  padding: 0 20px;
}

.hero-ctas {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ---------- Sample report card ---------- */

.report-demo {
  margin-top: 52px;
  width: 100%;
  max-width: 640px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(60, 49, 91, 0.12);
  padding: 26px 28px 20px;
  text-align: left;
}

.report-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.report-score {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.report-score .num {
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
  color: var(--black);
}

.report-score .of {
  color: var(--ink-soft);
  font-size: 15px;
}

.level-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  background: var(--purple-deep);
  color: var(--lavender);
}

.report-counts {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.count-chip {
  font-size: 12px;
  color: var(--ink-soft);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
}

.count-chip strong {
  color: var(--black);
}

.report-demo .finding-sample {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.finding-sample .finding-title {
  font-weight: 600;
  font-size: 14.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.finding-sample .sev-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--purple);
  flex: none;
}

.finding-sample .sev-label {
  margin-left: auto;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--purple-deep);
  background: var(--lavender);
  border-radius: 999px;
  padding: 3px 10px;
}

.finding-sample .evidence {
  margin-top: 10px;
  border-left: 3px solid var(--purple);
  background: var(--cream);
  border-radius: 0 10px 10px 0;
  padding: 8px 12px;
  font-size: 13px;
  font-style: italic;
  color: var(--ink-soft);
}

.report-note {
  margin-top: 14px;
  font-size: 11.5px;
  color: var(--ink-soft);
  text-align: center;
}

/* How to read the report */
.report-legend {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  text-align: left;
}

.legend-item {
  font-size: 11.5px;
  color: var(--ink-soft);
  line-height: 1.45;
}

.legend-item strong {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--purple-deep);
  margin-bottom: 3px;
}

/* ---------- Sections ---------- */

.section {
  padding: 72px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-kicker {
  display: block;
  color: var(--purple);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin-bottom: 6px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--black);
  line-height: 1.2;
}

.section-head p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 14.5px;
}

/* ---------- How it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 22px 20px 24px;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--lavender);
  color: var(--purple-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 14px;
}

.step:nth-child(4) .step-num {
  background: var(--lime);
  color: var(--black);
}

.step h3 {
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 6px;
}

.step p {
  font-size: 13.5px;
  color: var(--ink-soft);
}

/* ---------- Risk categories accordion ---------- */

.accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cat {
  background: #f4f1fa;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: background 0.3s ease;
}

.cat-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 14px 18px;
  font-family: var(--font);
  text-align: left;
}

.cat-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #e6e1f2;
  color: var(--purple-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  font-weight: 700;
  flex: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.cat-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
}

.cat-chevron {
  margin-left: auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: transform 0.3s ease, background 0.3s ease;
}

.cat-chevron svg {
  width: 14px;
  height: 14px;
}

.cat-panel {
  /* Grid-rows 0fr→1fr animates the open/close without measuring heights;
     visibility flips at transition end so closed panels stay out of the a11y tree */
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  padding: 0 18px 0 70px;
  transition: grid-template-rows 300ms var(--ease-out), visibility 300ms;
}

.cat-panel p {
  margin: 0;
  padding: 4px 0 20px;
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 220ms ease;
  color: rgba(255, 253, 248, 0.82);
  font-size: 14px;
  max-width: 640px;
}

.cat.open {
  background: var(--purple-deep);
  border-color: var(--purple-deep);
}

.cat.open .cat-num {
  background: var(--purple);
  color: var(--black);
}

.cat.open .cat-title {
  color: var(--cream);
}

.cat.open .cat-chevron {
  background: var(--lime);
  transform: rotate(90deg);
}

.cat.open .cat-panel {
  grid-template-rows: 1fr;
  visibility: visible;
}

.cat.open .cat-panel p {
  opacity: 1;
}

/* ---------- Why deterministic ---------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.pillar {
  background: var(--black);
  color: var(--cream);
  border-radius: var(--radius-card);
  padding: 26px 24px 28px;
}

.pillar-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--purple);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.pillar:nth-child(2) .pillar-icon {
  background: var(--lime);
}

.pillar:nth-child(3) .pillar-icon {
  background: var(--lavender);
}

.pillar-icon svg {
  width: 20px;
  height: 20px;
}

.pillar h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pillar p {
  font-size: 13.5px;
  color: rgba(255, 253, 248, 0.75);
}

.pillar .formula {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--lime);
  background: rgba(241, 255, 82, 0.1);
  border: 1px solid rgba(241, 255, 82, 0.3);
  border-radius: 999px;
  padding: 4px 12px;
}

/* ---------- Privacy strip ---------- */

.privacy {
  background: var(--lavender);
  border-radius: 28px;
  padding: 40px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.privacy h2 {
  font-size: clamp(1.3rem, 2.8vw, 1.7rem);
  font-weight: 700;
  color: var(--purple-deep);
  letter-spacing: -0.02em;
  max-width: 380px;
  line-height: 1.25;
}

.privacy-facts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fact {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--purple-deep);
}

.fact svg {
  width: 18px;
  height: 18px;
  color: var(--purple-deep);
  flex: none;
}

/* ---------- Try-it-on strip ---------- */

.try-strip {
  background: #ffffff;
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

.try-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.try-label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.try-logos {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: var(--black);
  opacity: 0.55;
}

.brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.brand-chip img {
  height: 18px;
  width: auto;
  flex: none;
}

.brand-chip img.wide {
  height: 14px;
}

/* ---------- Disclaimer ---------- */

.disclaimer-box {
  background: #ffffff;
  border: 2px solid var(--purple);
  border-radius: var(--radius-card);
  padding: 24px 26px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

/* What Exetazo is not */
.not-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.not-item {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 18px 20px;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.not-item strong {
  display: block;
  color: var(--black);
  font-size: 14.5px;
  margin-bottom: 5px;
}

.disclaimer-box svg {
  width: 22px;
  height: 22px;
  color: var(--purple);
  flex: none;
  margin-top: 2px;
}

.disclaimer-box p {
  font-size: 13.5px;
  color: var(--ink-soft);
}

.disclaimer-box strong {
  color: var(--black);
}

/* ---------- Final CTA ---------- */

.final-cta {
  background: var(--black);
  border-radius: 28px;
  padding: 56px 40px;
  text-align: center;
}

.final-cta h2 {
  color: var(--cream);
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.18;
}

.final-cta p {
  color: rgba(255, 253, 248, 0.7);
  font-size: 14.5px;
  margin-top: 12px;
}

.final-cta .btn {
  margin-top: 26px;
}

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

footer {
  margin-top: auto;
  padding: 36px 0 30px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 26px;
  font-size: 12.5px;
  color: var(--ink-soft);
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  text-decoration: none;
  color: var(--ink-soft);
}

.footer-links a:hover {
  color: var(--purple-deep);
}

/* ---------- Privacy policy ---------- */

.policy-head {
  padding: 148px 0 8px;
}

.policy-head h1 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--purple-deep);
}

.policy-head p {
  margin-top: 14px;
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 560px;
}

.policy-body {
  padding-bottom: 40px;
}

.policy-section {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 26px 28px;
  margin-bottom: 16px;
  max-width: 760px;
}

.policy-section h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--purple-deep);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.policy-section p {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.policy-section p:last-child {
  margin-bottom: 0;
}

.policy-section ul {
  padding-left: 18px;
  margin: 8px 0;
}

.policy-section li {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 5px 0;
}

.policy-section strong {
  color: var(--black);
}

.policy-section code {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 7px;
  font-size: 12.5px;
  color: var(--purple-deep);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .pillars {
    grid-template-columns: 1fr;
  }

  .report-legend,
  .not-list {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 560px) {
  .hero {
    /* Less dead space under the pill nav, more room for content */
    padding-top: 128px;
  }

  .section {
    padding: 56px 0;
  }

  .hero .sub {
    padding: 0 4px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .nav-gh span {
    display: none;
  }

  .cat-panel {
    padding-left: 18px;
  }

  .report-demo {
    padding: 22px 24px 18px;
  }

  .report-legend {
    padding-top: 16px;
  }

  .privacy {
    padding: 30px 26px;
  }

  .disclaimer-box {
    padding: 22px 24px;
  }

  .not-item {
    padding: 20px 22px;
  }

  .final-cta {
    padding: 42px 26px;
  }

  .policy-head {
    padding-top: 128px;
  }

  .policy-section {
    padding: 20px 22px;
  }

  .try-inner {
    justify-content: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .cat,
  .cat-chevron,
  .cat-num,
  .cat-panel,
  .cat-panel p {
    transition: none;
  }

  .hero > * {
    animation: none;
  }

  .js .reveal,
  .js .reveal-stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover {
    transform: none;
  }
}
