/* Public site. Layout follows the quiet product-window language; colour comes from near-black and one blue light. */
@font-face { font-family: 'Vazirmatn'; src: url(vazirmatn-arabic-wght-normal.woff2) format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: 'Vazirmatn'; src: url(vazirmatn-latin-wght-normal.woff2) format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-200B, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215; }
:root {
  --bg: #05060a; --tint: #0c0e14; --tint-2: #151822; --tint-3: #20242f;
  --text: #eef1f8; --muted: #989fb2; --accent: #8fb2ff; --blue: #3567f0; --ice: #cfdfff; --bad: #ff8a80;
  --gut: clamp(16px, 4.8vw, 70px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-block-start: 84px; scrollbar-color: var(--tint-3) var(--bg); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.85 'Vazirmatn', system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, ul, dl, dd { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
::selection { background: color-mix(in srgb, var(--blue) 65%, transparent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; inset-inline-start: 12px; inset-block-start: -60px; z-index: 30; background: var(--text); color: var(--bg); padding: 8px 16px; border-radius: 999px; }
.skip:focus { inset-block-start: 12px; }

/* nav */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); }
.top-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 64px; padding-inline: var(--gut); }
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 18px; justify-self: start; }
.links { display: flex; gap: 32px; font-size: 15px; color: var(--muted); }
.links a { transition: color 0.2s var(--ease); }
.links a:hover { color: var(--text); }
.acts { display: flex; align-items: center; gap: 8px; justify-self: end; font-size: 15px; }
.signin { padding-inline: 10px; color: var(--text); }
.signin:hover { color: var(--accent); }

/* buttons */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 34px; padding: 0 16px; border: 0; border-radius: 999px; font: inherit; font-weight: 500; line-height: 1; cursor: pointer; background: var(--tint-2); color: var(--text); transition: background-color 0.2s var(--ease), transform 0.2s var(--ease); }
.pill:hover { background: var(--tint-3); }
.pill:active { transform: scale(0.98); }
.pill.main { background: var(--text); color: #0a0c12; }
.pill.main:hover { background: #fff; }
.pill.big { min-height: 46px; padding-inline: 24px; font-size: 16px; }
.pill svg { flex: none; transition: transform 0.25s var(--ease); }
.pill:hover svg, .more:hover svg { transform: translateX(-3px); }
.more { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); margin-block-start: 18px; font-size: 17px; }

/* hero */
.hero { padding: clamp(44px, 7vw, 92px) var(--gut) 0; }
.hero h1 { font-size: clamp(26px, 2.75vw, 38px); font-weight: 500; line-height: 1.45; max-width: 25em; text-wrap: balance; }
.hero h1 span { display: block; color: var(--muted); }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: 26px; }

