/* Native Teams · hiring cost estimate (estimate.html). A document you fill in, share and print. Light brand only. */
:root {
  color-scheme: light;
  --ink: #16161d; --fg: #1d1d23; --muted: #5d5e66; --faint: #8a8b93;
  --line: #e6e7ec; --line-2: #cfd0d7; --soft: #f5f6f9; --white: #ffffff; --paper: #ffffff; --page: #f3f3f0;
  --brand: #ff2c55; --brand-d: #e3123c; --brand-soft: #ffe8ee; --brand-text: #b3002a;
  --ok: #0a7a3c; --ok-soft: #e7f4ec; --ded: #c6c7cf; --amber: #f5a623;
  --r-lg: 24px; --r-md: 16px; --r-sm: 10px;
  --shadow: 0 1px 2px rgba(22,22,29,.05), 0 20px 50px rgba(22,22,29,.10);
  --font: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px; --gut: 32px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--fg); font: 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a, summary, select, [role="radio"] { cursor: pointer; }
a { color: inherit; }
img { display: block; }
h1, h2 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; text-wrap: balance; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 12px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gut); }
.lede { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.6; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 999px;
       padding: 12px 20px; font-weight: 500; text-decoration: none; background: var(--white); color: var(--fg); white-space: nowrap;
       transition: background-color .15s, box-shadow .15s, transform .1s, border-color .15s; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-sm { padding: 9px 18px; font-size: 15px; }
.btn-block { width: 100%; padding: 15px 20px; font-size: 16px; }
.btn-brand { background: var(--brand); color: var(--white); box-shadow: 0 8px 20px rgba(255,44,85,.28); }
.btn-brand:hover { background: var(--brand-d); }
.btn-ink, .btn-primary { background: var(--ink); color: var(--white); }
.btn-ink:hover, .btn-primary:hover { background: #2c2c36; }
.btn-ghost { border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--fg); }
.btn-ghost.done { border-color: var(--ok); color: var(--ok); background: var(--ok-soft); }
.btn-talk { background: var(--brand); color: var(--white); }
.btn-talk:hover { background: var(--brand-d); }
.linkish, .link-btn { border: 0; background: none; padding: 0; color: var(--fg); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--brand); }

/* header */
.top { position: sticky; top: 0; z-index: 40; padding: 12px 0 4px; pointer-events: none; }
.top-in { pointer-events: auto; display: flex; align-items: center; gap: 16px; min-height: 60px; padding: 8px 8px 8px 24px; border-radius: 999px;
          background: rgba(255,255,255,.84); backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5);
          border: 1px solid rgba(22,22,29,.07); box-shadow: 0 12px 32px -20px rgba(22,22,29,.4); transition: background .3s, border-color .3s, box-shadow .3s; }
