@charset "UTF-8";
/* Generated by fetch-fonts.mjs — do not edit by hand.
 *
 * Vazirmatn, self-hosted, one variable file per script. One face for
 * Latin, Persian and Arabic, so the three language editions of this site
 * are set in the same type and a mixed line (an OCPP identity inside an
 * Arabic sentence) does not change face halfway through.
 *
 * A character outside every range below is drawn in whatever face the
 * machine happens to have, which looks like a bug. Keep the copy inside
 * these ranges, or draw the thing as SVG.
 */

@font-face{font-family:Vazirmatn;font-style:normal;font-weight:100 900;font-display:swap;src:url(fonts/vazirmatn-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:Vazirmatn;font-style:normal;font-weight:100 900;font-display:swap;src:url(fonts/vazirmatn-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:Vazirmatn;font-style:normal;font-weight:100 900;font-display:swap;src:url(fonts/vazirmatn-arabic.woff2) format('woff2');unicode-range:U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1}

/* ===========================================================================
   voltoros.com
   ---------------------------------------------------------------------------
   The palette is the operator console's, not a new one: the tokens below are
   copied from platform/admin/src/app/globals.css so a visitor who signs in
   does not change worlds. Grey carries the page; red is identity and the one
   primary action; cyan ("xenon") is data.

   Everything is written with logical properties — inline-start/end, not
   left/right, and padding-inline, not padding-left. That is what makes the
   Persian and Arabic editions right-to-left for free rather than by a second
   stylesheet that drifts out of step.
   =========================================================================== */

:root {
  /* Greys carry the navy cast of the logo's dark ink (#181C24) rather than a
     neutral black, so the page and the mark sit in the same family. */
  --base: 12 14 18;
  --surface: 20 24 30;
  --raised: 28 33 41;
  --line: 43 49 59;
  --line-bright: 60 68 80;
  --ink: 232 234 238;
  --muted: 152 162 174;
  --faint: 104 113 125;

  /* Voltoros red, sampled from the logo. Identity and primary actions only —
     never a decoration, or it stops meaning anything. */
  --brand: 229 22 22;
  --brand-bright: 252 24 24;
  --brand-deep: 168 0 0;

  /* Xenon: the blue-white brilliance of an HID lamp. Used for anything that
     is a measurement or a live value. */
  --xenon: 34 211 238;
  --violet: 129 140 248;
  --ok: 52 211 153;

  --grid-line: rgb(255 255 255 / 0.022);

  --shell: min(1180px, 100% - 2 * var(--gutter));
  --gutter: 20px;
  --radius: 14px;
  --radius-lg: 20px;

  /* One scale, used everywhere. clamp() rather than breakpoints so a 380px
     phone and a 1600px desktop both get a sensible size with no jump. */
  --h1: clamp(2.3rem, 1.1rem + 4.8vw, 4.4rem);
  --h2: clamp(1.6rem, 1.05rem + 2.1vw, 2.6rem);
  --h3: clamp(1.05rem, 0.95rem + 0.45vw, 1.25rem);
  --lede: clamp(1rem, 0.94rem + 0.35vw, 1.18rem);

  --section-y: clamp(72px, 9vw, 150px);

  color-scheme: dark;
}

@media (min-width: 640px) {
  :root {
    --gutter: 32px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* The fixed header must not cover the heading of a section jumped to. */
  scroll-padding-top: 90px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: rgb(var(--base));
  color: rgb(var(--ink));
  font-family: Vazirmatn, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;

  /* The faint engineering grid from the console. Barely visible; it stops a
     large dark page reading as flat dead space. */
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  /* Deliberately NOT background-attachment: fixed. iOS Safari handles it
     badly — it repaints the whole background on every scroll frame and, with
     a fixed WebGL canvas also on screen, drops frames for it. The grid
     scrolling with the page is no worse to look at. */
}

/* Persian and Arabic carry marks above and below the baseline that collide at
   this size without more room between lines. */
[dir='rtl'] body,
body[dir='rtl'] {
  line-height: 1.85;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: rgb(var(--xenon) / 0.3);
}

:focus-visible {
  outline: 2px solid rgb(var(--xenon));
  outline-offset: 3px;
  border-radius: 4px;
}

/* The one element that must be reachable but invisible until focused. */
.skip {
  position: fixed;
  inset-block-start: 8px;
  inset-inline-start: 8px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: rgb(var(--raised));
  border: 1px solid rgb(var(--line-bright));
  font-size: 0.85rem;
  transform: translateY(-200%);
}
.skip:focus {
  transform: none;
}

/* --------------------------------------------------------------- 3D layer  */
/*
   #bg3d is inserted by boot3d.js and only on a device that passes its checks.
   When it bails out <html> gets class "no3d" and the static gradient below
   stands in, so the page never depends on WebGL having worked.
*/
#bg3d {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.has3d #bg3d {
  opacity: 1;
}

/* The fallback, and also what sits behind the canvas while it fades in: one
   red source bleeding into the black, echoing the logo's own glow. */
.hero::before {
  content: '';
  position: absolute;
  inset-block-start: -45%;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  width: min(1100px, 150vw);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.5;
  filter: blur(80px);
  background: radial-gradient(
    circle,
    rgb(var(--brand) / 0.34) 0%,
    rgb(var(--brand-deep) / 0.16) 42%,
    transparent 68%
  );
}
/* With the scene running the canvas supplies the light, so the CSS glow would
   double it. */
.has3d .hero::before {
  opacity: 0.22;
}

/* ----------------------------------------------------------------- layout  */
.shell {
  width: var(--shell);
  margin-inline: auto;
}

main {
  position: relative;
  z-index: 1;
}

section {
  position: relative;
  padding-block: var(--section-y);
}

/* A hairline between sections, fading out at both ends so it reads as a
   horizon rather than a table border. */
section + section::before {
  content: '';
  position: absolute;
  inset-block-start: 0;
  inset-inline: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(var(--line)) 20%, rgb(var(--line)) 80%, transparent);
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgb(var(--xenon));
}
[dir='rtl'] .eyebrow {
  letter-spacing: 0;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
[dir='rtl'] h1,
[dir='rtl'] h2,
[dir='rtl'] h3 {
  letter-spacing: 0;
  line-height: 1.45;
}

h2 {
  font-size: var(--h2);
}
h3 {
  font-size: var(--h3);
  letter-spacing: 0;
}

.lede {
  margin: 18px 0 0;
  max-width: 62ch;
  font-size: var(--lede);
  color: rgb(var(--muted));
  text-wrap: pretty;
}

.section-head {
  max-width: 70ch;
  margin-block-end: clamp(36px, 5vw, 64px);
}

/* ----------------------------------------------------------------- header  */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  transition: background-color 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
  border-block-end: 1px solid transparent;
}
/* Transparent over the hero, solid once the page has moved — set by script.js
   so the logo is never flattened against its own glow. */
.site-header.is-stuck {
  background-color: rgb(var(--base) / 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  border-block-end-color: rgb(var(--line));
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  flex: none;
  margin-inline-end: auto;
}
.brand img {
  height: 34px;
  width: auto;
  filter: drop-shadow(0 0 18px rgb(var(--brand) / 0.3));
}

.site-nav {
  display: none;
  align-items: center;
  gap: clamp(4px, 1.2vw, 20px);
}
/* The nav carries nine items once About and Shop are in it. At 1000px they
   fit only by luck and only in English, so the drawer takes over sooner
   rather than letting the header wrap or overflow. */
@media (min-width: 1120px) {
  .site-nav {
    display: flex;
  }
}
.site-nav a {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.88rem;
  color: rgb(var(--muted));
  transition: color 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
}
.site-nav a:hover {
  color: rgb(var(--ink));
  background: rgb(255 255 255 / 0.04);
}
/* Which section the reader is actually in, tracked by script.js. */
.site-nav a[aria-current='true'] {
  color: rgb(var(--ink));
}
.site-nav a[aria-current='true']::after {
  content: '';
  display: block;
  height: 2px;
  margin-block-start: 4px;
  border-radius: 2px;
  background: rgb(var(--brand));
}

/* ------------------------------------------------------- language picker  */
.lang {
  position: relative;
  flex: none;
}
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid rgb(var(--line));
  border-radius: 10px;
  background: rgb(var(--surface) / 0.7);
  color: rgb(var(--muted));
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}
.lang-toggle:hover {
  color: rgb(var(--ink));
  border-color: rgb(var(--line-bright));
}
.lang-toggle svg {
  width: 14px;
  height: 14px;
  opacity: 0.7;
}
/* On a narrow phone the header has to hold the logo, the language picker, the
   console link and the menu button. Something has to go: the language NAME
   becomes just the globe, and the console link drops out of the header
   entirely — it is the first item in the drawer. */
@media (max-width: 560px) {
  .lang-toggle span {
    display: none;
  }
  .lang-toggle {
    padding: 11px;
  }
  .header-inner > .btn {
    display: none;
  }
}
.lang-menu {
  position: absolute;
  inset-block-start: calc(100% + 8px);
  inset-inline-end: 0;
  min-width: 160px;
  padding: 6px;
  margin: 0;
  list-style: none;
  border: 1px solid rgb(var(--line));
  border-radius: 12px;
  background: rgb(var(--raised));
  box-shadow: 0 16px 40px -16px rgb(0 0 0 / 0.8);
}
.lang-menu[hidden] {
  display: none;
}
.lang-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: rgb(var(--muted));
}
.lang-menu a:hover {
  background: rgb(255 255 255 / 0.05);
  color: rgb(var(--ink));
}
.lang-menu a[aria-current='true'] {
  color: rgb(var(--xenon));
}

