.progress-tracker-slot {
  position: absolute;
  top: clamp(16px, 6vh, 64px);
  left: 50%;
  transform: translateX(-50%);
  width: clamp(240px, 60vw, 900px);
  pointer-events: none;
  z-index: 2;
}

.progress-tracker {
  width: 100%;
}

.progress-tracker__meta {
  display: none;
}

.progress-tracker__track {
  width: 100%;
  height: 10px;
  background: #fff;
  border: 2px solid rgba(0, 0, 0, 0.22);
  position: relative;
  overflow: hidden;
}

.progress-tracker__fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  transition: width 220ms var(--ease-smooth);
}

.progress-tracker__fill--gray {
  background: rgba(0, 0, 0, 0.22);
}

.progress-tracker__fill--black {
  background: #000;
}
.data-story {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #000;
  display: flex;
  flex-direction: column;
  gap: clamp(4px, 0.8vw, 10px);
  align-items: stretch;
  text-align: left;
  width: 100%;
}

.data-story p {
  margin: 0 0 1.2rem;
}

.data-story p:last-of-type {
  margin-bottom: 0;
}

.data-story__intro {
  margin-bottom: 3.6px;
}

.data-story .linklike {
  font-weight: 600;
}

.data-story .story-location {
  display: inline-block;
  margin-left: 6px;
}

.data-story__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(2px, 0.9vw, 8px);
  width: 100%;
}

.data-story__actions .btn-primary {
  display: block;
  width: 100% !important;
  max-width: none;
  min-width: 0;
}

.data-story__summary {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(200px, 1fr);
  gap: clamp(17px, 4.2vw, 39px);
  margin: 0 0 clamp(16px, 2vw, 24px);
  color: #000;
  align-items: start;
}

.data-story__summary > * {
  width: 100%;
}

@media (max-width: 899px) {
  .data-story__summary {
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 4vw, 24px);
    margin: 0 0 clamp(16px, 2vw, 24px);
    color: #000;
  }
}

.data-story__facts {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.data-story__facts-title {
  margin: 0;
  padding-left: clamp(18px, 3vw, 28px);
  font-weight: 600;
  text-decoration: underline;
}

.data-story__facts-list {
  list-style: disc;
  margin: 0;
  padding-left: clamp(18px, 3vw, 28px);
  font-weight: 500;
  line-height: 1.6;
}

.data-story__facts-list strong {
  font-weight: 700;
}

.data-story__clicks {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.data-story__clicks-title {
  margin: 0;
  line-height: 1.4;
  padding-left: clamp(18px, 3vw, 28px);
  text-decoration: underline;
}

.data-story__buttons {
  list-style: disc;
  padding-left: clamp(18px, 3vw, 28px);
  margin: 0;
}

.data-story__buttons li {
  text-align: left;
  margin: 0;
  line-height: 1.6;
}

.slide:not(.hero) p {
  margin: 0 0 0.4em;
}

.slide:not(.hero) p + p {
  margin-top: 0;
}

.data-story__location-note {
  display: block;
  font-size: 0.8rem;
  color: var(--muted-gray);
  margin-top: clamp(-2px, -0.4vw, 0px);
  margin-left: 0;
  padding-left: 12px;
  text-transform: none;
}

#ab-testing p,
#free-materials p,
#hooked p,
#cta2 p,
#cookies p,
#cookies .cookies-copy {
  margin: 0 0 0.4em;
  text-align: left;
  max-width: 900px;
}

#cta p {
  margin: 0 0 0.4em;
  text-align: left;
}

#about-me .about-me-body {
  display: flex;
  flex-direction: column;
  gap: clamp(4px, 0.8vw, 10px);
}

#about-me .about-me-body p {
  margin: 0 0 0.4em;
}

