/* vellets.com — the Vellets brand (brand/vellets-brand.html): ink and paper, one green coin.
   Amber, green, coral and iris are money states and appear only where they mean one (the
   "money states" cards and the hero chips). Light and dark follow the device. Arabic pages are
   right to left (logical properties everywhere). */

@font-face { font-family: "Inter Variable"; src: url(fonts/inter.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Space Grotesk Variable"; src: url(fonts/space-grotesk.woff2) format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url(fonts/plex-arabic-400.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url(fonts/plex-arabic-500.woff2) format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url(fonts/plex-arabic-600.woff2) format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url(fonts/plex-arabic-700.woff2) format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "IBM Plex Mono"; src: url(fonts/plex-mono-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --ink: #0c1a22; --paper: #f5f6f2; --card: #ffffff; --line: #e3e6e1; --muted: #5e6b73; --soft: #eef0ec;
  --green: #10b47a; --green-d: #0a7d55; --green-bg: #e3f6ee;
  --amber: #f0a325; --amber-d: #9a6206; --amber-bg: #fdf1dc;
  --coral: #e2483d; --coral-d: #a8281f; --coral-bg: #fdeceb;
  --iris: #6e5bd8; --iris-d: #5443bd; --iris-bg: #eeecfd;
  --band-ink: #0c1a22; --on-ink: #ecf1f3; --on-ink-muted: #9fb0b7; --ink-line: #24363f;
  --bezel: #0c1a22;
  --shadow-lg: 0 1px 2px rgba(12, 26, 34, .06), 0 24px 60px -18px rgba(12, 26, 34, .28);
  --shadow-sm: 0 1px 2px rgba(12, 26, 34, .05), 0 8px 24px -12px rgba(12, 26, 34, .16);
  --font: "Inter Variable", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Space Grotesk Variable", "Space Grotesk", "Inter Variable", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1); --spring: cubic-bezier(.34, 1.4, .64, 1);
  --r: 20px; --gut: max(20px, env(safe-area-inset-left, 0px));
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #ecf1f3; --paper: #0b1116; --card: #141b21; --line: #263039; --muted: #93a2a9; --soft: #1c252c;
    --green-d: #3dd39b; --green-bg: #0f2c22; --amber-d: #f5b94e; --amber-bg: #30250f;
    --coral-d: #ff8a80; --coral-bg: #351a19; --iris-d: #a99cf5; --iris-bg: #221f40;
    --band-ink: #131d24; --ink-line: #263039; --bezel: #000;
    --shadow-lg: 0 1px 2px rgba(0, 0, 0, .4), 0 24px 60px -18px rgba(0, 0, 0, .7);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #ecf1f3; --paper: #0b1116; --card: #141b21; --line: #263039; --muted: #93a2a9; --soft: #1c252c;
  --green-d: #3dd39b; --green-bg: #0f2c22; --amber-d: #f5b94e; --amber-bg: #30250f;
  --coral-d: #ff8a80; --coral-bg: #351a19; --iris-d: #a99cf5; --iris-bg: #221f40;
  --band-ink: #131d24; --ink-line: #263039; --bezel: #000;
  --shadow-lg: 0 1px 2px rgba(0, 0, 0, .4), 0 24px 60px -18px rgba(0, 0, 0, .7);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .5);
  color-scheme: dark;
  }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
