.wtfiv-shell {
  width: 100%;
  min-width: 0;
  container-type: inline-size;
  container-name: wtfiv-host;
}

.wtfiv-card,
.wtfiv-card * {
  box-sizing: border-box;
}

.wtfiv-card {
  --wtfiv-accent: #f9ca00;
  display: grid;
  grid-template-columns: minmax(310px, 0.82fr) minmax(420px, 1.18fr);
  width: 100%;
  max-width: 1080px;
  margin: 56px auto;
  overflow: hidden;
  color: #101010;
  background: #fff;
  border: 1px solid #e3e3e3;
  border-top: 6px solid var(--wtfiv-accent);
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(16, 16, 16, 0.07);
  font-family: "Prompt", "IBM Plex Sans Thai", "Noto Sans Thai", system-ui, sans-serif;
}

.wtfiv-style-embedded {
  max-width: 100%;
  margin-top: 48px;
  margin-bottom: 48px;
}

.wtfiv-style-article {
	display: grid;
	grid-template-columns: minmax(290px, 0.76fr) minmax(0, 1.24fr);
	max-width: 1120px;
  margin: 48px auto;
  border: 1px solid #e5e7eb;
  border-top: 0;
  border-radius: 14px;
  box-shadow: 0 14px 42px rgba(16, 16, 16, 0.07);
}

.wtfiv-style-article::before {
  display: block;
  grid-column: 1 / -1;
  height: 7px;
  background: linear-gradient(90deg, var(--wtfiv-accent) 0 72%, #101010 72% 100%);
  content: "";
}

.wtfiv-style-article .wtfiv-cover { display: block; }
.wtfiv-style-article .wtfiv-content { padding: clamp(26px, 3.8vw, 44px); }
.wtfiv-style-article .wtfiv-brand { justify-content: center; margin-bottom: 11px; }
.wtfiv-style-article .wtfiv-eyebrow { display: flex; width: max-content; margin: 0 auto 9px; }
.wtfiv-style-article h2 { margin-right: auto; margin-left: auto; text-align: center; }
.wtfiv-style-article .wtfiv-description { max-width: 650px; margin-right: auto; margin-left: auto; text-align: center; }
.wtfiv-style-article .wtfiv-form { max-width: 720px; margin: 0 auto; gap: 11px; }
.wtfiv-style-article .wtfiv-form > button[type="submit"] { width: min(310px, 100%); margin: 6px auto 0; }

.wtfiv-cover {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  padding: 30px;
  background-color: #fffaf0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(16, 16, 16, .065) 1px, transparent 1.5px),
    linear-gradient(145deg, #fffefb 0%, #fff6cf 100%);
  background-size: 18px 18px, auto;
  border-right: 1px solid #e2e2e2;
}

.wtfiv-cover::before {
  position: absolute;
  top: -62px;
  right: -62px;
  width: 144px;
  height: 144px;
  background: var(--wtfiv-accent);
  border-radius: 50%;
  content: "";
}

.wtfiv-cover::after {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 38px;
  height: 5px;
  background: #101010;
  box-shadow: 0 10px 0 var(--wtfiv-accent);
  content: "";
}

.wtfiv-cover-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 700px;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.wtfiv-cover-kicker {
  align-self: flex-start;
  padding: 6px 10px;
  color: #101010;
  background: var(--wtfiv-accent);
  border: 1px solid #c9a400;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .09em;
}

.wtfiv-cover-book {
  position: relative;
  width: 100%;
  max-width: 228px;
  aspect-ratio: 3 / 4;
  display: grid;
  place-items: stretch;
  margin: auto;
}

.wtfiv-cover-book::after {
  position: absolute;
  z-index: -1;
  inset: 10px -11px -12px 11px;
  background: #101010;
  border-radius: 3px;
  box-shadow: 0 18px 34px rgba(16, 16, 16, .16);
  content: "";
}

.wtfiv-cover-book img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid #d7d7d7;
  border-radius: 3px;
  box-shadow: 0 14px 28px rgba(16, 16, 16, .10);
}

.wtfiv-cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  background: var(--wtfiv-accent);
  border: 2px solid #101010;
  border-radius: 3px;
  box-shadow: 0 14px 28px rgba(16, 16, 16, .10);
}

.wtfiv-cover-placeholder span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.wtfiv-cover-placeholder strong {
  font-size: clamp(22px, 3vw, 38px);
  line-height: 1.15;
}

