/* rokh.id — the public site. Same type and colours as the product: Vazirmatn, Rokh teal. */
@font-face { font-family: "Vazirmatn"; src: url("/static/fonts/Vazirmatn.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
:root {
  --ground: #14181f; --surface: #1b2029; --outline: #2a313c; --text: #f6f4ef; --muted: #a7adb6; --subtle: #7f8792;
  --teal: #19a3a0; --teal-ink: #5ad0c3; --teal-deep: #127e7c; --on-teal: #0b1013;
  --font: "Vazirmatn", "Noto Sans Arabic", "Segoe UI", Tahoma, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--ground); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.8; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; min-height: 100dvh; display: flex; flex-direction: column; }
a { color: var(--teal-ink); text-decoration: none; }
a:hover { color: #7ee3d6; }
main { flex: 1; width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1080px; margin: 0 auto; padding: 18px 20px; }
.wordmark { display: inline-flex; align-items: center; gap: 2px; color: var(--text); font-weight: 800; font-size: 30px; line-height: 1; letter-spacing: -0.04em; }
.wordmark:hover { color: var(--text); }
.ring { width: 0.76em; height: 0.76em; color: var(--teal); margin: 0 0.02em; flex: none; transform: translateY(-0.11em); }
.ring.small { width: 1em; height: 1em; vertical-align: -0.15em; transform: none; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--text); }
.nav .button { color: var(--on-teal); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 22px; border-radius: 14px; font-weight: 650; font-size: 16px; background: var(--teal); color: var(--on-teal); transition: background-color .15s ease, color .15s ease; }
.button:hover { background: #3fd1cc; color: var(--on-teal); }
.button.primary { min-height: 54px; padding: 12px 28px; font-size: 17px; }
.button.ghost { background: transparent; color: var(--text); border: 1px solid var(--outline); }
.button.ghost:hover { background: var(--surface); color: var(--text); }

.hero { padding: 44px 0 36px; }
.kicker { margin: 0 0 10px; color: var(--teal-ink); font-weight: 650; font-size: 15px; letter-spacing: 0.02em; }
h1 { margin: 0 0 16px; font-size: clamp(30px, 5.2vw, 48px); line-height: 1.35; font-weight: 800; }
.lead { max-width: 720px; margin: 0 0 26px; font-size: 19px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 26px; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0; padding: 0; color: var(--muted); font-size: 15px; }
.facts li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); margin-inline-end: 10px; vertical-align: middle; }

.block { padding: 36px 0; border-top: 1px solid var(--outline); }
h2 { margin: 0 0 22px; font-size: clamp(24px, 3.4vw, 32px); line-height: 1.4; font-weight: 750; }
h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; line-height: 1.5; }
p { margin: 0; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); counter-reset: step; }
.steps li { position: relative; padding: 22px 22px 22px; border: 1px solid var(--outline); border-radius: 18px; background: var(--surface); }
.steps .num { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: 12px; border-radius: 12px; background: #163533; color: var(--teal-ink); font-weight: 800; font-size: 18px; }
.steps p { color: var(--muted); font-size: 16px; }

.cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(228px, 1fr)); }
.card { padding: 22px; border: 1px solid var(--outline); border-radius: 18px; background: var(--surface); }
.card .icon { width: 30px; height: 30px; color: var(--teal); margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 16px; }
.note { margin-top: 22px; padding: 16px 18px; border-radius: 14px; background: #163533; color: #cfeeea; font-size: 15px; }

.list { margin: 0 0 24px; padding: 0 22px 0 0; display: grid; gap: 10px; color: var(--muted); font-size: 16px; }
.list strong { color: var(--text); font-weight: 700; }

.foot { border-top: 1px solid var(--outline); padding: 22px 20px 34px; text-align: center; color: var(--subtle); font-size: 13px; line-height: 1.9; }
.foot p { margin: 0; }
.foot .ring { color: var(--teal); }
.foot .en { letter-spacing: 0.04em; }

@media (max-width: 720px) {
  .top { flex-wrap: wrap; }
  .nav { width: 100%; justify-content: space-between; gap: 12px; font-size: 14px; }
  .nav a:not(.button) { display: none; }
  .hero { padding-top: 24px; }
  .actions .button { width: 100%; }
  .list { padding-right: 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* forms (signup) and narrow pages */
.narrow { max-width: 760px; }
.form { display: grid; gap: 16px; }
.form .row.two { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.form label { display: grid; gap: 6px; font-size: 15px; font-weight: 600; color: var(--text); }
.form .req { color: var(--teal-ink); font-weight: 400; }
.form input, .form select, .form textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--outline); border-radius: 12px; background: var(--surface); color: var(--text); font: inherit; font-weight: 400; }
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.form .hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form .fine { color: var(--subtle); font-size: 13px; }
.form .actions { margin: 4px 0 0; }
.status { min-height: 1.6em; color: var(--muted); font-size: 15px; }
.status.is-error { color: #f2a5a5; }
.done { padding: 26px; border: 1px solid var(--outline); border-radius: 18px; background: var(--surface); }
.done h2 { margin-bottom: 10px; }
.done p { color: var(--muted); margin-bottom: 18px; }
@media (max-width: 720px) { .form .row.two { grid-template-columns: 1fr; } }
