
@font-face { font-family: "Archivo"; src: url(/assets/archivo-latin.e3a28ead.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; 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: "Noto Kufi Arabic"; src: url(/assets/noto-kufi-arabic.01290c72.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-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; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url(/assets/plex-arabic-400.6010e7fd.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-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; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url(/assets/plex-arabic-600.16734a5a.woff2) format("woff2"); font-weight: 500 700; font-display: swap; unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-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; }
@font-face { font-family: "IBM Plex Mono"; src: url(/assets/plex-mono-500.01d28544.woff2) format("woff2"); font-weight: 500; font-display: swap; 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; }
/* DealersGPT marketing site. One stylesheet, no framework, no scripts.

   The palette is the product's own (docs/ui/DESIGN_DIRECTION.md), and so is its discipline: gold marks only the one
   next step and where you are; maroon appears only in the labelled plate. Layout uses logical properties throughout,
   so the Arabic pages mirror by themselves. Plates stay left to right in both languages, as they do in the product. */

:root {
  color-scheme: light;
  --navy: #0f172a;
  --navy-2: #1a2540;
  --navy-line: #36415f;
  --paper: #f4f6f8;
  --white: #ffffff;
  --panel: #ebeef3;
  --ink: #131927;
  --muted: #535967;
  --on-navy: #f5f7fa;
  --on-navy-muted: #b9c0ce;
  --line: #d8dce5;
  --line-strong: #6f7685;
  --gold: #d4af37;
  --gold-hover: #c29e2c;
  --gold-deep: #7a5c0b;
  --gold-wash: #faeecd;
  --maroon: #8a1538;
  --ok: #1f6f38;
  --ok-bg: #e6fae9;
  --ai: #126b74;
  --ai-bg: #e3f6f8;
  --focus: #7a5c0b;
  --r-s: 4px;
  --r-m: 8px;
  --r-l: 12px;
  --wrap: 75rem;
  --gut: clamp(1.25rem, 4vw, 2.5rem);
  --space: clamp(4rem, 9vw, 7.5rem);
  --body: "Archivo", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Archivo", "Noto Kufi Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
  --stretch: 114%;
  --track: -0.012em;
  --lead-h: 1.08;
}

html[lang="ar"] {
  --body: "IBM Plex Sans Arabic", "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Noto Kufi Arabic", "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --stretch: 100%;
  --track: 0;
  --lead-h: 1.42;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; overflow-wrap: break-word; }
html[lang="ar"] body { line-height: 1.8; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-stretch: var(--stretch); font-weight: 700; letter-spacing: var(--track); line-height: var(--lead-h); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
.on-navy :focus-visible { outline-color: #f0c94a; }
::selection { background: var(--gold-wash); color: var(--ink); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; inset-block-start: -4rem; inset-inline-start: 1rem; z-index: 20; padding: 0.75rem 1rem; background: var(--gold); color: var(--ink); border-radius: var(--r-m); font-weight: 600; }
.skip:focus { inset-block-start: 0.5rem; }

/* Buttons. Gold is the one next step. */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0.625rem 1.25rem; border: 1px solid transparent; border-radius: var(--r-m); font-weight: 600; line-height: 1.25; text-align: center; text-decoration: none; }
.btn--gold { background: var(--gold); border-color: var(--gold-deep); color: var(--ink); }
.btn--gold:hover { background: var(--gold-hover); }
.btn--line { border-color: currentColor; }
.btn--line:hover { background: rgb(127 127 127 / 0.14); }
.btn--sm { min-height: 2.5rem; padding: 0.375rem 0.9rem; font-size: 0.9375rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* The header */
.top { position: sticky; inset-block-start: 0; z-index: 10; background: var(--white); border-block-end: 1px solid var(--line); }
.top__row { display: flex; align-items: center; gap: 1rem 1.5rem; min-height: 4rem; }
.mark-link { display: inline-flex; align-items: center; gap: 0.6rem; flex: none; font-family: "Archivo", sans-serif; font-stretch: 114%; font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.012em; text-decoration: none; direction: ltr; min-height: 2.75rem; }
.mark { width: 2rem; height: 2rem; flex: none; }
.top__nav { display: flex; gap: 0.25rem 1.25rem; margin-inline-end: auto; font-size: 0.9375rem; }
.top__nav a { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: none; border-block-end: 2px solid transparent; }
.top__nav a:hover { border-block-end-color: var(--line-strong); }
.top__nav a[aria-current="page"] { border-block-end-color: var(--gold-deep); font-weight: 600; }
.top__actions { display: flex; align-items: center; gap: 0.75rem 1rem; margin-inline-start: auto; font-size: 0.9375rem; }
.top__nav + .top__actions { margin-inline-start: 0; }
.top__link { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: none; }
.top__link:hover { text-decoration: underline; }
.menu { position: relative; display: none; }
.menu > summary { display: inline-flex; align-items: center; min-height: 2.75rem; padding-inline: 0.875rem; border: 1px solid var(--line-strong); border-radius: var(--r-m); cursor: pointer; list-style: none; font-weight: 600; }
.menu > summary::-webkit-details-marker { display: none; }
.menu__panel { position: absolute; inset-block-start: calc(100% + 0.5rem); inset-inline-end: 0; display: grid; gap: 0.125rem; width: min(17rem, calc(100vw - 2 * var(--gut))); padding: 0.75rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: 0 16px 40px rgb(15 23 42 / 0.16); }
.menu__panel a:not(.btn) { display: flex; align-items: center; min-height: 2.75rem; padding-inline: 0.5rem; text-decoration: none; border-radius: var(--r-s); }
.menu__panel a:not(.btn):hover { background: var(--paper); }
.menu__panel .btn { margin-block-start: 0.5rem; }

@media (max-width: 62rem) {
  .top__nav, .top__login, .top__demo { display: none; }
  .top__nav + .top__actions { margin-inline-start: auto; }
  .menu { display: block; }
}

/* The hero */
.hero { background: var(--navy); color: var(--on-navy); padding-block-start: clamp(2.75rem, 6vw, 5rem); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.75rem, 3.5vw, 3rem) clamp(2rem, 5vw, 4.5rem); align-items: start; }
.hero h1 { grid-column: 1 / -1; max-width: 21ch; font-size: clamp(2.375rem, 5.7vw, 4.875rem); font-weight: 720; text-wrap: balance; }
html[lang="ar"] .hero h1 { max-width: none; font-size: clamp(2.125rem, 5vw, 4.125rem); }
.hero__lead { max-width: 36rem; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: var(--on-navy); }
.hero__note { margin-block-start: 1rem; max-width: 36rem; color: var(--on-navy-muted); }
.hero .btn-row { margin-block-start: 2rem; }
.hero__login { margin-block-start: 1.25rem; color: var(--on-navy-muted); }
.hero__login a { color: var(--on-navy); }
.hero__text { padding-block-end: clamp(2.5rem, 6vw, 5.5rem); }
.hero__file { margin-block-end: -3.5rem; position: relative; z-index: 1; }

/* The labelled plate, the product's own signature */
.plate { display: inline-flex; align-items: stretch; direction: ltr; border: 1px solid var(--line-strong); border-radius: var(--r-s); background: var(--white); color: var(--ink); overflow: hidden; line-height: 1.2; }
.plate__kind { display: inline-flex; align-items: center; padding: 0.25rem 0.5rem; background: var(--maroon); color: var(--white); font-family: var(--body); font-size: 0.75rem; font-weight: 600; }
.plate__value { display: inline-flex; align-items: center; padding: 0.25rem 0.625rem; font-family: "IBM Plex Mono", ui-monospace, Consolas, monospace; font-size: 0.875rem; font-weight: 500; }

.stamp { display: inline-flex; align-items: center; padding: 0.0625rem 0.4375rem; border: 1px solid var(--line-strong); border-radius: var(--r-s); font-size: 0.75rem; font-weight: 600; line-height: 1.5; }
.stamp--ok { color: var(--ok); border-color: var(--ok); background: var(--ok-bg); }
.stamp--ai { color: var(--ai); border-color: var(--ai); background: var(--ai-bg); }
.stamp--ink { color: var(--ink); border-color: var(--ink); }

/* One car's record: the hero's illustration */
.file { background: var(--white); color: var(--ink); border-radius: var(--r-l); box-shadow: 0 28px 70px rgb(4 8 20 / 0.45); overflow: hidden; }
.file__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.625rem 1rem; align-items: center; padding: 1.125rem 1.25rem; border-block-end: 1px solid var(--line); }
.file__car { flex: 1 0 100%; font-family: var(--display); font-stretch: var(--stretch); font-size: 1.1875rem; font-weight: 700; line-height: 1.3; }
.file__rows { list-style: none; }
.file__row { display: grid; grid-template-columns: 6.25rem 1fr; gap: 0.75rem; padding: 0.625rem 1.25rem; border-block-end: 1px solid var(--panel); font-size: 0.9375rem; line-height: 1.45; }
html[lang="ar"] .file__row { grid-template-columns: 7rem 1fr; line-height: 1.65; }
.file__time { color: var(--muted); font-size: 0.8125rem; font-variant-numeric: tabular-nums; padding-block-start: 0.0625rem; }
.file__profit { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.25rem 1rem; padding: 0.875rem 1.25rem; background: var(--gold-wash); border-inline-start: 4px solid var(--gold-deep); }
.file__profit strong { font-family: var(--display); font-stretch: var(--stretch); font-size: 1.4375rem; line-height: 1.2; }
.file__foot { padding: 0.5rem 1.25rem; color: var(--muted); font-size: 0.8125rem; background: var(--paper); }

@media (prefers-reduced-motion: no-preference) {
  .file__row, .file__profit { animation: stamp-in 0.38s ease-out both; }
  .file__row:nth-child(1) { animation-delay: 0.25s; }
  .file__row:nth-child(2) { animation-delay: 0.4s; }
  .file__row:nth-child(3) { animation-delay: 0.55s; }
  .file__row:nth-child(4) { animation-delay: 0.7s; }
  .file__row:nth-child(5) { animation-delay: 0.85s; }
  .file__row:nth-child(6) { animation-delay: 1s; }
  .file__profit { animation-delay: 1.2s; }
  @keyframes stamp-in { from { opacity: 0; transform: translateY(0.375rem); } to { opacity: 1; transform: none; } }
}

/* Sections */
.band { padding-block: var(--space); }
.band--white { background: var(--white); }
.band--navy { background: var(--navy); color: var(--on-navy); }
.band--first { padding-block-start: calc(var(--space) + 3.5rem); }
.sec-head { max-width: 46rem; margin-block-end: clamp(2rem, 5vw, 3.5rem); }
.sec-head h2 { font-size: clamp(1.875rem, 3.6vw, 3rem); }
html[lang="ar"] .sec-head h2 { font-size: clamp(1.625rem, 3vw, 2.5rem); }
.sec-head p { margin-block-start: 1rem; color: var(--muted); font-size: 1.125rem; }
.band--navy .sec-head p { color: var(--on-navy-muted); }

/* The system's parts: two columns of short entries */
.spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 5vw, 4.5rem); }
.spec__item { padding-block: 1.5rem; border-block-start: 1px solid var(--line); }
.spec__item h3 { font-size: clamp(1.1875rem, 1.9vw, 1.4375rem); line-height: 1.3; }
html[lang="ar"] .spec__item h3 { line-height: 1.5; }
.spec__item p { margin-block-start: 0.5rem; color: var(--muted); }

/* A ledger: a label and its text, with hairlines only between entries */
.ledger { display: grid; }
.ledger__row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0.5rem clamp(1.5rem, 4vw, 4rem); padding-block: 1.625rem; border-block-start: 1px solid var(--line); }
.ledger__row:last-child { border-block-end: 1px solid var(--line); }
.ledger__row h3 { font-size: clamp(1.1875rem, 1.9vw, 1.5rem); line-height: 1.3; }
.ledger__row p { color: var(--muted); }
.band--navy .ledger__row { border-color: var(--navy-line); }
.band--navy .ledger__row p { color: var(--on-navy-muted); }