[lang="ar"] body, body:lang(ar) { font-family: "IBM Plex Sans Arabic", var(--font); line-height: 1.75; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -.03em; text-wrap: balance; }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3 { font-family: "IBM Plex Sans Arabic", var(--display); letter-spacing: 0; }
p { margin: 0; text-wrap: pretty; }
li { text-wrap: pretty; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--green) 70%, transparent); outline-offset: 3px; border-radius: 8px; }
.num { font-family: var(--display); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.i { width: 20px; height: 20px; flex: none; }
[dir="rtl"] .i.flip { transform: scaleX(-1); }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gut); }
.wrap.narrow > * { max-width: 760px; }
.wrap.narrow.center > * { margin-inline: auto; }
.center { text-align: center; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- logo: a V that is an open wallet, a green coin dropping in; the second l is green */
.logo { display: inline-flex; align-items: center; gap: 8px; direction: ltr; } /* the logo never flips */
.mark { width: 30px; height: 30px; overflow: visible; }
.mark .v, .end-mark .v, .story-mark .v, .nf-mark .v { fill: none; stroke: currentColor; stroke-width: 46.08; stroke-linecap: round; stroke-linejoin: round; }
.mark .coin, .end-mark .coin, .story-mark .coin, .nf-mark .coin { fill: var(--green); }
.word { font-family: var(--display); font-weight: 700; font-size: 25px; letter-spacing: -.035em; line-height: 1; padding-bottom: 2px; }
.word i, .wordmark i { font-style: normal; color: var(--green); }
.brand { text-decoration: none; display: inline-flex; color: var(--ink); }
.top .mark .coin { transform-box: fill-box; transform-origin: center; animation: coin-in .9s var(--spring) .15s both; }
@keyframes coin-in { from { transform: translateY(-160%); opacity: 0; } 55% { opacity: 1; } to { transform: none; opacity: 1; } }

/* ---------- buttons */
.btn { --h: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: var(--h); padding: 0 18px; border-radius: 14px; border: 1px solid transparent;
  font: 600 15px/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .2s var(--ease), background-color .2s, border-color .2s, box-shadow .2s; }
:lang(ar) .btn { font-family: "IBM Plex Sans Arabic", var(--font); }
.btn.sm { --h: 38px; padding: 0 14px; font-size: 14px; border-radius: 12px; }
.btn.lg { --h: 52px; padding: 0 24px; font-size: 16px; border-radius: 16px; }
.btn.primary { background: var(--ink); color: var(--paper); box-shadow: var(--shadow-sm); }
.btn.primary:hover { transform: translateY(-1px); background: color-mix(in srgb, var(--ink) 88%, var(--green)); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: color-mix(in srgb, var(--ink) 35%, transparent); background: color-mix(in srgb, var(--ink) 4%, transparent); }
.btn.green { background: var(--green); color: #06251a; box-shadow: 0 10px 30px -12px rgba(16, 180, 122, .6); }
.btn.green:hover { transform: translateY(-1px); background: #19c487; }
.btn.onink { background: transparent; color: var(--on-ink); border-color: color-mix(in srgb, var(--on-ink) 28%, transparent); }
.btn.onink:hover { background: color-mix(in srgb, var(--on-ink) 8%, transparent); }
.btn.soft { background: var(--soft); color: var(--muted); cursor: default; white-space: normal; text-align: center; height: auto; min-height: var(--h); padding-block: 12px; line-height: 1.3; }
.btn .i { width: 18px; height: 18px; }
.btn:active { transform: translateY(0) scale(.98); }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--green-d); }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }
.link .i { width: 18px; height: 18px; }

/* ---------- header */
.top { position: sticky; top: 0; z-index: 30; padding-top: env(safe-area-inset-top, 0px);
  background: color-mix(in srgb, var(--paper) 84%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s; }
.top.scrolled { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; gap: 20px; height: 66px; }
.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: 18px; }
.nav > a { padding: 8px 12px; border-radius: 10px; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--muted); transition: color .2s, background-color .2s; }
.nav > a:hover, .nav > a[aria-current="page"] { color: var(--ink); background: color-mix(in srgb, var(--ink) 5%, transparent); }
.nav-foot { display: none; }
.top-act { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.lang { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 10px; border-radius: 12px; text-decoration: none; font-size: 14px; font-weight: 600; color: var(--muted); }
.lang:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 5%, transparent); }
.lang .i { width: 18px; height: 18px; }
.lang:lang(ar) { font-family: "IBM Plex Sans Arabic", var(--font); }
.menu-btn .i:last-child, .top.open .menu-btn .i:first-child { display: none; }
.top.open .menu-btn .i:last-child { display: block; }
.menu-btn { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: transparent; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 960px) {
  .wide-only { display: none; }
  .menu-btn { display: inline-flex; }
  .nav { position: fixed; inset: calc(66px + env(safe-area-inset-top, 0px)) 0 auto; margin: 0; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px var(--gut) 18px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .25);
    opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .2s, transform .25s var(--ease); }
  .top.open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .nav > a { font-size: 17px; padding: 13px 12px; color: var(--ink); }
  .nav-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
}
@media (max-width: 420px) {
  .top-in { gap: 10px; }
  .lang span { display: none; }
  .top-act .btn.sm { padding: 0 12px; }
  .word { font-size: 23px; }
}

