/* web/ai-secretary-cost.html and ai-secretary-cost-he.html. Header and footer
   follow web/marketing/pricing.shell.html; the site is light-only, so these
   pages are too. Esek is the warm brand colour, competitors are grey and
   hatched. Layout uses logical properties only, so the Hebrew page needs no
   mirrored rules: bars fill from the start side and tables align to it. */
:root {
  color-scheme: light;
  --brand: #355f58;
  --brand-400: #52756d;
  --warm: #c46a2a;        /* brand warm: fills, the mark, controls */
  --warm-ink: #9e521c;    /* the same hue dark enough for text on cream (5.5:1) */
  --warm-soft: #f6e6d8;
  --ink: #242827;
  --ink-2: #555c5a;
  --ink-3: #737a77;
  --surface: #fbfaf6;
  --surface-1: #f0eee7;
  --surface-2: #e7e7df;
  --card: #ffffff;
  --hairline: #d9d7ce;
  --rival: #6b6f78;
  --maxw: 1180px;
  /* Esek mark and the pixelated "name withheld" tiles. */
  --mk-warm: #c46a2a; --mk-green: #355f58; --px-ground: #e4e2dc;
  --px-a: #2f5fa8; --px-a2: #1fa0b8; --px-b: #7a3fa0; --px-b2: #d0457a; --px-c: #1f6fb2; --px-c2: #e0a21e;
  --px-d: #2b8a7e; --px-d2: #3c4a5c; --px-e: #2e86de; --px-e2: #7fc4f5;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--surface); color: var(--ink); font-family: 'Inter', system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; }
html[dir="rtl"] body { font-family: 'Heebo', 'Inter', system-ui, -apple-system, sans-serif; }
/* Hebrew has no case, and tracking pulls its letters apart. */
html[dir="rtl"] .eyebrow, html[dir="rtl"] th, html[dir="rtl"] .group h3, html[dir="rtl"] .tag { letter-spacing: normal; text-transform: none; }
body { font-size: 16px; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--warm); outline-offset: 3px; }