/* the lit stage behind every product window */
.stage { position: relative; overflow: hidden; border-radius: 6px; isolation: isolate; background: #05060a; }
.stage::before, .stage::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.stage::before { background:
  radial-gradient(52% 62% at 10% 104%, #f4f8ff 0, #a9c4ff 16%, #3f70f2 40%, rgb(30 62 170 / 0.55) 62%, transparent 82%),
  radial-gradient(46% 44% at 100% 0, rgb(46 92 226 / 0.9), rgb(24 50 140 / 0.42) 52%, transparent 78%),
  radial-gradient(40% 40% at 90% 100%, rgb(30 66 180 / 0.55), transparent 76%); }
.stage::after { background: var(--grain); opacity: 0.09; mix-blend-mode: overlay; }
.stage.b::before { background:
  radial-gradient(70% 90% at 100% 100%, #dce8ff 0, #7ea2fb 15%, #2f5fe2 40%, rgb(22 48 136 / 0.5) 66%, transparent 86%),
  radial-gradient(50% 50% at 0 0, rgb(40 80 210 / 0.55), transparent 76%); }
.stage.c::before { background:
  radial-gradient(90% 62% at 50% 112%, #e6efff 0, #86a9fc 16%, #2c5be0 40%, rgb(20 44 130 / 0.5) 66%, transparent 88%); }
.stage.d::before { background:
  radial-gradient(72% 92% at 0 0, #c7d9ff 0, #5e88f5 16%, #274fd0 40%, rgb(20 44 130 / 0.46) 66%, transparent 88%),
  radial-gradient(44% 44% at 100% 100%, rgb(40 80 210 / 0.5), transparent 76%); }

.win { background: var(--tint); border-radius: 12px; overflow: hidden; box-shadow: 0 2px 6px rgb(0 0 0 / 0.3), 0 34px 80px -12px rgb(0 0 0 / 0.72); }
.win-bar { display: flex; align-items: center; justify-content: center; position: relative; height: 34px; background: var(--tint-2); font-size: 13px; color: var(--muted); }
.win-bar i { position: absolute; inset-inline-end: 12px; display: flex; gap: 6px; }
.win-bar i b { width: 9px; height: 9px; border-radius: 50%; background: var(--tint-3); }
.win img { width: 100%; }

.hero-stage { margin-block-start: clamp(34px, 4.4vw, 56px); padding: clamp(30px, 4vw, 54px) clamp(26px, 8vw, 118px) 0; height: clamp(520px, 56vw, 800px); }
.hero-win { animation: rise 1.1s var(--ease) both; }
.hero-phone { position: absolute; inset-inline-end: clamp(24px, 4vw, 60px); inset-block-end: -60px; width: clamp(190px, 19vw, 280px); animation: rise 1.1s var(--ease) 0.16s both; }
.hero-phone .win-bar { display: none; }
.hero-phone.win { border-radius: 22px; box-shadow: 0 2px 8px rgb(0 0 0 / 0.4), 0 40px 90px -8px rgb(0 0 0 / 0.85), 0 0 0 6px #151822; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); filter: blur(10px); } }

/* statement */
.say { padding: clamp(84px, 10vw, 150px) var(--gut); }
.say p { font-size: clamp(23px, 2.5vw, 34px); line-height: 1.6; max-width: 26em; font-weight: 500; text-wrap: pretty; }
.say p span { color: var(--muted); }

/* product rows */
.rows { display: flex; flex-direction: column; gap: 90px; padding-inline: var(--gut); }
.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: clamp(20px, 3vw, 46px); align-items: center; padding: 18px; background: var(--tint); border-radius: 8px; }
.row.flip { grid-template-columns: minmax(0, 8fr) minmax(0, 5fr); }
.row.flip .row-text { order: 2; }
.row-text { padding: clamp(10px, 2vw, 30px); }
.row-text h3, .row-text p { display: inline; font-size: clamp(20px, 1.75vw, 25px); line-height: 1.55; font-weight: 500; }
.row-text p { color: var(--muted); }
.row-text .more { display: flex; width: fit-content; }
.row .stage { height: clamp(420px, 42vw, 620px); padding: clamp(24px, 3.4vw, 48px) clamp(24px, 3.4vw, 48px) 0; }
.row .win { width: 100%; border-radius: 12px 12px 0 0; }

/* trust */
.calm { padding: clamp(90px, 11vw, 160px) var(--gut) 0; }
.h2 { font-size: clamp(25px, 2.5vw, 34px); font-weight: 500; line-height: 1.45; max-width: 24em; text-wrap: balance; }
.calm ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(26px, 4vw, 64px); margin-block-start: 44px; }
.calm h3 { font-size: 18px; font-weight: 600; margin-block-end: 6px; }
.calm p { color: var(--muted); }
.calm svg { color: var(--accent); margin-block-end: 14px; }

/* live kit cards: one wide + one tall, then three (cards are tint, demos sit on a lit stage) */
.kit { padding: clamp(90px, 11vw, 160px) var(--gut) 0; display: flex; flex-direction: column; gap: 14px; }
.kit .h2 { margin-block-end: 30px; }
.kit .h2 span { color: var(--muted); }
.kit-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 14px; }
.kit-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 14px; }
.kit-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.kit-col .kc-demo { min-height: 0; }
.kc { display: flex; flex-direction: column; gap: 20px; padding: 22px; background: var(--tint); border-radius: 8px; min-width: 0; }
.kc-text { max-width: 34em; }
.kc-text h3, .kc-text p { display: inline; font-size: 17px; line-height: 1.7; font-weight: 500; }
.kc-text p { color: var(--muted); }
.kc-demo { position: relative; flex: 1; display: grid; place-items: center; min-height: 300px; padding: clamp(40px, 3vw, 44px) clamp(14px, 2.4vw, 34px) clamp(18px, 2.4vw, 34px); border-radius: 6px; background: #080a10; overflow: hidden; isolation: isolate; }
.kc-demo::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.55;
  background: radial-gradient(80% 70% at 100% 100%, #7ea2fb 0, #2f5fe2 30%, rgb(22 48 136 / 0.4) 60%, transparent 82%); }
.kc.wide .kc-demo { min-height: 420px; }
.kc.wide .kc-demo::before { background: radial-gradient(70% 80% at 0 0, #7ea2fb 0, #2f5fe2 28%, rgb(22 48 136 / 0.4) 58%, transparent 82%); }
.kc.tall .kc-demo::before { background: radial-gradient(90% 60% at 50% 110%, #86a9fc 0, #2c5be0 30%, rgb(20 44 130 / 0.4) 60%, transparent 86%); }
.kit-col .kc-demo::before { opacity: 0.32; }
.kc-slot { width: 100%; max-width: 520px; opacity: 0; transform: translateY(8px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.kc-slot.on { opacity: 1; transform: none; }
.kit-col .kc-slot { max-width: 600px; }
.kc-tag { position: absolute; inset-block-start: 10px; inset-inline-end: 12px; padding: 1px 10px; border-radius: 999px; background: rgb(255 255 255 / 0.06); color: var(--muted); font-size: 12px; }

/* price */
.price { padding: clamp(90px, 11vw, 160px) var(--gut) 0; }
.price .lead { color: var(--muted); margin-block-start: 8px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-block-start: 36px; }
.plan { display: flex; flex-direction: column; padding: 26px; background: var(--tint); border-radius: 8px; }
.plan.lit { background: radial-gradient(120% 90% at 0 110%, rgb(53 103 240 / 0.5), transparent 70%), var(--tint-2); }
.plan h3 { font-size: 17px; font-weight: 500; color: var(--muted); }
.amount { font-size: 28px; font-weight: 500; line-height: 1.5; margin-block: 4px 20px; }
.amount small { font-size: 14px; color: var(--muted); font-weight: 400; }
.plan li { display: flex; align-items: flex-start; gap: 9px; padding-block: 5px; font-size: 15px; }
.plan li svg { flex: none; margin-block-start: 6px; color: var(--accent); }
.plan .pill { margin-block-start: auto; }
.plan ul { margin-block-end: 26px; }

/* faq */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: clamp(20px, 4vw, 60px); padding: clamp(90px, 11vw, 160px) var(--gut) 0; }
.faq details { background: var(--tint); border-radius: 8px; margin-block-end: 8px; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; cursor: pointer; font-weight: 500; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; color: var(--muted); transition: transform 0.3s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px; color: var(--muted); max-width: 62ch; }

/* closing: the same light, now the whole page */
.end { padding: clamp(90px, 11vw, 160px) var(--gut) 0; }
.end .stage { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: clamp(460px, 44vw, 640px); padding: 32px 20px; border-radius: 8px; }
.end .stage::before { background:
  radial-gradient(58% 58% at 88% 108%, #f7faff 0, #b5ccff 14%, #4a78f4 36%, rgb(30 62 170 / 0.52) 60%, transparent 82%),
  radial-gradient(34% 30% at 96% 0, rgb(46 92 226 / 0.62), transparent 76%); }
.end h2 { font-size: clamp(32px, 4.4vw, 60px); font-weight: 600; line-height: 1.3; }
.end p { font-size: clamp(17px, 1.6vw, 22px); margin-block: 8px 28px; color: #e2e8f6; }

/* foot */
.foot { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 32px; padding: 72px var(--gut) 40px; font-size: 15px; }
.foot h2 { font-size: 15px; font-weight: 500; color: var(--muted); margin-block-end: 10px; }
.foot li { padding-block: 3px; }
.foot li a:hover { color: var(--accent); }
.foot small { display: block; font-size: 14px; color: var(--muted); margin-block-start: 8px; }

/* side pages */
.page { max-width: 760px; padding: clamp(50px, 7vw, 92px) var(--gut) 0; margin-inline: auto; }
.page h1 { font-size: clamp(28px, 3vw, 38px); font-weight: 500; line-height: 1.45; margin-block-end: 18px; }
.page h2 { font-size: 20px; font-weight: 600; margin-block: 34px 8px; }
.page p, .page li { color: #c3c9d8; }
.page p + p { margin-block-start: 12px; }
.page ul { display: flex; flex-direction: column; gap: 6px; }
.page a:not(.pill) { color: var(--accent); }
.sub { color: var(--muted) !important; font-size: 14px; }
.form { display: flex; flex-direction: column; gap: 14px; margin-block-start: 26px; }
.form label { display: flex; flex-direction: column; gap: 5px; font-size: 14px; color: var(--muted); }
.form input, .form textarea { width: 100%; padding: 11px 14px; border: 0; border-radius: 10px; background: var(--tint-2); color: var(--text); font: inherit; caret-color: var(--accent); }
.form textarea { min-height: 110px; resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: #80879a; }
.form .ltr { direction: ltr; text-align: right; }
.form .pill { align-self: flex-start; }
.trap { position: absolute !important; inset-inline-start: -9999px; }
.note { padding: 14px 18px; border-radius: 10px; background: var(--tint-2); margin-block-start: 22px; }
.note.err { color: var(--bad); }
.note.ok { background: rgb(53 103 240 / 0.26); color: var(--text); }

.only-m { display: none; }

@media (max-width: 900px) {
  .links { display: none; }
  .top-in { grid-template-columns: 1fr auto; }
  .row, .row.flip { grid-template-columns: minmax(0, 1fr); padding: 10px; }
  .row.flip .row-text { order: 0; }
  .rows { gap: 22px; }
  .row-text { padding: 12px 10px 4px; }
  .plans, .calm ul, .faq, .kit-top, .kit-row { grid-template-columns: minmax(0, 1fr); }
  .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .only-d { display: none; }
  .only-m { display: block; }
  .hero-stage { height: 560px; padding: 34px 0 0; display: flex; justify-content: center; }
  .hero-stage .hero-phone { position: static; width: min(72vw, 290px); }
  .row .stage, .row.flip .stage { height: 440px; padding: 26px 0 0; display: flex; justify-content: center; }
  .row .win, .row.flip .win { width: min(76vw, 290px); margin: 0; border-radius: 18px; }
  .row .win-bar { display: none; }
  .signin { padding-inline: 6px; }
  .acts .pill { padding-inline: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .kc-slot { transition: none; transform: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
