:root {
  --purple-900: #3a1568;
  --purple-700: #6426ab;
  --purple-600: #7b3fc7;
  --purple-100: #e8d5f5;
  --purple-50: #f5edfc;
  --teal-500: #62b2b5;
  --teal-400: #8cc9cb;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --white: #ffffff;
  --red-500: #ef4444;
  --amber-500: #f59e0b;
  --radius-xl: 16px;
  --radius-lg: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--slate-900);
  font-family: "DM Sans", sans-serif;
  overflow-x: clip;
}

img,
iframe {
  max-width: 100%;
  display: block;
}

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

.container {
  width: min(1120px, calc(100vw - 24px));
  margin: 0 auto;
}

.announcement-bar {
  background: var(--purple-900);
  color: var(--white);
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
  height: 34px;
  display: grid;
  place-items: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--slate-100);
}

.header-row {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}

.logo-wrap {
  display: inline-flex;
  align-items: center;
  max-width: min(300px, 56vw);
  min-width: 0;
}

.logo-image {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--purple-50) 0%, var(--white) 72%);
  padding: 44px 0 24px;
}

.hero-bg-shape {
  position: absolute;
  right: -90px;
  top: -80px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, #d3b4ef 0%, rgba(245, 237, 252, 0) 72%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: 20px;
}

.hero-grid > * {
  min-width: 0;
}

.hero-copy h1 {
  margin: 8px 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(28px, 8vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.7px;
  overflow-wrap: anywhere;
}

.eyebrow {
  margin: 0;
  color: var(--purple-700);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1.3px;
}

.highlight-line {
  color: var(--purple-700);
  text-decoration-line: underline;
  text-decoration-color: var(--purple-100);
  text-decoration-thickness: 9px;
  text-underline-offset: -1px;
}

.subheadline {
  margin: 16px 0 0;
  color: var(--slate-500);
  max-width: 560px;
  line-height: 1.6;
  font-size: 16px;
  overflow-wrap: anywhere;
}

.trust-row {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  overflow-x: visible;
  padding-bottom: 4px;
}

.trust-pill {
  background: var(--white);
  border: 1px solid var(--purple-100);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--slate-700);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: normal;
}

.form-card {
  background: var(--white);
  border: 2px solid var(--teal-500);
  border-radius: var(--radius-xl);
  padding: 20px;
  box-shadow: 0 12px 32px rgba(100, 38, 171, 0.12);
  max-width: 100%;
}

.form-card h2 {
  margin: 0;
  font-size: 22px;
}

.form-subtitle {
  margin: 4px 0 16px;
  color: var(--slate-500);
  font-size: 13px;
}

form {
  display: grid;
  gap: 8px;
}

label {
  color: var(--slate-700);
  font-size: 14px;
  font-weight: 500;
}

input,
select {
  width: 100%;
  max-width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  min-height: 46px;
  padding: 0 12px;
  color: var(--slate-900);
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  background: var(--white);
  transition: 120ms ease;
}

input::placeholder,
select:invalid {
  color: #cbd5e1;
}

input:focus,
select:focus {
  outline: none;
  border: 2px solid var(--purple-700);
  box-shadow: 0 0 0 3px rgba(100, 38, 171, 0.1);
}

input.error,
select.error {
  border: 2px solid var(--red-500);
  background: #fef2f2;
  color: var(--red-500);
}

.helper-text {
  margin: -2px 0 0;
  color: var(--slate-500);
  font-size: 11px;
}

.field-error {
  margin: 0;
  min-height: 16px;
  color: var(--red-500);
  font-size: 12px;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.turnstile-wrap {
  margin-top: 2px;
}

.turnstile-wrap iframe {
  max-width: 100%;
}

.turnstile-note {
  margin-top: 6px;
}

.form-btn-row {
  margin-top: 6px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.btn {
  border: none;
  border-radius: 999px;
  min-height: 48px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 120ms ease, opacity 120ms ease, background-color 120ms ease;
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--purple-700);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--purple-600);
}

.privacy-copy {
  margin: 8px 0 0;
  color: var(--slate-500);
  font-size: 11px;
  text-align: center;
}

.consent-copy {
  margin: 8px 0 0;
  color: var(--slate-500);
  font-size: 11px;
  text-align: center;
  line-height: 1.5;
}

.consent-copy a {
  color: var(--purple-700);
  font-weight: 700;
  text-decoration: underline;
}

.success-message {
  margin: 4px 0 0;
  min-height: 18px;
  text-align: center;
  color: var(--purple-700);
  font-size: 13px;
  font-weight: 500;
}

.how-section {
  padding: 8px 0 42px;
}

.how-section h2 {
  margin: 0 0 16px;
  font-family: "Roboto", sans-serif;
  font-size: 28px;
}

.steps-grid {
  display: grid;
  gap: 14px;
}

.step-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 14px 14px 14px 62px;
}

.step-card::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 42px;
  width: 2px;
  height: calc(100% - 20px);
  border-left: 2px dashed var(--teal-400);
}

.step-card:last-child::before {
  display: none;
}

.step-node {
  position: absolute;
  left: 12px;
  top: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--purple-700);
  color: var(--white);
  font-weight: 700;
  display: grid;
  place-items: center;
}

.step-card h3 {
  margin: 0;
  font-size: 17px;
}

.step-card p {
  margin: 6px 0 0;
  color: var(--slate-500);
  line-height: 1.45;
  font-size: 14px;
}

.proof-section {
  background: var(--slate-100);
  padding: 44px 0;
}

.proof-grid {
  display: grid;
  gap: 18px;
}

.video-card,
.usp-card,
.comparison-card,
.testimonial-card,
.logos-strip {
  border-radius: var(--radius-lg);
}