/* ----------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: transform 0.12s ease, box-shadow 0.2s ease, background-color 0.2s ease,
    border-color 0.2s ease, color 0.2s ease;
}
.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: rgb(var(--brand));
  color: #fff;
  box-shadow: 0 0 0 1px rgb(var(--brand) / 0.5), 0 10px 30px -12px rgb(var(--brand) / 0.8);
}
.btn-primary:hover {
  background: rgb(var(--brand-bright));
  box-shadow: 0 0 0 1px rgb(var(--brand-bright) / 0.6), 0 14px 36px -12px rgb(var(--brand) / 0.95);
}

.btn-ghost {
  background: rgb(255 255 255 / 0.03);
  border-color: rgb(var(--line-bright));
  color: rgb(var(--ink));
}
.btn-ghost:hover {
  border-color: rgb(var(--xenon) / 0.55);
  color: rgb(var(--xenon));
  background: rgb(var(--xenon) / 0.06);
}

.btn-sm {
  padding: 9px 15px;
  font-size: 0.85rem;
  border-radius: 10px;
}

/* An external-link mark that is drawn, not typed: ↗ has no glyph in any
   subset this page loads and would render in a system fallback face. */
.btn .ext,
.inline-link .ext {
  width: 13px;
  height: 13px;
  flex: none;
  opacity: 0.75;
}
[dir='rtl'] .btn .ext,
[dir='rtl'] .inline-link .ext {
  transform: scaleX(-1);
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgb(var(--xenon));
  font-weight: 500;
  border-block-end: 1px solid rgb(var(--xenon) / 0.3);
  padding-block-end: 1px;
}
.inline-link:hover {
  border-block-end-color: rgb(var(--xenon));
}

