/* ==========================================================================
   AMALASER — design system & components
   Palette: deep charcoal · warm white · laser red
   Type: Archivo (variable width) for display/body, JetBrains Mono for readouts
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink: #0e0f11;
  --charcoal: #17191c;
  --charcoal-2: #1f2226;
  --charcoal-3: #2a2e33;
  --paper: #f4f1ec;
  --paper-2: #ebe6de;
  --paper-3: #ddd6cb;

  --laser: #ff3b2f;          /* decorative beam / glow */
  --laser-ui: #e3241b;       /* button fills (white text 5.8:1) */
  --laser-ui-hover: #c71c14;
  --laser-on-dark: #ff6a5f;  /* small text on charcoal (≥5.5:1) */
  --laser-on-light: #b8160e; /* small text on paper (≥5.9:1) */

  --font-sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 1280px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section-y: clamp(5rem, 11vw, 9.5rem);
  --radius: 4px;
  --radius-lg: 10px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --header-h: 72px;
}

/* Section themes: every component reads these variables */
.theme-dark {
  --bg: var(--charcoal);
  --bg-raised: var(--charcoal-2);
  --fg: var(--paper);
  --muted: #aaa69f;
  --line: rgb(244 241 236 / 0.14);
  --accent-text: var(--laser-on-dark);
  --focus: #ff9a92;
  background: var(--bg);
  color: var(--fg);
}
.theme-light {
  --bg: var(--paper);
  --bg-raised: #fbfaf7;
  --fg: var(--charcoal);
  --muted: #57544f;
  --line: rgb(23 25 28 / 0.14);
  --accent-text: var(--laser-on-light);
  --focus: var(--charcoal);
  background: var(--bg);
  color: var(--fg);
}
.theme-ink { --bg: var(--ink); background: var(--ink); }

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  background: var(--charcoal);
  color: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus, var(--laser)); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--laser-ui); color: #fff; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: fixed; top: 0.75rem; left: 0.75rem; z-index: 100;
  padding: 0.75rem 1rem; background: var(--paper); color: var(--charcoal);
  font-weight: 700; text-decoration: none; border-radius: var(--radius);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-y); position: relative; }

/* ---------- Typography ---------- */
.display, h1, h2, h3 {
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 0.98;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.75rem, 7.4vw, 6.5rem);
  font-variation-settings: "wdth" 112;
  letter-spacing: -0.03em;
}
h2 {
  font-size: clamp(2.1rem, 4.6vw, 4rem);
  font-variation-settings: "wdth" 108;
}
h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  font-variation-settings: "wdth" 104;
  font-weight: 750;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 40ch; text-wrap: pretty; }
.muted { color: var(--muted); }
.accent { color: var(--accent-text); }

.mono, .eyebrow, .marker {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}
.eyebrow { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--accent-text); }
.eyebrow::before { content: ""; width: 2rem; height: 2px; background: var(--laser); box-shadow: 0 0 10px var(--laser); }

/* Section marker — the "reference plane" motif */
.marker {
  display: flex; align-items: center; gap: 1rem;
  color: var(--muted);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.marker__num { color: var(--accent-text); }
.marker::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, var(--laser) 0 3rem, var(--line) 3rem);
}