.cta-share {
  margin-top: clamp(24px, 4vh, 36px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(10px, 2vh, 18px);
}

.cta-share__copy {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
}

.professional-layout {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: clamp(24px, 6vw, 60px);
  width: 100%;
  max-width: 960px;
}

.professional-layout__text {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(16px, 3vh, 28px);
}

.professional-layout__text p {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
}

.professional-layout__image {
  flex: 0 0 clamp(220px, 36vw, 440px);
  margin: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.professional-layout__image img {
  width: 100%;
  height: auto;
  max-height: clamp(280px, 68vh, 520px);
  border-radius: 0;
  box-shadow: 0 32px 60px rgba(15, 23, 42, 0.28);
  object-fit: cover;
}

@media (max-width: 768px) {
  .professional-layout {
    flex-direction: column;
    align-items: stretch;
  }

  .professional-layout__image {
    justify-content: center;
  }

  .professional-layout__image img {
    max-height: clamp(240px, 60vh, 420px);
    max-width: min(82vw, 360px);
  }
}

.table-three-column {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  font-size: 1rem;
  background: #ffffff;
}

.table-three-column thead th {
  text-align: left;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  background: #000;
  padding: 3px 18px;
}

.table-three-column tbody td {
  padding: 5px 18px;
  border-top: 1px solid rgba(15, 23, 42, 0.18);
  vertical-align: top;
  color: #fff;
}

.table-three-column tbody td:first-child {
  font-weight: 600;
  color: #000;
}

#tricks .table-three-column tbody td:first-child.is-active-label,
#tricks .table-three-column tbody tr.is-active td:first-child {
  color: #fff;
}

.table-three-column tbody tr:hover td {
  background: #000;
  color: #fff;
}

.table-three-column tbody tr:hover td:first-child {
  color: #fff;
}

.table-three-column tbody tr.is-interactive {
  cursor: pointer;
}

.table-three-column tbody tr.is-interactive:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 3px;
}

#tricks .table-three-column {
  margin-top: 6px;
}

.hooked-intro {
  margin: 0 0 16px;
  max-width: 900px;
  font-weight: 500;
}

.hooked-exercise {
  display: grid;
  gap: 16px;
  width: 100%;
}

.hooked-explainer {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.hooked-explainer-button {
  padding: 14px 22px;
  font-weight: 700;
}

.hooked-explainer-button:disabled,
.hooked-explainer-button[aria-disabled="true"] {
  border-color: var(--muted-gray);
  color: var(--muted-gray);
  background: #ffffff;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.hooked-video-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 6vw, 36px);
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(3px);
  z-index: 1450;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.hooked-video-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hooked-picker {
  width: min(92vw, 520px);
  max-height: min(86vh, 620px);
  display: flex;
  flex-direction: column;
  background: rgba(15, 23, 42, 0.96);
  border: none;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.32);
}

.hooked-video-modal {
  width: min(92vw, 560px);
  max-height: min(86vh, 620px);
  display: flex;
  flex-direction: column;
  background: #ffffff;
  color: #000;
  border: 2px solid rgba(15, 23, 42, 0.28);
  border-radius: 0;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.28);
}

.hooked-video-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.12);
}

.hooked-video-modal__body {
  padding: 22px;
  overflow-y: auto;
  gap: 12px;
  display: grid;
}

.hooked-video-modal__close {
  font-size: 1.4rem;
  line-height: 1;
  border: none;
  background: transparent;
  color: #0f172a;
  cursor: pointer;
  padding: 4px;
}

.hooked-video-modal__close:hover,
.hooked-video-modal__close:focus-visible {
  color: rgba(37, 99, 235, 0.9);
}

.hooked-slots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  align-items: stretch;
}

.hooked-slot {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: flex-start;
  align-items: stretch;
  padding: 12px 14px;
  min-height: 90px;
  height: 100%;
  border: 2px solid #111111;
  border-radius: 0;
  background: #ffffff;
  color: #000;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background-color 180ms ease, color 180ms ease;
}

.hooked-slot:hover,
.hooked-slot:focus-visible,
.hooked-slot.is-active {
  background: #111;
  color: #fff;
  border-color: #111;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.24);
  transform: translateY(-3px);
  border-radius: 0;
}

.hooked-slot:focus-visible {
  outline: none;
}

.hooked-slot.is-filled:hover,
.hooked-slot.is-filled:focus-visible,
.hooked-slot.is-filled.is-active {
  border-color: rgba(15, 23, 42, 1);
  border-radius: 0;
}

.hooked-slot.is-filled {
  border-color: #111;
  background: #ffffff;
  color: #000;
  border-radius: 0;
}

.hooked-slot.is-filled .hooked-slot-value {
  color: inherit;
}

.hooked-slot.is-filled .hooked-slot-desc {
  color: rgba(15, 23, 42, 0.72);
}

.hooked-slot.is-filled.is-correct {
  background: #000000;
  color: #ffffff;
}

.hooked-slot.is-filled.is-correct .hooked-slot-value {
  color: #ffffff;
}

.hooked-slot.is-filled.is-correct .hooked-slot-desc {
  color: rgba(248, 250, 252, 0.82);
}

