:root {
  --navy-950: #041A26;
  --navy-900: #062231;
  --navy-800: #0B2E3F;
  --navy-700: #12405A;
  --teal-600: #127C8A;
  --teal-400: #1FA3A8;
  --green-500: #4FAE4A;
  --green-400: #6DBE45;
  --lime-400: #B8D531;
  --ink: #0B2230;
  --muted: #536571;
  --line: #DCE5E8;
  --bg: #F4F8F7;
  --white: #FFFFFF;

  --font-head: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --radius: 18px;
  --shadow: 0 12px 32px -12px rgba(6, 34, 49, 0.18);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
/* Elements sliding in from the side must never create a sideways scroll
   (on <main>: overflow set on <body> is handed to the viewport and doesn't clip on phones) */
main { overflow-x: clip; }
main:focus { outline: none; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }

/* Keyboard focus: always visible, on light and dark backgrounds */
:focus-visible { outline: 3px solid var(--teal-400); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: absolute; top: -80px; inset-inline-start: 12px; z-index: 100;
  background: var(--lime-400); color: var(--navy-900); font-weight: 600;
  padding: .6rem 1.1rem; border-radius: 10px;
}
.skip-link:focus { top: 12px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }

.eyebrow {
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: .9rem 1.6rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--green-400), var(--lime-400)); color: var(--navy-900); }
.btn-primary:hover { background: linear-gradient(135deg, #7BCB4F, #C6E13D); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.06); }
.btn-sm { padding: .55rem 1.15rem; font-size: .9rem; }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--navy-800); }
.brand-mark { width: 46px; height: 46px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.28rem; letter-spacing: .05em; }
.brand-sub { font-family: var(--font-head); font-weight: 600; font-size: .62rem; letter-spacing: .32em; color: var(--teal-600); margin-top: .35rem; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .3s ease, box-shadow .3s ease;
}
.site-header .brand { color: var(--white); }
.site-header .brand-sub { color: var(--lime-400); }
.site-header.scrolled { background: rgba(255,255,255,.94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.site-header.scrolled .brand { color: var(--navy-800); }
.site-header.scrolled .brand-sub { color: var(--teal-600); }
.header-inner { display: flex; align-items: center; justify-content: space-between; }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a:not(.btn) { font-weight: 500; font-size: .96rem; color: rgba(255,255,255,.85); transition: color .2s; }
.site-nav a:not(.btn):hover { color: var(--white); }
.site-header.scrolled .site-nav a:not(.btn) { color: var(--muted); }
.site-header.scrolled .site-nav a:not(.btn):hover { color: var(--navy-800); }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }
.site-header.scrolled .nav-toggle span { background: var(--navy-800); }

/* Hero */
.hero {
  position: relative;
  background: var(--navy-900);
  color: var(--white);
  padding: calc(var(--header-h) + 72px) 0 96px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 400px at 85% 20%, rgba(184, 213, 49, .16), transparent 70%),
    radial-gradient(700px 500px at 10% 100%, rgba(31, 163, 168, .22), transparent 70%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 48px 48px;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero .eyebrow { color: var(--lime-400); }
.hero h1 .hl { background: linear-gradient(90deg, var(--green-400), var(--lime-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.15rem; color: rgba(255,255,255,.78); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }

.hero-visual {
  margin: 0;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
}
.hero-visual svg { width: 100%; height: auto; }
.node rect { fill: rgba(255,255,255,.06); stroke: rgba(255,255,255,.16); stroke-width: 1.2; }
.node-accent > rect { fill: rgba(109, 190, 69, .12); stroke: rgba(184, 213, 49, .5); }
.ico * { fill: none; stroke: var(--lime-400); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.ico .fill { fill: var(--lime-400); }
.ico .bolt { fill: var(--lime-400); stroke: none; }
.n-title { font-family: var(--font-head); font-weight: 600; font-size: 17px; fill: var(--white); }
.n-sub { font-size: 12px; fill: rgba(255,255,255,.6); }
/* Dashes move via SMIL <animate> in the markup: CSS-animated SVG strokes can freeze in iOS Safari */
.flow { fill: none; stroke: var(--teal-400); stroke-width: 2.5; stroke-dasharray: 7 9; stroke-linecap: round; }

/* Strip */
.strip { background: var(--navy-800); color: rgba(255,255,255,.85); border-top: 1px solid rgba(255,255,255,.08); }
.strip-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 14px 22px; padding: 22px 0;
  font-family: var(--font-head); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem;
}
.strip i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime-400); }

/* Sections */
.section { padding: 110px 0; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-lead { font-size: 1.1rem; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow);
  transition: transform .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(79, 174, 74, .45); }
.card p { color: var(--muted); }
.card-icon {
  width: 64px; height: 64px; border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy-800), var(--teal-600));
  margin-bottom: 24px;
}
.card-icon svg { width: 38px; height: 38px; }
.card-icon svg * { fill: none; stroke: var(--white); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.card-icon svg .bolt { fill: var(--lime-400); stroke: none; }

.ticks { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .5rem; }
.ticks li { position: relative; padding-left: 1.6rem; font-weight: 500; font-size: .95rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .45em;
  width: 14px; height: 8px;
  border-left: 2.5px solid var(--green-500); border-bottom: 2.5px solid var(--green-500);
  transform: rotate(-45deg);
}

/* Dark section: services */
.section-dark { background: var(--navy-900); color: var(--white); position: relative; overflow: hidden; }
.section-dark::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 400px at 100% 0%, rgba(31,163,168,.18), transparent 70%);
}
.section-dark .container { position: relative; }
.section-dark .eyebrow { color: var(--lime-400); }
.section-dark .section-lead { color: rgba(255,255,255,.7); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: none; }
.step {
  position: relative;
  padding: 30px 24px 28px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.1);
}
.step::after {
  content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 3px; border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--teal-400), var(--lime-400));
}
.step-num { font-family: var(--font-head); font-weight: 700; font-size: 2rem; color: rgba(184,213,49,.9); display: block; margin-bottom: .8rem; }
.step h3 { font-size: 1.08rem; }
.step p { color: rgba(255,255,255,.68); font-size: .95rem; margin: 0; }