/* -------------------------------------------------------------------- hero */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(92vh, 860px);
  padding-block: 120px 60px;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  max-width: 54rem;
}

.hero h1 {
  margin-block-start: 18px;
  font-size: var(--h1);
  letter-spacing: -0.03em;
}
[dir='rtl'] .hero h1 {
  letter-spacing: 0;
}
/* The one coloured word in the headline. A gradient rather than flat red, so
   it reads as light coming off the mark instead of highlighter pen. */
.hero h1 .accent {
  background: linear-gradient(100deg, rgb(var(--brand-bright)), rgb(252 120 90));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lede {
  margin-block-start: 22px;
  max-width: 48ch;
  font-size: clamp(1.02rem, 0.95rem + 0.5vw, 1.3rem);
  color: rgb(var(--muted));
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block-start: 34px;
}

.hero-note {
  margin: 18px 0 0;
  font-size: 0.85rem;
  color: rgb(var(--faint));
}

.hero-down {
  margin: 26px 0 0;
  font-size: 0.9rem;
}
/* The down arrow is an SVG, so it can be nudged without a glyph's baseline
   getting in the way. */
.hero-down .ext {
  width: 15px;
  height: 15px;
  transform: none;
}
[dir='rtl'] .hero-down .ext {
  transform: none;
}

/* ------------------------------------------------------------ stat strip  */
.stats {
  padding-block: 0;
}
/* The strip sits tight under the hero with no padding of its own, so the
   section divider would land exactly on the grid's top border. */
.stats::before {
  display: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgb(var(--line));
  border: 1px solid rgb(var(--line));
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (min-width: 760px) {
  .stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.stat {
  padding: 24px 22px;
  background: rgb(var(--surface) / 0.9);
}
.stat-value {
  font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgb(var(--xenon));
  line-height: 1.2;
}
[dir='rtl'] .stat-value {
  letter-spacing: 0;
}
.stat-label {
  margin-block-start: 6px;
  font-size: 0.9rem;
  font-weight: 500;
}
.stat-sub {
  margin-block-start: 2px;
  font-size: 0.8rem;
  color: rgb(var(--faint));
}

/* ------------------------------------------------------------------ spine */
.spine-grid {
  display: grid;
  gap: 18px;
  counter-reset: step;
}
@media (min-width: 900px) {
  .spine-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
  }
}

.step {
  position: relative;
  padding: 26px 24px;
  border: 1px solid rgb(var(--line));
  border-radius: var(--radius);
  background: rgb(var(--surface) / 0.55);
}
@media (min-width: 900px) {
  .step {
    border-radius: 0;
    border-inline-start-width: 0;
    background: none;
  }
  .step:first-child {
    border-inline-start-width: 1px;
    border-start-start-radius: var(--radius);
    border-end-start-radius: var(--radius);
  }
  .step:last-child {
    border-start-end-radius: var(--radius);
    border-end-end-radius: var(--radius);
  }
}

/* The join between steps: a bright dot on the top edge, so four boxes read as
   one chain and the order is visible without numbering it twice. */
.step::after {
  content: '';
  position: absolute;
  inset-block-start: -4px;
  inset-inline-start: 24px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgb(var(--xenon));
  box-shadow: 0 0 12px rgb(var(--xenon) / 0.8);
}

.step-kicker {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(var(--faint));
}
[dir='rtl'] .step-kicker {
  letter-spacing: 0;
}
.step h3 {
  margin-block-start: 8px;
  counter-increment: step;
}
.step h3::before {
  content: counter(step) '. ';
  color: rgb(var(--brand));
}
.step p {
  margin: 10px 0 0;
  font-size: 0.92rem;
  color: rgb(var(--muted));
}

/* --------------------------------------------------------- feature groups */
.group + .group {
  margin-block-start: clamp(44px, 5vw, 72px);
}
.group-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-block-end: 22px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(var(--faint));
}
[dir='rtl'] .group-title {
  letter-spacing: 0;
}
.group-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgb(var(--line)), transparent);
}
[dir='rtl'] .group-title::after {
  background: linear-gradient(270deg, rgb(var(--line)), transparent);
}

