/* ──────────────────────────────────────────────────────────────────────────
   Public homepage (BGSOF Design System · Homepage v2).
   Plain CSS, scoped with the `hp-` prefix, so the page doesn't depend on a
   Tailwind rebuild. Colours come from the accent tokens in input.css
   (var(--accent-*)); slate/emerald values are mirrored locally below.
────────────────────────────────────────────────────────────────────────── */
.hp {
  overflow-x: clip;
  --hp-s50: #F8FAFC; --hp-s100: #F1F5F9; --hp-s200: #E2E8F0; --hp-s300: #CBD5E1; --hp-s400: #94A3B8;
  --hp-s500: #64748B; --hp-s600: #475569; --hp-s700: #334155; --hp-s800: #1E293B; --hp-s900: #0F172A;
  --hp-em50: #ECFDF5; --hp-em500: #10B981; --hp-em600: #059669; --hp-em700: #047857;
  --hp-shadow-card: 0 1px 2px rgba(15,23,42,0.04), 0 4px 16px rgba(15,23,42,0.06);
  --hp-shadow-card-hover: 0 4px 8px rgba(15,23,42,0.06), 0 16px 40px rgba(15,23,42,0.10);
  --hp-shot-shadow: 0 20px 25px -5px rgba(15,23,42,.1), 0 8px 10px -6px rgba(15,23,42,.1);
  --hp-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-family: "Plus Jakarta Sans", ui-sans-serif, -apple-system, system-ui, sans-serif;
  letter-spacing: -0.011em;
  color: var(--hp-s900);
  background: #fff;
}
.hp *, .hp *::before, .hp *::after { box-sizing: border-box; }
.hp a { color: var(--accent-600); text-decoration: none; }
.hp a:hover { color: var(--accent-700); }
html:has(.hp) { scroll-behavior: smooth; scroll-padding-top: 72px; }
[x-cloak] { display: none !important; }

/* ── Keyframes ─────────────────────────────────────────────────────────── */
@keyframes hpFill  { from { width: 0 } to { width: 100% } }
@keyframes hpUp    { from { opacity: 0; transform: translateY(18px) } to { opacity: 1; transform: none } }
@keyframes hpFade  { from { opacity: 0 } }
@keyframes hpBlink { 50% { opacity: 0 } }
@keyframes hpGlow  { 0%,100% { opacity: .7; transform: scale(1) } 50% { opacity: 1; transform: scale(1.08) } }
@media (prefers-reduced-motion: reduce) { .hp *, .hp-nav * { animation: none !important; } }

/* ── Layout primitives ─────────────────────────────────────────────────── */
.hp-wrap { max-width: 80rem; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.hp-wrap--52 { max-width: 52rem; }
.hp-wrap--64 { max-width: 64rem; }
.hp-wrap--72 { max-width: 72rem; }
.hp-wrap--76 { max-width: 76rem; }
.hp-wrap--90 { max-width: 90rem; }
.hp-sec { padding: clamp(56px, 8vw, 96px) 0; background: #fff; }
.hp-sec--border { border-top: 1px solid var(--hp-s200); }
.hp-sec--muted { background: var(--hp-s50); }
.hp-sec--accent { background: var(--accent-600); }

.hp-head { margin-bottom: 48px; text-align: center; }
.hp-head--mb40 { margin-bottom: 40px; }
.hp-head--mb64 { margin-bottom: 64px; }
.hp-eyebrow { margin: 0 0 12px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-600); }
.hp-h2 { margin: 0 0 16px; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; color: var(--hp-s900); text-wrap: balance; }
.hp-lead { margin: 0; font-size: 18px; line-height: 1.6; color: var(--hp-s500); text-wrap: pretty; max-width: 560px; }
.hp-head .hp-lead { max-width: 640px; margin-inline: auto; }
.hp-h3 { margin: 0 0 12px; font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }

/* ── Icons ─────────────────────────────────────────────────────────────── */
.hp-icon { display: block; flex-shrink: 0; }

/* ── Buttons (mirror components/core/Button) ───────────────────────────── */
.hp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 16px; font: inherit; font-size: 14px; font-weight: 600; line-height: 1.25;
  border-radius: 12px; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, color .15s, box-shadow .15s;
  background: var(--accent-600); color: #fff;
}
.hp .hp-btn, .hp-nav .hp-btn { color: #fff; }
.hp .hp-btn:hover, .hp-nav .hp-btn:hover { background: var(--accent-700); color: #fff; }
.hp-btn--sm { padding: 6px 12px; gap: 8px; }
.hp-btn--lg { padding: 16px 32px; font-size: 16px; gap: 8px; }
.hp-btn--block { display: flex; width: 100%; }
.hp .hp-btn--secondary, .hp-nav .hp-btn--secondary { background: #fff; color: var(--hp-s900); border-color: var(--hp-s200); }
.hp .hp-btn--secondary:hover, .hp-nav .hp-btn--secondary:hover { background: var(--hp-s50); color: var(--hp-s900); }
.hp .hp-btn--outline, .hp-nav .hp-btn--outline { background: #fff; color: var(--accent-700); border-color: var(--accent-200); }
.hp .hp-btn--outline:hover, .hp-nav .hp-btn--outline:hover { background: var(--accent-50); color: var(--accent-700); }
.hp .hp-btn--ghost, .hp-nav .hp-btn--ghost { background: transparent; color: var(--hp-s600); font-weight: 500; }
.hp .hp-btn--ghost:hover, .hp-nav .hp-btn--ghost:hover { background: var(--hp-s50); color: var(--accent-700); }

/* ── Nav ───────────────────────────────────────────────────────────────── */
.hp-nav {
  --hp-s50: #F8FAFC; --hp-s100: #F1F5F9; --hp-s200: #E2E8F0; --hp-s400: #94A3B8; --hp-s500: #64748B;
  --hp-s600: #475569; --hp-s700: #334155; --hp-s900: #0F172A;
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s, background .25s;
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif; letter-spacing: -0.011em;
}
.hp-nav *, .hp-nav *::before, .hp-nav *::after { box-sizing: border-box; }
.hp-nav.is-scrolled { background: rgba(255,255,255,.94); border-bottom-color: var(--hp-s200); box-shadow: 0 8px 24px -12px rgba(15,23,42,.12); }
.hp-nav__bar { display: flex; align-items: center; gap: 24px; height: 80px; }
.hp-nav__logo { flex-shrink: 0; }
.hp-nav__logo img { height: 36px; width: auto; display: block; }
.hp-nav__links { margin-left: 28px; display: none; align-items: center; gap: 4px; }
.hp-nav__actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
@media (min-width: 1024px) { .hp-nav__links { display: flex; } }
.hp-nav__link { all: unset; box-sizing: border-box; position: relative; display: inline-flex; align-items: center; gap: 4px; height: 42px; padding: 0 14px; border-radius: 10px; font-size: 15.5px; font-weight: 600; color: var(--hp-s700); cursor: pointer; transition: color .15s, background .15s; white-space: nowrap; }
.hp-nav .hp-nav__link:hover, .hp-nav__dd:hover > .hp-nav__link { color: var(--hp-s900); background: var(--hp-s100); }
.hp-nav .hp-nav__link:focus-visible { outline: 2px solid var(--accent-500); outline-offset: 2px; }
.hp-nav .hp-nav__link.is-active { color: var(--accent-700); }
.hp-nav .hp-nav__link.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--accent-600); }
.hp-nav__caret { display: inline-flex; color: var(--hp-s400); transition: transform .2s; }
.hp-nav__caret.is-open { transform: rotate(180deg); color: var(--accent-600); }
.hp-nav__sep { width: 1px; height: 24px; background: var(--hp-s200); margin: 0 4px; }
.hp-nav .hp-nav__cta { height: 44px; padding: 0 20px; font-size: 15px; border-radius: 12px; }
.hp-nav .hp-nav__cta:not(.hp-btn--outline) { box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--accent-600) 60%, transparent); }

