/* ساعد · Saed — the privacy page and 404. The landing pages use home.css. */
/* Fonts and colours match home.css: self-hosted Readex Pro, dark on the brand ink. */
@font-face {
  font-family: "Readex Pro"; font-style: normal; font-weight: 160 700; font-display: swap;
  src: url(/saed/assets/fonts/readex-pro-arabic.woff2) format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC;
}
@font-face {
  font-family: "Readex Pro"; font-style: normal; font-weight: 160 700; font-display: swap;
  src: url(/saed/assets/fonts/readex-pro-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --surface: #0f2b2a; --surface-raised: #143533; --surface-sunken: #0a201f;
  --line: #1a3c3a; --line-strong: #24504c;
  --ink: #ecf3f0; --ink-muted: #a9c0bb;
  --wadi: #3cc8bd; --wadi-strong: #6ed8cf; --wadi-soft: #134542; --on-wadi: #052220;
  --sand: #e0b171; --sand-deep: #e0b171; --sand-soft: #3a3423;
  --urgent: #ff8a78; --urgent-soft: #43302b;
  --shadow-sm: 0 1px 3px #020c0b99; --shadow-lg: 0 24px 48px -16px #020c0bcc;
  --focus-ring: 0 0 0 2px #0f2b2a, 0 0 0 4px #3cc8bd;
  --r-tail: 4px; --r-sm: 8px; --r-md: 12px; --r-lg: 20px;
  --font: "Readex Pro", "Noto Sans Arabic", system-ui, sans-serif;
  --gutter: 16px; --max: 1120px;
  color-scheme: dark;
}
::selection { background: var(--wadi); color: var(--on-wadi); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 28px; font-weight: 340; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--wadi); text-underline-offset: 3px; }
a:hover { color: var(--wadi-strong); }
:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); border-radius: var(--r-sm); }
p { margin: 0; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--surface-raised); padding: 8px 16px; z-index: 9; }
.skip:focus { top: 8px; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; }
.top .brand img { height: 40px; width: auto; }
.top nav { display: flex; align-items: center; gap: 8px; }
.lang { font-size: 14px; font-weight: 600; line-height: 20px; color: var(--ink); text-decoration: none; padding: 12px; min-height: 44px; display: inline-flex; align-items: center; }
.lang:hover { color: var(--wadi); }

/* Buttons */
.btn { font: inherit; font-size: 15px; font-weight: 600; line-height: 20px; min-height: 48px; padding: 0 24px; border-radius: var(--r-md); border: 1px solid var(--line-strong); background: var(--surface-raised); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--surface-sunken); color: var(--ink); }
.btn-primary { background: var(--wadi); border-color: var(--wadi); color: var(--on-wadi); }
.btn-primary:hover { background: var(--wadi-strong); border-color: var(--wadi-strong); color: var(--on-wadi); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 14px; }

/* Hero */
.hero { display: grid; grid-template-columns: 1fr; gap: 40px; padding-block: 24px 64px; align-items: center; }
.hero h1 { font-size: 40px; line-height: 52px; font-weight: 700; letter-spacing: 0; }
.hero .lede { margin-top: 20px; font-size: 18px; line-height: 32px; color: var(--ink-muted); max-width: 34em; }
.hero .actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero .fine { margin-top: 16px; font-size: 13px; line-height: 20px; color: var(--ink-muted); }
html[lang="en"] .hero h1 { letter-spacing: -0.01em; }