/* site chrome, as on pricing.html */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 15px; white-space: nowrap; transition: transform .15s, box-shadow .2s, border-color .2s; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(0,0,0,0.18); }
.btn-ghost { color: var(--ink); border: 1px solid var(--hairline); background: #fff; }
.btn-ghost:hover { border-color: var(--ink); }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(217,215,206,0.7); }
.site-header__row { display: flex; align-items: center; justify-content: space-between; padding-block: 14px; gap: 16px; }
.logo { display: inline-flex; align-items: center; color: var(--ink); }
.logo-lockup { display: block; height: 28px; width: auto; flex-shrink: 0; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 14px; border-radius: 999px; color: var(--ink-2); font-weight: 500; font-size: 14.5px; }
.nav a:hover { color: var(--ink); background: var(--surface-1); }
.nav-cta { display: flex; gap: 8px; align-items: center; }
.nav-cta .btn { padding: 9px 16px; font-size: 14px; }
@media (max-width: 860px) { .nav { display: none; } }
.nav-lang { padding: 8px 6px; color: var(--ink-2); font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.nav-lang:hover { color: var(--ink); }
@media (max-width: 520px) {
  .site-header__row { gap: 8px; }
  .nav-cta { gap: 5px; }
  .nav-cta .btn { padding-inline: 8px; font-size: 13.5px; }
}
.site-footer { background: var(--ink); color: rgba(255,255,255,0.6); padding: 72px 0 36px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(2, 1fr); gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 440px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer .logo { color: #fff; margin-bottom: 12px; }
.site-footer p { font-size: 13.5px; line-height: 1.55; color: rgba(255,255,255,0.55); max-width: 280px; margin: 0; }
.site-footer h4 { color: #fff; font-size: 13px; font-weight: 700; margin: 0 0 14px; letter-spacing: -0.01em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer ul a { font-size: 13.5px; color: rgba(255,255,255,0.6); }
.site-footer ul a:hover { color: #fff; }
.site-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 32px; font-size: 12.5px; color: rgba(255,255,255,0.45); flex-wrap: wrap; }
.site-footer__bottom .badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.12); font-size: 11.5px; }
.site-footer__bottom .badge svg { width: 14px; height: 14px; color: #78af58; }

/* page: one reading column; verdict first, live calculator, then fixed scenarios, output, assumptions */
.wrap { max-width: 960px; margin: 0 auto; padding-inline: 24px; padding-block: 48px 72px; display: flex; flex-direction: column; gap: 48px; }
@media (max-width: 520px) { .wrap { padding-inline: 16px; padding-top: 32px; } }
h1, h2 { text-wrap: balance; margin: 0; }
h1 { font-size: clamp(32px, 5vw, 54px); font-weight: 800; line-height: 1.1; letter-spacing: -0.025em; margin-top: 10px; }
h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-400); }
.lede { font-size: 19px; color: var(--ink-2); max-width: 62ch; margin: 14px 0 0; }
.num { font-variant-numeric: tabular-nums; }
section { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.note { font-size: 14px; color: var(--ink-2); max-width: 68ch; margin: 0; }
.pricing-link { font-weight: 700; color: var(--brand); text-decoration: underline; text-underline-offset: 4px; }

/* calculator */
.calc { background: var(--card); border: 1px solid var(--hairline); border-radius: 16px; padding: 24px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 28px; }
@media (max-width: 720px) { .calc { grid-template-columns: minmax(0,1fr); padding: 18px; } }
.controls { display: flex; flex-direction: column; gap: 18px; }
.ctl { display: flex; flex-direction: column; gap: 6px; }
.ctl label { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; font-size: 15px; }
.ctl output { color: var(--warm-ink); font-variant-numeric: tabular-nums; }
input[type=range] { width: 100%; margin: 0; accent-color: var(--warm); }
.toggle { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.toggle input { width: 20px; height: 20px; margin: 0; accent-color: var(--warm); }
.derived { font-size: 14px; color: var(--ink-2); }
.result { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.bar { display: flex; flex-direction: column; gap: 6px; }
.bar .lab { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; }
.bar .lab span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.track { height: 14px; border-radius: 7px; background: var(--surface-2); overflow: hidden; }
.fill { height: 100%; border-radius: 7px; background: var(--ink-3); transition: width .3s ease; }
.fill.esek { background: var(--warm); }
.fill.rival { background: repeating-linear-gradient(135deg, var(--rival) 0 6px, transparent 6px 9px); }
@media (prefers-reduced-motion: reduce) { .fill { transition: none; } }
.verdict { background: var(--warm-soft); border-radius: 12px; padding: 14px 16px; font-weight: 700; }
.verdict b { color: var(--warm-ink); }
.verdict p { margin: 0; }
.verdict p + p { margin-top: 8px; font-weight: 500; }
.limits { font-size: 14px; margin: 0; padding: 10px 14px; border-inline-start: 3px solid var(--hairline); color: var(--ink-2); }
.group { display: flex; flex-direction: column; gap: 12px; padding-top: 14px; border-top: 1px solid var(--hairline); }
.group h3 { margin: 0; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); font-weight: 800; }
.win { font-weight: 700; font-size: 14px; color: var(--brand); margin: 0; }
.plan { font-size: 13px; color: var(--ink-2); }

/* tables: wide ones scroll inside their own frame, never the page */
.scroll { overflow-x: auto; border: 1px solid var(--hairline); border-radius: 14px; background: var(--card); }
table { width: 100%; border-collapse: collapse; min-width: 620px; }
table.wide { min-width: 820px; }
th, td { padding: 12px 14px; text-align: start; border-bottom: 1px solid var(--hairline); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
tbody td:first-child { min-width: 170px; }
th { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); font-weight: 700; }
td.r, th.r { text-align: end; font-variant-numeric: tabular-nums; white-space: nowrap; }
td.esek { color: var(--warm-ink); font-weight: 800; }
td small { display: block; color: var(--ink-2); font-size: 13px; font-weight: 400; }
.pill { display: inline-block; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 2px 8px; background: var(--warm-soft); color: var(--warm-ink); margin-inline-start: 6px; }

/* identity: Esek mark vs pixelated "name withheld" competitor tiles */
.who { display: inline-flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; flex-wrap: wrap; row-gap: 4px; }
.who svg { flex: none; width: 26px; height: 26px; image-rendering: pixelated; }
.who .mk { width: 24px; height: 21px; }
th .who svg { width: 20px; height: 20px; }
th .who .mk { width: 20px; height: 17px; }
th .who { gap: 6px; vertical-align: middle; flex-wrap: nowrap; }
.tag { font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; border: 1px solid currentColor; border-radius: 4px; padding: 0 5px; color: var(--rival); line-height: 16px; }
.tag.top { color: var(--brand); }
th.rival, td.rival { color: var(--rival); }
th.us { color: var(--warm-ink); }
ul.assume { margin: 0; padding-inline-start: 20px; display: flex; flex-direction: column; gap: 6px; max-width: 72ch; color: var(--ink-2); font-size: 15px; }
