/* abrdesk landing: one stylesheet for fa (RTL) and en (LTR). Mobile first. */
@font-face {
  font-family: "Vazirmatn";
  src: url("/fonts/Vazirmatn.woff2") format("woff2-variations"), url("/fonts/Vazirmatn.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --bg-soft: #f5f6fb;
  --card: #ffffff;
  --text: #14161f;
  --muted: #545a6e;
  --line: #e2e4ee;
  --accent: #4f46e5;
  --accent-text: #ffffff;
  --accent-soft: #eceafd;
  --focus: #f59e0b;
  --radius: 14px;
  --max: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1017;
    --bg-soft: #151824;
    --card: #191c2a;
    --text: #eceef6;
    --muted: #a3a8bd;
    --line: #2a2e40;
    --accent: #8b85ff;
    --accent-text: #0e1017;
    --accent-soft: #23214a;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Vazirmatn", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.75;
}
:lang(en) body, body:lang(en) { line-height: 1.6; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 16px; }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--accent); color: var(--accent-text); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { top: 8px; }

/* Header */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.15rem; margin-inline-end: auto; }
.brand svg { width: 30px; height: 30px; }
.lang { color: var(--muted); text-decoration: none; font-size: .95rem; padding: 6px 8px; }
.lang:hover { color: var(--text); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 18px; border-radius: 10px; font-weight: 700; text-decoration: none; border: 1px solid transparent; font-size: 1rem; }
.btn-primary { background: var(--accent); color: var(--accent-text); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); }
.btn-sm { min-height: 40px; padding: 6px 14px; font-size: .95rem; }

/* Hero */
.hero { padding-block: 40px 32px; }
.hero .wrap { display: grid; gap: 32px; align-items: center; }
.hero h1 { font-size: clamp(1.75rem, 6vw, 2.75rem); line-height: 1.35; margin: 0 0 12px; font-weight: 800; }
.hero p.lead { font-size: 1.1rem; color: var(--muted); margin: 0 0 24px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.note { color: var(--muted); font-size: .9rem; margin-top: 12px; }

.shot { width: 100%; }
.shot .frame { fill: var(--card); stroke: var(--line); }
.shot .bar { fill: var(--bg-soft); }
.shot .dot { fill: var(--line); }
.shot .url { fill: var(--bg); stroke: var(--line); }
.shot .url-t { fill: var(--muted); font: 600 13px "Vazirmatn", sans-serif; }

/* Sections */
section { padding-block: 48px; }
section.alt { background: var(--bg-soft); }
h2 { font-size: clamp(1.4rem, 4.5vw, 1.9rem); line-height: 1.4; margin: 0 0 8px; font-weight: 800; }
.sub { color: var(--muted); margin: 0 0 28px; max-width: 40em; }

.grid { display: grid; gap: 16px; grid-template-columns: 1fr; padding: 0; margin: 0; list-style: none; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card h3 { margin: 0 0 6px; font-size: 1.1rem; font-weight: 700; }
.card p { margin: 0; color: var(--muted); }
.ico { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 12px; }
.ico svg { width: 22px; height: 22px; }

/* Tiers */
.tier .spec { font-size: 1.25rem; font-weight: 800; margin: 4px 0 8px; color: var(--text); }
.tier .price { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-weight: 700; color: var(--text); }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* Contact */
.contact { text-align: center; }
.contact .cta { justify-content: center; }
.contact .sub { margin-inline: auto; }

footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; padding-block: 24px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
footer a { color: var(--muted); }

@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .hero { padding-block: 72px 56px; }
  .hero .wrap { grid-template-columns: 1fr 1.1fr; gap: 48px; }
  .grid.three { grid-template-columns: repeat(3, 1fr); }
  .grid.four { grid-template-columns: repeat(4, 1fr); }
  section { padding-block: 72px; }
}
