[hidden] { display: none !important; }

@font-face { font-family: "Alexandria"; font-weight: 700; font-display: swap; src: url(/assets/fonts/alexandria-arabic-700-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Alexandria"; font-weight: 700; font-display: swap; src: url(/assets/fonts/alexandria-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF; }
@font-face { font-family: "Alexandria"; font-weight: 800; font-display: swap; src: url(/assets/fonts/alexandria-arabic-800-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Plex Arabic"; font-weight: 400; font-display: swap; src: url(/assets/fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Plex Arabic"; font-weight: 400; font-display: swap; src: url(/assets/fonts/ibm-plex-sans-arabic-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Plex Arabic"; font-weight: 500; font-display: swap; src: url(/assets/fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Plex Arabic"; font-weight: 500; font-display: swap; src: url(/assets/fonts/ibm-plex-sans-arabic-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Plex Arabic"; font-weight: 700; font-display: swap; src: url(/assets/fonts/ibm-plex-sans-arabic-arabic-700-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Plex Arabic"; font-weight: 700; font-display: swap; src: url(/assets/fonts/ibm-plex-sans-arabic-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }

:root {
  /* deep teal of the alkhalf site, gold for anything that costs or confirms */
  --bg: #0b1b1e; --bg2: #0e2427; --panel: #12292d; --panel2: #173236; --line: #22403f; --line2: #2d5450;
  --text: #edf3f1; --muted: #93aca8; --gold: #d8b46a; --gold2: #b8924a; --sea: #4fb39b; --green: #4fb39b; --red: #e2756a; --blue: #6fb0d8;
  --radius: 16px;
  --font: "Plex Arabic", system-ui, Tahoma, sans-serif;
  --display: "Alexandria", "Plex Arabic", system-ui, sans-serif;
  /* Sadu band: woven diamonds and triangles, the strip under the hero */
  --sadu: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='28' viewBox='0 0 40 28'%3E%3Cg fill='none' stroke='%23c9a65f' stroke-width='1.4'%3E%3Cpath d='M0 14 L10 4 L20 14 L10 24 Z M20 14 L30 4 L40 14 L30 24 Z'/%3E%3Cpath d='M6 14 L10 10 L14 14 L10 18 Z M26 14 L30 10 L34 14 L30 18 Z' fill='%23c9a65f' stroke='none'/%3E%3Cpath d='M0 1 L40 1 M0 27 L40 27' stroke-dasharray='3 3'/%3E%3C/g%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.75; font-size: 16px; }
body { background:
  radial-gradient(900px 520px at 85% -10%, rgba(79,179,155,.13), transparent 60%),
  radial-gradient(700px 500px at 0% 40%, rgba(216,180,106,.06), transparent 60%),
  var(--bg); background-repeat: no-repeat; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: 0; }

/* ---------- header ---------- */
header.top { border-bottom: 1px solid var(--line); background: rgba(11,27,30,.92); position: sticky; top: 0; z-index: 10; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 14px; }
.logo { font-family: var(--display); font-weight: 800; font-size: 21px; color: var(--text); display: flex; gap: 10px; align-items: center; }
.logo:hover { text-decoration: none; }
.logo i { width: 32px; height: 32px; border-radius: 9px; background: var(--gold); display: inline-grid; place-items: center; position: relative; }
.logo i::after { content: ""; width: 12px; height: 12px; background: var(--bg); transform: rotate(45deg); border-radius: 2px; }
nav.links { display: flex; gap: 4px; font-size: 15px; }
nav.links a { color: var(--muted); padding: 7px 13px; border-radius: 10px; }
nav.links a:hover, nav.links a.on { color: var(--text); background: var(--panel2); text-decoration: none; }
.signin { position: relative; }
.signin summary { list-style: none; }
.signin summary::-webkit-details-marker { display: none; }
.signin .pop { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); width: 300px; background: var(--panel); border: 1px solid var(--line2); border-radius: 14px; padding: 14px; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.signin .pop p { margin: 0 0 8px; color: var(--muted); font-size: 14px; }

/* ---------- buttons / inputs ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line2); background: transparent; color: var(--text); border-radius: 12px; padding: 10px 18px; font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; }
.btn:hover { border-color: var(--gold2); text-decoration: none; }
.btn.primary { background: var(--gold); border-color: var(--gold); color: #1d1606; font-weight: 700; }
.btn.primary:hover { background: #e4c37f; }
.btn.danger { border-color: #6b3530; color: var(--red); }
.btn.sm { padding: 5px 11px; font-size: 13.5px; border-radius: 9px; }
.btn.lg { padding: 13px 26px; font-size: 16.5px; }
.btn:disabled { opacity: .5; cursor: default; }
input, select, textarea { width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--line2); border-radius: 11px; padding: 10px 12px; font: inherit; font-size: 15px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); }
label.fld { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
form.f { display: grid; gap: 14px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hint { font-size: 13px; color: var(--muted); }
.err { color: var(--red); font-size: 14px; }
.ok { color: var(--sea); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.tag { display: inline-block; font-size: 12px; padding: 1px 9px; border-radius: 99px; border: 1px solid var(--line2); color: var(--muted); font-weight: 500; }
.tag.gold { border-color: var(--gold2); color: var(--gold); }

/* ---------- hero ---------- */
.hero { padding: 64px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(36px, 6vw, 68px); line-height: 1.25; margin: 0 0 20px; font-weight: 800; }
.hero .lead { color: var(--muted); font-size: 18px; max-width: 34em; margin: 0 0 22px; }
.from { font-size: 17px; color: var(--muted); margin: 0 0 26px; }
.from b { font-family: var(--display); color: var(--gold); font-size: 30px; margin: 0 4px; }
.hero h2.ask { font-size: 18px; margin: 0 0 12px; }
.picks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pick { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: rgba(18,41,45,.75); border: 1px solid var(--line); color: var(--text); }
.pick:hover { border-color: var(--line2); text-decoration: none; background: var(--panel); }
.pick .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--panel2); display: grid; place-items: center; flex: none; color: var(--gold); }
.pick b { display: block; font-size: 15.5px; }
.pick small { color: var(--sea); font-size: 13px; }

/* live inbox preview (the hero's visual) */
.preview { background: linear-gradient(180deg, #15302f, #102528); border: 1px solid var(--line2); border-radius: 22px; padding: 22px; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.pv-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; gap: 10px; }
.pv-head .host { direction: ltr; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 14px; font-weight: 600; }
.live { display: inline-flex; gap: 6px; align-items: center; color: var(--sea); font-size: 13px; }
.live::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--sea); box-shadow: 0 0 0 4px rgba(79,179,155,.18); }
.pv-chats { display: grid; gap: 6px; margin-bottom: 16px; }
.pv-chat { display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 12px; background: rgba(11,27,30,.45); }
.pv-chat.on { background: rgba(216,180,106,.08); outline: 1px solid rgba(216,180,106,.25); }
.pv-chat .pv-av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 16px; color: #0b1b1e; line-height: 1; }
.pv-chat b { display: block; font-size: 14px; line-height: 1.4; }
.pv-chat span span { color: var(--muted); font-size: 12.5px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-chat em { font-style: normal; font-size: 11.5px; color: var(--muted); text-align: center; }
.pv-chat em i { display: block; margin: 2px auto 0; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--sea); color: #072019; font-style: normal; font-weight: 700; font-size: 11.5px; line-height: 20px; width: max-content; }
.meter { margin: 10px 0; font-size: 13.5px; }
.meter div { display: flex; justify-content: space-between; color: var(--muted); margin-bottom: 5px; }
.meter div b { color: var(--text); font-weight: 500; direction: ltr; }
.meter s { display: block; height: 6px; border-radius: 99px; background: rgba(11,27,30,.7); overflow: hidden; text-decoration: none; }
.meter s i { display: block; height: 100%; border-radius: 99px; background: var(--sea); }
.meter.gold s i { background: linear-gradient(90deg, var(--gold2), var(--gold)); }
.pv-tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; }
.pv-tools span { display: grid; gap: 4px; place-items: center; padding: 12px 4px; border-radius: 12px; background: rgba(11,27,30,.55); border: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.pv-tools svg { color: var(--gold); }
.pv-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; justify-content: flex-end; }
.pv-chips span { font-size: 12px; padding: 3px 10px; border-radius: 99px; border: 1px solid var(--line2); color: var(--muted); }

.sadu { height: 28px; background-image: var(--sadu); background-repeat: repeat-x; background-position: center; opacity: .8; border-top: 1px solid rgba(201,166,95,.15); border-bottom: 1px solid rgba(201,166,95,.15); }

/* ---------- sections ---------- */
.section { padding: 64px 0 24px; }
.section h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 8px; }
.section .sub { color: var(--muted); margin: 0 0 26px; max-width: 40em; }
.feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.feat > div { padding: 22px; border-inline-start: 1px solid var(--line); border-top: 1px solid var(--line); }
.feat > div:nth-child(3n+1) { border-inline-start: 0; }
.feat > div:nth-child(-n+3) { border-top: 0; }
.feat h3 { font-size: 17px; margin: 0 0 6px; display: flex; gap: 10px; align-items: center; }
.feat h3 svg { color: var(--gold); flex: none; }
.feat p { margin: 0; color: var(--muted); font-size: 14.5px; }
.feat .paid { display: inline-block; margin-top: 8px; }

/* ---------- plans ---------- */
.seg { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); margin-bottom: 18px; }
.seg button { border: 0; background: none; color: var(--muted); font: inherit; font-size: 14.5px; padding: 7px 18px; border-radius: 9px; cursor: pointer; }
.seg button.on { background: var(--panel2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line2); }
.seg small { color: var(--sea); font-size: 12px; margin-inline-start: 4px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.plan { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 6px; cursor: pointer; }
.plan:hover { border-color: var(--line2); }
.plan.chosen { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset, 0 18px 40px rgba(0,0,0,.25); }
.plan h3 { margin: 0; font-size: 21px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.plan .desc { color: var(--muted); font-size: 14px; min-height: 2.6em; }
.price { font-family: var(--display); font-size: 36px; font-weight: 700; line-height: 1.3; margin: 6px 0 2px; }
.price small { font-family: var(--font); font-size: 14px; color: var(--muted); font-weight: 400; }
.plan ul { list-style: none; padding: 14px 0 0; margin: 10px 0 14px; border-top: 1px solid var(--line); font-size: 14.5px; display: grid; gap: 5px; }
.plan li { display: flex; gap: 8px; align-items: baseline; }
.plan li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 2px; transform: rotate(45deg) translateY(-1px); background: var(--sea); }
.plan li.off { color: var(--muted); opacity: .55; }
.plan li.off::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--muted); }
.plan li.add { color: var(--gold); }
.plan li.add::before { background: var(--gold); }
.plan .btn { margin-top: auto; }
.plan .ribbon { position: absolute; top: -11px; inset-inline-start: 20px; background: var(--gold); color: #1d1606; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 99px; }

/* ---------- checkout ---------- */
.checkout { display: grid; grid-template-columns: 1.35fr .9fr; gap: 20px; align-items: start; }
.summary { position: sticky; top: 90px; }
.summary h3 { margin: 0 0 14px; font-size: 18px; }
.sum-row { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line2); font-size: 15px; }
.sum-row span:first-child { color: var(--muted); }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0 4px; }
.sum-total b { font-family: var(--display); font-size: 28px; color: var(--gold); }
.addon { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; border: 1px solid var(--line2); background: rgba(216,180,106,.05); cursor: pointer; }
.addon input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--gold); flex: none; }
.addon b { display: block; }
.addon span { color: var(--muted); font-size: 13.5px; }
.addon.included { opacity: .7; cursor: default; }
.slug { display: flex; direction: ltr; border: 1px solid var(--line2); border-radius: 11px; overflow: hidden; background: var(--bg); }
.slug:focus-within { border-color: var(--gold); }
.slug input { border: 0; border-radius: 0; direction: ltr; }
.slug span { padding: 10px 12px; background: var(--panel2); color: var(--muted); white-space: nowrap; font-size: 14px; }
.pay-note { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.pay-note span { font-size: 12.5px; padding: 3px 10px; border-radius: 8px; background: var(--panel2); color: var(--muted); }

footer { border-top: 1px solid var(--line); padding: 26px 0; color: var(--muted); font-size: 14px; margin-top: 60px; }
footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- other pages ---------- */
.periods { display: flex; gap: 8px; }
.periods button { flex: 1; }
.periods button.on { border-color: var(--gold); color: var(--gold); }
.doc h2 { margin-top: 34px; border-bottom: 1px solid var(--line); padding-bottom: 6px; font-size: 24px; }
.doc ol li, .doc ul li { margin: 6px 0; }
.doc code { background: var(--panel2); padding: 1px 6px; border-radius: 6px; direction: ltr; display: inline-block; font-size: 14px; }
.doc .note { border-inline-start: 3px solid var(--gold); background: var(--panel); padding: 10px 14px; border-radius: 8px; margin: 12px 0; }
.doc .warn { border-inline-start-color: var(--red); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 20px; }
.center { text-align: center; }
.big-link { font-size: 20px; direction: ltr; display: inline-block; padding: 10px 16px; border: 1px dashed var(--gold2); border-radius: 12px; margin: 8px 0; }

@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 34px; }
  .checkout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .feat { grid-template-columns: 1fr 1fr; }
  .feat > div:nth-child(n) { border-inline-start: 1px solid var(--line); border-top: 1px solid var(--line); }
  .feat > div:nth-child(2n+1) { border-inline-start: 0; }
  .feat > div:nth-child(-n+2) { border-top: 0; }
}
@media (max-width: 640px) {
  nav.links { display: none; }
  .row2, .picks { grid-template-columns: 1fr; }
  .feat { grid-template-columns: 1fr; }
  .feat > div:nth-child(n) { border-inline-start: 0; border-top: 1px solid var(--line); }
  .feat > div:first-child { border-top: 0; }
  .hero { padding-top: 36px; }
  .pv-tools { grid-template-columns: repeat(2, 1fr); }
  .signin .pop { width: min(300px, calc(100vw - 32px)); }
}
.section, #signup, #plans, #features { scroll-margin-top: 80px; }