/* The route: one car through six stages */
.route { list-style: none; position: relative; display: grid; gap: clamp(3rem, 6vw, 5rem); }
.route::before { content: ""; position: absolute; inset-block: 1.5rem; inset-inline-start: 1.4375rem; width: 2px; background: repeating-linear-gradient(to bottom, var(--line-strong) 0 12px, transparent 12px 24px); }
.stage { position: relative; display: grid; grid-template-columns: 3rem minmax(0, 5fr) minmax(0, 6fr); gap: 0 clamp(1.25rem, 3vw, 2.5rem); align-items: start; }
.stage__no { grid-row: 1 / span 2; position: relative; display: grid; place-items: center; width: 3rem; height: 3rem; background: var(--navy); color: var(--on-navy); border: 2px solid var(--navy); border-radius: 50%; font-family: "Archivo", sans-serif; font-weight: 700; font-size: 1.125rem; font-variant-numeric: tabular-nums; }
.stage__text h3 { font-size: clamp(1.3125rem, 2.2vw, 1.75rem); line-height: 1.25; margin-block-start: 0.5rem; }
html[lang="ar"] .stage__text h3 { line-height: 1.5; margin-block-start: 0.25rem; }
.stage__text p { margin-block-start: 0.75rem; color: var(--muted); }