/* Solutions dropdown */
.hp-nav__dd { position: relative; }
.hp-nav__dd::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 18px; } /* hover bridge */
.hp-nav__panel { position: absolute; top: calc(100% + 14px); left: -12px; width: 400px; padding: 8px; background: #fff; border: 1px solid var(--hp-s200); border-radius: 18px; box-shadow: 0 24px 48px -16px rgba(15,23,42,.22), 0 2px 6px rgba(15,23,42,.04); z-index: 60; }
.hp-nav__panel-enter { transition: opacity .16s ease, transform .16s ease; }
.hp-nav__panel-leave { transition: opacity .12s ease, transform .12s ease; }
.hp-nav__panel-from { opacity: 0; transform: translateY(-6px); }
.hp-nav__item { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 12px; text-decoration: none; transition: background .15s; }
.hp-nav__item:hover, .hp-nav__item.is-active { background: var(--hp-s50); }
.hp-nav__item b { display: block; font-size: 15px; color: var(--hp-s900); margin-bottom: 2px; }
.hp-nav__item small { display: block; font-size: 13px; line-height: 1.45; color: var(--hp-s500); }
.hp-nav__item:hover b { color: var(--accent-700); }
.hp-nav__itemi { width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: var(--accent-50); color: var(--accent-600); border: 1px solid var(--accent-100); }
.hp-nav__item:hover .hp-nav__itemi { background: var(--accent-600); color: #fff; border-color: var(--accent-600); }
.hp-nav__panelfoot { display: flex; justify-content: space-between; align-items: center; margin: 6px -8px -8px; padding: 12px 20px; border-top: 1px solid var(--hp-s100); background: var(--hp-s50); border-radius: 0 0 18px 18px; font-size: 13px; color: var(--hp-s500); }
.hp-nav__panelfoot a { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--accent-700); text-decoration: none; }
.hp-nav__panelfoot a:hover { color: var(--accent-600); }
@media (max-width: 560px) { .hp-nav__startfree { display: none !important; } }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hp-hero { position: relative; overflow: hidden; padding: clamp(32px, calc(9vw - 56px), 104px) 0 clamp(56px, 7vw, 96px); }
.hp-hero .grid-bg { position: absolute; inset: 0; opacity: .4; pointer-events: none; animation: hpFade 1.2s ease both; }
.hp-hero__glow {
  position: absolute; width: 640px; height: 640px; left: 50%; top: 120px; margin-left: -320px; border-radius: 9999px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent-500) 14%, transparent), transparent);
  pointer-events: none; animation: hpGlow 8s ease-in-out infinite;
}
.hp-hero__copy { position: relative; text-align: center; }
.hp-hero h1 { font-size: clamp(2.5rem, 5.4vw, 5rem); font-weight: 900; line-height: 1.06; letter-spacing: -0.03em; margin: 0 0 20px; }
.hp-hero__line1 { display: block; text-wrap: balance; }
.hp-hero__line2 { display: block; min-height: 1.06em; color: var(--accent-600); font-size: .62em; letter-spacing: -0.02em; margin-top: .2em; }
.hp-caret { display: inline-block; width: .07em; height: .9em; margin-left: .06em; vertical-align: -.08em; background: var(--accent-600); animation: hpBlink 1s steps(1) infinite; }
.hp-hero .hp-lead { font-size: 20px; margin: 0 auto 32px; max-width: 640px; text-align: center; }
.hp-hero__ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hp-hero__note { margin: 14px 0 0; font-size: 13px; color: var(--hp-s500); }
.hp-up { animation: hpUp .8s cubic-bezier(.2,.7,.2,1) both; }