.video-card {
  background: transparent;
  border: none;
  padding: 0;
  display: flex;
  justify-content: center;
}

.parliament-video-shell {
  width: min(100%, 380px);
  aspect-ratio: 9 / 16;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  isolation: isolate;
  contain: paint;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.parliament-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
  display: block;
  background: #000;
  transform: translateZ(0) scale(1.03);
  backface-visibility: hidden;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.usp-stack {
  display: grid;
  gap: 12px;
}

.usp-card {
  background: var(--purple-50);
  border: 1px solid var(--purple-100);
  padding: 20px;
}

.usp-card h3 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
}

.usp-card p {
  margin: 9px 0 0;
  line-height: 1.6;
  color: var(--slate-500);
  font-size: 14px;
}

.confidence-line {
  color: var(--purple-700) !important;
  font-weight: 500;
}

.logos-strip {
  margin-top: 20px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  padding: 16px;
}

.logos-strip p {
  margin: 0 0 12px;
  color: var(--slate-500);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.logo-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(140px, 1fr);
  gap: 10px;
  overflow-x: auto;
}

.brand-chip {
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  min-height: 48px;
  display: grid;
  place-items: center;
  background: var(--white);
  padding: 10px;
}

.brand-logo {
  height: 26px;
  width: auto;
  max-width: 120px;
  filter: none;
  opacity: 1;
}

.comparison-wrap {
  margin-top: 20px;
  display: grid;
  gap: 14px;
}

.comparison-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  padding: 0;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.comparison-head {
  background: var(--slate-100);
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
}

.salt-pill {
  background: var(--purple-50);
  color: var(--purple-700);
  border-radius: 999px;
  padding: 6px 10px;
}

.row {
  padding: 12px;
  border-top: 1px solid var(--slate-200);
  display: grid;
  gap: 6px;
}

.branded-row {
  background: #fef2f2;
}

.substitute-row {
  background: var(--purple-50);
}

.med-name {
  margin: 0;
  font-weight: 700;
}

.meta,
.price {
  margin: 0;
}

.meta {
  color: var(--slate-500);
  font-size: 13px;
}

.strike {
  color: var(--red-500);
  text-decoration: line-through;
  font-weight: 700;
}

.teal {
  color: var(--teal-500);
  font-weight: 800;
}

.comparison-footer {
  background: var(--purple-700);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  gap: 8px;
}

.comparison-footer span {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
}

.testimonials {
  display: grid;
  gap: 10px;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 1fr);
  overflow-x: auto;
  padding-bottom: 4px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  padding: 16px;
}

.stars {
  margin: 0;
  color: var(--amber-500);
}

.save-pill {
  margin: 8px 0 10px;
  display: inline-block;
  background: var(--purple-100);
  color: var(--purple-700);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
}

.testimonial-card p {
  color: var(--slate-500);
  line-height: 1.55;
  font-size: 14px;
}

.author {
  color: var(--slate-900) !important;
  font-weight: 700;
  margin: 10px 0 0;
}

.faq-section {
  padding: 42px 0;
}

.faq-section h2 {
  margin: 0 0 14px;
  font-family: "Roboto", sans-serif;
  font-size: 28px;
}

details {
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  background: var(--white);
  padding: 0 14px;
  margin: 10px 0;
}

details[open] {
  background: var(--purple-50);
  border-color: var(--purple-100);
}

summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  padding: 14px 0;
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  margin: 0 0 14px;
  color: var(--slate-500);
  line-height: 1.6;
}

.final-cta {
  background: linear-gradient(140deg, var(--purple-900) 0%, var(--purple-700) 100%);
  color: var(--white);
  padding: 42px 0 56px;
}

.final-cta-inner {
  text-align: center;
}

.final-cta h2 {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(28px, 5vw, 38px);
}

.final-cta p {
  margin: 10px 0 18px;
  color: #e8dff2;
}

.final-actions {
  display: inline-grid;
  gap: 10px;
}

@media (max-width: 359px) {
  .form-btn-row,
  .final-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .header-row {
    min-height: 64px;
    gap: 8px;
  }

  .logo-wrap {
    max-width: min(220px, 54vw);
  }

  .hero-section {
    padding: 28px 0 18px;
  }

  .hero-copy h1 {
    font-size: clamp(24px, 8.5vw, 34px);
    line-height: 1.15;
  }

  .subheadline {
    font-size: 14px;
    line-height: 1.5;
  }

  .trust-row {
    grid-auto-flow: row;
    grid-auto-columns: unset;
    grid-template-columns: 1fr;
    overflow-x: visible;
  }

  .trust-pill {
    width: 100%;
    white-space: normal;
  }

  .form-card {
    padding: 16px;
  }
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
    gap: 26px;
  }

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

  .step-card {
    padding: 58px 14px 14px;
  }

  .step-card::before {
    left: calc(100% + 1px);
    top: 26px;
    width: 10px;
    height: 2px;
    border-left: none;
    border-top: 2px solid var(--teal-500);
  }

  .step-card:last-child::before {
    display: none;
  }

  .step-node {
    left: 14px;
    top: 14px;
  }

  .proof-grid {
    grid-template-columns: minmax(320px, 380px) minmax(0, 1fr);
    align-items: stretch;
    gap: 22px;
  }

  .video-card {
    align-items: stretch;
  }

  .parliament-video-shell {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
  }

  .usp-stack {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .usp-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .comparison-wrap {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .testimonials {
    grid-auto-flow: row;
    grid-auto-columns: initial;
    overflow: visible;
  }

  .final-actions {
    grid-template-columns: 1fr;
  }
}
