.lfd-cw {
  --cw-teal: var(--hmh-teal, #00ae9d);
  --cw-teal-deep: var(--hmh-teal, #00ae9d);
  --cw-aqua: #d6edea;
  --cw-ink: #263535;
  --cw-body: #536363;
  --cw-muted: #8a9a99;
  --cw-band: #ffffff;
  --cw-white: #ffffff;
  --cw-line: rgba(18, 96, 87, .10);
  --cw-shadow: 0 18px 45px rgba(22, 78, 72, .10);
  --cw-font: "Nunito", sans-serif;

  background: #f7f7f7;
  color: var(--cw-body);
  font-family: var(--cw-font);
  padding-block: clamp(48px, 6vw, 88px);
}
.lfd-cw *, .lfd-cw *::before, .lfd-cw *::after { box-sizing: border-box; }
.lfd-cw img { display: block; max-width: 100%; }
.lfd-cw-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Top: heading left, proof right ---------- */
.lfd-cw-top {
  display: grid;
  gap: 28px;
}
@media (min-width: 992px) {
  .lfd-cw-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
    align-items: stretch;
  }
  /* same 28px inset as the proof card, centred, so the first and last lines of both columns line up */
  .lfd-cw-head {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: 28px;
  }
}
.lfd-cw-eyebrow {
  margin: 0 0 12px;
  font: 800 12px/1.2 var(--cw-font);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cw-teal-deep);
}
.lfd-cw-title {
  margin: 0;
  font: 800 clamp(27px, 3.1vw, 40px)/1.15 var(--cw-font);
  letter-spacing: -0.035em;
  color: var(--cw-ink);
  text-wrap: pretty;
}
.lfd-cw-sub {
  margin: 14px 0 0;
  font: 400 clamp(15.5px, 1.35vw, 18px)/1.55 var(--cw-font);
  color: var(--cw-body);
  max-width: 54ch;
}

.lfd-cw-proof {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 32px;
  border-radius: 28px;
  background: #ffffff;
}
.lfd-cw-proof-label {
  margin: 0;
  font: 800 12px/1.2 var(--cw-font);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cw-muted);
}
.lfd-cw-clients {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -4px 0 0;
  padding: 0;
  list-style: none;
}
.lfd-cw-clients li {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding-inline: 16px;
  border-radius: 12px;
  background: var(--cw-white);
  border: 1px solid var(--cw-line);
  font: 800 15px/1 var(--cw-font);
  letter-spacing: -0.01em;
  color: var(--cw-ink);
}
.lfd-cw-privacy {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--cw-line);
  font: 400 15px/1.55 var(--cw-font);
  color: var(--cw-body);
}
.lfd-cw-shield { flex: none; margin-top: 1px; color: var(--cw-teal); }
.lfd-cw-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  font: 800 15px/1.3 var(--cw-font);
  color: var(--cw-teal-deep);
  text-decoration: none;
}
.lfd-cw-more:hover { color: var(--cw-ink); }
.lfd-cw-more svg { transition: transform .2s ease; }
.lfd-cw-more:hover svg { transform: translateX(3px); }