.hooked-slot.is-filled.is-incorrect {
  background: #f8fafc;
  color: #000;
}

.hooked-slot-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(30, 41, 59, 0.7);
}

.hooked-slot.is-filled {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hooked-slot-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: inherit;
}

.hooked-slot:not(.is-filled) {
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.hooked-slot.is-filled .hooked-slot-value,
.hooked-slot.is-filled .hooked-slot-label {
  text-align: center;
  width: 100%;
}

.hooked-slot:not(.is-filled) .hooked-slot-desc {
  display: none;
}

.hooked-slot-desc {
  display: none;
}

@media (max-width: 640px) {
  .hooked-slot {
    padding: 10px 12px;
    min-height: 60px;
  }
}

.hooked-picker-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 6vw, 32px);
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(2px);
  z-index: 1400;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.hooked-picker-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hooked-picker {
  width: min(92vw, 520px);
  max-height: min(86vh, 620px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #ffffff;
  color: #000;
  border-radius: 0;
  border: none;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.32);
}

.hooked-picker__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: none;
}

#hookedPickerTitle {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: inherit;
}

.hooked-picker__close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: #000;
  cursor: pointer;
  padding: 4px;
  transition: color 160ms ease, transform 160ms ease;
}

.hooked-picker__close:hover,
.hooked-picker__close:focus-visible {
  color: #000;
  outline: none;
  transform: scale(1.1);
}

.hooked-stage-list {
  list-style: none;
  margin: 0;
  padding: 20px 24px 24px;
  display: grid;
  gap: 10px;
  overflow-y: auto;
  max-height: calc(100% - 74px);
}

.hooked-stage-option {
  width: 100%;
  text-align: left;
  padding: 15px 16px;
  border: 1px solid rgba(248, 250, 252, 0.16);
  border-radius: 0;
  background: #000000;
  color: #f8fafc;
  display: grid;
  gap: 4px;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.hooked-stage-option:hover,
.hooked-stage-option:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.6);
  border-radius: 0;
}

.hooked-stage-option.is-used {
  background: #f1f5f9;
  color: #000;
  border-color: rgba(15, 23, 42, 0.14);
}

.hooked-stage-option.is-used .hooked-stage-option__title {
  color: #000;
}

.hooked-stage-option.is-used .hooked-stage-option__summary,
.hooked-stage-option.is-used .hooked-stage-option__examples {
  color: rgba(0, 0, 0, 0.66);
}

.hooked-stage-option.is-current {
  border-color: rgba(37, 99, 235, 0.75);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.32);
}

.hooked-stage-option__title {
  font-weight: 700;
  font-size: 1rem;
}

.hooked-stage-option__summary {
  font-size: 0.9rem;
  color: rgba(241, 245, 249, 0.92);
}

.hooked-stage-option__examples {
  font-size: 0.8rem;
  color: rgba(226, 232, 240, 0.7);
  font-style: italic;
}

@media (max-width: 720px) {
  .hooked-stage-option {
    font-size: 0.95rem;
  }

  .hooked-slot {
    padding: 14px;
  }
}

@media (max-width: 640px) {
  .cta {
    --cta-mobile-gap: clamp(10px, 4vw, 16px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--cta-mobile-gap);
    width: 100%;
  }

  .cta button {
    width: 100%;
    justify-content: center;
  }

  .cta button:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .table-three-column thead {
    display: none;
  }

  .table-three-column,
  .table-three-column tbody,
  .table-three-column tr,
  .table-three-column td {
    display: block;
    width: 100%;
  }

  .table-three-column tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 2px 0;
  }

  .table-three-column tbody tr:last-child {
    border-bottom: none;
  }

  .table-three-column tbody td {
    display: none;
    padding: 0;
    border-top: none;
  }

  .table-three-column tbody td:first-child {
    display: block;
    padding: 4px 0;
    border-top: none;
  }

  #tricks .table-three-column {
    margin: 0 -20px;
    width: calc(100% + 40px);
  }

  .table-three-column tbody tr.is-active td {
    display: block;
    padding: 6px 20px;

.table-three-column tbody tr.is-active td:first-child {
padding: 12px 20px 4px;
color: #fff;
}

.table-three-column tbody td::before {
content: attr(data-label) ': ';
font-weight: 600;
display: inline;
min-width: 0;
}
    min-width: 0;
  }

  .table-three-column tbody td:first-child::before {
    display: none;
  }

  .table-three-column tbody tr.is-active td:first-child::before {
    display: none;
  }

  .table-three-column tbody td:not(:first-child) {
    padding-left: 0;
  }

  .table-three-column tbody td:not(:first-child)::before {
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin-bottom: 2px;
  }

  #tricks .table-three-column tbody td:first-child {
    color: #000;
    padding: 12px 20px;
  }

  #tricks .table-three-column tbody tr.is-active td::before {
    color: rgba(255, 255, 255, 0.7);
  }
}