.section-head { display: grid; gap: 1.5rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
@media (min-width: 960px) {
  .section-head--split { grid-template-columns: 1.15fr 0.85fr; align-items: end; gap: 4rem; }
}

/* ---------- Editorial placeholders ---------- */
.tbc {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78em;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.4;
  text-transform: none;
  padding: 0.05em 0.5em;
  border: 1px dashed currentColor;
  border-radius: 3px;
  color: var(--muted);
  background: repeating-linear-gradient(-45deg, transparent 0 6px, rgb(127 127 127 / 0.08) 6px 12px);
  vertical-align: baseline;
}
.tbc::before { content: "TBC · "; color: var(--accent-text); font-weight: 600; }
.editor-note {
  display: flex; gap: 0.75rem; align-items: flex-start;
  margin-top: 2.5rem; padding: 1rem 1.25rem;
  border: 1px dashed var(--line); border-radius: var(--radius);
  font-size: 0.9rem; color: var(--muted);
}
.editor-note strong { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-text); white-space: nowrap; padding-top: 0.15em; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--fg); --btn-bd: var(--line);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem;
  min-height: 52px; padding: 0 1.5rem;
  font-family: var(--font-sans); font-weight: 700; font-size: 1rem;
  font-variation-settings: "wdth" 106;
  letter-spacing: 0.005em;
  text-decoration: none; white-space: nowrap;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1.5px solid var(--btn-bd); border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--primary { --btn-bg: var(--laser-ui); --btn-fg: #fff; --btn-bd: var(--laser-ui); }
.btn--primary:hover { --btn-bg: var(--laser-ui-hover); --btn-bd: var(--laser-ui-hover); }
.btn--ghost { --btn-bd: color-mix(in srgb, var(--fg) 40%, transparent); }
.btn--ghost:hover { --btn-bd: var(--fg); --btn-bg: color-mix(in srgb, var(--fg) 8%, transparent); }
.btn--sm { min-height: 44px; padding: 0 1.1rem; font-size: 0.95rem; }
.btn[disabled] { opacity: 0.65; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.875rem; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 700; text-decoration: none;
  border-bottom: 1.5px solid var(--laser); padding-bottom: 2px;
}
.text-link:hover { color: var(--accent-text); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  min-height: var(--header-h);
  color: var(--paper);
  --focus: #ff9a92; --fg: var(--paper); --line: rgb(244 241 236 / 0.18);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgb(23 25 28 / 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgb(244 241 236 / 0.08);
}
.site-header__inner {
  min-height: var(--header-h);
  padding-block: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  position: relative;
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  font-variation-settings: "wdth" 125;
  text-decoration: none;
  line-height: 1;
  padding: 0.35rem 0.6rem;
  direction: ltr !important;
  unicode-bidi: isolate;
  isolation: isolate;
}
.wordmark > * {
  position: relative;
  z-index: 2;
}
.wordmark img {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s var(--ease), filter 0.3s var(--ease);
}
.wordmark:hover img {
  transform: scale(1.02);
}
.wordmark__laser { color: var(--laser); }

/* 1. Laser Optical Halo Glow BEHIND the logo */
.wordmark::before {
  content: "";
  position: absolute;
  inset: -10px -20px;
  background: radial-gradient(ellipse 65% 55% at 50% 50%, rgba(255, 59, 47, 0.52) 0%, rgba(255, 59, 47, 0.18) 48%, transparent 75%);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
  opacity: var(--logo-laser-opacity, 0.85);
  filter: blur(var(--logo-laser-glow-blur, 6px));
  animation: var(--logo-laser-anim, laser-pulse-behind 3.5s ease-in-out infinite alternate);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), filter 0.3s var(--ease);
  display: var(--logo-laser-display, block);
}

/* 2. Precision Laser Beam Line BEHIND the logo */
.wordmark::after {
  content: "";
  position: absolute;
  left: -22px;
  right: -22px;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 59, 47, 0.7) 20%, #ffffff 50%, rgba(255, 59, 47, 0.7) 80%, transparent 100%);
  box-shadow: 0 0 8px var(--laser), 0 0 16px rgba(255, 59, 47, 0.8), 0 0 28px rgba(255, 59, 47, 0.45);
  z-index: 1;
  pointer-events: none;
  opacity: var(--logo-laser-opacity, 0.9);
  transform: translateY(-50%);
  transition: opacity 0.3s var(--ease), box-shadow 0.3s var(--ease);
  display: var(--logo-laser-beam-display, block);
}

/* When laser effect is switched off */
.wordmark.no-laser::before,
.wordmark.no-laser::after,
.wordmark[data-laser="false"]::before,
.wordmark[data-laser="false"]::after {
  display: none !important;
}

.wordmark:hover::before {
  opacity: calc(var(--logo-laser-opacity, 0.85) * 1.15);
  transform: scale(1.12);
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(255, 59, 47, 0.72) 0%, rgba(255, 59, 47, 0.28) 50%, transparent 80%);
}

.wordmark:hover::after {
  opacity: calc(var(--logo-laser-opacity, 0.9) * 1.1);
  box-shadow: 0 0 12px var(--laser), 0 0 24px rgba(255, 59, 47, 1), 0 0 45px rgba(255, 59, 47, 0.75);
}

@keyframes laser-pulse-behind {
  0% { opacity: calc(var(--logo-laser-opacity, 0.85) * 0.75); transform: scale(0.96); }
  50% { opacity: var(--logo-laser-opacity, 0.85); transform: scale(1.04); }
  100% { opacity: calc(var(--logo-laser-opacity, 0.85) * 0.75); transform: scale(0.96); }
}