/* Phone demo */
.phone { width: 100%; max-width: 360px; margin-inline: auto; background: var(--surface-raised); border: 1px solid var(--line); border-radius: 32px; padding: 10px; box-shadow: var(--shadow-lg); }
.phone-head { display: flex; align-items: center; gap: 12px; padding: 10px 12px 12px; border-bottom: 1px solid var(--line); }
.phone-head img { width: 40px; height: 40px; border-radius: 9999px; }
.phone-head b { display: block; font-size: 15px; line-height: 22px; font-weight: 600; }
.phone-head small { display: block; font-size: 12px; line-height: 16px; color: var(--ink-muted); }
.chat { background: var(--surface-sunken); border-radius: 0 0 22px 22px; padding: 16px 12px 20px; display: flex; flex-direction: column; gap: 8px; min-height: 452px; }
.day { align-self: center; font-size: 12px; line-height: 16px; color: var(--ink-muted); background: var(--surface-raised); border-radius: var(--r-sm); padding: 2px 10px; margin-bottom: 4px; }
.b { max-width: 86%; padding: 10px 14px; font-size: 15px; line-height: 24px; border-radius: var(--r-lg); }
.b time { display: block; margin-top: 2px; font-size: 12px; line-height: 16px; color: var(--ink-muted); text-align: end; }
.b.c { align-self: flex-start; background: var(--surface-raised); border: 1px solid var(--line); border-end-start-radius: var(--r-tail); }
.b.s { align-self: flex-end; background: var(--wadi-soft); border-end-end-radius: var(--r-tail); }
.b .pv { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; line-height: 20px; color: var(--wadi); }
.b .pv svg { width: 14px; height: 14px; flex: none; }
.typing { align-self: flex-end; display: inline-flex; gap: 4px; padding: 14px 16px; background: var(--wadi-soft); border-radius: var(--r-lg); border-end-end-radius: var(--r-tail); }
.typing i { width: 8px; height: 8px; border-radius: 9999px; background: var(--wadi); animation: pulse 1.2s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .2s; }
.typing i:nth-child(3) { background: var(--sand); animation-delay: .4s; }
@keyframes pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.js .chat [data-step] { display: none; }
.js .chat [data-step].on { display: block; animation: rise .32s ease-out; }
.js .chat .typing[data-step].on { display: inline-flex; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.replay { display: block; margin: 12px auto 0; font: inherit; font-size: 13px; line-height: 20px; color: var(--ink-muted); background: none; border: 0; padding: 12px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.replay:hover { color: var(--wadi); }
.replay[hidden] { display: none; }

/* Staff alert, shown under the phone */
.alert { max-width: 360px; margin: 16px auto 0; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 16px; font-size: 14px; line-height: 22px; box-shadow: var(--shadow-sm); }
.alert-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.alert-top b { font-size: 13px; line-height: 20px; font-weight: 600; color: var(--ink-muted); }
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; line-height: 20px; padding: 2px 12px; border-radius: var(--r-sm); }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 9999px; background: currentColor; }
.badge-pending { background: var(--sand-soft); color: var(--sand-deep); }
.badge-ok { background: var(--wadi-soft); color: var(--wadi); }
.badge-urgent { background: var(--urgent-soft); color: var(--urgent); }

