:root {
  --background: hsl(210 20% 98%);
  --foreground: hsl(210 30% 15%);
  --card: hsl(0 0% 100%);
  --muted: hsl(210 20% 96%);
  --muted-foreground: hsl(210 10% 45%);
  --primary: hsl(199 78% 38%);
  --primary-dark: hsl(199 78% 32%);
  --primary-foreground: hsl(0 0% 100%);
  --border: hsl(210 20% 90%);
  --accent: hsl(42 90% 55%);
  --danger: hsl(0 84% 60%);
  --success: hsl(145 40% 42%);
  --success-dark: hsl(145 40% 25%);
  --success-strong: hsl(145 55% 38%);
  --shadow-md: 0 10px 30px rgba(26, 44, 61, 0.08);
  --shadow-lg: 0 18px 44px rgba(26, 44, 61, 0.12);
  --radius-lg: 1.25rem;
  --radius-md: 1rem;
  --radius-sm: 0.75rem;
  --max-page-width: 32rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
}

.site-shell {
  min-height: 100vh;
  background: var(--background);
}

.site-shell.success-shell {
  background: hsl(0 0% 95%);
}

.top-stripe {
  width: 100%;
  height: 0.375rem;
  background: var(--primary);
}

.page-wrap {
  width: min(100%, var(--max-page-width));
  margin: 0 auto;
  padding: 2rem 1rem;
}

.page-wrap.tight {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.centered-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-title {
  margin: 0 0 2rem;
  color: var(--foreground);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

.hero-tag {
  margin: 0 0 0.5rem;
  color: var(--primary);
  font-size: 1.55rem;
  font-weight: 800;
  text-align: center;
}

.hero-copy {
  margin: 0 0 0.25rem;
  color: var(--foreground);
  font-size: 1rem;
  text-align: center;
}

.hero-emphasis {
  margin: 0 0 1.5rem;
  color: var(--foreground);
  font-size: 1.125rem;
  font-weight: 800;
  text-align: center;
}

.hero-question {
  margin: 0 0 1.5rem;
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 800;
  text-align: center;
}

.hero-figure,
.card-image-frame {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.hero-figure {
  max-width: 24rem;
  margin-bottom: 2rem;
}

.hero-figure img,
.card-image-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.support-copy {
  max-width: 18rem;
  margin: 1rem auto 0;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  text-align: center;
}

.progress-track {
  width: 100%;
  height: 0.5rem;
  margin-bottom: 2rem;
  overflow: hidden;
  background: color-mix(in srgb, var(--primary) 10%, white);
  border-radius: 999px;
}

.progress-track.thick {
  height: 2rem;
}

.progress-fill {
  height: 100%;
  background: var(--primary);
  border-radius: inherit;
  transition: width 0.3s ease;
}

.progress-fill.with-label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 8%;
  color: var(--primary-foreground);
  font-size: 0.875rem;
  font-weight: 800;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 32rem);
  min-height: 3.75rem;
  padding: 1rem 1.5rem;
  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  font-size: 1.125rem;
  font-weight: 800;
  text-align: center;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.primary-button:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

.primary-button:active {
  transform: translateY(0) scale(0.98);
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
}

.option-list {
  display: grid;
  gap: 0.75rem;
  width: 100%;
}

.option-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.option-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.option-card:active {
  transform: scale(0.98);
}

.option-card.list {
  flex-direction: row;
  align-items: center;
  padding: 1rem;
}

.option-card-figure {
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--muted);
}

.option-card-figure.square {
  aspect-ratio: 1 / 1;
}

.option-card.list .option-card-figure {
  width: 4rem;
  height: 4rem;
  flex: 0 0 4rem;
}

.option-card-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.option-card-label {
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.option-card.list .option-card-label {
  text-align: left;
}

.media-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.media-frame.tall {
  aspect-ratio: 9 / 16;
}

.media-frame video,
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-flash {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.media-flash-badge {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 999px;
}

.media-flash-badge svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: #fff;
}

.body-copy {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  text-align: center;
}

.body-copy.bold {
  font-weight: 800;
}

.audio-player {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  margin-bottom: 2rem;
  padding: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-md);
}

.audio-icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 2.5rem;
}

.audio-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: currentColor;
}

.audio-progress {
  position: relative;
  flex: 1 1 auto;
  height: 2rem;
  display: flex;
  align-items: center;
}

.audio-progress-track {
  width: 100%;
  height: 0.25rem;
  overflow: hidden;
  background: var(--border);
  border-radius: 999px;
}

.audio-progress-fill {
  height: 100%;
  background: var(--primary);
  border-radius: inherit;
}

.audio-waves {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  opacity: 0.3;
  pointer-events: none;
}

.audio-wave {
  width: 2px;
  background: var(--foreground);
  border-radius: 999px;
}

