/* Pasha Hesab - the introduction site. Same font and brand blue as the product itself; no script, no outside file. */
@font-face { font-family: 'IRANSans'; font-weight: 400; src: url('../fonts/IRANSans-Regular.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'IRANSans'; font-weight: 500; src: url('../fonts/IRANSans-Medium.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'IRANSans'; font-weight: 700; src: url('../fonts/IRANSans-Bold.woff2') format('woff2'); font-display: swap; }

:root {
  color-scheme: light dark;
  --primary: #4263eb;
  --primary-ink: #3451c9;          /* links and small text on light: 6.3:1 on white */
  --on-primary: #ffffff;
  --grad: linear-gradient(135deg, #4263eb 0%, #7048e8 100%);   /* the logo mark only, exactly as in the application */
  --bg: #f5f7fc;
  --surface: #ffffff;
  --surface-2: #eef1fb;
  --border: #dfe3f0;
  --text: #1c2540;
  --soft: #4d5873;                 /* secondary text: 6.8:1 on the page background */
  --ok: #0b7a4b;
  --h1-from: #3451c9;
  --h1-to: #0b7285;
  /* four soft tints (a background and the colour of the icon on it): one per kind of content, so a grid of cards is not one flat colour */
  --t1-bg: #e7ecff; --t1-fg: #3451c9;
  --t2-bg: #dff6f8; --t2-fg: #0b7285;
  --t3-bg: #efe9ff; --t3-fg: #5f3dc4;
  --t4-bg: #fff1d6; --t4-fg: #a24a07;
  /* the dark band that carries the security section */
  --band-bg: #0f1a40; --band-card: #172557; --band-border: #2b3c75; --band-text: #eef1ff; --band-soft: #b8c3e8; --band-icon-bg: #22346f; --band-ink: #8ce8d4;
  --mac-1: #ff6b6b; --mac-2: #fcc419; --mac-3: #51cf66;     /* the three dots of the sample window */
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 28px rgba(16, 24, 40, .08);
  --shadow-lift: 0 2px 4px rgba(16, 24, 40, .04), 0 26px 60px -20px rgba(52, 81, 201, .38);
  --radius: 1rem;
  --font: 'IRANSans', Tahoma, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --z-header: 50;
  --z-skip: 100;
}
@media (prefers-color-scheme: dark) {
  :root {
    --primary: #748ffc;
    --primary-ink: #a5b4fc;
    --on-primary: #0f1424;
    --bg: #0f1424;
    --surface: #172036;
    --surface-2: #1d2848;
    --border: #2a3558;
    --text: #e8ecf8;
    --soft: #aab5d3;
    --ok: #5ed39b;
    --h1-from: #91a7ff;
    --h1-to: #63e6be;
    --t1-bg: #1f2d63; --t1-fg: #a5b8ff;
    --t2-bg: #0f3a44; --t2-fg: #66d9e8;
    --t3-bg: #31245f; --t3-fg: #c0a8ff;
    --t4-bg: #4a3410; --t4-fg: #ffc875;
    --band-bg: #0a1030; --band-card: #121b3f; --band-border: #25326a; --band-text: #eef1ff; --band-soft: #b0bce3; --band-icon-bg: #1c2b5e; --band-ink: #8ce8d4;
    --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 8px 28px rgba(0, 0, 0, .3);
    --shadow-lift: 0 2px 4px rgba(0, 0, 0, .3), 0 26px 60px -20px rgba(0, 0, 0, .7);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.95; color: var(--text); background: var(--bg); overflow-wrap: break-word; }
img, svg { max-width: 100%; display: block; }
a { color: var(--primary-ink); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
a, button, summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
h1, h2, h3 { line-height: 1.5; margin: 0 0 .6rem; font-weight: 700; letter-spacing: 0; text-wrap: balance; }
p { margin: 0 0 1rem; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: .35rem; }
.skip { position: absolute; inset-inline-start: 1rem; top: -4rem; background: var(--surface); color: var(--text); padding: .6rem 1rem; border-radius: .6rem; box-shadow: var(--shadow); z-index: var(--z-skip); }
.skip:focus { top: 1rem; }
.wrap { width: min(100% - 2rem, 72rem); margin-inline: auto; }
section { padding-block: clamp(3.2rem, 7.5vw, 6rem); scroll-margin-top: 4.5rem; }

/* every line drawing on the page: one family, one stroke */
svg.i { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.hidden-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* one icon in a soft square; t1..t4 pick the tint */
.ico, .tico { display: grid; place-items: center; flex: none; background: var(--t1-bg); color: var(--t1-fg); }
.ico { width: 2.75rem; height: 2.75rem; border-radius: .85rem; }
.ico svg.i { width: 1.5rem; height: 1.5rem; }
.tico { width: 2.1rem; height: 2.1rem; border-radius: .65rem; }
.t1 { background: var(--t1-bg); color: var(--t1-fg); }
.t2 { background: var(--t2-bg); color: var(--t2-fg); }
.t3 { background: var(--t3-bg); color: var(--t3-fg); }
.t4 { background: var(--t4-bg); color: var(--t4-fg); }

/* ---------- section heads ---------- */
.kicker { display: inline-flex; align-items: center; gap: .55rem; font-size: .9rem; font-weight: 700; color: var(--primary-ink); margin-bottom: .5rem; }
.kicker::before { content: ""; width: 1.6rem; height: 2px; border-radius: 2px; background: currentColor; }
.lead { font-size: 1.125rem; color: var(--soft); max-width: 38rem; }
.sec-head { max-width: 46rem; margin-bottom: 2.4rem; }
.sec-head h2 { font-size: clamp(1.55rem, 3.2vw, 2.2rem); }
.sec-head p { color: var(--soft); margin: 0; }
.alt { background: var(--surface-2); border-block: 1px solid var(--border); }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: var(--z-header); background: color-mix(in srgb, var(--bg) 86%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.top .wrap { display: flex; align-items: center; gap: 1rem; min-height: 4rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.15rem; color: var(--text); text-decoration: none; }
.brand-mark { width: 2.3rem; height: 2.3rem; border-radius: .7rem; background: var(--grad); display: grid; place-items: center; color: #fff; box-shadow: 0 6px 14px -6px rgba(66, 99, 235, .7); }
.brand-mark svg.i { width: 1.35rem; height: 1.35rem; }
.nav-wide { display: none; margin-inline-start: auto; gap: .25rem; }
.nav-wide a, .nav-narrow a { color: var(--text); text-decoration: none; padding: .55rem .9rem; border-radius: .6rem; font-weight: 500; min-height: 2.75rem; display: inline-flex; align-items: center; transition: background-color .18s var(--ease), color .18s var(--ease); }
.nav-wide a:hover, .nav-narrow a:hover { background: var(--surface-2); color: var(--primary-ink); }
.top .btn { margin-inline-start: auto; }
.nav-narrow { position: relative; }
.nav-narrow summary { list-style: none; cursor: pointer; min-height: 2.75rem; min-width: 2.75rem; display: grid; place-items: center; border-radius: .6rem; border: 1px solid var(--border); background: var(--surface); }
.nav-narrow summary::-webkit-details-marker { display: none; }
.nav-narrow summary svg.i { width: 1.4rem; height: 1.4rem; }
.nav-narrow nav { position: absolute; inset-inline-end: 0; top: calc(100% + .5rem); min-width: 13rem; background: var(--surface); border: 1px solid var(--border); border-radius: .9rem; box-shadow: var(--shadow-lift); padding: .4rem; display: grid; }
@media (min-width: 60rem) { .nav-wide { display: flex; } .nav-narrow { display: none; } .top .btn { margin-inline-start: 0; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.9rem; padding: .55rem 1.35rem; border-radius: .8rem; font: inherit; font-weight: 700; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); }
.btn-lg { min-height: 3.2rem; padding-inline: 1.7rem; font-size: 1.02rem; }
.btn-primary { background: var(--primary); color: var(--on-primary); box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--primary) 85%, transparent); }
.btn-primary:hover { background: var(--primary-ink); box-shadow: 0 14px 26px -10px color-mix(in srgb, var(--primary) 90%, transparent); }
@media (prefers-color-scheme: dark) { .btn-primary:hover { background: #91a7ff; } }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary-ink); }
.btn:active { transform: translateY(1px); }
.btn svg.i { width: 1.2rem; height: 1.2rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: clip; padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(46rem 26rem at 90% -10%, color-mix(in srgb, var(--primary) 20%, transparent), transparent 70%),
              radial-gradient(34rem 22rem at 6% 10%, color-mix(in srgb, var(--h1-to) 14%, transparent), transparent 70%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(var(--border) 1.2px, transparent 1.5px); background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 78%); mask-image: linear-gradient(180deg, #000 0%, transparent 78%); }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-size: .9rem; font-weight: 500; color: var(--primary-ink); background: var(--surface); border: 1px solid var(--border); padding: .2rem 1rem; border-radius: 99rem; margin-bottom: 1.1rem; box-shadow: var(--shadow); }
.eyebrow .dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 20%, transparent); }
.hero h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.5; margin-bottom: 1.1rem; }
.hero h1 em { font-style: normal; white-space: nowrap; color: var(--primary-ink); background: linear-gradient(240deg, var(--h1-from) 10%, var(--h1-to) 90%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero .lead { margin-bottom: 1.6rem; }
.trust { display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; margin-top: 2rem; color: var(--soft); font-size: .94rem; }
.trust li { display: inline-flex; align-items: center; gap: .6rem; }
.trust .tico svg.i { width: 1.15rem; height: 1.15rem; }
@media (min-width: 62rem) { .hero-grid { grid-template-columns: 1.02fr .98fr; gap: 3rem; } }

/* the sample panel: pure HTML and CSS, no picture to download */
.hero-visual { position: relative; justify-self: center; width: 100%; max-width: 35rem; padding: .5rem .5rem 1.8rem; }
.mock { background: var(--surface); border: 1px solid var(--border); border-radius: 1.2rem; box-shadow: var(--shadow-lift); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: .4rem; padding: .65rem 1rem; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.mock-bar i { width: .7rem; height: .7rem; border-radius: 50%; }
.mock-bar i:nth-child(1) { background: var(--mac-1); }
.mock-bar i:nth-child(2) { background: var(--mac-2); }
.mock-bar i:nth-child(3) { background: var(--mac-3); }
.mock-title { margin-inline-start: .6rem; font-weight: 700; font-size: .85rem; }
.mock-tag { font-size: .75rem; line-height: 1.6; padding: 0 .65rem; border-radius: 99rem; background: var(--t4-bg); color: var(--t4-fg); font-weight: 500; }
.mock-body { display: grid; grid-template-columns: 8.4rem 1fr; min-height: 19rem; }
.mock-side { padding: .8rem .6rem; border-inline-end: 1px solid var(--border); background: color-mix(in srgb, var(--surface-2) 55%, var(--surface)); display: grid; align-content: start; gap: .2rem; }
.mock-side li { display: flex; align-items: center; gap: .5rem; padding: .35rem .6rem; border-radius: .6rem; font-size: .8rem; line-height: 1.6; color: var(--soft); }
.mock-side li.on { background: var(--t1-bg); color: var(--t1-fg); font-weight: 700; }
.mock-side svg.i { width: 1rem; height: 1rem; }
.mock-main { padding: .85rem; display: grid; gap: .75rem; align-content: start; min-width: 0; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.mock-stats > div { background: var(--surface-2); border-radius: .75rem; padding: .5rem .6rem; display: grid; gap: .1rem; line-height: 1.5; min-width: 0; }
.mock-stats span { font-size: .75rem; color: var(--soft); }
.mock-stats b { font-size: .92rem; white-space: nowrap; }
.mock-stats em { font-style: normal; font-size: .75rem; color: var(--soft); }
.mock-stats em.up, .mock-list em.ok { color: var(--ok); }
.mock-stats em.warn, .mock-list em.warn { color: var(--t4-fg); }
.mock-chart { background: var(--surface-2); border-radius: .85rem; padding: .6rem .8rem .5rem; }
.mock-cap { font-size: .8rem; font-weight: 700; margin-bottom: .3rem; }
.bars { display: flex; align-items: flex-end; gap: .45rem; height: 5.6rem; border-bottom: 1px solid var(--border); background: repeating-linear-gradient(180deg, transparent 0 1.3rem, color-mix(in srgb, var(--border) 70%, transparent) 1.3rem calc(1.3rem + 1px)); }
.bars span { flex: 1; border-radius: .35rem .35rem 0 0; background: linear-gradient(180deg, var(--primary), color-mix(in srgb, var(--primary) 40%, var(--surface-2))); }
.bars span:nth-child(1) { height: 42%; } .bars span:nth-child(2) { height: 66%; } .bars span:nth-child(3) { height: 52%; } .bars span:nth-child(4) { height: 84%; }
.bars span:nth-child(5) { height: 60%; } .bars span:nth-child(6) { height: 96%; background: linear-gradient(180deg, var(--h1-to), color-mix(in srgb, var(--h1-to) 40%, var(--surface-2))); } .bars span:nth-child(7) { height: 74%; }
.days { display: flex; gap: .45rem; font-size: .75rem; color: var(--soft); text-align: center; line-height: 1.7; }
.days span { flex: 1; }
.mock-list { display: grid; gap: .3rem; }
.mock-list li { display: flex; justify-content: space-between; align-items: center; gap: .5rem; font-size: .8rem; line-height: 1.6; padding: .3rem .6rem; border-radius: .6rem; border: 1px solid var(--border); }
.mock-list em { font-style: normal; font-size: .75rem; color: var(--soft); white-space: nowrap; }
.float { position: absolute; display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .9rem .4rem .75rem; background: var(--surface); border: 1px solid var(--border); border-radius: .9rem; box-shadow: var(--shadow-lift); font-size: .85rem; font-weight: 700; white-space: nowrap; }
.float .tico { width: 1.9rem; height: 1.9rem; }
.float .tico svg.i { width: 1.1rem; height: 1.1rem; }
.float-a { inset-inline-end: 0; bottom: 0; }
.float-b { inset-inline-end: .5rem; top: -.25rem; }
@media (max-width: 36rem) { .mock-body { grid-template-columns: 1fr; } .mock-side { display: none; } .float-b { display: none; } }

/* ---------- cards: the bento grid of features ---------- */
.bento { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) {
  .bento { grid-template-columns: repeat(12, 1fr); }
  .bento .card { grid-column: span 4; }
  .bento .b-wide:nth-child(1) { grid-column: span 7; }
  .bento .b-wide:nth-child(2) { grid-column: span 5; }
}
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem 1.5rem 1.3rem; box-shadow: var(--shadow); }
.card h3 { font-size: 1.1rem; display: flex; align-items: center; gap: .75rem; margin-bottom: .7rem; }
.card p { color: var(--soft); margin: 0; font-size: .97rem; }
.b-wide { display: flex; flex-direction: column; }
.b-wide p { margin-bottom: 1.2rem; }
.ledger { margin-top: auto; border: 1px solid var(--border); border-radius: .85rem; background: var(--surface-2); padding: .5rem .9rem .6rem; font-size: .8rem; line-height: 1.6; }
.lrow { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: .8rem; align-items: center; padding: .3rem 0; border-bottom: 1px dashed var(--border); }
.lhead { color: var(--soft); font-weight: 500; }
.lrow .sk { display: block; height: .55rem; border-radius: 99rem; background: color-mix(in srgb, var(--soft) 28%, transparent); }
.lrow:nth-child(2) .sk:first-child { width: 82%; } .lrow:nth-child(2) .sk:nth-child(2) { width: 70%; }
.lrow:nth-child(3) .sk:first-child { width: 64%; } .lrow:nth-child(3) .sk:last-child { width: 70%; }
.lok { display: flex; align-items: center; gap: .5rem; border-bottom: 0; padding-bottom: 0; color: var(--ok); font-weight: 700; }
.lok svg.i { width: 1.05rem; height: 1.05rem; stroke-width: 2.4; }
.flow { margin-top: auto; border: 1px solid var(--border); border-radius: .85rem; background: var(--surface-2); padding: .9rem 1.1rem; display: grid; }
.flow li { position: relative; padding: .3rem 1.9rem .3rem 0; padding-inline: 1.9rem 0; font-size: .92rem; font-weight: 500; line-height: 1.7; }
.flow li::before { content: ""; position: absolute; inset-inline-start: 0; top: .72rem; width: .8rem; height: .8rem; border-radius: 50%; border: 2px solid var(--t2-fg); background: var(--surface-2); }
.flow li:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: calc(.4rem - 1px); top: 1.55rem; bottom: -.55rem; width: 2px; background: color-mix(in srgb, var(--t2-fg) 40%, var(--border)); }
.flow li:last-child { color: var(--ok); font-weight: 700; }
.flow li:last-child::before { background: var(--ok); border-color: var(--ok); }

/* ---------- a head on one side, a list on the other ---------- */
.split { display: grid; gap: 2rem; }
.split .sec-head { margin-bottom: 0; }
@media (min-width: 62rem) { .split { grid-template-columns: minmax(16rem, 21rem) 1fr; gap: 4rem; align-items: start; } .sticky { position: sticky; top: 6rem; } }
.plist { counter-reset: p; display: grid; }
.plist li { counter-increment: p; display: flex; gap: 1.1rem; padding: 1.4rem 0; border-top: 1px solid var(--border); }
.plist li:first-child { border-top: 0; padding-top: 0; }
.pnum { width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--t1-bg); color: var(--t1-fg); font-weight: 700; font-size: 1.05rem; line-height: 1; }
.pnum::before { content: counter(p, persian); }
.plist h3 { font-size: 1.12rem; margin-bottom: .3rem; }
.plist p { color: var(--soft); margin: 0; }

/* ---------- module chips ---------- */
.mods { display: flex; flex-wrap: wrap; gap: .6rem; }
.mods li { display: inline-flex; align-items: center; gap: .55rem; background: var(--surface); border: 1px solid var(--border); border-radius: .75rem; padding: .35rem 1rem; font-weight: 500; line-height: 1.8; }
.mods li::before { content: ""; width: .42rem; height: .42rem; border-radius: 50%; background: var(--primary); }

/* ---------- the dark band: security ---------- */
.band { background: var(--band-bg); color: var(--band-text); border-block: 1px solid var(--band-border); }
.band .kicker { color: var(--band-ink); }
.band .sec-head p, .band .note { color: var(--band-soft); }
.tgrid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .tgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .tgrid { grid-template-columns: repeat(3, 1fr); } }
.tcard { background: var(--band-card); border: 1px solid var(--band-border); border-radius: var(--radius); padding: 1.5rem 1.5rem 1.3rem; }
.tcard h3 { font-size: 1.08rem; display: flex; align-items: center; gap: .75rem; margin-bottom: .7rem; color: var(--band-text); }
.tcard p { color: var(--band-soft); margin: 0; font-size: .97rem; }
.tcard .ico { background: var(--band-icon-bg); color: var(--band-ink); }
.note { font-size: .9rem; margin-top: 1.6rem; margin-bottom: 0; color: var(--soft); }

/* ---------- steps: a line runs through the three numbers ---------- */
.steps { display: grid; gap: 1.6rem 1.4rem; counter-reset: s; grid-template-columns: 1fr; }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(3, 1fr); } }
/* narrow: the number beside the text and the line running down; wide: the numbers in a row and the line running across */
.steps li { position: relative; counter-increment: s; display: grid; grid-template-columns: 3rem 1fr; column-gap: 1rem; align-content: start; }
.steps li::before { content: counter(s, persian); grid-row: 1 / span 2; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--primary); color: var(--on-primary); font-weight: 700; font-size: 1.15rem; line-height: 1; box-shadow: 0 0 0 6px color-mix(in srgb, var(--primary) 16%, transparent); }
.steps li:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: calc(1.5rem - 1px); top: 3.9rem; bottom: -1.3rem; border-inline-start: 2px dashed color-mix(in srgb, var(--primary) 45%, var(--border)); }
.steps h3 { font-size: 1.1rem; grid-column: 2; margin-top: .5rem; }
.steps p { grid-column: 2; color: var(--soft); margin: 0; font-size: .97rem; }
@media (min-width: 48rem) {
  .steps li { display: block; }
  .steps li::before { margin-bottom: 1rem; }
  .steps h3 { margin-top: 0; }
  .steps li:not(:last-child)::after { top: 1.5rem; bottom: auto; inset-inline-start: 4.1rem; inset-inline-end: -1.2rem; height: 0; border-inline-start: 0; border-top: 2px dashed color-mix(in srgb, var(--primary) 45%, var(--border)); }
}

/* ---------- price: until the prices are published, one box that says «get in touch» ---------- */
.price-box { display: grid; gap: 1.6rem; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 1.4rem; padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow); }
.price-box h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
.price-box p { color: var(--soft); margin: 0; max-width: 40rem; }
.price-cta { display: grid; justify-items: center; gap: .6rem; }
.mail { font-weight: 700; color: var(--primary-ink); text-decoration: none; font-size: 1.05rem; padding: .35rem .5rem; border-radius: .5rem; min-height: 2.75rem; display: inline-flex; align-items: center; }
.mail:hover { text-decoration: underline; }
@media (min-width: 52rem) { .price-box { grid-template-columns: 1fr auto; gap: 3rem; } .price-cta { padding-inline: 1rem; } }

/* ---------- faq ---------- */
.faq { display: grid; gap: .75rem; min-width: 0; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: .9rem; padding: .15rem 1.2rem; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.faq details[open] { border-color: color-mix(in srgb, var(--primary) 55%, var(--border)); box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 700; padding: .8rem 0; min-height: 2.75rem; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: .55rem; height: .55rem; border-inline-start: 2px solid var(--soft); border-bottom: 2px solid var(--soft); transform: rotate(45deg) translateY(-2px); transition: transform .2s var(--ease); }
.faq details[open] summary { color: var(--primary-ink); }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); border-color: var(--primary-ink); }
.faq summary:hover { color: var(--primary-ink); }
.faq p { color: var(--soft); padding-bottom: .9rem; margin: 0; }