/* Demo tabs: pick a business type */
.demo { max-width: 360px; width: 100%; margin-inline: auto; }
.tabs { display: flex; gap: 4px; padding: 4px; margin-bottom: 16px; background: var(--surface-sunken); border-radius: var(--r-md); }
html:not(.js) .tabs { display: none; }
.tabs button { flex: 1; font: inherit; font-size: 14px; font-weight: 600; line-height: 20px; min-height: 44px; padding: 0 8px; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--ink-muted); cursor: pointer; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--surface-raised); color: var(--ink); box-shadow: var(--shadow-sm); }
.av { width: 40px; height: 40px; flex: none; border-radius: 9999px; background: var(--sand); color: #2a1b07; display: grid; place-items: center; font-weight: 600; font-size: 17px; line-height: 1; }

/* Seasonal band */
.band.season { padding-block: 40px; background: var(--wadi-soft); }
.season-in { display: grid; gap: 20px; align-items: center; }
.band.season h2 { font-size: 24px; line-height: 34px; }
@media (min-width: 900px) {
  .season-in { grid-template-columns: 1fr auto; gap: 48px; }
  .band.season { padding-block: 48px; }
}

/* Sections */
.band { padding-block: 56px; }
.band.sunken { background: var(--surface-sunken); }
.band h2 { font-size: 28px; line-height: 40px; font-weight: 600; }
.band .intro { margin-top: 12px; color: var(--ink-muted); max-width: 40em; }

.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 24px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.steps li::before { content: counter(s); width: 44px; height: 44px; border-radius: 9999px; background: var(--wadi); color: var(--on-wadi); font-weight: 600; font-size: 18px; display: grid; place-items: center; }
.steps h3, .feats h3 { font-size: 20px; line-height: 30px; font-weight: 600; }
.steps p, .feats p { margin-top: 4px; color: var(--ink-muted); }

.feats { margin: 32px 0 0; padding: 0; list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.feats li { display: grid; grid-template-columns: 28px 1fr; gap: 16px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.feats svg { width: 24px; height: 24px; margin-top: 3px; color: var(--wadi); }
.feats .tag { display: inline-block; margin-inline-start: 8px; font-size: 13px; font-weight: 600; line-height: 20px; padding: 0 10px; border-radius: var(--r-sm); background: var(--sand-soft); color: var(--sand-deep); vertical-align: 2px; }

.who { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.who li { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 8px 16px; font-size: 15px; line-height: 24px; }

.two { display: grid; gap: 32px; }
.panel { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.panel h2 { font-size: 24px; line-height: 34px; }
.panel ul { margin: 16px 0 0; padding-inline-start: 20px; }
.panel li { margin-top: 8px; }
.panel .more { display: inline-block; margin-top: 16px; font-weight: 600; }

.cta { text-align: center; }
.cta .intro { margin-inline: auto; }
.cta .actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Footer */
.foot { background: var(--surface-sunken); border-top: 1px solid var(--line); padding-block: 28px 40px; font-size: 14px; line-height: 22px; color: var(--ink-muted); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot a { color: var(--ink-muted); }
.foot a:hover { color: var(--wadi); }

@media (min-width: 900px) {
  :root { --gutter: 32px; }
  .hero { grid-template-columns: 1.1fr 0.9fr; gap: 64px; padding-block: 40px 96px; }
  .hero h1 { font-size: 56px; line-height: 68px; }
  .band { padding-block: 80px; }
  .band h2 { font-size: 32px; line-height: 44px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .steps li { grid-template-columns: 1fr; }
  .feats { grid-template-columns: 1fr 1fr; column-gap: 48px; border-top: 0; }
  .feats li:nth-child(-n+2) { border-top: 1px solid var(--line); }
  .two { grid-template-columns: 1fr 1fr; }
}

/* Plans */
.plans { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 16px; }
.plan { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; }
.plan-top { border: 2px solid var(--wadi); box-shadow: var(--shadow-lg); }
.plan-soon { background: transparent; border-style: dashed; }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.plan-head h3 { font-size: 20px; line-height: 30px; font-weight: 600; }
.plan-badge { font-size: 13px; font-weight: 600; line-height: 20px; padding: 2px 10px; border-radius: var(--r-sm); background: var(--sand-soft); color: var(--sand-deep); }
.plan-top .plan-badge { background: var(--wadi-soft); color: var(--wadi); }
.price { margin-top: 12px; color: var(--ink-muted); font-size: 15px; }
.price b { font-size: 40px; line-height: 48px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.plan-meta { margin-top: 4px; font-size: 14px; line-height: 22px; color: var(--ink-muted); }
.plan ul { list-style: none; margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 15px; line-height: 24px; }
.plan li svg { width: 18px; height: 18px; margin-top: 3px; color: var(--wadi); }
.plan-notes { margin-top: 24px; display: grid; gap: 8px; font-size: 15px; line-height: 26px; color: var(--ink-muted); max-width: 52em; }
.plan-notes b { color: var(--ink); font-weight: 600; }
@media (min-width: 640px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .plans { grid-template-columns: repeat(4, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  .typing i { animation: none; opacity: 1; }
  .js .chat [data-step].on { animation: none; }
}

/* Privacy page */
.doc { max-width: 720px; margin: 0 auto; padding: 8px var(--gutter) 64px; }
.doc h1 { font-size: 32px; line-height: 48px; font-weight: 700; font-variation-settings: "HEXP" 40; }
.doc .meta { margin-top: 8px; font-size: 13px; line-height: 20px; color: var(--ink-muted); }
.doc .summary { margin-top: 24px; background: var(--wadi-soft); border-radius: var(--r-lg); padding: 20px 24px; }
.doc .summary ul { margin: 8px 0 0; padding-inline-start: 20px; }
.doc h2 { font-size: 20px; line-height: 30px; font-weight: 600; margin-top: 36px; }
.doc p, .doc ul, .doc table { margin-top: 10px; }
.doc ul { padding-inline-start: 22px; }
.doc li { margin-top: 6px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 24px; }
.doc th, .doc td { text-align: start; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.doc th { font-weight: 600; color: var(--ink-muted); font-size: 13px; line-height: 20px; }
.doc .switch { margin-top: 16px; font-size: 14px; }
.doc .en { direction: ltr; text-align: left; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line-strong); }
.tablewrap { overflow-x: auto; }