/* About */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
.about-copy p { color: var(--muted); font-size: 1.05rem; }
.advantages { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.adv {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px;
  border-top: 4px solid var(--green-400);
}
.adv:nth-child(2n) { border-top-color: var(--teal-400); }
.adv h3 { font-size: 1.05rem; }
.adv p { color: var(--muted); font-size: .95rem; margin: 0; }
/* Parent company card (Netzer) under the about copy */
.parent-card {
  display: flex; align-items: center; gap: 22px; margin-top: 28px;
  padding: 20px 24px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.parent-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--teal-400); }
.parent-card img { width: 150px; height: auto; flex: none; }
.parent-text {
  display: flex; flex-direction: column; gap: 4px;
  padding-left: 22px; border-left: 1px solid var(--line);
  color: var(--muted); font-size: .95rem; line-height: 1.45;
}
.parent-label { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 1rem; }
.parent-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; color: var(--teal-600); font-weight: 600; }
.parent-link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.parent-card:hover .parent-link svg { transform: translateX(3px); }

/* Vision */
.vision { background: linear-gradient(120deg, var(--navy-800), var(--teal-600)); color: var(--white); padding: 80px 0; }
.vision-inner { display: flex; align-items: center; gap: 40px; }
.vision-mark { width: 120px; height: 120px; flex: none; color: var(--white); }
.vision .eyebrow { color: var(--lime-400); }
.vision-text { font-family: var(--font-head); font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 500; line-height: 1.4; margin: 0; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.contact-copy p { color: var(--muted); font-size: 1.05rem; }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; flex-direction: column; font-weight: 500; }
.contact-list span { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--teal-600); font-family: var(--font-head); font-weight: 600; }
.contact-list a:hover { color: var(--teal-600); }

