/* OfinTech — public website.
   The palette, the type and the figure treatment are the product's own, so the site and the app read as one thing.
   The recurring structural device is a ledger line: a thin rule with a figure sitting on it. */

@font-face { font-family: "Inter"; src: url("assets/fonts/InterVariable.woff2") format("woff2-variations");
  font-weight: 100 900; font-display: swap; font-style: normal; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("assets/fonts/IBMPlexSansArabic-Regular.woff") format("woff");
  font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("assets/fonts/IBMPlexSansArabic-Medium.woff") format("woff");
  font-weight: 500; font-display: swap; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("assets/fonts/IBMPlexSansArabic-SemiBold.woff") format("woff");
  font-weight: 600; font-display: swap; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("assets/fonts/IBMPlexSansArabic-Bold.woff") format("woff");
  font-weight: 700; font-display: swap; }

:root {
  --navy: #14243A;
  --blue: #2563EB;
  --blue-2: #3B82F6;
  --blue-light: #EFF6FF;
  --paper: #F8FAFC;
  --surface: #FFFFFF;
  --ink: #172033;
  --ink-2: #64748B;
  --rule: #E2E8F0;
  --green: #16A34A;
  --red: #B91C1C;

  --font: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, "Noto Sans Arabic", Arial, sans-serif;
  --figures: "Inter", var(--font);
  --measure: 62ch;
  --page: 1120px;
  --radius: 10px;
}
html[lang="en"] { --font: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif; }
html[lang="ar"] body, html[lang="ar"] body * { letter-spacing: normal !important; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.2; margin: 0; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 3px; }
/* hidden without being moved off-axis, which would widen the page in a right-to-left layout */
.skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { width: auto; height: auto; clip-path: none; inset-inline-start: 12px; top: 12px; background: var(--surface);
  padding: 10px 14px; border-radius: 6px; z-index: 50; }

.wrap { width: min(100% - 40px, var(--page)); margin-inline: auto; }
@media (max-width: 560px) { .wrap { width: calc(100% - 32px); } }