/* Illustrated panels: always dashed, always tagged, so they cannot be read as real screens */
.mock { position: relative; padding: 2.25rem 1rem 1rem; background: var(--white); border: 1px dashed var(--line-strong); border-radius: var(--r-l); font-size: 0.9375rem; line-height: 1.5; }
.band--white .mock { background: var(--paper); }
html[lang="ar"] .mock { line-height: 1.7; }
.tag { position: absolute; inset-block-start: 0.625rem; inset-inline-end: 0.75rem; color: var(--muted); font-size: 0.75rem; }
.mock__stamps { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-block-end: 0.75rem; }
.bubble { max-width: 90%; padding: 0.625rem 0.75rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); }
.bubble + .bubble { margin-block-start: 0.625rem; }
.bubble__who { display: block; color: var(--muted); font-size: 0.75rem; }
.bubble--ai { margin-inline-start: auto; background: var(--panel); border-inline-start: 3px solid var(--ai); }
.mock__action { display: inline-flex; margin-block-start: 0.75rem; padding: 0.3125rem 0.75rem; background: var(--gold); border: 1px solid var(--gold-deep); border-radius: var(--r-m); font-weight: 600; font-size: 0.875rem; }
.mock__rows { list-style: none; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); }
.mock__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.25rem 1rem; padding: 0.75rem; border-block-start: 1px solid var(--line); }
.mock__row:first-child { border-block-start: 0; }
.mock__row b { font-weight: 600; }
.mock__meta { color: var(--muted); font-size: 0.8125rem; }
.mock__end { display: grid; justify-items: end; gap: 0.25rem; }
.mock__title { margin-block-end: 0.625rem; font-weight: 700; }
.mock__head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-block-end: 0.75rem; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 0; }
.facts dt { padding-inline-end: 1.5rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }
.facts--sum dt:last-of-type, .facts--sum dd:last-of-type { margin-block-start: 0.25rem; padding-block-start: 0.5rem; border-block-start: 1px solid var(--line-strong); font-weight: 700; color: var(--ink); }
.mock__docs { list-style: none; display: grid; gap: 0.25rem; margin-block-start: 0.25rem; }
.mock__docs li::before { content: "✓"; color: var(--ok); font-weight: 700; margin-inline-end: 0.5rem; }
.mock__split { display: grid; gap: 1rem; }
.phone { width: min(100%, 20rem); margin-inline: auto; padding: 0.75rem; background: var(--white); border: 5px solid var(--navy); border-radius: 1.5rem; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
.tile { padding: 0.5rem 0.625rem; border: 1px solid var(--line); border-radius: var(--r-m); font-size: 0.75rem; line-height: 1.3; }
html[lang="ar"] .tile { line-height: 1.5; }
.tile b { display: block; margin-block-start: 0.25rem; font-size: 1.0625rem; }
.ask { margin-block-start: 0.75rem; padding-block-start: 0.75rem; border-block-start: 1px solid var(--line); font-size: 0.8125rem; }
.ask b { display: block; font-weight: 600; }

/* Real screens: always a solid frame, always tagged */
.screens { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1.75rem, 3.5vw, 3rem) clamp(1.25rem, 2.5vw, 2rem); align-items: start; }
.shot { margin: 0; grid-column: span 6; min-width: 0; }
.shot--8 { grid-column: span 8; }
.shot--4 { grid-column: span 4; }
.shot--7 { grid-column: span 7; }
.shot--5 { grid-column: span 5; }
.shot--12 { grid-column: span 12; }
.shot--wide { grid-column: span 12; display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 0 clamp(1.25rem, 2.5vw, 2rem); align-items: end; }
.shot--wide figcaption { margin-block-start: 0; }
.shot__frame { display: block; background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--r-m); overflow: hidden; }
.shot__frame img { width: 100%; }
.shot--phone .shot__frame { max-width: 18rem; border: 5px solid var(--navy); border-radius: 1.5rem; }
.shot figcaption { margin-block-start: 0.75rem; }
.sec-cta { margin-block-start: clamp(2.5rem, 5vw, 4rem); }
.shot__title { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.625rem; font-weight: 700; }
.shot__tag { display: inline-flex; padding: 0 0.4375rem; background: var(--navy); color: var(--on-navy); border-radius: var(--r-s); font-size: 0.75rem; font-weight: 600; line-height: 1.6; }
.shot__cap { margin-block-start: 0.25rem; color: var(--muted); font-size: 0.9375rem; }

