/* HeTexted Tools: design system. Everything is scoped under .het (plus .het-body for page-level tweaks). */
.het {
  --het-ink: #1f1d2b;
  --het-muted: #57536a;
  --het-accent: #c0265f;          /* 5.6:1 on white */
  --het-accent-dark: #9e1d4e;
  --het-accent-soft: #fde8ef;
  --het-soft: #fff6f8;
  --het-line: #ecd3dc;
  --het-card: #ffffff;
  --het-ok: #17663f;
  --het-ok-soft: #e8f6ee;
  --het-warn: #8a5100;
  --het-warn-soft: #fff4e0;
  --het-bad: #a61b1b;
  --het-bad-soft: #fdecec;
  --het-info: #23468f;
  --het-info-soft: #ecf1fd;
  --het-radius: 18px;
  --het-gap: clamp(.75rem, 2.5vw, 1.1rem);
  color: var(--het-ink);
  font-size: 1rem;
  line-height: 1.55;
  box-sizing: border-box;
}
.het *, .het *::before, .het *::after { box-sizing: inherit; }
.het :where(p, ul, ol) { margin-block: 0 .75rem; }
.het :where(h2, h3) { line-height: 1.25; }
/* Tool UI uses the body (sans) font; landing prose keeps the theme's heading font. */
.het-tool :where(h2, h3, .het-tool-title, .het-ai-headline, .het-deck-text) { font-family: var(--wp--preset--font-family--body, inherit); letter-spacing: normal; }

/* ---------- page-level (tool pages) ---------- */
/* WCAG 2.2 SC 2.4.11 (Focus Not Obscured): keep focused / scrolled-to controls above
   the sticky ad zone at the bottom of phone screens (video player ~150px). */
html:has(body.het-body) { scroll-padding-top: 16px; scroll-padding-bottom: 96px; }
@media (max-width: 782px) { html:has(body.het-body) { scroll-padding-bottom: 190px; } }
.het-body .wp-block-post-title { font-size: clamp(1.9rem, 6.4vw, 3.1rem); line-height: 1.12; text-wrap: balance; }
.het-sub { font-size: 1.08rem; color: var(--het-muted); margin: 0 0 1rem; text-wrap: pretty; }

/* ---------- tool shell: wider than prose on desktop, edge-to-edge on phones ---------- */
.het-tool {
  --het-w: min(860px, calc(100vw - 2 * var(--wp--style--root--padding-left, 16px) - 24px));
  width: var(--het-w);
  max-width: none !important;
  margin: 1.25rem calc(50% - var(--het-w) / 2) 2rem !important;
  scroll-margin-top: 1rem;
}
@media (max-width: 600px) {
  .het-tool { --het-w: calc(100vw - 16px); }
}
.het-card {
  background: var(--het-card);
  border: 1px solid var(--het-line);
  border-radius: var(--het-radius);
  padding: clamp(.9rem, 3.2vw, 1.6rem);
  box-shadow: 0 10px 30px -12px rgba(192, 38, 95, .18);
}
.het-boot .het-tool-name { font-weight: 700; margin: 0 0 .25rem; }
.het-tool-head { display: flex; align-items: center; gap: .6rem; margin: 0 0 .9rem; }
.het-tool-head .het-icon { font-size: 1.5rem; line-height: 1; }
.het-tool-head .het-tool-title { font-weight: 800; font-size: 1.05rem; margin: 0; }
.het-tool-head .het-tool-meta { margin-left: auto; font-size: .8rem; color: var(--het-muted); white-space: nowrap; }

/* ---------- stepper ---------- */
.het-progress { height: 6px; border-radius: 99px; background: var(--het-accent-soft); overflow: hidden; margin: 0 0 .75rem; }
.het-progress > span { display: block; height: 100%; background: var(--het-accent); transition: width .25s ease; }
.het-step-count { font-size: .8rem; color: var(--het-muted); margin: 0 0 .2rem; letter-spacing: .02em; }
.het-q { font-size: clamp(1.1rem, 4.2vw, 1.3rem); font-weight: 800; margin: 0 0 .85rem; line-height: 1.3; }
.het-q-hint { color: var(--het-muted); font-size: .9rem; margin: -.5rem 0 .8rem; }
.het-options { display: grid; gap: .5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .het-options--2 { grid-template-columns: 1fr 1fr; } }