/* ---------- call to action and footer ---------- */
.cta { text-align: center; }
.cta .box { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(135deg, #243aa8 0%, #3b5bdb 58%, #4263eb 100%); color: #fff; border-radius: 1.5rem; padding: clamp(2.4rem, 6vw, 4rem) 1.5rem; box-shadow: var(--shadow-lift); }
.cta .box::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(22rem 14rem at 12% 0%, rgba(255, 255, 255, .2), transparent 70%), radial-gradient(20rem 16rem at 96% 110%, rgba(99, 230, 190, .22), transparent 70%); }
.cta h2 { font-size: clamp(1.55rem, 3.4vw, 2.3rem); color: #fff; }
.cta p { color: rgba(255, 255, 255, .92); max-width: 38rem; margin-inline: auto; }
.cta .btn-row { justify-content: center; margin-top: 1.6rem; }
.cta .btn-primary { background: #fff; color: #2f43b3; box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .55); }
.cta .btn-primary:hover { background: #eef1ff; }
.foot { border-top: 1px solid var(--border); padding-block: 2.4rem; color: var(--soft); font-size: .93rem; }
.foot .wrap { display: grid; gap: 1.4rem 2rem; align-items: start; }
.foot-brand p { margin: .5rem 0 0; max-width: 24rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 .4rem; }
.foot nav a { color: var(--soft); text-decoration: none; min-height: 2.75rem; padding: .5rem .7rem; border-radius: .6rem; display: inline-flex; align-items: center; transition: background-color .18s var(--ease), color .18s var(--ease); }
.foot nav a:hover { background: var(--surface-2); color: var(--primary-ink); }
.copy { grid-column: 1 / -1; padding-top: 1.2rem; border-top: 1px solid var(--border); }
@media (min-width: 52rem) { .foot .wrap { grid-template-columns: 1fr auto; } .foot nav { justify-content: flex-end; } }
.foot nav a[aria-current="page"] { color: var(--primary-ink); font-weight: 700; }

/* ---------- a page of legal text (privacy): one readable column ---------- */
.legal-page { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.wrap.legal { width: min(100% - 2rem, 50rem); }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: .4rem; }
.legal-meta { color: var(--soft); font-size: .92rem; margin-bottom: 1.6rem; }
.legal .lead { max-width: none; }
.legal section { padding-block: 1.8rem 0; margin-top: 1.8rem; border-top: 1px solid var(--border); scroll-margin-top: 5rem; }
.legal h2 { font-size: 1.3rem; margin-bottom: .8rem; }
.legal ul { list-style: disc; padding-inline-start: 1.4rem; display: grid; gap: .55rem; margin-bottom: 1rem; }
.legal ul li::marker { color: var(--primary); }
.legal strong { font-weight: 700; }
.toc { background: var(--surface-2); border: 1px solid var(--border); border-radius: 1rem; padding: 1.1rem 1.4rem; margin-top: 1.6rem; }
.toc ol { list-style: persian; padding-inline-start: 1.6rem; display: grid; gap: .1rem 2rem; }
.toc a { text-decoration: none; display: inline-flex; min-height: 2.5rem; align-items: center; }
.toc a:hover { text-decoration: underline; }
@media (min-width: 40rem) { .toc ol { grid-template-columns: repeat(2, 1fr); } }
.legal-back { margin-top: 2.6rem; }
.page-404 { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.page-404 .lead { margin-inline: auto; }
.page-404 .btn-row { justify-content: center; }

/* ---------- motion: one gentle entrance and a small lift on scroll; both off when the person asks for less motion ---------- */
@keyframes rise { from { opacity: .4; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-copy > *, .hero-visual { animation: rise .55s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .06s; } .hero-copy > :nth-child(3) { animation-delay: .12s; } .hero-copy > :nth-child(4) { animation-delay: .18s; } .hero-copy > :nth-child(5) { animation-delay: .24s; }
.hero-visual { animation-delay: .15s; }
@supports (animation-timeline: view()) {
  @keyframes lift { from { opacity: .55; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  .bento .card, .tcard, .plist li, .steps li { animation: lift linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (forced-colors: active) { .hero h1 em { background: none; -webkit-text-fill-color: currentColor; color: CanvasText; } .btn, .card, .tcard, .mock { border: 1px solid CanvasText; } }
@media print { .top, .nav-narrow, .cta .btn-row, .skip, .hero-visual { display: none !important; } body { background: #fff; color: #000; } .card, .tcard, .band { box-shadow: none; background: #fff; color: #000; } .band .sec-head p, .band .note, .tcard h3, .tcard p { color: #000; } }