.slide[data-slide-title="Personal Note"] .comment-form {
  margin-top: 12px;
  display: grid;
  gap: 12px;
}


.comment-form h3 {
  margin: 0;
}

.comment-form textarea {
  margin: 0;
  border-radius: 0;
  border: 2px solid var(--muted-gray);
  min-height: 106px;
  max-height: 106px;
  padding: 16px;
  width: 100%;
  max-width: 500px;
  resize: none;
  font-family: inherit;
  font-size: 1rem;
  overflow-y: auto;
}

.comment-form textarea::placeholder {
  color: var(--muted-gray);
}

/* textarea resize is already disabled */

.comment-form textarea:focus,
.comment-form textarea:focus-visible,
.comment-email-wrapper input:focus,
.comment-email-wrapper input:focus-visible {
  border-radius: 0;
  outline: 2px solid #000;
  outline-offset: 0;
}

.comment-form .comment-submit {
  justify-self: start;
  align-self: start;
}

.comment-form .comment-submit:disabled {
  opacity: 1;
  cursor: not-allowed;
  transform: none;
  color: var(--muted-gray);
  border-color: var(--muted-gray);
  background: #fff;
}

.comment-status {
  margin-top: 4px;
  font-weight: 600;
  min-height: 2.8em;
}

.comment-email-wrapper {
  position: relative;
  margin-top: 16px;
  width: 100%;
}

.comment-email-wrapper label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.comment-email-wrapper input {
  width: 100%;
  max-width: 500px;
  padding: 12px;
  padding-right: 12px;
  border: 2px solid var(--muted-gray);
  border-radius: 0;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.comment-email-wrapper input::placeholder {
  color: var(--muted-gray);
}

.comment-email-wrapper input.is-invalid {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.12);
}

.input-inline-error {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  font-size: 0.85rem;
  color: var(--red);
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease;
}

.input-inline-error.is-visible {
  opacity: 1;
}

.recap-list {
  list-style: none;
  max-width: 900px;
  margin: 24px auto 0;
  padding: 0;
  display: grid;
  gap: 12px;
  font-size: 1.05rem;
  line-height: 1.5;
}

.recap-list li {
  background: #f7f8fb;
  border: 1px solid #e4e6ee;
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.personal-note-rotator {
  font-weight: 700;
  text-decoration: underline;
}

.cta {
  margin-top: 16px;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  justify-content: stretch;
  justify-items: stretch;
  width: 100%;
}

.cta button,
.ab-test-button,
.btn-primary,
.btn-ghost,
.comment-submit,
.hooked-explainer-button {
  background: #fff;
  color: #000;
  border: 2px solid #111;
  border-radius: 0;
  padding: 16px 24px;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: transform 200ms var(--ease-smooth), box-shadow 200ms var(--ease-smooth), border-color 180ms ease, background-color 200ms ease, color 200ms ease;
  white-space: normal;
  line-height: 1.3;
  box-sizing: border-box;
}

.cta button br {
  display: inline;
}

.cta button:hover,
.ab-test-button:hover,
.btn-primary:hover,
.btn-ghost:hover,
.comment-submit:not(:disabled):hover,
.hooked-explainer-button:not(:disabled):hover {
  background: #111;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.24);
}

.cta button:active,
.ab-test-button:active,
.btn-primary:active,
.btn-ghost:active,
.comment-submit:not(:disabled):active,
.hooked-explainer-button:not(:disabled):active {
  transform: translateY(0);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.cta button:focus-visible,
.ab-test-button:focus-visible,
.btn-primary:focus-visible,
.btn-ghost:focus-visible,
.comment-submit:not(:disabled):focus-visible,
.hooked-explainer-button:not(:disabled):focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.35);
}

#btnFetchIP {
  white-space: normal;
}

#btnFetchIP.data-trail-location--multiline {
  white-space: pre-line;
}