/* ---------- Tabs: four equal answers across the full width ---------- */
.lfd-cw-ask {
  margin: clamp(36px, 4vw, 56px) 0 0;
  font: 800 clamp(18px, 1.6vw, 21px)/1.3 var(--cw-font);
  letter-spacing: -0.02em;
  color: var(--cw-ink);
}
.lfd-cw-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}
@media (min-width: 768px) {
  .lfd-cw-chips { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
}
.lfd-cw-chip {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  min-height: 78px;
  padding: 14px 20px;
  border: 1px solid var(--cw-line);
  border-radius: 20px;
  background: var(--cw-white);
  text-align: left;
  cursor: pointer;
  transition: background .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.lfd-cw-chip-time {
  font: 800 17px/1.2 var(--cw-font);
  letter-spacing: -0.02em;
  color: var(--cw-ink);
}
.lfd-cw-chip-name {
  font: 600 14px/1.3 var(--cw-font);
  color: var(--cw-body);
}
.lfd-cw-chip:hover { border-color: rgba(0, 174, 157, .45); }
.lfd-cw-chip:focus-visible { outline: 2px solid var(--cw-teal-deep); outline-offset: 3px; }
.lfd-cw-chip[aria-selected="true"] {
  background: var(--cw-teal);
  border-color: var(--cw-teal);
  box-shadow: 0 12px 28px rgba(0, 174, 157, .22);
}
.lfd-cw-chip[aria-selected="true"] .lfd-cw-chip-time { color: #fff; }
.lfd-cw-chip[aria-selected="true"] .lfd-cw-chip-name { color: rgba(255, 255, 255, .86); }
@media (min-width: 768px) {
  /* a small notch ties the chosen tab to the panel below */
  .lfd-cw-chip[aria-selected="true"]::after {
    content: "";
    position: absolute;
    left: calc(50% - 7px);
    bottom: -7px;
    width: 14px;
    height: 14px;
    background: var(--cw-teal);
    transform: rotate(45deg);
    border-radius: 0 0 3px 0;
  }
}

/* ---------- Stage ---------- */
.lfd-cw-stage {
  position: relative;
  margin-top: 22px;
  background: var(--cw-white);
  border: 1px solid var(--cw-line);
  border-radius: 28px;
  box-shadow: var(--cw-shadow);
  overflow: hidden;
}
.lfd-cw-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.lfd-cw-panel[hidden] { display: none; }
@media (min-width: 992px) {
  .lfd-cw-panel { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: stretch; }
}

.lfd-cw-shot { position: relative; margin: 0; background: var(--cw-aqua); min-height: 220px; }
.lfd-cw-shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
@media (min-width: 992px) {
  .lfd-cw-shot img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
}
.lfd-cw-tag {
  position: absolute;
  left: 16px; bottom: 16px;
  z-index: 2;
  padding: 7px 13px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  font: 700 11.5px/1.2 var(--cw-font);
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--cw-ink);
}

.lfd-cw-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(22px, 2.6vw, 36px);
}
.lfd-cw-name {
  margin: 0;
  font: 800 clamp(21px, 2.1vw, 27px)/1.2 var(--cw-font);
  letter-spacing: -0.03em;
  color: var(--cw-ink);
}
.lfd-cw-line {
  margin: 12px 0 0;
  font: 400 15.5px/1.62 var(--cw-font);
  color: var(--cw-body);
  max-width: 48ch;
}
.lfd-cw-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
  margin: 20px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--cw-line);
}
.lfd-cw-facts dt {
  font: 700 10.5px/1.3 var(--cw-font);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cw-muted);
}
.lfd-cw-facts dd {
  margin: 5px 0 0;
  font: 700 15px/1.35 var(--cw-font);
  letter-spacing: -0.015em;
  color: var(--cw-ink);
}
.lfd-cw-acts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 24px;
}
.lfd-cw-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 58px;
  padding-inline: 26px;
  border-radius: 20px;
  background: var(--cw-teal);
  color: #fff;
  font: 800 16px/1 var(--cw-font);
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}
.lfd-cw-btn:hover { background: var(--hmh-teal-hover, #009688); color: #fff; text-decoration: none; }
.lfd-cw-btn:focus-visible { outline: 2px solid var(--cw-teal-deep); outline-offset: 3px; }
.lfd-cw-ghost {
  font: 700 15px/1.3 var(--cw-font);
  color: var(--cw-teal-deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(11, 127, 115, .3);
}
.lfd-cw-ghost:hover { color: var(--cw-ink); border-bottom-color: var(--cw-ink); }

/* ---------- Motion ---------- */

.lfd-cw > .container { width: calc(100% - 48px); max-width: var(--hmh-container, 1220px); padding: 0; margin-inline: auto; }
.lfd-cw picture { display: block; }
.lfd-cw .lfd-cw-panel:focus-visible { outline: 2px solid var(--cw-ink); outline-offset: -4px; }
.lfd-cw a:focus-visible { outline: 2px solid var(--cw-ink); outline-offset: 4px; }
.lfd-cw .lfd-cw-ghost, .lfd-cw .lfd-cw-more { min-height: 44px; display: inline-flex; align-items: center; }
.lfd-cw .lfd-cw-facts > div { min-width: 0; max-width: 100%; }
.lfd-cw .lfd-cw-facts dd { overflow-wrap: anywhere; }
@media (min-width: 992px) { .lfd-cw-panel { min-height: 410px; } }
@media (max-width: 991px) and (min-width: 600px) { .lfd-cw-shot img { aspect-ratio: 16 / 9; } }
@media (max-width: 575px) {
  .lfd-cw > .container { width: calc(100% - 32px); }
  .lfd-cw-proof { padding: 22px; }
  .lfd-cw-chip { padding: 14px 12px; min-height: 90px; border-radius: 20px; }
  .lfd-cw-chip-time { font-size: 16px; }
  .lfd-cw-chip-name { font-size: 13px; }
  .lfd-cw-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .lfd-cw-btn { width: 100%; justify-content: center; padding-inline: 16px; }
  .lfd-cw-tag { max-width: calc(100% - 32px); }
}
@media (prefers-reduced-motion: no-preference) {
  .lfd-cw-panel[data-enter="1"] .lfd-cw-body { animation: lfd-cw-fade .25s ease both; }
  .lfd-cw-panel[data-enter="1"] .lfd-cw-shot { animation: lfd-cw-fade .4s ease both; }
}
@keyframes lfd-cw-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .lfd-cw *, .lfd-cw *::before, .lfd-cw *::after { transition: none !important; animation: none !important; }
}