/* ---------- reveal on scroll (only with JavaScript; nothing moves for reduced motion) */
.js .rv { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- sections */
.band { padding-block: clamp(64px, 9vw, 120px); }
.band.tight { padding-block: clamp(40px, 6vw, 72px); }
.band.alt { background: var(--card); border-block: 1px solid var(--line); }
.sec-head { max-width: 720px; margin-bottom: clamp(32px, 4.5vw, 56px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .sec-lead { margin-inline: auto; }
.sec-head h2 { margin-top: 10px; }
.page-hero h1 + .lead { margin-top: 18px; }
.sec-head h2 { font-size: clamp(30px, 3.8vw, 48px); line-height: 1.06; }
:lang(ar) .sec-head h2 { line-height: 1.3; }
.sec-lead { margin-top: 16px; font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 62ch; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; color: var(--green-d); }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
:lang(ar) .kicker { letter-spacing: 0; font-size: 14px; }
.h3 { font-size: 24px; }
.fine { font-size: 14px; color: var(--muted); }
.fine.center { margin-top: 28px; }

/* ---------- hero */
.hero { padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 112px); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 6vw, 72px); align-items: center; }
@media (min-width: 1040px) { .hero-in { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); } }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--muted); }
.pulse { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex: none; }
.pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--green); opacity: 0; animation: ring 2.4s var(--ease) infinite; }
@keyframes ring { 0% { transform: scale(.5); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }
.hero h1 { margin-top: 22px; font-size: clamp(42px, 6.2vw, 78px); line-height: 1; letter-spacing: -.04em; }
:lang(ar) .hero h1 { font-size: clamp(38px, 5.4vw, 66px); line-height: 1.22; letter-spacing: 0; }
.lead { margin-top: 22px; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.55; color: var(--muted); max-width: 34em; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.ctas.center { justify-content: center; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--muted); }
.ticks li { display: inline-flex; align-items: center; gap: 7px; }
.ticks .i { width: 18px; height: 18px; color: var(--green-d); }

.hero-art { position: relative; padding-block: 10px 40px; padding-inline-start: clamp(28px, 9%, 84px); }
@media (min-width: 1040px) {
  .hero-art { margin-inline-end: calc(-1 * min(14vw, 220px)); }
  .hero-art .desk { width: 100%; }
  .hero-art .chip.c-green { inset-inline-end: calc(min(14vw, 220px) + 3%); } /* stays on screen: the computer runs past the edge */
}
.frame { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); }
.frame img { width: 100%; height: auto; }
.frame-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding-inline: 14px; background: var(--soft); border-bottom: 1px solid var(--line); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: color-mix(in srgb, var(--muted) 35%, transparent); }
.frame-bar span { margin-inline: auto; padding: 3px 14px; border-radius: 8px; background: var(--card); font: 500 12px/1.3 var(--mono); color: var(--muted); }
.frame-bar span::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-inline-end: 6px; border-radius: 50%; background: var(--green); vertical-align: 1px; }
.hero-art .desk { position: relative; z-index: 1; }
.frame.phone { position: absolute; z-index: 2; inset-inline-start: 0; bottom: 0; width: clamp(130px, 30%, 230px); border: 7px solid var(--bezel); border-radius: 30px; background: var(--bezel); }
.frame.phone img { border-radius: 23px; }
.chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 14px; background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); font-size: 13.5px; font-weight: 500; color: var(--muted); white-space: nowrap; animation: float 6s ease-in-out infinite alternate; }
.chip b { color: var(--c-d); font-size: 15px; }
.chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.chip.c-amber { top: 2%; inset-inline-start: 0; }
.chip.c-green { top: 40%; inset-inline-end: 6%; animation-delay: -2s; }
.chip.c-coral { bottom: 8px; inset-inline-start: 40%; animation-delay: -4s; }
@keyframes float { from { transform: translateY(-5px); } to { transform: translateY(6px); } }
/* phones: the phone picture alone, in the middle, with the money chips around it */
@media (max-width: 640px) {
  .hero-art { display: grid; justify-items: center; padding: 8px 0 20px; }
  .hero-art .desk { display: none; }
  .frame.phone { position: relative; inset: auto; width: min(240px, 64vw); }
  .chip { font-size: 12.5px; padding: 8px 11px; gap: 6px; }
  .chip b { font-size: 14px; }
  .chip.c-amber { top: 14%; inset-inline-start: 0; }
  .chip.c-green { top: 46%; inset-inline-end: 0; }
  .chip.c-coral { bottom: 12%; inset-inline-start: 2%; }
  .ctas .btn { flex: 1 1 100%; }
}

