/* Target Energy marketing site. One accent (brand orange from the logo), cool neutrals, light + dark by system
   preference. Radius rule: buttons are pills, cards/panels 22px, phone frames 34px, inputs 12px. */

@font-face { font-family: "Plex Hebrew"; font-weight: 400; font-display: swap; src: url(/assets/fonts/ibm-plex-sans-hebrew-hebrew-400-normal.woff2) format("woff2"); unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Plex Hebrew"; font-weight: 500; font-display: swap; src: url(/assets/fonts/ibm-plex-sans-hebrew-hebrew-500-normal.woff2) format("woff2"); unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Plex Hebrew"; font-weight: 600; font-display: swap; src: url(/assets/fonts/ibm-plex-sans-hebrew-hebrew-600-normal.woff2) format("woff2"); unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Plex Hebrew"; font-weight: 700; font-display: swap; src: url(/assets/fonts/ibm-plex-sans-hebrew-hebrew-700-normal.woff2) format("woff2"); unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Plex Hebrew"; font-weight: 400; font-display: swap; src: url(/assets/fonts/ibm-plex-sans-hebrew-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex Hebrew"; font-weight: 500; font-display: swap; src: url(/assets/fonts/ibm-plex-sans-hebrew-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex Hebrew"; font-weight: 600; font-display: swap; src: url(/assets/fonts/ibm-plex-sans-hebrew-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex Hebrew"; font-weight: 700; font-display: swap; src: url(/assets/fonts/ibm-plex-sans-hebrew-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #f2f5f6;
  --bg-tint: #e8eef0;
  --surface: #ffffff;
  --ink: #0b1b22;
  --ink-2: #14303b;
  --text: #0e1d23;
  --muted: #4a5a61;
  --line: #d5dfe3;
  --brand: #ff7214;          /* logo orange: marks, highlights, large shapes */
  --accent: #c2410c;         /* accessible orange: buttons, links, accent text on light */
  --accent-hover: #a8380a;
  --on-accent: #ffffff;
  --shadow: 0 1px 2px rgb(11 27 34 / .06), 0 12px 32px -12px rgb(11 27 34 / .18);
  --shadow-lg: 0 30px 70px -30px rgb(11 27 34 / .45);
  --r-card: 22px;
  --r-phone: 34px;
  --r-input: 12px;
  --wrap: 1200px;
  --font: "Plex Hebrew", "Segoe UI", "Arial Hebrew", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #081216;
    --bg-tint: #0c1b21;
    --surface: #10232b;
    --ink: #050d10;
    --ink-2: #0f2630;
    --text: #e6eef1;
    --muted: #9db0b7;
    --line: #1e3843;
    --accent: #ff8a3d;
    --accent-hover: #ffa366;
    --on-accent: #0b1b22;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 12px 32px -12px rgb(0 0 0 / .6);
    --shadow-lg: 0 30px 70px -30px rgb(0 0 0 / .8);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; background: var(--surface); padding: 10px 16px; border-radius: 10px; z-index: 30; }
.skip:focus { top: 12px; }

.ic { width: 22px; height: 22px; flex: none; fill: currentColor; }
.ic--lg { width: 30px; height: 30px; }
.ic--xl { width: 44px; height: 44px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 26px; border-radius: 999px; font: 600 16px/1 var(--font); text-decoration: none; white-space: nowrap; border: 1.5px solid transparent; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .15s; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--text); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 15px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.link-quiet { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15px; }
.link-quiet:hover { color: var(--text); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__in { height: 68px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 26px; height: auto; }
.brand__word { font-weight: 700; letter-spacing: .06em; font-size: 15px; direction: ltr; }
.nav__links { display: flex; gap: 26px; margin-inline-start: 12px; }
.nav__links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15px; }
.nav__links a:hover { color: var(--text); }
.nav__cta { margin-inline-start: auto; display: flex; align-items: center; gap: 20px; }
.nav__toggle { display: none; margin-inline-start: auto; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 12px; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; inset-inline: 11px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s; }
.nav__toggle span:first-child { top: 17px; } .nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { display: grid; gap: 4px; padding: 8px 24px 20px; border-bottom: 1px solid var(--line); background: var(--bg); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 12px 0; text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 12px; }

/* ---------- hero ---------- */
.hero { padding: 40px 0 72px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 48px; align-items: center; min-height: min(640px, calc(100dvh - 120px)); }
.hero__title { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.1; font-weight: 700; letter-spacing: -.02em; max-width: 16ch; }
.accent { color: var(--accent); }
.hero__sub { margin-top: 22px; font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 40ch; line-height: 1.6; }
.hero__ctas { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero__visual { position: relative; }
.stage { position: relative; aspect-ratio: 1 / 1.02; max-width: 560px; margin-inline-start: auto; border-radius: 32px; background:
  radial-gradient(120% 80% at 85% 0%, rgb(255 114 20 / .26), transparent 55%),
  linear-gradient(160deg, var(--ink-2), var(--ink)); box-shadow: var(--shadow-lg); }
.phone { margin: 0; border-radius: var(--r-phone); border: 9px solid #0b1b22; background: #0b1b22; overflow: hidden; box-shadow: 0 0 0 1px rgb(255 255 255 / .08), var(--shadow-lg); }
.phone img { width: 100%; }
.phone--front { position: absolute; width: 52%; inset-inline-start: 9%; top: 9%; z-index: 2; }
.phone--back { position: absolute; width: 46%; inset-inline-end: 7%; top: 21%; opacity: .92; transform: rotate(-4deg); }
.toast { position: absolute; z-index: 3; width: 62%; inset-inline-end: 4%; bottom: 7%; border-radius: 18px; box-shadow: var(--shadow-lg); }

/* ---------- sections ---------- */
.section { padding: 104px 0; }
.section--tint { background: var(--bg-tint); }
.h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.15; font-weight: 700; letter-spacing: -.015em; max-width: 22ch; }
.h2--light { color: #f2f6f7; }
.lead { margin-top: 16px; font-size: 19px; color: var(--muted); max-width: 60ch; }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--accent); margin-bottom: 12px; }

/* before / after */
.ba { margin-top: 44px; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.ba__head, .ba__row { display: grid; grid-template-columns: 1fr 1fr; }
.ba__head span { padding: 18px 32px; font-weight: 600; font-size: 15px; color: var(--muted); }
.ba__head span:last-child { color: var(--accent); }
.ba__row { border-top: 1px solid var(--line); }
.ba__row p { padding: 24px 32px; font-size: 17px; }
.ba__row p:first-child { color: var(--muted); }
.ba__row p:last-child { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; background: color-mix(in srgb, var(--brand) 5%, transparent); }
.ba__row p:last-child .ic { color: var(--brand); margin-top: 3px; }

/* bento */
.bento { margin-top: 48px; display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(210px, auto); gap: 18px; }
.bento > * { min-width: 0; }
.tile { grid-column: span 2; border-radius: var(--r-card); background: var(--surface); padding: 30px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); transition: transform .3s cubic-bezier(.16,1,.3,1); }
.tile:hover { transform: translateY(-3px); }
.tile h3 { font-size: 21px; font-weight: 600; line-height: 1.3; margin-top: 6px; }
.tile p { color: var(--muted); font-size: 16px; }
.tile .ic--lg { color: var(--accent); }
.tile--wide { grid-column: span 4; grid-row: span 2; }
.tile--shot { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 24px; padding-bottom: 0; overflow: hidden; background:
  linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--brand) 7%, var(--surface))); }