.contact-form {
  background: var(--white); border: 1px solid var(--line); border-radius: 22px;
  padding: 36px; box-shadow: var(--shadow);
  display: grid; gap: 18px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--navy-800); }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-weight: 400; font-size: 1rem; color: var(--ink);
  padding: .8rem .95rem;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg);
  transition: border-color .2s, background-color .2s;
  width: 100%;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--teal-400); background: var(--white);
  box-shadow: 0 0 0 3px rgba(31, 163, 168, .5);
}
.contact-form ::placeholder { color: var(--muted); opacity: 1; }
.contact-form .req { font-weight: 400; color: var(--muted); }
.form-privacy { margin: 0; font-size: .82rem; color: var(--muted); }
.form-privacy a { color: var(--teal-600); text-decoration: underline; }
.contact-form .invalid { border-color: #D2553F; }
.contact-form textarea { resize: vertical; }
.contact-form .btn { justify-self: start; }
.form-note { margin: 0; font-size: .92rem; color: var(--teal-600); min-height: 1.4em; }

/* Footer */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.7); padding: 64px 0 28px; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.brand-light { color: var(--white); }
.brand-light .brand-sub { color: var(--lime-400); }
.footer-tag { margin: 0; font-size: .95rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; }
.footer-nav a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; padding-top: 22px; font-size: .85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.footer-parent:hover { color: var(--white); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-legal a:hover { color: var(--white); text-decoration: underline; }

/* Policy pages (privacy, accessibility) */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--navy-900); color: var(--white);
  padding: calc(var(--header-h) + 56px) 0 56px;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.page-hero p { margin: 0; color: rgba(255,255,255,.75); }
