/* ============================================================
   Homepage — "Ein Tag mit deinem Bot"
   Page-scoped styles for index.html only (prefix hp-).
   Follows DESIGN.md: one teal path, artefacts float, the
   marketing surface is flat, tint means "the product speaks".
   ============================================================ */

:root {
  --hp-ink: #0f172a;
  --hp-ink-2: #334155;
  --hp-ink-3: #475569;
  --hp-ink-4: #64748b;
  --hp-line: #e2e8f0;
  --hp-line-strong: #cbd5e1;
  --hp-line-hover: #94a3b8;
  --hp-ground: #ffffff;
  --hp-ground-2: #f8fafc;
  --hp-bubble: #f1f5f9;
  --hp-night: #0f172a;
  --hp-teal: #0d9488;
  --hp-teal-dark: #0f766e;
  --hp-teal-deep: #115e59;
  --hp-teal-light: #ccfbf1;
  --hp-teal-50: #f0fdfa;
  --hp-teal-edge: #99f6e4;
  --hp-teal-glow: #5eead4;
  --hp-lift: 0 1px 2px rgb(15 23 42 / 0.05), 0 4px 8px -4px rgb(15 23 42 / 0.10);
  --hp-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --hp-gap-section: clamp(88px, 11vw, 144px);
  --hp-gap-band: clamp(64px, 8vw, 104px);
}

/* The shared main.js fades every <section> in on scroll. This page has one
   authored motion (the day line), so sections are simply present. */
.has-scroll-reveal main section { opacity: 1; transform: none; transition: none; }

/* ---------- Browser surfaces ---------- */
::selection { background: var(--hp-teal-light); color: var(--hp-ink); }
body { background: var(--hp-ground); color: var(--hp-ink-2); caret-color: var(--hp-teal-dark); }
main a { text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
main :focus-visible { outline: 2px solid var(--hp-teal-dark); outline-offset: 3px; border-radius: 6px; }
main h1, main h2, main h3 { color: var(--hp-ink); text-wrap: balance; }
main p, main dd, main li { text-wrap: pretty; }
.hp-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp-ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Hero ---------- */
.hp-hero { padding: calc(var(--nav-height) + clamp(48px, 7vw, 96px)) 0 clamp(64px, 8vw, 112px); }
.hp-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 48px clamp(40px, 6vw, 88px);
  align-items: center;
}
.hp-hero h1 { font-size: clamp(2.25rem, 3.7vw, 3.25rem); line-height: 1.06; letter-spacing: -0.035em; font-weight: 800; }
.hp-hero h1 .hp-hl { color: var(--hp-teal-dark); }
.hp-hero__lede { margin-top: 24px; font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); line-height: 1.65; color: var(--hp-ink-3); max-width: 56ch; }
.hp-hero__chat { justify-self: end; width: 100%; max-width: 400px; margin: 0; }

/* ---------- URL form (hero, path end, close) ---------- */
.hp-try { margin-top: 36px; max-width: 600px; }
.hp-try__label { display: block; font-family: var(--font-heading); font-size: 0.875rem; font-weight: 700; color: var(--hp-ink); margin-bottom: 8px; }
.hp-try__row { display: flex; gap: 10px; }
.hp-try__input {
  flex: 1 1 auto; min-width: 0; height: 56px; padding: 0 18px;
  font: 500 1.0625rem/1 var(--font-body); color: var(--hp-ink);
  background: #fff; border: 1.5px solid var(--hp-line-strong); border-radius: 10px;
  transition: border-color 0.2s var(--hp-ease), box-shadow 0.2s var(--hp-ease);
}
.hp-try__input::placeholder { color: var(--hp-ink-4); }
.hp-try__input:hover { border-color: var(--hp-line-hover); }
.hp-try__input:focus { outline: none; border-color: var(--hp-teal-dark); box-shadow: 0 0 0 4px rgb(13 148 136 / 0.16); }
.hp-try__btn {
  flex: none; display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0.75rem 24px;
  font: 700 1rem/1 var(--font-body); color: #fff; background: var(--hp-teal-dark); border-radius: 10px; white-space: nowrap;
  transition: background 0.2s var(--hp-ease), transform 0.2s var(--hp-ease), box-shadow 0.2s var(--hp-ease);
}
.hp-try__btn:hover { background: var(--hp-teal-deep); transform: translateY(-1px); box-shadow: 0 8px 18px -10px rgb(15 23 42 / 0.45); }
.hp-try__btn:active { transform: translateY(0); box-shadow: none; }
.hp-try__btn .hp-ico { transition: transform 0.25s var(--hp-ease); }
.hp-try__btn:hover .hp-ico { transform: translateX(3px); }
.hp-try__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; margin-top: 16px; font-size: 0.9375rem; color: var(--hp-ink-3); }
.hp-try__facts { margin: 0; display: flex; flex-wrap: wrap; row-gap: 2px; }
.hp-try__facts span { white-space: nowrap; }
.hp-try__facts span + span::before { content: "·"; margin: 0 8px; color: var(--hp-line-hover); }
.hp-try__alt { color: var(--hp-teal-dark); font-weight: 600; text-decoration: underline; }
.hp-try__alt:hover { color: var(--hp-teal-deep); }