.wtfiv-cover-caption {
  width: 100%;
  padding: 18px 17px;
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(16, 16, 16, .10);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(16, 16, 16, .06);
  backdrop-filter: blur(8px);
}

.wtfiv-cover-caption strong,
.wtfiv-cover-caption span {
  display: block;
}

.wtfiv-cover-caption strong {
  font-size: 15px;
  line-height: 1.45;
}

.wtfiv-cover-caption span {
  margin-top: 4px;
  color: #6a6a6a;
  font-size: 10.5px;
}

.wtfiv-cover-simple {
  grid-template-columns: minmax(230px, .68fr) minmax(0, 1.32fr);
}

.wtfiv-cover-simple .wtfiv-cover {
  min-height: 100%;
  padding: 42px 30px;
}

.wtfiv-cover-simple .wtfiv-cover-stage {
  height: auto;
  min-height: 100%;
  display: grid;
  place-items: center;
}

.wtfiv-cover-simple .wtfiv-cover-kicker,
.wtfiv-cover-simple .wtfiv-cover-caption {
  display: none;
}

.wtfiv-cover-simple .wtfiv-cover-book {
  width: min(84%, 240px);
  margin: 0;
}

.wtfiv-content {
  min-width: 0;
  padding: clamp(30px, 4.5vw, 48px);
  background: #fff;
}

.wtfiv-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  margin-bottom: 22px;
  font-weight: 700;
  font-size: 13px;
}

.wtfiv-brand img {
  display: block;
  max-width: 154px;
  max-height: 44px;
  width: auto;
  height: auto;
}

.wtfiv-brand span {
  position: relative;
  padding-left: 13px;
  font-size: 18px;
  font-weight: 800;
}

.wtfiv-brand span::before {
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 0;
  width: 5px;
  background: var(--wtfiv-accent);
  content: "";
}

.wtfiv-eyebrow {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 5px 11px;
  color: #101010;
  background: var(--wtfiv-accent);
  border: 1px solid var(--wtfiv-accent);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.wtfiv-card h2 {
  max-width: 620px;
  margin: 0 0 11px;
  color: #101010;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.wtfiv-description {
  margin: 0 0 12px;
  color: #565656;
  font-size: 12px;
  line-height: 1.58;
}

.wtfiv-form,
.wtfiv-form label:not(.wtfiv-check) {
  display: grid;
  gap: 6px;
}

.wtfiv-form {
  gap: 11px;
}

.wtfiv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.wtfiv-form label > span {
  color: #303030;
  font-size: 11px;
  font-weight: 700;
}

.wtfiv-form input[type="text"],
.wtfiv-form input[type="email"],
.wtfiv-form select {
  width: 100%;
  min-height: 43px;
  padding: 8px 11px;
  color: #101010;
  background: #fff;
  border: 1px solid #d2d2d2;
  border-radius: 7px;
  box-shadow: none;
  font: inherit;
}

.wtfiv-role-other[hidden] { display: none !important; }
.wtfiv-role-other { animation: wtfiv-role-in 180ms ease both; }
@keyframes wtfiv-role-in { from { opacity: 0; transform: translateY(-5px); } }

.wtfiv-form select {
  appearance: auto;
  cursor: pointer;
}

.wtfiv-form input:focus,
.wtfiv-form select:focus {
  border-color: #a88300;
  outline: 3px solid color-mix(in srgb, var(--wtfiv-accent) 30%, transparent);
}

.wtfiv-check {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 9px;
  align-items: start;
  cursor: pointer;
}

.wtfiv-check input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: #101010;
}

.wtfiv-check span {
  color: #444;
  font-size: 10.5px;
  line-height: 1.45;
  font-weight: 400 !important;
}

.wtfiv-check a,
.wtfiv-download-link {
  color: #101010;
  font-weight: 700;
  text-decoration: underline;
}