.legal { padding: 64px 0 96px; }
.legal-body { max-width: 760px; }
.legal-body h2 { font-size: 1.35rem; margin-top: 2.2em; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body ul { padding-inline-start: 1.3em; margin: 0 0 1em; }
.legal-body li { margin-bottom: .45em; }
.legal-body a { color: var(--teal-600); text-decoration: underline; }
.legal-contact {
  background: var(--white); border: 1px solid var(--line); border-inline-start: 4px solid var(--teal-400);
  border-radius: 12px; padding: 18px 22px; line-height: 1.8;
}
.legal-sign { margin-top: 3em; padding-top: 1.2em; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }

/* Accessibility menu */
.a11y-toggle {
  position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: 60;
  width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--white);
  background: var(--teal-600); color: var(--white); cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 8px 20px -6px rgba(6,34,49,.45);
  transition: transform .2s ease, background-color .2s ease;
}
.a11y-toggle:hover { transform: scale(1.06); background: var(--navy-800); }
.a11y-toggle svg { width: 26px; height: 26px; }
.a11y-panel {
  position: fixed; bottom: 82px; inset-inline-start: 22px; z-index: 60;
  width: min(300px, calc(100vw - 28px)); max-height: calc(100vh - 110px); overflow-y: auto;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 20px 44px -12px rgba(6,34,49,.35);
  padding: 18px; display: grid; gap: 8px;
}
.a11y-panel[hidden] { display: none; }
.a11y-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.a11y-head h2 { font-size: 1.1rem; margin: 0; }
.a11y-close {
  width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--bg);
  font-size: 1.4rem; line-height: 1; color: var(--ink); cursor: pointer;
}
.a11y-size {
  display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 8px;
  padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; font-size: .92rem; font-weight: 600;
}
.a11y-size button {
  width: 38px; height: 34px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--bg); color: var(--ink); font: 600 .92rem/1 var(--font-head); cursor: pointer;
}
.a11y-size button:disabled { opacity: .4; cursor: default; }
.a11y-size output { min-width: 3.2em; text-align: center; font-size: .88rem; }
.a11y-opt, .a11y-reset {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; padding: 10px 12px; text-align: start;
  border: 1px solid var(--line); border-radius: 12px; background: var(--white);
  font: 600 .92rem/1.3 var(--font-body); color: var(--ink); cursor: pointer;
}
.a11y-opt::after {
  content: ""; flex: none; width: 34px; height: 20px; border-radius: 999px;
  background: var(--line) radial-gradient(circle 7px at 10px 50%, var(--white) 98%, transparent) no-repeat;
  transition: background-color .2s ease, background-position .2s ease;
}
.a11y-opt[aria-pressed="true"] { border-color: var(--teal-400); background: rgba(31,163,168,.07); }
.a11y-opt[aria-pressed="true"]::after { background-color: var(--teal-600); background-position: 14px 0; }
.a11y-reset { justify-content: center; background: var(--bg); }
.a11y-statement { text-align: center; font-size: .9rem; color: var(--teal-600); text-decoration: underline; padding-top: 4px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal-left { transform: translateX(-36px); }
.reveal-right { transform: translateX(36px); }
.reveal-zoom { transform: translateY(14px) scale(.94); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Hero entrance + scroll parallax (transforms on .hero-copy / .hero-visual are set from JS) */
.hero-copy, .hero-bg { will-change: transform; }
.hero-copy > * { animation: rise .9s cubic-bezier(.2, .8, .2, 1) both; }
.hero-copy > :nth-child(2) { animation-delay: .1s; }
.hero-copy > :nth-child(3) { animation-delay: .2s; }
.hero-copy > :nth-child(4) { animation-delay: .3s; }
.hero-visual svg { animation: rise 1s .3s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }

/* Services: an energy line that charges as you scroll and lights up each step */
.energy-track { position: relative; height: 4px; border-radius: 4px; background: rgba(255,255,255,.1); margin: 0 0 30px; }
.energy-fill {
  position: absolute; left: 0; top: 0; bottom: 0; width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal-400), var(--green-400), var(--lime-400));
  box-shadow: 0 0 14px rgba(184, 213, 49, .55);
}
.energy-spark {
  position: absolute; right: -8px; top: 50%;
  width: 16px; height: 16px; margin-top: -8px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(184, 213, 49, .35), 0 0 24px 8px rgba(184, 213, 49, .7);
  opacity: 0; transition: opacity .3s;
}
.energy-track.live .energy-spark { opacity: 1; }
.energy-track b {
  position: absolute; top: 50%; z-index: 1;
  width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--navy-900); border: 2px solid rgba(255,255,255,.25);
  transition: background-color .35s, border-color .35s, box-shadow .35s;
}
.energy-track b.on { background: var(--lime-400); border-color: var(--lime-400); box-shadow: 0 0 16px rgba(184, 213, 49, .85); }

.step { transition: opacity .7s ease, transform .7s ease, border-color .45s, background-color .45s; }
.step::after { transform: scaleX(0); transform-origin: left; transition: transform .6s ease; }
.step-num { color: rgba(255,255,255,.6); transition: color .45s, text-shadow .45s; }
.step.lit { border-color: rgba(184, 213, 49, .35); background: rgba(184, 213, 49, .06); }
.step.lit::after { transform: scaleX(1); }
.step.lit .step-num { color: var(--lime-400); text-shadow: 0 0 20px rgba(184, 213, 49, .5); }

/* Vision: the mark pops in, then its energy cycle turns with the scroll (rotation set from JS) */
.vision-mark { opacity: 0; transform: scale(.6); transition: opacity .8s ease .1s, transform .9s cubic-bezier(.2, .8, .2, 1) .1s; }
.vision-inner.in .vision-mark { opacity: 1; transform: none; }

