[data-view-show="offer"] {
  display: none;
}

body.is-offer [data-view-show="offer"] {
  display: inline;
}

body.is-offer a.btn-stack[data-view-show="offer"] {
  display: inline-flex;
}

body.is-offer [data-view-show="quiz"] {
  display: none !important;
}

html.boot-offer [data-view="quiz"] {
  display: none !important;
}

html.boot-offer [data-view="offer"] {
  display: block !important;
}

.hero-end {
  padding-top: 0;
}

.hero-end h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 400;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

.exit-title {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  margin: 0 0 10px;
}

.modal-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 12px;
  z-index: 50;
}
.skip-link:focus {
  top: 8px;
}

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

.no-abo {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  background: linear-gradient(90deg, #143528, #1e4a38);
  color: #f4fff8;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.no-abo-flag {
  background: #e7ffe9;
  color: #143528;
  padding: 4px 10px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  animation: flagPop 0.7s var(--ease) both;
}

.no-abo span.plain {
  font-weight: 500;
}

.btn-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1.2;
}

.btn.btn-stack {
  padding: 12px 16px;
}

.btn-sub {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.92;
}

.amount-unit {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 6px;
}

.not-month {
  display: inline-block;
  margin-left: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--copper);
}

.compare {
  width: min(900px, 86vw);
  margin: 0 7vw 56px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--paper);
  font-size: 16px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.compare caption {
  text-align: left;
  font-family: var(--serif);
  font-size: 28px;
  margin-bottom: 12px;
  color: var(--ink);
}

.compare th,
.compare td {
  border: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.compare thead th {
  background: var(--ink);
  color: var(--paper);
}

.compare tbody th {
  font-weight: 700;
  width: 28%;
}

.compare .yes {
  background: #e7ffe9;
  color: #143528;
  font-weight: 700;
}

.compare .no {
  background: #f6efe4;
}

.formula {
  font-size: 20px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
  margin: 16px 0 8px;
  box-shadow: var(--shadow);
}

.scarce-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  letter-spacing: 0.02em;
}

body.is-founder .nav,
body.is-regular .nav {
  top: 42px;
}

.scarce-bar[hidden],
[data-mb-show][hidden] {
  display: none !important;
}

.scarce-bar strong {
  color: #f0c7b0;
  font-variant-numeric: tabular-nums;
}

.scarce-bar a {
  color: var(--paper);
}

.quiz-wrap {
  max-width: 760px;
  padding: 20px 7vw 80px;
  animation: fadeUp 0.7s var(--ease) 0.18s both;
}

.quiz-wrap h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 400;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}

.quiz-progress {
  height: 4px;
  background: var(--line);
  margin: 18px 0 28px;
  border-radius: 999px;
  overflow: hidden;
}

.quiz-progress span {
  display: block;
  height: 4px;
  background: linear-gradient(90deg, #e06232, var(--copper-deep, #9a3512));
  width: 33.333%;
  border-radius: 999px;
  transition: width 0.5s var(--ease);
}

.quiz-wrap[data-on="2"] .quiz-progress span { width: 66.666%; }
.quiz-wrap[data-on="3"] .quiz-progress span { width: 100%; }

.q-grid {
  display: grid;
  gap: 12px;
}

.q-card {
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 18px 20px;
  cursor: pointer;
  font-size: 17px;
  min-height: 52px;
  border-radius: 16px;
  font-family: inherit;
  color: inherit;
  box-shadow: 0 10px 24px -20px rgba(40, 24, 8, 0.5);
  transition: transform 0.28s var(--ease), border-color 0.28s, box-shadow 0.28s;
  animation: fadeUp 0.5s var(--ease) both;
}

.q-card:nth-child(1) { animation-delay: 0.05s; }
.q-card:nth-child(2) { animation-delay: 0.1s; }
.q-card:nth-child(3) { animation-delay: 0.15s; }
.q-card:nth-child(4) { animation-delay: 0.2s; }

.nav-buy.btn-stack {
  align-items: center;
}

.q-card:hover,
.q-card:focus {
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -22px rgba(40, 24, 8, 0.7);
}

[data-step]:not([hidden]) {
  animation: fadeUp 0.45s var(--ease) both;
}

.q-card small {
  display: block;
  margin-top: 4px;
  color: var(--soft);
  font-size: 13px;
}

.skip {
  display: inline-block;
  margin-top: 22px;
  color: var(--soft);
  font-size: 14px;
}

.offer-copy {
  max-width: 740px;
  padding: 28px 7vw 0;
}

.offer-copy p,
.offer-copy li {
  font-size: 18px;
  line-height: 1.55;
  color: var(--soft);
}

.offer-copy h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 48px 0 14px;
}

.strike {
  text-decoration: line-through;
  color: var(--soft);
  font-size: 28px;
  margin-right: 8px;
}

.amount-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-card.hot {
  border-color: transparent;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(194, 74, 28, 0.28);
  animation: cardGlow 4.5s ease-in-out infinite;
}

.badge {
  display: inline-block;
  background: var(--copper);
  color: var(--paper);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 10px;
  margin-bottom: 10px;
  border-radius: 999px;
}

.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 0 7vw 60px;
  max-width: 1100px;
}

.box {
  background: var(--paper);
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease);
}

.box:hover {
  transform: translateY(-4px);
}

.box h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  margin: 0 0 8px;
}

.clock {
  font-variant-numeric: tabular-nums;
  font-family: var(--serif);
  font-size: 36px;
  letter-spacing: -0.03em;
  margin: 8px 0;
}

.guarantee {
  border-left: 3px solid var(--copper);
  padding: 8px 0 8px 16px;
  margin: 20px 0;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(22, 20, 16, 0.5);
  display: grid;
  place-items: center;
  z-index: 40;
  padding: 20px;
  backdrop-filter: blur(8px);
  animation: fadeIn 0.25s ease both;
}

.modal[hidden] { display: none !important; }

.modal-card {
  background: var(--paper);
  max-width: 420px;
  padding: 28px;
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  animation: fadeUp 0.4s var(--ease) both;
}

body.modal-open { overflow: hidden; }

@keyframes flagPop {
  from { transform: scale(0.86); opacity: 0; }
  to { transform: none; opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes cardGlow {
  0%, 100% { box-shadow: var(--shadow-lg), 0 0 0 1px rgba(194, 74, 28, 0.22); }
  50% { box-shadow: var(--shadow-lg), 0 0 0 1px rgba(194, 74, 28, 0.55), 0 0 40px -12px rgba(194, 74, 28, 0.45); }
}

@media (max-width: 800px) {
  .split-2 { grid-template-columns: 1fr; }
  body.is-founder .nav,
  body.is-regular .nav { top: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  .q-card:hover,
  .box:hover { transform: none; }
}