.site-header__controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
@media (min-width: 960px) {
  .site-header__controls { order: 3; }
  .nav { order: 2; }
}
@media (max-width: 959px) {
  .site-header__controls { order: 2; }
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  background: rgb(244 241 236 / 0.08);
  border: 1px solid rgb(244 241 236 / 0.18);
  border-radius: var(--radius);
  padding: 2px;
  gap: 2px;
}
.lang-btn {
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  background: transparent;
  color: var(--muted);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  line-height: 1.2;
}
.lang-btn:hover {
  color: var(--paper);
}
.lang-btn.is-active {
  background: var(--laser-ui);
  color: #ffffff;
  box-shadow: 0 1px 4px rgb(0 0 0 / 0.3);
}

.success-ref {
  display: inline-block;
  margin-block: 0.5rem 0.75rem;
  padding: 0.35rem 0.85rem;
  background: rgb(255 59 47 / 0.12);
  border: 1px solid var(--laser);
  border-radius: var(--radius);
  color: var(--paper);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__list { display: flex; gap: 1.75rem; margin: 0; padding: 0; list-style: none; }
.nav__list a {
  font-size: 0.95rem; font-weight: 600; text-decoration: none;
  color: rgb(244 241 236 / 0.78);
  padding-block: 0.5rem; position: relative;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--laser); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__list a:hover, .nav__list a[aria-current="true"] { color: var(--paper); }
.nav__list a:hover::after, .nav__list a[aria-current="true"]::after { transform: scaleX(1); }
.nav-toggle { display: none; }

@media (max-width: 959px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; padding: 0;
    background: rgb(244 241 236 / 0.08); border: 1px solid rgb(244 241 236 / 0.2); border-radius: var(--radius);
    cursor: pointer; color: var(--paper); z-index: 60;
  }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
    content: ""; display: block; width: 20px; height: 2px; background: currentColor;
    transition: transform 0.3s var(--ease), background-color 0.2s;
  }
  .nav-toggle__bars { position: relative; }
  .nav-toggle__bars::before { position: absolute; top: -6px; left: 0; }
  .nav-toggle__bars::after { position: absolute; top: 6px; left: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

  .nav {
    position: fixed; inset: var(--header-h) 0 0; height: calc(100dvh - var(--header-h));
    flex-direction: column; align-items: stretch; justify-content: space-between; gap: 2rem;
    padding: 2rem var(--gutter) calc(2.5rem + env(safe-area-inset-bottom));
    background: #131518; z-index: 100;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s 0.2s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a {
    display: block; padding: 1.1rem 0; font-size: 1.6rem; font-weight: 800;
    font-variation-settings: "wdth" 110; color: var(--paper);
    border-bottom: 1px solid rgb(244 241 236 / 0.1);
  }
  .nav__list a::after { display: none; }
  .nav .btn { width: 100%; }
  body.nav-open { overflow: hidden; }
  body.nav-open .mobile-cta { display: none !important; }
}