.audio-avatar {
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 2.5rem;
  overflow: hidden;
  border-radius: 999px;
}

.audio-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-shell {
  width: 100%;
}

.testimonial-stage {
  position: relative;
  margin-bottom: 1rem;
}

.testimonial-stage img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 999px;
}

.carousel-nav.prev {
  left: 0.5rem;
}

.carousel-nav.next {
  right: 0.5rem;
}

.carousel-nav svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: #fff;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 0 2rem;
}

.carousel-dot {
  width: 0.625rem;
  height: 0.625rem;
  background: var(--border);
  border-radius: 999px;
  transition: background 0.2s ease;
}

.carousel-dot.active {
  background: var(--primary);
}

.loading-card {
  width: min(100%, 24rem);
  margin-bottom: 2rem;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.loading-label {
  margin: 0 0 0.25rem;
  color: var(--primary);
  font-size: 1.125rem;
  font-weight: 800;
}

.loading-status {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-style: italic;
  animation: pulse 1.4s ease-in-out infinite;
}

.meter-card {
  width: 100%;
  margin-bottom: 2rem;
  padding: 1rem;
  background: var(--muted);
  border-radius: var(--radius-md);
}

.meter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.meter-title {
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 800;
}

.meter-pill {
  padding: 0.35rem 0.75rem;
  background: var(--foreground);
  color: var(--background);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.meter-track {
  position: relative;
  width: 100%;
  height: 0.75rem;
  margin-bottom: 0.5rem;
  background: color-mix(in srgb, var(--primary) 20%, white);
  border-radius: 999px;
}

.meter-track::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(var(--meter-value, 0%) - 0.625rem);
  width: 1.25rem;
  height: 1.25rem;
  background: white;
  border: 2px solid var(--primary);
  border-radius: 999px;
  box-shadow: 0 4px 18px rgba(31, 71, 108, 0.18);
  transform: translateY(-50%);
  transition: left 1s ease;
}

.meter-scale {
  display: flex;
  justify-content: space-between;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 800;
}

.offer-headline {
  margin: 0;
  color: var(--foreground);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

.offer-kicker {
  margin: 0 0 0.25rem;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
}

.offer-highlight {
  color: var(--primary);
}

.offer-hero {
  position: relative;
  width: 100%;
  height: 13rem;
  overflow: hidden;
}

.offer-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

.offer-hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
}

.offer-hero-content .offer-kicker {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}

.offer-hero-content .offer-headline {
  color: white;
}

.offer-hero-content .offer-accent {
  color: var(--accent);
}

.text-block {
  margin: 0 0 1.5rem;
  color: var(--foreground);
  font-size: 1rem;
  line-height: 1.7;
  text-align: center;
}

.image-card {
  width: 100%;
  height: 11rem;
  margin-bottom: 1.5rem;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.benefit-card {
  width: 100%;
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.benefit-list {
  display: grid;
  gap: 0.75rem;
}

.benefit-list p {
  margin: 0;
  color: var(--foreground);
  font-size: 0.875rem;
}

.benefit-list strong {
  color: var(--danger);
}

.price-block {
  margin-bottom: 1.5rem;
  text-align: center;
}

.price-old {
  margin: 0 0 0.25rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  text-decoration: line-through;
}

.price-current {
  margin: 0;
  color: var(--foreground);
  font-size: 2.5rem;
  font-weight: 900;
}

.price-note {
  margin: 0.25rem 0 0;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 800;
}

.checkout-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1.25rem 1rem;
  background: var(--success);
}

.checkout-header h1 {
  margin: 0;
  color: white;
  font-size: 1.25rem;
  font-weight: 800;
}

.checkout-mark {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 2px solid var(--success-dark);
  border-radius: 999px;
}

.checkout-mark svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: var(--success-dark);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.checkout-container {
  width: min(100%, var(--max-page-width));
  margin: 0 auto;
  padding: 1.5rem 1rem;
}

.checkout-card {
  overflow: hidden;
  background: var(--card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.checkout-card-head,
.checkout-card-foot {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e6e6e6;
}

.checkout-card-foot {
  align-items: center;
  border-top: 1px solid #e6e6e6;
  border-bottom: 0;
}

.checkout-card-title {
  margin: 0;
  color: hsl(0 0% 15%);
  font-size: 1rem;
  font-weight: 800;
}

.checkout-card-subtitle {
  margin: 0.15rem 0 0;
  color: hsl(0 0% 45%);
  font-size: 0.875rem;
}

.checkout-close {
  color: hsl(0 0% 60%);
  font-size: 1.5rem;
  line-height: 1;
}

.checkout-list {
  display: grid;
}

.checkout-item {
  display: flex;
  gap: 0.75rem;
  padding: 1rem;
  border-top: 1px solid hsl(0 0% 92%);
}

.checkout-item:first-child {
  border-top: 0;
}

.checkout-check {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 1.5rem;
  margin-top: 0.2rem;
  background: var(--success-strong);
  border: 2px solid var(--success-strong);
  border-radius: 0.3rem;
}

.checkout-check svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: white;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.checkout-thumb {
  width: 4rem;
  height: 4rem;
  flex: 0 0 4rem;
  overflow: hidden;
  border-radius: 0.75rem;
}

.checkout-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.checkout-item-name {
  margin: 0;
  color: hsl(0 0% 15%);
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.3;
}

.checkout-item-mode {
  margin: 0.15rem 0 0;
  color: hsl(0 0% 50%);
  font-size: 0.75rem;
}

.checkout-item-price {
  margin: 0.25rem 0 0;
  color: hsl(0 0% 15%);
  font-size: 1.125rem;
  font-weight: 800;
}

.checkout-item-copy {
  margin: 0.35rem 0 0;
  color: hsl(0 0% 40%);
  font-size: 0.75rem;
  line-height: 1.45;
}

.checkout-count,
.checkout-total {
  margin: 0;
}

.checkout-count {
  color: hsl(0 0% 40%);
  font-size: 0.875rem;
}

.checkout-total {
  color: hsl(0 0% 15%);
  font-size: 1.125rem;
  font-weight: 800;
}

.checkout-funnel-slot {
  padding: 0 1.25rem 1rem;
}

.checkout-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0 1.25rem 1rem;
  color: hsl(0 0% 30%);
  font-size: 0.875rem;
}

.checkout-brand-logo {
  color: #f47920;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.checkout-disclaimer {
  padding: 1rem 1.25rem;
  background: hsl(0 0% 95%);
}

.checkout-disclaimer p {
  margin: 0;
  color: hsl(0 0% 45%);
  font-size: 0.75rem;
  line-height: 1.5;
  text-align: center;
}

.admin-shell {
  width: min(100%, 64rem);
  margin: 0 auto;
  padding: 1.25rem;
}

.admin-title {
  margin: 0 0 1.5rem;
  color: var(--foreground);
  font-size: 1.75rem;
  font-weight: 800;
}

.admin-tabs {
  display: inline-flex;
  margin-bottom: 1.5rem;
  padding: 0.25rem;
  background: var(--muted);
  border-radius: 0.75rem;
}

.admin-tab {
  min-width: 8rem;
  padding: 0.75rem 1rem;
  color: var(--muted-foreground);
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: 0.55rem;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.admin-tab.active {
  background: var(--card);
  color: var(--foreground);
  box-shadow: 0 4px 14px rgba(18, 35, 50, 0.08);
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.admin-pill {
  padding: 0.45rem 0.9rem;
  color: var(--foreground);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
}

.admin-pill.active {
  color: var(--primary-foreground);
  background: var(--primary);
  border-color: var(--primary);
}

.admin-pill.danger {
  margin-left: auto;
  color: white;
  background: var(--danger);
  border-color: var(--danger);
}

.admin-card {
  margin-bottom: 0.75rem;
  padding: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.admin-card.is-active {
  background: color-mix(in srgb, var(--primary) 5%, white);
  border-color: var(--primary);
}

.admin-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.admin-card-title {
  color: var(--foreground);
  font-size: 0.9375rem;
  font-weight: 700;
}

.admin-card-meta {
  color: var(--muted-foreground);
  font-size: 0.75rem;
}

.admin-link {
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
}

.admin-stats {
  display: grid;
  gap: 0.75rem;
}

.admin-bar-track {
  width: 100%;
  height: 0.5rem;
  overflow: hidden;
  background: var(--muted);
  border-radius: 999px;
}

.admin-bar-fill {
  height: 100%;
  background: var(--primary);
  border-radius: inherit;
}

.admin-loss {
  font-weight: 800;
}

.admin-loss.good {
  color: #1d8f50;
}

.admin-loss.warn {
  color: #c38a16;
}

.admin-loss.bad {
  color: #d63a3a;
}

.admin-panel {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.admin-panel-title {
  margin: 0;
  color: var(--foreground);
  font-size: 0.9375rem;
  font-weight: 700;
}

.admin-help {
  color: var(--muted-foreground);
  font-size: 0.8125rem;
}

.is-hidden {
  display: none !important;
}

.fade-in {
  animation: fadeIn 0.35s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }
}

@media (max-width: 520px) {
  .page-wrap,
  .checkout-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-tag {
    font-size: 1.45rem;
  }

  .section-title,
  .offer-headline {
    font-size: 1.15rem;
  }

  .primary-button {
    font-size: 1rem;
  }

  .admin-pill.danger {
    margin-left: 0;
  }
}