#btnFetchIP.data-trail-location--resolved {
  background: #111;
  color: #fff;
  border-color: #111;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.24);
}

#btnFetchIP.data-trail-location--resolved:hover {
  background: #111;
  color: #fff;
  border-color: #111;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.24);
}

#btnFetchIP.data-trail-location--resolved:focus-visible {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.45);
}

@media (max-width: 640px) {
  #btnFetchIP {
    height: 80px;
    min-height: 80px;
  }
}

.headshot-figure {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.headshot-figure img {
  width: clamp(220px, 42vw, 520px);
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 32px 60px rgba(15, 23, 42, 0.28);
}

.ab-test-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, auto));
  gap: 16px;
  justify-content: start;
  justify-items: start;
  margin-bottom: 2em;
}

.ab-test-button {
  text-align: left;
  line-height: 1.45;
  padding: 21.6px 72px;
  width: auto;
}

.ab-test-copy {
  margin: 2em 0 0;
  min-height: 5.5em;
}

.ab-test-button[aria-pressed="true"] {
  background: #111;
  color: #fff;
  border-color: #111;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.24);
}

.banner {
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--yellow);
  color: #000;
  height: var(--banner-height);
  width: 100%;
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.25;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: translate(-50%, -50%);
  transition: transform 420ms var(--ease-smooth), opacity 420ms var(--ease-smooth);
  box-shadow: 0 18px 36px rgba(248, 180, 0, 0.2);
}

.banner.is-transitioning {
  pointer-events: none;
}

.banner.is-exiting {
  transform: translate(-50%, calc(-100% - clamp(24px, 6vh, 52px)));
  opacity: 0;
}

.banner__copy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 3vw, 18px);
}

.top-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transform: translateY(-110%);
  background: var(--red);
  color: #fff;
  padding: clamp(14px, 3.5vh, 28px) clamp(12px, 3.6vw, 28px);
  border-radius: 0 0 14px 14px;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 4vw, 16px);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.35;
  letter-spacing: 0.01em;
  box-shadow: 0 18px 36px rgba(211, 47, 47, 0.26);
  opacity: 0;
  z-index: 1600;
  transition: transform 320ms var(--ease-smooth), opacity 320ms var(--ease-smooth);
  text-align: left;
}

.top-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.top-banner-text {
  white-space: nowrap;
  font-size: clamp(0.9rem, 2.4vw, 1.05rem);
  line-height: 1.35;
}

.top-banner-countdown {
  font-size: clamp(0.95rem, 2.8vw, 1.15rem);
  letter-spacing: 0.05em;
  justify-self: end;
}

.slide-panel {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0ms;
  z-index: 1900;
}

.slide-panel.is-visible {
  pointer-events: auto;
  opacity: 1;
}

.slide-panel__backdrop {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 50vw;
  background: rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  opacity: 0;
  transition: opacity 80ms ease-out;
}

.slide-panel.is-visible .slide-panel__backdrop {
  opacity: 1;
}

.slide-panel__drawer {
  width: 85vw;
  height: 100vh;
  background: #ffffff;
  color: #000;
  box-shadow: -28px 0 48px rgba(15, 23, 42, 0.24);
  transform: translateX(100%);
  transition: transform 220ms var(--ease-smooth);
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}

.slide-panel.is-visible .slide-panel__drawer {
  transform: translateX(0);
}

.slide-panel__header,
.slide-panel__footer {
  padding: clamp(18px, 4vw, 28px);
}

.slide-panel__content {
  padding: 0 clamp(18px, 4vw, 32px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.slide-panel__content > * {
  margin-bottom: clamp(16px, 4vw, 28px);
}

.slide-panel__content > *:last-child {
  margin-bottom: 0;
}

.slide-panel__title {
  margin: 0;
  font-size: clamp(1.4rem, 3.2vw, 1.9rem);
  line-height: 1.2;
}

.slide-panel__close {
  width: 100%;
  border: 2px solid #111;
  background: #fff;
  color: #000;
  border-radius: 0;
  padding: 14px 22px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 200ms var(--ease-smooth), box-shadow 200ms var(--ease-smooth), background-color 200ms ease, color 200ms ease;
}

.slide-panel__close:hover {
  background: #111;
  color: #fff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
}

.slide-panel__close:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.35);
}

.slide-panel.schedule-call-et .slide-panel__drawer {
  display: flex;
  flex-direction: column;
}

.slide-panel.schedule-call-et .slide-panel__header {
  display: none;
}