/* Plans: a table on wide screens, labelled blocks below 62rem */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.plans { width: 100%; border-collapse: collapse; }
.plans th, .plans td { padding-block: 1.25rem; padding-inline: 0 1.5rem; text-align: start; vertical-align: top; border-block-start: 1px solid var(--line); font-weight: 400; }
.plans thead th { padding-block: 0 0.625rem; border-block-start: 0; color: var(--muted); font-size: 0.875rem; font-weight: 600; }
.plans tbody th { font-family: var(--display); font-stretch: var(--stretch); font-size: clamp(1.1875rem, 1.9vw, 1.4375rem); font-weight: 700; line-height: 1.3; }
.plans tbody tr:last-child > * { border-block-end: 1px solid var(--line); }
.plans__price { display: block; font-size: 1.125rem; font-weight: 700; }
.plans__buy .btn { margin-block-start: 0.625rem; }
.plans__notes { display: grid; gap: 0.5rem; max-width: 46rem; margin-block-start: 1.5rem; color: var(--muted); font-size: 0.9375rem; }
.talk { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-block-start: 2rem; padding: clamp(1.25rem, 3vw, 1.75rem); background: var(--paper); border-radius: var(--r-l); }
.talk > div { flex: 1 1 26rem; }
.talk h3 { font-size: clamp(1.125rem, 1.8vw, 1.3125rem); line-height: 1.35; }
html[lang="ar"] .talk h3 { line-height: 1.55; }
.talk p { margin-block-start: 0.375rem; color: var(--muted); }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2rem clamp(1.5rem, 5vw, 4.5rem); align-items: start; }
.faq .sec-head { margin-block-end: 0; }
.faq__list { display: grid; }
.faq__item { border-block-start: 1px solid var(--line); }
.faq__item:last-child { border-block-end: 1px solid var(--line); }
.faq__item summary { position: relative; display: block; min-height: 2.75rem; padding-block: 1.0625rem; padding-inline-end: 2.25rem; cursor: pointer; font-weight: 600; font-size: 1.125rem; line-height: 1.4; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; inset-block-start: 0.875rem; inset-inline-end: 0.25rem; font-family: "Archivo", sans-serif; font-size: 1.5rem; font-weight: 400; line-height: 1.2; }
.faq__item[open] summary::after { content: "−"; }
.faq__item p { padding-block-end: 1.25rem; padding-inline-end: 2.25rem; color: var(--muted); }

