/* Rakwa POS marketing site. "Maison Royal": porcelain canvas, midnight-navy ink, one restrained antique-gold accent.
   One file, no framework. Logical properties throughout so the same rules serve English (LTR) and Arabic (RTL). */

@font-face { font-family: "Outfit"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("/assets/fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("/assets/fonts/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Almarai"; font-weight: 300; font-display: swap; src: url("/assets/fonts/almarai-arabic-300.woff2") format("woff2"); 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: "Almarai"; font-weight: 400; font-display: swap; src: url("/assets/fonts/almarai-arabic-400.woff2") format("woff2"); 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: "Almarai"; font-weight: 700; font-display: swap; src: url("/assets/fonts/almarai-arabic-700.woff2") format("woff2"); 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: "Almarai"; font-weight: 800; font-display: swap; src: url("/assets/fonts/almarai-arabic-800.woff2") format("woff2"); 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; }

:root {
  --bg: #F6F4EE;          /* porcelain */
  --bg-deep: #EFEBE1;
  --hero: #FFFDF8;
  --card: #FFFFFF;
  --ink: #141B2D;
  --navy: #1B2545;
  --navy-deep: #111727;
  --muted: #5B6072;
  --line: #E7E3D9;
  --line-strong: #DCD7CB;
  --champagne: #F3EBDA;
  --gold: #C9A55C;        /* decorative only */
  --gold-text: #876221;   /* text-safe gold, 4.9:1 on porcelain */
  --gold-soft: #EBD9B4;
  --cream: #F8F3E7;
  --success: #2B6A4D;
  --on-dark: rgb(248 243 231 / 90%);       /* body text on navy: 12:1+ */
  --on-dark-muted: rgb(248 243 231 / 74%); /* secondary text on navy: 8:1+ */
  --gold-on-dark: #D9BE86;

  --font: "Outfit", "Almarai", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-sm: 12px;
  --shadow: 0 1px 1px rgb(20 27 45 / 3%), 0 2px 6px -1px rgb(20 27 45 / 4%), 0 18px 36px -22px rgb(20 27 45 / 18%);
  --shadow-lg: 0 4px 12px rgb(20 27 45 / 6%), 0 40px 80px -32px rgb(20 27 45 / 38%);
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(80px, 11vw, 148px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
:lang(ar) body, body:lang(ar) { --font: "Almarai", "Outfit", ui-sans-serif, system-ui, sans-serif; font-size: 17.5px; line-height: 1.8; }
img, svg { display: block; max-width: 100%; }
figure, blockquote { margin: 0; }
img { height: auto; }
a { color: inherit; text-decoration-color: color-mix(in oklab, currentColor 35%, transparent); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
::selection { background: var(--gold-soft); color: var(--ink); }
:focus-visible { outline: 2.5px solid var(--gold-text); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--navy); color: var(--cream); padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.narrow { width: min(100% - 2 * var(--gutter), 820px); margin-inline: auto; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 300; letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.2vw, 5.4rem); letter-spacing: -0.04em; line-height: 1.0; }
h2 { font-size: clamp(2.05rem, 4.2vw, 3.5rem); letter-spacing: -0.035em; }
h3 { font-size: clamp(1.3rem, 1.9vw, 1.6rem); font-weight: 400; letter-spacing: -0.015em; line-height: 1.2; }
h4, h3.h4 { font-size: 1.05rem; font-weight: 500; letter-spacing: -0.005em; line-height: 1.3; }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3, :lang(ar) h4 { letter-spacing: 0; }
:lang(ar) h1 { font-weight: 700; line-height: 1.25; font-size: clamp(2.3rem, 5.4vw, 4.4rem); }
:lang(ar) h2 { font-weight: 700; line-height: 1.3; font-size: clamp(1.85rem, 3.6vw, 2.9rem); }
:lang(ar) h3 { font-weight: 700; line-height: 1.45; }
:lang(ar) h4, :lang(ar) h3.h4 { font-weight: 700; line-height: 1.5; }
p { margin: 0; text-wrap: pretty; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--muted); line-height: 1.6; max-width: 40em; }
.gold { color: var(--gold-text); }
h1 em, h2 em { font-style: normal; color: var(--gold-text); position: relative; white-space: nowrap; }
h1 em::after { content: ""; position: absolute; inset-inline: 0.04em; bottom: -0.02em; height: 0.06em; min-height: 2px; background: linear-gradient(90deg, transparent, var(--gold) 18%, var(--gold) 82%, transparent); opacity: .75; }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
:lang(ar) .eyebrow { letter-spacing: 0; font-size: 14px; font-weight: 700; text-transform: none; }
.eyebrow.center::after { content: ""; width: 28px; height: 1px; background: var(--gold); }

.section { padding-block: var(--section); position: relative; }
.section-head { display: grid; gap: 18px; margin-block-end: clamp(40px, 6vw, 72px); max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head .lead { margin-inline: inherit; }
.section-head.split { max-width: none; grid-template-columns: 1.1fr 1fr; align-items: end; gap: 24px 64px; }
@media (max-width: 860px) { .section-head.split { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn { --b: var(--navy); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px;
  border-radius: 14px; border: 1px solid var(--b); background: var(--b); color: var(--cream); font: inherit; font-size: 16px; font-weight: 500;
  text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s; box-shadow: 0 1px 0 rgb(255 255 255 / 10%) inset, 0 10px 24px -14px rgb(27 37 69 / 70%); }
.btn:hover { transform: translateY(-1px); background: #232F57; box-shadow: 0 1px 0 rgb(255 255 255 / 10%) inset, 0 16px 30px -14px rgb(27 37 69 / 75%); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); box-shadow: none; }
.btn.ghost:hover { background: var(--card); border-color: var(--ink); }
.btn.light { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.btn.light:hover { background: #fff; }
.btn.outline-light { background: transparent; color: var(--cream); border-color: rgb(248 243 231 / 35%); box-shadow: none; }
.btn.outline-light:hover { border-color: var(--cream); }
.btn.sm { min-height: 42px; padding: 0 18px; font-size: 15px; border-radius: 12px; }
.btn svg { width: 18px; height: 18px; flex: none; }
/* Arrows point the way the reading goes: right in English, left in Arabic (mirrored, placed after the label). */
.icon-arrow { transition: transform .25s var(--ease); }
[dir="rtl"] .icon-arrow { transform: scaleX(-1); }
.btn:hover .icon-arrow, a:hover > .icon-arrow { transform: translateX(3px); }
[dir="rtl"] .btn:hover .icon-arrow, [dir="rtl"] a:hover > .icon-arrow { transform: scaleX(-1) translateX(3px); }
.more .icon-arrow { width: 16px; height: 16px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fineprint { font-size: 14px; color: var(--muted); }
.fineprint .dot { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); vertical-align: middle; margin-inline: 10px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in oklab, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 34px; width: auto; }
.nav-links { display: flex; gap: 4px; margin-inline-start: 16px; }
.nav-links a { padding: 8px 12px; font-size: 15.5px; color: #4A5064; text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--navy); font-weight: 500; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 9px; }
:lang(ar) .nav-links a[aria-current="page"] { font-weight: 700; text-underline-offset: 11px; }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.nav-actions .signin { font-size: 15.5px; text-decoration: none; padding: 8px 12px; color: #3D4357; }
.nav-actions .signin:hover { color: var(--ink); }
.lang { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 42px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line-strong); text-decoration: none; font-size: 15px; color: var(--ink); }
.lang:hover { border-color: var(--ink); }
.lang[lang="ar"] { font-family: "Almarai", sans-serif; font-weight: 700; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 20px; height: 20px; }
@media (max-width: 1040px) {
  .nav-links { display: none; position: absolute; top: 76px; inset-inline: 0; flex-direction: column; gap: 0; margin: 0; padding: 12px var(--gutter) 24px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgb(20 27 45 / 25%); }
  .nav-links a { padding: 14px 4px; font-size: 18px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-links a[aria-current="page"] { text-decoration: none; color: var(--navy); border-inline-start: 1px solid var(--gold); padding-inline-start: 12px; }
  .nav.open .nav-links { display: flex; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 560px) { .nav-actions .signin, .nav-actions .btn { display: none; } .nav { gap: 12px; } .brand img { height: 30px; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 96px) 0; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -10% -10% auto; height: 120%; z-index: -2;
  background: radial-gradient(900px 520px at 85% 10%, rgb(201 165 92 / 15%), transparent 70%), radial-gradient(800px 500px at 0% 80%, rgb(27 37 69 / 6%), transparent 70%); }
.lattice { position: absolute; inset: 0; z-index: -1; opacity: .55; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%23C9A55C' stroke-opacity='.22' stroke-width='.8'%3E%3Cpath d='M48 14l9.9 24.1L82 48l-24.1 9.9L48 82l-9.9-24.1L14 48l24.1-9.9z'/%3E%3Crect x='24' y='24' width='48' height='48' transform='rotate(45 48 48)'/%3E%3Crect x='24' y='24' width='48' height='48'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(70% 60% at 70% 30%, #000 10%, transparent 75%); mask-image: radial-gradient(70% 60% at 70% 30%, #000 10%, transparent 75%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; text-align: center; justify-items: center; }
.hero h1 { max-width: 14ch; }
:lang(ar) .hero h1 { max-width: 15ch; }
.hero .lead { margin-inline: auto; max-width: 36em; }
.hero .cta-row { justify-content: center; margin-top: 8px; }
.hero-stage { position: relative; margin-top: clamp(40px, 6vw, 72px); width: min(100%, 1080px); }
.hero-stage::after { content: ""; position: absolute; inset-inline: -40%; bottom: 0; height: 38%; background: linear-gradient(180deg, transparent, var(--bg) 92%); z-index: 3; pointer-events: none; }

/* Device frames: an iPad in space grey (thin even bezel, front camera on the long edge), a phone, and a soft browser window. */
.device { position: relative; padding: clamp(7px, 1.05vw, 13px); border-radius: clamp(20px, 2.6vw, 34px);
  background: linear-gradient(160deg, #3A3F4C 0%, #1C2029 38%, #0F1218 100%);
  box-shadow: 0 0 0 1px #4B5162 inset, 0 0 0 2px #111319, 0 2px 4px rgb(20 27 45 / 10%), 0 30px 60px -28px rgb(20 27 45 / 45%), 0 60px 110px -60px rgb(20 27 45 / 40%); }
.device::before { content: ""; position: absolute; top: calc(clamp(7px, 1.05vw, 13px) / 2 - 2px); left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #3D4A66, #07090D 70%); }
.device picture, .device img { display: block; width: 100%; }
.device img { border-radius: clamp(13px, 1.7vw, 22px); background: #F4F1EA; }
.device.portrait::before { top: 50%; left: calc(clamp(7px, 1.05vw, 13px) / 2 - 2px); margin: -2.5px 0 0; }
.device.phone { border-radius: 40px; padding: 8px; }
.device.phone::before { display: none; }
.device.phone img { border-radius: 32px; }
.hero-stage .device.main { transform: perspective(2400px) rotateX(7deg); transform-origin: 50% 100%; }
.float-card { position: absolute; z-index: 4; border-radius: var(--radius); background: rgb(255 255 255 / 92%); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--shadow-lg); border: 1px solid rgb(231 227 217 / 80%); padding: 16px 18px; text-align: start; font-size: 14px; }
.float-card b { display: block; font-size: 20px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.float-card .k { color: var(--muted); font-size: 12.5px; letter-spacing: .04em; }
.float-card.a { inset-inline-start: -3%; top: 16%; }
.float-card.b { inset-inline-end: -3%; top: 34%; }
.float-card .row { display: flex; align-items: center; gap: 12px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 500; background: #E5F0EA; color: var(--success); }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.gold { background: var(--champagne); color: #5A4213; }
.ico-badge { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--champagne); color: #5A4213; }
.ico-badge svg { width: 20px; height: 20px; }
@media (max-width: 860px) { .float-card { display: none; } .hero-stage .device.main { transform: none; } }

/* ---------- Facts strip ---------- */
.facts { position: relative; z-index: 5; margin-top: -1px; padding-block: 8px 40px; }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-block: 1px solid var(--line); }
.facts li { padding: 26px 20px; display: grid; gap: 4px; text-align: center; }
.facts li + li { border-inline-start: 1px solid var(--line); }
.facts b { font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 300; letter-spacing: -0.02em; color: var(--ink); line-height: 1.1; }
:lang(ar) .facts b { font-weight: 700; }
.facts span { font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .facts ul { grid-template-columns: repeat(2, 1fr); } .facts li:nth-child(odd) { border-inline-start: 0; } .facts li { border-top: 1px solid var(--line); } .facts li:nth-child(-n+2) { border-top: 0; } .facts li:last-child { grid-column: 1 / -1; } }

.segments { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 28px; color: var(--muted); font-size: 15px; }
.segments span { display: inline-flex; align-items: center; gap: 10px; }
.segments span::before { content: ""; width: 5px; height: 5px; transform: rotate(45deg); background: var(--gold); }

/* ---------- Role chapters ---------- */
.chapter { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.chapter + .chapter { margin-top: clamp(80px, 10vw, 140px); }
.chapter.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.chapter.flip .chapter-copy { order: 2; }
.chapter-copy { display: grid; gap: 20px; align-content: start; }
.chapter-copy h3 { font-size: clamp(1.9rem, 3.2vw, 2.75rem); font-weight: 300; letter-spacing: -0.03em; line-height: 1.1; }
:lang(ar) .chapter-copy h3 { font-weight: 700; letter-spacing: 0; line-height: 1.35; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.chapter-copy > p { color: var(--muted); font-size: 17.5px; }
.chapter-num { font-size: 13px; letter-spacing: .2em; color: var(--gold-text); font-weight: 500; display: flex; align-items: center; gap: 14px; text-transform: uppercase; }
.chapter-num::after { content: ""; height: 1px; flex: 0 0 56px; background: var(--gold); }
:lang(ar) .chapter-num { letter-spacing: 0; font-weight: 700; font-size: 14px; }
.ticks { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: #2C3245; }
.ticks li::before { content: ""; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: var(--champagne) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23876221' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat; box-shadow: 0 0 0 1px rgb(201 165 92 / 35%); }
:lang(ar) .ticks li::before { margin-top: 6px; }
.chapter-media { position: relative; }
.media-pair { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; align-items: end; }
.media-pair .device.phone { margin-bottom: -24px; }
.media-solo { max-width: 400px; margin-inline: auto; }
@media (max-width: 860px) {
  .chapter, .chapter.flip { grid-template-columns: 1fr; }
  .chapter.flip .chapter-copy { order: 0; }
}

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 20px; }
.grid.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid.c3, .grid.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid.c2, .grid.c3, .grid.c4 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.4vw, 32px); box-shadow: var(--shadow); display: grid; gap: 12px; align-content: start; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card p { color: var(--muted); font-size: 16px; }
.card h3:not(.h4) { font-size: 1.25rem; }
a.card { text-decoration: none; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card .ico-badge { margin-bottom: 6px; }
.card.quiet { background: transparent; box-shadow: none; }
.card .more { margin-top: 6px; font-size: 15px; color: var(--gold-text); font-weight: 500; display: inline-flex; gap: 8px; align-items: center; }

.frame { border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 1px 2px rgb(20 27 45 / 5%), 0 24px 50px -26px rgb(20 27 45 / 30%), 0 60px 100px -60px rgb(20 27 45 / 30%); overflow: hidden; }
.frame .bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 7px; padding: 11px 16px; border-bottom: 1px solid var(--line); background: linear-gradient(#FCFBF8, #F6F4EE); direction: ltr; }
.frame .bar i { width: 10px; height: 10px; border-radius: 50%; background: #DDD8CC; display: inline-block; margin-inline-end: 7px; }
.frame .bar span { justify-self: center; display: inline-flex; align-items: center; gap: 6px; padding: 4px 14px; border-radius: 8px; background: rgb(255 255 255 / 80%); border: 1px solid var(--line); font-size: 12px; color: var(--muted); letter-spacing: .01em; }
.frame .bar span::before { content: ""; width: 9px; height: 10px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6072' stroke-width='2.4'%3E%3Crect x='4' y='10' width='16' height='11' rx='2.5'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center / contain no-repeat; }
.frame .bar::after { content: ""; width: 51px; }
.frame picture, .frame img { display: block; width: 100%; }

/* ---------- Dark royal band ---------- */
.royal { background: var(--navy-deep); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.royal::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(900px 500px at 80% 0%, rgb(201 165 92 / 16%), transparent 65%), radial-gradient(700px 500px at 0% 100%, rgb(59 95 196 / 10%), transparent 70%); }
.royal .lattice { opacity: .35; -webkit-mask-image: radial-gradient(60% 70% at 85% 10%, #000, transparent 70%); mask-image: radial-gradient(60% 70% at 85% 10%, #000, transparent 70%); }
.royal h2, .royal h3, .royal h4 { color: var(--cream); }
/* Text on dark: porcelain at 90% / 74%, never grey; WCAG AA (most of it AAA) on --navy-deep and --navy. */
.royal .lead, .royal p, .royal li, .royal .ticks li, .cta-band p, .plan.featured li { color: var(--on-dark); }
.royal .note, .royal .fineprint { color: var(--on-dark-muted); border-color: var(--gold-on-dark); }
.royal .eyebrow { color: var(--gold-on-dark); }
.royal .eyebrow::before, .royal .eyebrow::after { background: var(--gold-on-dark); }
.royal a:not(.btn) { color: var(--cream); }
.royal .ticks li::before, .plan.featured .ticks li::before { background: rgb(217 190 134 / 16%) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E7CF9C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat; box-shadow: 0 0 0 1px rgb(217 190 134 / 55%); }
.royal .feature-rows > div { border-color: rgb(217 190 134 / 18%); }
.royal .feature-rows svg { color: var(--gold-on-dark); }
.royal .feature-rows p { color: var(--on-dark-muted); }
.mode { position: relative; border-radius: var(--radius-lg); padding: clamp(26px, 2.6vw, 36px); background: linear-gradient(180deg, rgb(255 255 255 / 5%), rgb(255 255 255 / 2%)); border: 1px solid rgb(214 185 126 / 18%); display: grid; gap: 14px; align-content: start; }
.mode.featured { border-color: rgb(214 185 126 / 55%); background: linear-gradient(180deg, rgb(214 185 126 / 12%), rgb(255 255 255 / 3%)); }
.mode .tag { position: absolute; top: 26px; inset-inline-end: 26px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #141A2C; background: #D6B97E; padding: 4px 10px; border-radius: 999px; font-weight: 500; }
:lang(ar) .mode .tag { letter-spacing: 0; font-weight: 700; text-transform: none; }
.mode .diagram { height: 84px; display: flex; align-items: center; gap: 10px; color: #D6B97E; }
.mode .diagram svg { width: 100%; height: 84px; }
.mode dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 8px 0 0; font-size: 15px; padding-top: 16px; border-top: 1px solid rgb(214 185 126 / 16%); }
.mode dt { color: var(--on-dark-muted); }
.mode dd { margin: 0; color: var(--cream); }

/* ---------- Compliance ---------- */
.ledger { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); box-shadow: var(--shadow); overflow: hidden; }
.ledger > div { padding: clamp(26px, 3vw, 40px); display: grid; gap: 12px; align-content: start; }
.ledger > div + div { border-inline-start: 1px solid var(--line); }
.ledger .num { font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 200; letter-spacing: -0.04em; color: var(--gold-text); line-height: 1; }
:lang(ar) .ledger .num { font-weight: 300; }
.ledger p { color: var(--muted); font-size: 16px; }
@media (max-width: 860px) { .ledger { grid-template-columns: 1fr; } .ledger > div + div { border-inline-start: 0; border-top: 1px solid var(--line); } }
.logos { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; justify-content: center; }
.logos span { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgb(255 255 255 / 60%); font-size: 15px; color: #2C3245; font-weight: 500; }

/* ---------- Showcase (console) ---------- */
.showcase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.tabs { display: grid; gap: 4px; position: sticky; top: 110px; }
.tab { all: unset; cursor: pointer; display: grid; gap: 6px; padding: 18px 20px; border-radius: 16px; border: 1px solid transparent; transition: background .25s, border-color .25s; }
.tab:focus-visible { outline: 2.5px solid var(--gold-text); outline-offset: 2px; }
.tab .tab-title { font-size: 1.1rem; font-weight: 500; }
:lang(ar) .tab .tab-title { font-weight: 700; }
.tab .tab-text { color: var(--muted); font-size: 15px; display: none; }
.tab[aria-selected="true"] { background: var(--card); border-color: var(--line); box-shadow: var(--shadow); }
.tab[aria-selected="true"] .tab-title { color: var(--ink); }
.tab[aria-selected="true"] .tab-text { display: block; }
.tab[aria-selected="false"] .tab-title { color: var(--muted); font-weight: 400; }
.panels .frame[hidden] { display: none; }
@media (max-width: 860px) { .showcase { grid-template-columns: 1fr; } .tabs { position: static; grid-template-columns: repeat(2, 1fr); } .tab .tab-text { display: none !important; } }

.module-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.module-list > div { padding: 28px 24px 28px 0; display: grid; gap: 8px; border-bottom: 1px solid var(--line); }
[dir="rtl"] .module-list > div { padding: 28px 0 28px 24px; }
.module-list .h4 { display: flex; align-items: center; gap: 10px; }
.module-list .h4::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold); flex: none; }
.module-list p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 860px) { .module-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .module-list { grid-template-columns: 1fr; } }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 860px) { .split, .split.flip { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }
.stack { display: grid; gap: 20px; align-content: start; }
.feature-rows { display: grid; gap: 0; margin-top: 8px; }
.feature-rows > div { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.feature-rows > div:last-child { border-bottom: 1px solid var(--line); }
.feature-rows svg { width: 22px; height: 22px; color: var(--gold-text); margin-top: 3px; }
.feature-rows p { color: var(--muted); font-size: 15.5px; margin-top: 2px; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
.plan { position: relative; display: flex; flex-direction: column; gap: 18px; padding: clamp(28px, 3vw, 40px); border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.plan.featured { background: var(--navy); border-color: var(--navy); color: var(--on-dark); box-shadow: var(--shadow-lg); }
.plan.featured h3, .plan.featured .price b { color: var(--cream); }
.plan.featured .badge { position: absolute; top: -13px; inset-inline-start: 32px; background: var(--gold); color: #141A2C; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
:lang(ar) .plan.featured .badge { letter-spacing: 0; text-transform: none; font-weight: 700; }
.plan h3 { font-size: 1.5rem; }
.plan .for { color: var(--muted); font-size: 15.5px; margin-top: -8px; }
.plan.featured .for { color: var(--on-dark-muted); }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; padding-block: 8px 18px; border-bottom: 1px solid var(--line); }
.plan.featured .price { border-color: rgb(255 255 255 / 12%); }
.price small { font-size: 14px; color: var(--muted); }
.plan.featured .price small { color: var(--on-dark-muted); }
.price b { font-size: clamp(2.4rem, 3.6vw, 3rem); font-weight: 300; letter-spacing: -0.04em; color: var(--ink); line-height: 1; }
:lang(ar) .price b { font-weight: 400; letter-spacing: 0; }
.price .cur { font-size: 15px; color: var(--muted); font-weight: 500; letter-spacing: .04em; }
.plan.featured .cur { color: var(--gold-on-dark); }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15.5px; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.plan li::before { content: ""; width: 8px; height: 8px; margin-top: 9px; transform: rotate(45deg); border: 1.5px solid var(--gold); }
.plan .btn { margin-top: auto; width: 100%; }
.plan.featured .btn { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.plan.featured .btn:hover { background: #fff; }
.plan .includes { font-size: 14px; color: var(--muted); }
.plan.featured .includes { color: var(--on-dark-muted); }
.price-note { margin-top: 28px; text-align: center; color: var(--muted); font-size: 14.5px; }
table.compare { width: 100%; border-collapse: collapse; font-size: 15.5px; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.compare th, .compare td { padding: 15px 18px; text-align: start; border-bottom: 1px solid var(--line); }
.compare thead th { background: #FBFAF6; font-weight: 500; font-size: 14px; color: var(--muted); }
.compare tbody th { font-weight: 400; color: #2C3245; }
.compare td { text-align: center; }
.compare .yes { color: var(--gold-text); font-weight: 600; }
.compare .no { color: #B5B2AA; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; 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: 24px; padding: 24px 4px; font-size: 1.15rem; font-weight: 400; }
:lang(ar) .faq summary { font-weight: 700; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141B2D' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .3s var(--ease), background-color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--champagne); }
.faq details > div { padding: 0 4px 26px; color: var(--muted); max-width: 64em; display: grid; gap: 10px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: clamp(24px, 3vw, 36px); background: var(--navy); color: var(--cream); padding: clamp(44px, 7vw, 96px) clamp(24px, 6vw, 88px); overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 400px at 100% 0%, rgb(201 165 92 / 22%), transparent 65%); }
.cta-band .lattice { opacity: .5; -webkit-mask-image: radial-gradient(60% 80% at 100% 50%, #000, transparent 75%); mask-image: radial-gradient(60% 80% at 100% 50%, #000, transparent 75%); }
.cta-band h2 { color: var(--cream); }
.cta-band p { margin-top: 16px; }
.cta-band .cta-row { justify-content: flex-end; }
.cta-band .mark { position: absolute; inset-inline-end: -40px; bottom: -60px; width: 300px; opacity: .06; z-index: -1; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .cta-row { justify-content: flex-start; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(64px, 9vw, 120px) clamp(40px, 6vw, 72px); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(800px 420px at 90% 0%, rgb(201 165 92 / 14%), transparent 70%); }
.page-hero .lattice { -webkit-mask-image: radial-gradient(50% 80% at 90% 10%, #000, transparent 75%); mask-image: radial-gradient(50% 80% at 90% 10%, #000, transparent 75%); }
.page-hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); max-width: 16ch; margin-top: 18px; }
:lang(ar) .page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.page-hero .lead { margin-top: 22px; }
.page-hero .cta-row { margin-top: 32px; }
.anchors { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.anchors a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); text-decoration: none; font-size: 14.5px; color: #2C3245; background: rgb(255 255 255 / 55%); }
.anchors a:hover { border-color: var(--ink); background: var(--card); }

.note { border-inline-start: 2px solid var(--gold); padding: 6px 0 6px 18px; color: var(--muted); font-size: 15px; }
[dir="rtl"] .note { padding: 6px 18px 6px 0; }
.callout { border-radius: var(--radius); background: var(--champagne); border: 1px solid #E8DBBE; padding: 22px 24px; color: #4A3911; font-size: 15.5px; display: grid; gap: 6px; }
.callout strong { color: #3B2D0D; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
form.card { gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14.5px; font-weight: 500; color: #2C3245; }
:lang(ar) .field label { font-weight: 700; }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; color: var(--ink); background: #FDFCF9; border: 1px solid var(--line-strong); border-radius: 12px; padding: 13px 14px; width: 100%; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-text); box-shadow: 0 0 0 4px rgb(201 165 92 / 22%); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.channel { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; padding: 22px 0; border-top: 1px solid var(--line); text-decoration: none; }
.channel:last-child { border-bottom: 1px solid var(--line); }
.channel .ico-badge { width: 44px; height: 44px; }
.channel b { font-weight: 500; display: block; }
.channel span { color: var(--muted); font-size: 15px; }
a.channel:hover b { color: var(--gold-text); }

/* ---------- Legal ---------- */
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-bottom: var(--section); }
.legal nav { position: sticky; top: 110px; display: grid; gap: 2px; font-size: 14.5px; }
.legal nav b { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); font-weight: 500; margin-bottom: 8px; }
:lang(ar) .legal nav b { letter-spacing: 0; font-size: 14px; text-transform: none; font-weight: 700; }
.legal nav a { padding: 7px 12px; border-radius: 10px; text-decoration: none; color: var(--muted); }
.legal nav a:hover { color: var(--ink); background: rgb(27 37 69 / 5%); }
.legal nav a[aria-current="page"] { color: var(--ink); background: var(--card); box-shadow: var(--shadow); }
.prose { max-width: 720px; display: grid; gap: 16px; }
.prose h2 { font-size: clamp(1.4rem, 2vw, 1.7rem); font-weight: 400; margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); letter-spacing: -0.02em; }
:lang(ar) .prose h2 { font-weight: 700; }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose p, .prose li { color: #3A4053; }
.prose ul { margin: 0; padding-inline-start: 22px; display: grid; gap: 8px; }
.prose li::marker { color: var(--gold); }
.prose .updated { margin-top: 24px; color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .legal { grid-template-columns: 1fr; } .legal nav { position: static; display: flex; flex-wrap: wrap; gap: 6px; } .legal nav b { width: 100%; margin: 0; } .legal nav a { border: 1px solid var(--line); } }

/* ---------- Footer ---------- */
.site-footer { margin-top: var(--section); background: var(--navy-deep); color: var(--on-dark-muted); padding-block: clamp(56px, 7vw, 88px) 36px; font-size: 15px; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .6; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 36px; }
.footer-grid h2 { color: var(--cream); font-size: 14px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
:lang(ar) .footer-grid h2 { letter-spacing: 0; text-transform: none; font-weight: 700; font-size: 15px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { text-decoration: none; color: var(--on-dark); }
.footer-grid a:hover { color: var(--cream); }
.footer-brand img { height: 36px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 30ch; color: var(--on-dark-muted); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / 8%); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; color: var(--on-dark-muted); font-size: 14px; }
.footer-bottom a { color: var(--on-dark); }
.footer-bottom .social { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom .social a { text-decoration: none; }
.footer-bottom .social a:hover { color: var(--cream); text-decoration: underline; text-decoration-color: var(--gold-on-dark); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero .reveal { transition-duration: 1.1s; }
.js .hero .reveal:nth-child(2) { transition-delay: .08s; }
.js .hero .reveal:nth-child(3) { transition-delay: .16s; }
.js .hero .reveal:nth-child(4) { transition-delay: .24s; }
.js .hero .reveal:nth-child(5) { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } .btn, .card { transition: none; } }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound .code { font-size: clamp(5rem, 14vw, 10rem); font-weight: 200; color: var(--gold-text); letter-spacing: -0.05em; line-height: 1; }

@media print { .site-header, .site-footer, .cta-band { display: none; } body { background: #fff; } }

@media (max-width: 640px) {
  .btn { white-space: normal; text-align: center; padding-block: 12px; line-height: 1.3; }
  .cta-row .btn { flex: 1 1 auto; }
}

/* ---------- Pricing: billing toggle, billed line, onboarding ---------- */
.billing { display: flex; width: fit-content; margin: 0 auto 28px; padding: 4px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--card); gap: 4px; }
.billing[hidden] { display: none; }
.billing button { font: inherit; font-size: 15px; border: 0; background: transparent; color: var(--muted); padding: 9px 18px; border-radius: 10px; cursor: pointer; }
.billing button span { font-size: 12.5px; color: var(--gold-text); margin-inline-start: 6px; }
.billing button[aria-pressed="true"] { background: var(--navy); color: var(--cream); }
.billing button[aria-pressed="true"] span { color: var(--gold-on-dark); }
.billing button:focus-visible { outline: 2.5px solid var(--gold-text); outline-offset: 2px; }
.plan .billed { font-size: 14px; color: var(--muted); margin-top: -12px; }
.plan.featured .billed { color: var(--on-dark-muted); }
.plan .price { padding-bottom: 12px; }
.callout.onboarding { margin: 20px auto 0; max-width: 820px; text-align: center; display: block; }
.callout.onboarding b { color: #3B2D0D; }

/* ---------- Contact form states ---------- */
.hp { position: absolute !important; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.field-error { margin: 0; font-size: 14px; color: #A1361F; }
.field [aria-invalid="true"] { border-color: #A1361F; }
.form-status { margin: 0; font-size: 15px; padding: 14px 16px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.form-status.error { background: #FBEDE8; border-color: #EDCBBF; color: #6E2614; }
.form-status.error a { color: #6E2614; font-weight: 500; }
.form-status[hidden] { display: none; }
.form-done { gap: 14px; }
.form-done:focus { outline: none; }
.form-done .ref { font-weight: 600; letter-spacing: .04em; color: var(--ink); }
.form-done [hidden] { display: none; }
button[aria-busy="true"] { opacity: .7; cursor: progress; }
div.channel { cursor: default; }

/* ---------- Legal: owning entity ---------- */
.prose .entity { padding: 14px 18px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font-size: 15px; color: #3A4053; }
.prose .entity b { font-weight: 600; color: var(--ink); }
[hidden] { display: none !important; }