.cards {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
}

.card {
  padding: 24px;
  border: 1px solid rgb(var(--line));
  border-radius: var(--radius);
  background: rgb(var(--surface) / 0.6);
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}
.card:hover {
  border-color: rgb(var(--line-bright));
  background: rgb(var(--raised) / 0.7);
}
.card h3 {
  /* The one place a coloured rule earns its keep: it marks where a feature
     starts in a dense grid of them. */
  padding-inline-start: 12px;
  border-inline-start: 2px solid rgb(var(--brand) / 0.75);
}
.card p {
  margin: 12px 0 0;
  font-size: 0.92rem;
  color: rgb(var(--muted));
}

/* A quieter card for the lists that are claims rather than features. */
.card-plain h3 {
  padding-inline-start: 0;
  border-inline-start: 0;
  color: rgb(var(--xenon));
}

/* --------------------------------------------------------------- two-up   */
.split {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
@media (min-width: 980px) {
  .split {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }
  .split-sticky {
    position: sticky;
    inset-block-start: 110px;
  }
}

/* ---------------------------------------------------------------- specs   */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid rgb(var(--line));
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 0.9rem;
}
.specs-table tr + tr {
  border-block-start: 1px solid rgb(var(--line));
}
.specs-table tr:nth-child(odd) {
  background: rgb(var(--surface) / 0.5);
}
.specs-table th {
  width: 1%;
  min-width: 11rem;
  padding: 15px 20px;
  text-align: start;
  vertical-align: top;
  font-weight: 600;
  color: rgb(var(--ink));
  white-space: nowrap;
}
.specs-table td {
  padding: 15px 20px;
  vertical-align: top;
  color: rgb(var(--muted));
}
@media (max-width: 620px) {
  .specs-table th,
  .specs-table td {
    display: block;
    width: auto;
    white-space: normal;
  }
  .specs-table th {
    padding-block-end: 0;
    min-width: 0;
  }
  .specs-table td {
    padding-block-start: 4px;
  }
}

/* A long list of OCPP action names, set so it reads as data and never wraps
   mid-identifier. */