.wtfiv-form .wtfiv-privacy-trigger {
  display: inline;
  min-height: 0;
  margin: 0 0 0 3px;
  padding: 0;
  color: #101010;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font: inherit;
  font-weight: 750;
  line-height: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.wtfiv-form .wtfiv-privacy-trigger:hover,
.wtfiv-form .wtfiv-privacy-trigger:focus-visible {
  color: #101010;
  background: transparent;
  box-shadow: none;
  outline: 2px solid var(--wtfiv-accent);
  outline-offset: 2px;
  transform: none;
}

.wtfiv-form button {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 18px;
  color: #101010;
  background: var(--wtfiv-accent);
  border: 2px solid var(--wtfiv-accent);
  border-radius: 7px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.wtfiv-form button:hover {
  color: #fff;
  background: #101010;
  border-color: #101010;
  box-shadow: none;
}

.wtfiv-form button:disabled {
  opacity: 0.65;
  cursor: wait;
}

.wtfiv-status {
  min-height: 0;
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.55;
}

.wtfiv-status.is-success,
.wtfiv-status.is-error {
  padding: 12px 14px;
  border-radius: 8px;
}

.wtfiv-status.is-success { background: #e8f7ee; color: #126234; }
.wtfiv-status.is-error { background: #fff0f0; color: #9e2222; }
.wtfiv-honeypot { position: absolute !important; left: -9999px !important; opacity: 0 !important; pointer-events: none !important; }

body.wtfiv-modal-open {
  overflow: hidden;
}

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

.wtfiv-privacy-modal {
  position: fixed;
  z-index: 999999;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  font-family: "Prompt", "IBM Plex Sans Thai", "Noto Sans Thai", system-ui, sans-serif;
}

.wtfiv-privacy-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 16, 16, 0.76);
  backdrop-filter: blur(8px);
  animation: wtfiv-fade-in 180ms ease both;
}

.wtfiv-privacy-dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: min(88vh, 840px);
  display: grid;
  grid-template-rows: auto auto minmax(180px, 1fr) auto;
  overflow: hidden;
  color: #101010;
  background: #fffdf8;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 24px 24px 8px 24px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
  animation: wtfiv-dialog-in 220ms cubic-bezier(.2,.8,.2,1) both;
}

.wtfiv-privacy-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px 20px;
  color: #fff;
  background: #101010;
  border-top: 7px solid var(--wtfiv-accent);
}

.wtfiv-privacy-head p {
  margin: 0 0 5px;
  color: var(--wtfiv-accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.wtfiv-privacy-head h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(20px, 3vw, 29px);
  line-height: 1.28;
}

.wtfiv-privacy-close {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  padding: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  font: inherit;
  font-size: 25px;
  line-height: 34px;
  cursor: pointer;
}

.wtfiv-privacy-close:hover,
.wtfiv-privacy-close:focus-visible {
  color: #101010;
  background: var(--wtfiv-accent);
  outline: none;
}

.wtfiv-privacy-progress {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 26px 14px;
  color: #625d54;
  background: #f4efe5;
  font-size: 12px;
  font-weight: 700;
}

.wtfiv-privacy-progress i {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  overflow: hidden;
  background: #ddd4c4;
}

.wtfiv-privacy-progress b {
  display: block;
  width: 0;
  height: 100%;
  background: var(--wtfiv-accent);
  transition: width 120ms linear;
}

.wtfiv-privacy-modal.has-read-to-end .wtfiv-privacy-progress {
  color: #126234;
  background: #e8f7ee;
}

.wtfiv-privacy-scroll {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 26px;
  scroll-behavior: smooth;
  outline: none;
}

.wtfiv-privacy-scroll:focus-visible {
  box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--wtfiv-accent) 55%, transparent);
}

.wtfiv-privacy-copy {
  color: #37342f;
  font-size: 14px;
  line-height: 1.78;
}

.wtfiv-privacy-copy h3 {
  margin: 24px 0 7px;
  color: #101010;
  font-size: 17px;
  line-height: 1.4;
}

.wtfiv-privacy-copy h3:first-child {
  margin-top: 0;
}

.wtfiv-privacy-copy p,
.wtfiv-privacy-copy ul,
.wtfiv-privacy-copy ol {
  margin: 0 0 14px;
}

.wtfiv-privacy-full {
  margin: 22px 0;
  padding: 14px 16px;
  background: #fff8d7;
  border-left: 4px solid var(--wtfiv-accent);
  border-radius: 8px;
  font-size: 13px;
}

.wtfiv-privacy-full a {
  color: #101010;
  font-weight: 750;
  text-underline-offset: 3px;
}

.wtfiv-privacy-end {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 70px;
  margin-top: 24px;
  color: #5e594f;
  background: #f4efe5;
  border: 1px dashed #bdb3a3;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
}

.wtfiv-privacy-end span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #101010;
  background: var(--wtfiv-accent);
  border-radius: 50%;
}