/* Closing */
.closing { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.5rem clamp(2rem, 6vw, 5rem); align-items: end; }
.closing h2 { font-size: clamp(1.875rem, 3.6vw, 3rem); }
html[lang="ar"] .closing h2 { font-size: clamp(1.625rem, 3vw, 2.5rem); }
.closing p { margin-block-start: 1rem; color: var(--muted); font-size: 1.125rem; }
.closing__actions { display: grid; gap: 0.75rem; justify-items: start; }

/* Page heads, documents */
.page-head { background: var(--navy); color: var(--on-navy); padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.page-head h1 { font-size: clamp(2.125rem, 4.4vw, 3.5rem); max-width: 22ch; }
html[lang="ar"] .page-head h1 { font-size: clamp(1.875rem, 3.6vw, 3rem); }
.page-head p { margin-block-start: 1rem; max-width: 44rem; font-size: 1.125rem; color: var(--on-navy-muted); }
.doc { max-width: 46rem; }
.doc section + section { margin-block-start: 2.5rem; }
.doc h2 { font-size: clamp(1.375rem, 2.2vw, 1.75rem); line-height: 1.3; margin-block-end: 0.75rem; }
html[lang="ar"] .doc h2 { line-height: 1.5; }
.doc p + p { margin-block-start: 0.875rem; }
.doc ul, .doc ol { display: grid; gap: 0.5rem; padding-inline-start: 1.5rem; }
.doc p + ul, .doc ul + p { margin-block-start: 0.875rem; }
.updated { margin-block-start: 0.75rem; color: var(--on-navy-muted); font-size: 0.9375rem; }
.panel { padding: clamp(1.25rem, 3vw, 2rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); }
.doc .btn { margin-block-start: 1.25rem; }
.note { margin-block-start: 1.25rem; padding: 0.875rem 1rem; background: var(--gold-wash); border-inline-start: 4px solid var(--gold-deep); border-radius: var(--r-s); }
.path-list { display: grid; gap: 1.25rem; }
.path-list h3 { font-size: 1.125rem; line-height: 1.4; font-stretch: 100%; }
.path-list p { margin-block-start: 0.25rem; color: var(--muted); }

/* About: the two companies */
.entities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2rem); margin-block-start: 1.5rem; }
.entity__name { margin-block-start: 1rem; font-family: var(--display); font-stretch: var(--stretch); font-size: clamp(1.25rem, 2.2vw, 1.625rem); font-weight: 700; line-height: 1.3; }
.entity__alt { margin-block-start: 0.125rem; font-size: 1.0625rem; color: var(--muted); }
.entity__role { margin-block-start: 1rem; }
.entity__where { margin-block-start: 0.75rem; color: var(--muted); font-size: 0.9375rem; }
.about-grid { display: grid; gap: clamp(3rem, 6vw, 4.5rem); }
.about-grid h2 { font-size: clamp(1.5rem, 2.6vw, 2.125rem); margin-block-end: 1rem; }
html[lang="ar"] .about-grid h2 { line-height: 1.5; }
.about-grid > section > p { max-width: 46rem; }
.about-grid > section > p + p { margin-block-start: 0.875rem; }
.link-list { display: grid; gap: 0.25rem; margin-block-start: 1.25rem; list-style: none; }
.link-list a { display: inline-flex; align-items: center; min-height: 2.75rem; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.contact h2 { font-size: clamp(1.375rem, 2.2vw, 1.75rem); line-height: 1.3; }
html[lang="ar"] .contact h2 { line-height: 1.5; }
.contact p { margin-block-start: 0.625rem; color: var(--muted); }
.contact .btn { margin-block-start: 1.25rem; }
.contact__email { margin-block-start: 1.25rem; padding-block-start: 1.25rem; border-block-start: 1px solid var(--line); }
.contact__address { display: inline-block; margin-block-start: 0.25rem; font-size: clamp(1.125rem, 2.2vw, 1.5rem); font-weight: 600; }
.contact__side { display: grid; gap: 2rem; }
.company { margin-block-start: clamp(2.5rem, 5vw, 4rem); }
.company dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.5rem 1.5rem; margin: 1rem 0 0; }
.company dt { color: var(--muted); }
.company dd { margin: 0; }