/* ---- header -------------------------------------------------------------------------------------------- */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
.top.on-navy { background: color-mix(in srgb, var(--navy) 88%, transparent); }
.top-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; flex: none; }
.brand img { height: 22px; width: auto; display: block; }
.brand .mark { height: 28px; width: 28px; border-radius: 8px; }
.nav { display: flex; gap: 22px; margin-inline-start: auto; align-items: center; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--ink); }
.on-navy .nav a { color: color-mix(in srgb, #fff 72%, var(--navy)); }
.on-navy .nav a:hover { color: #fff; }
.nav-sep { width: 1px; height: 20px; background: var(--rule); }
.on-navy .nav-sep { background: color-mix(in srgb, #fff 24%, transparent); }
@media (max-width: 860px) { .nav .hide-sm { display: none; } .nav { gap: 14px; } }
@media (max-width: 620px) {
  .nav { gap: 12px; }
  .nav .hide-xs { display: none; }
  .btn { padding: 9px 14px; font-size: 14.5px; }
  .top-in { height: 60px; gap: 12px; }
}
/* The header starts over the navy hero and turns white on the way down, so the wordmark has to change with
   it: the white one is invisible on white. Both are in the markup and the class picks one, so the swap costs
   no request at the moment it happens. */
.brand .wordmark.on-dark { display: none; }
.on-navy .brand .wordmark.on-dark { display: block; }
.on-navy .brand .wordmark.on-light { display: none; }
/* The narrow header keeps the icon alone. Both selectors are needed: the `.on-navy …on-dark` rule above is
   four classes, so a plainer rule here would lose to it and the name would come back and overflow the page. */
@media (max-width: 460px) {
  .brand .wordmark, .on-navy .brand .wordmark.on-dark, .brand .wordmark.on-light { display: none; }
}

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 8px;
  border: 1px solid var(--rule); background: var(--surface); color: var(--ink); font: 500 15px/1 var(--font);
  text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { border-color: #cbd5e1; }
.btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 560; }
.btn.primary:hover { background: color-mix(in srgb, var(--blue) 86%, var(--navy)); border-color: transparent; }
.btn.ghost-navy { background: transparent; border-color: color-mix(in srgb, #fff 30%, transparent); color: #fff; }
.btn.ghost-navy:hover { border-color: #fff; }
.btn.lg { padding: 14px 26px; font-size: 16px; }
.btn.block { width: 100%; }

/* ---- hero ---------------------------------------------------------------------------------------------- */
.hero { background: var(--navy); color: #fff; padding: 76px 0 150px; position: relative; overflow: hidden; }
/* the brand mark is a frame holding a counter-square; the hero field echoes that geometry, very quietly */
.hero::after { content: ""; position: absolute; inset-block: -20% auto; inset-inline-end: -8%; width: 560px; height: 560px;
  border: 1px solid color-mix(in srgb, #fff 7%, transparent); border-radius: 112px; transform: rotate(12deg); pointer-events: none; }
.hero::before { content: ""; position: absolute; top: 14%; inset-inline-end: 2%; width: 300px; height: 300px;
  border: 1px solid color-mix(in srgb, #fff 6%, transparent); border-radius: 64px; transform: rotate(12deg); pointer-events: none; }
.hero h1 { font-size: clamp(32px, 5.4vw, 56px); max-width: 17ch; font-weight: 680; }
.hero h1 .quiet { color: color-mix(in srgb, #fff 62%, var(--navy)); font-weight: 450; display: block; }
.hero .lede { margin-top: 20px; max-width: 54ch; font-size: clamp(16px, 2.1vw, 19px); line-height: 1.6;
  color: color-mix(in srgb, #fff 80%, var(--navy)); }
.hero .cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero .note { margin-top: 18px; font-size: 14px; color: color-mix(in srgb, #fff 58%, var(--navy)); }

/* the answer card: the one memorable element, overlapping the navy/paper boundary */
.answer { width: min(100% , 640px); margin: -110px auto 0; background: var(--surface); border: 1px solid var(--rule);
  border-radius: var(--radius); box-shadow: 0 1px 2px rgba(20,36,58,.05), 0 18px 48px rgba(20,36,58,.10); position: relative; z-index: 2; }
.answer .asked { padding: 18px 22px; border-bottom: 1px solid var(--rule); color: var(--ink-2); font-size: 15px; display: flex; gap: 10px; align-items: baseline; }
.answer .asked b { color: var(--ink); font-weight: 560; }
.answer .body { padding: 22px; }
/* ledger line: the recurring device across the site */
.line { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 10px 0;
  border-bottom: 1px solid var(--rule); }
.line:last-of-type { border-bottom: 0; }
.line .what { color: var(--ink-2); font-size: 15px; min-width: 0; }
/* A figure keeps its own direction whatever the page does, so a minus sign stays in front of the number in Arabic. */
.fig { font-family: var(--figures); font-variant-numeric: tabular-nums; font-weight: 650; letter-spacing: -0.02em;
  white-space: nowrap; font-size: clamp(20px, 4.6vw, 30px); direction: ltr; unicode-bidi: isolate; }
.fig.neg { color: var(--red); }
.fig.sm { font-size: clamp(16px, 3.4vw, 20px); }
.source { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--rule); font-size: 13.5px; color: var(--ink-2);
  display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.tick { color: var(--green); font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.tick svg { flex: none; }

/* ---- sections ------------------------------------------------------------------------------------------ */
section { padding: 84px 0; }
section.tight { padding: 60px 0; }
.eyebrow { color: var(--blue); font-weight: 560; font-size: 15px; margin-bottom: 10px; }
h2 { font-size: clamp(25px, 3.6vw, 34px); max-width: 24ch; }
.sub { margin-top: 14px; color: var(--ink-2); max-width: var(--measure); font-size: 17px; }

.claims { margin-top: 40px; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.claim { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 9fr); gap: 32px; padding: 26px 0;
  border-bottom: 1px solid var(--rule); align-items: start; }
.claim h3 { font-size: 19px; font-weight: 600; }
.claim p { color: var(--ink-2); max-width: 54ch; }
@media (max-width: 760px) { .claim { grid-template-columns: 1fr; gap: 8px; } }

/* steps: this content really is a sequence, so it is numbered */
.steps { margin-top: 40px; counter-reset: s; display: grid; gap: 2px; }
.step { counter-increment: s; background: var(--surface); border: 1px solid var(--rule); padding: 22px 24px;
  display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 18px; align-items: start; }
.step:first-child { border-start-start-radius: var(--radius); border-start-end-radius: var(--radius); }
.step:last-child { border-end-start-radius: var(--radius); border-end-end-radius: var(--radius); }
.step + .step { border-top: 0; }
.step::before { content: counter(s); font-family: var(--figures); font-variant-numeric: tabular-nums; font-weight: 650;
  color: var(--blue); font-size: 18px; line-height: 1.5; }
.step h3 { font-size: 17px; font-weight: 600; }
.step p { color: var(--ink-2); margin-top: 4px; max-width: 60ch; }
.step .said { margin-top: 10px; font-size: 15px; color: var(--ink); background: var(--blue-light); border-radius: 8px;
  padding: 10px 14px; display: inline-block; }

/* ---- the six features ----------------------------------------------------------------------------------- */
/* A ledger, not six floating cards: one block divided by hairlines and rounded once on the outside, which is the
   same device as a statement line. The hairlines are the grid's own gaps, so the shape holds at three columns,
   two or one without any nth-child arithmetic. The whole cell is the link, and each cell ends on a rule carrying
   the single concrete fact that proves the feature is real -- those rules line up across a row, because a grid
   stretches its cells and the fact is pushed down to meet the bottom. */
/* The hairlines between the cells ARE the 1px gaps, over the container's rule colour. That makes the columns
   free of nth-child arithmetic -- but it also means an incomplete last row shows the rule colour as a grey
   block where the missing cells would be. So the columns are counted here rather than left to auto-fit, and a
   last row with one or two cells in it stretches to fill the row. The feature list grows; the grid holds. */
.features { margin-top: 40px; display: grid; grid-template-columns: 1fr;
  gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .features { grid-template-columns: 1fr 1fr 1fr; } }
@media (min-width: 640px) and (max-width: 999.98px) {
  .features > :last-child:nth-child(odd) { grid-column: span 2; }
}
@media (min-width: 1000px) {
  .features > :last-child:nth-child(3n + 1) { grid-column: span 3; }
  .features > :last-child:nth-child(3n + 2) { grid-column: span 2; }
}
.feature { background: var(--surface); padding: 26px 24px 22px; display: flex; flex-direction: column; min-width: 0;
  text-decoration: none; color: inherit; }
.feature:hover { background: var(--paper); }
.feature h3 { font-size: 17.5px; font-weight: 600; }
.feature p { margin-top: 8px; margin-bottom: 18px; color: var(--ink-2); font-size: 15px; }
/* A cell that stretches across the last row is as wide as the page; its sentences are not. */
.feature p, .feature .detail { max-width: 68ch; }
.feature .detail { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--rule); font-size: 14.5px; }
.feature .more { margin-top: 12px; color: var(--blue); font-weight: 560; font-size: 14.5px; }
.feature:hover .more { text-decoration: underline; }
@media (prefers-reduced-motion: no-preference) { .feature { transition: background-color .15s ease; } }

.features-foot { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: 14.5px; }
.features-foot a { text-decoration: none; }
.features-foot a:hover { text-decoration: underline; }
.features-foot .sep { width: 1px; height: 14px; background: var(--rule); }

/* what it will not do — the trust section, on the brand field */
.trust { background: var(--navy); color: #fff; }
.trust h2 { color: #fff; }
.trust .sub { color: color-mix(in srgb, #fff 74%, var(--navy)); }
.trust .claims { border-top-color: color-mix(in srgb, #fff 16%, transparent); margin-top: 36px; }
.trust .claim { border-bottom-color: color-mix(in srgb, #fff 16%, transparent); }
.trust .claim p { color: color-mix(in srgb, #fff 70%, var(--navy)); }

.panels { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.panel { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 26px; min-width: 0;
  display: flex; flex-direction: column; }
.panel h3 { font-size: 18px; font-weight: 600; }
.panel p { color: var(--ink-2); margin-top: 8px; }
.panel ul { margin: 14px 0 0; padding: 0; list-style: none; color: var(--ink-2); font-size: 15px; }
.panel li { padding: 7px 0; border-top: 1px solid var(--rule); }
.panel .btn { margin-top: auto; margin-block-start: 20px; }
.panel ul + .btn { margin-top: auto; }
.panel .meta { margin-top: 10px; font-size: 13.5px; color: var(--ink-2); }

.band { background: var(--surface); border-block: 1px solid var(--rule); }

/* ---- footer -------------------------------------------------------------------------------------------- */
footer { background: var(--navy); color: color-mix(in srgb, #fff 70%, var(--navy)); padding: 56px 0 40px; font-size: 15px; }
footer a { color: color-mix(in srgb, #fff 82%, var(--navy)); text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: flex; flex-wrap: wrap; gap: 32px 56px; justify-content: space-between; align-items: start; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.foot-rule { margin-top: 36px; padding-top: 20px; border-top: 1px solid color-mix(in srgb, #fff 16%, transparent);
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 13.5px; }

/* ---- the product, in screenshots --------------------------------------------------------------------- */
/* Two across, so a screen is big enough to read a figure in; one across on a phone, where two would be
   decoration. The frame is the same rule and radius as a panel, because it is the same kind of object. */
.shots { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.shots figure { margin: 0; min-width: 0; }
.shots img { display: block; width: 100%; height: auto; background: var(--surface); border: 1px solid var(--rule);
  border-radius: var(--radius); box-shadow: 0 1px 2px rgb(20 36 58 / 5%), 0 12px 28px -18px rgb(20 36 58 / 35%); }
.shots figcaption { margin-top: 12px; color: var(--ink-2); font-size: 14.5px; max-width: 52ch; }

/* ---- pricing ------------------------------------------------------------------------------------------ */
/* The cards are built by site.js from the plans the platform owner has published, so this styles a shape that
   may hold two plans or five. The figure uses the product's own numeral face, like every other figure here. */
.plan-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px;
  align-items: stretch; }
.plan { position: relative; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column; min-width: 0; }
.band .plan { background: var(--paper); }
.plan-lead { background: var(--surface); border-color: #BFDBFE; box-shadow: 0 1px 2px rgb(20 36 58 / 6%), 0 18px 36px -24px rgb(37 99 235 / 45%); }
.plan-lead::before { content: ""; position: absolute; inset-inline: -1px; top: -1px; height: 3px; background: var(--blue);
  border-radius: var(--radius) var(--radius) 0 0; }
.plan-badge { position: absolute; top: -11px; inset-inline-end: 20px; background: var(--blue); color: #fff; font-size: 12.5px;
  font-weight: 560; padding: 3px 12px; border-radius: 999px; }
.plan h3 { font-size: 18px; font-weight: 600; }
.plan-price { margin-top: 12px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; font-family: var(--figures);
  font-size: 30px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.plan-price .per { font-family: var(--font); font-size: 15px; font-weight: 400; color: var(--ink-2); letter-spacing: normal; }
.plan-desc { margin-top: 12px; color: var(--ink-2); font-size: 15px; }
.plan-list { margin: 18px 0 0; padding: 0; list-style: none; color: var(--ink-2); font-size: 14.5px; }
.plan-list li { padding: 7px 0; border-top: 1px solid var(--rule); }
/* a feature the plan includes is ticked; a limit is a plain line, because it is a quantity and not a yes */
.plan-list li.yes { color: var(--ink); }
.plan-list li.yes::before { content: "✓"; color: var(--green); font-weight: 700; margin-inline-end: 8px; }
.plan .btn { margin-block-start: 20px; margin-top: auto; }
/* while the plans have not arrived -- or cannot -- the section still says what to do next */
.plan-grid-waiting { grid-template-columns: 1fr; }
.plan-waiting { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; color: var(--ink-2);
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 22px 26px; }
.plan-waiting span { max-width: 58ch; }
.plan-foot { margin-top: 24px; font-size: 13.5px; color: var(--ink-2); max-width: var(--measure); }

/* ---- the pages the owner writes ----------------------------------------------------------------------- */
.doc article blockquote { margin: 16px 0 0; padding-inline-start: 16px; border-inline-start: 3px solid var(--rule);
  color: var(--ink-2); }
.doc article hr { margin: 32px 0 0; border: 0; border-top: 1px solid var(--rule); }
.doc article ol { margin-top: 12px; padding-inline-start: 20px; color: var(--ink-2); }
.doc article ol li { margin-top: 6px; }
.doc .meta { margin-top: 40px; font-size: 13.5px; color: var(--ink-2); }
.page-empty .doc-nav { display: none; }

/* ---- footer: where else we are ------------------------------------------------------------------------ */
.foot-second { margin-top: 28px; }
.foot-social, .foot-legal { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14.5px; }
.foot-legal:empty { display: none; }

/* ---- auth pages ---------------------------------------------------------------------------------------- */
.auth-page { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 900px) { .auth-page { grid-template-columns: 1fr; } .auth-aside { display: none; } }
.auth-aside { background: var(--navy); color: #fff; padding: 56px 48px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-aside::after { content: ""; position: absolute; inset-block: auto -24%; inset-inline-start: -14%; width: 420px; height: 420px;
  border: 1px solid color-mix(in srgb, #fff 8%, transparent); border-radius: 96px; transform: rotate(12deg); }
.auth-aside h2 { color: #fff; font-size: 28px; max-width: 18ch; }
.auth-aside p { color: color-mix(in srgb, #fff 72%, var(--navy)); margin-top: 14px; max-width: 42ch; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.auth-card { width: min(100%, 420px); }
.auth-card h1 { font-size: 27px; }
.auth-card .sub { margin-top: 10px; font-size: 16px; }
.form { margin-top: 28px; display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 560; font-size: 14.5px; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--rule);
  border-radius: 8px; background: var(--surface); font: 16px/1.4 var(--font); color: var(--ink); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #cbd5e1; }
.field textarea { resize: vertical; min-height: 96px; }
/* A native select keeps its own arrow, and the arrow belongs on the side the page reads from. */
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%),
    linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: right 18px center, right 13px center; background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat; padding-inline-end: 38px; }
[dir="rtl"] .field select { background-position: left 18px center, left 13px center; padding-inline-end: 14px;
  padding-inline-start: 38px; }
.field .hint { font-size: 13px; color: var(--ink-2); }
/* agreeing, on the sign-up form: a box the person ticks, not a sentence under a button. The label carries the
   links to the two pages, which open in their own tab so a half-filled form is not lost. */
/* `display: flex` beats `[hidden]`'s `display: none`, so the consent row rendered even while it was hidden:
   an empty tick-box with no words beside it, on a server whose owner has not published a privacy notice or
   terms for it to point at. Hidden means hidden. */
.agree[hidden] { display: none; }
.agree { display: flex; gap: 10px; align-items: start; font-size: 14px; color: var(--ink-2); }
.agree input { margin: 2px 0 0; width: 18px; height: 18px; flex: none; accent-color: var(--blue); }
.agree label { line-height: 1.5; }
/* A control the page has switched off has to look switched off. The sign-up form is disabled wholesale when the
   server takes no new accounts, and a full-strength blue button above a sentence saying you cannot use it is the
   page arguing with itself. */
.btn.off, .btn:disabled { opacity: .55; cursor: not-allowed; }
.field input:disabled { background: var(--paper); color: var(--ink-2); cursor: not-allowed; }

.alert { display: none; padding: 12px 14px; border-radius: 8px; font-size: 14.5px; border: 1px solid; }
.alert.show { display: block; }
.alert.bad { background: #FEF2F2; border-color: #FECACA; color: #991B1B; }
.alert.info { background: var(--blue-light); border-color: #BFDBFE; color: #1E3A8A; }
.alert.good { background: #F0FDF4; border-color: #BBF7D0; color: #166534; }
.or { display: flex; align-items: center; gap: 12px; color: var(--ink-2); font-size: 13.5px; margin: 4px 0; }
.or::before, .or::after { content: ""; height: 1px; background: var(--rule); flex: 1; }
.auth-foot { margin-top: 24px; font-size: 14.5px; color: var(--ink-2); }

/* ---- docs ---------------------------------------------------------------------------------------------- */
.doc-head { background: var(--surface); border-bottom: 1px solid var(--rule); padding: 56px 0 44px; }
.doc-body { padding: 48px 0 80px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; align-items: start; }
@media (max-width: 900px) { .doc-body { grid-template-columns: 1fr; gap: 28px; } .doc-nav { position: static !important; } }
.doc-nav { position: sticky; top: 92px; font-size: 14.5px; display: grid; gap: 2px; }
.doc-nav a { color: var(--ink-2); text-decoration: none; padding: 6px 0; border-top: 1px solid var(--rule); }
.doc-nav a:first-child { border-top: 0; }
.doc-nav a:hover { color: var(--ink); }
/* a grid track is min-content wide by default, so a long code line would widen the whole page */
.doc article { max-width: var(--measure); min-width: 0; }
.doc-nav { min-width: 0; }
.doc article h2 { margin-top: 48px; font-size: 24px; scroll-margin-top: 92px; }
.doc article h2:first-child { margin-top: 0; }
.doc article h3 { margin-top: 28px; font-size: 17.5px; font-weight: 600; }
.doc article p, .doc article ul { margin-top: 12px; color: var(--ink-2); }
.doc article ul { padding-inline-start: 20px; }
.doc article li { margin-top: 6px; }
.doc article strong { color: var(--ink); font-weight: 600; }
.doc article code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; background: var(--blue-light);
  padding: 2px 6px; border-radius: 4px; color: #1E3A8A; }
.doc article pre { margin-top: 14px; background: var(--navy); color: #E2E8F0; padding: 16px 18px; border-radius: 8px;
  overflow-x: auto; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13.5px; line-height: 1.6; direction: ltr; text-align: left; }
.doc article pre code { background: none; color: inherit; padding: 0; }
.doc table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 15px; }
.doc th, .doc td { text-align: start; padding: 9px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.doc th { font-weight: 600; color: var(--ink); }
.doc td { color: var(--ink-2); }

/* A field no person sees and every form-filling robot completes. Hidden by clipping rather than by an
   off-screen offset: `left: -9999px` is off-screen in English and 9999px of page to scroll in Arabic. */
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* The enquiry page's aside: what an enterprise customer may be offered, from the owner's own list. */
.aside-list { margin: 18px 0 0; padding: 0; list-style: none; }
.aside-list li { padding: 9px 0; border-top: 1px solid color-mix(in srgb, #fff 16%, transparent);
  color: color-mix(in srgb, #fff 76%, var(--navy)); font-size: 14.5px; }