.tile--shot .tile__text { align-self: start; display: grid; gap: 10px; }
.tile__img { border-radius: 26px 26px 0 0; border: 8px solid #0b1b22; border-bottom: 0; box-shadow: var(--shadow-lg); }
.tile--ink { background: linear-gradient(160deg, var(--ink-2), var(--ink)); color: #f2f6f7; }
.tile--ink p { color: #a9bcc3; }
.tile--ink .ic--lg { color: var(--brand); }
.tile--orange { grid-column: span 4; display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; column-gap: 28px; background: linear-gradient(150deg, #ff7a22, #e85d0a); color: #1a0c03; }
.tile--orange p { color: #3a1a05; }
.tile--orange .ic--lg { color: #1a0c03; }
.tile__toast { margin-top: auto; border-radius: 14px; width: 100%; max-width: 420px; box-shadow: 0 18px 40px -18px rgb(60 20 0 / .55); }
.bento > .tile:last-child { grid-column: span 2; }
.tile--orange > :not(.tile__toast) { grid-column: 1; }
.tile--orange .tile__toast { grid-column: 2; grid-row: 1 / span 3; margin: 0; }

/* home-charging flow */
.flow { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.flow__copy { order: 1; }
.flow__visual { order: 2; position: sticky; top: 104px; }
.phone--solo { max-width: 360px; margin-inline: auto; transform: rotate(2deg); }
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 34px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; }
.steps .ic { width: 52px; height: 52px; padding: 13px; border-radius: 16px; background: var(--surface); color: var(--accent); box-shadow: var(--shadow); }
.steps h3 { font-size: 20px; font-weight: 600; line-height: 1.35; }
.steps p { margin-top: 4px; color: var(--muted); }

/* verify panel */
.panel { border-radius: 32px; padding: 64px; display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; color: #e7eef0;
  background: radial-gradient(90% 70% at 0% 100%, rgb(255 114 20 / .18), transparent 60%), linear-gradient(160deg, var(--ink-2), var(--ink)); box-shadow: var(--shadow-lg); }
.panel__lead { margin-top: 18px; color: #b3c4ca; font-size: 18px; max-width: 52ch; }
.checks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 18px; }
.checks li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.checks .ic { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: rgb(255 114 20 / .14); color: var(--brand); }
.checks strong { display: block; font-weight: 600; font-size: 18px; color: #fff; }
.checks span { color: #a9bcc3; }
.panel__note { margin-top: 30px; display: flex; gap: 12px; align-items: flex-start; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .1); color: #c8d6db; }
.panel__note .ic { color: var(--brand); margin-top: 2px; }
.phone--panel { max-width: 360px; max-height: 620px; justify-self: center; transform: rotate(-2deg); }
.phone--panel img { height: 100%; object-fit: cover; object-position: top; }

/* gallery */
.gallery { margin-top: 48px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 300px); gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px max(24px, calc((100% - var(--wrap)) / 2)) 28px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.shot { margin: 0; scroll-snap-align: start; display: grid; gap: 16px; align-content: start; }
.shot .phone img { width: 100%; }
.shot figcaption { color: var(--muted); font-size: 15px; }
.shot figcaption strong { display: block; color: var(--text); font-size: 17px; font-weight: 600; }

/* audience */
.who { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.who__item { border-top: 2px solid var(--text); padding-top: 22px; display: grid; gap: 8px; align-content: start; }
.who__item .ic--lg { color: var(--accent); }
.who__item h3 { font-size: 19px; font-weight: 600; margin-top: 6px; }
.who__item p { color: var(--muted); font-size: 16px; }

/* statement */
.statement { padding: 110px 0; background: var(--bg-tint); border-block: 1px solid var(--line); }
.statement__in { text-align: center; display: grid; justify-items: center; gap: 18px; }
.statement__in .ic--xl { color: var(--brand); }
.statement__title { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.12; font-weight: 700; letter-spacing: -.02em; }
.statement__in p { color: var(--muted); font-size: 19px; max-width: 46ch; }

/* faq */
.faq { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.faq .h2 { position: sticky; top: 110px; }
.faq__list { display: grid; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-weight: 600; font-size: 19px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--accent); transition: transform .25s; }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { padding: 0 0 26px; color: var(--muted); max-width: 62ch; }

/* demo form */
.demo { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.form { background: var(--surface); border-radius: var(--r-card); padding: 36px; box-shadow: var(--shadow); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-bottom: 26px; }
.field { display: grid; gap: 8px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--r-input); border: 1.5px solid var(--line); background: var(--bg); color: var(--text); font: 400 16px/1.4 var(--font); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent); }
.field [aria-invalid="true"] { border-color: #c81e1e; }
.field__help { font-size: 13px; color: var(--muted); }
.field__err { font-size: 14px; color: #c81e1e; font-weight: 500; }
@media (prefers-color-scheme: dark) { .field [aria-invalid="true"] { border-color: #ff7070; } .field__err { color: #ff8a8a; } }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.form__status { margin-top: 14px; min-height: 1.6em; font-weight: 500; }
.form__status.ok { color: #16794a; } .form__status.err { color: #c81e1e; }
@media (prefers-color-scheme: dark) { .form__status.ok { color: #5fd49a; } .form__status.err { color: #ff8a8a; } }
.form.is-done .form__grid, .form.is-done .btn { display: none; }
.form.is-done .form__status { font-size: 19px; margin: 0; }

/* footer */
.footer { padding: 44px 0; border-top: 1px solid var(--line); }
.footer__in { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__links a { text-decoration: none; color: var(--muted); font-size: 15px; }
.footer__links a:hover { color: var(--text); }
.footer__copy { margin-inline-start: auto; color: var(--muted); font-size: 14px; }

/* ---------- motion: reveal on enter, hero entrance (reduced-motion: none) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); transition-delay: calc(var(--d, 0) * 80ms); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .hero__visual .phone--front { animation: rise .9s .15s cubic-bezier(.16,1,.3,1) both; }
  .js .hero__visual .phone--back { animation: rise-tilt 1s .3s cubic-bezier(.16,1,.3,1) both; }
  .js .hero__visual .toast { animation: rise .8s .65s cubic-bezier(.16,1,.3,1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(26px); } }
  @keyframes rise-tilt { from { opacity: 0; transform: translateY(30px) rotate(-4deg); } to { transform: rotate(-4deg); } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .tile:hover { transform: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile, .tile--orange, .bento > .tile:last-child { grid-column: span 1; }
  .tile--orange { grid-column: 1 / -1; }
  .tile--wide { grid-column: 1 / -1; grid-row: auto; }
  .who { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .hero { padding: 20px 0 56px; }
  .hero__grid { grid-template-columns: 1fr; min-height: 0; gap: 40px; }
  .hero__title { max-width: none; }
  .stage { max-width: 460px; margin-inline: auto; width: 100%; }
  .section { padding: 72px 0; }
  .ba__head { display: none; }
  .ba__row { grid-template-columns: 1fr; }
  .ba__row p { padding: 18px 20px; }
  .ba__row p:first-child { padding-bottom: 6px; font-size: 15px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile--orange { display: flex; }
  .tile--shot { grid-template-columns: 1fr; }
  .tile--shot .tile__img { max-width: 300px; margin-inline: auto; }
  .flow { grid-template-columns: 1fr; gap: 48px; }
  .flow__visual { position: static; order: 2; }
  .phone--solo { max-width: 300px; }
  .panel { grid-template-columns: 1fr; padding: 36px 22px; gap: 40px; border-radius: 26px; }
  .who { grid-template-columns: 1fr; gap: 28px; }
  .statement { padding: 80px 0; }
  .faq, .demo { grid-template-columns: 1fr; gap: 32px; }
  .faq .h2 { position: static; }
  .form { padding: 24px 18px; }
  .form__grid { grid-template-columns: 1fr; }
  .footer__copy { margin-inline-start: 0; width: 100%; }
}

/* ---------- animated explainers (how it works) ---------- */
.tabs { margin-top: 36px; display: inline-flex; gap: 6px; padding: 6px; border-radius: 999px; background: var(--bg-tint); border: 1px solid var(--line); flex-wrap: wrap; }
.tabs button { border: 0; background: transparent; color: var(--muted); font: 600 16px/1 var(--font); padding: 12px 20px; border-radius: 999px; cursor: pointer; transition: background-color .2s, color .2s; }
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.explainer { margin: 24px 0 0; border-radius: var(--r-card); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.explainer[hidden] { display: none; }
.explainer__stage { padding: 28px 28px 8px; }
.explainer__stage svg { width: 100%; height: auto; display: block; font-family: var(--font); overflow: visible; }
.explainer__bar { display: flex; align-items: center; gap: 24px; padding: 18px 28px 22px; border-top: 1px solid var(--line); }
.explainer__caption { flex: 1; font-size: 18px; font-weight: 500; min-height: 3.2em; display: flex; align-items: center; }
.explainer__controls { display: flex; align-items: center; gap: 14px; }
.explainer__steps { display: flex; gap: 6px; }
.explainer__steps button { width: 34px; height: 8px; border-radius: 999px; border: 0; padding: 0; background: var(--line); cursor: pointer; position: relative; overflow: hidden; }
.explainer__steps button::after { content: ""; position: absolute; inset: 0; background: var(--brand); transform: scaleX(0); transform-origin: right; }
.explainer__steps button.done::after { transform: scaleX(1); }
.explainer__steps button.now::after { animation: ex-progress var(--dur, 3.4s) linear forwards; }
.explainer.is-paused .explainer__steps button.now::after { animation-play-state: paused; }
@keyframes ex-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.explainer__play { width: 42px; height: 42px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; color: var(--text); display: grid; place-items: center; cursor: pointer; flex: none; }
.explainer__play:hover { border-color: var(--text); }

/* shared svg vocabulary */
.ex-label { font-size: 17px; font-weight: 600; fill: var(--text); }
.ex-value { font-size: 17px; font-weight: 600; fill: var(--text); }
.ex-note { font-size: 13px; fill: var(--muted); }
.ex-track { fill: var(--bg-tint); }
.ex-axis { stroke: var(--line); stroke-width: 2; }
.explainer svg * { transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1), fill .4s, stroke .4s, stroke-dashoffset 1.4s cubic-bezier(.45,0,.2,1); }

/* load balancing */
.lb-total-fill { fill: var(--brand); transform-box: fill-box; transform-origin: right; transform: scaleX(0); }
.lb-over rect { fill: #d33a2c; }
.lb-over text { fill: #d33a2c; font-size: 15px; font-weight: 600; }
.lb-over { opacity: 0; }
.explainer[data-over="1"] .lb-over { opacity: 1; }
.explainer[data-over="1"] .lb-total-fill { opacity: 0; }
.lb-st-bg { fill: var(--bg-tint); }
.lb-st { fill: var(--muted); }
.lb-station.has-car .lb-st { fill: var(--accent); }
.lb-car { opacity: 0; transform: translateY(14px); }
.lb-station.has-car .lb-car { opacity: 1; transform: none; }
.lb-car circle { fill: var(--ink); }
.lb-car use { fill: #f2f6f7; }
.lb-station.is-done .lb-car circle { fill: #16794a; }
.lb-track { fill: var(--bg-tint); }
.lb-fill { fill: var(--brand); transform-box: fill-box; transform-origin: bottom; transform: scaleY(0); }
.lb-amps { font-size: 18px; font-weight: 600; fill: var(--text); }
.lb-done { font-size: 13px; fill: #16794a; font-weight: 600; opacity: 0; }
.lb-station.is-done .lb-done { opacity: 1; }

/* verification */
.vf-zone { fill: color-mix(in srgb, var(--brand) 8%, transparent); stroke: var(--brand); stroke-width: 2; stroke-dasharray: 6 7; }
.vf-charger circle { fill: var(--surface); stroke: var(--line); stroke-width: 2; }
.vf-charger use { fill: var(--accent); }
.vf-car { transform: translate(735px, 330px); }
.explainer.on-1 .vf-car { transform: translate(650px, 212px); }
.vf-car-in circle { fill: var(--ink); }
.vf-car-in use { fill: #f2f6f7; }
.vf-ign rect { fill: var(--bg-tint); stroke: var(--line); }
.vf-ign use { fill: var(--muted); }
.vf-ign text { font-size: 13px; font-weight: 600; fill: var(--text); }
.vf-ign-off { opacity: 0; }
.explainer.on-2 .vf-ign-off { opacity: 1; }
.explainer.on-2 .vf-ign-on { opacity: 0; }
.explainer.on-2 .vf-ign use { fill: #16794a; }
.vf-th { stroke: var(--muted); stroke-width: 1.5; stroke-dasharray: 4 6; }
.vf-flat, .vf-rise { fill: none; stroke: var(--brand); stroke-width: 4; stroke-linecap: round; }
.vf-rise { stroke-dasharray: 260; stroke-dashoffset: 260; }
.explainer.on-3 .vf-rise { stroke-dashoffset: 0; }
.vf-v1 { opacity: 0; }
.explainer.on-3 .vf-v1 { opacity: 1; transition-delay: .9s; }
.vf-check circle { fill: var(--bg-tint); stroke: var(--line); }
.vf-check use { opacity: 0; fill: #16794a; }
.vf-check text { font-size: 16px; fill: var(--muted); font-weight: 500; }
.explainer.on-1 .vf-check[data-n="1"] use, .explainer.on-2 .vf-check[data-n="2"] use, .explainer.on-3 .vf-check[data-n="3"] use { opacity: 1; }
.explainer.on-1 .vf-check[data-n="1"] text, .explainer.on-2 .vf-check[data-n="2"] text, .explainer.on-3 .vf-check[data-n="3"] text { fill: var(--text); }
.explainer.on-1 .vf-check[data-n="1"] circle, .explainer.on-2 .vf-check[data-n="2"] circle, .explainer.on-3 .vf-check[data-n="3"] circle { fill: color-mix(in srgb, #16794a 14%, transparent); stroke: #16794a; }
.vf-badge { opacity: 0; transform: translateY(10px); }
.explainer.on-4 .vf-badge { opacity: 1; transform: none; }
.vf-badge rect { fill: #16794a; }
.vf-badge use { fill: #fff; }
.vf-badge text { fill: #fff; font-size: 17px; font-weight: 700; }

/* month */
.mo-dot { transform-box: fill-box; transform-origin: center; opacity: 0; transform: scale(.3); }
.explainer.on-1 .mo-dot { opacity: 1; transform: none; }
.mo-c, .mo-dot.c { fill: var(--brand); }
.mo-p, .mo-dot.p { fill: var(--muted); }
.explainer.on-2 .mo-dot.p { opacity: .14; }
.explainer.on-3 .mo-dot.c { opacity: .45; }
.mo-legend text { font-size: 14px; fill: var(--muted); }
.mo-card { opacity: 0; transform: translateY(16px); }
.explainer.on-3 .mo-card { opacity: 1; transform: none; }
.mo-card rect { fill: var(--bg-tint); stroke: var(--line); }
.mo-card text { font-size: 16px; fill: var(--muted); }
.mo-card line { stroke: var(--line); }
.mo-card .mo-h { font-size: 17px; font-weight: 600; fill: var(--text); }
.mo-card .mo-total { font-size: 30px; font-weight: 700; fill: var(--text); }
.mo-stamp { opacity: 0; transform: translate(10px, -6px) rotate(-8deg); transform-box: fill-box; transform-origin: center; }
.explainer.on-4 .mo-stamp { opacity: 1; transform: rotate(-4deg); }
.mo-stamp rect { fill: #16794a; }
.mo-stamp use { fill: #fff; }
.mo-stamp text { fill: #fff; font-weight: 700; font-size: 16px; }
.mo-arrow { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 110; stroke-dashoffset: 110; }
.explainer.on-4 .mo-arrow { stroke-dashoffset: 0; transition-delay: .4s; }
.mo-csv { opacity: 0; }
.explainer.on-4 .mo-csv { opacity: 1; transition-delay: 1s; }
.mo-csv rect { fill: var(--surface); stroke: var(--accent); stroke-width: 2; }
.mo-csv use { fill: var(--accent); }
.mo-csv text { font-size: 15px; font-weight: 600; fill: var(--text); }

@media (prefers-reduced-motion: reduce) {
  .explainer svg * { transition: none !important; }
  .explainer__steps button.now::after { animation: none; transform: scaleX(1); }
}
@media (max-width: 860px) {
  .tabs { display: flex; width: 100%; }
  .tabs button { flex: 1; padding: 12px 8px; font-size: 15px; }
  .explainer__stage { padding: 16px 8px 4px; }
  .explainer__bar { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px 18px 18px; }
  .explainer__caption { font-size: 16px; min-height: 4.8em; }
  .explainer__controls { justify-content: space-between; }
}

/* phones: the 800-unit drawing shrinks ~2.3x, so enlarge the text inside it */
@media (max-width: 860px) {
  .ex-label, .ex-value { font-size: 28px; }
  .ex-note { font-size: 22px; }
  .lb-amps { font-size: 30px; }
  .lb-done { font-size: 22px; }
  .lb-over text { font-size: 26px; }
  .vf-check text { font-size: 26px; }
  .vf-ign text { font-size: 18px; }
  .vf-badge text { font-size: 24px; }
  .mo-legend text { font-size: 24px; }
  .mo-card text { font-size: 24px; }
  .mo-card .mo-h { font-size: 25px; }
  .mo-card .mo-total { font-size: 40px; }
  .mo-csv text { font-size: 22px; }
  .mo-stamp text { font-size: 22px; }
}

/* ---------- more explainers: compact (2-up) and wide ---------- */
.ex-row { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.ex-row .explainer { margin: 0; }
.explainer__title { padding: 22px 26px 0; font-size: 20px; font-weight: 600; }
.explainer--compact .explainer__stage { padding: 12px 18px 4px; }
.explainer--compact .explainer__bar { flex-direction: column; align-items: stretch; gap: 12px; }
.explainer--compact .explainer__caption { font-size: 16px; min-height: 3.4em; }
.explainer--compact .explainer__controls { justify-content: space-between; }
.statement .explainer--wide { margin-top: 44px; text-align: start; }

/* shared: phone outline + streaming link */
.ex-phone { fill: var(--bg); stroke: var(--line); stroke-width: 2; }
.ex-phone-h { font-weight: 600; fill: var(--text) !important; }
.ex-stream { fill: none; stroke: var(--brand); stroke-width: 3; stroke-dasharray: 6 9; opacity: .7; }
@media (prefers-reduced-motion: no-preference) { .ex-stream { animation: ex-flow 1.2s linear infinite; } }
@keyframes ex-flow { to { stroke-dashoffset: -30; } }
.explainer.is-paused .ex-stream { animation-play-state: paused; }

/* notification card on the phone (alert / card / full) */
.al-notif, .cd-notif, .fl-notif { opacity: 0; transform: translateY(-12px); }
.al-notif rect, .cd-notif > rect:first-child, .fl-notif rect { fill: var(--surface); stroke: var(--line); }
.al-notif text, .cd-notif text, .fl-notif text { font-size: 13px; fill: var(--muted); }

/* alert */
.al-charger circle { fill: var(--bg-tint); } .al-charger use { fill: var(--accent); }
.al-pill rect { fill: color-mix(in srgb, #16794a 14%, transparent); }
.al-pill text { font-size: 15px; font-weight: 600; }
.al-ok { fill: #16794a; } .al-bad { fill: #d33a2c; opacity: 0; }
.explainer.on-2 .al-charger use { fill: #d33a2c; }
.explainer.on-2 .al-pill rect { fill: color-mix(in srgb, #d33a2c 14%, transparent); }
.explainer.on-2 .al-ok { opacity: 0; } .explainer.on-2 .al-bad { opacity: 1; }
.explainer.on-2 .ex-stream { stroke: #d33a2c; }
.explainer.on-3 .al-notif { opacity: 1; transform: none; }
.al-ic1 { fill: #d33a2c; } .al-ic2 { fill: #16794a; opacity: 0; } .al-n2 { opacity: 0; }
.explainer.on-4 .al-charger use { fill: var(--accent); }
.explainer.on-4 .al-pill rect { fill: color-mix(in srgb, #16794a 14%, transparent); }
.explainer.on-4 .al-ok { opacity: 1; } .explainer.on-4 .al-bad { opacity: 0; }
.explainer.on-4 .ex-stream { stroke: var(--brand); }
.explainer.on-4 .al-ic1, .explainer.on-4 .al-n1 { opacity: 0; } .explainer.on-4 .al-ic2, .explainer.on-4 .al-n2 { opacity: 1; }

/* card */
.cd-charger circle { fill: var(--bg-tint); } .cd-charger use { fill: var(--accent); }
.cd-card { transform: translate(560px, 40px) rotate(-8deg); }
.explainer.on-1 .cd-card { transform: translate(412px, 92px) rotate(0); }
.cd-card rect { fill: var(--ink); } .cd-card use { fill: var(--brand); }
.cd-pill { opacity: 0; }
.explainer.on-2 .cd-pill { opacity: 1; }
.cd-pill rect { fill: color-mix(in srgb, var(--brand) 16%, transparent); }
.cd-pill text { font-size: 14px; font-weight: 600; }
.cd-wait { fill: var(--accent); } .cd-okt { fill: #16794a; opacity: 0; }
.explainer.on-3 .cd-pill rect { fill: color-mix(in srgb, #16794a 14%, transparent); }
.explainer.on-3 .cd-wait { opacity: 0; } .explainer.on-3 .cd-okt { opacity: 1; }
.explainer.on-2 .cd-notif { opacity: 1; transform: none; }
.cd-btn { fill: #16794a; } .cd-btn-t { fill: #fff !important; font-weight: 600; }
.explainer.on-3 .cd-btn { fill: color-mix(in srgb, #16794a 60%, var(--surface)); }
.cd-mini { opacity: 0; transform: translateY(10px); }
.cd-mini circle { fill: var(--bg-tint); } .cd-mini use { fill: var(--muted); }
.cd-tick { opacity: 0; fill: #16794a !important; }
.explainer.on-3 .cd-mini { opacity: 1; transform: none; }
.explainer.on-3 .cd-mini[data-n="2"] { transition-delay: .15s; } .explainer.on-3 .cd-mini[data-n="3"] { transition-delay: .3s; }
.explainer.on-3 .cd-tick { opacity: 1; transition-delay: .6s; }
.cd-offline { opacity: 0; } .cd-offline use { fill: #d33a2c; } .cd-offline text { font-size: 14px; fill: var(--muted); font-weight: 600; }
.explainer.on-4 .cd-offline { opacity: 1; }
.cd-bolt { opacity: 0; fill: var(--brand); }
.explainer.on-4 .cd-bolt { opacity: 1; }
.explainer.on-4 .cd-mini[data-n="1"] use:not(.cd-tick) { fill: var(--accent); }
.explainer.on-4 .cd-mini[data-n="1"] .cd-tick { opacity: 0; }

/* car full */
.fl-spot { fill: none; stroke: var(--line); stroke-width: 2; stroke-dasharray: 8 8; }
.fl-charger circle { fill: var(--bg-tint); } .fl-charger use { fill: var(--accent); }
.fl-car circle { fill: var(--ink); } .fl-car use { fill: #f2f6f7; }
.fl-car2 { opacity: 0; transform: translateY(120px); }
.fl-car2 circle { fill: #1f5f73; }
.fl-batt { fill: var(--brand); transform-box: fill-box; transform-origin: right; transform: scaleX(.8); }
.fl-p, .fl-kw0 { opacity: 0; } .fl-p80 { opacity: 1; }
.explainer.on-2 .fl-batt { transform: scaleX(1); fill: #16794a; }
.explainer.on-2 .fl-p80 { opacity: 0; } .explainer.on-2 .fl-p100 { opacity: 1; }
.explainer.on-2 .fl-kw1 { opacity: 0; } .explainer.on-2 .fl-kw0 { opacity: 1; }
.explainer.on-3 .fl-notif { opacity: 1; transform: none; }
.fl-notif use { fill: #16794a; }
.explainer.on-4 .fl-car1 { opacity: 0; transform: translateY(-110px); }
.explainer.on-4 .fl-car2 { opacity: 1; transform: none; transition-delay: .5s; }
.explainer.on-4 .fl-batt { transform: scaleX(.22); fill: var(--brand); transition-delay: .5s; }
.explainer.on-4 .fl-p100 { opacity: 0; } .explainer.on-4 .fl-p22 { opacity: 1; transition-delay: .6s; }
.explainer.on-4 .fl-kw0 { opacity: 0; } .explainer.on-4 .fl-kw1 { opacity: 1; transition-delay: .8s; }
.explainer.on-4 .fl-notif { opacity: .35; }

/* connect existing charger */
.cn-vendor circle { fill: var(--bg-tint); } .cn-vendor use { fill: var(--muted); } .cn-vendor text { font-size: 14px; fill: var(--muted); }
.cn-old { fill: none; stroke: var(--muted); stroke-width: 2.5; stroke-dasharray: 5 6; }
.explainer.on-2 .cn-old, .explainer.on-2 .cn-vendor { opacity: .25; }
.cn-charger circle { fill: var(--bg-tint); } .cn-charger use { fill: var(--accent); }
.cn-field { fill: var(--bg); stroke: var(--line); stroke-width: 2; }
.explainer.on-2 .cn-field { stroke: var(--accent); }
.cn-url { font-size: 15px; fill: var(--text); font-family: ui-monospace, "Cascadia Mono", monospace; }
.cn-url2 { opacity: 0; } .explainer.on-2 .cn-url1 { opacity: 0; } .explainer.on-2 .cn-url2 { opacity: 1; transition-delay: .3s; }
.cn-new { fill: none; stroke: var(--brand); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 230; stroke-dashoffset: 230; }
.explainer.on-3 .cn-new { stroke-dashoffset: 0; }
.cn-proto { font-size: 15px; font-weight: 600; fill: var(--accent); opacity: 0; }
.explainer.on-3 .cn-proto { opacity: 1; transition-delay: .8s; }
.cn-te circle { fill: var(--ink); }
.cn-portal { opacity: 0; transform: translateY(14px); }
.explainer.on-4 .cn-portal { opacity: 1; transform: none; }
.cn-portal > rect:first-child { fill: var(--surface); stroke: var(--line); }
.cn-portal text { font-size: 13px; fill: var(--muted); }
.cn-ok { fill: color-mix(in srgb, #16794a 14%, transparent); } .cn-ok-t { fill: #16794a !important; font-weight: 600; }

/* privacy */
.pv-head use { fill: var(--accent); }
.pv-row { opacity: 0; transform: translateY(10px); transition-delay: calc(var(--i) * 120ms) !important; }
.pv-row > rect:first-child { fill: var(--bg-tint); }
.pv-row text { font-size: 15px; fill: var(--text); }
.pv-kwh { font-weight: 600; }
.pv-tag { fill: color-mix(in srgb, var(--brand) 16%, transparent); }
.pv-tag-t { font-size: 13px !important; font-weight: 600; fill: var(--accent) !important; }
.pv-row.p .pv-tag { fill: color-mix(in srgb, var(--muted) 16%, transparent); }
.pv-row.p .pv-tag-t { fill: var(--muted) !important; }
.explainer.on-1 .pv-emp .pv-row { opacity: 1; transform: none; }
.explainer.on-2 .pv-emp .pv-row.p > rect:first-child { fill: color-mix(in srgb, var(--muted) 12%, var(--bg-tint)); stroke: var(--muted); stroke-dasharray: 4 5; }
.explainer.on-3 .pv-boss .pv-row { opacity: 1; transform: none; }
.pv-hidden { opacity: 0; } .pv-hidden use { fill: var(--muted); } .pv-hidden text { font-size: 14px; fill: var(--muted); }
.explainer.on-3 .pv-hidden { opacity: 1; transition-delay: .4s; }
.pv-ver { opacity: 0; } .pv-ver use { fill: #16794a; }
.explainer.on-4 .pv-ver { opacity: 1; }
.pv-loc { opacity: 0; } .pv-loc use { fill: var(--accent); } .pv-loc text { font-size: 14px; fill: var(--text); font-weight: 500; }
.explainer.on-4 .pv-loc { opacity: 1; transition-delay: .3s; }

@media (max-width: 860px) {
  .ex-row { grid-template-columns: minmax(0, 1fr); }
  .explainer__title { padding: 18px 18px 0; }
  .al-notif text, .cd-notif text, .fl-notif text, .cn-portal text { font-size: 16px; }
  .al-pill text, .cd-pill text, .cd-offline text, .cn-vendor text, .cn-proto { font-size: 18px; }
  .cn-url { font-size: 15px; }
  .pv-row text { font-size: 22px; } .pv-tag-t { font-size: 18px !important; }
  .pv-hidden text, .pv-loc text { font-size: 20px; }
}

/* ---------- sample report (a real statement, rendered as a document) ---------- */
.doc { margin-top: 44px; background: var(--surface); border-radius: var(--r-card); box-shadow: var(--shadow-lg); padding: 40px 44px; max-width: 980px; }
.doc__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-bottom: 24px; border-bottom: 2px solid var(--text); }
.doc__brand { display: flex; align-items: center; gap: 8px; font-weight: 700; letter-spacing: .06em; font-size: 13px; direction: ltr; order: 2; }
.doc__title h3 { font-size: 24px; font-weight: 700; }
.doc__title p { color: var(--muted); margin-top: 4px; }
.doc__meta { margin: 24px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.doc__meta div { display: grid; gap: 2px; }
.doc__meta dt { font-size: 13px; color: var(--muted); }
.doc__meta dd { margin: 0; font-weight: 600; }
.doc__sum { margin-top: 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: 16px; background: var(--bg-tint); overflow: hidden; }
.doc__sum div { padding: 18px 20px; display: grid; gap: 4px; border-inline-start: 1px solid var(--line); }
.doc__sum div:first-child { border-inline-start: 0; }
.doc__sum span { font-size: 13px; color: var(--muted); }
.doc__sum strong { font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; }
.doc__sum-total { background: color-mix(in srgb, var(--brand) 12%, transparent); }
.doc__sum-total strong { color: var(--accent); }
.doc__table { margin-top: 28px; display: grid; }
.doc__tr { display: grid; grid-template-columns: 1.1fr .6fr .6fr 3fr; gap: 16px; padding: 14px 4px; border-top: 1px solid var(--line); align-items: start; font-variant-numeric: tabular-nums; }
.doc__th { border-top: 0; font-size: 13px; color: var(--muted); font-weight: 600; padding-top: 0; }
.doc__tr em { display: block; font-style: normal; color: var(--muted); font-size: 14px; margin-top: 4px; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; margin-inline-end: 8px; }
.tag--ok { background: color-mix(in srgb, #16794a 14%, transparent); color: #16794a; }
.tag--warn { background: color-mix(in srgb, #c2410c 14%, transparent); color: #b23c0b; }
@media (prefers-color-scheme: dark) { .tag--ok { color: #5fd49a; } .tag--warn { color: #ff9a5c; } }
.doc__foot { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.doc__foot p { color: var(--muted); font-size: 14px; max-width: 60ch; }
.doc__foot .btn { flex: none; }

/* entrance: the document "prints" row by row when it scrolls in */
@media (prefers-reduced-motion: no-preference) {
  .js .doc .doc__meta, .js .doc .doc__sum, .js .doc .doc__tr, .js .doc .doc__foot { opacity: 0; transform: translateY(10px); transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1); }
  .js .doc.in .doc__meta, .js .doc.in .doc__sum, .js .doc.in .doc__tr, .js .doc.in .doc__foot { opacity: 1; transform: none; }
  .js .doc.in .doc__meta { transition-delay: .1s; } .js .doc.in .doc__sum { transition-delay: .25s; }
  .js .doc.in .doc__tr:nth-child(1) { transition-delay: .45s; } .js .doc.in .doc__tr:nth-child(2) { transition-delay: .6s; }
  .js .doc.in .doc__tr:nth-child(3) { transition-delay: .75s; } .js .doc.in .doc__tr:nth-child(4) { transition-delay: .9s; }
  .js .doc.in .doc__tr:nth-child(5) { transition-delay: 1.05s; } .js .doc.in .doc__foot { transition-delay: 1.25s; }
}

@media (max-width: 860px) {
  .doc { padding: 24px 18px; }
  .doc__head { flex-direction: column-reverse; }
  .doc__meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc__sum { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc__sum div:nth-child(3) { border-inline-start: 0; }
  .doc__sum div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .doc__sum strong { font-size: 22px; }
  .doc__th { display: none; }
  .doc__tr { grid-template-columns: auto auto 1fr; gap: 4px 14px; }
  .doc__tr span:nth-child(4) { grid-column: 1 / -1; }
  .doc__tr span:nth-child(3)::after { content: " קוט״ש"; color: var(--muted); }
  .doc__foot { flex-direction: column; align-items: stretch; }
}

/* six-month report */
#report .tabs { margin-top: 32px; }
#report .doc { margin-top: 20px; }
.doc[hidden] { display: none; }
.tag--info { background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--accent); }
.bars { margin: 32px 0 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; align-items: end; height: 260px; padding: 0 4px; position: relative; }
.bars__col { display: grid; grid-template-rows: auto 1fr auto; justify-items: center; align-items: end; height: 100%; gap: 8px; }
.bars__col b { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.bars__col i { width: min(64px, 70%); height: calc(var(--v) / 230 * 100%); border-radius: 12px 12px 4px 4px; background: linear-gradient(180deg, var(--brand), color-mix(in srgb, var(--brand) 70%, var(--accent))); align-self: end; transform-origin: bottom; }
.bars__col span { font-size: 14px; color: var(--muted); }
.bars figcaption { position: absolute; inset-inline-start: 4px; top: -26px; font-size: 13px; color: var(--muted); }
.doc__table--months .doc__tr { grid-template-columns: 1fr .7fr .8fr .9fr .9fr 1.4fr; }
.doc__notes { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
.doc__notes li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--text); font-size: 15px; }
.doc__notes .ic { color: var(--accent); margin-top: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .js .doc .bars__col i { transform: scaleY(0); transition: transform 1s cubic-bezier(.16,1,.3,1); }
  .js .doc.in .bars__col i { transform: none; }
  .js .doc .bars__col b { opacity: 0; transition: opacity .5s; }
  .js .doc.in .bars__col b { opacity: 1; transition-delay: 1s; }
  .js .doc.in .bars__col:nth-child(2) i { transition-delay: .08s; } .js .doc.in .bars__col:nth-child(3) i { transition-delay: .16s; }
  .js .doc.in .bars__col:nth-child(4) i { transition-delay: .24s; } .js .doc.in .bars__col:nth-child(5) i { transition-delay: .32s; }
  .js .doc.in .bars__col:nth-child(6) i { transition-delay: .4s; }
  .js .doc .doc__notes li { opacity: 0; transform: translateY(8px); transition: opacity .6s, transform .6s; }
  .js .doc.in .doc__notes li { opacity: 1; transform: none; transition-delay: 1.3s; }
}
@media (max-width: 860px) {
  .bars { height: 200px; gap: 6px; }
  .bars__col b { font-size: 11px; }
  .bars__col span { font-size: 12px; }
  .doc__table--months .doc__th { display: none !important; }
  .doc__table--months .doc__tr { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
  .doc__table--months .doc__tr span { white-space: nowrap; font-size: 14px; color: var(--muted); }
  .doc__table--months .doc__tr span:nth-child(1) { flex: 1 0 50%; font-size: 17px; font-weight: 600; color: var(--text); }
  .doc__table--months .doc__tr span:nth-child(4) { order: -1; flex: 0 0 auto; font-size: 17px; font-weight: 700; color: var(--text); }
  .doc__table--months .doc__tr span:nth-child(1) { order: -2; }
  .doc__table--months .doc__tr span:nth-child(2)::after { content: " טעינות"; }
  .doc__table--months .doc__tr span:nth-child(3)::after { content: " קוט״ש"; }
  .doc__table--months .doc__tr span:nth-child(5)::before { content: "אומתו "; }
  .doc__table--months .doc__tr span:nth-child(6) { margin-inline-start: auto; }
  .doc__notes { grid-template-columns: 1fr; }
}

/* ---------- accessibility menu + its modes ---------- */
.a11y { position: fixed; z-index: 40; inset-inline-end: 18px; bottom: 18px; }
.a11y__btn { width: 52px; height: 52px; border-radius: 999px; border: 2px solid #fff; background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-lg); }
.a11y__btn .ic { width: 28px; height: 28px; }
.a11y__panel { position: absolute; bottom: 64px; inset-inline-end: 0; width: min(320px, calc(100vw - 36px)); background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 16px; }
.a11y__panel[hidden] { display: none; }
.a11y__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.a11y__head h2 { font-size: 18px; font-weight: 700; }
.a11y__close { width: 40px; height: 40px; border: 0; background: transparent; color: var(--text); border-radius: 10px; cursor: pointer; display: grid; place-items: center; }
.a11y__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y__opts button { display: grid; justify-items: center; gap: 6px; padding: 14px 8px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); color: var(--text); font: 600 15px/1.3 var(--font); cursor: pointer; text-align: center; }
.a11y__opts button .ic { width: 26px; height: 26px; color: var(--accent); }
.a11y__opts button[aria-pressed="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--bg)); }
.a11y__foot { margin-top: 12px; display: flex; justify-content: space-between; align-items: center; }
.a11y__reset { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; color: var(--text); font: 600 15px var(--font); cursor: pointer; padding: 8px; border-radius: 8px; }
.a11y__foot a { color: var(--accent); font-weight: 600; font-size: 15px; }

/* larger text: scales the whole layout so nothing overflows its box */
:root.a11y-text body { zoom: 1.2; }
/* high contrast */
:root.a11y-contrast { --bg: #ffffff; --bg-tint: #ffffff; --surface: #ffffff; --text: #000000; --muted: #1b1b1b; --line: #000000; --accent: #8f2f00; --accent-hover: #6e2400; --on-accent: #ffffff; }
@media (prefers-color-scheme: dark) { :root.a11y-contrast { --bg: #000000; --bg-tint: #000000; --surface: #000000; --text: #ffffff; --muted: #f0f0f0; --line: #ffffff; --accent: #ffb27a; --accent-hover: #ffd0ad; --on-accent: #000000; } }
:root.a11y-contrast .tile, :root.a11y-contrast .explainer, :root.a11y-contrast .doc, :root.a11y-contrast .ba, :root.a11y-contrast .form, :root.a11y-contrast .phone { outline: 2px solid var(--line); box-shadow: none; }
:root.a11y-contrast .tile--orange, :root.a11y-contrast .tile--ink, :root.a11y-contrast .panel, :root.a11y-contrast .stage { background: #000; color: #fff; }
:root.a11y-contrast .tile--orange p, :root.a11y-contrast .tile--ink p, :root.a11y-contrast .panel__lead, :root.a11y-contrast .checks span { color: #fff; }
/* stop all motion */
:root.a11y-still *, :root.a11y-still *::before, :root.a11y-still *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
:root.a11y-still .reveal, :root.a11y-still .js .reveal { opacity: 1 !important; transform: none !important; }
/* highlight links */
:root.a11y-links a:not(.btn) { text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: 3px; }
:root.a11y-links a:focus-visible, :root.a11y-links button:focus-visible { outline-width: 4px; }

@media print { .a11y { display: none; } }

/* ---------- legal pages ---------- */
.legal { padding: 48px 0 96px; }
.legal__in { max-width: 760px; }
.legal h1 { font-size: clamp(32px, 4vw, 44px); font-weight: 700; line-height: 1.15; }
.legal .legal__updated { color: var(--muted); margin-top: 10px; }
.legal h2 { font-size: 22px; font-weight: 700; margin-top: 40px; }
.legal h3 { font-size: 18px; font-weight: 600; margin-top: 22px; }
.legal p, .legal li { margin-top: 12px; max-width: 70ch; }
.legal ul { padding-inline-start: 22px; margin: 0; }
.legal li { margin-top: 8px; }
.legal a { color: var(--accent); }
.legal table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 15px; }
.legal th, .legal td { text-align: start; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { font-weight: 600; color: var(--muted); font-size: 14px; }
.legal .box { margin-top: 20px; padding: 18px 20px; border-radius: 16px; background: var(--bg-tint); border: 1px solid var(--line); }
.todo { background: #fff2a8; color: #5a4300; padding: 0 4px; border-radius: 4px; }
.nav--simple .nav__in { gap: 16px; }
.nav--simple .nav__back { margin-inline-start: auto; color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; }
.footer__legal { margin-inline-start: auto; }
@media (max-width: 860px) {
  .legal { padding: 28px 0 72px; }
  .legal table, .legal thead, .legal tbody, .legal tr, .legal th, .legal td { display: block; }
  .legal thead { display: none; }
  .legal td { border-bottom: 0; padding: 4px 0; }
  .legal tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
  .footer__legal { margin-inline-start: 0; }
}