/* ---------- Artefact: chat widget ---------- */
.hp-chat { background: #fff; border: 1px solid var(--hp-line); border-radius: 18px; box-shadow: var(--hp-lift); overflow: hidden; font-size: 0.9375rem; line-height: 1.55; }
.hp-chat__head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--hp-line); background: var(--hp-ground-2); }
.hp-chat__avatar { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--hp-teal-dark); color: #fff; font-family: var(--font-heading); font-weight: 800; font-size: 0.9375rem; }
.hp-chat__who { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.hp-chat__name { font-family: var(--font-heading); font-weight: 700; font-size: 0.875rem; color: var(--hp-ink); }
.hp-chat__status { font-size: 0.75rem; color: var(--hp-ink-3); }
.hp-tag {
  margin-left: auto; flex: none; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.01em; color: var(--hp-ink-3);
  border: 1px solid var(--hp-line-strong); border-radius: 999px; padding: 2px 10px; background: #fff;
}
.hp-chat__body { display: flex; flex-direction: column; gap: 10px; padding: 18px 16px 20px; }
.hp-msg { margin: 0; max-width: 86%; padding: 10px 14px; border-radius: 16px; color: var(--hp-ink); }
.hp-msg--in { align-self: flex-start; background: var(--hp-bubble); border-bottom-left-radius: 5px; }
.hp-msg--out { align-self: flex-end; background: var(--hp-teal-dark); color: #fff; border-bottom-right-radius: 5px; }
.hp-msg--team { align-self: flex-start; background: var(--hp-teal-50); border: 1px solid var(--hp-teal-edge); border-bottom-left-radius: 5px; }
.hp-msg__from { display: block; font-family: var(--font-heading); font-size: 0.75rem; font-weight: 700; color: var(--hp-teal-dark); margin-bottom: 2px; }
.hp-time { font-size: 0.75rem; color: var(--hp-ink-3); font-variant-numeric: tabular-nums; }
.hp-time--out { align-self: flex-end; margin-top: -4px; }
.hp-sys { display: flex; align-items: center; gap: 10px; margin: 6px 0; font-size: 0.8125rem; font-weight: 600; color: var(--hp-teal-dark); }
.hp-sys::before, .hp-sys::after { content: ""; flex: 1; height: 1px; background: var(--hp-teal-edge); }

/* open-widget variant (teal header) */
.hp-chat__head--lg { padding: 14px 16px; background: var(--hp-teal-dark); border-bottom: 0; }
.hp-chat__head--lg .hp-chat__name { color: #fff; font-size: 1rem; }
.hp-chat__head--lg .hp-chat__status { color: var(--hp-teal-light); display: inline-flex; align-items: center; gap: 6px; }
.hp-chat__head--lg .hp-tag { background: transparent; color: #fff; border-color: rgb(255 255 255 / 0.45); }
.hp-chat__head--lg .hp-chat__avatar { width: 38px; height: 38px; border-radius: 12px; background: #fff; color: var(--hp-teal-dark); font-size: 1.0625rem; }
.hp-online { width: 7px; height: 7px; border-radius: 50%; background: var(--hp-teal-glow); }
.hp-chat__tools { display: flex; gap: 10px; color: var(--hp-teal-light); flex: none; }
.hp-chat__tools .hp-ico { width: 16px; height: 16px; }
.hp-compose { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 14px 14px; padding: 6px 6px 6px 16px; border: 1px solid var(--hp-line-strong); border-radius: 999px; color: var(--hp-ink-3); font-size: 0.9375rem; }
.hp-compose__send { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--hp-teal-dark); color: #fff; flex: none; }
.hp-compose__send .hp-ico { width: 16px; height: 16px; stroke-width: 2; }

/* quick-reply buttons inside the chat (flows) */
.hp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: -2px 0 2px; }
.hp-chips span { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--hp-line-strong); background: #fff; color: var(--hp-ink-3); font-size: 0.8125rem; font-weight: 600; white-space: nowrap; }
.hp-chips span.is-picked { background: var(--hp-teal-dark); border-color: var(--hp-teal-dark); color: #fff; }
.hp-chips--out { justify-content: flex-end; }

/* form inside the chat (lead forms) */
.hp-msg--form { max-width: 100%; width: 100%; }
.hp-cform { display: grid; gap: 8px; margin-top: 10px; }
.hp-cform__field { display: grid; gap: 3px; }
.hp-cform__label { font-family: var(--font-heading); font-size: 0.75rem; font-weight: 700; color: var(--hp-ink-3); }
.hp-cform__value { display: block; padding: 8px 10px; background: #fff; border: 1px solid var(--hp-line-strong); border-radius: 8px; font-size: 0.875rem; color: var(--hp-ink); overflow-wrap: anywhere; }
.hp-cform__send { display: inline-flex; align-items: center; justify-content: center; gap: 6px; margin-top: 2px; height: 38px; border-radius: 8px; background: var(--hp-teal-dark); color: #fff; font-weight: 700; font-size: 0.875rem; }
.hp-cform__send .hp-ico { width: 16px; height: 16px; stroke-width: 2.25; }

/* ---------- Artefact: page fragment (what the bot read) ---------- */
.hp-page { background: #fff; border: 1px solid var(--hp-line); border-radius: 18px; box-shadow: var(--hp-lift); overflow: hidden; }
.hp-page__head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--hp-ground-2); border-bottom: 1px solid var(--hp-line); }
.hp-page__url { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 0.875rem; font-weight: 600; color: var(--hp-ink); }
.hp-page__url .hp-ico { color: var(--hp-teal-dark); width: 16px; height: 16px; }
.hp-page__body { padding: 18px 18px 8px; }
.hp-page__title { font-family: var(--font-heading); font-weight: 800; font-size: 1.0625rem; color: var(--hp-ink); }
.hp-page__dl { margin: 10px 0 0; }
.hp-page__dl div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 2px 12px; padding: 10px 0; border-top: 1px solid var(--hp-line); font-size: 0.875rem; }
.hp-page__dl dt { font-family: var(--font-heading); font-weight: 700; color: var(--hp-ink); }
.hp-page__dl dd { margin: 0; color: var(--hp-ink-2); font-variant-numeric: tabular-nums; }
.hp-page__foot { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--hp-teal-50); border-top: 1px solid var(--hp-teal-edge); font-size: 0.875rem; font-weight: 600; color: var(--hp-teal-deep); }
.hp-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--hp-teal); flex: none; }

/* ---------- Artefact: admin (inbox, leads, analytics) ---------- */
.hp-admin { display: grid; grid-template-columns: 44px minmax(0, 1fr); background: #fff; border: 1px solid var(--hp-line-strong); border-radius: 12px; box-shadow: var(--hp-lift); overflow: hidden; font-size: 0.875rem; line-height: 1.5; }
.hp-admin__rail { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 0; background: var(--hp-night); }
.hp-admin__rail span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; color: var(--hp-line-hover); }
.hp-admin__rail span.is-on { background: var(--hp-teal-dark); color: #fff; }
.hp-admin__rail .hp-ico { width: 17px; height: 17px; }
.hp-admin__main { min-width: 0; }
.hp-admin__bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--hp-line); }
.hp-admin__title { font-family: var(--font-heading); font-weight: 800; font-size: 0.9375rem; color: var(--hp-ink); }
.hp-admin__tabs { display: flex; gap: 4px; }
.hp-admin__tabs span { padding: 3px 9px; border-radius: 6px; font-size: 0.75rem; font-weight: 600; color: var(--hp-ink-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.hp-admin__tabs span.is-on { background: var(--hp-bubble); color: var(--hp-ink); }
.hp-admin__row { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--hp-teal-50); border-bottom: 1px solid var(--hp-line); }
.hp-admin__dot { width: 8px; height: 8px; border-radius: 50%; background: #d97706; flex: none; }
.hp-admin__dot--new { background: var(--hp-teal); }
.hp-admin__meta { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.hp-admin__who { font-family: var(--font-heading); font-weight: 700; font-size: 0.8125rem; color: var(--hp-ink); }
.hp-admin__who .hp-num { font-variant-numeric: tabular-nums; }
.hp-admin__snip { font-size: 0.8125rem; color: var(--hp-ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-admin__take { flex: none; padding: 7px 12px; border-radius: 8px; background: var(--hp-teal-dark); color: #fff; font-weight: 700; font-size: 0.8125rem; }
.hp-admin__status { flex: none; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--hp-teal-edge); background: #fff; color: var(--hp-teal-deep); font-weight: 700; font-size: 0.75rem; }
.hp-admin__thread { display: flex; flex-direction: column; gap: 8px; padding: 14px; background: var(--hp-ground-2); }
.hp-amsg { margin: 0; max-width: 92%; padding: 8px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--hp-line); color: var(--hp-ink); }
.hp-amsg--bot { align-self: flex-end; background: var(--hp-bubble); }
.hp-amsg__from { display: block; font-family: var(--font-heading); font-size: 0.75rem; font-weight: 700; color: var(--hp-ink-3); }
.hp-admin__quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 14px 14px; border-top: 1px solid var(--hp-line); }
.hp-admin__qlabel { width: 100%; font-family: var(--font-heading); font-size: 0.75rem; font-weight: 700; color: var(--hp-ink-3); }
.hp-chip { padding: 5px 11px; border: 1px solid var(--hp-teal-edge); border-radius: 999px; background: var(--hp-teal-50); color: var(--hp-teal-deep); font-size: 0.8125rem; font-weight: 600; white-space: nowrap; }
.hp-leadrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 12px 14px; border-bottom: 1px solid var(--hp-line); }
.hp-leadrow:last-child { border-bottom: 0; }
.hp-leadrow--new { background: var(--hp-teal-50); }
.hp-leadrow__name { font-family: var(--font-heading); font-weight: 700; font-size: 0.8125rem; color: var(--hp-ink); }
.hp-leadrow__info { grid-column: 1; font-size: 0.8125rem; color: var(--hp-ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-leadrow .hp-admin__status { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.hp-leadrow__time { font-variant-numeric: tabular-nums; font-weight: 600; }
.hp-leadrow--old .hp-admin__status { border-color: var(--hp-line-strong); color: var(--hp-ink-3); }

/* layered artefacts */
.hp-layer { position: relative; z-index: 1; width: 84%; margin: -30px 0 0 auto; }
.hp-layer--left { margin: -26px auto 0 0; width: 88%; }
.hp-art--layered-chat .hp-page__foot { padding-bottom: 42px; }
.hp-art--layered .hp-admin__quick { padding-bottom: 44px; }
.hp-art--layered-leads .hp-chat__body { padding-bottom: 46px; }
.hp-layer .hp-chat__body { padding: 12px 14px 16px; }

/* analytics */
.hp-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--hp-line); }
.hp-kpi { padding: 12px 14px; border-right: 1px solid var(--hp-line); }
.hp-kpi:last-child { border-right: 0; }
.hp-kpi__label { display: block; font-size: 0.75rem; font-weight: 600; color: var(--hp-ink-3); }
.hp-kpi__value { display: block; margin-top: 2px; font-family: var(--font-heading); font-weight: 800; font-size: 1.375rem; line-height: 1.2; color: var(--hp-ink); font-variant-numeric: tabular-nums; }
.hp-panel { padding: 12px 14px 14px; border-bottom: 1px solid var(--hp-line); }
.hp-panel:last-child { border-bottom: 0; }
.hp-panel__title { font-family: var(--font-heading); font-size: 0.75rem; font-weight: 700; color: var(--hp-ink-3); margin: 0 0 8px; }
.hp-hours { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 2px; }
.hp-hours span { height: 22px; border-radius: 3px; background: var(--hp-bubble); }
.hp-hours .l1 { background: var(--hp-teal-light); }
.hp-hours .l2 { background: var(--hp-teal-edge); }
.hp-hours .l3 { background: var(--hp-teal); }
.hp-hours .l4 { background: var(--hp-teal-deep); }
.hp-hours__axis { display: flex; justify-content: space-between; margin-top: 4px; font-size: 0.6875rem; color: var(--hp-ink-3); font-variant-numeric: tabular-nums; }
.hp-outcome { display: flex; height: 10px; border-radius: 5px; overflow: hidden; gap: 2px; }
.hp-outcome span { display: block; }
.hp-outcome .o1, .hp-legend .o1 { background: var(--hp-teal-dark); }
.hp-outcome .o2, .hp-legend .o2 { background: var(--hp-teal-glow); }
.hp-outcome .o3, .hp-legend .o3 { background: var(--hp-line-strong); }
.hp-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 8px 0 0; padding: 0; list-style: none; font-size: 0.8125rem; color: var(--hp-ink-2); font-variant-numeric: tabular-nums; }
.hp-legend li { display: inline-flex; align-items: center; gap: 6px; }
.hp-legend i { width: 9px; height: 9px; border-radius: 2px; display: inline-block; }
.hp-legend b { font-family: var(--font-heading); color: var(--hp-ink); }

/* product cards (mirror the widget's product row) */
.hp-msg--cards { max-width: 100%; width: 100%; min-width: 0; overflow: hidden; }
.hp-prod-list {
  display: flex; gap: 10px; margin: 12px -14px 0; padding: 2px 14px 10px;
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding-left: 14px;
  -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--hp-line-strong) transparent;
}
.hp-prod-list::-webkit-scrollbar { height: 5px; }
.hp-prod-list::-webkit-scrollbar-thumb { background: var(--hp-line-strong); border-radius: 3px; }
.hp-prod {
  flex: 0 0 calc((100% - 20px) / 3); min-width: 118px; max-width: 150px; scroll-snap-align: start;
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--hp-line-strong); border-radius: 12px; padding: 8px 8px 10px; color: var(--hp-ink);
}
.hp-prod__img { display: block; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; margin-bottom: 8px; background: var(--hp-ground-2); }
.hp-prod__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hp-prod__name { font-family: var(--font-heading); font-size: 0.84375rem; font-weight: 700; line-height: 1.3; min-height: 2.6em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hp-prod__reason { font-size: 0.75rem; line-height: 1.35; color: var(--hp-ink-3); margin-top: 4px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.hp-prod__price { font-family: var(--font-heading); font-size: 0.84375rem; font-weight: 700; color: var(--hp-teal-dark); margin-top: auto; padding-top: 6px; font-variant-numeric: tabular-nums; }
.hp-prod__cta { display: inline-flex; align-items: center; gap: 4px; font-size: 0.75rem; font-weight: 700; color: var(--hp-teal-dark); margin-top: 4px; }
.hp-prod__cta .hp-ico { width: 13px; height: 13px; stroke-width: 2; }

.hp-cap, .hp-note { margin: 12px 0 0; padding: 0 4px; font-size: 0.875rem; line-height: 1.5; color: var(--hp-ink-3); }
.hp-note { display: flex; align-items: flex-start; gap: 10px; }
.hp-note .hp-ico { margin-top: 1px; width: 17px; height: 17px; color: var(--hp-ink-4); }
.hp-note s { text-decoration-color: var(--hp-line-hover); }
.hp-cap b { font-family: var(--font-heading); font-weight: 700; color: var(--hp-ink-2); }

/* ---------- Summary (GEO) ---------- */
.hp-summary { background: var(--hp-ground-2); border-top: 1px solid var(--hp-line); border-bottom: 1px solid var(--hp-line); padding: var(--hp-gap-band) 0; }
.hp-summary__grid { display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.hp-summary h2 { font-size: clamp(1.625rem, 2.6vw, 2.25rem); letter-spacing: -0.025em; line-height: 1.15; }
.hp-summary__stand { margin-top: 12px; font-size: 0.875rem; color: var(--hp-ink-3); }
.hp-summary__intro { margin-top: 20px; font-size: 1rem; color: var(--hp-ink-3); max-width: 34ch; }
.hp-facts { margin: 0; }
.hp-facts__row { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 8px 32px; padding: 20px 0; border-top: 1px solid var(--hp-line-strong); }
.hp-facts__row:last-child { border-bottom: 1px solid var(--hp-line-strong); }
.hp-facts dt { font-family: var(--font-heading); font-weight: 700; font-size: 1rem; line-height: 1.45; color: var(--hp-ink); }
.hp-facts dd { margin: 0; font-size: 1rem; line-height: 1.65; color: var(--hp-ink-2); max-width: 62ch; font-variant-numeric: tabular-nums; }
.hp-facts a { color: var(--hp-teal-dark); text-decoration: underline; font-weight: 600; }

/* ---------- The day: one line, time stamps as nodes ---------- */
.hp-day { padding: var(--hp-gap-section) 0; }
.hp-day__head { max-width: 640px; margin: 0 auto; text-align: center; }
.hp-day__head h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -0.028em; line-height: 1.12; }
.hp-day__lede { margin-top: 16px; font-size: 1.0625rem; line-height: 1.65; color: var(--hp-ink-3); }
.hp-path { position: relative; margin-top: clamp(48px, 6vw, 72px); --fill: 1; }
.hp-path__line { position: absolute; top: 10px; bottom: 0; left: calc(50% - 1.5px); width: 3px; border-radius: 3px; background: var(--hp-teal-light); overflow: hidden; }
.hp-path__fill { position: absolute; inset: 0; background: var(--hp-teal); transform-origin: top center; transform: scaleY(var(--fill)); }
.hp-pin { position: relative; display: flex; align-items: center; gap: 14px; margin: 0 0 0 calc(50% - 10px); font-family: var(--font-heading); font-weight: 700; font-size: 0.9375rem; color: var(--hp-ink); }
.hp-pin__dot { width: 20px; height: 20px; flex: none; border-radius: 50%; background: #fff; border: 3px solid var(--hp-teal); }
.hp-pin__note { font-family: var(--font-body); font-weight: 500; font-size: 0.875rem; color: var(--hp-ink-3); border: 1px solid var(--hp-line-strong); border-radius: 999px; padding: 3px 12px; background: #fff; }

.hp-stops { list-style: none; margin: 0; padding: clamp(72px, 8vw, 112px) 0; display: flex; flex-direction: column; gap: clamp(96px, 11vw, 152px); }
.hp-stop { display: grid; grid-template-columns: minmax(0, 1fr) 104px minmax(0, 1fr); align-items: start; }
.hp-node {
  grid-column: 2; grid-row: 1; justify-self: center; position: relative; z-index: 1;
  display: grid; place-items: center; min-width: 76px; height: 36px; padding: 0 12px; border-radius: 999px;
  font-family: var(--font-heading); font-weight: 800; font-size: 0.9375rem; letter-spacing: 0.01em; font-variant-numeric: tabular-nums;
  background: var(--hp-teal-dark); color: #fff; border: 3px solid var(--hp-teal-dark);
  transition: background 0.45s var(--hp-ease), color 0.45s var(--hp-ease), border-color 0.45s var(--hp-ease);
}
.hp-day.is-live .hp-node { background: #fff; color: var(--hp-teal-dark); border-color: var(--hp-teal-light); }
.hp-day.is-live .hp-node.is-reached { background: var(--hp-teal-dark); color: #fff; border-color: var(--hp-teal-dark); }
.hp-stop__text { grid-column: 1; grid-row: 1; justify-self: end; width: 100%; max-width: 470px; padding-top: 2px; }
.hp-stop__art { grid-column: 3; grid-row: 1; justify-self: start; width: 100%; max-width: 470px; margin: 0; }
.hp-stop:nth-child(even) .hp-stop__text { grid-column: 3; justify-self: start; }
.hp-stop:nth-child(even) .hp-stop__art { grid-column: 1; justify-self: end; }
.hp-art--compact { max-width: 410px; }
.hp-stop h3 { font-size: clamp(1.625rem, 2.5vw, 2.125rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.14; }
.hp-plan { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 0.8125rem; font-weight: 700; color: var(--hp-teal-deep); background: var(--hp-teal-50); border: 1px solid var(--hp-teal-edge); border-radius: 999px; padding: 4px 12px; font-variant-numeric: tabular-nums; }
.hp-plan .hp-ico { width: 15px; height: 15px; }
.hp-stop__text p { margin-top: 16px; font-size: 1.0625rem; line-height: 1.7; color: var(--hp-ink-2); }
.hp-stop__text p + p { margin-top: 12px; }
.hp-stop__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--hp-teal-dark); font-weight: 700; text-decoration: underline; }
.hp-stop__more:hover { color: var(--hp-teal-deep); }
.hp-stop__more .hp-ico { transition: transform 0.25s var(--hp-ease); }
.hp-stop__more:hover .hp-ico { transform: translateX(3px); }

.hp-pathend { display: flex; flex-direction: column; align-items: center; }
.hp-node--end { width: 48px; min-width: 0; height: 48px; padding: 0; border-radius: 50%; }
.hp-node--end .hp-ico { width: 20px; height: 20px; stroke-width: 2; }
.hp-try--compact { margin-top: 16px; width: 100%; max-width: 560px; }
.hp-try--compact .hp-try__label { text-align: center; font-size: 1rem; margin-bottom: 10px; }
.hp-try--compact .hp-try__input { height: 50px; }
.hp-try--compact .hp-try__btn { min-height: 50px; }

/* ---------- Branchen: an index, not a grid ---------- */
.hp-branchen { padding: var(--hp-gap-section) 0; border-top: 1px solid var(--hp-line); }
.hp-sec-head { max-width: 720px; }
.hp-sec-head h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -0.028em; line-height: 1.12; }
.hp-sec-head p { margin-top: 16px; font-size: 1.0625rem; color: var(--hp-ink-3); max-width: 60ch; }
.hp-index { list-style: none; margin: 40px 0 0; padding: 0; border-top: 2px solid var(--hp-ink); }
.hp-index li { border-bottom: 1px solid var(--hp-line-strong); }
.hp-index a { display: grid; grid-template-columns: minmax(0, 19rem) minmax(0, 1fr) 24px; gap: 4px 32px; align-items: baseline; padding: 18px 8px 18px 0; color: var(--hp-ink); transition: background 0.2s var(--hp-ease); }
.hp-index__name { font-family: var(--font-heading); font-weight: 700; font-size: 1.0625rem; }
.hp-index__q { font-size: 1rem; color: var(--hp-ink-3); }
.hp-index .hp-ico { align-self: center; color: var(--hp-teal-dark); transition: transform 0.25s var(--hp-ease); }
.hp-index a:hover { background: var(--hp-ground-2); }
.hp-index a:hover .hp-index__name { color: var(--hp-teal-dark); }
.hp-index a:hover .hp-ico { transform: translateX(3px); }

/* ---------- Pricing ---------- */
.hp-pricing { background: var(--hp-ground-2); border-top: 1px solid var(--hp-line); border-bottom: 1px solid var(--hp-line); padding: var(--hp-gap-section) 0; scroll-margin-top: var(--nav-height); }
.hp-pricing__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; }
.hp-pricing .pricing__toggle { justify-content: flex-start; gap: 12px; margin: 0; }
.hp-pricing .pricing__toggle-label { font-family: var(--font-heading); font-size: 0.9375rem; font-weight: 600; color: var(--hp-ink-3); }
.hp-pricing .pricing__toggle-label.active { color: var(--hp-ink); font-weight: 700; }
.hp-pricing .pricing__switch { width: 52px; height: 30px; background: var(--hp-line-strong); flex: none; }
.hp-pricing .pricing__switch.yearly { background: var(--hp-teal-dark); }
.hp-pricing .pricing__switch-knob { top: 4px; left: 4px; box-shadow: 0 1px 2px rgb(15 23 42 / 0.2); }
.hp-pricing .pricing__switch.yearly .pricing__switch-knob { transform: translateX(22px); }
.hp-pricing .pricing__switch:focus-visible { outline: 2px solid var(--hp-teal-dark); outline-offset: 3px; }
.hp-pricing .pricing__badge-save { font-size: 0.8125rem; font-weight: 700; color: var(--hp-teal-deep); background: var(--hp-teal-50); border: 1px solid var(--hp-teal-edge); padding: 3px 10px; font-variant-numeric: tabular-nums; }

.hp-tablewrap { margin-top: 40px; }
.hp-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.hp-table th, .hp-table td { padding: 14px 16px; border-bottom: 1px solid var(--hp-line-strong); vertical-align: middle; text-align: left; }
.hp-table thead th { border-bottom: 2px solid var(--hp-ink); vertical-align: bottom; padding-top: 0; }
.hp-table tbody th { font-weight: 500; color: var(--hp-ink); }
.hp-table td { color: var(--hp-ink-2); font-variant-numeric: tabular-nums; }
.hp-table tbody tr:not(.hp-group):hover th, .hp-table tbody tr:not(.hp-group):hover td { background: rgb(255 255 255 / 0.7); }
.hp-table .hp-group th { padding: 28px 16px 10px; font-family: var(--font-heading); font-size: 0.9375rem; font-weight: 700; color: var(--hp-ink); border-bottom: 1px solid var(--hp-line-strong); }
.hp-yes { color: var(--hp-teal-dark); display: inline-flex; }
.hp-yes .hp-ico { width: 20px; height: 20px; stroke-width: 2.25; }
.hp-no { display: inline-block; width: 14px; height: 2px; background: var(--hp-line-hover); border-radius: 2px; vertical-align: middle; }
.hp-table--plans thead th { vertical-align: top; }
.hp-table--plans thead th:first-child { width: 34%; }
.hp-table--plans td, .hp-table--plans thead th + th { width: 22%; }
.hp-planh { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding-bottom: 6px; }
.hp-planh__name { font-family: var(--font-heading); font-weight: 800; font-size: 1.25rem; color: var(--hp-ink); }
.hp-planh__for { font-size: 0.875rem; font-weight: 400; color: var(--hp-ink-3); min-height: 2.9em; line-height: 1.45; }
.hp-planh__price { display: flex; align-items: baseline; gap: 4px; margin-top: 10px; }
.hp-planh .pricing-card__amount { font-family: var(--font-heading); font-weight: 800; font-size: 2rem; line-height: 1; letter-spacing: -0.02em; color: var(--hp-ink); font-variant-numeric: tabular-nums; }
.hp-planh__per { font-size: 0.875rem; font-weight: 600; color: var(--hp-ink-3); }
.hp-planh .pricing-card__billed { margin: 0; font-size: 0.8125rem; font-weight: 500; color: var(--hp-ink-3); font-variant-numeric: tabular-nums; min-height: 1.5em; }
.hp-planh__cta {
  display: inline-flex; align-items: center; justify-content: center; margin-top: 14px; width: 100%; max-width: 220px; min-height: 46px; padding: 0.75rem 16px; border-radius: 10px; line-height: 1.2;
  font-weight: 700; font-size: 0.9375rem; color: #fff; background: var(--hp-teal-dark); white-space: nowrap;
  transition: background 0.2s var(--hp-ease), transform 0.2s var(--hp-ease), box-shadow 0.2s var(--hp-ease);
}
.hp-planh__cta:hover { background: var(--hp-teal-deep); transform: translateY(-1px); box-shadow: 0 8px 18px -10px rgb(15 23 42 / 0.45); }
.hp-planh__cta--quiet { background: #fff; color: var(--hp-teal-dark); border: 1.5px solid var(--hp-teal-dark); }
.hp-planh__cta--quiet:hover { background: var(--hp-teal-50); color: var(--hp-teal-deep); }
.hp-planh__trial { margin-top: 8px; font-size: 0.8125rem; font-weight: 600; line-height: 1.4; color: var(--hp-teal-deep); }
.hp-pricing__foot { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: baseline; justify-content: space-between; }
.hp-pricing__terms { margin: 0; font-size: 0.9375rem; color: var(--hp-ink-3); max-width: 70ch; }
.hp-links { display: flex; gap: 20px; flex-wrap: wrap; }
.hp-links a { color: var(--hp-teal-dark); font-weight: 700; text-decoration: underline; }
.hp-links a:hover { color: var(--hp-teal-deep); }

/* ---------- Comparison ---------- */
.hp-compare { padding: var(--hp-gap-section) 0 var(--hp-gap-band); }
.hp-table--compare thead th { font-family: var(--font-heading); font-weight: 700; font-size: 0.9375rem; color: var(--hp-ink-3); }
.hp-table--compare thead th.hp-us { color: var(--hp-ink); font-weight: 800; font-size: 1.0625rem; }
.hp-table--compare { table-layout: fixed; }
.hp-table--compare thead th { width: 19%; }
.hp-table--compare thead th.hp-us { width: 23%; }
.hp-table--compare thead th:first-child { width: 20%; }
.hp-table--compare td.hp-us { color: var(--hp-ink); font-weight: 600; }
/* ---------- Sticky plan header (pricing + comparison) ----------
   The header row sticks under the fixed navbar while the rows scroll.
   Cells carry the solid ground and the rule (a border would not travel
   with a sticky cell in a collapsed table, so the rule is an inset shadow). */
.hp-plk { display: none; }
@media (min-width: 641px) {
  .hp-table thead th {
    position: sticky; top: var(--ww-nav-h, var(--nav-height)); z-index: 2;
    background: var(--hp-ground-2); border-bottom: 0; box-shadow: inset 0 -2px 0 var(--hp-ink);
    padding-top: 16px;
  }
  .hp-table--compare thead th { background: var(--hp-ground); }

  /* plans table: the tall header scrolls away; a slim bar (plan + price) takes over under the menu.
     The bar row has zero height, so showing it never moves the rows. */
  .hp-table--plans thead th { position: static; }
  .hp-table--plans tbody tr.hp-plk { display: table-row; }
  .hp-table--plans tbody tr.hp-plk > td {
    position: sticky; top: var(--ww-nav-h, var(--nav-height)); z-index: 3;
    height: 0; padding: 0; border: 0; background: none;
  }
  .hp-plk__bar {
    position: absolute; top: 0; left: 0; right: 0; height: 52px;
    display: flex; align-items: center; gap: 10px; padding: 0 16px;
    background: var(--hp-ground-2); box-shadow: inset 0 -2px 0 var(--hp-ink);
    opacity: 0; visibility: hidden; transition: opacity 0.18s ease, visibility 0s linear 0.18s;
  }
  .hp-table--stuck .hp-plk__bar { opacity: 1; visibility: visible; transition: opacity 0.18s ease; }
  .hp-plk__bar .hp-plk__name { font-family: var(--font-heading); font-weight: 800; font-size: 1rem; color: var(--hp-ink); }
  .hp-plk__bar .pricing-card__amount { font-family: var(--font-heading); font-weight: 700; font-size: 0.9375rem; color: var(--hp-ink-3); font-variant-numeric: tabular-nums; }
  .hp-plk__bar .pricing-card__billed { display: none; }
}
.hp-compare__note { margin-top: 20px; font-size: 0.875rem; color: var(--hp-ink-3); max-width: 68ch; }

/* ---------- Roadmap ---------- */
.hp-road { padding: var(--hp-gap-band) 0 var(--hp-gap-section); border-top: 1px solid var(--hp-line); }
.hp-road__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px clamp(32px, 5vw, 80px); margin-top: 40px; }
.hp-road h3 { display: flex; align-items: center; gap: 10px; font-size: 1.0625rem; padding-bottom: 12px; border-bottom: 2px solid var(--hp-ink); }
.hp-road h3 .hp-ico { color: var(--hp-teal-dark); }
.hp-road__col--plan h3 .hp-ico { color: var(--hp-ink-4); }
.hp-road ul { list-style: none; margin: 0; padding: 0; }
.hp-road li { padding: 16px 0; border-bottom: 1px solid var(--hp-line-strong); }
.hp-road__name { display: block; font-family: var(--font-heading); font-weight: 700; font-size: 1rem; color: var(--hp-ink); }
.hp-road__desc { display: block; margin-top: 4px; font-size: 0.9375rem; line-height: 1.6; color: var(--hp-ink-2); max-width: 56ch; }

/* ---------- FAQ (restyle of the shared accordion) ---------- */
.hp-faq { padding: var(--hp-gap-section) 0; border-top: 1px solid var(--hp-line); }
.hp-faq__grid { display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.hp-faq h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -0.028em; line-height: 1.12; }
.hp-faq__aside { position: sticky; top: calc(var(--nav-height) + 32px); }
.hp-faq__more { margin-top: 16px; font-size: 1rem; color: var(--hp-ink-3); max-width: 34ch; }
.hp-faq__more a { color: var(--hp-teal-dark); font-weight: 600; text-decoration: underline; }
.hp-faq .faq-list { display: block; max-width: none; margin: 0; border-bottom: 1px solid var(--hp-line-strong); }
.hp-faq .faq-item { border: 0; border-top: 1px solid var(--hp-line-strong); border-radius: 0; overflow: visible; padding: 6px 0; }
.hp-faq .faq-item.open { border-color: var(--hp-line-strong); }
.hp-faq .faq-item h3 { margin: 0; font-size: inherit; }
.hp-faq .faq-item__question { padding: 16px 0; gap: 24px; font-size: 1.0625rem; font-weight: 700; line-height: 1.4; color: var(--hp-ink); border-radius: 0; }
.hp-faq .faq-item__question:hover { color: var(--hp-teal-dark); }
.hp-faq .faq-item.open .faq-item__question { color: var(--hp-ink); }
.hp-faq .faq-item__icon { position: relative; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--hp-line-strong); transition: transform 0.35s var(--hp-ease), border-color 0.2s, background 0.2s; }
.hp-faq .faq-item__icon::before, .hp-faq .faq-item__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.75px; margin: -0.875px 0 0 -5.5px; background: var(--hp-ink); border-radius: 2px; }
.hp-faq .faq-item__icon::after { transform: rotate(90deg); }
.hp-faq .faq-item__question:hover .faq-item__icon { border-color: var(--hp-teal-dark); }
.hp-faq .faq-item.open .faq-item__icon { transform: rotate(45deg); background: var(--hp-teal-dark); border-color: var(--hp-teal-dark); }
.hp-faq .faq-item.open .faq-item__icon::before, .hp-faq .faq-item.open .faq-item__icon::after { background: #fff; }
.hp-faq .faq-item__answer { display: grid; grid-template-rows: 0fr; max-height: none; visibility: hidden; transition: grid-template-rows 0.4s var(--hp-ease), visibility 0s linear 0.4s; }
.hp-faq .faq-item.open .faq-item__answer { grid-template-rows: 1fr; max-height: none; visibility: visible; transition: grid-template-rows 0.5s var(--hp-ease), visibility 0s; }
.hp-faq .faq-item__answer-inner { min-height: 0; overflow: hidden; padding: 0; }
.hp-faq .faq-item__answer-inner p { margin: 0; padding: 0 52px 18px 0; font-size: 1rem; line-height: 1.7; color: var(--hp-ink-2); max-width: 68ch; }

/* ---------- Close ---------- */
.hp-close { background: var(--hp-teal-dark); color: #fff; padding: clamp(80px, 10vw, 128px) 0; }
.hp-close__inner { max-width: 760px; margin: 0 auto; text-align: center; }
.hp-close h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.03em; line-height: 1.08; }
.hp-close__lede { margin-top: 16px; font-size: 1.125rem; color: var(--hp-teal-light); }
.hp-close .hp-try { margin-left: auto; margin-right: auto; text-align: left; }
.hp-close .hp-try__meta { justify-content: center; text-align: center; color: var(--hp-teal-light); }
.hp-close .hp-try__label { color: #fff; }
.hp-close .hp-try__input { border-color: transparent; }
.hp-close .hp-try__input:focus { border-color: #fff; box-shadow: 0 0 0 4px rgb(255 255 255 / 0.25); }
.hp-close .hp-try__btn { background: #fff; color: var(--hp-teal-deep); }
.hp-close .hp-try__btn:hover { background: var(--hp-teal-light); box-shadow: 0 8px 18px -8px rgb(0 0 0 / 0.4); }
.hp-close .hp-try__facts span + span::before { color: var(--hp-teal-glow); }
.hp-close .hp-try__alt { color: #fff; }
.hp-close .hp-try__alt:hover { color: var(--hp-teal-light); }
.hp-close :focus-visible { outline-color: #fff; }
.hp-close ::selection { background: #fff; color: var(--hp-teal-deep); }

@media (min-width: 961px) {
  .hp-summary__head { position: sticky; top: calc(var(--nav-height) + 32px); }
}

/* ---------- Tablet & mobile ---------- */
@media (max-width: 960px) {
  .hp-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hp-hero__chat { justify-self: start; }
  .hp-summary__grid, .hp-faq__grid { grid-template-columns: minmax(0, 1fr); }
  .hp-summary__intro, .hp-faq__more { max-width: 60ch; }
  .hp-faq__aside { position: static; }

  .hp-day__head { text-align: left; margin: 0; }
  .hp-path__line { left: 22.5px; }
  .hp-pin { margin-left: 14px; }
  .hp-stop { grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; }
  .hp-node { grid-column: 1; min-width: 0; width: 48px; height: 28px; padding: 0; font-size: 0.75rem; letter-spacing: 0; border-width: 2px; }
  .hp-stop__text, .hp-stop:nth-child(even) .hp-stop__text { grid-column: 2; grid-row: 1; justify-self: stretch; max-width: 600px; padding-top: 0; }
  .hp-stop__art, .hp-stop:nth-child(even) .hp-stop__art { grid-column: 2; grid-row: 2; justify-self: stretch; max-width: 520px; margin-top: 28px; }
  .hp-pathend { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; align-items: start; }
  .hp-node--end { justify-self: center; width: 34px; height: 34px; }
  .hp-node--end .hp-ico { width: 16px; height: 16px; }
  .hp-try--compact { margin-top: 0; max-width: 520px; }
  .hp-try--compact .hp-try__label { text-align: left; padding-top: 6px; }

  .hp-index a { grid-template-columns: minmax(0, 1fr) 24px; }
  .hp-index__name { grid-column: 1; }
  .hp-index__q { grid-column: 1; }
  .hp-index .hp-ico { grid-column: 2; grid-row: 1 / span 2; }

  .hp-road__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .hp-day .container { padding: 0 16px; }
  .hp-try__row { flex-direction: column; }
  .hp-try__btn { justify-content: center; }
  .hp-try__facts { flex-direction: column; }
  .hp-try__facts span + span::before { content: none; }
  .hp-facts__row { grid-template-columns: minmax(0, 1fr); padding: 18px 0; }
  .hp-stop__text p { font-size: 1rem; }
  .hp-plan { border-radius: 12px; }
  .hp-page__dl div { grid-template-columns: minmax(0, 1fr); }
  .hp-layer { width: 92%; }
  .hp-layer--left { width: 94%; }
  .hp-admin { grid-template-columns: 36px minmax(0, 1fr); }
  .hp-admin__rail span { width: 28px; height: 28px; }
  .hp-admin__bar { flex-wrap: wrap; row-gap: 6px; padding: 10px 12px; }
  .hp-admin__bar .hp-tag { margin-left: 0; }
  .hp-admin__row { flex-wrap: wrap; padding: 12px; }
  .hp-admin__meta { flex: 1 1 calc(100% - 20px); }
  .hp-admin__take { margin-left: 18px; }
  .hp-admin__thread, .hp-admin__quick, .hp-panel, .hp-leadrow { padding-left: 12px; padding-right: 12px; }
  .hp-kpi { padding: 10px 8px; }
  .hp-kpi__value { font-size: 1rem; white-space: nowrap; }

  /* tables reflow into labelled cells */
  .hp-table, .hp-table thead, .hp-table tbody { display: block; }
  .hp-table tbody tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--hp-line-strong); }
  .hp-table tbody th { grid-column: 1 / -1; padding: 0 0 8px; border: 0; font-size: 0.9375rem; font-weight: 600; }
  .hp-table td { display: flex; flex-direction: column; gap: 2px; padding: 0; border: 0; font-size: 0.9375rem; }
  .hp-table td::before { content: attr(data-label); font-size: 0.8125rem; font-weight: 600; color: var(--hp-ink-3); }
  .hp-table tbody tr:hover th, .hp-table tbody tr:hover td { background: none; }
  .hp-table tbody tr.hp-group { display: block; padding: 24px 0 8px; border-bottom: 2px solid var(--hp-ink); }
  .hp-table tbody tr.hp-group th { padding: 0; font-size: 1rem; }
  .hp-table tbody tr.hp-group:first-child, .hp-table tbody tr.hp-plk + tr.hp-group { padding-top: 8px; }

  /* compact sticky plan legend: names + prices aligned with the three value columns */
  .hp-table tbody tr.hp-plk {
    display: grid; position: sticky; top: var(--ww-nav-h, var(--nav-height)); z-index: 2;
    padding: 10px 0; background: var(--hp-ground-2); border-bottom: 2px solid var(--hp-ink);
  }
  .hp-table tbody tr.hp-plk td { display: flex; flex-direction: column; gap: 0; line-height: 1.3; }
  .hp-table tbody tr.hp-plk td::before { content: none; }
  .hp-plk__lead { display: none !important; }
  .hp-plk__bar { display: contents; }
  .hp-plk__name { font-family: var(--font-heading); font-weight: 800; font-size: 0.9375rem; color: var(--hp-ink); }
  .hp-plk .pricing-card__amount { font-family: var(--font-heading); font-weight: 700; font-size: 0.875rem; color: var(--hp-ink-3); font-variant-numeric: tabular-nums; }
  .hp-plk .pricing-card__billed { display: none; }
  /* the legend names the columns, so the per-cell plan labels stay for screen readers only */
  .hp-table--plans tbody td { position: relative; min-height: 20px; justify-content: center; }
  .hp-table--plans tbody td::before { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

  /* plan headers become a stacked list above the rows */
  .hp-table--plans thead tr { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .hp-table--plans thead th { display: block; width: auto; padding: 18px 0; border-bottom: 1px solid var(--hp-line-strong); }
  .hp-table--plans thead th:first-child { display: none; }
  .hp-table--plans thead th:last-child { border-bottom: 2px solid var(--hp-ink); }
  .hp-table--plans td, .hp-table--plans thead th + th { width: auto; }
  .hp-planh__for { min-height: 0; }
  .hp-planh__cta { max-width: none; }
  .hp-tablewrap { margin-top: 28px; }

  .hp-table--compare thead { display: none; } /* every cell carries its own segment label */
  .hp-table--compare tbody tr { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 12px; }
  .hp-table--compare tbody tr:first-child { border-top: 2px solid var(--hp-ink); }

  .hp-faq .faq-item__answer-inner p { padding-right: 0; }
  .hp-faq .faq-item__question { font-size: 1rem; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .hp-node, .hp-try__btn, .hp-try__btn .hp-ico, .hp-planh__cta, .hp-index a, .hp-index .hp-ico, .hp-stop__more .hp-ico,
  .hp-faq .faq-item__icon, .hp-faq .faq-item__answer { transition: none !important; }
}