.wtfiv-privacy-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 18px 26px;
  background: #fff;
  border-top: 1px solid #e4ded3;
}

.wtfiv-privacy-actions button {
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 9px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.wtfiv-privacy-decline {
  color: #101010;
  background: #fff;
  border: 1px solid #bdb8af;
}

.wtfiv-privacy-accept {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-width: 270px;
  color: #101010;
  background: var(--wtfiv-accent);
  border: 1px solid var(--wtfiv-accent);
}

.wtfiv-privacy-actions button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--wtfiv-accent) 55%, transparent);
  outline-offset: 2px;
}

.wtfiv-privacy-actions button:disabled {
  color: #8a877f;
  background: #e8e6e1;
  border-color: #e8e6e1;
  cursor: not-allowed;
}

@keyframes wtfiv-fade-in {
  from { opacity: 0; }
}

@keyframes wtfiv-dialog-in {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
}

@media (max-width: 720px) {
  .wtfiv-card { grid-template-columns: 1fr; margin: 36px 0; border-radius: 10px; }
  .wtfiv-cover,
  .wtfiv-cover-simple .wtfiv-cover { min-height: 390px; padding: 28px 24px 34px; border-right: 0; border-bottom: 1px solid #e2e2e2; }
  .wtfiv-cover-stage,
  .wtfiv-cover-simple .wtfiv-cover-stage { height: 328px; min-height: 0; display: flex; }
  .wtfiv-cover-book,
  .wtfiv-cover-simple .wtfiv-cover-book { width: 148px; margin: auto; }
  .wtfiv-cover-caption { padding: 12px 14px; }
  .wtfiv-content { padding: 30px 22px 34px; }
  .wtfiv-brand { margin-bottom: 18px; }
  .wtfiv-card h2 { font-size: clamp(23px, 7vw, 30px); }
  .wtfiv-grid { grid-template-columns: 1fr; }
  .wtfiv-privacy-modal { padding: 10px; place-items: end center; }
  .wtfiv-privacy-dialog { width: 100%; max-height: 94vh; border-radius: 20px 20px 0 0; }
  .wtfiv-privacy-head { padding: 20px 18px 16px; }
  .wtfiv-privacy-progress { padding: 11px 18px 13px; }
  .wtfiv-privacy-scroll { padding: 22px 18px; }
  .wtfiv-privacy-actions { padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); }
  .wtfiv-privacy-accept { min-width: 0; flex: 1; gap: 12px; }
}

@media (min-width: 721px) and (max-width: 900px) {
  .wtfiv-style-article { grid-template-columns: minmax(270px, .76fr) minmax(0, 1.24fr); }
  .wtfiv-style-article .wtfiv-cover { padding-inline: 24px; }
  .wtfiv-cover-book { max-width: 202px; }
}

@media (prefers-reduced-motion: reduce) {
  .wtfiv-form button { transition: none; }
  .wtfiv-privacy-backdrop,
  .wtfiv-privacy-dialog { animation: none; }
  .wtfiv-privacy-scroll { scroll-behavior: auto; }
}

/* v2.0 Smart category forms */
.wtfiv-card {
  --wtfiv-profile-accent: #f0a500;
}

