@font-face { font-family: "Vazirmatn"; src: local("Vazirmatn"), url("/fonts/Vazirmatn-variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root { --ink:#0b2d52; --ink-2:#14406f; --blue:#0066ff; --sky:#00b4ff; --paper:#f4f7ff; --line:#dce5f5; --muted:#5a7190; --white:#fff; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: "Vazirmatn", Tahoma, "Segoe UI", sans-serif; color: var(--ink); background: var(--white); line-height: 1.9; font-size: 1.0625rem; }
a { color: var(--blue); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.wrap { width: min(70rem, 100% - 2rem); margin-inline: auto; }
h1, h2, h3 { line-height: 1.45; margin: 0; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; }
p { margin: 0; max-width: 62ch; }

/* بالای صفحه */
.top { background: var(--ink); color: #fff; }
.bar { display: flex; align-items: center; gap: 1rem; padding-block: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; color: #fff; font-weight: 800; font-size: 1.25rem; text-decoration: none; }
.brand img { width: 2.2rem; height: 2.2rem; }
.bar nav { margin-inline-start: auto; display: flex; gap: 1.25rem; align-items: center; }
.bar nav a { color: #bcd3ee; text-decoration: none; font-size: .95rem; }
.bar nav a:hover { color: #fff; }
.btn { display: inline-block; padding: .7rem 1.5rem; border-radius: .7rem; background: var(--sky); color: var(--ink); font-weight: 800; text-decoration: none; font-size: 1rem; }
.btn:hover { background: #33c3ff; }
.btn.ghost { background: transparent; color: #fff; border: 1.5px solid #5d86b4; }
.btn.ghost:hover { background: #14406f; }
.btn.solid { background: var(--blue); color: #fff; }
.btn.solid:hover { background: #0053d4; }

.hero { padding-block: clamp(2.5rem, 7vw, 5rem) clamp(3rem, 8vw, 6rem); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { font-size: clamp(2rem, 5.2vw, 3.3rem); font-weight: 800; letter-spacing: -.01em; }
.hero p { margin-top: 1.25rem; color: #cfe0f4; font-size: 1.15rem; }
.hero .cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }

/* تصویر اصلی: پیامک گوشی ← ردیف پنل */
.flow { display: grid; gap: 1rem; justify-items: stretch; }
.phone { background: #0a2543; border: 1.5px solid #29527f; border-radius: 1.6rem; padding: 1.1rem; max-width: 22rem; justify-self: start; width: 100%; }
.phone small { color: #8fb1d8; display: block; margin-bottom: .6rem; font-size: .8rem; }
.sms { background: #16395f; border-radius: 1rem 1rem 1rem .25rem; padding: .75rem .95rem; font-size: .9rem; line-height: 1.8; color: #e6f0fb; }
.sms b { color: #fff; display: block; font-size: .8rem; margin-bottom: .1rem; }
.sms + .sms { margin-top: .6rem; background: #1a4370; }
.arrow { justify-self: center; color: var(--sky); width: 2.2rem; height: 2.2rem; }
.row { background: #fff; color: var(--ink); border-radius: .9rem; padding: .9rem 1.1rem; display: grid; grid-template-columns: auto 1fr; gap: .2rem 1rem; align-items: center; max-width: 24rem; justify-self: end; width: 100%; }
.row .t { color: var(--muted); font-size: .85rem; grid-row: span 2; font-variant-numeric: tabular-nums; }
.row .amt { font-weight: 800; font-size: 1.2rem; }
.row .amt small { font-weight: 400; font-size: .8rem; color: var(--muted); }
.row .tag { font-size: .8rem; color: #0c8a5f; background: #e3f6ee; border-radius: 1rem; padding: 0 .6rem; justify-self: start; }

/* بخش‌ها */
section.s { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
section.s.alt { background: var(--paper); }
.s > .wrap > h2 { margin-bottom: 1.75rem; }
.feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1rem 3rem; padding-block: 1.5rem; border-top: 1px solid var(--line); }
.feat h3 { font-size: 1.2rem; font-weight: 800; }
.feat p { color: #2c4a6e; }
ol.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; counter-reset: s; }
ol.steps li { counter-increment: s; display: grid; grid-template-columns: 2.6rem 1fr; gap: 1rem; align-items: start; }
ol.steps li::before { content: counter(s, persian); width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; }
ol.steps b { display: block; font-size: 1.1rem; }
.note { border-inline-start: 4px solid var(--sky); padding: .25rem 1rem; color: #2c4a6e; }
.otp { margin-top: 1.25rem; display: inline-block; background: var(--ink); color: #e6f0fb; padding: .8rem 1.2rem; border-radius: 1rem 1rem 1rem .25rem; font-size: .95rem; }

footer { background: var(--ink); color: #bcd3ee; padding-block: 2rem; font-size: .95rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; }
footer a { color: #e6f0fb; text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .grow { margin-inline-start: auto; }

/* صفحه‌های متنی */
.doc { padding-block: 2.5rem 4rem; }
.doc h1 { font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 800; margin-bottom: .5rem; }
.doc .upd { color: var(--muted); margin-bottom: 2rem; font-size: .95rem; }
.doc h2 { font-size: 1.25rem; margin: 2rem 0 .5rem; }
.doc p, .doc li { max-width: 68ch; }
.doc ul { padding-inline-start: 1.4rem; }
.doc li { margin-block: .35rem; }
dl.contact { display: grid; grid-template-columns: max-content 1fr; gap: .6rem 1.5rem; margin: 1.5rem 0 0; }
dl.contact dt { font-weight: 800; }
dl.contact dd { margin: 0; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .feat { grid-template-columns: 1fr; gap: .4rem; }
  .bar nav a.hide-m { display: none; }
  .phone, .row { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