.mono-list {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82rem;
  line-height: 2;
  color: rgb(var(--muted));
  direction: ltr;
  text-align: start;
}
[dir='rtl'] .mono-list {
  text-align: right;
}
.mono-list b {
  display: inline-block;
  padding: 2px 8px;
  margin-inline-end: 4px;
  border: 1px solid rgb(var(--line));
  border-radius: 6px;
  background: rgb(var(--base) / 0.6);
  font-weight: 500;
  color: rgb(var(--ink));
  white-space: nowrap;
}

/* --------------------------------------------------------------- contact  */
.contact-grid {
  display: grid;
  gap: 1px;
  background: rgb(var(--line));
  border: 1px solid rgb(var(--line));
  border-radius: var(--radius-lg);
  overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.contact-item {
  padding: 22px;
  background: rgb(var(--surface) / 0.9);
}
.contact-item dt {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(var(--faint));
}
[dir='rtl'] .contact-item dt {
  letter-spacing: 0;
}
.contact-item dd {
  margin: 8px 0 0;
  font-size: 1rem;
}
.contact-item a:hover {
  color: rgb(var(--xenon));
}

/* An unfilled placeholder from content/contact.json. Marked loudly on purpose:
   a fake address that looks real is worse than an obvious gap. */
.todo {
  color: rgb(var(--faint));
  font-style: italic;
}
.todo::before {
  content: 'TODO';
  display: inline-block;
  margin-inline-end: 8px;
  padding: 1px 7px;
  border: 1px dashed rgb(251 191 36 / 0.6);
  border-radius: 5px;
  color: rgb(251 191 36);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.08em;
  vertical-align: 2px;
}
.todo-note {
  margin: 16px 0 0;
  font-size: 0.82rem;
  color: rgb(251 191 36 / 0.85);
}

/* ---------------------------------------------------------------- footer  */
.site-footer {
  position: relative;
  z-index: 1;
  padding-block: 56px 36px;
  border-block-start: 1px solid rgb(var(--line));
  background: rgb(var(--base) / 0.7);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: start;
}
.footer-brand img {
  height: 40px;
  width: auto;
}
.footer-brand p {
  margin: 14px 0 0;
  max-width: 28ch;
  font-size: 0.88rem;
  color: rgb(var(--faint));
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 36px;
}
.footer-links ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-links li + li {
  margin-block-start: 8px;
}
.footer-links a {
  font-size: 0.88rem;
  color: rgb(var(--muted));
}
.footer-links a:hover {
  color: rgb(var(--xenon));
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
  margin-block-start: 40px;
  padding-block-start: 22px;
  border-block-start: 1px solid rgb(var(--line));
  font-size: 0.8rem;
  color: rgb(var(--faint));
}

/* ------------------------------------------------- reveal on first sight  */
/*
   Sections start slightly down and transparent, and script.js removes the
   class when they come into view. The guard below matters: without it a
   visitor with JS disabled would get a page of invisible sections, so the
   initial state is only applied once script.js has said it is running.
*/
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ------------------------------------------------- language offer banner  */
/*
   Shown only by script.js, only to a reader whose browser asks for a language
   this page is not in, and only once. It offers; it never redirects — see the
   note in script.js for why.
*/
.lang-offer {
  position: fixed;
  inset-block-end: 0;
  inset-inline: 0;
  z-index: 120;
  padding: 14px var(--gutter);
  border-block-start: 1px solid rgb(var(--line-bright));
  background: rgb(var(--raised) / 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 -12px 40px -16px rgb(0 0 0 / 0.9);
}
.lang-offer[hidden] {
  display: none;
}
.lang-offer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 16px;
  width: var(--shell);
  margin-inline: auto;
  font-size: 0.92rem;
}
.lang-offer-row[hidden] {
  display: none;
}
.lang-offer-row p {
  margin: 0;
  color: rgb(var(--muted));
}
.lang-offer-row button {
  padding: 9px 15px;
  border: 1px solid rgb(var(--line-bright));
  border-radius: 10px;
  background: none;
  color: rgb(var(--faint));
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}
.lang-offer-row button:hover {
  color: rgb(var(--ink));
}

/* --------------------------------------------------------- mobile drawer  */
.menu-btn {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgb(var(--line));
  border-radius: 10px;
  background: rgb(var(--surface) / 0.7);
  color: rgb(var(--ink));
  cursor: pointer;
}
.menu-btn svg {
  width: 18px;
  height: 18px;
}
/* This breakpoint MUST match the one on .site-nav above. The burger hides
   exactly where the full nav appears; if the two ever drift apart there is a
   band of widths with no navigation at all — the nav still hidden, the burger
   already gone. */
@media (min-width: 1120px) {
  .menu-btn {
    display: none;
  }
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: var(--gutter);
  background: rgb(var(--base) / 0.96);
  backdrop-filter: blur(8px);
}
.drawer[hidden] {
  display: none;
}
.drawer nav {
  width: 100%;
  max-width: 24rem;
}
.drawer a {
  display: block;
  padding: 16px 18px;
  border-block-end: 1px solid rgb(var(--line));
  font-size: 1.1rem;
  color: rgb(var(--muted));
}
.drawer a:hover,
.drawer a[aria-current='true'] {
  color: rgb(var(--ink));
}
.drawer-close {
  position: absolute;
  inset-block-start: 14px;
  inset-inline-end: var(--gutter);
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgb(var(--line));
  border-radius: 10px;
  background: rgb(var(--surface));
  color: rgb(var(--ink));
  cursor: pointer;
}
.drawer-close svg {
  width: 16px;
  height: 16px;
}
body.drawer-open {
  overflow: hidden;
}

/* --------------------------------------------------------------- print    */
/*
   Somebody will print this to send to a colleague. Drop the decoration, put
   the ink back to black, and spell out the links.
*/
@media print {
  body {
    background: #fff;
    color: #000;
    background-image: none;
  }
  #bg3d,
  .site-header,
  .drawer,
  .skip,
  .hero::before,
  .hero-actions,
  .hero-down,
  .lang-offer {
    display: none !important;
  }
  section {
    padding-block: 18pt;
    break-inside: avoid;
  }
  .card,
  .stat,
  .contact-item,
  .step {
    border: 1px solid #bbb;
    background: none;
  }
  .lede,
  .card p,
  .specs-table td {
    color: #333;
  }
  .eyebrow,
  .stat-value,
  .card-plain h3 {
    color: #000;
  }
  a[href^='http']::after {
    content: ' (' attr(href) ')';
    font-size: 0.8em;
    color: #555;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ------------------------------------------------------------------ shop   */
/* The only page whose content arrives at read time. Everything here is
   written in logical properties like the rest of the stylesheet, so the
   Persian and Arabic editions mirror for free. */

.nav-page[aria-current='page'] {
  color: rgb(var(--ink));
}
.nav-shop {
  color: rgb(var(--brand));
}
.nav-shop[aria-current='page'] {
  color: rgb(var(--ink));
}

.shop-head {
  padding-block: calc(var(--section-y) * 0.7) 0;
}
.shop-head h1 {
  margin-block: 10px 0;
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.shop-head .lede {
  max-width: 62ch;
}

.shop {
  padding-block: 36px var(--section-y);
}

.shop-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-block-end: 26px;
}
.shop-filters .chip {
  cursor: pointer;
  border: 1px solid rgb(var(--line));
  background: transparent;
  color: rgb(var(--muted));
  font: inherit;
  font-size: 0.86rem;
  padding: 7px 14px;
  border-radius: 999px;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}
.shop-filters .chip:hover {
  color: rgb(var(--ink));
  border-color: rgb(var(--line-bright, var(--line)));
}
.shop-filters .chip.is-on {
  color: rgb(var(--ink));
  border-color: rgb(var(--brand) / 0.6);
  background: rgb(var(--brand) / 0.12);
}
.shop-count {
  margin-inline-start: auto;
  font-size: 0.82rem;
  color: rgb(var(--muted));
}

.shop-state {
  color: rgb(var(--muted));
  font-size: 0.92rem;
  padding-block: 28px;
}
.shop-failed {
  color: rgb(var(--warn, var(--muted)));
}

.shop-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.shop-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgb(var(--line));
  border-radius: 14px;
  background: rgb(var(--raised) / 0.5);
  overflow: hidden;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.shop-card:hover {
  border-color: rgb(var(--brand) / 0.45);
  transform: translateY(-2px);
}
.shop-card-img {
  display: grid;
  place-items: center;
  height: 170px;
  padding: 14px;
  background: rgb(var(--base) / 0.6);
  /* The photos come from the operator console at whatever size somebody
     uploaded, so the box clips as well as constrains. A single product shot
     with unusual proportions must not be able to push its neighbours around. */
  overflow: hidden;
}
.shop-card-img img {
  /* height/width + object-fit rather than max-height alone: a percentage
     max-height needs a definite container height to resolve against, and
     "definite" is easy to lose. This cannot overflow whatever the source. */
  height: 100%;
  width: 100%;
  object-fit: contain;
}
.shop-card-body {
  padding: 14px 16px 0;
  flex: 1;
}
.shop-card-model {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgb(var(--muted));
  margin: 0;
}
.shop-card-name {
  margin-block: 6px 10px;
  font-size: 0.98rem;
  line-height: 1.35;
  font-weight: 600;
}
.shop-card-spec {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
.shop-card-spec li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.8rem;
  color: rgb(var(--muted));
}
.shop-card-spec b {
  color: rgb(var(--ink));
  font-weight: 500;
}
.shop-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  margin-block-start: 12px;
  border-block-start: 1px solid rgb(var(--line));
}
.shop-price {
  font-size: 0.95rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.shop-price.is-ask {
  font-size: 0.84rem;
  font-weight: 400;
  color: rgb(var(--muted));
}

/* the product sheet */
.shop-sheet {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgb(0 0 0 / 0.7);
  display: grid;
  place-items: center;
  padding: 16px;
  overflow-y: auto;
}
/* An author `display` beats the browser's own `[hidden] { display: none }`,
   so without this the sheet is never hidden: its backdrop dims the whole
   catalogue and its empty card floats over the grid. Every other overlay in
   this file — .drawer, .lang-menu, .lang-offer — states the same rule. */
.shop-sheet[hidden] {
  display: none;
}
.shop-sheet-card {
  position: relative;
  width: min(760px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid rgb(var(--line));
  border-radius: 16px;
  background: rgb(var(--raised));
  padding: 26px;
}
.shop-sheet-close {
  position: absolute;
  inset-block-start: 14px;
  inset-inline-end: 14px;
  background: transparent;
  border: 0;
  color: rgb(var(--muted));
  cursor: pointer;
  padding: 6px;
  line-height: 0;
}
.shop-sheet-close:hover {
  color: rgb(var(--ink));
}
.shop-sheet-head {
  display: grid;
  gap: 20px;
  grid-template-columns: 200px 1fr;
  align-items: start;
}
.shop-sheet-img {
  display: grid;
  place-items: center;
  padding: 12px;
  border-radius: 12px;
  background: rgb(var(--base) / 0.6);
}
.shop-sheet-img img {
  max-width: 100%;
  max-height: 200px;
  object-fit: contain;
}
.shop-sheet-head h2 {
  margin-block: 6px 8px;
  font-size: 1.3rem;
  line-height: 1.3;
}
.shop-sheet-head h2:focus-visible {
  outline: 2px solid rgb(var(--brand));
  outline-offset: 4px;
}
.shop-partial {
  margin-block-start: 18px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.84rem;
  color: rgb(var(--warn, var(--muted)));
  background: rgb(var(--warn, var(--muted)) / 0.1);
}
.shop-spec-table {
  width: 100%;
  margin-block-start: 22px;
  border-collapse: collapse;
  font-size: 0.86rem;
}
.shop-spec-table th,
.shop-spec-table td {
  text-align: start;
  padding: 8px 10px;
  border-block-end: 1px solid rgb(var(--line) / 0.7);
  vertical-align: top;
}
.shop-spec-table th {
  color: rgb(var(--muted));
  font-weight: 400;
  width: 42%;
}
.shop-spec-table td {
  color: rgb(var(--ink));
}
.shop-spec-group th {
  padding-block-start: 20px;
  color: rgb(var(--brand));
  font-weight: 600;
  letter-spacing: 0.02em;
}

@media (max-width: 620px) {
  .shop-sheet-head {
    grid-template-columns: 1fr;
  }
  .shop-sheet-card {
    padding: 20px 16px;
  }
}

/* ------------------------------------------------- about / terms / privacy */
/* Prose pages. Narrow measure, a contents list beside the text on wide
   screens and above it on narrow ones. Logical properties throughout, so the
   Persian and Arabic editions mirror without a second stylesheet. */

.doc-head {
  padding-block: calc(var(--section-y) * 0.7) 0;
}
.doc-head h1 {
  margin-block: 10px 0;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  max-width: 20ch;
}
.doc-head .lede {
  max-width: 60ch;
}
.doc-updated {
  margin-block-start: 18px;
  font-size: 0.82rem;
  color: rgb(var(--muted));
}

.doc {
  padding-block: 40px var(--section-y);
}
.doc-shell {
  display: grid;
  gap: 48px;
  grid-template-columns: 230px minmax(0, 1fr);
  align-items: start;
}
.doc-toc {
  position: sticky;
  inset-block-start: 96px;
  font-size: 0.84rem;
}
.doc-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: doc;
  border-inline-start: 1px solid rgb(var(--line));
}
.doc-toc li {
  counter-increment: doc;
}
.doc-toc a {
  display: block;
  padding: 7px 0 7px 14px;
  padding-inline-start: 14px;
  padding-inline-end: 0;
  color: rgb(var(--muted));
  border-inline-start: 2px solid transparent;
  margin-inline-start: -1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.doc-toc a::before {
  content: counter(doc) '. ';
  color: rgb(var(--faint));
}
.doc-toc a:hover {
  color: rgb(var(--ink));
  border-inline-start-color: rgb(var(--brand) / 0.6);
}

.doc-body {
  max-width: 68ch;
}
.doc-section + .doc-section {
  margin-block-start: 40px;
}
.doc-section h2 {
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-block-end: 12px;
  /* Anchored from the contents list, so leave room for the fixed header. */
  scroll-margin-top: 96px;
}
.doc-section p {
  color: rgb(var(--muted));
  line-height: 1.75;
  margin-block: 0 14px;
  font-size: 0.95rem;
}
.doc-section p:last-child {
  margin-block-end: 0;
}

[dir='rtl'] .doc-section p {
  line-height: 1.95;
}

@media (max-width: 860px) {
  .doc-shell {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .doc-toc {
    position: static;
  }
  .doc-body {
    max-width: none;
  }
}

/* Evidence row in the company section. Only ever rendered when the figures in
   contact.json have been filled in, so there is nothing to hide when they
   have not. */
.company-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 48px;
  margin-block: 30px 34px;
  padding-block: 22px;
  border-block: 1px solid rgb(var(--line));
}
.company-facts .stat {
  display: grid;
  gap: 4px;
}
.company-facts b {
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.company-facts span {
  font-size: 0.8rem;
  color: rgb(var(--muted));
}

/* ------------------------------------------------------------- showcase   */
/* Device frames in CSS. A bezel is a rounded border and a notch; a PNG of a
   laptop would be a quarter of a megabyte to say the same thing, and would
   age worse than the screenshots inside it. */

.showcase {
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1fr) 250px;
  /* Bottom-aligned, and the phone capped in width: left to itself a 540x1117
     screenshot stands half as tall again as the laptop and the pair reads as
     a phone with a laptop beside it rather than two views of one product. */
  align-items: end;
  margin-block-start: 40px;
}
.showcase figure {
  margin: 0;
  min-width: 0;
}
.showcase figcaption {
  margin-block-start: 18px;
  display: grid;
  gap: 5px;
}
.showcase figcaption b {
  font-size: 0.92rem;
  font-weight: 600;
}
.showcase figcaption span {
  font-size: 0.86rem;
  color: rgb(var(--muted));
  line-height: 1.6;
}
.showcase img {
  display: block;
  width: 100%;
  height: auto;
}

.dev-laptop .dev-screen {
  border: 1px solid rgb(var(--line-bright, var(--line)));
  border-radius: 12px 12px 4px 4px;
  padding: 10px 10px 0;
  background: rgb(var(--base));
  overflow: hidden;
  box-shadow: 0 30px 70px -40px rgb(0 0 0 / 0.9);
}
.dev-laptop .dev-screen img {
  border-radius: 6px 6px 0 0;
}
/* The lid's lower edge: a hairline wider than the screen, the way a laptop
   actually looks from the front. */
.dev-base {
  height: 11px;
  margin-inline: -3.5%;
  border-radius: 0 0 11px 11px;
  background: linear-gradient(
    180deg,
    rgb(var(--line-bright, var(--line))) 0%,
    rgb(var(--base)) 85%
  );
  border: 1px solid rgb(var(--line));
  border-block-start: 0;
}

.dev-phone .dev-screen {
  position: relative;
  border: 1px solid rgb(var(--line-bright, var(--line)));
  border-radius: 26px;
  padding: 8px;
  background: rgb(var(--base));
  box-shadow: 0 30px 70px -40px rgb(0 0 0 / 0.9);
}
.dev-phone .dev-screen img {
  border-radius: 19px;
}
.dev-notch {
  position: absolute;
  inset-block-start: 8px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 16px;
  border-radius: 0 0 11px 11px;
  background: rgb(var(--base));
  z-index: 1;
}
[dir='rtl'] .dev-notch {
  transform: translateX(50%);
}

@media (max-width: 900px) {
  .showcase {
    grid-template-columns: 1fr;
    gap: 44px;
    justify-items: center;
  }
  .dev-phone {
    max-width: 280px;
  }
}