.wtfiv-audience-switch {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.wtfiv-audience-switch legend {
  margin-bottom: 7px;
  color: #303030;
  font-size: 12px;
  font-weight: 800;
}

.wtfiv-audience-switch > div {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 3px;
  overflow: hidden;
  background: #f3f3f3;
  border: 1px solid #dedede;
  border-radius: 10px;
  perspective: 800px;
  isolation: isolate;
}

.wtfiv-audience-indicator {
  position: absolute;
  z-index: 0;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc((100% - 6px) / 2);
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  transform-style: preserve-3d;
  transform-origin: right center;
  transition: transform 220ms cubic-bezier(.22, .8, .28, 1);
  will-change: transform;
}

.wtfiv-audience-indicator::before,
.wtfiv-audience-indicator::after {
  position: absolute;
  inset: 0;
  content: "";
  border: 1px solid color-mix(in srgb, var(--wtfiv-accent) 72%, #101010);
  border-radius: 7px;
  box-shadow: 0 2px 7px rgba(16, 16, 16, .10);
  backface-visibility: hidden;
}

.wtfiv-audience-indicator::before {
  background: var(--wtfiv-accent);
}

.wtfiv-audience-indicator::after {
  background: var(--wtfiv-accent);
  transform: rotateY(180deg);
}

.wtfiv-audience-track[data-active="company"] .wtfiv-audience-indicator,
.wtfiv-form.is-company-lead .wtfiv-audience-indicator {
  transform: translate3d(100%, 0, 0);
}

@supports selector(:has(*)) {
  .wtfiv-audience-track:has(input[value="company"]:checked) .wtfiv-audience-indicator {
    transform: translate3d(100%, 0, 0);
  }
}

.wtfiv-audience-switch label {
  position: relative;
  z-index: 1;
  display: block !important;
  cursor: pointer;
}

.wtfiv-audience-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.wtfiv-audience-switch label > span {
  display: grid;
  min-height: 48px;
  padding: 8px 12px;
  place-content: center;
  color: #4d535a;
  background: transparent;
  border: 0;
  border-radius: 7px;
  text-align: center;
  transition: color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.wtfiv-audience-switch label > span b { display: block; color: inherit; font-size: 13px; }
.wtfiv-audience-switch input:not(:checked) + span { opacity: .62; }
.wtfiv-audience-switch label:hover input:not(:checked) + span { opacity: .88; }
.wtfiv-audience-switch input:checked + span {
  color: #101010;
  animation: wtfiv-tab-label-in 220ms ease both;
}
.wtfiv-audience-switch input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--wtfiv-accent) 38%, transparent); outline-offset: -2px; }

.wtfiv-recipient-panels,
.wtfiv-recipient-panel,
.wtfiv-role-block {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
}

.wtfiv-recipient-panel {
  animation: wtfiv-context-in 180ms ease both;
}

.wtfiv-recipient-panel.is-company {
  padding: 13px;
  background: #fffaf0;
  border: 1px solid #efe4b7;
  border-left: 3px solid var(--wtfiv-accent);
  border-radius: 9px;
}

.wtfiv-recipient-panel[hidden],
.wtfiv-role-other[hidden] { display: none !important; }

.wtfiv-profile-interest {
  position: relative;
  padding-top: 11px;
  border-top: 1px solid #ececec;
}


.wtfiv-form input[type="url"] {
  width: 100%;
  min-height: 47px;
  padding: 10px 12px;
  color: #101010;
  background: #fff;
  border: 1px solid #d2d2d2;
  border-radius: 7px;
  box-shadow: none;
  font: inherit;
}
.wtfiv-form input[type="url"]:focus {
  border-color: #a88300;
  outline: 3px solid color-mix(in srgb, var(--wtfiv-accent) 30%, transparent);
}

.wtfiv-status.is-warning {
  padding: 12px 14px;
  color: #6f5000;
  background: #fff4ca;
  border-radius: 8px;
}

@keyframes wtfiv-context-in {
  from { opacity: 0; transform: translateY(-5px); }
}

@keyframes wtfiv-tab-label-in {
  from { opacity: .68; transform: perspective(240px) rotateX(-9deg) translateY(2px); }
}