.slide-panel.schedule-call-et .slide-panel__content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: clamp(12px, 3vh, 24px) clamp(18px, 4vw, 32px);
}

.slide-panel.schedule-call-et .slide-panel__footer {
  margin-top: auto;
}

.slide-panel.schedule-call-et .slide-panel__content > * {
  margin-bottom: 0;
}

.slide-panel.schedule-call-et [data-schedule-call-embed] {
  flex: 1;
  min-height: 0;
}

.slide-panel.schedule-call-et [data-schedule-call-embed] iframe {
  width: 100%;
  height: 100% !important;
}

@media (max-width: 920px) {
  .slide-panel__backdrop {
    width: 50vw;
  }

  .slide-panel__drawer {
    width: 85vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .slide-panel,
  .slide-panel__backdrop,
  .slide-panel__drawer,
  .slide-panel__close {
    transition: none;
  }
}

.popup {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms var(--ease-smooth);
}

.popup.open {
  opacity: 1;
  pointer-events: auto;
}

.popup-scaler {
  width: 100vw;
  height: 100vh;
  transform-origin: var(--origin-x, 50vw) var(--origin-y, 50vh);
  transform: scale(0.86);
  transition: transform 320ms var(--ease-smooth);
  display: grid;
  place-items: center;
}

.popup.open .popup-scaler {
  transform: scale(1);
}

.popup-dialog {
  background: #fff;
  color: var(--text);
  width: min(92vw, 560px);
  border-radius: 0;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25), 0 8px 20px rgba(0, 0, 0, 0.18);
  padding: 24px;
  position: relative;
}

.popup-dialog h3,
.popup-dialog p {
  text-align: center;
}

.popup-dialog:focus {
  outline: none;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.popup-actions {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  justify-content: center;
}

.popup-actions .btn-primary,
.popup-actions .btn-ghost {
  padding: 14px 18px;
  width: 168px;
  text-align: center;
  white-space: pre-line;
  line-height: 1.25;
}

.stats-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.stats-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 6px 0;
  border-top: 1px dashed #eee;
}

.stats-list li:first-child {
  border-top: none;
}

.stats-list .k {
  color: #666;
}

.stats-list .v {
  color: var(--text-strong);
}

.linklike {
  background: none;
  border: none;
  color: #0b5dd7;
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.linklike:hover {
  color: #083e91;
}

.popups-row {
  grid-template-columns: 1fr;
}

.popups-meta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

.progress {
  width: 100%;
  height: 8px;
  background: #f0f0f0;
  border-radius: 6px;
  overflow: hidden;
  margin-top: 6px;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #28a745, #66c56f);
  width: 0%;
}

.clicks-row {
  grid-template-columns: 1fr;
}

.click-list {
  margin: 6px 0 0 0;
  padding-left: 16px;
  max-height: 150px;
  overflow: auto;
}

.click-list li {
  font-size: 0.95rem;
}

.cookie-tools {
  margin-top: 12px;
  border-top: 1px dashed #eee;
  padding-top: 10px;
}

.tool-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
}

.status-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.85rem;
  line-height: 1.6;
  white-space: nowrap;
}

.status-allowed {
  background: #e8f5e9;
  color: #1b5e20;
}

.status-blocked {
  background: #ffebee;
  color: #b71c1c;
}

.status-unknown {
  background: #e3f2fd;
  color: #0d47a1;
}

@media (max-width: 640px) {
  .banner {
    width: calc(100% - clamp(24px, 8vw, 40px));
    height: calc(var(--banner-height) * 1.3);
  }

  .data-story__actions {
    justify-content: flex-start;
    flex-direction: column;
    align-items: stretch;
    gap: clamp(2px, 1vw, 6px);
  }

  .data-story__summary {
    grid-template-columns: 1fr;
    padding-left: clamp(14px, 4vw, 20px);
  }

  .data-story__actions .btn-primary {
    min-height: 56px;
    white-space: normal;
    line-height: 1.3;
    width: 100%;
  }

  .data-story__location-note {
    margin-left: 0;
    text-align: left;
  }

  .top-banner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 6px;
    padding: clamp(8px, 3vw, 11px) clamp(18px, 8vw, 28px);
  }

  .top-banner-text,
  .top-banner-countdown {
    justify-self: center;
    white-space: normal;
  }
}

@media (min-width: 900px) {
  .cta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cta button {
    white-space: normal;
  }

  .cta button br {
    display: inline;
  }
}
