/* Screevo website — one stylesheet for English (LTR) and Arabic (RTL).
   System fonts only: the site loads nothing from third parties. */
:root {
  --bg: #fbf8f9; --surface: #ffffff; --surface-2: #f3eef1; --stroke: #ebe3e7;
  --text: #16161a; --muted: #5f5f6b; --ruby: #ff2e63; --ember: #ff7a45; --gold: #8c6a2e;
  --brand: linear-gradient(135deg, var(--ruby), var(--ember));
  --radius: 22px; --shadow: 0 18px 50px -24px rgba(120, 10, 40, .35);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0b0b0e; --surface: #15151a; --surface-2: #1c1c23; --stroke: #2a2a33;
          --text: #f3f3f6; --muted: #a3a3ae; --gold: #e7c98c; --shadow: 0 18px 60px -24px rgba(255, 46, 99, .35); }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text);
       font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Arabic", Tahoma, sans-serif; }
[dir="rtl"] body { font-family: "Segoe UI", Tahoma, "Noto Sans Arabic", "Noto Naskh Arabic", system-ui, sans-serif; }
a { color: var(--ruby); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; backdrop-filter: saturate(1.4) blur(14px);
       background: color-mix(in srgb, var(--bg) 82%, transparent); border-bottom: 1px solid var(--stroke); }
.top .wrap { display: flex; align-items: center; gap: 12px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--text); letter-spacing: -.3px; }
.logo img { width: 34px; height: 34px; border-radius: 9px; }
.top nav { margin-inline-start: auto; display: flex; gap: 18px; font-size: 15px; font-weight: 600; }
.top nav a { color: var(--muted); }
.top nav a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 40px; }
.hero::before { content: ""; position: absolute; inset: -30% -10% auto auto; width: 70vw; height: 70vw; max-width: 760px; max-height: 760px;
                background: radial-gradient(closest-side, rgba(255, 46, 99, .28), transparent); filter: blur(10px); pointer-events: none; }
[dir="rtl"] .hero::before { inset: -30% auto auto -10%; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.badge { display: inline-block; padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--gold); color: var(--gold);
         font-weight: 700; font-size: 13px; letter-spacing: .06em; }
[dir="rtl"] .badge { letter-spacing: 0; }
h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.08; letter-spacing: -1.5px; margin: 18px 0 14px; }
[dir="rtl"] h1 { letter-spacing: 0; line-height: 1.25; }
.grad { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 19px; color: var(--muted); max-width: 34em; margin: 0 0 26px; }
.cta { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; background: var(--brand);
       color: #fff; font-weight: 800; font-size: 17px; box-shadow: var(--shadow); }
.cta:hover { text-decoration: none; filter: brightness(1.05); }
.cta svg { width: 22px; height: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { padding: 7px 14px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--stroke); font-size: 14px; font-weight: 600; }
.phone { justify-self: center; width: min(320px, 80vw); border-radius: 34px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--stroke); }

/* Sections */
section { padding: 56px 0; }
h2 { font-size: clamp(26px, 4vw, 36px); letter-spacing: -.6px; margin: 0 0 10px; }
[dir="rtl"] h2 { letter-spacing: 0; }
.sub { color: var(--muted); margin: 0 0 30px; max-width: 40em; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--stroke); border-radius: var(--radius); padding: 22px; }
.card .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 46, 99, .12);
            color: var(--ruby); font-size: 22px; margin-bottom: 12px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.shots img { border-radius: 18px; border: 1px solid var(--stroke); }
.free { background: var(--brand); color: #fff; border-radius: 28px; padding: 36px; text-align: center; }
.free h2 { color: #fff; }
.free p { margin: 0 auto; max-width: 38em; opacity: .95; }

/* Legal pages */
.doc { max-width: 780px; margin: 0 auto; padding: 44px 20px 80px; }
.doc h1 { font-size: clamp(30px, 5vw, 42px); }
.doc h2 { font-size: 22px; margin: 36px 0 10px; }
.doc h3 { font-size: 17px; margin: 22px 0 6px; }
.doc p, .doc li { color: var(--text); }
.doc .meta { color: var(--muted); font-size: 14px; }
.doc .box { background: var(--surface); border: 1px solid var(--stroke); border-radius: 18px; padding: 18px 20px; margin: 18px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.doc th, .doc td { text-align: start; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--stroke); }
.doc th { color: var(--muted); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
[dir="rtl"] .doc th { text-transform: none; letter-spacing: 0; }
.doc code { font-size: 13px; background: var(--surface-2); padding: 2px 6px; border-radius: 6px; }
.toc { columns: 2; gap: 24px; padding-inline-start: 18px; }

footer { border-top: 1px solid var(--stroke); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
footer .sp { margin-inline-start: auto; }

@media (max-width: 420px) {
  .top .wrap { gap: 16px; }
  .logo { font-size: 18px; }
  .logo img { width: 30px; height: 30px; }
  .badge { font-size: 11.5px; letter-spacing: .03em; padding: 5px 12px; }
}
@media (max-width: 860px) {
  .hero { padding-top: 40px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr 1fr; }
  .shots { grid-template-columns: 1fr 1fr; }
  .toc { columns: 1; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .top nav { gap: 12px; font-size: 14px; }
  .top nav .hide-sm { display: none; }
  .doc table, .doc thead, .doc tbody, .doc tr, .doc th, .doc td { display: block; }
  .doc thead { display: none; }
  .doc td { border: 0; padding: 4px 0; }
  .doc td:first-child { font-weight: 700; }
  .doc tr { border-bottom: 1px solid var(--stroke); padding: 10px 0; }
}