/* money states: each card speaks in one colour */
.c-amber { --c: var(--amber); --c-d: var(--amber-d); --c-bg: var(--amber-bg); }
.c-green { --c: var(--green); --c-d: var(--green-d); --c-bg: var(--green-bg); }
.c-coral { --c: var(--coral); --c-d: var(--coral-d); --c-bg: var(--coral-bg); }
.c-iris { --c: var(--iris); --c-d: var(--iris-d); --c-bg: var(--iris-bg); }
.states { padding-top: 0; padding-bottom: clamp(40px, 5vw, 64px); }
.states + .band { padding-top: clamp(40px, 5vw, 64px); }
.state-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.state { position: relative; padding: 22px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.state::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--c); }
.state-top { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.tile, .ftile { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; flex: none; }
.ftile .i { width: 22px; height: 22px; }
.tile { background: var(--c-bg); color: var(--c-d); }
.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 8px; font-size: 13px; font-weight: 600; background: var(--c-bg); color: var(--c-d); }
.state .big { display: block; font-size: 30px; font-weight: 700; line-height: 1.1; }
.state small { display: block; margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.state p { margin-top: 14px; font-size: 15px; line-height: 1.55; color: var(--muted); }

/* how it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); counter-reset: s; }
.step { position: relative; padding: 26px 24px 24px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.step-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 18px; font-weight: 700; }
.step h3, .feat h3, .dev h3 { margin-top: 18px; font-size: 20px; letter-spacing: -.02em; line-height: 1.25; }
:lang(ar) .step h3, :lang(ar) .feat h3, :lang(ar) .dev h3 { letter-spacing: 0; }
.step p, .feat p, .dev p { margin-top: 8px; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
@media (min-width: 900px) {
  .step:not(:last-child)::after { content: ""; position: absolute; top: 46px; inset-inline-start: calc(100% + 4px); width: 20px; border-top: 2px dashed color-mix(in srgb, var(--ink) 22%, transparent); }
}

/* features */
.feat-grid, .dev-grid, .topic-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.feat, .dev { padding: 24px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.band:not(.alt) .dev { background: var(--card); }
.feat:hover, .dev:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: color-mix(in srgb, var(--ink) 14%, var(--line)); }
.ftile { background: var(--soft); color: var(--ink); border: 1px solid var(--line); }
.band.alt .ftile { background: var(--card); }
.dev { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.dev .more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 18px; font-weight: 600; font-size: 15px; color: var(--green-d); }
.dev .more .i { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.dev:hover .more .i { transform: translateX(3px); }
[dir="rtl"] .dev:hover .more .i { transform: scaleX(-1) translateX(3px); }

/* showcase */
.show { display: grid; gap: 22px; justify-items: center; }
.seg { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 5px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.band.alt .seg { background: var(--paper); }
.seg button { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 0; border-radius: 12px; background: transparent; color: var(--muted);
  font: 600 14.5px/1 var(--font); cursor: pointer; transition: background-color .2s, color .2s; }
:lang(ar) .seg button { font-family: "IBM Plex Sans Arabic", var(--font); }
.seg button .i { width: 18px; height: 18px; }
.seg button[aria-selected="true"], .seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.seg button em { font-style: normal; font-size: 12px; font-weight: 650; padding: 3px 7px; border-radius: 6px; background: var(--green-bg); color: var(--green-d); }
.frame.wide { width: 100%; max-width: 1100px; }
.panes > [role="tabpanel"] { animation: pane .45s var(--ease); }
@keyframes pane { from { opacity: 0; transform: scale(.99); } to { opacity: 1; transform: none; } }

/* dark band: security */
.band.ink { background: var(--band-ink); color: var(--on-ink); }
.band.ink .sec-lead { color: var(--on-ink-muted); }
.band.ink .kicker { color: #3dd39b; }
.band.ink .link { color: #3dd39b; margin-top: 22px; }
.trust { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .trust { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } .trust .sec-head { margin-bottom: 0; } }
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.trust-list li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: color-mix(in srgb, var(--on-ink) 5%, transparent); border: 1px solid var(--ink-line); font-size: 16px; }
.trust-list .i { width: 22px; height: 22px; color: #3dd39b; }

/* pricing */
.period { margin-top: 28px; }
.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); align-items: stretch; max-width: 1060px; margin-inline: auto; }
.plan { display: flex; flex-direction: column; padding: 28px 26px 26px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); }
.plan.pos { border: 2px solid var(--ink); box-shadow: var(--shadow-lg); }
.plan h3 { font-size: 24px; }
.plan-for { margin-top: 6px; font-size: 15px; color: var(--muted); min-height: 3.1em; }
.price { display: flex; align-items: baseline; gap: 8px; margin-top: 18px; }
.price b { font-size: 46px; font-weight: 700; line-height: 1; letter-spacing: -.04em; }
.price span { font-size: 15px; color: var(--muted); }
.incl { list-style: none; margin: 22px 0 26px; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 11px; font-size: 15.5px; }
.incl li { display: flex; gap: 10px; align-items: flex-start; }
.incl .i { width: 19px; height: 19px; margin-top: 3px; color: var(--green-d); }
.plan .btn { margin-top: auto; }

/* questions */
.faq { display: grid; gap: 8px 64px; }
@media (min-width: 960px) { .faq { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); } }
.qa details { border-bottom: 1px solid var(--line); }
.qa details:first-child { border-top: 1px solid var(--line); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 2px; cursor: pointer; list-style: none; font-weight: 600; font-size: 17.5px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .i { width: 22px; height: 22px; color: var(--muted); transition: transform .3s var(--ease); }
.qa details[open] summary .i { transform: rotate(45deg); }
.qa details p { padding: 0 2px 22px; color: var(--muted); max-width: 62ch; }

/* last call */
.end { padding-block: clamp(72px, 10vw, 128px); background: var(--band-ink); color: var(--on-ink); text-align: center; position: relative; overflow: hidden; }
.end::before { content: ""; position: absolute; inset: auto 50% -260px; width: 720px; height: 520px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(16, 180, 122, .22), transparent); pointer-events: none; }
.end-in { position: relative; display: grid; justify-items: center; }
.end-mark { width: 92px; height: 103px; color: var(--on-ink); overflow: visible; }
.end-mark .coin { transform-box: fill-box; transform-origin: center; }
.js .end-in.rv-coin .coin { transform: translateY(-260%); opacity: 0; }
.js .end-in.rv-coin.in .coin { transform: none; opacity: 1; transition: transform 1s var(--spring) .1s, opacity .3s .1s; }
.end h2 { margin-top: 26px; font-size: clamp(32px, 4.6vw, 56px); line-height: 1.05; max-width: 16ch; }
:lang(ar) .end h2 { line-height: 1.3; }
.end p { margin-top: 14px; font-size: 19px; color: var(--on-ink-muted); }
.end .btn.primary { background: var(--on-ink); color: #0c1a22; }

/* footer */
.foot { padding-block: 56px 28px; border-top: 1px solid var(--line); }
.foot-in { display: grid; gap: 36px; }
@media (min-width: 860px) { .foot-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); } }
.foot-brand p { margin-top: 14px; color: var(--muted); max-width: 30ch; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 520px) { .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.foot-cols h2 { font: 650 13px/1.4 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
:lang(ar) .foot-cols h2 { font-family: "IBM Plex Sans Arabic", var(--font); letter-spacing: 0; font-size: 14px; }
.foot-cols a { display: block; padding: 5px 0; text-decoration: none; font-size: 15.5px; }
.foot-cols a:hover { color: var(--green-d); }
.foot-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.foot-end .lang { margin-inline-end: -10px; }

/* ---------- inner pages */
.page-hero { padding-block: clamp(48px, 7vw, 96px) clamp(24px, 4vw, 48px); }
.page-hero h1 { margin-top: 14px; font-size: clamp(38px, 5vw, 64px); line-height: 1.02; letter-spacing: -.04em; max-width: 18ch; }
:lang(ar) .page-hero h1 { line-height: 1.25; letter-spacing: 0; }
.page-hero .lead + .lead { margin-top: 14px; }

.get-grid { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .get-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.get { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: clamp(24px, 3vw, 34px); border-radius: 24px; background: var(--card); border: 1px solid var(--line); scroll-margin-top: 90px; }
.get-head { display: flex; align-items: center; gap: 14px; }
.get h2 { font-size: 26px; letter-spacing: -.025em; }
:lang(ar) .get h2 { letter-spacing: 0; }
.get > p { color: var(--muted); }
.get .btn { margin-top: 4px; }
.get.web { background: var(--band-ink); color: var(--on-ink); border-color: var(--band-ink); grid-column: 1 / -1; display: grid; gap: 28px; align-items: center; overflow: hidden; }
.get-text { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.get-text > p:not(.fine) { color: var(--on-ink-muted); }
.get-shot { width: 100%; border-color: var(--ink-line); }
@media (min-width: 900px) {
  .get.web { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); padding-inline-end: 0; padding-block-end: 0; align-items: end; }
  .get.web .get-text { align-self: center; padding-block-end: clamp(24px, 3vw, 34px); }
  .get-shot { border-end-end-radius: 0; border-end-start-radius: 0; border-start-end-radius: 0; border-inline-end: 0; border-block-end: 0; }
}
.get.web > p { color: var(--on-ink-muted); }
.get.web .ftile { background: color-mix(in srgb, var(--on-ink) 8%, transparent); color: var(--on-ink); border-color: var(--ink-line); }
.get.web .btn.primary { background: var(--green); color: #06251a; }
.get.web .fine { color: var(--on-ink-muted); }
.how-os { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); width: 100%; }
.how-os h3 { font-size: 16px; letter-spacing: 0; margin-bottom: 8px; }
.mini { margin: 0; padding: 0; list-style: none; counter-reset: m; display: grid; gap: 8px; font-size: 15px; }
.mini li { counter-increment: m; display: flex; gap: 10px; }
.mini li::before { content: counter(m); flex: none; display: inline-grid; place-items: center; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: var(--soft); font: 700 12.5px/1 var(--display); }
.qr-row { display: flex; align-items: center; gap: 16px; margin-top: 4px; padding-top: 18px; border-top: 1px solid var(--line); width: 100%; }
.qr svg { width: 104px; height: 104px; border-radius: 12px; border: 1px solid var(--line); }
.note { width: 100%; margin-top: 6px; padding: 18px; border-radius: 16px; background: var(--soft); }
.note h3 { display: flex; align-items: center; gap: 8px; font-size: 16px; letter-spacing: 0; }
.note h3 .i { color: var(--muted); }
.note p { margin: 6px 0 10px; font-size: 15px; color: var(--muted); }
.get.shop { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .get.shop { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 32px; align-items: center; }
  .get.shop .get-head, .get.shop > p { grid-column: 1; }
  .get.shop .btn { grid-column: 2; grid-row: 1 / span 2; }
}
.req { display: grid; gap: 0; margin: 22px 0 0; }
.req > div { display: grid; grid-template-columns: minmax(130px, 220px) minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.req dt { font-weight: 600; }
.req dd { margin: 0; color: var(--muted); }
@media (max-width: 560px) { .req > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

.soon { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 32px; padding: 18px 20px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); max-width: 820px; }
.soon > div { flex: 1 1 280px; min-width: 0; }
.soon b { font-size: 17px; }
.soon p { color: var(--muted); font-size: 15.5px; }
.topic { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.topic h2 { font-size: 19px; letter-spacing: -.02em; }
:lang(ar) .topic h2 { letter-spacing: 0; }
.topic p { margin-top: 6px; font-size: 15px; color: var(--muted); }
.tag.later { margin-top: auto; align-self: flex-start; background: var(--soft); color: var(--muted); }

.story { display: grid; gap: 32px; align-items: center; }
@media (min-width: 860px) { .story { grid-template-columns: minmax(220px, .6fr) minmax(0, 1.4fr); gap: 56px; } }
.story-mark { display: grid; place-items: center; aspect-ratio: 1; max-width: 300px; width: 100%; border-radius: 40px; background: var(--band-ink); color: var(--on-ink); }
.story-mark svg { width: 46%; overflow: visible; }
.story-mark .coin { transform-box: fill-box; transform-origin: center; }
.js .story-mark.rv .coin { transform: translateY(-200%); opacity: 0; }
.js .story-mark.rv.in .coin { transform: none; opacity: 1; transition: transform 1s var(--spring) .35s, opacity .3s .35s; }
.story-p { margin-top: 14px; font-size: clamp(19px, 2vw, 24px); line-height: 1.5; }
.wordmark { margin-top: 22px; font: 700 clamp(48px, 7vw, 84px)/1 var(--display); letter-spacing: -.035em; }
.contact { display: grid; gap: 10px; margin-top: 26px; }
.crow { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.crow > div { flex: 1; min-width: 0; }
.crow small { display: block; font-size: 13px; color: var(--muted); }
.crow b { font: 500 16px/1.4 var(--mono); overflow-wrap: anywhere; }
.crow .btn { flex: none; }
.nf .nf-mark { width: 110px; height: 150px; margin: 0 auto 26px; overflow: visible; }
.nf h1 { margin-inline: auto; }
.nf .lead { margin-inline: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
  .js .end-in.rv-coin .coin, .js .story-mark.rv .coin { transform: none; opacity: 1; }
}