/* The demo form */
.demo-form { display: grid; gap: 1.125rem; margin-block-start: 1.5rem; }
.field { display: grid; gap: 0.375rem; }
.field label { font-weight: 600; }
.field__req { color: var(--muted); font-size: 0.875rem; font-weight: 400; }
.contact .field__hint { margin-block-start: 0; font-size: 0.875rem; }
.field input { width: 100%; min-height: 3rem; padding: 0.5rem 0.875rem; background: var(--white); color: var(--ink); border: 1px solid var(--line-strong); border-radius: var(--r-m); font: inherit; }
html[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.contact .demo-form .btn { justify-self: start; margin-block-start: 0.25rem; cursor: pointer; font-family: inherit; font-size: inherit; }
.demo-form__trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.contact .demo-form__note { margin-block-start: 0; font-size: 0.875rem; }
.result-actions { display: grid; justify-items: start; gap: 1.25rem; }

/* The footer */
.foot { background: var(--navy); color: var(--on-navy-muted); padding-block: clamp(2.5rem, 5vw, 4rem); font-size: 0.9375rem; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem clamp(2rem, 6vw, 5rem); }
.foot .mark-link { color: var(--on-navy); }
.foot__statement { margin-block-start: 1rem; max-width: 38rem; color: var(--on-navy); }
.nowrap { white-space: nowrap; }
.foot__mail { margin-block-start: 0.75rem; }
.foot a { color: var(--on-navy); }
.foot__links { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.125rem 1.5rem; }
.foot__links a { display: inline-flex; align-items: center; min-height: 2.5rem; }

/* Not found */
.nf { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.nf h1 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
.nf p { margin-block: 0.75rem 1.25rem; color: var(--muted); }

@media (max-width: 62rem) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__text { padding-block-end: 0.75rem; }
  .stage { grid-template-columns: 3rem minmax(0, 1fr); gap: 0 1rem; }
  .stage .mock { grid-column: 2; margin-block-start: 1.25rem; }
  .stage__no { grid-row: auto; }
  .shot, .shot--8, .shot--7, .shot--5 { grid-column: span 12; }
  .shot--4 { grid-column: span 12; }
  .faq, .closing, .contact, .foot__grid { grid-template-columns: minmax(0, 1fr); }
  .plans thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .plans, .plans tbody { display: block; }
  .plans tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.875rem 1.5rem; padding-block: 1.5rem; border-block-start: 1px solid var(--line); }
  .plans tbody tr:last-child { border-block-end: 1px solid var(--line); }
  .plans tbody th, .plans td, .plans tbody tr:last-child > * { display: block; padding: 0; border: 0; }
  .plans tbody th { grid-column: 1 / -1; }
  .plans td[data-label]::before { content: attr(data-label); display: block; color: var(--muted); font-size: 0.875rem; }
  .shot--wide { grid-template-columns: minmax(0, 1fr); }
  .shot--wide figcaption { margin-block-start: 0.75rem; }
}

@media (max-width: 44rem) {
  .ledger__row, .spec { grid-template-columns: minmax(0, 1fr); }
  .plans__buy { grid-column: 1 / -1; }
  .plans__buy .btn, .contact .demo-form .btn { justify-self: stretch; width: 100%; }
  .entities, .nf { grid-template-columns: minmax(0, 1fr); }
  .file__row, html[lang="ar"] .file__row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .route::before { inset-inline-start: 1.1875rem; }
  .stage { grid-template-columns: 2.5rem minmax(0, 1fr); gap: 0 0.875rem; }
  .stage__no { width: 2.5rem; height: 2.5rem; font-size: 1rem; }
  .stage .mock { grid-column: 1 / -1; }
  .btn-row .btn { flex: 1 1 100%; }
  .top__row { gap: 0.5rem; }
  .mark-link { font-size: 1.0625rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