/* Scroll progress battery */
.scroll-battery {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  width: 42px; padding: 0; border: 0; background: none; cursor: pointer;
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
.scroll-battery.show { opacity: 1; transform: none; pointer-events: auto; }
.scroll-battery .cap { display: block; width: 14px; height: 5px; margin: 0 auto; border-radius: 3px 3px 0 0; background: var(--navy-800); }
.scroll-battery .body {
  position: relative; display: block; height: 64px;
  border: 3px solid var(--navy-800); border-radius: 10px;
  background: var(--white); overflow: hidden;
  box-shadow: 0 10px 24px -8px rgba(6, 34, 49, .45);
}
.scroll-battery .level {
  position: absolute; left: 3px; right: 3px; bottom: 3px;
  height: calc((100% - 6px) * var(--p, 0));
  border-radius: 5px;
  background: linear-gradient(0deg, var(--green-500), var(--lime-400));
}
.scroll-battery .pct { position: absolute; inset: 0; display: grid; place-items: center; font: 700 .68rem var(--font-head); color: var(--navy-900); }
.scroll-battery:hover .body { border-color: var(--teal-600); }
.scroll-battery.full .body { animation: charged 1.6s ease-in-out infinite; }
@keyframes charged {
  0%, 100% { box-shadow: 0 10px 24px -8px rgba(6, 34, 49, .45), 0 0 0 0 rgba(184, 213, 49, .6); }
  50% { box-shadow: 0 10px 24px -8px rgba(6, 34, 49, .45), 0 0 0 8px rgba(184, 213, 49, 0); }
}

/* Language switch */
.lang-switch {
  font-family: var(--font-head); font-weight: 600; font-size: .85rem;
  padding: .3rem .75rem; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.35);
}
.site-header.scrolled .lang-switch { border-color: var(--line); }
/* Phone-only switch under the logo (the header link is hidden in the phone menu) */
.lang-mobile { display: none; }

/* Hebrew / right-to-left. Layout (grid, flex, text alignment) mirrors by itself via dir="rtl";
   these rules fix what is hard-coded to the left, plus Hebrew typography. */
html[lang="he"] {
  --font-head: "Heebo", "Segoe UI", system-ui, sans-serif;
  --font-body: "Heebo", "Segoe UI", system-ui, sans-serif;
}
[dir="rtl"] h1 { font-weight: 800; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; }
/* Hebrew has no capitals and doesn't take wide letter-spacing */
[dir="rtl"] .eyebrow { letter-spacing: .03em; font-size: .92rem; }
[dir="rtl"] .strip-inner { letter-spacing: .02em; font-size: .95rem; }
[dir="rtl"] .contact-list span { letter-spacing: .03em; font-size: .85rem; }
/* The logo lockup stays as designed: Latin wordmark, mark on the left */
[dir="rtl"] .brand { direction: ltr; }
[dir="rtl"] .brand-name, [dir="rtl"] .brand-sub { font-family: "Sora", "Segoe UI", system-ui, sans-serif; }

[dir="rtl"] .hero h1 .hl { background-image: linear-gradient(270deg, var(--green-400), var(--lime-400)); }
[dir="rtl"] .ticks li { padding-left: 0; padding-right: 1.6rem; }
[dir="rtl"] .ticks li::before { left: auto; right: 0; }
[dir="rtl"] .reveal-left { transform: translateX(36px); }
[dir="rtl"] .reveal-right { transform: translateX(-36px); }
[dir="rtl"] .reveal.in { transform: none; }
[dir="rtl"] .energy-fill { left: auto; right: 0; background: linear-gradient(270deg, var(--teal-400), var(--green-400), var(--lime-400)); }
[dir="rtl"] .energy-spark { right: auto; left: -8px; }
[dir="rtl"] .step::after { transform-origin: right; }
[dir="rtl"] .scroll-battery { right: auto; left: 22px; }
[dir="rtl"] .parent-text { padding-left: 0; border-left: 0; padding-right: 22px; border-right: 1px solid var(--line); }
[dir="rtl"] .parent-link svg { transform: scaleX(-1); }
[dir="rtl"] .parent-card:hover .parent-link svg { transform: scaleX(-1) translateX(3px); }
[dir="rtl"] .a11y-opt::after { transform: scaleX(-1); }