/* Laptop that opens on load */
.hp-laptop { max-width: 1040px; margin: 0 auto; perspective: 2400px; perspective-origin: 50% 100%; animation: hpFade .6s ease .5s both; }
.hp-laptop__lid { width: 88%; margin: 0 auto; transform-origin: 50% 100%; transform: rotateX(-88deg); transition: transform 1.6s cubic-bezier(.25,.9,.3,1); transform-style: preserve-3d; }
.hp-laptop.is-open .hp-laptop__lid { transform: rotateX(0deg); }
.hp-laptop__bezel { background: var(--hp-s900); border-radius: 18px 18px 0 0; padding: clamp(8px, 1.1vw, 14px) clamp(8px, 1.1vw, 14px) clamp(10px, 1.4vw, 18px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); position: relative; }
.hp-laptop__cam { position: absolute; top: clamp(3px, .45vw, 6px); left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 9999px; background: var(--hp-s700); }
.hp-laptop__screen { border-radius: 6px; overflow: hidden; background: #fff; position: relative; opacity: 0; transition: opacity .6s ease 1s; }
.hp-laptop.is-open .hp-laptop__screen { opacity: 1; }
.hp-laptop__chrome { display: flex; align-items: center; gap: 12px; padding: 8px 12px; background: var(--hp-s100); border-bottom: 1px solid var(--hp-s200); }
.hp-laptop__url { flex: 1; max-width: 420px; margin: 0 auto; background: #fff; border: 1px solid var(--hp-s200); border-radius: 6px; padding: 3px 10px; font-size: 11px; color: var(--hp-s500); text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-laptop__screen img { width: 100%; height: auto; display: block; }
.hp-laptop__glare { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.1) 0%, rgba(255,255,255,0) 40%); pointer-events: none; }
.hp-laptop__base { position: relative; height: clamp(12px, 1.6vw, 20px); background: linear-gradient(to bottom, var(--hp-s300), var(--hp-s400) 60%, var(--hp-s500)); border-radius: 2px 2px 18px 18px; box-shadow: 0 30px 40px -18px rgba(15,23,42,.45); }
.hp-laptop__notch { position: absolute; top: 0; left: 50%; width: 14%; height: 45%; transform: translateX(-50%); background: var(--hp-s400); border-radius: 0 0 8px 8px; }
.hp-dots { display: flex; gap: 6px; }
.hp-dots span { width: 11px; height: 11px; border-radius: 9999px; }
.hp-dots span:nth-child(1) { background: #FF5F57; }
.hp-dots span:nth-child(2) { background: #FEBC2E; }
.hp-dots span:nth-child(3) { background: #28C840; }
.hp-dots--sm span { width: 10px; height: 10px; }
.hp-dots--lg span { width: 12px; height: 12px; }

/* ── Stats ─────────────────────────────────────────────────────────────── */
.hp-stats { background: var(--accent-600); padding: 8px 0; }
.hp-stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: rgba(255,255,255,.18); border-radius: 16px; overflow: hidden; }
.hp-stats__cell { background: var(--accent-600); padding: 28px 24px; }
.hp-stats__n { font-size: clamp(32px, 3.4vw, 44px); font-weight: 900; letter-spacing: -0.03em; color: #fff; line-height: 1; }
.hp-stats__l { margin-top: 8px; font-size: 14px; color: var(--accent-100); }

/* ── Before / after ────────────────────────────────────────────────────── */
.hp-ba { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.hp-ba__col { background: var(--hp-s50); border: 1px solid var(--hp-s200); border-radius: 16px; padding: 28px; }
.hp-ba__col--good { background: #fff; border: 2px solid var(--accent-500); box-shadow: var(--hp-shadow-card-hover); }
.hp-ba__title { margin: 0 0 20px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--hp-s500); }
.hp-ba__col--good .hp-ba__title { color: var(--accent-700); }
.hp-ba ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.hp-ba li { display: flex; gap: 12px; font-size: 16px; line-height: 1.5; color: var(--hp-s500); }
.hp-ba__col--good li { color: var(--hp-s900); }
.hp-ba__mark { width: 22px; height: 22px; border-radius: 9999px; flex-shrink: 0; margin-top: 1px; display: grid; place-items: center; background: var(--hp-s200); color: var(--hp-s500); }
.hp-ba__col--good .hp-ba__mark { background: var(--accent-600); color: #fff; }

/* ── How it works ──────────────────────────────────────────────────────── */
.hp-how { overflow-x: clip; }
.hp-how__rows { position: relative; display: flex; flex-direction: column; gap: clamp(64px, 9vw, 120px); }
.hp-how__svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.hp-step { --gap: clamp(32px, 6vw, 96px); display: flex; flex-wrap: wrap; gap: var(--gap); align-items: center; position: relative; }
.hp-step--flip { flex-direction: row-reverse; }
.hp-step__media { flex: 1.3 1 420px; min-width: 0; opacity: 0; transform: translateX(-40px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.hp-step__text { flex: 1 1 300px; position: relative; opacity: 0; transform: translateX(40px); transition: opacity .7s ease .12s, transform .7s cubic-bezier(.2,.7,.2,1) .12s; }
.hp-step--flip .hp-step__media { transform: translateX(40px); }
.hp-step--flip .hp-step__text { transform: translateX(-40px); }
.hp-step.is-in .hp-step__media, .hp-step.is-in .hp-step__text { opacity: 1; transform: none; }
.hp-step__node { position: absolute; top: calc(50% - 9px); left: calc(var(--gap) / -2 - 9px); width: 18px; height: 18px; border-radius: 9999px; background: #fff; border: 4px solid var(--accent-600); z-index: 1; }
.hp-step--flip .hp-step__node { left: auto; right: calc(var(--gap) / -2 - 9px); }
.hp-step__badge { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 9999px; background: var(--accent-600); color: #fff; font-size: 15px; font-weight: 800; font-family: var(--hp-mono); box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent-500) 15%, transparent); margin-bottom: 20px; position: relative; z-index: 1; }
.hp-step .hp-lead { font-size: 17px; }

.hp-shot { max-height: 400px; overflow: hidden; border-radius: 12px; }
.hp-frame { border-radius: 12px; border: 1px solid var(--hp-s200); background: #fff; overflow: hidden; box-shadow: var(--hp-shot-shadow); }
.hp-frame__bar { padding: 10px 16px; background: var(--hp-s100); border-bottom: 1px solid var(--hp-s200); display: flex; align-items: center; gap: 12px; }
.hp-frame__urlwrap { flex: 1; display: flex; justify-content: center; }
.hp-frame__url { max-width: 384px; width: 100%; background: #fff; border: 1px solid var(--hp-s200); border-radius: 6px; padding: 4px 12px; font-size: 11px; color: var(--hp-s400); }
.hp-frame img { width: 100%; display: block; }

/* Send-and-close variant switcher */
.hp-variants { position: relative; height: clamp(380px, 36vw, 460px); }
.hp-variant { position: absolute; inset: 0; opacity: 0; transform: translateY(10px) scale(.985); transition: opacity .45s ease, transform .45s ease; pointer-events: none; }
.hp-variant.is-on { opacity: 1; transform: none; pointer-events: auto; }
.hp-picker { margin-top: 24px; display: flex; flex-direction: column; gap: 8px; }
.hp-pick { all: unset; box-sizing: border-box; cursor: pointer; position: relative; overflow: hidden; display: flex; gap: 14px; align-items: center; padding: 12px 16px; border-radius: 12px; background: transparent; border: 1px solid var(--hp-s200); transition: all .25s; }
.hp-pick:focus-visible { outline: 2px solid var(--accent-500); outline-offset: 2px; }
.hp-pick.is-on { background: #fff; border-color: var(--accent-500); box-shadow: var(--hp-shadow-card); }
.hp-pick__icon { width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0; display: grid; place-items: center; background: var(--accent-50); color: var(--accent-600); transition: background .25s; }
.hp-pick.is-on .hp-pick__icon { background: var(--accent-600); color: #fff; }
.hp-pick__body { flex: 1; }
.hp-pick__label { display: block; font-size: 15px; font-weight: 700; color: var(--hp-s900); }
.hp-pick__note { font-size: 13px; color: var(--hp-s500); }
.hp-pick__bar { position: absolute; left: 0; bottom: 0; height: 2px; background: var(--accent-600); animation: hpFill 4s linear forwards; }

/* Send mockups */
.hp-send { height: 100%; border-radius: 12px; overflow: hidden; border: 1px solid var(--hp-s200); box-shadow: var(--hp-shot-shadow); display: flex; flex-direction: column; background: #fff; }
.hp-green { color: var(--hp-em700); font-weight: 700; }
.hp-pdf__bar { display: flex; align-items: center; gap: 10px; padding: 8px 14px; background: var(--hp-s800); color: #fff; font-size: 12px; }
.hp-pdf__badge { width: 18px; height: 22px; border-radius: 3px; background: #A61C24; display: grid; place-items: center; font-size: 7px; font-weight: 800; flex-shrink: 0; }
.hp-pdf__name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.hp-pdf__pages { margin-left: auto; color: var(--hp-s400); }
.hp-pdf__body { flex: 1; min-height: 0; background: var(--hp-s200); padding: 16px 6% 0; overflow: hidden; }
.hp-pdf__page { background: #fff; box-shadow: 0 4px 16px rgba(15,23,42,.15); border-top: 5px solid #A61C24; padding: 16px 20px; font-size: 11px; color: var(--hp-s600); height: 100%; }
.hp-pdf__row { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.hp-pdf__logo { background: #F6F0E4; padding: 8px 14px; color: #A61C24; font-weight: 800; font-size: 10px; line-height: 1.15; text-align: center; letter-spacing: .04em; }
.hp-pdf__logo small { font-size: 7px; letter-spacing: .15em; }
.hp-pdf__addr { text-align: right; font-size: 9.5px; line-height: 1.6; }
.hp-pdf__rule { height: 2px; background: #A61C24; margin: 12px 0; }
.hp-pdf__qno { font-size: 13px; font-weight: 800; color: var(--hp-s900); margin-bottom: 4px; }
.hp-pdf__k { font-size: 8px; letter-spacing: .12em; color: var(--hp-s400); font-weight: 700; }
.hp-pdf__v { font-weight: 700; color: var(--hp-s900); }
.hp-pdf__sm { font-size: 9.5px; }
.hp-pdf__grid { display: grid; grid-template-columns: 2.4fr 1fr .8fr .8fr .5fr .9fr; gap: 8px; }
.hp-pdf__th { font-size: 8px; font-weight: 700; letter-spacing: .08em; color: var(--hp-s500); border-bottom: 1px solid var(--hp-s200); padding-bottom: 6px; }
.hp-pdf__tr { align-items: center; padding: 8px 0; border-bottom: 1px solid var(--hp-s100); }
.hp-pdf__prod { display: flex; gap: 8px; align-items: center; }
.hp-pdf__prod img { width: 30px; height: 32px; object-fit: contain; }
.hp-pdf__prod b { color: var(--hp-s900); display: block; }
.hp-pdf__area { font-size: 8px; color: #A61C24; border: 1px solid #A61C2455; background: #FDF2F2; padding: 0 4px; border-radius: 3px; }
.hp-pdf__totals { margin-left: auto; width: 58%; margin-top: 12px; border: 1px solid var(--hp-s200); border-radius: 6px; overflow: hidden; }
.hp-pdf__trow { display: flex; justify-content: space-between; padding: 5px 10px; border-bottom: 1px solid var(--hp-s100); }
.hp-pdf__grand { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; background: #FFFBEB; }
.hp-pdf__grand b { color: var(--hp-s900); font-size: 12px; }
.hp-pdf__grand .hp-green { font-size: 16px; }

.hp-xl__bar { display: flex; align-items: center; gap: 10px; padding: 8px 14px; background: #107C41; color: #fff; font-size: 12px; }
.hp-xl__logo { width: 18px; height: 18px; border-radius: 3px; background: #fff; color: #107C41; display: grid; place-items: center; font-size: 10px; font-weight: 900; }
.hp-xl__saved { margin-left: auto; opacity: .8; }
.hp-xl__ribbon { display: flex; gap: 16px; padding: 6px 14px; font-size: 11px; color: var(--hp-s600); border-bottom: 1px solid var(--hp-s200); background: var(--hp-s50); }
.hp-xl__ribbon .is-on { color: #107C41; font-weight: 700; border-bottom: 2px solid #107C41; }
.hp-xl__fx { display: flex; gap: 8px; align-items: center; padding: 4px 10px; font-size: 11px; border-bottom: 1px solid var(--hp-s200); }
.hp-xl__fx span:first-child { color: var(--hp-s500); width: 28px; }
.hp-xl__fx i { color: var(--hp-s400); }
.hp-xl__fx code { font-family: var(--hp-mono); color: var(--hp-s700); }
.hp-xl__sheet { flex: 1; min-height: 0; overflow: hidden; font-size: 11px; color: var(--hp-s700); }
.hp-xl__row { display: grid; grid-template-columns: 28px .7fr 1.3fr .9fr 1fr 1fr .5fr .9fr; }
.hp-xl__row > span { padding: 0 6px; border-right: 1px solid var(--hp-s200); border-bottom: 1px solid var(--hp-s200); display: flex; align-items: center; white-space: nowrap; overflow: hidden; min-height: 24px; }
.hp-xl__row > .hp-xl__n { justify-content: center; background: var(--hp-s100); color: var(--hp-s500); font-size: 10px; }
.hp-xl__head { background: var(--hp-s100); color: var(--hp-s500); font-size: 10px; }
.hp-xl__head > span { justify-content: center; }
.hp-xl__s7 { grid-column: span 7; }
.hp-xl__s4 { grid-column: span 4; }
.hp-xl__s2 { grid-column: span 2; }
.hp-xl__r { justify-content: flex-end; }
.hp-xl__c { justify-content: center; }
.hp-xl__mono { font-family: var(--hp-mono); font-size: 10px; }
.hp-xl__row img { width: 26px; height: 28px; object-fit: contain; }
.hp-xl__tall { min-height: 36px !important; }
.hp-xl__grand { background: #ECFDF5; outline: 2px solid #107C41; outline-offset: -2px; }

.hp-mail__bar { display: flex; align-items: center; gap: 8px; padding: 8px 14px; background: var(--hp-s100); border-bottom: 1px solid var(--hp-s200); }
.hp-mail__inbox { margin-left: 8px; font-size: 12px; font-weight: 600; color: var(--hp-s600); }
.hp-mail__body { flex: 1; min-height: 0; overflow: hidden; padding: 18px 22px; font-size: 13px; color: var(--hp-s700); line-height: 1.55; }
.hp-mail__subj { font-size: 16px; font-weight: 700; color: var(--hp-s900); margin-bottom: 14px; }
.hp-mail__from { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; }
.hp-mail__avatar { width: 34px; height: 34px; border-radius: 9999px; background: var(--accent-600); color: #fff; display: grid; place-items: center; font-weight: 700; flex-shrink: 0; }
.hp-mail__meta { flex: 1; min-width: 0; font-size: 12px; }
.hp-mail__meta b { color: var(--hp-s900); }
.hp-mail__muted { color: var(--hp-s500); }
.hp-mail__time { font-size: 12px; color: var(--hp-s500); }
.hp-mail__body p { margin: 0 0 10px; }
.hp-mail__att { display: flex; align-items: center; gap: 12px; border: 1px solid var(--hp-s200); border-radius: 10px; padding: 10px 12px; margin-bottom: 12px; max-width: 380px; color: var(--hp-s400); }
.hp-mail__pdf { width: 34px; height: 40px; border-radius: 4px; background: #A61C24; color: #fff; display: grid; place-items: center; font-size: 9px; font-weight: 800; flex-shrink: 0; }
.hp-mail__atttext { flex: 1; min-width: 0; }
.hp-mail__atttitle { font-weight: 600; color: var(--hp-s900); font-size: 13px; }
.hp-mail__link { font-size: 12px; color: var(--accent-600); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-mail__small { font-size: 12px; color: var(--hp-s500); }

/* ── Integrations ──────────────────────────────────────────────────────── */
.hp-flow { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; position: relative; }
@media (min-width: 560px) { .hp-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .hp-flow { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hp-flow__card { position: relative; background: #fff; border-radius: 16px; padding: 20px; border: 1px solid var(--hp-s200); box-shadow: var(--hp-shadow-card); transition: border-color .35s, box-shadow .35s; }
.hp-flow__card.is-on { border-color: var(--accent-500); box-shadow: 0 8px 24px -8px color-mix(in srgb, var(--accent-500) 35%, transparent); }
.hp-flow__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.hp-flow__icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-50); color: var(--accent-600); transition: background .35s, color .35s; }
.hp-flow__card.is-on .hp-flow__icon { background: var(--accent-600); color: #fff; }
.hp-flow__auto { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 3px 8px; border-radius: 9999px; background: var(--hp-s100); color: var(--hp-s500); transition: all .35s; }
.hp-flow__card.is-on .hp-flow__auto { background: var(--hp-em50); color: var(--hp-em700); }
.hp-flow__t { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.hp-flow__d { font-size: 14px; color: var(--hp-s500); line-height: 1.5; }
.hp-flow__link { display: none; position: absolute; right: -14px; top: 38px; width: 12px; height: 2px; background: var(--hp-s300); transition: background .35s; }
.hp-flow__link.is-on { background: var(--accent-600); }
@media (min-width: 900px) { .hp-flow__link { display: block; } }
.hp-int__row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 20px; }
.hp-int__big { flex: 1 1 280px; background: var(--accent-600); border-radius: 16px; padding: 28px; color: #fff; display: flex; flex-direction: column; justify-content: center; }
.hp-int__pct { font-size: clamp(56px, 6vw, 80px); font-weight: 900; letter-spacing: -0.04em; line-height: 1; }
.hp-int__pctl { font-size: 18px; font-weight: 700; margin: 8px 0 6px; }
.hp-int__pctd { font-size: 15px; color: var(--accent-100); line-height: 1.5; }
.hp-int__logos { flex: 2 1 440px; background: var(--hp-s50); border: 1px solid var(--hp-s200); border-radius: 16px; padding: 24px; }
.hp-int__label { margin: 0 0 16px; font-size: 14px; font-weight: 600; color: var(--hp-s700); }
.hp-int__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.hp-pos { height: 100px; background: #fff; border: 1px solid var(--hp-s200); border-radius: 12px; display: grid; place-items: center; padding: 0 10px; }
.hp-pos img { max-height: 56px; max-width: 92%; object-fit: contain; }
.hp .hp-pos--ask { border: 1.5px dashed var(--hp-s300); font-size: 14px; font-weight: 600; text-align: center; background: transparent; }

/* ── Getting started ───────────────────────────────────────────────────── */
.hp-gs { display: flex; flex-wrap: wrap; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hp-gs__copy { flex: 1 1 360px; }
.hp-gs__copy .hp-h2 { text-align: left; }
.hp-gs__copy .hp-lead { margin-bottom: 32px; }
.hp-ease { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 32px; }
.hp-ease__item { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--hp-s200); border-radius: 12px; padding: 14px; }
.hp-ease__check { width: 24px; height: 24px; border-radius: 9999px; background: var(--hp-em50); color: var(--hp-em600); display: grid; place-items: center; flex-shrink: 0; }
.hp-ease__t { font-size: 15px; font-weight: 700; }
.hp-ease__d { font-size: 13px; color: var(--hp-s500); }
.hp-gs__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hp-check { flex: 1 1 380px; background: #fff; border: 1px solid var(--hp-s200); border-radius: 20px; box-shadow: var(--hp-shadow-card-hover); padding: clamp(20px, 3vw, 28px); }
.hp-check__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.hp-check__title { font-size: 16px; font-weight: 800; }
.hp-check__total { font-size: 13px; font-weight: 600; color: var(--accent-700); }
.hp-check__track { height: 6px; background: var(--hp-s100); border-radius: 9999px; overflow: hidden; margin-bottom: 8px; }
.hp-check__fill { height: 100%; width: 0; background: var(--accent-600); border-radius: 9999px; transition: width 2.4s cubic-bezier(.4,0,.2,1) .2s; }
.hp-check.is-in .hp-check__fill { width: 100%; }
.hp-check ol { list-style: none; margin: 0; padding: 0; }
.hp-check li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--hp-s100); }
.hp-check li:last-child { border-bottom: none; }
.hp-check__dot { width: 28px; height: 28px; border-radius: 9999px; flex-shrink: 0; display: grid; place-items: center; background: var(--hp-s100); border: 2px solid var(--hp-s200); color: #fff; transition: all .3s ease; }
.hp-check__dot svg { opacity: 0; transition: opacity .3s ease; transition-delay: inherit; }
.hp-check.is-in .hp-check__dot { background: var(--accent-600); border-color: var(--accent-600); }
.hp-check.is-in .hp-check__dot svg { opacity: 1; }
.hp-check__body { flex: 1; }
.hp-check__t { font-size: 16px; font-weight: 700; }
.hp-check__d { font-size: 14px; color: var(--hp-s500); line-height: 1.5; }
.hp-check__time { font-size: 12px; font-weight: 600; color: var(--hp-s500); background: var(--hp-s50); border: 1px solid var(--hp-s200); border-radius: 9999px; padding: 2px 8px; white-space: nowrap; }

/* ── Pricing ───────────────────────────────────────────────────────────── */
.hp-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.hp-plan { background: var(--hp-s50); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 16px; border: 1px solid var(--hp-s200); box-shadow: var(--hp-shadow-card); }
.hp-plan--featured { border: 2px solid var(--accent-500); box-shadow: 0 8px 32px -4px color-mix(in srgb, var(--accent-500) 20%, transparent); }
.hp-plan__top { display: flex; justify-content: space-between; align-items: center; }
.hp-plan__name { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--hp-s500); }
.hp-plan--featured .hp-plan__name { color: var(--accent-600); }
.hp-plan__pop { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 9999px; background: var(--accent-600); color: #fff; }
.hp-plan__price { font-size: 40px; font-weight: 900; letter-spacing: -0.03em; }
.hp-plan__per { font-size: 14px; color: var(--hp-s500); }
.hp-plan__blurb { margin: 0; font-size: 14px; color: var(--hp-s500); }
.hp-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.hp-checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--hp-s700); line-height: 1.5; }
.hp-checks svg { margin-top: 2px; color: var(--hp-em500); }
.hp-plans__foot { text-align: center; font-size: 14px; color: var(--hp-s500); margin: 24px 0 0; }
.hp-plans__foot a { font-weight: 600; }

/* ── Audiences ─────────────────────────────────────────────────────────── */
.hp-aud { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.hp-aud__card { background: #fff; border: 1px solid var(--hp-s200); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.hp-aud__who { display: flex; gap: 10px; align-items: center; color: var(--accent-600); }
.hp-aud__who span { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-700); }
.hp-aud__t { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.hp-aud__d { margin: 0; font-size: 15px; color: var(--hp-s500); line-height: 1.55; flex: 1; }

/* ── FAQ ───────────────────────────────────────────────────────────────── */
.hp-faq { background: #fff; border: 1px solid var(--hp-s200); border-radius: 16px; }
.hp-faq__item + .hp-faq__item { border-top: 1px solid var(--hp-s200); }
.hp-faq__q { all: unset; box-sizing: border-box; width: 100%; cursor: pointer; display: flex; gap: 16px; align-items: center; padding: 20px 24px; font-size: 16px; font-weight: 600; color: var(--hp-s900); }
.hp-faq__q:focus-visible { outline: 2px solid var(--accent-500); outline-offset: -2px; border-radius: 16px; }
.hp-faq__q span { flex: 1; }
.hp-faq__q svg { color: var(--hp-s400); transition: transform .2s; }
.hp-faq__q[aria-expanded="true"] svg { transform: rotate(180deg); }
.hp-faq__a { margin: 0; padding: 0 24px 22px; font-size: 15px; line-height: 1.65; color: var(--hp-s600); max-width: 720px; }

/* ── Ready to quote / demo form ────────────────────────────────────────── */
.hp-ready { display: flex; flex-wrap: wrap; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hp-ready__copy { flex: 1 1 340px; }
.hp-ready__copy h2 { margin: 0 0 16px; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.hp-ready__copy p { margin: 0 0 24px; font-size: 18px; line-height: 1.6; color: var(--accent-100); }
.hp .hp-ready__alt { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.hp .hp-ready__alt:hover { color: #fff; }
.hp-ready__card { flex: 1 1 380px; background: #fff; border-radius: 20px; padding: clamp(20px, 3vw, 32px); box-shadow: 0 24px 48px -12px rgba(15,23,42,.35); }
.hp-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.hp-form__full { grid-column: 1 / -1; }
.hp-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hp-field > span { font-size: 14px; font-weight: 500; color: var(--hp-s700); }
.hp-input {
  width: 100%; height: 40px; border-radius: 12px; border: 1px solid var(--hp-s200); background: var(--hp-s50);
  padding: 10px 14px; font: inherit; font-size: 14px; color: var(--hp-s900); outline: none;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.hp-input::placeholder { color: var(--hp-s400); }
.hp-input:focus { border-color: var(--accent-500); background: #fff; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-500) 18%, transparent); }
.hp-input.is-error { border-color: #EF4444; }
select.hp-input {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding: 0 32px 0 14px; color: var(--hp-s700);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%2394a3b8' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; background-size: .7rem .7rem;
}
.hp-field__err { font-size: 12px; color: #DC2626; }
.hp-form__submit { display: flex; flex-direction: column; gap: 10px; }
.hp-form__note { margin: 0; font-size: 12px; color: var(--hp-s500); text-align: center; }
.hp-form__error { font-size: 13px; color: #DC2626; background: #FEF2F2; border: 1px solid #FEE2E2; border-radius: 10px; padding: 8px 12px; }
.hp-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.hp-form .htmx-indicator { display: none; }
.hp-form.htmx-request .htmx-indicator { display: inline-flex; }
.hp-form.htmx-request button[type="submit"] { opacity: .7; pointer-events: none; }
@keyframes hpSpin { to { transform: rotate(360deg) } }
.hp-spin { animation: hpSpin 1s linear infinite; }
.hp-thanks { text-align: center; padding: 40px 16px; }
.hp-thanks__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 9999px; background: var(--hp-em50); color: var(--hp-em600); margin-bottom: 16px; }
.hp-thanks h3 { margin: 0 0 8px; font-size: 20px; font-weight: 800; }
.hp-thanks p { margin: 0; font-size: 15px; color: var(--hp-s500); }

/* ── Sticky CTA ────────────────────────────────────────────────────────── */
.hp-sticky {
  position: fixed; left: 50%; bottom: 20px; z-index: 60; transform: translate(-50%, 140%); transition: transform .3s ease;
  width: min(720px, calc(100% - 32px)); background: #fff; border: 1px solid var(--hp-s200); border-radius: 16px;
  box-shadow: var(--hp-shadow-card-hover); padding: 12px 12px 12px 20px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.hp-sticky.is-shown { transform: translate(-50%, 0); }
.hp-sticky__text { flex: 1 1 220px; font-size: 14px; }
.hp-sticky__text b { color: var(--hp-s900); }
.hp-sticky__text span { color: var(--hp-s500); }

/* ══════════════════════════════════════════════════════════════════════════
   Shared marketing components (Showrooms, Manufacturers, Reps, Pricing, About, legal)
══════════════════════════════════════════════════════════════════════════ */

/* Nav: active link, burger, mobile menu */
.hp-nav__burger { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--hp-s200); border-radius: 12px; background: #fff; color: var(--hp-s700); cursor: pointer; }
.hp-nav__mobile { border-top: 1px solid var(--hp-s200); background: #fff; padding: 8px clamp(20px, 4vw, 40px) 24px; display: flex; flex-direction: column; max-height: calc(100dvh - 80px); overflow-y: auto; }
.hp-nav__mobile > a { display: flex; align-items: center; gap: 12px; padding: 13px 4px; font-size: 16px; font-weight: 600; color: var(--hp-s900); border-bottom: 1px solid var(--hp-s100); text-decoration: none; }
.hp-nav__mobile .hp-nav__itemi { width: 34px; height: 34px; border-radius: 9px; }
.hp-nav__mlabel { margin: 18px 4px 4px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--hp-s400); }
.hp-nav__mobile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.hp-nav__mobile-actions .hp-btn { height: 46px; font-size: 15px; }
@media (min-width: 1024px) { .hp-nav__burger, .hp-nav__mobile { display: none !important; } }
@media (max-width: 720px) { .hp-nav__desk { display: none !important; } }

/* Split page hero */
@keyframes hpRise { from { opacity: 0; transform: translateY(40px) scale(.98) } to { opacity: 1; transform: none } }
@keyframes hpPop { from { opacity: 0; transform: translateY(12px) scale(.9) } to { opacity: 1; transform: none } }
.hp-rise { animation: hpRise 1s cubic-bezier(.2,.7,.2,1) .35s both; }
.hp-phero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 104px); }
.hp-phero .grid-bg { position: absolute; inset: 0; opacity: .4; pointer-events: none; }
.hp-phero__glow { left: 70%; top: 40px; }
.hp-phero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 5vw, 72px); align-items: center; }
@media (min-width: 1024px) { .hp-phero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); } }
.hp-phero h1 { margin: 20px 0; font-size: clamp(2.4rem, 4.4vw, 4rem); font-weight: 900; line-height: 1.06; letter-spacing: -0.03em; text-wrap: balance; }
.hp-phero .hp-lead { font-size: 19px; margin-bottom: 32px; }
.hp-phero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hp-phero__visual { position: relative; min-width: 0; }
.hp-pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--accent-100); color: var(--accent-700); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: 7px 14px; border-radius: 9999px; box-shadow: var(--hp-shadow-card); }
.hp-pill__dot { width: 8px; height: 8px; border-radius: 9999px; background: var(--accent-500); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-500) 18%, transparent); }
.hp-frame--hero { box-shadow: 0 40px 80px -24px rgba(15,23,42,.35), 0 0 0 1px rgba(15,23,42,.04); }
.hp-frame__img { width: 100%; display: block; }
.hp-chip { position: absolute; z-index: 2; display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--hp-s200); border-radius: 14px; padding: 12px 16px 12px 12px; box-shadow: 0 20px 40px -12px rgba(15,23,42,.25); animation: hpPop .6s cubic-bezier(.2,.9,.3,1.3) both; white-space: nowrap; }
.hp-chip b { display: block; font-size: 14px; color: var(--hp-s900); }
.hp-chip small { font-size: 12px; color: var(--hp-s500); }
.hp-chip__icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.hp-chip__icon--accent { background: var(--accent-50); color: var(--accent-600); }
.hp-chip__icon--green { background: var(--hp-em50); color: var(--hp-em600); }
@keyframes hpBob { 0%, 100% { translate: 0 0 } 50% { translate: 0 -8px } }
.hp-chip { animation: hpPop .6s cubic-bezier(.2,.9,.3,1.3) both, hpBob 5s ease-in-out infinite; }
.hp-chip--2, .hp-chip--hero2 { animation-duration: .6s, 6s; }
.hp-chip--hero1 { left: 2%; top: 16%; }
.hp-chip--hero2 { right: 1%; top: 38%; }
.hp-chip--hero3 { left: 5%; bottom: 14%; }
@media (prefers-reduced-motion: reduce) { .hp-chip { animation: hpPop .01s both; } }
.hp-chip--1 { left: -28px; bottom: 14%; }
.hp-chip--2 { right: -20px; top: -18px; }
@media (max-width: 1100px) { .hp-chip { display: none; } }

/* Illustrative dashboard mockups */
.hp-mock { display: flex; background: var(--hp-s50); font-size: 12px; color: var(--hp-s700); min-height: 380px; text-align: left; }
.hp-mock__side { width: 52px; flex-shrink: 0; background: #fff; border-right: 1px solid var(--hp-s200); display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 0; color: var(--hp-s400); }
.hp-mock__side span { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; }
.hp-mock__side span.is-on { background: var(--accent-50); color: var(--accent-600); }
.hp-mock__main { flex: 1; min-width: 0; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.hp-mock__head { display: flex; justify-content: space-between; align-items: center; }
.hp-mock__eyebrow { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--hp-s400); }
.hp-mock__title { font-size: 16px; font-weight: 800; color: var(--hp-s900); }
.hp-mock__select { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--hp-s200); border-radius: 8px; padding: 5px 10px; font-weight: 600; color: var(--hp-s600); }
.hp-mock__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hp-mock__kpi { background: #fff; border: 1px solid var(--hp-s200); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.hp-mock__kpi span { font-size: 10px; font-weight: 600; color: var(--hp-s500); text-transform: uppercase; letter-spacing: .06em; }
.hp-mock__kpi b { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: var(--hp-s900); }
.hp-mock__kpi em { font-style: normal; font-size: 11px; color: var(--hp-s500); }
.hp-mock .is-up { color: var(--hp-em600); font-weight: 600; }
.hp-mock b.is-green, .hp-mock span.is-green { color: var(--hp-em700); }
.hp-mock__row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
.hp-mock__card { background: #fff; border: 1px solid var(--hp-s200); border-radius: 10px; padding: 12px; }
.hp-mock__cardt { font-size: 12px; font-weight: 700; color: var(--hp-s900); margin-bottom: 10px; }
.hp-mock__bars { height: 84px; display: flex; align-items: flex-end; gap: 6px; }
.hp-mock__bars span { flex: 1; height: var(--h); background: var(--accent-100); border-radius: 4px 4px 0 0; }
.hp-mock__bars span.is-on { background: var(--accent-600); }
.hp-mock__meter { display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 11px; }
.hp-mock__meter i { display: block; height: 6px; border-radius: 9999px; background: linear-gradient(to right, var(--accent-500) var(--w), var(--hp-s100) var(--w)); }
.hp-mock__list > div { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid #F1F5F9; }
.hp-mock__list > div:first-child { border-top: none; padding-top: 0; }
.hp-mock__av { width: 30px; height: 30px; border-radius: 9999px; background: var(--accent-50); color: var(--accent-700); font-size: 10px; font-weight: 800; display: grid; place-items: center; flex-shrink: 0; }
.hp-mock__who { flex: 1; min-width: 0; }
.hp-mock__who b { display: block; font-size: 12px; color: var(--hp-s900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-mock__who small { font-size: 11px; color: var(--hp-s500); }
.hp-mock__tag { font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 9999px; background: var(--hp-s100); color: var(--hp-s600); }
.hp-mock__tag.is-blue { background: var(--accent-50); color: var(--accent-700); }
.hp-mock__tag.is-green { background: var(--hp-em50); color: var(--hp-em700); }
.hp-mock__num { font-size: 11px; font-weight: 700; color: var(--hp-em700); }
.hp-mock__pipe { display: flex; height: 22px; border-radius: 6px; overflow: hidden; margin-bottom: 10px; }
.hp-mock__pipe span { width: var(--w); display: grid; place-items: center; font-size: 10px; font-weight: 700; color: #fff; }
.hp-mock .is-draft { background: var(--hp-s400); }
.hp-mock .is-sent { background: var(--accent-500); }
.hp-mock .is-sold { background: var(--hp-em500); }
.hp-mock__legend { display: flex; gap: 12px; font-size: 11px; color: var(--hp-s500); }
.hp-mock__legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 5px; }
.hp-mock__quote { display: flex; flex-direction: column; gap: 2px; }
.hp-mock__quote b { font-family: var(--hp-mono); font-size: 11px; color: var(--hp-s900); }
.hp-mock__quote small { color: var(--hp-s500); }
.hp-mock__quote span { font-size: 20px; font-weight: 800; margin-top: 6px; }
@media (max-width: 560px) { .hp-mock__side { display: none; } .hp-mock__row { grid-template-columns: 1fr; } .hp-mock__kpi b { font-size: 16px; } }

/* Feature grid */
.hp-feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
@media (min-width: 1100px) { .hp-feats { grid-template-columns: repeat(3, minmax(0, 1fr)); } .hp-feats--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hp-feat { background: #fff; border: 1px solid var(--hp-s200); border-radius: 16px; padding: 28px; box-shadow: var(--hp-shadow-card); opacity: 0; transform: translateY(14px); transition: opacity .6s ease var(--d, 0s), transform .6s ease var(--d, 0s), box-shadow .2s, border-color .2s; }
.hp-feat.is-in { opacity: 1; transform: none; }
.hp-feat:hover { box-shadow: var(--hp-shadow-card-hover); border-color: var(--accent-200); }
.hp-feat__icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-50); color: var(--accent-600); margin-bottom: 20px; border: 1px solid var(--accent-100); }
.hp-feat__t { margin: 0 0 8px; font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.hp-feat__d { margin: 0; font-size: 15px; line-height: 1.6; color: var(--hp-s500); }

/* Step timeline */
.hp-tl { position: relative; }
.hp-tl__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; position: relative; }
.hp-tl__track { display: none; }
.hp-tl__step { position: relative; text-align: center; opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; transition-delay: calc(var(--i) * 180ms + 150ms); }
.hp-tl.is-in .hp-tl__step { opacity: 1; transform: none; }
.hp-tl__badge { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 18px; display: grid; place-items: center; background: #fff; border: 1px solid var(--hp-s200); color: var(--accent-600); box-shadow: var(--hp-shadow-card); position: relative; z-index: 1; transition: background .4s, color .4s, border-color .4s, box-shadow .4s; transition-delay: calc(var(--i) * 350ms + 400ms); }
.hp-tl.is-in .hp-tl__badge { background: var(--accent-600); color: #fff; border-color: var(--accent-600); box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent-500) 14%, transparent); }
.hp-tl__n { display: block; font-family: var(--hp-mono); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-600); margin-bottom: 6px; }
.hp-tl__t { margin: 0 0 8px; font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.hp-tl__d { margin: 0 auto; max-width: 280px; font-size: 15px; line-height: 1.6; color: var(--hp-s500); }
@media (min-width: 860px) {
  .hp-tl__list { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 24px; }
  .hp-tl__track { display: block; position: absolute; top: 32px; height: 2px; left: calc(50% / var(--n)); right: calc(50% / var(--n)); background: var(--hp-s200); border-radius: 9999px; overflow: hidden; }
  .hp-tl__fill { display: block; height: 100%; width: 0; background: var(--accent-600); transition: width 1.6s cubic-bezier(.4,0,.2,1) .3s; }
  .hp-tl.is-in .hp-tl__fill { width: 100%; }
}

.hp-plans--2 { max-width: 820px; margin: 0 auto; }

.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; }

/* Centered page hero (Pricing, About, legal) */
.hp-pagehero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 112px) 0 clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--hp-s200); }
.hp-pagehero--compact { padding: clamp(48px, 6vw, 80px) 0 clamp(40px, 5vw, 64px); }
.hp-pagehero .grid-bg { position: absolute; inset: 0; opacity: .4; pointer-events: none; }
.hp-pagehero__inner { position: relative; text-align: center; }
.hp-pagehero h1 { margin: 20px 0 16px; font-size: clamp(2.4rem, 5vw, 4.25rem); font-weight: 900; line-height: 1.06; letter-spacing: -0.03em; text-wrap: balance; }
.hp-pagehero--compact h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.hp-pagehero .hp-lead { margin: 0 auto; max-width: 680px; text-align: center; font-size: 19px; }
.hp-pagehero__meta { margin: 0 0 24px; font-size: 14px; color: var(--hp-s500); }

/* Segmented control (pricing tabs, legal doc switcher) */
.hp-seg { display: inline-flex; gap: 4px; padding: 4px; background: #fff; border: 1px solid var(--hp-s200); border-radius: 9999px; box-shadow: var(--hp-shadow-card); margin-top: 8px; }
.hp-pagehero .hp-lead + .hp-seg { margin-top: 32px; }
.hp-seg > a, .hp-seg > button { all: unset; cursor: pointer; padding: 8px 18px; border-radius: 9999px; font-size: 14px; font-weight: 600; color: var(--hp-s600); transition: background .2s, color .2s; }
.hp .hp-seg > a { color: var(--hp-s600); }
.hp-seg > a:hover, .hp-seg > button:hover { color: var(--hp-s900); }
.hp .hp-seg > .is-on, .hp-seg > .is-on { background: var(--accent-600); color: #fff; }
.hp-seg > :focus-visible { outline: 2px solid var(--accent-500); outline-offset: 2px; }
.hp-seg--lg > a, .hp-seg--lg > button { padding: 10px 24px; font-size: 15px; }

/* Pricing page */
.hp-pricing { padding-top: clamp(48px, 6vw, 72px); }
.hp-plan__note { margin: -8px 0 0; font-size: 13px; color: var(--hp-s500); }
.hp-assure { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--hp-s200); }
.hp-assure__item { display: flex; gap: 12px; align-items: flex-start; }
.hp-assure__icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-50); color: var(--accent-600); flex-shrink: 0; }
.hp-assure__item b { display: block; font-size: 15px; }
.hp-assure__item span { font-size: 14px; color: var(--hp-s500); line-height: 1.5; }
.hp-compare { position: relative; overflow-x: auto; background: #fff; border: 1px solid var(--hp-s200); border-radius: 16px; box-shadow: var(--hp-shadow-card); }
.hp-compare table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; }
.hp-compare th, .hp-compare td { padding: 14px 20px; text-align: center; border-bottom: 1px solid #F1F5F9; }
.hp-compare tbody th[scope="row"] { text-align: left; font-weight: 500; color: var(--hp-s700); }
.hp-compare thead th { padding: 24px 20px 20px; vertical-align: bottom; border-bottom: 1px solid var(--hp-s200); }
.hp-compare thead th span { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--hp-s500); margin-bottom: 4px; }
.hp-compare thead th b { font-size: 24px; font-weight: 900; letter-spacing: -0.02em; }
.hp-compare thead th small { font-size: 13px; font-weight: 500; color: var(--hp-s500); }
.hp-compare .is-featured { background: color-mix(in srgb, var(--accent-50) 60%, transparent); }
.hp-compare thead th.is-featured span { color: var(--accent-600); }
.hp-compare__group th { text-align: left !important; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-700); background: var(--hp-s50); padding: 10px 20px; }
.hp-compare__yes { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 9999px; background: var(--hp-em50); color: var(--hp-em600); }
.hp-compare__no { color: var(--hp-s300); }
.hp-compare tfoot td { border-bottom: none; padding: 20px; }

/* Legal pages */
.hp-legal__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; max-width: 72rem; }
@media (min-width: 960px) { .hp-legal__grid { grid-template-columns: 240px minmax(0, 1fr); gap: 64px; } }
.hp-legal__toc { display: none; }
@media (min-width: 960px) { .hp-legal__toc { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 96px; align-self: start; } }
.hp-legal__toct { margin: 0 0 10px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--hp-s400); }
.hp .hp-legal__toc a { padding: 6px 12px; border-left: 2px solid var(--hp-s200); font-size: 14px; color: var(--hp-s500); transition: color .15s, border-color .15s; }
.hp .hp-legal__toc a:hover { color: var(--hp-s900); }
.hp .hp-legal__toc a.is-on { color: var(--accent-700); border-color: var(--accent-600); font-weight: 600; }
.hp-legal__help { display: flex; gap: 10px; align-items: center; margin-top: 24px; padding: 14px; background: var(--hp-s50); border: 1px solid var(--hp-s200); border-radius: 12px; font-size: 13px; }
.hp-legal__help b { display: block; }
.hp-legal__helpi { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; background: #fff; color: var(--accent-600); border: 1px solid var(--hp-s200); flex-shrink: 0; }
.hp-legal__body { max-width: 760px; font-size: 16px; line-height: 1.75; color: var(--hp-s600); }
.hp-legal__body > * + * { margin-top: 16px; }
.hp-legal__body h2 { margin-top: 40px !important; padding-top: 24px; border-top: 1px solid #F1F5F9; font-size: 22px !important; font-weight: 800 !important; letter-spacing: -0.015em !important; color: var(--hp-s900); scroll-margin-top: 96px; }
.hp-legal__body > h2:first-child { margin-top: 0 !important; border-top: none; padding-top: 0; }
.hp-legal__body p, .hp-legal__body li { text-align: left !important; }
.hp-legal__body ul { padding-left: 1.25rem; list-style: disc; }
.hp-legal__body li + li { margin-top: 6px; }
.hp-legal__body strong { color: var(--hp-s900); }

/* About page */
.hp-about { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; max-width: 72rem; }
@media (min-width: 960px) { .hp-about { grid-template-columns: 320px minmax(0, 1fr); gap: 80px; } .hp-about__side { position: sticky; top: 100px; align-self: start; } }
.hp-about__side .hp-h2 { text-align: left; }
.hp-about__facts { margin: 28px 0 0; display: flex; flex-direction: column; gap: 12px; }
.hp-about__facts > div { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 14px; background: var(--hp-s50); border: 1px solid var(--hp-s200); border-radius: 12px; }
.hp-about__facti { grid-row: span 2; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: #fff; border: 1px solid var(--hp-s200); color: var(--accent-600); }
.hp-about__facts dt { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--hp-s400); }
.hp-about__facts dd { margin: 0; font-size: 15px; font-weight: 700; color: var(--hp-s900); }
.hp-about__story { font-size: 17px; line-height: 1.8; color: var(--hp-s600); max-width: 720px; }
.hp-about__story p { margin: 0 0 20px; font-size: 17px; line-height: 1.8; color: var(--hp-s600); }
.hp-about__lede { font-size: 21px !important; line-height: 1.6 !important; color: var(--hp-s900); font-weight: 500; }
.hp-about__quote { margin: 32px 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent-600); font-size: 22px; line-height: 1.5; font-weight: 700; letter-spacing: -0.01em; color: var(--hp-s900); }
.hp-contact { display: flex; flex-wrap: wrap; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hp-contact__copy { flex: 1 1 360px; }
.hp-contact__copy .hp-h2 { text-align: left; }
.hp-contact__cards { flex: 1 1 360px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.hp .hp-contact__card { display: flex; flex-direction: column; gap: 4px; padding: 24px; background: #fff; border: 1px solid var(--hp-s200); border-radius: 16px; box-shadow: var(--hp-shadow-card); color: var(--hp-s600); font-size: 15px; line-height: 1.5; transition: box-shadow .2s, border-color .2s; }
.hp a.hp-contact__card:hover { border-color: var(--accent-200); box-shadow: var(--hp-shadow-card-hover); color: var(--hp-s600); }
.hp-contact__card .hp-feat__icon { margin-bottom: 12px; }
.hp-contact__card b { font-size: 16px; color: var(--hp-s900); }

@media (max-width: 560px) {
  .hp-nav__bar { height: 68px; gap: 12px; }
  .hp-nav__logo img { height: 30px; }
  .hp-nav__actions { gap: 8px; }
  .hp-nav .hp-nav__cta { height: 40px; padding: 0 14px; font-size: 14px; }
  .hp-nav__burger { width: 40px; height: 40px; }
}

/* ══════════════════════════════════════════════════════════════════════════
   Blog, Integrations, Security, Contact, footer
══════════════════════════════════════════════════════════════════════════ */

/* Nav: wider two-column panel for longer menus */
.hp-nav__panel--wide { width: 560px; }
.hp-nav__items { display: grid; gap: 2px; }
.hp-nav__panel--wide .hp-nav__items { grid-template-columns: 1fr 1fr; }
.hp-nav__dd:last-child .hp-nav__panel { left: auto; right: -12px; }

/* Shared bits */
.hp-pagehero__ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.hp .hp-btn--white { background: #fff; color: var(--accent-700); }
.hp .hp-btn--white:hover { background: var(--accent-50); color: var(--accent-800, var(--accent-700)); }
.hp .hp-btn--ghostlight { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.hp .hp-btn--ghostlight:hover { background: rgba(255,255,255,.12); color: #fff; }
.hp-input--area { resize: vertical; min-height: 128px; font: inherit; line-height: 1.5; }
.hp-input--notes { min-height: 88px; }
.hp-field__opt { font-style: normal; font-weight: 500; color: var(--hp-s400); }
.hp-field em { font-style: normal; font-weight: 500; color: var(--hp-s400); }

/* Closing CTA band */
.hp-ctaband { padding: clamp(56px, 7vw, 96px) 0; }
.hp-sec + .hp-ctaband { padding-top: 0; }
.hp-ctaband__card { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(32px, 5vw, 56px); border-radius: 24px; background: linear-gradient(135deg, var(--accent-700), var(--accent-500)); color: #fff; box-shadow: 0 30px 60px -24px color-mix(in srgb, var(--accent-700) 55%, transparent); }
.hp-ctaband__card .grid-bg { position: absolute; inset: 0; opacity: .12; pointer-events: none; }
.hp-ctaband__copy { position: relative; flex: 1 1 380px; }
.hp-ctaband__copy h2 { margin: 0 0 10px; font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 900; letter-spacing: -0.025em; color: #fff; }
.hp-ctaband__copy p { margin: 0; font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.85); }
.hp-ctaband__actions { position: relative; display: flex; gap: 12px; flex-wrap: wrap; }

/* Blog listing */
.hp-blog { padding-top: clamp(40px, 5vw, 64px); }
.hp-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.hp .hp-tabs a { padding: 8px 16px; border-radius: 9999px; border: 1px solid var(--hp-s200); background: #fff; font-size: 14px; font-weight: 600; color: var(--hp-s600); text-decoration: none; transition: all .15s; }
.hp .hp-tabs a:hover { border-color: var(--accent-200); color: var(--accent-700); }
.hp .hp-tabs a.is-on { background: var(--hp-s900); border-color: var(--hp-s900); color: #fff; }
.hp-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
@media (min-width: 1100px) { .hp-posts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hp-post { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--hp-s200); border-radius: 18px; overflow: hidden; box-shadow: var(--hp-shadow-card); transition: box-shadow .2s, transform .2s, border-color .2s; }
.hp-post:hover { box-shadow: var(--hp-shadow-card-hover); transform: translateY(-3px); border-color: var(--accent-200); }
.hp-post__media { display: block; aspect-ratio: 16 / 9; background: var(--hp-s100); overflow: hidden; }
.hp-post__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.hp-post:hover .hp-post__media img { transform: scale(1.04); }
.hp-post__ph { position: relative; width: 100%; height: 100%; display: grid; place-items: center; color: var(--accent-400, var(--accent-500)); background: linear-gradient(135deg, var(--accent-50), #fff 60%, var(--hp-s50)); }
.hp-post__ph .grid-bg { position: absolute; inset: 0; opacity: .5; }
.hp-post__ph svg { position: relative; }
.hp-post__body { flex: 1; display: flex; flex-direction: column; padding: 24px; }
.hp-post__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 13px; color: var(--hp-s500); }
.hp .hp-post__cat { display: inline-flex; padding: 3px 10px; border-radius: 9999px; background: var(--accent-50); color: var(--accent-700); font-size: 12px; font-weight: 700; text-decoration: none; }
.hp-post__t { margin: 0 0 10px; font-size: 20px; font-weight: 800; line-height: 1.3; letter-spacing: -0.015em; }
.hp .hp-post__t a { color: var(--hp-s900); text-decoration: none; }
.hp .hp-post__t a:hover { color: var(--accent-700); }
.hp-post__x { margin: 0 0 20px; font-size: 15px; line-height: 1.6; color: var(--hp-s500); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hp-post__by { margin-top: auto; display: flex; align-items: center; gap: 10px; }
.hp-post__by b { display: block; font-size: 14px; color: var(--hp-s900); }
.hp-post__by small { font-size: 13px; color: var(--hp-s500); }
.hp-post__av { width: 36px; height: 36px; border-radius: 9999px; display: grid; place-items: center; flex-shrink: 0; background: var(--accent-600); color: #fff; font-size: 12px; font-weight: 800; }
.hp-post--lead { margin-bottom: 40px; }
@media (min-width: 900px) {
  .hp-post--lead { flex-direction: row; }
  .hp-post--lead .hp-post__media { flex: 1.25; aspect-ratio: auto; min-height: 380px; }
  .hp-post--lead .hp-post__body { flex: 1; padding: 40px; justify-content: center; }
  .hp-post--lead .hp-post__t { font-size: 32px; letter-spacing: -0.025em; }
  .hp-post--lead .hp-post__x { font-size: 17px; -webkit-line-clamp: 4; }
  .hp-post--lead .hp-post__by { margin-top: 8px; }
}
.hp-empty { text-align: center; max-width: 480px; margin: 24px auto; padding: 56px 32px; border: 1px dashed var(--hp-s300); border-radius: 20px; background: var(--hp-s50); }
.hp-empty .hp-feat__icon { margin: 0 auto 20px; }
.hp-empty h2 { margin: 0 0 8px; font-size: 22px; font-weight: 800; }
.hp-empty p { margin: 0 0 24px; color: var(--hp-s500); }
.hp-pager { display: flex; justify-content: space-between; align-items: center; margin-top: 48px; }
.hp-pager__n { font-size: 14px; color: var(--hp-s500); }

/* Blog post */
.hp-preview { background: #FEF3C7; color: #92400E; text-align: center; font-size: 14px; font-weight: 600; padding: 10px 16px; border-bottom: 1px solid #FDE68A; }
.hp-article__head { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--hp-s200); }
.hp-article__head .grid-bg { position: absolute; inset: 0; opacity: .35; pointer-events: none; }
.hp-article__headin { position: relative; }
.hp .hp-article__back { display: inline-flex; align-items: center; gap: 6px; margin-right: 12px; font-size: 14px; font-weight: 600; color: var(--hp-s500); text-decoration: none; }
.hp .hp-article__back svg { transform: rotate(180deg); }
.hp .hp-article__back:hover { color: var(--accent-700); }
.hp-article__head h1 { margin: 20px 0 16px; font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 900; line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance; }
.hp-article__head .hp-lead { font-size: 19px; margin-bottom: 28px; }
.hp-post__by--lg .hp-post__av { width: 44px; height: 44px; font-size: 14px; }
.hp-post__by--lg b { font-size: 15px; }
.hp-article__cover { margin-top: clamp(32px, 4vw, 48px); }
.hp-article__cover img { width: 100%; max-height: 560px; object-fit: cover; border-radius: 20px; display: block; box-shadow: var(--hp-shadow-card-hover); }
.hp-article { padding-top: clamp(40px, 5vw, 64px); }
.hp-share { margin-top: 28px; }
.hp-share > div { display: flex; gap: 8px; }
.hp .hp-share__btn { all: unset; box-sizing: border-box; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--hp-s200); border-radius: 10px; background: #fff; color: var(--hp-s600); font-size: 14px; font-weight: 800; cursor: pointer; transition: all .15s; }
.hp .hp-share__btn:hover { border-color: var(--accent-200); color: var(--accent-700); background: var(--accent-50); }

/* Rich text written in the admin editor (Trix: h1, p, ul/ol, blockquote, pre, a, strong, em) */
.hp-prose { max-width: 720px; font-size: 18px; line-height: 1.8; color: var(--hp-s700); }
.hp-prose > * + * { margin-top: 20px; }
.hp-prose h1, .hp-prose h2 { margin-top: 48px; font-size: 26px; font-weight: 800; line-height: 1.3; letter-spacing: -0.02em; color: var(--hp-s900); scroll-margin-top: 100px; }
.hp-prose h3 { margin-top: 32px; font-size: 20px; font-weight: 800; color: var(--hp-s900); }
.hp-prose > :first-child { margin-top: 0; }
.hp-prose p { margin-bottom: 0; }
.hp-prose a { color: var(--accent-700); font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent-200); text-underline-offset: 3px; }
.hp-prose a:hover { text-decoration-color: var(--accent-600); }
.hp-prose strong { color: var(--hp-s900); }
.hp-prose ul, .hp-prose ol { padding-left: 1.4rem; }
.hp-prose ul { list-style: disc; } .hp-prose ol { list-style: decimal; }
.hp-prose li + li { margin-top: 8px; }
.hp-prose li::marker { color: var(--accent-600); }
.hp-prose blockquote { margin-left: 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent-600); font-size: 20px; font-weight: 600; color: var(--hp-s900); }
.hp-prose pre { padding: 20px; border-radius: 12px; background: var(--hp-s900); color: #E2E8F0; font-family: var(--hp-mono); font-size: 14px; overflow-x: auto; }
.hp-prose img, .hp-prose figure img { max-width: 100%; height: auto; border-radius: 14px; }
.hp-prose figure { margin: 32px 0; }
.hp-prose figcaption { margin-top: 8px; font-size: 14px; color: var(--hp-s500); text-align: center; }
.hp-article__cta { max-width: 720px; margin-top: 56px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 28px; border-radius: 18px; background: var(--accent-50); border: 1px solid var(--accent-100); }
.hp-article__cta b { display: block; font-size: 18px; color: var(--hp-s900); margin-bottom: 4px; }
.hp-article__cta span { font-size: 15px; color: var(--hp-s600); }
.hp-article__cta > div { flex: 1 1 280px; }

/* Integrations: API panel */
.hp-api { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 960px) { .hp-api { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } }
.hp-api__copy .hp-h2 { text-align: left; }
.hp-api__copy .hp-checks { margin: 24px 0 28px; }
.hp-api__code { border-radius: 18px; overflow: hidden; background: #0B1220; box-shadow: 0 30px 60px -24px rgba(15,23,42,.45); }
.hp-api__bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.08); font-family: var(--hp-mono); font-size: 12px; color: #64748B; }
.hp-api__code pre { margin: 0; padding: 24px; font-family: var(--hp-mono); font-size: 14px; line-height: 1.7; color: #CBD5E1; overflow-x: auto; }
.hp-api__code .k { color: #60A5FA; font-weight: 800; }
.hp-api__code .c { color: #64748B; }
.hp-api__code .s { color: #A5D6A7; }
.hp-api__code .n { color: #FBBF24; }
.hp-api__code .ok { color: #34D399; font-weight: 800; }

/* Security: two-column "you stay in control" */
.hp-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
@media (min-width: 960px) { .hp-split { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; } }
.hp-split .hp-h2 { text-align: left; }
.hp-split__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.hp-split__list li { display: flex; gap: 14px; padding: 20px; background: #fff; border: 1px solid var(--hp-s200); border-radius: 16px; box-shadow: var(--hp-shadow-card); }
.hp-split__i { width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: var(--accent-50); color: var(--accent-600); }
.hp-split__list b { display: block; font-size: 15px; margin-bottom: 2px; }
.hp-split__list span { font-size: 14px; line-height: 1.5; color: var(--hp-s500); }
.hp .hp-split__list a { color: var(--accent-700); font-weight: 600; }

/* Contact page */
.hp-contactpg { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
@media (min-width: 960px) { .hp-contactpg { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; } }
.hp-contactpg__form { padding: clamp(24px, 4vw, 40px); background: #fff; border: 1px solid var(--hp-s200); border-radius: 20px; box-shadow: var(--hp-shadow-card-hover); }
.hp-contactpg__form h2 { margin: 0 0 6px; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.hp-contactpg__form > p { margin: 0 0 28px; color: var(--hp-s500); }
.hp-contactpg__side { display: flex; flex-direction: column; gap: 14px; }
.hp .hp-contactpg__card { display: flex; align-items: center; gap: 16px; padding: 20px; background: #fff; border: 1px solid var(--hp-s200); border-radius: 16px; text-decoration: none; color: var(--hp-s400); transition: border-color .2s, box-shadow .2s, transform .2s; }
.hp a.hp-contactpg__card:hover { border-color: var(--accent-200); box-shadow: var(--hp-shadow-card-hover); transform: translateX(2px); color: var(--accent-600); }
.hp-contactpg__card .hp-feat__icon { margin: 0; flex-shrink: 0; }
.hp-contactpg__card > div { flex: 1; min-width: 0; }
.hp-contactpg__card b { display: block; font-size: 16px; color: var(--hp-s900); }
.hp-contactpg__card span { font-size: 14px; line-height: 1.5; color: var(--hp-s500); }
.hp .hp-contactpg__card--static { background: var(--hp-s50); }

/* Footer */
.hp-foot { background: #0B1220; color: #94A3B8; font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif; letter-spacing: -0.006em; }
.hp-foot *, .hp-foot *::before, .hp-foot *::after { box-sizing: border-box; }
.hp-foot a { color: #CBD5E1; text-decoration: none; transition: color .15s; }
.hp-foot a:hover { color: #fff; }
.hp-foot__top { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; padding: 72px 0 56px; }
@media (min-width: 900px) { .hp-foot__top { grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); gap: 48px; } }
.hp-foot__brand { grid-column: 1 / -1; max-width: 360px; }
@media (min-width: 900px) { .hp-foot__brand { grid-column: auto; } }
.hp-foot__logo img { height: 34px; width: auto; display: block; filter: brightness(0) invert(1); }
.hp-foot__brand p { margin: 20px 0 24px; font-size: 15px; line-height: 1.65; }
.hp-foot__social { display: flex; gap: 10px; }
.hp-foot__social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); }
.hp-foot__social a:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); }
.hp-foot__h { margin: 0 0 18px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #64748B; }
.hp-foot__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 15px; }
.hp-foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 24px 0 32px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; }
.hp-foot__bottom p { margin: 0; }
.hp-foot__bottom nav { display: flex; gap: 24px; }
.hp-foot__bottom a { color: #94A3B8; }

/* Nav on small laptops: tighter links, "Start free" moves to the page itself */
@media (min-width: 1024px) and (max-width: 1279px) {
  .hp-nav__bar { gap: 16px; }
  .hp-nav__links { margin-left: 8px; gap: 0; }
  .hp-nav__link { padding: 0 11px; font-size: 15px; }
  .hp-nav__startfree { display: none !important; }
}