@media (max-width: 639px) {
  :root {
    --gutter: 1rem;
    --header-h: 64px;
  }
  .site-header__inner {
    gap: 0.5rem;
  }
  .wordmark {
    font-size: 1.15rem;
  }
  .site-header__controls {
    gap: 0.4rem;
  }
  .lang-btn {
    padding: 3px 6px;
    font-size: 0.75rem;
  }
  .nav-toggle {
    width: 38px;
    height: 38px;
  }
  .hero .btn-row {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .hero .btn-row .btn {
    width: 100%;
    justify-content: center;
  }
  .hero > .img-tag {
    display: none;
  }
  .hero h1 {
    font-size: clamp(2.1rem, 8.5vw, 2.75rem);
  }
  .hero__readout li {
    grid-template-columns: 6rem 1fr;
    font-size: 0.88rem;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(620px, 95vh, 920px);
  display: flex; flex-direction: column; justify-content: space-between;
  padding-top: calc(var(--header-h) + clamp(2rem, 4.5vw, 4rem));
  background: var(--ink);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%;
}
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(0deg, rgb(14 15 17 / 0.96) 0%, rgb(14 15 17 / 0.55) 42%, rgb(14 15 17 / 0.15) 70%, rgb(14 15 17 / 0.55) 100%);
}
@media (min-width: 960px) {
  .hero__scrim {
    background:
      linear-gradient(90deg, rgb(14 15 17 / 0.94) 0%, rgb(14 15 17 / 0.72) 44%, rgb(14 15 17 / 0.15) 72%, rgb(14 15 17 / 0.4) 100%),
      linear-gradient(0deg, rgb(14 15 17 / 0.9) 0%, rgb(14 15 17 / 0) 35%);
  }
}
.hero__content { position: relative; padding-bottom: clamp(2rem, 4vw, 3.5rem); margin-top: auto; }
.hero__content > * + * { margin-top: 1.5rem; }
.hero h1 { max-width: 11.5ch; }
.hero h1 .accent { color: var(--laser); }
.hero__plane {
  position: relative; height: 1px; margin-block: clamp(1.75rem, 3vw, 2.5rem) !important;
  width: 100%;
}
@media (min-width: 960px) {
  .hero__plane { width: calc(100% + var(--gutter) + 20vw); }
}
.hero__plane::before {
  content: ""; position: absolute; inset: 0;
  background: var(--laser);
  box-shadow: 0 0 6px var(--laser), 0 0 22px rgb(255 59 47 / 0.6);
  transform-origin: left;
}
.hero__plane::after {
  /* travelling pulse along the reference line */
  content: ""; position: absolute; top: -1px; left: 0; width: 120px; height: 3px;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  filter: blur(0.5px); opacity: 0;
}
.hero__plane-label {
  position: absolute; left: 0; top: 0.6rem; color: rgb(244 241 236 / 0.6);
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.hero .lede { color: rgb(244 241 236 / 0.82); max-width: 46ch; }
.hero .btn-row { margin-top: 2.25rem; }

.hero__readout {
  position: relative;
  border-top: 1px solid rgb(244 241 236 / 0.14);
  background: rgb(14 15 17 / 0.6);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hero__readout ul { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; }
.hero__readout li { padding: 1.25rem 1.5rem 1.25rem 0; display: grid; gap: 0.25rem; font-size: 0.95rem; color: rgb(244 241 236 / 0.8); }
.hero__readout li + li { padding-left: 1.5rem; border-left: 1px solid rgb(244 241 236 / 0.12); }
.hero__readout .mono { color: var(--laser-on-dark); font-size: 0.7rem; }
@media (max-width: 759px) {
  .hero__readout ul { grid-template-columns: 1fr; }
  .hero__readout li { padding: 0.9rem 0; grid-template-columns: 7.5rem 1fr; align-items: baseline; }
  .hero__readout li + li { padding-left: 0; border-left: 0; border-top: 1px solid rgb(244 241 236 / 0.1); }
}

.img-tag {
  position: absolute; z-index: 2;
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.3rem 0.55rem; border-radius: 2px;
  background: rgb(14 15 17 / 0.72); color: rgb(244 241 236 / 0.85);
  border: 1px solid rgb(244 241 236 / 0.15);
  right: 0.75rem; bottom: 0.75rem;
  pointer-events: none;
}
.hero > .img-tag { top: calc(var(--header-h) + 1rem); bottom: auto; right: var(--gutter); }

/* ---------- Value / benefits ---------- */
.benefits { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 720px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1120px) { .benefits { grid-template-columns: repeat(4, 1fr); } }
.benefit {
  background: var(--bg); padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex; flex-direction: column; gap: 1rem; min-height: 100%;
  position: relative; overflow: hidden;
}
.benefit::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: var(--laser); transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.benefit:hover::before { transform: scaleX(1); }
.benefit__num { font-family: var(--font-mono); font-size: 0.8rem; color: var(--accent-text); letter-spacing: 0.1em; }
.benefit__icon { width: 44px; height: 44px; color: var(--fg); margin-block: 0.5rem 0.75rem; }
.benefit p { color: var(--muted); font-size: 1rem; }

.cta-strip {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding-top: 2rem; border-top: 1px solid var(--line);
}
.cta-strip p { font-size: clamp(1.15rem, 1.8vw, 1.5rem); font-weight: 700; font-variation-settings: "wdth" 104; max-width: 34ch; letter-spacing: -0.01em; line-height: 1.25; }

/* ---------- How it works ---------- */
.how { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
@media (min-width: 1040px) { .how { grid-template-columns: 1.25fr 0.75fr; } }
.diagram {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--ink);
  background-blend-mode: normal;
  overflow: hidden;
}
.diagram svg { width: 100%; height: auto; }
.diagram__caption {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 0.9rem 1.25rem; border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}

/* SVG parts */
.dg-stroke { fill: none; stroke: rgb(244 241 236 / 0.55); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.dg-fill { fill: var(--charcoal-2); stroke: rgb(244 241 236 / 0.55); stroke-width: 2; stroke-linejoin: round; }
.dg-ground { fill: #1b1d20; }
.dg-ground-line { fill: none; stroke: rgb(244 241 236 / 0.7); stroke-width: 2; }
.dg-target { fill: none; stroke: rgb(244 241 236 / 0.35); stroke-width: 1.5; stroke-dasharray: 6 6; }
.dg-beam { stroke: var(--laser); stroke-width: 2; filter: url(#glow); }
.dg-beam-pulse { stroke: #fff; stroke-width: 2.5; stroke-dasharray: 60 900; stroke-dashoffset: 0; opacity: 0.9; }
.dg-signal { fill: none; stroke: rgb(244 241 236 / 0.3); stroke-width: 1.5; stroke-dasharray: 3 5; }
.dg-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; fill: rgb(244 241 236 / 0.55); text-transform: uppercase; }
.dg-label--beam { fill: var(--laser-on-dark); }
.dg-part .dg-fill, .dg-part .dg-stroke { transition: stroke 0.35s var(--ease), fill 0.35s var(--ease); }
.dg-part .dg-tag { opacity: 0.35; transition: opacity 0.35s var(--ease); }
.dg-part .dg-tag text { fill: var(--paper); }
.dg-part .dg-tag line { stroke: rgb(244 241 236 / 0.5); stroke-width: 1; }
.diagram[data-active="1"] .dg-part[data-part="1"] :is(.dg-fill, .dg-stroke),
.diagram[data-active="2"] .dg-part[data-part="2"] :is(.dg-fill, .dg-stroke),
.diagram[data-active="3"] .dg-part[data-part="3"] :is(.dg-fill, .dg-stroke),
.diagram[data-active="4"] .dg-part[data-part="4"] :is(.dg-fill, .dg-stroke) { stroke: var(--laser); }
.diagram[data-active="1"] .dg-part[data-part="1"] .dg-tag,
.diagram[data-active="2"] .dg-part[data-part="2"] .dg-tag,
.diagram[data-active="3"] .dg-part[data-part="3"] .dg-tag,
.diagram[data-active="4"] .dg-part[data-part="4"] .dg-tag { opacity: 1; }
.diagram[data-active="3"] .dg-signal--a,
.diagram[data-active="4"] .dg-signal--b { stroke: var(--laser); }
.dg-blade { transform-box: fill-box; }

.steps { counter-reset: step; display: grid; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.step__btn {
  width: 100%; text-align: left; cursor: pointer;
  display: grid; grid-template-columns: 2.75rem 1fr; gap: 0 1rem;
  padding: 1.25rem 1.25rem 1.25rem 1rem;
  background: transparent; border: 1px solid transparent; border-left: 2px solid var(--line);
  border-radius: 0 var(--radius) var(--radius) 0;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.step__btn:hover { background: rgb(244 241 236 / 0.03); }
.step__btn[aria-pressed="true"] { border-left-color: var(--laser); background: var(--bg-raised); border-color: var(--line) var(--line) var(--line) var(--laser); }
.step__num { font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); padding-top: 0.25rem; letter-spacing: 0.08em; }
.step__btn[aria-pressed="true"] .step__num { color: var(--laser-on-dark); }
.step__title { font-weight: 750; font-size: 1.15rem; font-variation-settings: "wdth" 104; line-height: 1.3; }
.step__text { grid-column: 2; color: var(--muted); font-size: 0.98rem; margin-top: 0.35rem; }

/* ---------- System / products ---------- */
.system-grid { display: grid; gap: 1.25rem; }
@media (min-width: 720px) { .system-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .system-grid { grid-template-columns: repeat(4, 1fr); } }
.component {
  display: flex; flex-direction: column;
  background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.component:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgb(23 25 28 / 0.45); border-color: rgb(23 25 28 / 0.25); }
.component__media { position: relative; aspect-ratio: 4 / 3; background: var(--charcoal); overflow: hidden; }
.component__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.component:hover .component__media img { transform: scale(1.04); }
.component__media--drawing { display: grid; place-items: center; color: var(--paper); }
.component__media--drawing svg { width: 62%; height: auto; }
.component__body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; flex: 1; }
.component__role { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-text); }
.component__body > p { color: var(--muted); font-size: 0.98rem; }
.specs { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); display: grid; gap: 0.55rem; font-size: 0.9rem; }
.specs div { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.specs dt { color: var(--muted); }
.specs dd { text-align: right; font-weight: 600; }

.system-foot { margin-top: clamp(2.5rem, 5vw, 3.5rem); display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .system-foot { grid-template-columns: 1fr auto; } }
.system-foot p { color: var(--muted); max-width: 62ch; }

/* ---------- Applications ---------- */
.apps { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .apps { grid-template-columns: repeat(3, 1fr); } }
.app {
  position: relative; display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg-raised);
}
.app__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.app__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.app:hover .app__media img { transform: scale(1.04); }
.app__body { padding: 1.75rem; display: grid; gap: 1rem; }
.app__body dl { display: grid; gap: 0.9rem; }
.app__body dt { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 0.2rem; }
.app__body dd { color: var(--muted); font-size: 0.98rem; }
.audiences { margin-top: clamp(2.5rem, 5vw, 3.5rem); display: grid; gap: 1rem; border-top: 1px solid var(--line); padding-top: 2rem; }
@media (min-width: 900px) { .audiences { grid-template-columns: 14rem 1fr; align-items: baseline; } }
.audiences ul { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.audiences li { padding: 0.55rem 1rem; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: 0.95rem; }

/* ---------- Why AMALASER ---------- */
.pillars { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 860px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
.pillar { display: grid; grid-template-columns: 3rem 1fr; gap: 1.25rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 860px) {
  .pillar:nth-child(odd) { padding-right: 2.5rem; border-right: 1px solid var(--line); }
  .pillar:nth-child(even) { padding-left: 2.5rem; }
}
.pillar svg { width: 32px; height: 32px; color: var(--laser-on-light); }
.pillar h3 { margin-bottom: 0.6rem; }
.pillar p { color: var(--muted); }

/* ---------- Proof / demo ---------- */
.proof { display: grid; gap: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--bg-raised); }
@media (min-width: 960px) { .proof { grid-template-columns: 1fr 1fr; } }
.proof__media { position: relative; min-height: 320px; }
.proof__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.proof__body { padding: clamp(2rem, 5vw, 4rem); display: flex; flex-direction: column; gap: 1.5rem; justify-content: center; }
.checklist { display: grid; gap: 0.85rem; margin: 0.5rem 0 0.5rem; padding: 0; list-style: none; }
.checklist li { display: grid; grid-template-columns: 1.5rem 1fr; gap: 0.75rem; color: var(--muted); }
.checklist li::before {
  content: ""; width: 14px; height: 2px; margin-top: 0.8em;
  background: var(--laser); box-shadow: 0 0 8px var(--laser);
}

/* ---------- FAQ ---------- */
.faq-layout { display: grid; gap: 3rem; }
@media (min-width: 1000px) { .faq-layout { grid-template-columns: 0.8fr 1.2fr; gap: 5rem; } .faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; } }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.4rem 0; min-height: 48px;
  font-weight: 700; font-size: clamp(1.05rem, 1.4vw, 1.2rem); font-variation-settings: "wdth" 104; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); color: var(--accent-text); }
.faq summary:hover { color: var(--accent-text); }
.faq__answer { padding: 0 0 1.6rem; color: var(--muted); max-width: 64ch; display: grid; gap: 0.75rem; }
.faq__answer a { color: var(--fg); font-weight: 600; text-decoration-color: var(--laser); text-underline-offset: 3px; }

/* ---------- Enquiry ---------- */
.enquiry { display: grid; gap: clamp(3rem, 6vw, 5rem); }
@media (min-width: 1040px) { .enquiry { grid-template-columns: 0.85fr 1.15fr; } }
.next-steps { display: grid; gap: 1.25rem; margin: 2.5rem 0; padding: 0; list-style: none; counter-reset: ns; }
.next-steps li { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; counter-increment: ns; }
.next-steps li::before {
  content: "0" counter(ns); font-family: var(--font-mono); font-size: 0.8rem; color: var(--laser-on-dark);
  border-top: 2px solid var(--laser); padding-top: 0.5rem;
}
.next-steps strong { display: block; font-size: 1.05rem; margin-bottom: 0.15rem; }
.next-steps span { color: var(--muted); font-size: 0.98rem; }
.direct { display: grid; gap: 0.75rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.direct dl { display: grid; gap: 0.6rem; }
.direct div { display: grid; grid-template-columns: 6rem 1fr; gap: 1rem; align-items: baseline; }
.direct dt { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.direct dd a { font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--laser); }

.form-card {
  background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 3rem);
}
.form-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.45rem; }
.field label, .fieldset legend { font-weight: 650; font-size: 0.95rem; }
.req { color: var(--laser-on-dark); }
.opt { color: var(--muted); font-weight: 400; font-size: 0.85rem; }
.hint { font-size: 0.85rem; color: var(--muted); }
.input {
  width: 100%; min-height: 52px; padding: 0.8rem 1rem;
  font-size: 1rem; color: var(--paper);
  background: var(--ink); border: 1.5px solid rgb(244 241 236 / 0.28); border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.input::placeholder { color: rgb(244 241 236 / 0.4); }
.input:hover { border-color: rgb(244 241 236 / 0.45); }
.input:focus-visible { outline: none; border-color: var(--laser); box-shadow: 0 0 0 3px rgb(255 59 47 / 0.3); }
textarea.input { min-height: 132px; resize: vertical; line-height: 1.5; }
.field.is-invalid .input, .fieldset.is-invalid .choices { border-color: var(--laser-on-dark); }
.error-msg { display: none; align-items: center; gap: 0.4rem; font-size: 0.88rem; color: var(--laser-on-dark); font-weight: 600; }
.error-msg::before { content: "!"; display: inline-grid; place-items: center; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--laser-on-dark); color: var(--ink); font-size: 0.75rem; font-weight: 800; flex: none; }
.is-invalid > .error-msg, .is-invalid .error-msg { display: flex; }

.fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 0.6rem; }
.fieldset legend { padding: 0; margin-bottom: 0.6rem; }
.choices { display: grid; gap: 0.6rem; border: 1.5px solid transparent; border-radius: var(--radius); }
.choices--3 { grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); }
.choices--2 { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; gap: 0.7rem; min-height: 52px; padding: 0.7rem 1rem;
  border: 1.5px solid rgb(244 241 236 / 0.22); border-radius: var(--radius);
  font-weight: 600; font-size: 0.95rem; line-height: 1.3;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.choice span::before {
  content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%;
  border: 1.5px solid rgb(244 241 236 / 0.5); transition: all 0.2s var(--ease);
}
.choice:hover span { border-color: rgb(244 241 236 / 0.45); }
.choice input:checked + span { border-color: var(--laser); background: rgb(255 59 47 / 0.08); }
.choice input:checked + span::before { border-color: var(--laser); background: var(--laser); box-shadow: inset 0 0 0 3px var(--ink); }
.choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

.consent { display: grid; grid-template-columns: auto 1fr; gap: 0.85rem; align-items: start; font-size: 0.92rem; color: var(--muted); }
.consent input { width: 22px; height: 22px; margin: 0.1rem 0 0; accent-color: var(--laser-ui); cursor: pointer; }
.consent a { color: var(--paper); text-underline-offset: 3px; text-decoration-color: var(--laser); }
.consent .error-msg { grid-column: 2; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: grid; gap: 1rem; }
.form-actions .btn { width: 100%; }
@media (min-width: 640px) { .form-actions { grid-template-columns: auto 1fr; align-items: center; } .form-actions .btn { width: auto; } }
.form-actions .hint { max-width: 40ch; }

.notice {
  display: grid; grid-template-columns: auto 1fr; gap: 0.85rem; align-items: start;
  padding: 1rem 1.15rem; border-radius: var(--radius); font-size: 0.93rem; line-height: 1.5;
  border: 1px solid var(--line); background: rgb(244 241 236 / 0.03);
}
.notice svg { width: 20px; height: 20px; margin-top: 0.1rem; }
.notice strong { color: var(--paper); }
.notice--warn { border-style: dashed; color: var(--muted); }
.notice--warn svg { color: #f2b84b; }
.notice--error { border-color: var(--laser-on-dark); background: rgb(255 59 47 / 0.08); color: var(--paper); }
.notice--error svg { color: var(--laser-on-dark); }
.notice--success { border-color: #6fcf97; background: rgb(111 207 151 / 0.08); color: var(--paper); }
.notice--success svg { color: #6fcf97; }
.notice ul { margin: 0.4rem 0 0; padding-left: 1.1rem; }
.notice a { color: var(--paper); font-weight: 600; }
.form-status:empty { display: none; }

.success-panel { display: grid; gap: 1.25rem; text-align: left; }
.success-panel h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.success-panel__icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; border: 2px solid #6fcf97; color: #6fcf97; }

/* ---------- Footer ---------- */
.site-footer { padding-block: clamp(4rem, 8vw, 6rem) 2rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 3rem; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-grid h2 { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 1.1rem; line-height: 1.4; }
.footer-grid ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.6rem; }
.footer-grid a { text-decoration: none; color: rgb(244 241 236 / 0.85); }
.footer-grid a:hover { color: var(--laser-on-dark); }
.footer-brand p { color: var(--muted); max-width: 32ch; margin-top: 1rem; }
.footer-base {
  margin-top: clamp(3rem, 6vw, 5rem); padding-top: 1.5rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  font-size: 0.85rem; color: var(--muted);
}
.footer-base a { color: inherit; }
.footer-plane { height: 1px; background: linear-gradient(90deg, var(--laser), transparent 60%); box-shadow: 0 0 12px var(--laser); margin-bottom: clamp(3rem, 6vw, 4rem); opacity: 0.8; }

/* ---------- Mobile contact action ---------- */
.mobile-cta {
  position: fixed; z-index: 40;
  right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom));
  display: none;
}
@media (max-width: 759px) {
  .mobile-cta { display: block; }
  .mobile-cta .btn {
    min-height: 48px; padding: 0 1.15rem; border-radius: 999px;
    box-shadow: 0 10px 30px -8px rgb(0 0 0 / 0.6), 0 0 0 1px rgb(255 255 255 / 0.08);
    --focus: #fff;
  }
  .mobile-cta {
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease), visibility 0s;
  }
  .mobile-cta[data-hidden="true"] {
    transform: translateY(140%); opacity: 0; visibility: hidden;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease), visibility 0s 0.35s;
  }
  /* Keep the last line of page content clear of the floating button */
  .site-footer { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
}

/* ---------- Motion (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @keyframes plane-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  @keyframes plane-pulse {
    0% { left: 0; opacity: 0; }
    8% { opacity: 1; }
    40% { left: 100%; opacity: 0; }
    100% { left: 100%; opacity: 0; }
  }
  .hero__plane::before { animation: plane-draw 1.4s var(--ease) 0.3s both; }
  .hero__plane::after { animation: plane-pulse 7s linear 1.8s infinite; }

  @keyframes beam-travel { to { stroke-dashoffset: 960; } }
  .dg-beam-pulse { animation: beam-travel 3.2s linear infinite; }
  @keyframes blade-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
  .diagram[data-active="4"] .dg-blade { animation: blade-bob 1.6s var(--ease) infinite; }
  @keyframes signal-flow { to { stroke-dashoffset: -16; } }
  .diagram[data-active="3"] .dg-signal--a,
  .diagram[data-active="4"] .dg-signal--b { animation: signal-flow 0.6s linear infinite; }

  /* Scroll reveal — decorative only, no fallback needed */
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes reveal { from { opacity: 0; transform: translateY(28px); } }
    .reveal {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }
    @keyframes marker-line { from { background-size: 0 100%; } }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* ==========================================================================
   RTL / Urdu (اردو) Typography & Layout
   ========================================================================== */
[dir="rtl"] {
  --font-sans: "Noto Sans Arabic", "Noto Nastaliq Urdu", "Archivo", system-ui, sans-serif;
  direction: rtl;
  text-align: right;
}

[dir="rtl"] body {
  font-family: var(--font-sans);
  line-height: 1.7;
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3 {
  font-family: "Noto Sans Arabic", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: normal;
}

[dir="rtl"] .eyebrow,
[dir="rtl"] .marker {
  letter-spacing: 0;
}

[dir="rtl"] .marker__num {
  margin-right: 0;
  margin-left: 0.75rem;
}

[dir="rtl"] .btn svg,
[dir="rtl"] .text-link svg {
  transform: scaleX(-1);
  margin-left: 0;
  margin-right: 0.5rem;
}

[dir="rtl"] .hero__plane-label {
  right: auto;
  left: 0;
}

[dir="rtl"] .checklist li {
  padding-left: 0;
  padding-right: 2rem;
}
[dir="rtl"] .checklist li::before {
  left: auto;
  right: 0;
}

[dir="rtl"] .benefit {
  border-left: none;
  border-right: 1px solid var(--line);
}

[dir="rtl"] .benefit__num {
  right: auto;
  left: 1.5rem;
}

[dir="rtl"] .specs dt {
  text-align: right;
}
[dir="rtl"] .specs dd {
  text-align: left;
}

[dir="rtl"] .choices {
  justify-content: flex-start;
}

[dir="rtl"] .choice {
  flex-direction: row-reverse;
}

[dir="rtl"] .next-steps li {
  padding-left: 0;
  padding-right: 2.5rem;
}
[dir="rtl"] .next-steps li::before {
  left: auto;
  right: 0;
}

[dir="rtl"] .direct dl dt {
  border-right: none;
  border-left: 1px solid var(--line);
  padding-right: 0;
  padding-left: 1rem;
}

[dir="rtl"] .diagram__caption {
  flex-direction: row-reverse;
}

[dir="rtl"] .editor-note {
  border-left: none;
  border-right: 3px solid #f59e0b;
}

[dir="rtl"] .notice {
  border-left: none;
  border-right: 3px solid currentColor;
}