@media (min-width: 721px) {
  .wtfiv-style-article h2 {
    font-size: clamp(20px, 2.4vw, 29px);
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wtfiv-audience-indicator,
  .wtfiv-audience-switch label > span { transition: none; }
  .wtfiv-audience-switch input:checked + span { animation: none; }
}

@media (max-width: 720px) {
  .wtfiv-audience-switch label > span { min-height: 48px; padding-inline: 8px; }
  .wtfiv-recipient-panel.is-company { padding: 12px; }
}

/*
 * Shortcodes are often placed inside an article or Page Builder column that is
 * much narrower than the browser viewport. Respond to the actual shortcode
 * host width so every placement keeps the same readable layout.
 */
@container wtfiv-host (max-width: 820px) {
  .wtfiv-style-article,
  .wtfiv-style-default,
  .wtfiv-style-embedded {
    grid-template-columns: minmax(190px, .62fr) minmax(0, 1.38fr);
    max-width: 100%;
  }

  .wtfiv-style-article .wtfiv-content,
  .wtfiv-style-default .wtfiv-content,
  .wtfiv-style-embedded .wtfiv-content {
    padding: 24px 22px 26px;
  }

  .wtfiv-cover,
  .wtfiv-cover-simple .wtfiv-cover {
    min-height: 640px;
    padding: 22px 18px;
  }

  .wtfiv-cover-stage,
  .wtfiv-cover-simple .wtfiv-cover-stage {
    height: 592px;
    min-height: 0;
    display: flex;
  }

  .wtfiv-cover-book,
  .wtfiv-cover-simple .wtfiv-cover-book {
    width: min(82%, 170px);
    margin: auto;
  }

  .wtfiv-cover-caption {
    padding: 13px 12px;
  }

  .wtfiv-cover-caption strong { font-size: 12.5px; }
  .wtfiv-cover-caption span { font-size: 9.5px; }
  .wtfiv-style-article .wtfiv-brand { margin-bottom: 8px; }
  .wtfiv-style-article .wtfiv-eyebrow { margin-bottom: 7px; }

  .wtfiv-style-article h2,
  .wtfiv-style-default h2,
  .wtfiv-style-embedded h2 {
    font-size: clamp(20px, 4cqw, 24px);
    white-space: nowrap;
  }

  .wtfiv-description {
    margin-bottom: 10px;
    font-size: 11px;
    line-height: 1.5;
  }

  .wtfiv-form,
  .wtfiv-style-article .wtfiv-form,
  .wtfiv-recipient-panels,
  .wtfiv-recipient-panel,
  .wtfiv-role-block {
    gap: 9px;
  }

  .wtfiv-grid { gap: 9px; }
  .wtfiv-form label > span { font-size: 10px; }

  .wtfiv-form input[type="text"],
  .wtfiv-form input[type="email"],
  .wtfiv-form input[type="url"],
  .wtfiv-form select {
    min-height: 40px;
    padding: 7px 10px;
    font-size: 11px;
  }

  .wtfiv-audience-switch legend { margin-bottom: 5px; font-size: 10.5px; }
  .wtfiv-audience-switch label > span { min-height: 42px; padding: 7px 8px; }
  .wtfiv-audience-switch label > span b { font-size: 11.5px; }
  .wtfiv-recipient-panel.is-company { padding: 10px; }
  .wtfiv-profile-interest { padding-top: 9px; }
  .wtfiv-check { gap: 7px; }
  .wtfiv-check span { font-size: 9.5px; line-height: 1.4; }
  .wtfiv-form button { min-height: 45px; padding: 10px 15px; }
}

@container wtfiv-host (max-width: 600px) {
  .wtfiv-style-article,
  .wtfiv-style-default,
  .wtfiv-style-embedded,
  .wtfiv-cover-simple {
    grid-template-columns: 1fr;
  }

  .wtfiv-cover,
  .wtfiv-cover-simple .wtfiv-cover {
    min-height: 350px;
    padding: 24px 22px 28px;
    border-right: 0;
    border-bottom: 1px solid #e2e2e2;
  }

  .wtfiv-cover-stage,
  .wtfiv-cover-simple .wtfiv-cover-stage {
    height: 298px;
    min-height: 0;
    display: flex;
  }

  .wtfiv-cover-book,
  .wtfiv-cover-simple .wtfiv-cover-book {
    width: 126px;
    margin: auto;
  }

  .wtfiv-cover-caption { padding: 10px 12px; }
  .wtfiv-cover-caption strong { font-size: 11.5px; }
  .wtfiv-style-article .wtfiv-content,
  .wtfiv-style-default .wtfiv-content,
  .wtfiv-style-embedded .wtfiv-content { padding: 27px 20px 30px; }

  .wtfiv-style-article h2,
  .wtfiv-style-default h2,
  .wtfiv-style-embedded h2 {
    font-size: clamp(21px, 7cqw, 27px);
    white-space: normal;
  }

  .wtfiv-grid { grid-template-columns: 1fr; }
  .wtfiv-form label > span { font-size: 10.5px; }
  .wtfiv-check span { font-size: 10px; }
}

/* Visual fail-safe while a Page Builder is inserting/initializing a shortcode. */
@supports selector(.wtfiv-form:has(input:checked)) {
  .wtfiv-form:has(input[name="lead_type"][value="individual"]:checked) [data-wtfiv-recipient-panel="company"],
  .wtfiv-form:has(input[name="lead_type"][value="company"]:checked) [data-wtfiv-recipient-panel="individual"] {
    display: none !important;
  }

  .wtfiv-form:has(input[name="lead_type"][value="individual"]:checked) [data-wtfiv-recipient-panel="individual"],
  .wtfiv-form:has(input[name="lead_type"][value="company"]:checked) [data-wtfiv-recipient-panel="company"] {
    display: grid !important;
  }
}