.logo-link { display: inline-flex; flex: none; } .logo { height: 18px; width: auto; transition: filter .3s; }
.top-r { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.top-ella { display: inline-flex; align-items: center; gap: 10px; padding: 5px 16px 5px 5px; border: 1px solid var(--line); border-radius: 999px; background: var(--white);
            font: inherit; color: var(--fg); cursor: pointer; transition: border-color .15s, background .3s, color .3s; }
.top-ella:hover { border-color: var(--brand); }
.top-ella-av { position: relative; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 99px; background: var(--brand-soft); color: var(--brand); }
.top-ella-av i { position: absolute; right: -1px; bottom: -1px; width: 10px; height: 10px; border-radius: 99px; background: #22c55e; border: 2px solid var(--white); }
.top-ella-t { display: grid; line-height: 1.15; text-align: left; } .top-ella-t b { font-size: 14px; font-weight: 600; } .top-ella-t small { font-size: 12px; color: var(--muted); }
.top .btn-brand { box-shadow: none; padding: 12px 20px; }
/* After the hero: the bar turns dark and carries the live figure */
.top-live { display: none; align-items: center; gap: 10px; margin-left: 20px; padding-left: 20px; border-left: 1px solid rgba(255,255,255,.14); color: var(--white); text-decoration: none; }
.top-live .cc { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 99px; background: var(--brand); color: var(--white); font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.top-live-t { display: grid; line-height: 1.15; } .top-live-t small { font-size: 12px; color: #a9aab3; } .top-live-t b { font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.top-live-t em { font-style: normal; font-weight: 400; font-size: 13px; color: #a9aab3; }
body.past-hero .top-in { background: rgba(22,22,29,.94); border-color: rgba(255,255,255,.08); box-shadow: 0 16px 40px -18px rgba(22,22,29,.7); }
body.past-hero .logo { filter: brightness(0) invert(1); }
body.past-hero.has-estimate .top-live { display: inline-flex; animation: top-in .35s ease-out; }
body.past-hero .top-ella { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: var(--white); }
body.past-hero .top-ella-t small { color: #a9aab3; } body.past-hero .top-ella-av i { border-color: var(--ink); }
@keyframes top-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .top-in, .logo, .top-ella { transition: none; } body.past-hero.has-estimate .top-live { animation: none; } }
@media (max-width: 900px) { .top-ella-t { display: none; } .top-ella { padding: 5px; } }
@media (max-width: 640px) {
  .top { padding: 8px 0 2px; } .top-in { min-height: 52px; padding: 6px 6px 6px 18px; } .logo { height: 16px; }
  .top-ella, .top-live { display: none !important; } .top .btn-brand { padding: 10px 16px; font-size: 14px; }
}
.g2 { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; color: var(--muted); } .g2 b { color: var(--fg); }

/* layout: lead + sheet + rail */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px 40px; padding-top: 40px; padding-bottom: 72px; align-items: start; }
/* hero band: copy left, live comparison right */
.hero { grid-column: 1 / -1; position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px 56px; align-items: center;
        margin-bottom: 16px; padding: 52px 56px; border-radius: var(--r-lg); background: var(--ink); color: var(--white); }
.hero::before { content: ""; position: absolute; right: -160px; top: -200px; width: 560px; height: 560px; border-radius: 99px; pointer-events: none;
                background: radial-gradient(circle, rgba(255,44,85,.55) 0%, rgba(255,44,85,0) 68%); }
.hero::after { content: ""; position: absolute; left: -200px; bottom: -260px; width: 520px; height: 520px; border-radius: 99px; pointer-events: none;
               background: radial-gradient(circle, rgba(120,110,255,.28) 0%, rgba(120,110,255,0) 68%); }
.hero > * { position: relative; z-index: 1; }
.hero-copy { display: grid; gap: 18px; }
.kicker { margin: 0; display: inline-flex; align-items: center; gap: 8px; color: #c9cad3; font-size: 14px; font-weight: 500; }
.kicker-dot { width: 8px; height: 8px; border-radius: 99px; background: var(--brand); box-shadow: 0 0 0 0 rgba(255,44,85,.5); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,44,85,.45); } 70% { box-shadow: 0 0 0 10px rgba(255,44,85,0); } 100% { box-shadow: 0 0 0 0 rgba(255,44,85,0); } }
.kicker-sep { color: #5a5b66; }
.hero h1 { color: var(--white); font-size: clamp(34px, 4.2vw, 54px); line-height: 1.05; letter-spacing: -.025em; max-width: 13em; }
.hero .lede { color: #c9cad3; max-width: 52ch; font-size: 17px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.btn-lg { padding: 16px 26px; font-size: 17px; }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.lead-proof { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: #c9cad3; }
.lead-proof li { display: inline-flex; align-items: center; gap: 8px; }
.lead-proof svg { color: var(--brand); flex: none; }

.glance { background: var(--white); color: var(--fg); border-radius: 22px; padding: 24px 26px 22px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; box-shadow: 0 30px 80px rgba(0,0,0,.35); min-width: 0; }   /* minmax(0): long figures (COP) shrink to fit instead of widening the card */
.gl-t { margin: 0; font-size: 14px; color: var(--muted); }
.gl-t b { color: var(--brand-text); font-weight: 600; }
body.is-example .gl-big b { color: #3b3c45; }
body.is-example .mbar-total { display: none; }
body.is-example .mbar .btn-brand { flex: 1; }
.gl-big { margin: 2px 0 0; }
.gl-big b { font-size: clamp(44px, 4.6vw, 60px); line-height: 1; font-weight: 700; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.gl-sub { margin: 0; font-size: 14px; color: var(--muted); }
.gl-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin-top: 14px; }
.gl-row > div { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--soft); min-width: 0; }
.gl-row span { font-size: 12px; color: var(--muted); }
.gl-row b { font-size: 20px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.gl-row > div:first-child b { color: var(--ok); }
.glance .bar { height: 10px; margin-top: 14px; }
.gl-note { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.gl-note b { color: var(--fg); font-weight: 600; }
.gl-note a { color: var(--fg); font-weight: 500; text-decoration-color: var(--brand); text-underline-offset: 3px; }
.sheet { scroll-margin-top: 84px; }
/* empty state: no estimate until a salary is typed */
body:not(.has-estimate) .gl-row, body:not(.has-estimate) .glance .bar, body:not(.has-estimate) .gl-note { display: none; }
body:not(.has-estimate) .gl-big { display: none; }
body:not(.has-estimate) .gl-sub { font-size: 15px; color: var(--fg); font-weight: 500; }
body:not(.has-estimate) .mbar-total { display: none; }
body:not(.has-estimate) .mbar .btn-brand { flex: 1; }
body:not(.has-estimate) .fig-v { color: var(--line-2); }
body:not(.has-estimate) .fig.main .fig-v { color: #5a5b66; }
.sheet, .glance { -webkit-user-select: none; user-select: none; }
.sheet input, .sheet select, .sheet textarea { -webkit-user-select: text; user-select: text; }

/* the sheet */
.sheet { background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 40px 48px 36px; display: grid; gap: 36px; min-width: 0; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.sheet-head img { height: 14px; width: auto; }
.sheet-meta { display: grid; justify-items: end; gap: 2px; font-size: 13px; color: var(--muted); text-align: right; }
.sheet-meta span:first-child { font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 12px; color: var(--fg); }
.sec-t { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 18px; }
.sheet-form, .sheet-cost, .sheet-lines { display: block; }

/* fields look like lines on a form, but are real controls */
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 32px; }
.f { display: grid; gap: 6px; align-content: start; position: relative; min-width: 0; }
.f-label { font-size: 13px; font-weight: 500; color: var(--muted); }
.f-input { width: 100%; height: 50px; border: 0; border-bottom: 2px solid var(--line-2); border-radius: 0; background: none; padding: 8px 0; font-size: 19px; font-weight: 500; color: var(--ink); outline: 0; transition: border-color .15s; }
.f-input::placeholder { color: var(--line-2); font-weight: 400; }
.f-input:hover { border-bottom-color: var(--faint); }
.f-input:focus, .f-input:focus-within { border-bottom-color: var(--brand); }
.f-input:focus-visible { outline: 0; }
select.f-input { appearance: none; -webkit-appearance: none; padding-right: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d5e66' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 2px center / 18px no-repeat; }
.f-pick { display: flex; align-items: center; gap: 10px; text-align: left; }
.f-pick .cc { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 99px; background: var(--brand); color: var(--white); font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.f-pick-v { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.f-pick-cur { font-size: 14px; font-weight: 400; color: var(--faint); }
.f-pick .chev { color: var(--muted); transition: transform .2s; }
.f-pick[aria-expanded="true"] .chev { transform: rotate(180deg); }
.f-money { display: flex; align-items: center; gap: 10px; min-width: 0; }
.f-money .cur { font-size: 14px; font-weight: 500; color: var(--faint); }
.f-money input { flex: 1; width: 0; min-width: 0; border: 0; outline: 0; background: none; padding: 0; font: inherit; color: var(--ink); font-variant-numeric: tabular-nums; }
.f-money input::placeholder { color: var(--line-2); font-weight: 400; }
.f-money .segmented { display: inline-flex; flex: none; gap: 2px; padding: 3px; border-radius: 999px; background: var(--soft); font-size: 13px; }
.f-money .segmented button { border: 0; background: none; border-radius: 999px; padding: 5px 10px; font-weight: 500; color: var(--muted); }
.segmented button[aria-checked="true"], .segmented button[aria-selected="true"] { background: var(--white); color: var(--fg); box-shadow: 0 1px 3px rgba(22,22,29,.12); }
.role-pop { position: absolute; top: calc(100% - 4px); left: 0; right: 0; z-index: 25; max-height: 300px; overflow: auto; padding: 6px;
            background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 48px rgba(22,22,29,.16); display: grid; gap: 2px; }
.role-opt { width: 100%; text-align: left; border: 0; background: none; border-radius: 9px; padding: 9px 12px; font-size: 15px; color: var(--fg); }
.role-opt mark { background: none; color: var(--brand-text); font-weight: 600; }
.role-opt:hover, .role-opt[aria-selected="true"] { background: var(--soft); }
.f-print { display: none; }
.f-hint, .f-err { margin: 0; font-size: 13px; line-height: 1.45; color: var(--faint); }
#geo-hint { grid-column: 1 / -1; }
.f-err { color: #c0213b; }
.f-hint.warn { color: #c0213b; font-weight: 500; } .f-hint.warn .link-btn { color: inherit; font: inherit; cursor: pointer; text-decoration-color: currentColor; white-space: nowrap; }
.f-hint:empty, .f-err:empty { display: none; }
.amount-need { margin-top: 6px; font-weight: 500; } .amount-need[hidden] { display: none; } .amount-need .link-btn { color: inherit; font: inherit; cursor: pointer; text-decoration-color: currentColor; }
.f-money.is-needed { border-bottom-color: #c0213b; }
.popular-row { margin-top: 18px; }
.popular { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.popular-label { font-size: 13px; color: var(--faint); margin-right: 2px; }
.chip { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 5px 13px; font-size: 14px; color: var(--fg); }
.chip:hover { border-color: var(--fg); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.picker { position: relative; }
/* country popover inherits nothing from the giant sentence */
.picker-pop { position: absolute; top: calc(100% + 8px); left: 0; z-index: 30; width: min(360px, calc(100vw - 32px)); padding: 10px;
              font: 400 15px/1.4 var(--font); letter-spacing: 0; color: var(--fg); background: var(--white); border: 1px solid var(--line);
              border-radius: 20px; box-shadow: 0 24px 60px rgba(22,22,29,.18); display: grid; gap: 8px; }
.picker-search { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 12px; color: var(--faint); }
.picker-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 16px; color: var(--fg); }
.picker-list { max-height: 320px; overflow: auto; display: grid; gap: 2px; outline: none; }
.opt-group { padding: 10px 8px 4px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--faint); }
.opt { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 8px; border: 0; border-radius: 10px; background: none; text-align: left; }
.opt:hover, .opt:focus-visible { background: var(--soft); outline: 0; }
.opt[aria-selected="true"] { background: var(--brand-soft); font-weight: 500; }
.opt .cc { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 99px; background: var(--soft); font-size: 10px; font-weight: 600; }
.opt-name { flex: 1; } .opt-cur { font-size: 13px; color: var(--faint); }
.picker-empty { margin: 0; padding: 10px 8px; color: var(--muted); font-size: 14px; }


.tune { margin-top: 20px; }
/* Personal tax details: a tinted, clearly clickable card (it was easy to miss as a white box on the white sheet) */
.tune { margin-top: 8px; border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--soft); transition: border-color .15s, background .15s; }
.tune:hover, .tune[open] { border-color: var(--brand); }
.tune[open] { background: var(--white); }
.tune summary { list-style: none; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 16px; cursor: pointer; }
.tune summary::-webkit-details-marker { display: none; }
.tune summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: var(--r-md); }
.tune-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-text); }
.tune-t { display: grid; gap: 2px; min-width: 0; }
.tune-t b { font-size: 15px; font-weight: 600; color: var(--ink); }
.tune-t small { font-size: 13px; line-height: 1.45; color: var(--muted); }
.tune-act::before { content: "Add details  +"; white-space: pre; display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 99px;
  background: var(--white); border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; color: var(--brand-text); }
.tune:hover .tune-act::before { border-color: var(--brand); }
.tune[open] .tune-act::before { content: "Hide  −"; }
.params { display: grid; gap: 18px; padding: 0 18px 18px; }
.param { display: grid; gap: 8px; }
.param .label, .param label { font-size: 14px; font-weight: 500; }
.param .hint { margin: 0; font-size: 13px; color: var(--faint); }
.opt-chips { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 6px; }
.opt-chip { border: 1px solid var(--line); background: var(--white); border-radius: 10px; padding: 8px 6px; font-size: 14px; font-weight: 500; }
.opt-chip:hover { border-color: var(--fg); }
.opt-chip[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.choice { margin: 0; font-size: 13px; color: var(--muted); }
.stepper { display: inline-flex; align-items: center; gap: 4px; justify-self: start; border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.stepper button { width: 34px; height: 34px; border: 0; border-radius: 99px; background: var(--soft); font-size: 18px; }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper output { min-width: 28px; text-align: center; font-weight: 600; }
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.switch { position: relative; flex: none; width: 46px; height: 28px; border: 0; border-radius: 99px; background: var(--line-2); padding: 0; transition: background-color .2s; }
.switch i { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 99px; background: var(--white); box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
.switch[aria-checked="true"] { background: var(--brand); }
.switch[aria-checked="true"] i { transform: translateX(18px); }
.suffix-input { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 0 12px; }
.suffix-input input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 10px 0; background: none; }
.suffix-input span { color: var(--faint); }


/* figures */
.figures { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 14px; }
.fig { display: grid; gap: 4px; align-content: start; padding: 20px; border-radius: var(--r-md); background: var(--soft); min-width: 0; }
.fig.main { background: var(--ink); color: var(--white); }
.fig-l { font-size: 13px; font-weight: 500; color: var(--muted); }
.fig.main .fig-l { color: #b7b8c2; }
.fig-v { font-size: clamp(22px, 2.3vw, 28px); line-height: 1.1; white-space: nowrap; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.fig.main .fig-v { font-size: clamp(36px, 4vw, 48px); }
.fig-v.ok { color: var(--ok); }
.fig-n { font-size: 13px; line-height: 1.45; color: var(--muted); }
.fig.main .fig-n { color: #b7b8c2; }
.bar { display: flex; gap: 3px; height: 12px; margin-top: 20px; }
.seg { flex: 1 1 0; min-width: 0; border-radius: 99px; transition: flex-grow .6s cubic-bezier(.2,.8,.2,1); }
.seg.net { background: var(--ink); } .seg.ded { background: var(--ded); } .seg.emp { background: var(--brand); }
.legend { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14px; color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 10px; height: 10px; border-radius: 99px; }
.legend .net i { background: var(--ink); } .legend .ded i { background: var(--ded); } .legend .emp i { background: var(--brand); }
.legend b { color: var(--fg); font-weight: 600; font-variant-numeric: tabular-nums; }

/* the breakdown card (built by widget.js) */
.est { display: grid; gap: 18px; }
.est .tiles, .est .split { display: none; }
.est-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.est-title { font-size: 18px; font-weight: 600; }
.segmented { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--soft); }
.segmented button { border: 0; background: none; border-radius: 999px; padding: 7px 14px; font-size: 14px; font-weight: 500; color: var(--muted); }
.segmented button[aria-checked="true"], .segmented button[aria-selected="true"] { background: var(--white); color: var(--fg); box-shadow: 0 1px 3px rgba(22,22,29,.12); }
.slip { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.slip-head { display: flex; justify-content: space-between; padding: 12px 20px; background: var(--soft); font-size: 13px; color: var(--muted); }
.ln { display: flex; justify-content: space-between; gap: 16px; padding: 12px 20px; border-top: 1px solid var(--line); font-size: 15px; }
.lines > .line-list > .ln:first-child { border-top: 0; }
.ln-label { min-width: 0; }
.ln-m, .ln-y { white-space: nowrap; font-variant-numeric: tabular-nums; }
.lines[data-basis="month"] .ln-y, .lines[data-basis="year"] .ln-m { display: none; }
.ln-meter { display: none; }
.ln.item .ln-label { color: var(--muted); padding-left: 10px; }
.ln.section { padding-top: 16px; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--faint); }
.ln.total { font-weight: 500; }
.ln.net, .ln.net .ln-m, .ln.net .ln-y { color: var(--ok); font-weight: 600; background: var(--ok-soft); }
.ln.er-toggle { width: 100%; border: 0; border-top: 1px solid var(--line); background: var(--white); text-align: left; font-weight: 500; color: var(--fg); }
.ln.er-toggle .ln-label { display: inline-flex; align-items: center; gap: 8px; padding-left: 0; color: var(--fg); }
.ln.er-toggle .ln-label::before { content: "+"; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 6px; background: var(--brand-soft); color: var(--brand-text); font-weight: 600; }
.ln.er-toggle[aria-expanded="true"] .ln-label::before { content: "−"; }
.ln.grandtotal { background: var(--ink); color: var(--white); font-weight: 600; font-size: 16px; padding: 16px 20px; }
.slip-more { display: none; }
.est-note { margin: 0; font-size: 13px; line-height: 1.55; color: var(--faint); }
.est-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.est-actions .downloads { display: flex; flex-wrap: wrap; gap: 10px; }
.est-actions .downloads .btn:not(.btn-ink) { border-color: var(--line-2); }
.est-actions .grow { flex: 1 1 0; }
.skeleton { display: grid; gap: 1px; }
.sk-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 20px; }
.sk-row i { height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--soft), #ebecf1, var(--soft)); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
.sk-row i:first-child { width: 45%; } .sk-row i:nth-child(2) { width: 18%; } .sk-row i:nth-child(3) { display: none; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* email sheet (HubSpot) */
.mail-sheet { border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; display: grid; gap: 10px; background: var(--soft); }
.mail-sheet h4 { margin: 0; font-size: 16px; }
.mail-row { display: flex; gap: 8px; }
.mail-row input { flex: 1; min-width: 0; border: 1px solid var(--line-2); border-radius: 999px; padding: 11px 16px; background: var(--white); font-size: 16px; }
.consent { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.consent input { accent-color: var(--brand); margin-top: 3px; }
.mail-msg { margin: 0; font-size: 14px; } .mail-msg:empty { display: none; }
.mail-msg.good { color: var(--ok); } .mail-msg.bad { color: #c0213b; }
.fine { margin: 0; font-size: 13px; color: var(--faint); }


.est .est-head .est-title { display: none; }
.est .est-head { justify-content: flex-end; }
.est .est-actions { display: none; }
.sheet-cta { display: none; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); }
body.has-estimate:not(.is-example) .sheet-cta { display: flex; }
.sheet-cta-t { display: grid; gap: 4px; flex: 1 1 260px; } .sheet-cta-t b { font-size: 17px; font-weight: 600; } .sheet-cta-t span { font-size: 14px; line-height: 1.5; color: var(--muted); }
.sheet-cta-btns { display: flex; gap: 10px; flex-wrap: wrap; } .sheet-cta-btns .btn { white-space: nowrap; }
@media (max-width: 640px) { body.has-estimate:not(.is-example) .sheet-cta { display: none; } }
.sheet-foot { padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.sheet-foot p { margin: 0; font-size: 12.5px; line-height: 1.55; color: var(--faint); }
.sheet-url { display: none; }

/* rail */
.rail { position: sticky; top: 90px; display: grid; gap: 16px; }
.rail-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; display: grid; gap: 12px; }
.rail-card h2 { font-size: 17px; }
.rail-note { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.rail-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rail-btns .btn { padding: 11px 10px; font-size: 14px; }
.rail-fine { margin: 0; font-size: 12.5px; color: var(--faint); line-height: 1.5; }
.rail-fine a { color: var(--muted); }
.dl-form { display: grid; gap: 12px; }
.dl-field { display: grid; gap: 4px; }
.dl-field label { font-size: 13px; font-weight: 500; color: var(--muted); }
.dl-field input { height: 46px; border: 1px solid var(--line-2); border-radius: 12px; padding: 0 14px; font-size: 16px; background: var(--white); outline: 0; }
.dl-field input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.dl-field input::placeholder { color: var(--line-2); }
.dl-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.dl-consent input { accent-color: var(--brand); margin-top: 3px; }
.dl-msg { margin: 0; font-size: 14px; text-align: center; } .dl-msg:empty { display: none; }
.dl-msg.bad { color: #c0213b; }
.rail-fine a { color: var(--fg); font-weight: 500; }

/* download dialog: one focused step */
/* Email switched off: no "email me this" entry points (ADR-007) */
body.no-email #dl-open, body.no-email .rail-card.actions .rail-note, body.no-email #mbar-get, body.no-email .sheet-cta #sheet-dl { display: none !important; }

/* "Other country (not listed)" pop-up: dotted map, search, entity card → Book a free call */
.opt-other { margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; padding-top: 12px; color: var(--brand-text); font-weight: 500; }
.opt-other .cc { background: var(--brand-soft); color: var(--brand-text); }
.oth { width: min(1240px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: auto; border: 0; border-radius: var(--r-lg); background: var(--ink); color: var(--white); padding: 56px 0 48px; overflow: auto; }
.oth::backdrop { background: rgba(22,22,29,.6); backdrop-filter: blur(3px); }
.oth[open] { animation: oth-in .28s cubic-bezier(.2,.9,.3,1); }
@keyframes oth-in { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
.oth::before { content: ""; position: absolute; top: -20%; right: -10%; width: 60%; height: 90%; background: radial-gradient(closest-side, rgba(255,44,85,.22), transparent); pointer-events: none; }
.oth-close { position: absolute; top: 16px; right: 16px; z-index: 2; width: 42px; height: 42px; border: 0; border-radius: 99px; background: rgba(255,255,255,.12); color: var(--white); display: grid; place-items: center; }
.oth-close:hover { background: rgba(255,255,255,.22); }
.oth-in { padding: 0 40px; position: relative; }
.oth-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: #c9c9d1; }
.oth-kicker i { width: 7px; height: 7px; border-radius: 99px; background: var(--brand); }
.oth-in h2 { font-size: clamp(28px, 3.4vw, 42px); margin: 10px 0; max-width: 760px; }
.oth-lede { margin: 0; color: #c9c9d1; max-width: 640px; }
.oth-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; margin-top: 28px; align-items: start; }
.oth-map-wrap { position: relative; min-height: 120px; }
.oth-map { width: 100%; height: auto; display: block; }
.oth-map circle { fill: rgba(255,255,255,.13); transition: fill .15s; cursor: pointer; }
.oth-map circle.ent { fill: rgba(255,44,85,.62); }
.oth-map circle.calc { fill: #ff6f8c; }
.oth-map circle.hot { fill: #fff; }
.oth-map circle.sel { fill: #ffd2dc; }
.oth-tip { position: absolute; pointer-events: none; transform: translate(-50%, -130%); background: var(--white); color: var(--ink); font-size: 13px; font-weight: 500; padding: 5px 10px; border-radius: 8px; white-space: nowrap; box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.oth-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px; font-size: 13px; color: #c9c9d1; }
.oth-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 99px; margin-right: 7px; vertical-align: 1px; background: rgba(255,255,255,.25); }
.oth-legend i.ent { background: rgba(255,44,85,.62); } .oth-legend i.calc { background: #ff6f8c; }
.oth-search { position: relative; }
.oth-search input { width: 100%; height: 50px; border-radius: 99px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: var(--white); padding: 0 18px 0 46px; font-size: 16px; outline: 0; }
.oth-search input::placeholder { color: #8f909a; }
.oth-search input:focus { border-color: var(--brand); }
.oth-search > svg { position: absolute; left: 17px; top: 16px; color: #8f909a; }
.oth-sugg { position: absolute; left: 0; right: 0; top: 56px; z-index: 5; background: var(--white); color: var(--ink); border-radius: var(--r-md); padding: 6px; box-shadow: 0 12px 30px rgba(0,0,0,.35); max-height: 260px; overflow: auto; }
.oth-sugg button { width: 100%; display: flex; justify-content: space-between; gap: 10px; border: 0; background: none; padding: 9px 10px; border-radius: 10px; text-align: left; font-size: 15px; }
.oth-sugg button:hover, .oth-sugg button:focus-visible { background: var(--soft); }
.oth-sugg small { color: var(--faint); }
.oth-card { margin-top: 16px; background: var(--white); color: var(--fg); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 12px; }
.oth-card.empty { border: 1px dashed rgba(255,255,255,.25); background: none; color: #c9c9d1; }
.oth-card.empty p { color: #c9c9d1; }
.oth-card-h { display: flex; align-items: center; gap: 12px; }
.oth-card-h .cc { width: 34px; height: 34px; flex: none; border-radius: 99px; display: grid; place-items: center; background: var(--brand); color: var(--white); font-size: 12px; font-weight: 600; }
.oth-card-h h3 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.oth-tag { justify-self: start; font-size: 12px; font-weight: 500; padding: 3px 10px; border-radius: 99px; background: var(--soft); color: var(--muted); }
.oth-tag.ent { background: var(--brand-soft); color: var(--brand-text); } .oth-tag.calc { background: var(--ok-soft); color: var(--ok); }
.oth-card dl { margin: 0; display: grid; gap: 8px; font-size: 14px; }
.oth-card dt { font-size: 12px; color: var(--faint); font-weight: 500; }
.oth-card dd { margin: 0; overflow-wrap: anywhere; }
.oth-card p { margin: 0; font-size: 15px; color: var(--muted); }
.oth-card .btns { display: grid; gap: 8px; margin-top: 4px; }
.oth-card a.guide { font-size: 14px; color: var(--muted); }
.oth-list-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 44px 0 14px; }
.oth-list-h h3 { margin: 0; font-size: 20px; font-weight: 600; }
.oth-list-h .linkish { color: #c9c9d1; }
.oth-ents { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.oth-ents button { width: 100%; text-align: left; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); color: var(--white); border-radius: 14px; padding: 12px 14px; display: grid; gap: 2px; }
.oth-ents button:hover { border-color: rgba(255,44,85,.6); background: rgba(255,44,85,.08); }
.oth-ents b { font-weight: 500; font-size: 15px; } .oth-ents span { font-size: 12.5px; color: #a9aab3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oth-notlisted { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 18px 22px; border-radius: var(--r-md); background: rgba(255,255,255,.06); }
.oth-notlisted p { margin: 0; flex: 1 1 280px; color: #e5e5ea; }
@media (max-width: 900px) { .oth-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .oth { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; border-radius: 0; padding: 56px 0 40px; }
  .oth-in { padding: 0 16px; } .oth-legend { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .oth[open] { animation: none; } }

/* "See how it works" pill in the hero and its video player */
.demo-pill { justify-self: start; display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; padding: 6px 14px 6px 6px; border: 1px solid rgba(255,255,255,.18);
             border-radius: 99px; background: rgba(255,255,255,.06); color: var(--white); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer;
             transition: background .15s, border-color .15s; }
.demo-pill[hidden] { display: none; }
.demo-pill:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); }
.demo-play { width: 28px; height: 28px; border-radius: 99px; display: grid; place-items: center; background: var(--brand); color: var(--white); padding-left: 2px; }
.demo-len { color: #a9aab3; font-weight: 400; }
.demo-dlg { width: min(960px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: var(--r-lg); background: var(--ink); color: var(--white); overflow: visible; }
.demo-dlg::backdrop { background: rgba(22,22,29,.7); backdrop-filter: blur(3px); }
.demo-close { position: absolute; top: -48px; right: 0; background: rgba(255,255,255,.14); color: var(--white); }
.demo-close:hover { background: rgba(255,255,255,.26); }
.demo-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg) var(--r-lg) 0 0; overflow: hidden; background: #000; }
.demo-frame video { display: block; width: 100%; height: 100%; object-fit: contain; }
.demo-end { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 24px; text-align: center;
            background: rgba(22,22,29,.82); backdrop-filter: blur(2px); }
.demo-end[hidden] { display: none; }
.demo-end p { margin: 0; font-size: 18px; font-weight: 500; }
.demo-replay { color: #c9c9d1; font-size: 14px; cursor: pointer; text-decoration-color: rgba(255,255,255,.4); }
.demo-steps { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 14px 20px 16px 40px; font-size: 14px; color: #c9c9d1; }
.demo-steps li::marker { color: var(--brand); font-weight: 600; }
@media (max-width: 640px) {
  .demo-pill { margin-top: 4px; }
  .demo-dlg { width: 100vw; max-width: 100vw; max-height: 100dvh; border-radius: 0; margin: auto 0; }
  .demo-frame { border-radius: 0; }
  .demo-close { top: auto; bottom: calc(100% + 10px); right: 12px; }
  .demo-steps { flex-direction: column; padding-left: 36px; }
}
.dl-dialog { width: min(500px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: var(--r-lg); background: var(--white); color: var(--fg); overflow: visible; }
.dl-dialog::backdrop { background: rgba(22,22,29,.55); backdrop-filter: blur(3px); }
.dl-close { position: absolute; top: 14px; right: 14px; }
.dl-body { padding: 30px 32px 28px; display: grid; gap: 16px; }
.dl-body h2 { font-size: 26px; line-height: 1.15; }
.dl-kicker { margin: 0; font-size: 13px; color: var(--muted); }
.dl-kicker .sep { margin: 0 6px; color: var(--line-2); }
.dl-kicker .stars { color: var(--amber); letter-spacing: 1px; margin-right: 2px; }
.dl-body h2 span { color: var(--brand-text); }
.dl-gets { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; line-height: 1.45; color: var(--muted); }
.dl-gets li { display: flex; gap: 10px; align-items: flex-start; }
.dl-gets li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 99px; background: var(--ok-soft)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%230a7a3c' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.dl-gets b { color: var(--fg); font-weight: 600; }
.dl-row { display: grid; grid-template-columns: minmax(0, 130px) minmax(0, 1fr); gap: 10px; }
.dl-recap { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--soft); }
.dl-recap div { display: grid; gap: 1px; min-width: 0; }
.dl-recap b { font-weight: 600; font-size: 15px; }
.dl-recap span { font-size: 13.5px; color: var(--muted); }
.dl-file { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--white); color: var(--brand); }
.dl-form { gap: 14px; }
.dl-field input { height: 50px; font-size: 17px; }
.dl-fine { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--faint); text-align: center; }
.dl-fine a { color: var(--muted); }
.dl-done { text-align: center; justify-items: center; gap: 10px; padding-top: 40px; }
.dl-tick { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 99px; background: var(--ok-soft); color: var(--ok); margin-bottom: 4px; }
.dl-done p { margin: 0; color: var(--muted); }
.dl-next { width: 100%; margin-top: 14px; padding: 18px; border-radius: 16px; background: var(--soft); display: grid; gap: 8px; justify-items: center; text-align: center; }
.dl-next b { font-weight: 600; }
.dl-next span { font-size: 14px; line-height: 1.5; color: var(--muted); }
.dl-next .btn { margin-top: 6px; }
.dl-next .linkish { font-size: 14px; color: var(--muted); text-decoration-color: var(--line-2); }
.steps ol { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 2px 12px; }
.steps li::before { content: counter(s); grid-row: 1 / span 2; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 99px; background: var(--brand-soft); color: var(--brand-text); font-size: 13px; font-weight: 600; }
.steps b { font-weight: 600; font-size: 15px; }
.steps span { font-size: 14px; line-height: 1.5; color: var(--muted); }
.proof { gap: 14px; }
.proof-row { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center; }
.proof-row b { display: inline-flex; align-items: center; gap: 4px; font-size: 28px; line-height: 1; font-weight: 700; letter-spacing: -.03em; }
.proof-row b img { width: 18px; height: 18px; }
.proof-row span { font-size: 13px; line-height: 1.45; color: var(--muted); }
.ella-card { gap: 12px; }
.ella-av { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 99px; background: var(--brand-soft); color: var(--brand); }
.ella-txt { display: grid; gap: 4px; }
.ella-txt b { font-size: 15px; font-weight: 600; }
.ella-txt span { font-size: 13.5px; line-height: 1.5; color: var(--muted); }

/* FAQ */
.faq-wrap-outer { padding-bottom: 96px; }
.faq { position: relative; margin: 48px calc(50% - 50vw) 0; padding: 72px 0 80px; background: linear-gradient(180deg, #fff6f8, var(--page)); border-top: 1px solid #ffd9e2; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 48px 64px; align-items: start; }
.faq-intro { display: grid; gap: 14px; }
@media (min-width: 1100px) { .faq-intro { position: sticky; top: 92px; } }
.faq .eyebrow { margin: 0; color: var(--brand-text); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.faq h2 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -.02em; line-height: 1.08; }
.faq .lede { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.faq-ella { margin-top: 8px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); text-align: left; font: inherit; color: var(--fg); cursor: pointer; box-shadow: 0 1px 2px rgba(22,22,29,.04); transition: border-color .15s, transform .15s; }
.faq-ella:hover { border-color: var(--brand); transform: translateY(-1px); }
.faq-ella span:nth-child(2) { display: grid; gap: 2px; } .faq-ella b { font-weight: 600; } .faq-ella small { color: var(--muted); font-size: 13px; }
.faq-ella-arrow { color: var(--brand); }
.faq-list { display: grid; gap: 10px; }
.faq-list details { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 0 20px; transition: border-color .15s, box-shadow .15s; }
.faq-list details[open] { border-color: #ffbdcb; box-shadow: 0 8px 24px -16px rgba(255,44,85,.35); }
.faq-list summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 18px 0; font-size: 17px; font-weight: 500; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-n { flex: none; font-size: 12px; font-weight: 700; color: var(--brand-text); letter-spacing: .06em; width: 26px; }
.faq-list summary::after { content: "+"; flex: none; margin-left: auto; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 99px; background: var(--soft); font-size: 20px; font-weight: 400; color: var(--fg); transition: transform .2s, background .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); background: var(--brand-soft); color: var(--brand-text); }
.faq-list p { margin: 0 0 20px 40px; color: var(--muted); line-height: 1.65; max-width: 62ch; }
@media (max-width: 1023px) { .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
@media (max-width: 640px) { .faq { padding: 48px 0 56px; } .faq-intro { position: static; } .faq-list summary { font-size: 15px; padding: 15px 0; } .faq-list p { margin-left: 0; } }

/* footer */
.foot { background: var(--ink); color: #c9c9d1; padding: 0 0 36px; font-size: 14px; }
.foot-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 36px; padding: 26px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.foot-logos > span { font-size: 13px; color: #8a8b93; white-space: nowrap; }
.foot-logos .logos { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 36px; }
.foot-logos img { height: 22px; width: auto; max-width: 110px; opacity: .55; filter: grayscale(1) brightness(10); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, .8fr); gap: 40px 56px; padding: 44px 0 36px; }
.foot-brand { display: grid; gap: 14px; align-content: start; } .foot-brand img { height: 16px; width: auto; filter: brightness(10); }
.foot-brand p { margin: 0; line-height: 1.6; max-width: 46ch; }
.foot .g2 { color: #c9c9d1; } .foot .g2 b { color: var(--white); }
.foot-col { display: grid; gap: 10px; align-content: start; } .foot-col b { color: var(--white); font-weight: 600; margin-bottom: 4px; }
.foot a, .foot .linkish { color: #c9c9d1; text-decoration: none; font: inherit; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; width: fit-content; }
.foot a:hover, .foot .linkish:hover { color: var(--white); text-decoration: underline; }
.foot-col .cta-book { color: #ff8aa3; font-weight: 600; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: #8a8b93; }
@media (max-width: 760px) { .foot { padding-bottom: 120px; } .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } .foot-logos { justify-content: center; text-align: center; } .foot-logos .logos { justify-content: center; gap: 12px 24px; } .foot-logos img { height: 18px; } }

/* ── Ella: HubSpot-style floating chat ───────────────────────────────── */
/* Ella opens like Intercom: springs up from the launcher's corner, content fades in a beat later */
.dock { position: fixed; right: 24px; bottom: 100px; z-index: 60; width: var(--chat-w, 400px); visibility: hidden; opacity: 0; pointer-events: none;
        transform: translateY(18px) scale(.94); transform-origin: 100% 100%;
        transition: opacity .16s ease-in, transform .2s ease-in, visibility 0s linear .2s; }
body.chat-open .dock { visibility: visible; opacity: 1; pointer-events: auto; transform: none;
        transition: opacity .2s ease-out, transform .45s cubic-bezier(.2, 1.15, .32, 1), visibility 0s; }
.ella > :not(.ella-head) { opacity: 0; transition: opacity .12s ease-in; }
/* Desktop: the open chat never covers the page. The page first slides left into its own empty margin (nothing
   resizes); only when that is not enough (e.g. a 13" MacBook Air, ~1470px) does it narrow just enough for the panel
   to sit beside it, keeping every section's layout (no restacking). It never narrows below 1084px, so under
   ~1424px wide the panel still overlaps the side rail's edge a little. --vw is the viewport without the scrollbar
   (--sbw, set by widget.js); the panel is --chat-w wide, 24px from the edge, 8px from the page. */
@media (min-width: 1024px) {
  :root { --vw: calc(100vw - var(--sbw, 0px)); --chat-w: clamp(340px, calc((var(--vw) - 1180px) / 2 - 16px), 400px);
          --page-w: max(1084px, min(1180px, calc(var(--vw) - var(--chat-w))));   /* floor: the calculator stays comfortable (salary box fits) */
          --page-l: clamp(0px, calc(var(--vw) - 1180px - var(--chat-w)), calc((var(--vw) - 1180px) / 2)); }
  .wrap:not(.faq-wrap-outer) { transition: margin-left .35s cubic-bezier(.2, .8, .2, 1), max-width .35s cubic-bezier(.2, .8, .2, 1); }
  body.chat-open .wrap:not(.faq-wrap-outer) { margin-left: var(--page-l); max-width: var(--page-w); }
  body.chat-open .faq .wrap { margin-left: calc(var(--page-l) + clamp(0px, (var(--vw) - 1180px) / 2, var(--sbw, 0px) / 2)); }   /* the band starts half a scrollbar left */
}
body.chat-open .ella > :not(.ella-head) { opacity: 1; transition: opacity .28s ease-out .1s; }
.row { animation: msg-in .32s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes msg-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.ella { display: flex; flex-direction: column; height: min(680px, calc(100vh - 196px));   /* bottom 100px + 96px clear of the sticky header */ background: var(--white); border-radius: 18px; overflow: hidden;
        box-shadow: 0 16px 56px rgba(22,22,29,.24), 0 2px 8px rgba(22,22,29,.08); }
.ella-head { display: flex; align-items: center; gap: 12px; padding: 16px 12px 16px 18px; background: var(--brand); color: var(--white); }
.ella-avatar { width: 40px; height: 40px; flex: none; border-radius: 99px; background: var(--white); color: var(--brand); display: grid; place-items: center; }
.ella-title { flex: 1; display: grid; line-height: 1.3; }
.ella-title b { font-size: 16px; font-weight: 600; }
.ella-title span { font-size: 13px; opacity: .9; }
.icon-btn { width: 38px; height: 38px; border: 0; border-radius: 99px; background: none; color: inherit; display: inline-grid; place-items: center; }
.ella-head .icon-btn:hover { background: rgba(255,255,255,.18); }
.chat-scroll { flex: 1; overflow-y: auto; padding: 18px 16px 10px; }
.chat-log { display: flex; flex-direction: column; gap: 14px; }
.row { display: flex; min-width: 0; }
.row.user { justify-content: flex-end; }
.stack { display: grid; gap: 8px; min-width: 0; max-width: 92%; }
.bubble { min-width: 0; }
.row.user .bubble { max-width: 82%; background: var(--brand); color: var(--white); border-radius: 18px 18px 4px 18px; padding: 10px 14px; white-space: pre-wrap; font-size: 15px; }
.bubble.answer, .bubble.notice { background: #f1f2f6; border-radius: 18px 18px 18px 4px; padding: 11px 14px; }
.bubble.notice { background: #fff4e5; color: #8a4b00; }
.md { font-size: 15px; line-height: 1.55; }
.md p { margin: 0 0 8px; } .md p:last-child { margin-bottom: 0; }
.md ul, .md ol { margin: 0 0 8px; padding-left: 20px; display: grid; gap: 4px; }
.md li::marker { color: var(--brand); }
.md strong { font-weight: 600; }
.md .h { font-weight: 600; margin-bottom: 4px; }
.md-table { overflow-x: auto; margin: 6px 0 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.md-table table { border-collapse: collapse; width: 100%; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.md-table th, .md-table td { padding: 7px 10px; text-align: left; border-bottom: 1px solid var(--line); }
.md-table th { background: var(--soft); font-weight: 600; font-size: 12.5px; color: var(--muted); }
.md-table tr:last-child td { border-bottom: 0; }
.caret { display: inline-block; width: 2px; height: 1em; background: var(--fg); margin-left: 2px; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.status { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.spinner { width: 14px; height: 14px; border-radius: 99px; border: 2px solid var(--brand-soft); border-top-color: var(--brand); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.sources { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; color: var(--faint); }
.src-label { font-weight: 600; text-transform: uppercase; letter-spacing: .05em; font-size: 11px; }
.src { border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; background: var(--white); }
.msg-actions { display: flex; align-items: center; gap: 2px; color: var(--faint); }
.msg-actions .icon-btn { width: 30px; height: 30px; }
.msg-actions .icon-btn:hover, .msg-actions .icon-btn.on { color: var(--brand); background: var(--brand-soft); }
.msg-actions button:not(.icon-btn) { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 4px 10px; font-size: 13px; }
.thanks { font-size: 12.5px; color: var(--faint); margin-left: 6px; }
.route-chips, .prompts, .followups { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.route-chip, .prompt, .followup { border: 1.5px solid var(--brand); background: var(--white); color: var(--brand-text); border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 500; text-align: left; }
.route-chip:hover, .prompt:hover, .followup:hover { background: var(--brand); color: var(--white); }
.prompt-kicker { display: none; }
.book-card { border: 1px solid #ffc2cf; background: #fff6f8; border-radius: 16px; padding: 14px 16px; display: grid; gap: 8px; }
.book-card p { margin: 0; color: var(--muted); font-size: 14px; }
.book-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.book-actions .btn { padding: 9px 16px; font-size: 14px; }
.book-actions .btn:not(.btn-talk) { border-color: var(--line-2); }
.result.mini { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: var(--white); display: grid; gap: 10px; font-size: 14px; }
.result-title { display: flex; gap: 8px; align-items: center; } .result-title .cc { font-size: 10px; font-weight: 600; background: var(--soft); border-radius: 6px; padding: 3px 6px; }
.mini-body { display: flex; gap: 12px; align-items: center; }
.mini-ring { width: 64px; height: 64px; flex: none; }
.ring-bg { fill: none; stroke: var(--soft); stroke-width: 14; }
.ring-arc { fill: none; stroke-width: 14; } .ring-arc.zero { opacity: 0; }
.ring-arc.net { stroke: var(--ink); } .ring-arc.deduct { stroke: var(--ded); } .ring-arc.employer { stroke: var(--brand); }
.mini-figs { display: grid; gap: 2px; } .kpi { display: flex; justify-content: space-between; gap: 10px; } .kpi span { color: var(--muted); }
.result.mini details summary { font-weight: 500; }
.result.mini table { width: 100%; border-collapse: collapse; font-size: 13px; } .result.mini td, .result.mini th { padding: 4px 0; text-align: left; }
.result-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; } .result-foot small { color: var(--faint); }
.result.mini .downloads { display: flex; gap: 6px; } .result.mini .downloads .btn { padding: 6px 12px; font-size: 13px; border-color: var(--line-2); }
.note { font-size: 12.5px; color: var(--faint); }
.composer { border-top: 1px solid var(--line); padding: 6px 8px 6px 16px; }
.composer-box { display: flex; align-items: flex-end; gap: 8px; }
.composer textarea { flex: 1; min-width: 0; border: 0; outline: 0; resize: none; background: none; padding: 10px 0; font-size: 15px; line-height: 1.45; max-height: 160px; }
.send { flex: none; width: 40px; height: 40px; margin: 2px 0; border: 0; border-radius: 99px; background: var(--brand); color: var(--white); display: grid; place-items: center; }
.send:hover { background: var(--brand-d); }
.send.stop { background: var(--ink); }
.ella-fine { margin: 0; padding: 0 16px 10px; font-size: 11.5px; text-align: center; color: var(--faint); }
.launcher { position: fixed; right: 24px; bottom: 24px; z-index: 61; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.launcher-btn { display: inline-flex; align-items: center; gap: 8px; height: 60px; padding: 0 22px 0 18px; border: 0; border-radius: 999px; background: var(--brand); color: var(--white);
                font-weight: 600; font-size: 16px; box-shadow: 0 10px 28px rgba(255,44,85,.4);
                transition: transform .2s cubic-bezier(.2,.8,.2,1), background-color .15s, padding .32s cubic-bezier(.2,.8,.2,1), gap .32s; }
.launcher-btn:active { transform: scale(.94); }
.lb-icons { position: relative; width: 22px; height: 22px; flex: none; }
.lb-icons svg { position: absolute; inset: 0; margin: auto; transition: transform .34s cubic-bezier(.2,.8,.2,1), opacity .2s; }
.lb-close { opacity: 0; transform: rotate(-90deg) scale(.4); }
.lb-label { display: inline-block; max-width: 110px; overflow: hidden; white-space: nowrap; transition: max-width .32s cubic-bezier(.2,.8,.2,1), opacity .18s; }
body.chat-open .launcher-btn { padding: 0 19px; gap: 0; }
body.chat-open .lb-chat { opacity: 0; transform: rotate(90deg) scale(.4); }
body.chat-open .lb-close { opacity: 1; transform: none; }
body.chat-open .lb-label { max-width: 0; opacity: 0; }
.launcher-btn:hover { background: var(--brand-d); transform: translateY(-2px); }
body.chat-open .launcher .nudge { display: none; }
.nudge { position: relative; max-width: 290px; background: var(--white); border-radius: 16px 16px 4px 16px; padding: 14px 36px 14px 16px; font-size: 15px; line-height: 1.45;
         box-shadow: 0 12px 36px rgba(22,22,29,.18); animation: rise .35s ease both; cursor: pointer; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.nudge-x { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border: 0; border-radius: 99px; background: none; color: var(--faint); font-size: 18px; }

/* booking pop-up */
.booking { width: min(1080px, calc(100vw - 48px)); max-height: 92vh; padding: 0; border: 0; border-radius: var(--r-lg); background: var(--white); color: var(--fg); overflow: auto; }
.booking::backdrop { background: rgba(22,22,29,.6); backdrop-filter: blur(3px); }
.booking-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 24px 28px 22px; background: var(--ink); color: var(--white); }
.booking-kicker { margin: 0 0 6px; font-size: 13px; font-weight: 600; color: #ff8aa3; }
.booking-head h2 { color: var(--white); font-size: 24px; line-height: 1.2; }
.booking-head .icon-btn.round { flex: none; width: 40px; height: 40px; background: rgba(255,255,255,.12); color: var(--white); }
.booking-head .icon-btn.round:hover { background: rgba(255,255,255,.22); }
.booking-body { display: flex; }
.booking-side { flex: 0 0 300px; padding: 22px 24px; background: var(--soft); display: flex; flex-direction: column; gap: 16px; }
.bk-card { background: var(--white); border-radius: 16px; padding: 16px 18px; display: grid; gap: 10px; }
.bk-card b, .bk-list b { font-weight: 600; font-size: 15px; }
.bk-card dl { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; font-size: 14.5px; }
.bk-card dt { color: var(--muted); } .bk-card dd { margin: 0; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.bk-list { display: grid; gap: 10px; }
.bk-list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.bk-list li { display: flex; gap: 10px; align-items: flex-start; }
.bk-list li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 99px; background: var(--ok-soft)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%230a7a3c' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat; }

.booking-cal { flex: 1 1 0; min-width: 0; overflow: hidden; padding: 12px 12px 8px; display: flex; flex-direction: column; gap: 4px; }
.booking-embed:has(.embed-loading) { min-height: 420px; display: grid; place-items: center; }
.embed-loading { color: var(--muted); }
.booking-embed iframe { display: block; width: 100% !important; border: 0; }
.booking-cal > a { align-self: center; font-size: 13px; color: var(--faint); padding: 2px 0 6px; }

.mbar { display: none; }

/* ── tablet ── */
@media (max-width: 1023px) {
  :root { --gut: 24px; }
  .layout { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 28px; }
  .hero { grid-template-columns: minmax(0, 1fr); padding: 40px 36px; }
  .rail { position: static; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .sheet { padding: 32px; }
}
/* ── phone: one screen to the number, one tap to the estimate ── */
@media (max-width: 640px) {
  :root { --gut: 16px; }
  .g2 { display: none; }
  .layout { gap: 16px; padding-top: 16px; padding-bottom: 24px; }

  /* hero: headline + the live comparison, nothing else competes */
  .hero { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 22px 18px 18px; border-radius: 20px; margin-bottom: 0; }
  .hero > * { min-width: 0; }
  .hero::after { display: none; }
  .hero-copy { gap: 10px; }
  .kicker { font-size: 12.5px; }
  .kicker #badge, .kicker .kicker-sep { display: none; }
  .hero h1 { font-size: 26px; line-height: 1.12; }
  .hero .lede, .hero-ctas { display: none; }
  .lead-proof { margin: 0; gap: 4px 12px; font-size: 12px; }
  .lead-proof svg { width: 14px; height: 14px; }
  .glance { width: 100%; padding: 16px 16px 14px; border-radius: 16px; box-shadow: none; gap: 4px; }
  .gl-big b { font-size: 40px; }
  .gl-sub, .gl-t { font-size: 12.5px; }
  .gl-row { gap: 8px; margin-top: 10px; }
  .gl-row > div { padding: 10px 12px; }
  .gl-row b { font-size: 17px; }
  .glance .bar { height: 8px; margin-top: 10px; }
  .gl-note { font-size: 12px; margin-top: 8px; }

  /* the sheet */
  .sheet { padding: 16px 14px 18px; border-radius: 18px; gap: 20px; }
  .sheet-head { padding-bottom: 14px; }
  .sheet-head img { height: 12px; }
  .sheet-meta { gap: 0; }
  .sheet-meta span:first-child { font-size: 10.5px; }
  .sheet-date { font-size: 12px; }
  .sec-t { margin-bottom: 12px; }
  .fields { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .f-label { font-size: 12px; }
  .f-input { height: 44px; font-size: 16px; }
  .f-pick .cc { width: 26px; height: 26px; font-size: 10px; }
  .f-hint, .f-err { font-size: 12px; }
  .fields { gap: 12px; }
  .f-money { flex-wrap: wrap; height: auto; min-height: 48px; padding-bottom: 8px; }
  .f-money .segmented { width: 100%; justify-content: stretch; margin-top: 4px; }
  .f-money .segmented button { flex: 1; }
  .tune { margin-top: 14px; }
  .tune summary { padding: 14px 16px; }

  /* the answer: the big tile, then two small ones side by side */
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .fig { padding: 14px; gap: 2px; }
  .fig.main { grid-column: 1 / -1; padding: 18px 16px; }
  .fig.main .fig-v { font-size: 40px; }
  .fig-v { font-size: 20px; }
  .fig-l, .fig-n { font-size: 11.5px; }
  .bar { height: 10px; margin-top: 14px; }
  .legend { font-size: 12px; gap: 4px 12px; }

  /* every line: folded behind one button until asked for */
  .est { gap: 12px; }
  .est .est-head { display: none; }
  .slip .lines, .slip .slip-head { display: none; }
  .slip.open .lines { display: block; }
  .slip.open .slip-head { display: flex; }
  .slip-more { display: flex; width: 100%; justify-content: space-between; align-items: center; border: 0; background: var(--soft); padding: 14px 16px; font-weight: 500; font-size: 15px; color: var(--fg); }
  .slip-more::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
  .slip.open .slip-more::after { transform: rotate(-135deg); }
  .slip-head span:last-child { display: none; }
  .ln { padding: 9px 12px; font-size: 13px; }
  .ln.grandtotal { padding: 12px; font-size: 14px; }
  .slip-more { font-size: 14px; padding: 12px 14px; }
  .est-note, .sheet-foot p { font-size: 11.5px; }

  /* side rail becomes a short stack */
  .rail { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .rail-card { padding: 16px; }
  .rail-card h2 { font-size: 16px; }
  .steps b { font-size: 14px; } .steps span { font-size: 13px; }
  .proof-row span { font-size: 12px; }
  .rail-card.actions { display: none; }               /* the sticky bar carries this on phones */
  .steps { order: 1; } .proof { order: 2; } .ella-card { order: 3; }
  .faq-wrap-outer { padding-bottom: 24px; }
  .faq-list summary { font-size: 15px; padding: 14px 0; }
  .faq-list p { font-size: 14px; }
  .faq h2 { font-size: 24px; }
  .foot { padding-bottom: 104px; }
  .foot-in { flex-direction: column; align-items: flex-start; }

  /* Ella and the booking pop-up go full screen */
  .dock { inset: 0; width: auto; bottom: 0; transform: translateY(40px); transform-origin: 50% 100%; }
  body.chat-open .dock { transform: none; transition: opacity .22s ease-out, transform .38s cubic-bezier(.2, 1, .3, 1), visibility 0s; }
  .ella { height: 100%; border-radius: 0; }
  body.no-scroll { overflow: hidden; }
  .launcher { display: none; }
  .booking { width: 100vw; max-width: 100vw; height: 100vh; max-height: 100vh; border-radius: 0; }
  .booking-body { flex-direction: column-reverse; } .booking-side { flex-basis: auto; padding: 16px; gap: 12px; }
  .booking-head { padding: 18px 18px 16px; } .booking-head h2 { font-size: 20px; }
  .bk-list { display: none; }
  .booking-cal { flex: none; padding: 8px 8px 4px; }
  .dl-dialog { width: 100vw; max-width: 100vw; min-height: 100vh; border-radius: 0; margin: 0; }
  .dl-body { padding: 64px 20px 28px; }
  .dl-row { grid-template-columns: minmax(0, 1fr); }

  /* sticky bar: the live number and the one action */
  .mbar { display: flex; align-items: center; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
          background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(22,22,29,.08); }
  .mbar-total { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); line-height: 1.15; min-width: 0; }
  .mbar-total small { font-size: 11.5px; color: var(--muted); }
  .mbar-total b { font-size: 19px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .mbar .btn-brand { padding: 13px 18px; font-size: 15px; }
  .mbar-ella { width: 48px; height: 48px; padding: 0; flex: none; }
  body.chat-open .mbar { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* ── print: the sheet only, as a clean A4 document ── */
@media print {
  @page { margin: 14mm; }
  body { background: var(--white); font-size: 12px; }
  .top, .lead, .rail, .foot, .dock, .launcher, .mbar, .booking, .popular-row, .tune, .f-hint, .f-err, .est-head, .skip, .sheet-cta { display: none !important; }
  .layout { display: block; padding: 0; }
  .sheet { box-shadow: none; border-radius: 0; padding: 0; gap: 22px; }
  .f-input, .f-money { display: none !important; }
  .f-print { display: block; font-size: 16px; font-weight: 500; color: var(--ink); padding: 4px 0 6px; border-bottom: 1px solid var(--line-2); }
  .fields { gap: 14px 28px; }
  .figures { gap: 10px; }
  .fig { padding: 14px 16px; border: 1px solid var(--line); background: none !important; color: var(--fg) !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .fig.main .fig-l, .fig.main .fig-n { color: var(--muted); }
  .fig.main .fig-v { font-size: 34px; color: var(--ink); }
  .fig-v { font-size: 24px; }
  .bar, .seg, .legend i, .ln.grandtotal, .ln.net { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .ln { padding: 7px 12px; font-size: 12px; break-inside: avoid; }
  .ln.grandtotal { padding: 10px 12px; }
  .ln.er-toggle .ln-label::before { display: none; }
  .sheet-url { display: block; }
  .sheet-cost, .sheet-lines { break-inside: avoid; }
}

/* Ella: in-chat capture form and page-update notices */
.bubble.notice.ok { background: #e8f6ee; color: #14532d; }
.capture { gap: 10px; }
.capture .cap-row { display: grid; gap: 8px; }
.capture input { height: 44px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; font: inherit; font-size: 15px; width: 100%; }
.capture input:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.capture .btn { width: 100%; justify-content: center; }
.capture .cap-msg { margin: 0; font-size: 13px; color: #b42318; min-height: 0; }
.capture .cap-msg:empty { display: none; }
.capture .fine { margin: 0; font-size: 12px; color: var(--muted); }
@media (min-width: 480px) { .capture .cap-row { grid-template-columns: 1fr 1.4fr; } }

/* Ella typing indicator (landing page) */
.status .typing { display: inline-flex; gap: 4px; padding: 10px 14px; background: #f1f2f6; border-radius: 18px 18px 18px 4px; }
.status .typing i { width: 7px; height: 7px; border-radius: 99px; background: #9a9ba3; animation: tdot 1.2s infinite ease-in-out; }
.status .typing i:nth-child(2) { animation-delay: .15s; } .status .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes tdot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .status .typing i { animation: none; opacity: .7; } }

@media (prefers-reduced-motion: reduce) {
  .dock, body.chat-open .dock { transform: none; transition: opacity .15s, visibility 0s; }
  .lb-icons svg, .lb-label, .launcher-btn, .ella > :not(.ella-head), body.chat-open .ella > :not(.ella-head) { transition: none; }
  .row { animation: none; }
}

/* ── Team mode (team.js): "One hire | A team" ─────────────────────────────── */
/* the chooser: two large options under "The hire", so visitors see at a glance that a team can be priced too */
.tm-head { display: grid; gap: 12px; margin-bottom: 22px; }
.tm-head .sec-t { margin: 0; }
.tm-mode { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tm-mode button { display: flex; align-items: center; gap: 12px; min-height: 66px; padding: 12px 14px; text-align: left; border-radius: 14px;
  border: 1.5px solid var(--line-2); background: var(--soft); color: var(--muted); cursor: pointer;
  transition: border-color .15s, background .15s, box-shadow .15s; }
.tm-mode button:hover { border-color: var(--faint); }
.tm-mode button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.tm-mode button[aria-checked="true"] { background: var(--white); border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); color: var(--ink); }
.tm-ic { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--white); color: var(--muted); border: 1px solid var(--line); }
.tm-mode button[aria-checked="true"] .tm-ic { background: var(--brand); border-color: var(--brand); color: var(--white); }
.tm-tx { display: grid; gap: 2px; min-width: 0; }
.tm-tx b { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 15px; font-weight: 600; color: var(--ink); }
.tm-tx small { font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.tm-new { font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 2px 7px; border-radius: 99px;
  background: var(--brand); color: var(--white); line-height: 1.4; }
/* what team mode replaces: the single-hire fields, figures and lines; the rail's single download card */
body.team-mode #calc-form .fields, body.team-mode #popular, body.team-mode #params-box, body.team-mode .sheet-cost,
body.team-mode .sheet-lines, body.team-mode .sheet-cta, body.team-mode .rail-card.actions { display: none !important; }
body.team-mode #calc-form .tm-head { margin-bottom: 0; }

.team { display: grid; gap: 12px; container-type: inline-size; }
.tm-rows { display: grid; gap: 12px; }
/* each role = a two-line card: who/where on top, money below */
.tm-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 124px minmax(130px, 180px);
  grid-template-areas: "role role country country" "sal sal n cost"; gap: 12px; align-items: end;
  background: var(--soft); border: 1px solid var(--line); border-radius: 16px; padding: 14px 52px 14px 16px; animation: tm-in .22s ease-out; }
@keyframes tm-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.tm-f { display: grid; gap: 5px; min-width: 0; }
.tm-f > span, .tm-f > label { font-size: 12px; font-weight: 600; color: var(--muted); }
.tm-row .c-role { position: relative; }   /* anchors the job-title suggestions */
.tm-row:focus-within { z-index: 5; }       /* the card being typed in sits above the next one, so its suggestions show in full */
.tm-row .role-pop { top: calc(100% + 4px); }
#calc-country-cur { display: none; }   /* the currency already shows on the salary field */
.tm-row .c-role { grid-area: role; } .tm-row .c-country { grid-area: country; } .tm-row .tm-sal { grid-area: sal; }
.tm-row .c-n { grid-area: n; } .tm-row .tm-cost { grid-area: cost; }
.tm-row input, .tm-row select { width: 100%; min-width: 0; height: 44px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--white);
  padding: 0 12px; font: inherit; font-size: 16px; color: var(--ink); }
.tm-row input:focus, .tm-row select:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.tm-row input.bad { border-color: #c0213b; }
.tm-salin { display: grid; grid-template-columns: minmax(0, 1fr) 104px; gap: 6px; }
.tm-salin select { font-size: 14px; padding: 0 8px; color: var(--muted); }
.tm-step { display: grid; grid-template-columns: 38px 1fr 38px; align-items: center; height: 44px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--white); overflow: hidden; }
.tm-step button { border: 0; background: none; height: 100%; font-size: 18px; color: var(--muted); }
.tm-step button:hover:not(:disabled) { background: var(--soft); color: var(--ink); }
.tm-step button:disabled { opacity: .35; cursor: not-allowed; }
.tm-row .tm-step input { border: 0; box-shadow: none; text-align: center; height: 100%; padding: 0; font-weight: 600; }
.tm-cost { text-align: right; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; align-self: center; padding-top: 18px; min-width: 0; font-variant-numeric: tabular-nums; }
.tm-cost b { font-size: 17px; font-weight: 700; overflow-wrap: anywhere; min-width: 0; }
.tm-cost small { font-size: 12px; color: var(--faint); overflow-wrap: anywhere; }
.tm-cost.wait b { color: var(--line-2); }
.tm-del { position: absolute; top: 10px; right: 8px; width: 36px; height: 36px; border: 0; border-radius: 99px; background: none; color: var(--faint); display: grid; place-items: center; }
.tm-del:hover { background: var(--brand-soft); color: var(--brand-text); }
.tm-err { grid-column: 1 / -1; grid-row: 3; margin: 0; font-size: 13px; color: #c0213b; font-weight: 500; }
.tm-addrow { margin: 0; }
.tm-add { display: inline-flex; align-items: center; gap: 8px; border: 1px dashed var(--line-2); background: none; border-radius: 99px; padding: 10px 18px; font-size: 15px; font-weight: 500; color: var(--ink); }
.tm-add:hover:not(:disabled) { border-color: var(--brand); color: var(--brand-text); }
.tm-add:disabled { opacity: .45; cursor: not-allowed; }
.tm-foot { margin: 0; font-size: 12.5px; color: var(--faint); line-height: 1.55; }
/* narrow sheet (tablet, chat open, phones): the money line stacks too */
@container (max-width: 560px) {
  .tm-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "role role" "country country" "sal sal" "n cost"; padding: 14px 12px 14px 14px; }
  .tm-row .c-role { padding-right: 36px; }
  .tm-salin { grid-template-columns: minmax(0, 1fr) 96px; }
  .tm-err { grid-row: auto; }
}

/* rail: dark team total + the email card */
.tm-side { display: grid; gap: 16px; }
.tm-sum { background: var(--ink); color: var(--white); border-radius: var(--r-md); padding: 22px; display: grid; gap: 14px; }
.tm-sum h2 { margin: 0; font-size: 14px; font-weight: 500; color: #c9c9d1; }
.tm-total { display: grid; gap: 2px; }
.tm-total b { font-size: clamp(28px, 2.6vw, 36px); font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.05; overflow-wrap: anywhere; }
.tm-total span { font-size: 14px; color: #c9c9d1; }
.tm-cur { display: grid; gap: 12px; }
.tm-cur + .tm-cur { padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); }
.tm-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tm-meta div { background: rgba(255,255,255,.07); border-radius: 12px; padding: 10px 12px; display: grid; gap: 2px; min-width: 0; container-type: inline-size; }
.tm-meta small { font-size: 12px; color: #a9aab3; }
.tm-meta b { font-size: min(16px, 13cqi); font-variant-numeric: tabular-nums; white-space: nowrap; }   /* long figures shrink, never break mid-number */
.tm-bars { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tm-bars li { display: grid; gap: 4px; font-size: 13px; }
.tm-bars .lbl { display: flex; justify-content: space-between; gap: 8px; color: #e5e5ea; }
.tm-bars .lbl span:last-child { color: #a9aab3; font-variant-numeric: tabular-nums; }
.tm-bars i { display: block; height: 6px; border-radius: 99px; background: var(--brand); }
.tm-fx { margin: 0; font-size: 12.5px; color: #a9aab3; line-height: 1.5; }
.tm-empty { margin: 0; color: #c9c9d1; font-size: 14px; }
.tm-cta { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; display: grid; gap: 12px; }
.tm-cta h2 { font-size: 17px; margin: 0; }
body.no-email #tm-email, body.no-email .tm-cta .rail-note { display: none !important; }
.tm-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: var(--white); border-radius: 99px;
  padding: 10px 12px 10px 18px; display: flex; align-items: center; gap: 12px; font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.25); z-index: 70; max-width: calc(100vw - 32px); }
.tm-toast button { border: 0; background: rgba(255,255,255,.14); color: var(--white); border-radius: 99px; padding: 6px 14px; font-weight: 500; }
@media (max-width: 640px) {
  .tm-toast { bottom: 92px; }               /* above the sticky bar */
  .tm-mode { gap: 8px; }
  .tm-mode button { gap: 10px; padding: 10px 10px; min-height: 64px; }
  .tm-ic { display: none; }                  /* phones: the words carry it; more room for them */
  .tm-mode button { padding: 10px 12px; min-height: 0; }
  .tm-tx small { font-size: 12px; }
  .tune-why { display: none; }
  .tune-act::before { content: "+"; width: 36px; padding: 0; justify-content: center; font-size: 18px; }
  .tune[open] .tune-act::before { content: "−"; }
  .tune summary { grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; }
  .tune-ic { width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) { .tm-row { animation: none; } }
@media print { .tm-mode, .tm-add, .tm-del, .tm-toast { display: none !important; } }
body.team-mode.is-example .mbar-total, body.team-mode:not(.has-estimate) .mbar-total { display: grid; }   /* the team total always shows */
