/* One stylesheet for both editions (the MisGenie website design, 2026-10-31).
   Layout: a floating pill header; full-width rounded bands on a warm page;
   cards and mock product screens inside a 1180px column. */
:root {
  --page: #f4f3ee;
  --surface: #ffffff;
  --ink: #0e2a2a;
  --ink-2: #44585a;
  --line: #e2e1da;
  --deep: #0d2b2b;
  --deep-2: #163c3b;
  --teal: #1b7a6f;
  --teal-soft: #e4efeb;
  --amber: #eba43c;
  --amber-ink: #3b2304;
  --good: #1f7a4d;
  --display: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --arabic: "Noto Sans Arabic", "Geeza Pro", Tahoma, sans-serif;
  --radius: 22px;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--page); color: var(--ink); font: 16px/1.55 var(--body); }
[lang="ar"] body, body[dir="rtl"] { font-family: var(--arabic); }
img, svg { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; inset-inline-start: 12px; top: -48px; background: var(--deep); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 30; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px)); }
[hidden] { display: none !important; }

/* Type */
h1, h2, h3 { font-family: var(--display); color: inherit; margin: 0; text-wrap: balance; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { font-family: var(--arabic); letter-spacing: 0 !important; }
.display { font-weight: 800; font-size: clamp(40px, 7vw, 76px); line-height: .98; letter-spacing: -.045em; }
.h2 { font-weight: 800; font-size: clamp(32px, 4.6vw, 52px); line-height: 1.02; letter-spacing: -.04em; }
.h3 { font-weight: 700; font-size: 20px; line-height: 1.2; letter-spacing: -.01em; }
.label { font: 500 12px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
/* Arabic letters join: never letter-space or mono-set them. */
[dir="rtl"] .label, [dir="rtl"] .float-card .label { font-family: var(--arabic); letter-spacing: 0; font-size: 13px; }
.lede { font-size: 18px; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; }
.fine { font-size: 13px; color: var(--ink-2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent; font: 600 15px/1 var(--body); text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease; white-space: nowrap; }
[dir="rtl"] .btn { font-family: var(--arabic); }
.btn:hover { transform: translateY(-1px); }
.btn.dark { background: var(--deep); color: #fff; }
.btn.light { background: #fff; color: var(--deep); }
.btn.amber { background: var(--amber); color: var(--amber-ink); }
.btn.soft { background: #ebeae4; color: var(--ink); }
.btn.outline { border-color: rgba(255,255,255,.45); color: #fff; background: transparent; }
.btn.outline-dark { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn.wa { background: #1f8a4c; color: #fff; }
.link { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.link::after { content: " →"; }
[dir="rtl"] .link::after { content: " ←"; }

/* Header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; padding-top: 12px; }
.top-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; background: rgba(236,235,229,.92); backdrop-filter: blur(10px); border-radius: 999px; padding: 8px 8px 8px 22px; }
[dir="rtl"] .top-bar { padding: 8px 22px 8px 8px; }
.nav { display: flex; gap: 6px; flex-wrap: wrap; }
.nav a { text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { background: #dfded7; }
.brand { display: inline-flex; align-items: center; justify-self: center; }
.brand img { height: 30px; width: auto; display: block; }
.top-actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.top-actions .text-link { text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 10px; }
.lang-link { text-decoration: none; font-size: 14px; padding: 8px 10px; border-radius: 999px; background: #dfded7; }
.menu-btn { display: none; }
@media (max-width: 900px) {
  .top-bar { grid-template-columns: auto 1fr auto; padding-inline: 14px 8px; }
  .brand { justify-self: start; order: -1; }
  .nav { display: none; grid-column: 1 / -1; order: 3; flex-direction: column; padding: 4px 0 8px; }
  .top.open .nav { display: flex; }
  .top.open .top-bar { border-radius: 24px; }
  .menu-btn { display: inline-flex; min-height: 40px; padding: 0 14px; }
  .top-actions .text-link { display: none; }
}
@media (max-width: 480px) { .top-actions .btn.dark { padding: 0 14px; font-size: 14px; } .lang-link { padding: 8px; }
  /* With a language switch there is no room for the demo button; the hero has it. */
  .top-actions:has(.lang-link) .btn.dark { display: none; } }
.brand img { flex-shrink: 0; min-width: 104px; }

/* Bands and sections */
main { display: grid; gap: 96px; padding-bottom: 96px; }
.band { border-radius: 30px; margin-inline: max(12px, env(safe-area-inset-left, 0px)) max(12px, env(safe-area-inset-right, 0px)); }
.band.deep { background: var(--deep); color: #fff; }
.band.mint { background: #e2ece8; }
.band.white { background: var(--surface); }
.band-in { padding-block: 72px; }
.section-head { display: grid; gap: 14px; margin-bottom: 36px; }
.section-head.split { grid-template-columns: 1fr auto; align-items: end; }
@media (max-width: 760px) { .section-head.split { grid-template-columns: 1fr; } main { gap: 72px; } .band-in { padding-block: 52px; } }

/* Hero */
.hero { margin-top: 14px; position: relative; overflow: hidden; color: #fff; text-align: center;
  background: radial-gradient(60% 70% at 70% 25%, rgba(235,164,60,.55), transparent 60%), radial-gradient(70% 80% at 15% 80%, rgba(41,140,128,.75), transparent 60%), linear-gradient(160deg, #1a4a48, #0d2b2b 70%); }
.hero::before, .hero::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; pointer-events: none; }
.hero::before { width: 640px; height: 640px; right: -180px; top: -240px; }
.hero::after { width: 520px; height: 520px; left: -200px; bottom: -280px; }
.hero-in { position: relative; z-index: 1; padding-block: 88px 76px; display: grid; justify-items: center; gap: 22px; }
.hero .display { max-width: 12ch; }
.hero .lede { color: rgba(255,255,255,.85); text-align: center; }
.ask { width: min(560px, 100%); display: flex; align-items: center; gap: 10px; background: #fff; color: var(--ink); border-radius: 999px; padding: 6px 6px 6px 18px; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
[dir="rtl"] .ask { padding: 6px 18px 6px 6px; }
.ask input { flex: 1; min-width: 0; border: 0; font: 16px var(--body); background: transparent; color: var(--ink); padding: 10px 0; }
.ask input:focus { outline: none; }
.ask:focus-within { outline: 3px solid var(--amber); }
.ask button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--deep); color: #fff; cursor: pointer; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0; margin: 0; list-style: none; }
.chips a, .chips span { display: inline-block; text-decoration: none; font-size: 13px; font-weight: 600; padding: 9px 14px; border-radius: 999px; background: rgba(255,255,255,.14); color: #fff; }
.chips a.amber { background: var(--amber); color: var(--amber-ink); }
.float-card { position: absolute; z-index: 2; background: rgba(255,255,255,.94); color: var(--ink); border-radius: 16px; padding: 14px 16px; text-align: start; box-shadow: 0 12px 30px rgba(0,0,0,.18); font-size: 13px; max-width: 250px; }
.float-card .label { color: var(--ink-2); margin-bottom: 4px; }
.float-card.tl { left: 40px; top: 70px; }
.float-card.br { right: 40px; bottom: 90px; display: flex; gap: 10px; align-items: center; max-width: 290px; }
.pill-ok { font-size: 11px; font-weight: 700; color: #fff; background: var(--teal); border-radius: 999px; padding: 4px 9px; }
@media (max-width: 1100px) { .float-card { display: none !important; } }

/* Logo strip */
.logos { display: flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap; font-weight: 600; }
.logos span.cust { font: 800 18px/1 var(--display); letter-spacing: .02em; color: var(--ink-2); }

/* Visual cards with a scene and an inset record */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .trio { grid-template-columns: 1fr; } }
.tile { display: grid; gap: 12px; align-content: start; }
.scene { position: relative; aspect-ratio: 4 / 3.4; border-radius: var(--radius); overflow: hidden; display: flex; align-items: flex-end; padding: 14px; max-width: 100%; }
.scene.warm { background: radial-gradient(60% 50% at 60% 30%, #f0b453 0%, transparent 60%), linear-gradient(160deg, #3b6a5e, #10302f); }
.scene.violet { background: radial-gradient(55% 50% at 60% 30%, #b98ce0 0%, transparent 60%), linear-gradient(160deg, #3b3a7a, #10302f); }
.scene.mint { background: radial-gradient(55% 50% at 55% 25%, #8fe0c4 0%, transparent 60%), linear-gradient(160deg, #2b8a7a, #10302f 90%); }
.scene.blue { background: radial-gradient(55% 50% at 55% 25%, #8fb2f0 0%, transparent 60%), linear-gradient(160deg, #3c5c9a, #10302f 90%); }
.record { background: rgba(255,255,255,.95); color: var(--ink); border-radius: 14px; padding: 12px 14px; width: 100%; font-size: 13px; }
.record .label { font-size: 10px; color: var(--ink-2); margin-bottom: 4px; }
.record strong { display: block; font-size: 14px; }

/* Team tabs (deep band) */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.08); }
.tabs button { border: 0; background: transparent; color: #fff; font: 600 14px var(--body); padding: 9px 16px; border-radius: 999px; cursor: pointer; }
[dir="rtl"] .tabs button { font-family: var(--arabic); }
.tabs button[aria-selected="true"] { background: #fff; color: var(--deep); }
.tabs.light { background: transparent; gap: 8px; }
.tabs.light button { color: var(--ink); border: 1px solid var(--line); background: var(--surface); }
.tabs.light button[aria-selected="true"] { background: var(--deep); color: #fff; border-color: var(--deep); }
.team-panel { margin-top: 28px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: center; background: var(--deep-2); border-radius: var(--radius); padding: 14px; }
.team-panel .copy { display: grid; gap: 14px; padding: 18px 18px 18px 6px; }
@media (max-width: 860px) { .team-panel { grid-template-columns: 1fr; } .team-panel .copy { padding: 6px; } }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ticks li { padding-inline-start: 24px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: #6fd1bf; font-weight: 700; }
.band.white .ticks li::before, .card .ticks li::before { color: var(--teal); }
.mini-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.mini-table td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.mini-table td:last-child { text-align: end; font-family: var(--mono); font-variant-numeric: tabular-nums; font-weight: 600; color: var(--good); }
.mini-table tr:last-child td { border-bottom: 0; }

/* Product mock */
.app { border-radius: var(--radius); overflow: hidden; background: #f8f8f4; border: 1px solid var(--line); display: grid; grid-template-columns: 210px 1fr; min-height: 470px; box-shadow: 0 30px 60px -30px rgba(13,43,43,.35); }
.app-side { background: var(--deep); color: #cfe0dc; padding: 18px 12px; display: grid; align-content: start; gap: 4px; }
.app-side img { height: 20px; filter: brightness(0) invert(1); opacity: .9; margin: 4px 8px 16px; justify-self: start; }
.app-side button { all: unset; cursor: pointer; padding: 8px 10px; border-radius: 8px; font-size: 13px; }
.app-side button[aria-selected="true"], .app-side button:hover { background: rgba(255,255,255,.1); color: #fff; }
.app-main { padding: 22px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.app-main header { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.badge { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: #fbe7c4; color: #6b4108; white-space: nowrap; }
.row { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.row .kind { width: 44px; height: 36px; border-radius: 8px; display: grid; place-items: center; font: 700 10px var(--mono); }
.kind.leave { background: #e4f1ec; color: #1b6b5c; } .kind.wfh { background: #e6ecfa; color: #34508e; } .kind.claim { background: #fcebd8; color: #8a4d0e; } .kind.it { background: #fbe3e3; color: #973838; } .kind.budget { background: #eee; color: #444; }
.row .acts { display: flex; gap: 6px; }
.row .acts button { border-radius: 999px; padding: 7px 12px; font: 600 12px var(--body); cursor: pointer; border: 1px solid var(--line); background: #fff; }
.row .acts button.go { background: var(--deep); color: #fff; border-color: var(--deep); }
.row.done { opacity: .55; }
.row.done .acts { font-size: 12px; font-weight: 600; color: var(--good); }
@media (max-width: 760px) { .app { grid-template-columns: 1fr; } .app-side { grid-auto-flow: column; overflow-x: auto; } .app-side img { display: none; } .row { grid-template-columns: auto 1fr; } .row .acts { grid-column: 1 / -1; } }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; border-radius: 12px; overflow: hidden; }
.tbl th, .tbl td { padding: 10px 12px; text-align: start; border-bottom: 1px solid var(--line); }
.tbl th { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); background: #fafaf6; }
.tbl td.num { text-align: end; font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* Two-column feature blocks (Slack, payslip) */
.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .split2 { grid-template-columns: 1fr; gap: 32px; } }
.cmds { display: flex; flex-wrap: wrap; gap: 8px; }
.cmds button { font: 500 13px var(--mono); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.cmds button[aria-pressed="true"] { background: var(--deep); color: #fff; border-color: var(--deep); }
.slack { display: grid; grid-template-columns: 180px 1fr; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(13,43,43,.35); background: #fff; min-height: 340px; }
.slack-side { background: #3f0e40; color: #e7d9e8; padding: 16px 12px; font-size: 13px; display: grid; align-content: start; gap: 6px; }
.slack-side .on { background: #1164a3; color: #fff; border-radius: 6px; padding: 4px 8px; }
.slack-main { padding: 16px; display: grid; align-content: start; gap: 12px; font-size: 13px; min-width: 0; }
.msg { display: grid; grid-template-columns: 32px 1fr; gap: 10px; }
.av { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 12px; }
.slack-card { border-inline-start: 4px solid #2a8a5c; background: #f8f8f8; border-radius: 6px; padding: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.slack-card h4 { grid-column: 1 / -1; margin: 0; font-size: 14px; }
.slack-card .k { font-size: 11px; color: #666; }
@media (max-width: 560px) { .slack { grid-template-columns: 1fr; } .slack-side { display: none; } }

.calc { display: grid; gap: 14px; max-width: 460px; }
.calc label { font-weight: 600; font-size: 14px; }
.field { width: 100%; font: 500 17px var(--mono); padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
input[type="range"] { width: 100%; accent-color: var(--teal); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 7px 13px; font: 600 13px var(--body); cursor: pointer; color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--deep); color: #fff; border-color: var(--deep); }
.payslip { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 22px; box-shadow: 0 30px 60px -30px rgba(13,43,43,.35); display: grid; gap: 4px; }
.payslip header { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-bottom: 8px; }
.payslip header img { height: 18px; }
.pline { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.pline span:last-child { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.why { background: var(--teal-soft); border-radius: 12px; padding: 12px 14px; font-size: 13px; line-height: 1.5; }
.why strong { color: var(--teal); }
.net { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; font: 800 20px var(--display); }
.net span:last-child { font-family: var(--mono); color: var(--teal); }
.pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.pills span { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--teal-soft); color: var(--teal); }
.pills span + span { background: #efeee8; color: var(--ink-2); }

/* Customers */
.stories { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; }
.stories .scene { aspect-ratio: auto; min-height: 330px; color: #fff; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 12px; padding: 22px; }
.stories blockquote { margin: 0; font: 600 clamp(18px, 2vw, 22px)/1.35 var(--display); letter-spacing: -.01em; }
.stories .who { font-size: 14px; opacity: .9; }
.stories .name { font: 800 22px var(--display); }
@media (max-width: 900px) { .stories { grid-template-columns: 1fr 1fr; } .stories .scene:first-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .stories { grid-template-columns: 1fr; } }

/* Cards grid */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards, .cards.three { grid-template-columns: 1fr; } }
.card { background: var(--surface); border-radius: 18px; padding: 20px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.card .ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(150deg, #3aa592, #1b6b62); color: #fff; margin-bottom: 6px; }
.card .ico svg { width: 20px; height: 20px; }
.card p { margin: 0; font-size: 14px; color: var(--ink-2); }
.card h3 { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }

.security { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .security { grid-template-columns: 1fr; } }
.security .cards { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 680px) { .security .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .security .cards { grid-template-columns: 1fr; } }

/* Pricing teaser + FAQ */
.price-faq { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .price-faq { grid-template-columns: 1fr; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal); font-weight: 700; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--ink-2); max-width: 65ch; }

/* Closing CTA */
.closing { text-align: center; background: radial-gradient(60% 80% at 50% 0%, #1f7a74, transparent 70%), var(--deep); }
.closing .band-in { display: grid; justify-items: center; gap: 18px; padding-block: 84px; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* Footer */
.foot { padding-block: 56px 32px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 28px; }
.foot-grid h4 { margin: 0 0 10px; font-size: 14px; }
.foot-grid a { display: block; text-decoration: none; font-size: 14px; color: var(--ink-2); padding: 3px 0; }
.foot-grid a:hover { color: var(--ink); }
.foot-grid img { height: 24px; margin-bottom: 10px; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.foot-bottom nav { display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* Page heads (features, pricing, demo) */
.page-head { text-align: center; display: grid; justify-items: center; gap: 16px; padding-block: 64px 8px; }
.page-head .lede { text-align: center; }
.search { width: min(520px, 100%); display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 14px; }
.search input { flex: 1; min-width: 0; border: 0; font: 16px var(--body); padding: 10px 0; background: transparent; color: var(--ink); }
.search input:focus { outline: none; }
.search:focus-within { outline: 3px solid var(--amber); }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 900px; }
.filters button { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 8px 14px; font: 600 13px var(--body); cursor: pointer; color: var(--ink); }
[dir="rtl"] .filters button { font-family: var(--arabic); }
.filters button .n { color: var(--ink-2); font-weight: 500; margin-inline-start: 6px; }
.filters button[aria-pressed="true"] { background: var(--deep); color: #fff; border-color: var(--deep); }
.filters button[aria-pressed="true"] .n { color: #b9d3cd; }
.count { text-align: center; color: var(--ink-2); font-size: 14px; }
.fgroup { display: grid; gap: 16px; }
.fgroup-head { display: flex; align-items: center; gap: 12px; }
.fgroup-head .ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(150deg, #3aa592, #1b6b62); color: #fff; }
.fgroup-head .ico svg { width: 18px; height: 18px; }
.fgroup-head h2 { font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.new { font: 700 10px var(--mono); letter-spacing: .06em; background: #fdf0d2; color: #8a5a07; border-radius: 6px; padding: 3px 6px; margin-inline-start: 8px; vertical-align: 2px; }
.empty { text-align: center; padding: 40px 0; color: var(--ink-2); }
.cta-strip { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }

/* Pricing page */
.plan { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 860px) { .plan { grid-template-columns: 1fr; } }
.plan-card { background: var(--deep); color: #fff; border-radius: var(--radius); padding: 28px; display: grid; gap: 16px; align-content: start; }
.plan-card .amount { font: 800 clamp(44px, 6vw, 58px)/1 var(--display); letter-spacing: -.04em; }
.plan-card .per { font-size: 14px; color: #b9d3cd; }
.plan-card .ticks { grid-template-columns: 1fr 1fr; }
@media (max-width: 480px) { .plan-card .ticks { grid-template-columns: 1fr; } }
.tag { justify-self: start; font: 700 11px var(--mono); background: var(--amber); color: var(--amber-ink); padding: 5px 9px; border-radius: 8px; }
.cost-card { background: var(--surface); border-radius: var(--radius); padding: 28px; display: grid; gap: 14px; align-content: start; border: 1px solid var(--line); }
.cost-lines { display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 14px; }
.cost-lines div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.cost-lines div span:last-child { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.cost-lines .total { font-weight: 800; font-size: 18px; border-top: 1px solid var(--line); padding-top: 10px; }
.cost-lines .total span:last-child { color: var(--teal); }

/* Demo page */
.demo { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; padding-top: 48px; }
@media (max-width: 900px) { .demo { grid-template-columns: 1fr; gap: 32px; } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
.steps .n { width: 30px; height: 30px; border-radius: 50%; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.talk { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: grid; gap: 10px; justify-items: start; }
.form-card { background: var(--surface); border-radius: 26px; padding: 26px; border: 1px solid var(--line); box-shadow: 0 30px 60px -36px rgba(13,43,43,.35); display: grid; gap: 16px; }
.switch { display: grid; grid-template-columns: 1fr 1fr; background: #edece6; padding: 5px; border-radius: 14px; }
.switch button { border: 0; background: transparent; padding: 12px; border-radius: 10px; font: 700 15px var(--body); cursor: pointer; color: var(--ink); }
.switch button[aria-selected="true"] { background: var(--deep); color: #fff; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }
.fields label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.fields input { font: 16px var(--body); padding: 12px 14px; border-radius: 12px; border: 1px solid #d5d4cc; background: #fff; color: var(--ink); }
.sizes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
@media (max-width: 560px) { .sizes { grid-template-columns: repeat(3, 1fr); } }
.sizes button { border: 1px solid #d5d4cc; background: #fff; border-radius: 12px; padding: 11px 4px; font: 600 14px var(--body); cursor: pointer; color: var(--ink); }
.sizes button[aria-pressed="true"] { background: var(--deep); color: #fff; border-color: var(--deep); }
.submit { width: 100%; min-height: 52px; font-size: 16px; background: var(--teal); color: #fff; }
.sent { background: var(--teal-soft); border-radius: 14px; padding: 16px; }

/* Nobat: roles band, steps, watch */
.roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .roles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .roles { grid-template-columns: 1fr; } }
.roles .card strong { font-family: var(--display); font-size: 18px; }
[dir="rtl"] .roles .card strong { font-family: var(--arabic); }
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
@media (max-width: 860px) { .how { grid-template-columns: 1fr; } }
.how .card::before { counter-increment: s; content: counter(s); width: 32px; height: 32px; border-radius: 50%; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; font-weight: 700; }
.shot { border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.15); background: #0b2222; }
.shot img { display: block; width: 100%; height: auto; }

/* Pricing tiers */
.tiers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1000px) { .tiers-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tiers-grid { grid-template-columns: 1fr; } }
.tier-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.tier-card.popular { background: var(--deep); color: #fff; border-color: var(--deep); }
.tier-card.popular .muted, .tier-card.popular .small.muted { color: #b9d3cd; }
.tier-card.popular .ticks li::before { color: #6fd1bf; }
.tier-price { font: 800 34px/1.05 var(--display); letter-spacing: -.03em; }
.tier-card .ticks { gap: 6px; }
[data-local] { display: block; margin-top: 4px; color: var(--teal); font-weight: 600; }
.tier-card.popular [data-local] { color: #9fe0d2; }

/* NobatGenie edition: the Genie family identity (fact/genie-family-identity):
   night #14181D with Pulse Coral #FF7759, in place of MisGenie's teal and amber. */
[data-brand="nobat"] {
  --ink: #14181d;
  --deep: #14181d;
  --deep-2: #1e242b;
  --teal: #b8411f;        /* coral, darkened for text on the light page (AA) */
  --teal-soft: #fbe8e2;
  --amber: #ff7759;
  --amber-ink: #1f0b05;
  --good: #1f7a4d;
}
[data-brand="nobat"] .hero { background: radial-gradient(55% 65% at 72% 22%, rgba(255,119,89,.42), transparent 62%), radial-gradient(70% 80% at 12% 85%, rgba(255,119,89,.10), transparent 60%), linear-gradient(160deg, #222a33, #14181d 70%); }
[data-brand="nobat"] .closing { background: radial-gradient(60% 80% at 50% 0%, rgba(255,119,89,.35), transparent 70%), var(--deep); }
[data-brand="nobat"] .card .ico,
[data-brand="nobat"] .fgroup-head .ico { background: linear-gradient(150deg, #2a323c, #14181d); color: #ff7759; }
[data-brand="nobat"] .tier-card.popular [data-local] { color: #ffb4a3; }