/* ---------- controls ---------- */
.het-btn {
  appearance: none; border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: .98rem;
  min-height: 46px; padding: .65rem 1.15rem; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  text-decoration: none; line-height: 1.2; transition: background-color .15s ease, transform .1s ease;
}
.het-btn:active { transform: scale(.98); }
.het :where(.het-btn, .het-chip, .het-option, .het-input, .het-emoji-btn, summary, a):focus-visible { outline: 3px solid #f08bb0; outline-offset: 2px; }
.het-btn--primary { background: var(--het-accent); color: #fff; }
.het-btn--primary:hover { background: var(--het-accent-dark); color: #fff; }
.het-btn--primary[disabled] { opacity: .65; cursor: progress; }
.het-btn--ghost { background: var(--het-soft); color: var(--het-accent-dark); border: 1px solid var(--het-line); }
.het-btn--ghost:hover { background: var(--het-accent-soft); }
.het-btn--link { background: none; color: var(--het-muted); text-decoration: underline; text-underline-offset: 3px; padding-inline: .3rem; min-height: 44px; }
.het-btn--sm { min-height: 44px; padding: .4rem .85rem; font-size: .9rem; }
.het-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; align-items: center; }

.het-option {
  appearance: none; font: inherit; text-align: left; cursor: pointer; width: 100%;
  min-height: 52px; padding: .8rem 1rem; border-radius: 14px;
  border: 1.5px solid var(--het-line); background: #fff; color: var(--het-ink);
  display: flex; align-items: center; gap: .65rem; transition: border-color .12s ease, background-color .12s ease;
}
.het-option::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #d9b6c3; }
.het-option:hover { border-color: var(--het-accent); background: var(--het-soft); }
.het-option.is-on { border-color: var(--het-accent); background: var(--het-soft); font-weight: 700; }
.het-option.is-on::before { border-color: var(--het-accent); background: radial-gradient(circle, var(--het-accent) 45%, transparent 50%); }

.het-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.het-chips--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; margin-inline: -2px; padding-inline: 2px; scroll-snap-type: x proximity; }
.het-chips--scroll::-webkit-scrollbar { display: none; }
.het-chips--scroll .het-chip { flex: none; scroll-snap-align: start; }
.het-chip {
  appearance: none; font: inherit; font-size: .92rem; cursor: pointer; min-height: 44px; padding: .45rem .9rem;
  border-radius: 999px; border: 1.5px solid var(--het-line); background: #fff; color: var(--het-ink); line-height: 1.25; text-align: left;
}
.het-chip:hover { border-color: var(--het-accent); }
.het-chip.is-on { background: var(--het-accent); border-color: var(--het-accent); color: #fff; }
.het-chip .het-chip-count { opacity: .75; font-size: .8em; margin-left: .25rem; }

.het-field { margin: 0 0 1rem; }
.het-label { font-weight: 800; margin: 0 0 .45rem; font-size: .92rem; letter-spacing: .01em; }
.het-hint { color: var(--het-muted); font-size: .88rem; margin: .35rem 0 0; }
.het-input {
  width: 100%; font: inherit; font-size: 16px; /* no iOS zoom */ padding: .7rem .85rem; border-radius: 12px;
  border: 1.5px solid var(--het-line); background: #fff; color: var(--het-ink); min-height: 46px;
}
.het-input:focus { border-color: var(--het-accent); }
textarea.het-input { resize: vertical; min-height: 84px; }
.het-consent { display: flex; gap: .55rem; align-items: flex-start; font-size: .86rem; color: var(--het-muted); margin: .2rem 0 .9rem; cursor: pointer; }
.het-consent input { width: 22px; height: 22px; margin-top: 1px; flex: none; accent-color: var(--het-accent); }
.het-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- results ---------- */
.het-result {
  --tone: var(--het-accent); --tone-soft: var(--het-soft);
  margin-top: 1rem; border-radius: var(--het-radius); background: #fff;
  border: 1px solid var(--het-line); overflow: hidden; outline: none;
}
.het-result--send, .het-result--interested, .het-result--low { --tone: var(--het-ok); --tone-soft: var(--het-ok-soft); }
.het-result--wait, .het-result--mixed, .het-result--medium { --tone: var(--het-warn); --tone-soft: var(--het-warn-soft); }
.het-result--let-go, .het-result--not, .het-result--high { --tone: var(--het-bad); --tone-soft: var(--het-bad-soft); }
.het-result--ask, .het-result--info { --tone: var(--het-info); --tone-soft: var(--het-info-soft); }
@media (max-width: 600px) {
  /* Results inside the tool card run edge to edge on phones. */
  .het-card .het-result { margin-inline: calc(-1 * clamp(.9rem, 3.2vw, 1.6rem) - 1px); border-radius: 0; border-left: 0; border-right: 0; }
  .het-card .het-result:last-child { margin-bottom: calc(-1 * clamp(.9rem, 3.2vw, 1.6rem) - 1px); border-bottom: 0; border-radius: 0 0 var(--het-radius) var(--het-radius); }
  .het-card { overflow: hidden; }
}
.het-result-head { display: flex; gap: .75rem; align-items: center; padding: 1rem clamp(.9rem, 3vw, 1.3rem); background: var(--tone-soft); border-bottom: 1px solid var(--het-line); }
.het-result-icon { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.6rem; background: #fff; box-shadow: inset 0 0 0 2px var(--tone); }
.het-result-head .het-kicker { color: var(--tone); }
.het-result-title { font-size: clamp(1.2rem, 5vw, 1.5rem); font-weight: 900; margin: 0; line-height: 1.2; color: var(--het-ink); }
.het .het-result-title, .het .het-q, .het .het-section-title { margin-top: 0; }
.het .het-section-title { margin-top: 1.1rem; }
.het .het-result-head .het-kicker { margin: 0 0 .15rem; }
.het-result-body { padding: 1rem clamp(.9rem, 3vw, 1.3rem) 1.1rem; }
.het-result-body > :last-child { margin-bottom: 0; }
.het-kicker { text-transform: uppercase; letter-spacing: .07em; font-size: .72rem; font-weight: 800; color: var(--het-muted); margin: 0 0 .15rem; }
.het-section-title { font-weight: 800; font-size: .95rem; margin: 1.1rem 0 .5rem; display: flex; align-items: center; gap: .4rem; }
.het-big { font-size: 2.6rem; line-height: 1.1; margin: .2rem 0 .4rem; }
.het-list { margin: .3rem 0 .9rem; padding-left: 1.15rem; }
.het-list li { margin: .3rem 0; }
.het-list li::marker { color: var(--tone, var(--het-accent)); }
.het-checks { list-style: none; padding: 0; margin: .3rem 0 .9rem; display: grid; gap: .45rem; }
.het-checks li { position: relative; padding-left: 1.6rem; }
.het-checks li::before { content: "✓"; position: absolute; left: 0; top: 0; font-weight: 900; color: var(--het-ok); }
.het-checks--warn li::before { content: "!"; color: var(--het-warn); width: 1.1rem; text-align: center; }
.het-list--quotes, .het-list--plain { list-style: none; padding-left: 0; }
.het-list--plain li { margin: .55rem 0; }
.het-list--quotes li { background: #fff; border: 1px solid var(--het-line); border-radius: 12px; padding: .65rem .85rem; margin: .45rem 0; }
.het-replies { list-style: none; margin: .4rem 0 .9rem; padding: 0; display: grid; gap: .5rem; }
.het-replies li {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .35rem .6rem;
  background: #fff; border: 1px solid var(--het-line); border-radius: 14px; padding: .6rem .6rem .6rem .85rem;
}
.het-reply-tag { grid-column: 1 / -1; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--het-accent-dark); }
.het-reply-tag:empty { display: none; }
.het-reply-text { min-width: 0; overflow-wrap: anywhere; }
.het-replies .het-copy { min-height: 44px; min-width: 64px; padding: .35rem .85rem; font-size: .9rem; }
.het-replies li:has(.het-copy) { cursor: pointer; transition: border-color .12s ease, background-color .12s ease; }
.het-replies li:has(.het-copy):hover { border-color: var(--het-accent); }
.het-replies li:has(.het-copy):active { background: var(--het-soft); }
@media (max-width: 600px) {
  /* Long texts use the full width on phones; Copy sits underneath on the left,
     clear of the floating buttons that ad and recirculation widgets pin to the bottom-right edge. */
  .het-replies li.is-long { grid-template-columns: 1fr; }
  .het-replies li.is-long .het-copy { justify-self: start; }
}
.het-next { margin: .8rem 0 0; padding: .7rem .9rem; border-radius: 12px; background: var(--tone-soft, var(--het-soft)); }
.het-note { background: var(--het-soft); border-left: 4px solid var(--het-accent); padding: .6rem .85rem; border-radius: 0 12px 12px 0; }
.het-warn { color: var(--het-warn); background: var(--het-warn-soft); padding: .6rem .85rem; border-radius: 12px; }
.het-safety { color: #5c1414; background: var(--het-bad-soft); border: 1px solid #f0c0bd; padding: .75rem .9rem; border-radius: 12px; font-weight: 600; }
.het-fineprint { font-size: .82rem; color: var(--het-muted); margin: .8rem 0 0; }
.het-signal { display: inline-block; font-weight: 800; font-size: .84rem; padding: .25rem .7rem; border-radius: 999px; margin: 0 0 .6rem; }
.het-signal--high { background: var(--het-accent-soft); color: var(--het-accent-dark); }
.het-signal--medium, .het-signal--mixed { background: var(--het-warn-soft); color: var(--het-warn); }
.het-signal--low { background: var(--het-info-soft); color: var(--het-info); }
.het-meter { display: flex; gap: 4px; margin: .5rem 0 .9rem; }
.het-meter span { flex: 1; height: 9px; border-radius: 99px; background: #eadfe3; }
.het-meter span.is-on { background: var(--tone, var(--het-accent)); }
.het-meter-label { display: flex; justify-content: space-between; font-size: .75rem; color: var(--het-muted); margin: -.55rem 0 .9rem; }
.het-more-list summary { cursor: pointer; color: var(--het-accent-dark); font-weight: 700; min-height: 44px; display: flex; align-items: center; }
/* Folded tool options (e.g. tone, length, name) */
.het-opts { border: 1px solid var(--het-line); border-radius: 14px; padding: 0 .85rem; margin: 0 0 .9rem; background: #fff; }
.het-opts[open] { padding-bottom: .2rem; }
.het-opts[open] > summary { margin-bottom: .5rem; border-bottom: 1px solid var(--het-line); }
.het-opts summary { color: var(--het-ink); padding: .55rem 0; }
.het-opts summary small { display: block; font-weight: 500; font-size: .86rem; color: var(--het-muted); margin-top: .1rem; }

/* answer recap chips */
.het-recap { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 .9rem; padding: 0; list-style: none; }
.het-recap li { font-size: .84rem; background: #f6f3f5; border-radius: 999px; padding: .25rem .65rem; color: var(--het-muted); }

/* next-step tool links */
.het-nexts { display: grid; gap: .5rem; margin: .5rem 0 0; }
@media (min-width: 560px) { .het-nexts { grid-template-columns: 1fr 1fr; } }
.het-nexts a {
  display: flex; gap: .65rem; align-items: center; padding: .7rem .85rem; border-radius: 14px;
  border: 1px solid var(--het-line); background: #fff; color: var(--het-ink); text-decoration: none; min-height: 56px;
}
.het-nexts a:hover { border-color: var(--het-accent); background: var(--het-soft); }
.het-nexts .het-nexts-icon { font-size: 1.35rem; flex: none; }
.het-nexts strong { display: block; font-size: .95rem; }
.het-nexts small { display: block; color: var(--het-muted); font-size: .86rem; line-height: 1.35; }

/* ---------- AI ---------- */
.het-ai { margin-top: 1.1rem; }
.het-ai-cta {
  width: 100%; justify-content: space-between; border-radius: 14px; min-height: 58px; text-align: left;
  background: linear-gradient(135deg, #fff 0%, var(--het-accent-soft) 100%); color: var(--het-ink);
  border: 1.5px solid var(--het-line); padding: .7rem 1rem;
}
.het-ai-cta:hover { border-color: var(--het-accent); }
.het-ai-cta .het-ai-cta-text { display: flex; flex-direction: column; }
.het-ai-cta small { font-weight: 500; color: var(--het-muted); font-size: .86rem; }
.het-ai-cta .het-ai-cta-arrow { color: var(--het-accent); font-size: 1.2rem; }
.het-ai-form { margin-top: .75rem; padding: .9rem; border-radius: 14px; background: var(--het-soft); border: 1px solid var(--het-line); }
.het-ai-form[hidden] { display: none; }
.het-ai-out { margin-top: .8rem; }
.het-ai-answer { background: #fff; border: 1.5px solid var(--het-accent); border-radius: var(--het-radius); padding: .95rem 1rem; }
.het-ai-headline { font-size: 1.15rem; font-weight: 900; margin: 0 0 .4rem; }
.het-ai-meta { font-size: .78rem; color: var(--het-muted); margin: .5rem 0 0; }
.het-loading { display: flex; align-items: center; gap: .6rem; color: var(--het-muted); font-style: italic; }
.het-spinner { width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--het-accent-soft); border-top-color: var(--het-accent); animation: het-spin .8s linear infinite; flex: none; }
@keyframes het-spin { to { transform: rotate(360deg); } }

/* ---------- deck / pickers ---------- */
.het-deck-card {
  background: linear-gradient(140deg, #fff 0%, var(--het-soft) 60%, var(--het-accent-soft) 100%);
  border: 1px solid var(--het-line); border-radius: 20px; padding: clamp(1.1rem, 4vw, 1.6rem);
  min-height: 170px; display: flex; flex-direction: column; justify-content: center; gap: .6rem;
}
.het-deck-text { font-size: clamp(1.15rem, 4.6vw, 1.45rem); font-weight: 800; line-height: 1.32; margin: 0; }
.het-deck-meta { font-size: .82rem; color: var(--het-muted); margin: 0; }
.het-deck-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .75rem; }
.het-deck-actions .het-btn--primary { grid-column: 1 / -1; }
@media (min-width: 640px) { .het-deck-actions { grid-template-columns: auto auto 1fr; } .het-deck-actions .het-btn--primary { grid-column: auto; order: 3; justify-self: end; } }
.het-emoji-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: .4rem; }
.het-emoji-btn {
  appearance: none; cursor: pointer; font-size: 1.55rem; line-height: 1; min-height: 52px;
  border-radius: 12px; border: 1.5px solid var(--het-line); background: #fff;
}
.het-emoji-btn:hover { border-color: var(--het-accent); }
.het-emoji-btn.is-on { border-color: var(--het-accent); background: var(--het-soft); box-shadow: 0 0 0 2px var(--het-accent) inset; }
.het-more { margin-top: .5rem; }
.het-counter { display: inline-grid; place-items: center; min-width: 1.6em; height: 1.6em; border-radius: 99px; background: rgba(255,255,255,.25); font-size: .85em; padding: 0 .35em; }

/* ---------- landing content ---------- */
.het-page h2 { margin-top: 2.2rem; scroll-margin-top: 1rem; }
.het-page h3 { margin-top: 1.4rem; }
.het-answer-box { background: var(--het-soft); border: 1px solid var(--het-line); border-radius: var(--het-radius); padding: 1rem 1.15rem; margin: 0 0 1.5rem; }
.het-answer-box > :last-child { margin-bottom: 0; }
.het-answer-box .het-kicker { color: var(--het-accent-dark); }
.het-lead { font-size: 1.06rem; }
.het-toc { border: 1px solid var(--het-line); border-radius: 14px; padding: .2rem 1rem; margin: 0 0 1.5rem; background: #fff; }
.het-toc summary { cursor: pointer; font-weight: 800; padding: .7rem 0; min-height: 44px; display: flex; align-items: center; }
.het-toc ol { margin: 0 0 .8rem; padding-left: 1.2rem; columns: 2 220px; column-gap: 1.5rem; }
.het-toc li { margin: .25rem 0; break-inside: avoid; }
.het-crumbs ol { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .25rem .4rem; font-size: .85rem; color: var(--het-muted); }
.het-crumbs li + li::before { content: "›"; margin-right: .4rem; opacity: .6; }
.het-crumbs a { color: inherit; }
.het-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: .75rem; margin: 1rem 0 1.5rem; }
.het-tcard {
  display: flex; flex-direction: column; gap: .3rem; text-decoration: none; color: var(--het-ink);
  background: #fff; border: 1px solid var(--het-line); border-radius: var(--het-radius); padding: 1rem;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.het-tcard:hover { transform: translateY(-2px); border-color: var(--het-accent); box-shadow: 0 10px 26px -12px rgba(192, 38, 95, .3); }
.het-tcard-icon { font-size: 1.6rem; line-height: 1; }
.het-tcard-name { font-weight: 800; }
.het-tcard-blurb { font-size: .9rem; color: var(--het-muted); }
.het-emoji-index { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: .45rem; margin: 1rem 0; }
.het-ei { display: flex; align-items: center; gap: .5rem; padding: .55rem .7rem; border-radius: 12px; border: 1px solid var(--het-line); background: #fff; text-decoration: none; color: var(--het-ink); min-height: 46px; }
a.het-ei:hover { border-color: var(--het-accent); }
.het-ei-emoji { font-size: 1.4rem; }
.het-ei-name { font-size: .88rem; }
.het-table-wrap { overflow-x: auto; margin: 1rem 0; border: 1px solid var(--het-line); border-radius: 14px; }
.het-table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.het-table th, .het-table td { text-align: left; padding: .55rem .7rem; border-bottom: 1px solid var(--het-line); vertical-align: top; }
.het-table tr:last-child td { border-bottom: 0; }
.het-table th { background: var(--het-soft); }
.het-inline-links { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; }
.het-inline-links a { display: inline-flex; align-items: center; padding: .35rem .8rem; border-radius: 999px; border: 1px solid var(--het-line); text-decoration: none; min-height: 44px; }
.het-faq details { border: 1px solid var(--het-line); border-radius: 14px; padding: 0 1rem; margin: .5rem 0; background: #fff; }
.het-faq summary { cursor: pointer; font-weight: 800; min-height: 48px; display: flex; align-items: center; padding: .6rem 0; }
.het-faq details[open] summary { border-bottom: 1px solid var(--het-line); margin-bottom: .6rem; }
/* Visible open/close indicator (flex summaries lose the native marker). */
.het :where(.het-faq, .het-toc, .het-more-list) summary { list-style: none; gap: .75rem; }
.het :where(.het-faq, .het-toc, .het-more-list) summary::-webkit-details-marker { display: none; }
.het :where(.het-faq, .het-toc, .het-more-list) summary::after {
  content: "+"; margin-left: auto; flex: none; width: 1.6rem; height: 1.6rem; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; color: var(--het-accent-dark); background: var(--het-accent-soft);
}
.het :where(.het-faq, .het-toc, .het-more-list) details[open] > summary::after, .het details.het-more-list[open] > summary::after, .het details.het-toc[open] > summary::after { content: "−"; }
.het-faq details > p { margin-bottom: .9rem; }
.het-steps { counter-reset: s; list-style: none; padding: 0; }
.het-steps li { counter-increment: s; position: relative; padding-left: 2.6rem; margin: .8rem 0; min-height: 1.9rem; }
.het-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--het-accent); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.het-updated { font-size: .82rem; color: var(--het-muted); margin-top: 2rem; }

/* ---------- homepage ---------- */
.het-hero { text-align: center; padding: clamp(1rem, 5vw, 3rem) 0 1rem; }
.het-hero h1 { font-size: clamp(2.1rem, 8vw, 3.4rem); line-height: 1.08; margin: 0 0 .75rem; text-wrap: balance; }
.het-hero p { font-size: 1.12rem; color: var(--het-muted); max-width: 40rem; margin: 0 auto 1.25rem; }
.het-hero .het-actions { justify-content: center; }
.het-cards--all { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.het-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: .75rem; margin: 1.5rem 0; }
.het-trust div { background: var(--het-soft); border-radius: 14px; padding: .9rem 1rem; }
.het-trust strong { display: block; }

/* ---------- homepage v2 ---------- */
.het-home-hero {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1.25rem, 4vw, 2.5rem); align-items: center;
  padding: clamp(1.25rem, 5vw, 3.25rem) clamp(1rem, 4vw, 3rem);
  margin: .25rem 0 1rem; border-radius: 28px; border: 1px solid var(--het-line);
  background:
    radial-gradient(120% 90% at 100% 0%, #fbd9e6 0%, rgba(251, 217, 230, 0) 55%),
    radial-gradient(90% 80% at 0% 100%, #efe4ff 0%, rgba(239, 228, 255, 0) 60%),
    var(--het-soft);
}
@media (min-width: 900px) { .het-home-hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }
.het-eyebrow { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0 0 1rem !important; }
.het-eyebrow li { font-size: .78rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--het-accent-dark); background: #fff; border: 1px solid var(--het-line); border-radius: 999px; padding: .3rem .7rem; }
.het-home-hero h1 { font-size: clamp(2.5rem, 9vw, 4.1rem); line-height: 1.02; margin: 0 0 .9rem; text-wrap: balance; letter-spacing: -.01em; }
.het-home-hero h1 span { color: var(--het-accent); font-style: italic; }
.het-home-lead { font-size: clamp(1.05rem, 2.6vw, 1.2rem); color: var(--het-muted); max-width: 36rem; margin: 0 0 1.4rem !important; text-wrap: pretty; }
.het-home-ask { font-weight: 800; margin: 0 0 .6rem !important; }
.het-situations { list-style: none; padding: 0; margin: 0 !important; display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 235px), 1fr)); }
.het-situations a {
  display: flex; align-items: center; gap: .65rem; min-height: 54px; padding: .6rem .9rem; border-radius: 16px;
  background: #fff; border: 1.5px solid var(--het-line); color: var(--het-ink); text-decoration: none; font-weight: 700; line-height: 1.25;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.het-situations a::after { content: "→"; margin-left: auto; padding-left: .3rem; color: var(--het-accent); font-weight: 800; }
.het-situations a:hover { border-color: var(--het-accent); transform: translateY(-1px); box-shadow: 0 8px 20px -12px rgba(192, 38, 95, .45); }
.het-situations-icon { font-size: 1.3rem; flex: none; }

.het-home-demo { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: .7rem; min-width: 0; }
.het-home-demo figcaption { font-size: .84rem; color: var(--het-muted); text-align: center; max-width: 20rem; }
.het-phone { width: min(100%, 320px); background: #fff; border-radius: 32px; padding: 1rem .9rem 1.1rem; border: 8px solid #1f1d2b; box-shadow: 0 30px 60px -28px rgba(31, 29, 43, .55); transform: rotate(1.5deg); }
.het-phone p { margin: 0; }
.het-phone-name { display: flex; align-items: center; justify-content: center; gap: .35rem; font-size: .78rem; font-weight: 800; color: var(--het-muted); margin-bottom: .7rem !important; }
.het-phone-dot { width: .5rem; height: .5rem; border-radius: 50%; background: #2bb673; }
.het-bubble { width: fit-content; max-width: 85%; padding: .5rem .8rem; border-radius: 18px 18px 18px 6px; background: #efedf3; font-size: .95rem; line-height: 1.35; margin-bottom: .35rem !important; }
.het-demo-read { margin-top: .8rem; padding: .8rem .85rem; border-radius: 16px; background: var(--het-soft); border: 1px solid var(--het-line); }
.het-demo-kicker { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--het-accent-dark); }
.het-demo-title { font-weight: 800; font-size: 1.05rem; margin: .1rem 0 .25rem !important; }
.het-demo-text { font-size: .88rem; color: var(--het-muted); }
.het-demo-reply { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .55rem !important; padding: .45rem .5rem .45rem .7rem; background: #fff; border: 1px solid var(--het-line); border-radius: 12px; font-size: .9rem; }
.het-demo-reply span { flex: none; font-size: .78rem; font-weight: 800; color: var(--het-accent-dark); background: var(--het-accent-soft); border-radius: 999px; padding: .25rem .6rem; }

.het-home-strip { list-style: none; padding: 0; margin: 0 0 .5rem !important; display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.het-home-strip li { display: grid; grid-template-columns: auto 1fr; column-gap: .65rem; align-items: start; padding: .85rem .95rem; border-radius: 16px; background: #fff; border: 1px solid var(--het-line); font-size: .92rem; color: var(--het-muted); line-height: 1.4; }
.het-home-strip li > span { grid-row: span 2; font-size: 1.35rem; line-height: 1.2; }
.het-home-strip strong { display: block; color: var(--het-ink); }

.het-home-groups, .het-home-decode { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); margin: 1rem 0 0; }
/* Four groups: always 2 x 2 on wide screens (auto-fit would leave one orphan in a 3 + 1 layout). */
@media (min-width: 760px) { .het-home-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .het-eyebrow { gap: .3rem; }
  .het-eyebrow li { font-size: .7rem; padding: .25rem .55rem; letter-spacing: .03em; }
  .het-home-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; }
  .het-home-strip li { grid-template-columns: 1fr; padding: .75rem .8rem; font-size: .86rem; }
  .het-home-strip li > span { grid-row: auto; margin-bottom: .2rem; }
}
.het-home-group, .het-home-decode > section { background: #fff; border: 1px solid var(--het-line); border-radius: 22px; padding: 1.1rem 1.1rem .3rem; }
.het-home-group h3, .het-home-decode h3 { display: flex; align-items: center; gap: .45rem; margin: 0 !important; font-size: 1.2rem; }
.het-home-group > p { color: var(--het-muted); font-size: .92rem; margin: .15rem 0 .2rem !important; }
.het-home-group .het-cards { grid-template-columns: 1fr; gap: .5rem; margin: .6rem 0 .8rem; }
.het-home-group .het-tcard {
  display: grid; grid-template-columns: 2.6rem minmax(0, 1fr) auto; grid-template-areas: "i n a" "i b a";
  column-gap: .75rem; row-gap: .1rem; align-items: center; padding: .75rem .85rem; border-radius: 16px; background: var(--het-soft); border-color: transparent;
}
.het-home-group .het-tcard::after { content: "→"; grid-area: a; color: var(--het-accent); font-weight: 800; }
.het-home-group .het-tcard-icon { grid-area: i; width: 2.6rem; height: 2.6rem; display: grid; place-items: center; background: #fff; border-radius: 12px; font-size: 1.35rem; }
.het-home-group .het-tcard-name { grid-area: n; }
.het-home-group .het-tcard-blurb { grid-area: b; font-size: .86rem; }
.het-home-group .het-tcard:hover { border-color: var(--het-accent); background: #fff; }
.het-home-decode h3 { margin-bottom: .75rem !important; }
.het-chiplinks { list-style: none; padding: 0; margin: 0 0 .6rem !important; display: flex; flex-wrap: wrap; gap: .4rem; }
.het-chiplinks a { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .35rem .85rem .35rem .6rem; border-radius: 999px; border: 1px solid var(--het-line); background: var(--het-soft); color: var(--het-ink); text-decoration: none; font-size: .88rem; line-height: 1.2; }
.het-chiplinks a:hover { border-color: var(--het-accent); background: #fff; }
.het-chiplinks-big { font-size: 1.3rem; line-height: 1; }
.het-chiplinks-term { font-weight: 800; color: var(--het-accent-dark); letter-spacing: .03em; }
.het-chiplinks--slang a span:last-child { color: var(--het-muted); }
.het-more-link { font-weight: 800; color: var(--het-accent-dark); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.het-more-link:hover { text-decoration: underline; }

.het-steps--row strong { display: block; }
@media (min-width: 760px) {
  .het-steps--row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .het-steps--row li { margin: 0; padding: 3.3rem 1.1rem 1.1rem; background: #fff; border: 1px solid var(--het-line); border-radius: 18px; }
  .het-steps--row li::before { left: 1.1rem; top: 1.1rem; }
}

.het-home-trust { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); margin: 1rem 0 0; }
.het-home-trust a { display: flex; flex-direction: column; gap: .25rem; padding: 1rem 1.05rem; border-radius: 18px; border: 1px solid var(--het-line); background: #fff; color: var(--het-ink); text-decoration: none; }
.het-home-trust a:hover { border-color: var(--het-accent); }
.het-home-trust strong::after { content: " →"; color: var(--het-accent); }
.het-home-trust span { font-size: .9rem; color: var(--het-muted); }

.het-home-cta { margin: 2.75rem 0 1rem; padding: clamp(1.5rem, 5vw, 2.6rem); border-radius: 26px; text-align: center; color: #fff; background: linear-gradient(135deg, #c0265f 0%, #9e1d4e 60%, #6b1d6e 100%); }
.het-page .het-home-cta h2 { color: #fff; margin: 0 0 .5rem; }
.het-home-cta p { color: #fff; opacity: .95; margin: 0 auto 1.15rem !important; max-width: 30rem; }
.het-btn--light { background: #fff; color: var(--het-accent-dark); border-color: #fff; }
.het-btn--light:hover { background: var(--het-soft); }

/* ---------- trust pages (about, editorial, AI, safety) ---------- */
.het-facts { list-style: none; padding: 0; margin: 1rem 0 1.5rem !important; display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.het-facts li { padding: .9rem 1rem; border-radius: 16px; background: var(--het-soft); border: 1px solid var(--het-line); color: var(--het-muted); font-size: .9rem; line-height: 1.35; }
.het-facts strong { display: block; font-size: 1.5rem; line-height: 1.1; color: var(--het-ink); margin-bottom: .15rem; }
@media (max-width: 600px) { .het-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; } .het-facts li { padding: .75rem .8rem; font-size: .86rem; } }
.het-principles { list-style: none; padding: 0; margin: 1rem 0 !important; display: grid; gap: .6rem; }
.het-principles li { padding: .9rem 1rem .9rem 1.1rem; border-left: 4px solid var(--het-accent); background: #fff; border-radius: 0 14px 14px 0; box-shadow: 0 1px 0 var(--het-line); }
.het-principles strong { display: block; }
.het-press { list-style: none; padding: 0; margin: 1rem 0 !important; display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.het-press a { display: flex; flex-direction: column; gap: .15rem; min-height: 44px; padding: .75rem .9rem; border-radius: 14px; border: 1px solid var(--het-line); background: #fff; color: var(--het-ink); text-decoration: none; }
.het-press a:hover { border-color: var(--het-accent); }
.het-press strong { font-size: .98rem; }
.het-press span { font-size: .86rem; color: var(--het-muted); }
.het-callout { padding: 1rem 1.15rem; border-radius: 16px; background: var(--het-info-soft); border: 1px solid #cfdaf5; margin: 1.25rem 0 !important; }
.het-callout > :last-child { margin-bottom: 0; }
.het-hotlines { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); margin: 1rem 0 1.5rem; }
.het-hotline { padding: 1rem 1.05rem; border-radius: 16px; background: #fff; border: 1px solid var(--het-line); }
.het-hotline h3 { margin: 0 0 .3rem !important; font-size: 1.05rem; font-family: var(--wp--preset--font-family--body, inherit); }
.het-hotline p { margin: 0 0 .35rem !important; font-size: .94rem; }
.het-hotline a[href^="tel:"], .het-hotline a[href^="sms:"] { font-weight: 800; color: var(--het-accent-dark); white-space: nowrap; }
.het-contact-list { list-style: none; padding: 0; display: grid; gap: .5rem; }
.het-contact-list li { padding: .8rem 1rem; border-radius: 14px; border: 1px solid var(--het-line); background: #fff; }
.het-contact-list a[href^="mailto:"] { font-weight: 800; color: var(--het-accent-dark); overflow-wrap: anywhere; }

@media (max-width: 480px) {
  .het-actions > .het-btn--primary:only-child, .het-actions--stack > .het-btn { width: 100%; }
  .het-hero .het-actions .het-btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .het *, .het *::before, .het *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .het-option.is-on, .het-chip.is-on, .het-emoji-btn.is-on { outline: 2px solid CanvasText; }
}
