/* =====================================================================
   /home-preview: the new homepage hero (header 9 + the real inbox) and the AI chatbot section.
   Designs: hero https://claude.ai/artifact/KMej6GiN2U1kaUTQHBTu26 (variation 9),
   chatbot = the /ai-chatbot hero (css/website-chat.css), https://claude.ai/artifact/EncCnLCEGZerCZqfDFsN4G.
   Light only, like the rest of the homepage. DM Sans, ds tokens.
   ===================================================================== */
.hp { font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: var(--es-text); }
.hp *, .hp *::before, .hp *::after { box-sizing: border-box; }

/* hero: words left, honeycomb right, the inbox underneath cut off by the next section */
.hp-hero { max-width: 1320px; margin: 0 auto; padding: 156px 40px 0; }
.hp-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 48px; align-items: center; padding-bottom: 56px; }
.hp-words { display: grid; gap: 28px; min-width: 0; }
.hp-h1 { margin: 0; font-size: clamp(48px, 6vw, 80px); line-height: .98; letter-spacing: -.045em; font-weight: 600; text-wrap: balance; color: var(--es-text); }
.hp-lede { margin: 0; max-width: 44ch; font-size: 19px; line-height: 1.5; color: var(--es-text-muted); text-wrap: pretty; }
.hp-cta { display: grid; gap: 14px; }
.hp-ctas { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hp-btn { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 9px; padding: 13px 22px; font: inherit; font-weight: 500; font-size: 15.5px; background: var(--es-accent); color: #fff; cursor: pointer; text-decoration: none; white-space: nowrap; }
.hp-btn:hover { background: var(--es-accent-hover); }
.hp-link { color: var(--es-text); font-weight: 500; font-size: 15.5px; text-decoration: underline; text-decoration-color: var(--es-border-strong); text-underline-offset: 5px; }
.hp-note { margin: 0; font-size: 13.5px; color: var(--es-text-faint); }
.hp-note a { color: inherit; text-decoration: underline; text-decoration-color: var(--es-border-strong); text-underline-offset: 3px; }
.hp-note a:hover { color: var(--es-text); }

/* honeycomb: rows of 3, 4 and 3; the Add account modal's white face */
.hp-hive { display: grid; margin: 0; padding: 0; list-style: none; }
.hp-hive li { display: flex; justify-content: center; gap: 10px; margin-top: -8px; }
.hp-hive li:first-child { margin-top: 0; }
.hp-face { width: 88px; height: 88px; border-radius: 999px; background: var(--es-raised); display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px var(--es-border), 0 1px 3px rgba(0, 0, 0, .03), 0 8px 24px rgba(0, 0, 0, .06); }
.hp-face img { width: 50%; height: 50%; object-fit: contain; }
.hp-face.is-wide img { width: 62%; height: 62%; }
/* hover: the What is Eskra bubbles' lift (what-is-eskra.css) */
.hp-face { transition: transform .2s cubic-bezier(.2, .7, .2, 1); }
.hp-face:hover { transform: translateY(-3px) scale(1.06); }
@media (prefers-reduced-motion: reduce) { .hp-face { transition: none; } .hp-face:hover { transform: none; } }

/* the inbox: a real screenshot of eskra.ai/demo, cut off by the section's bottom edge */
.hp-shot { height: clamp(300px, 52vw, 740px); overflow: hidden; border: 1px solid var(--es-border); border-bottom: 0; border-radius: 12px 12px 0 0; background: var(--es-surface); }
.hp-shot img { display: block; width: 100%; height: auto; }

@media (min-width: 1200px) { .hp-hive { margin-right: 56px; } }   /* a little closer to the words on wide screens */
@media (max-width: 1100px) { .hp-face { width: 74px; height: 74px; } }
/* stacked: the honeycomb becomes one row of small bubbles under the words, so the inbox stays near the top */
@media (max-width: 980px) {
  .hp-hero { padding-top: 132px; }
  .hp-h1 { font-size: clamp(48px, 8vw, 64px); }
  .hp-top { grid-template-columns: 1fr; row-gap: 28px; padding-bottom: 44px; }
  .hp-hive { display: flex; flex-wrap: wrap; gap: 8px; justify-self: start; }
  .hp-hive li { display: contents; }
  .hp-face { width: 52px; height: 52px; }
}
/* narrow: two even rows of five */
@media (max-width: 700px) { .hp-hive { max-width: 292px; } }
@media (max-width: 600px) {
  .hp-hero { padding: 116px 18px 0; }
  .hp-lede { font-size: 16.5px; }
  .hp-top { padding-bottom: 32px; }
  .hp-shot { height: 380px; }
  .hp-shot img { width: 175%; max-width: none; }   /* the desktop screenshot, wider than the phone and cropped from the left */
}

/* AI chatbot: the /ai-chatbot hero (website-chat.css .wcl-hero) on a band of its own */
.hp-chat { border-top: 1px solid var(--es-border); background: var(--es-bg); }
.hp-chat .wcl { padding-top: 88px; padding-bottom: 88px; }
.hp-chat .wcl h2 { margin: 0 0 var(--es-space-4); font-size: clamp(32px, 4.4vw, 46px); line-height: 1.1; letter-spacing: -.02em; }
@media (max-width: 600px) { .hp-chat .wcl { padding-top: 48px; padding-bottom: 48px; } }

/* reset: the older site sheets give every <button> full width and their own padding */
.hp .hp-btn, .hp .wcl-actions .es-btn { width: auto; margin: 0; }

/* privacy: three real numbers (design 4). The heading keeps the old section's class so index.js blurs it on
   scroll; index.css's gradient text and curved lines on that class are reset here. */
.hp-priv { max-width: 1024px; margin: 0 auto; padding: 96px 24px; }
.hp-priv .privacy-header { margin: 0; text-align: center; }
.hp-priv .privacy-header h2 { margin: 0 auto 16px; padding: 0; max-width: none; width: auto; font-size: clamp(34px, 5.6vw, 60px); line-height: 1.1; letter-spacing: -.025em; font-weight: 600;
  background: none; -webkit-text-fill-color: currentColor; color: var(--es-text); cursor: auto; text-wrap: balance; }
.hp-priv .privacy-header::before, .hp-priv .privacy-header::after, .hp-priv .privacy-header h2::before, .hp-priv .privacy-header h2::after,
.hp-priv .privacy-header p::before, .hp-priv .privacy-header p::after { content: none; display: none; }   /* the old cards' connector lines */
.hp-priv .hp-priv-lede { margin: 0 auto 56px; max-width: 52ch; font-size: 17px; line-height: 1.6; color: var(--es-text-muted); }
.hp-nums { text-align: left; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hp-nums > div { padding: 28px 24px 0 0; }
.hp-nums > div + div { padding-left: 24px; border-left: 1px solid var(--es-border); }
.hp-n { display: block; margin-bottom: 14px; font-size: clamp(40px, 5vw, 60px); line-height: 1; letter-spacing: -.04em; font-weight: 600; color: var(--es-text); font-variant-numeric: tabular-nums; }
.hp-nums p { margin: 0; max-width: 30ch; font-size: 15px; line-height: 1.6; color: var(--es-text-muted); }
.hp-priv .hp-priv-foot { max-width: none; margin: 48px 0 0; text-align: center; font-size: 14px; color: var(--es-text-muted); }
.hp-priv-foot a { color: var(--es-text); font-weight: 500; text-decoration: underline; text-decoration-color: var(--es-border-strong); text-underline-offset: 4px; }
@media (max-width: 760px) {
  .hp-priv { padding: 56px 18px; }
  .hp-nums { grid-template-columns: 1fr; }
  .hp-nums > div, .hp-nums > div + div { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--es-border); }
}

/* one font for the whole preview (2026-11-17): DM Sans everywhere, headings at 0 letter spacing. The older sections
   set Montserrat, Work Sans, Arial and the system font on many specific selectors, so this wins with !important,
   scoped to .hp-page (the preview only). The logo is an SVG and keeps Work Sans. */
.hp-page, .hp-page *:not(svg):not(svg *) { font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important; }
.hp-page :is(h1, h2, h3, h4), .hp-page .hp-n { letter-spacing: 0 !important; }

/* pricing (design 1): three cards, each listing what it includes in the same order; the current cards' bird badge
   (index.css .hiaipro--eskra: 32px white circle, 1px #ccc) beside the plan name, Teams with two more circles behind */
.hpp { max-width: 1120px; margin: 0 auto; padding: 96px 24px; }
.hpp-head { display: grid; justify-items: center; gap: 14px; margin-bottom: 40px; text-align: center; }
.hpp-head :is(h1, h2) { margin: 0; font-size: clamp(34px, 5.6vw, 60px); line-height: 1.1; font-weight: 600; color: var(--es-text); }
.hpp-head p { margin: 0; max-width: 50ch; font-size: 17px; line-height: 1.6; color: var(--es-text-muted); }
.hpp-seg { display: inline-flex; gap: 2px; margin-top: 18px; padding: 3px; border-radius: 9px; background: var(--es-surface-sunken); }
.hpp-seg button { width: auto; margin: 0; padding: 6px 14px; border: 0; border-radius: 7px; background: transparent; font-size: 14px; color: var(--es-text-muted); cursor: pointer; }
.hpp-seg button[aria-pressed="true"] { background: var(--es-bg); color: var(--es-text); box-shadow: 0 1px 2px rgba(0, 0, 0, .1); }
.hpp-seg button { position: relative; }
.hpp-save { position: absolute; top: -10px; right: -16px; padding: 1px 6px; box-shadow: 0 0 0 2px var(--es-bg); border-radius: 999px; background: var(--es-success-subtle); color: var(--es-success); font-size: 10px; font-weight: 600; line-height: 1.4; white-space: nowrap; pointer-events: none; }   /* a pill on the Yearly tab's top-right corner, so it doesn't widen the tab */
.hpp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.hpp-card { display: flex; flex-direction: column; gap: 18px; padding: 28px; border: 1px solid var(--es-border); border-radius: 16px; background: var(--es-bg); text-align: left; }
.hpp-card { cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease; }
.hpp-card.is-picked { border: 1.5px solid var(--es-accent); box-shadow: 0 10px 30px rgba(0, 122, 255, .08); }   /* the highlight moves to the card you click */
.hpp-name { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 20px; font-weight: 600; color: var(--es-text); }
.hpp-badge { display: grid; place-items: center; flex: none; width: 32px; height: 32px; box-sizing: border-box; border: 1px solid #ccc; border-radius: 999px; background: #fff; color: var(--es-text); }
.hpp-stack { position: relative; display: inline-grid; flex: none; margin-right: 10px; }
.hpp-stack i { position: absolute; top: 0; width: 32px; height: 32px; box-sizing: border-box; border: 1px solid #ccc; border-radius: 999px; background: #fff; }
.hpp-stack i:nth-child(1) { left: 10px; } .hpp-stack i:nth-child(2) { left: 5px; }
.hpp-stack .hpp-badge { position: relative; }
.hpp-who { margin: 6px 0 0; font-size: 14.5px; color: var(--es-text-muted); }
.hpp-price { display: flex; align-items: baseline; gap: 6px; }
.hpp-amt { font-size: 44px; font-weight: 600; line-height: 1; color: var(--es-text); font-variant-numeric: tabular-nums; }
.hpp-per { font-size: 15px; color: var(--es-text-muted); }
.hpp-bill { min-height: 1.4em; font-size: 13.5px; color: var(--es-text-faint); }
.hpp-btn { display: flex; align-items: center; justify-content: center; width: 100%; height: 46px; margin: 0; padding: 0; border: 1px solid var(--es-border-strong); border-radius: 10px; background: var(--es-bg); color: var(--es-text); font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; }
.hpp-btn.is-main { border-color: var(--es-accent); background: var(--es-accent); color: #fff; }
.hpp-btn.is-main:hover { background: var(--es-accent-hover); }
.hpp-list { display: grid; flex: 1; align-content: start; gap: 11px; margin: 4px 0 0; padding: 0; list-style: none; font-size: 15px; line-height: 1.45; color: var(--es-text); }
.hpp-list li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; }
.hpp-list svg { width: 18px; height: 18px; margin-top: 1px; }
.hpp-list b { font-weight: 600; }
.hpp-list li.is-off { color: var(--es-text-faint); }
.hpp-yes { color: var(--es-success); } .hpp-no { color: var(--es-text-faint); }
.hpp-early { font-size: 13px; color: var(--es-accent); }
.hpp[data-billing="yearly"] .hpp-early { visibility: hidden; }   /* the early-bird coupon is for monthly plans only */
.hpp-foot { margin: 36px 0 0; text-align: center; font-size: 14px; color: var(--es-text-muted); }
.hpp-pick { display: none; }
/* the savings badge from the original cards: a blue pill on the top edge of the picked card */
.hpp-card { position: relative; }
.hpp-ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); display: none; align-items: center; gap: 4px; padding: 3px 14px; border-radius: 999px; background: linear-gradient(135deg, var(--es-accent) 0%, var(--es-accent-hover) 100%); color: #fff; font-size: 14px; font-weight: 600; line-height: 1.4; white-space: nowrap; box-shadow: 0 2px 8px rgba(0, 122, 255, .25); }
.hpp-ribbon svg { width: 16px; height: 16px; flex: none; }
.hpp-card.is-picked .hpp-ribbon { display: inline-flex; }
/* phones and tablets: a Free / Pro / Teams switch and one card, as on /plans */
@media (max-width: 860px) {
  .hpp { padding: 56px 18px; }
  .hpp-head { margin-bottom: 20px; }
  .hpp-pick { display: flex; width: 100%; max-width: 360px; margin: 0 auto 16px; }
  .hpp-pick button { flex: 1; height: 40px; font-size: 15px; }
  .hpp-cards { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .hpp-card:not(.is-shown) { display: none; }
}

/* the right arrow on "Try the demo" and "See the AI chatbot" (the nav's Dashboard arrow) */
.hp-arrow { flex: none; margin-left: 6px; vertical-align: -1px; transition: transform .15s ease; }
.hp-link:hover .hp-arrow { transform: translateX(2px); }
.hp-link { display: inline-flex; align-items: center; }
.hp-chat .wcl-actions { align-items: center; column-gap: 22px; }   /* a button and an underlined link, as in the hero */
@media (prefers-reduced-motion: reduce) { .hp-arrow { transition: none; } }

/* FAQ: heading left, the questions right as open/close rows (details), the first one open */
.hpf { max-width: 1120px; margin: 0 auto; padding: 96px 24px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.hpf-side { position: sticky; top: 110px; display: grid; gap: 14px; }
.hpf-side :is(h1, h2) { margin: 0; font-size: clamp(34px, 4.6vw, 52px); line-height: 1.08; font-weight: 600; color: var(--es-text); text-wrap: balance; }
.hpf-side p { margin: 0; font-size: 16px; color: var(--es-text-muted); }
.hpf a { color: var(--es-text); font-weight: 500; text-decoration: underline; text-decoration-color: var(--es-border-strong); text-underline-offset: 3px; }
.hpf-list { border-top: 1px solid var(--es-border); }
.hpf-item { border-bottom: 1px solid var(--es-border); }
.hpf-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; }
.hpf-item summary::-webkit-details-marker { display: none; }
.hpf-item h3 { margin: 0; font-size: 18px; line-height: 1.4; font-weight: 600; color: var(--es-text); }
.hpf-item summary svg { flex: none; color: var(--es-text-muted); transition: transform .2s ease; }
.hpf-item[open] summary svg { transform: rotate(45deg); }
.hpf-item summary:hover h3 { color: var(--es-accent); }
.hpf-item p { margin: -6px 0 0; padding: 0 40px 24px 0; max-width: 64ch; font-size: 16px; line-height: 1.65; color: var(--es-text-muted); }
@media (max-width: 860px) { .hpf { grid-template-columns: 1fr; gap: 28px; padding: 56px 18px; } .hpf-side { position: static; } .hpf-item p { padding-right: 0; } }
@media (prefers-reduced-motion: reduce) { .hpf-item summary svg { transition: none; } }

/* eskra.ai/faq: the same FAQ with every group (App\Support\Faq), a heading over each group */
.hpf-page { padding-top: 64px; }
.hpf-group { scroll-margin-top: 100px; }
.hpf-group + .hpf-group { margin-top: 56px; }
.hpf-group h2 { margin: 0 0 14px; font-size: 22px; line-height: 1.3; font-weight: 600; color: var(--es-text); }
@media (max-width: 860px) { .hpf-page { padding-top: 40px; } .hpf-group + .hpf-group { margin-top: 40px; } }

/* the hero glow: very subtle and only around the inbox (.hp-shot): a faint blue haze close around its top and sides.
   The rest of the hero is plain white. */
.hp-glow { position: relative; overflow: hidden; isolation: isolate; background: var(--es-bg); }
.hp-glow .hp-shot { position: relative; background: var(--es-bg); box-shadow: 0 -8px 70px -6px hsl(212 100% 62% / .25), 0 0 24px hsl(212 100% 70% / .1); }

/* the hero inbox is clickable: a click blurs it under a soft white veil with a Try the demo button */
.hp-shot { cursor: pointer; }
.hp-shot img { transition: filter .25s ease; }
.hp-shot-over { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; background: rgba(255, 255, 255, .25); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s; }
.hp-shot.is-open img { filter: blur(3px); }
.hp-shot.is-open .hp-shot-over { opacity: 1; visibility: visible; }
.hp-shot-over .hp-btn { gap: 8px; height: 44px; padding: 0 20px; border: 1px solid var(--es-border); border-radius: 999px; background: var(--es-bg); color: var(--es-text); box-shadow: 0 2px 10px rgba(17, 24, 39, .08); }
.hp-shot-over .hp-btn:hover { background: var(--es-bg); border-color: var(--es-border-strong); }
.hp-shot-over .hp-arrow { margin-left: 0; }
.hp-shot:focus-visible { outline: 2px solid var(--es-accent); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .hp-shot img, .hp-shot-over { transition: none; } }
.hpp-save { opacity: .55; transition: opacity .15s ease; }   /* quieter until Yearly is picked */
.hpp-seg button[aria-pressed="true"] .hpp-save { opacity: 1; }
.hp-shot img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }   /* the screenshot can't be dragged out or selected */

/* a soft blue glow behind the honeycomb, the same blue as the inbox glow */
.hp-hive { position: relative; isolation: isolate; }
.hp-hive::before { content: ""; position: absolute; inset: -14% -18%; z-index: -1; pointer-events: none; border-radius: 50%;
  background: radial-gradient(closest-side, hsl(212 100% 70% / .22), hsl(212 100% 75% / .1) 55%, transparent); filter: blur(12px); }
@media (max-width: 980px) { .hp-hive::before { inset: -30% -6%; } }