/* Accessibility menu modes (classes set on <html> by a11y.js) */
html.a11y-contrast { --muted: #1C2B33; --line: #7E909A; --teal-600: #0A5560; }
html.a11y-contrast body { background: var(--white); }
html.a11y-contrast .lead, html.a11y-contrast .strip, html.a11y-contrast .section-dark .section-lead,
html.a11y-contrast .step p, html.a11y-contrast .site-footer, html.a11y-contrast .page-hero p,
html.a11y-contrast .site-header:not(.scrolled) .site-nav a:not(.btn) { color: var(--white); }
html.a11y-contrast .n-sub { fill: var(--white); }
html.a11y-contrast .step-num { color: rgba(255,255,255,.75); }
html.a11y-contrast .site-header.scrolled .site-nav a:not(.btn) { color: var(--ink); }
html.a11y-contrast :focus-visible { outline-color: #F5C400; outline-width: 4px; }

html.a11y-links a:not(.brand) { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }
html.a11y-links a.btn { outline: 2px solid currentColor; outline-offset: 2px; }

html[lang].a11y-font { --font-head: Arial, "Segoe UI", system-ui, sans-serif; --font-body: Arial, "Segoe UI", system-ui, sans-serif; }
html.a11y-font body { letter-spacing: .01em; word-spacing: .06em; }

html.a11y-still { scroll-behavior: auto; }
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation: none !important; transition: none !important; }
html.a11y-still .reveal, html.a11y-still .vision-mark { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .energy-track { display: none; }
}
@media (max-width: 960px) {
  .hero-inner, .about, .contact { grid-template-columns: 1fr; gap: 48px; }
  .cards { grid-template-columns: 1fr; max-width: 620px; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); box-shadow: 0 16px 24px -12px rgba(6,34,49,.2);
    padding: 8px 20px 20px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { color: var(--navy-800) !important; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 16px; }
  :root { --header-h: 86px; }
  .site-nav .lang-switch { display: none; }
  .brand-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; direction: ltr; }
  .lang-mobile {
    display: inline-flex; margin-left: calc(46px + .7rem);
    font-weight: 600; font-size: .74rem; line-height: 1;
    padding: .3rem .7rem; border-radius: 999px;
    border: 1px solid rgba(255,255,255,.4); color: rgba(255,255,255,.92);
  }
  .site-header.scrolled .lang-mobile, .site-header.menu-open .lang-mobile { border-color: var(--line); color: var(--navy-800); }
  .site-header.menu-open { background: var(--white); }
  .site-header.menu-open .brand { color: var(--navy-800); }
  .site-header.menu-open .brand-sub { color: var(--teal-600); }
  .site-header.menu-open .nav-toggle span { background: var(--navy-800); }
  .site-header.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .container { width: calc(100% - 32px); }
  .section { padding: 80px 0; }
  .hero { padding: calc(var(--header-h) + 40px) 0 72px; }
  .hero-visual { padding: 10px; }
  .steps { grid-template-columns: 1fr; }
  .advantages, .field-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .parent-card { flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px; }
  .parent-card img { width: 140px; }
  .parent-text, [dir="rtl"] .parent-text { padding: 0; border: 0; }
  .vision-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .vision-mark { width: 80px; height: 80px; }
  .strip-inner { gap: 10px 16px; font-size: .75rem; }
  .brand-mark { width: 40px; height: 40px; }
  .lang-mobile { margin-left: calc(40px + .7rem); }
  .brand-name { font-size: 1.12rem; }
  .scroll-battery { right: 14px; bottom: 14px; width: 34px; }
  .a11y-toggle { bottom: 14px; inset-inline-start: 14px; width: 44px; height: 44px; }
  .a11y-panel { bottom: 68px; inset-inline-start: 14px; }
  .legal { padding: 48px 0 72px; }
  /* Room under the last footer line for the floating accessibility and battery buttons */
  .site-footer { padding-bottom: 76px; }
  [dir="rtl"] .scroll-battery { right: auto; left: 14px; }
  .scroll-battery .body { height: 52px; }
  .scroll-battery .pct { font-size: .58rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .parent-card, .a11y-toggle { transition: none; }
  .hero-copy > *, .hero-visual svg, .scroll-battery.full .body { animation: none; }
  .vision-mark { opacity: 1; transform: none; transition: none; }
}
