/* corax.ir landing (next). One world: CORAX ink + blue, saffron only for "free forever". */
@font-face { font-family: "Estedad"; src: url("/fonts/estedad-arabic-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Estedad"; src: url("/fonts/estedad-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Vazirmatn"; src: url("/fonts/vazirmatn-arabic-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Vazirmatn"; src: url("/fonts/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+2000-206F, U+20AC, U+2122, U+2212; }

:root {
  --ink: #0f1633;
  --ink-2: #414a70;
  --muted: #5a6386;
  --line: #e3e7f3;
  --ground: #f6f7fb;
  --paper: #ffffff;
  --blue: #2340c8;
  --blue-ink: #1a31a6;
  --blue-wash: #eef1ff;
  --saffron: #ffc21a;
  --saffron-ink: #3d2c00;
  --night: #0a1030;
  --night-2: #121a44;
  --night-line: #26306a;
  --on-night: #eef0ff;
  --on-night-2: #b3bbe3;
  --green: #0b7a55;
  --green-wash: #def5ec;
  --red-ink: #8b1e1e;
  --red-wash: #fde8e8;
  --display: "Estedad", "Vazirmatn", Tahoma, sans-serif;
  --body: "Vazirmatn", Tahoma, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --shadow-lift: 0 2px 4px rgba(15, 22, 51, 0.06), 0 24px 60px -24px rgba(15, 22, 51, 0.28);
  --shadow-deep: 0 2px 6px rgba(15, 22, 51, 0.08), 0 50px 100px -40px rgba(15, 22, 51, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.9; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--blue-ink); }
::selection { background: var(--saffron); color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 10px; }
input, button { font: inherit; color: inherit; }
input { caret-color: var(--blue); }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; color: #fff; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 14px; border: 1.5px solid transparent; font-family: var(--display); font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color 160ms ease, border-color 160ms ease, transform 160ms var(--ease-out); }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-ink); color: #fff; }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-quiet:hover { border-color: var(--blue); color: var(--blue); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; color: #fff; }
.btn-light { background: #fff; color: var(--blue-ink); }
.btn-light:hover { background: var(--blue-wash); color: var(--blue-ink); }

/* Top bar */
.top { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, 0.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color 200ms ease; }
.top[data-scrolled] { border-bottom-color: var(--line); }
.top-row { display: flex; align-items: center; gap: 36px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; direction: ltr; }
.brand svg { width: 32px; height: 34px; --mark: var(--ink); }
.brand b { font: 900 20px/1 var(--display); letter-spacing: 0.12em; }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15.5px; font-weight: 500; }
.nav a:hover { color: var(--blue); }
.top-end { margin-inline-start: auto; display: flex; gap: 10px; align-items: center; }
.top-end .btn { min-height: 44px; padding: 0 20px; font-size: 15px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; align-items: center; justify-content: center; cursor: pointer; }
.mnav { display: none; }
.mnav[data-open] { display: flex; flex-direction: column; padding: 4px 0 16px; }
.mnav a { padding: 12px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }

/* Shared section rhythm */
.sec { padding: 120px 0; }
.sec-head { display: flex; flex-direction: column; gap: 14px; max-width: 640px; margin-bottom: 48px; }
.sec h2 { font-size: clamp(1.9rem, 3.4vw, 2.85rem); font-weight: 850; line-height: 1.32; }
.lead { color: var(--ink-2); font-size: 18px; }

/* Line → page */
.transform { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: center; }
.transform ul { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.transform li { display: flex; gap: 12px; color: var(--ink-2); }
.transform li .ico { color: var(--blue); margin-top: 6px; }
.transform li b { color: var(--ink); }
.tf-visual { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
.typed { align-self: flex-start; display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 22px; background: var(--paper); border: 1.5px dashed #c7cfe8; border-radius: 16px; font-size: 16px; }
.typed .empty { width: 44px; height: 44px; border-radius: 10px; border: 1.5px dashed #c7cfe8; display: grid; place-items: center; color: var(--muted); }
.typed .price { color: var(--muted); }
.flow { align-self: flex-start; margin-inline-start: 40px; height: 56px; display: flex; align-items: center; gap: 10px; color: var(--blue); font: 700 13px var(--display); }
.flow::before { content: ""; width: 2px; height: 100%; background: linear-gradient(var(--line), var(--blue)); }
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lift); }
.product-img { position: relative; background: radial-gradient(circle at 50% 42%, #e8fbf3 0%, #cdeee0 70%); display: grid; place-items: center; min-height: 320px; }
.product-img img { width: 72%; filter: drop-shadow(0 24px 24px rgba(11, 60, 40, 0.25)); }
.tag-ai { position: absolute; inset-inline-start: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 11.5px/1.6 var(--display); }
.tag-ai .ico { width: 12px; height: 12px; }
.product-body { padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.crumbs { font-size: 13px; color: var(--muted); }
.product-body h3 { font-size: 22px; font-weight: 800; line-height: 1.5; }
.product-body .p-price { font: 800 20px var(--display); }
.product-body .p-desc { color: var(--ink-2); font-size: 15px; line-height: 2; }
.product-body .p-desc mark { background: none; color: inherit; box-shadow: inset 0 -0.45em 0 #fff1c2; }
.product-body .btn { align-self: flex-start; margin-top: 6px; min-height: 46px; }

/* CORAX AI command */
.night { background: var(--night); color: var(--on-night); position: relative; overflow: hidden; }
.night h2 { color: #fff; }
.night .lead { color: var(--on-night-2); }
.cmd { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.cmd-copy { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 110px; }
.prompts { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.prompt { display: flex; align-items: center; gap: 12px; width: 100%; text-align: start; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--night-line); background: transparent; color: var(--on-night-2); cursor: pointer; transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease; }
.prompt:hover { border-color: #3a4590; color: #fff; }
.prompt[aria-pressed="true"] { background: var(--night-2); border-color: #4b5cc4; color: #fff; }
.prompt .ico { color: var(--saffron); }
.prompt span { display: flex; flex-direction: column; line-height: 1.6; }
.prompt small { font-size: 12.5px; color: var(--on-night-2); }
.console { background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.6); }
.bubble-me { align-self: flex-start; max-width: 85%; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 16px 16px 16px 4px; font-size: 15.5px; }
.bubble-ai { align-self: stretch; background: #fff; color: var(--ink); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.bubble-ai .who { display: flex; align-items: center; gap: 8px; font: 800 12.5px var(--display); color: var(--blue); justify-content: flex-start; }
.bubble-ai .who .spark { width: 24px; height: 24px; }
.bubble-ai .who .spark .ico { width: 12px; height: 12px; }
.kv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.kv div { background: var(--ground); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; line-height: 1.6; }
.kv small { color: var(--muted); font-size: 12.5px; }
.kv b { font: 800 18px var(--display); }
.acts { display: flex; gap: 8px; flex-wrap: wrap; }
.acts .btn { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.stock { list-style: none; margin: 0; padding: 0; }
.stock li { display: flex; justify-content: space-between; padding: 9px 0; border-top: 1px solid var(--line); font-size: 15px; }
.stock li:first-child { border-top: 0; }
.stock b { color: var(--red-ink); font-weight: 700; }
.banner-shot { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.banner-shot img { width: 100%; height: 230px; object-fit: cover; object-position: 50% 8%; }
.pane[hidden] { display: none; }
.pane { display: flex; flex-direction: column; gap: 16px; animation: pane-in 320ms var(--ease-out); }
@keyframes pane-in { from { opacity: 0; transform: translateY(8px); } }
.trust-line { margin-top: 56px; display: flex; align-items: center; gap: 16px; padding-top: 28px; border-top: 1px solid var(--night-line); }
.trust-line .ico { width: 28px; height: 28px; color: var(--saffron); }
.trust-line b { font: 700 19px/1.7 var(--display); color: #fff; }

/* Channels */
.channels { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: center; }
.ch-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ch-list li { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.ch-list .name { font: 800 18px var(--display); }
.ch-list p { color: var(--ink-2); font-size: 15.5px; line-height: 1.85; }
.plan { font-size: 12.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; background: var(--blue-wash); color: var(--blue-ink); }
.plan.soon { background: var(--ground); color: var(--muted); border: 1px dashed #c7cfe8; }
.plan.all { background: var(--green-wash); color: var(--green); }
.ch-visual { position: relative; display: flex; justify-content: center; }
.ch-phone { width: min(320px, 100%); border-radius: 36px; border: 8px solid var(--ink); overflow: hidden; box-shadow: var(--shadow-deep); }
.ch-phone img { width: 100%; aspect-ratio: 390 / 700; object-fit: cover; object-position: top; }
.post { position: absolute; inset-inline-start: 0; bottom: 40px; width: 250px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 12px; box-shadow: var(--shadow-lift); display: flex; flex-direction: column; gap: 8px; }
.post-head { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.post-head i { width: 26px; height: 26px; border-radius: 50%; background: #2bb673; display: block; }
.post img { border-radius: 10px; aspect-ratio: 16 / 10; object-fit: contain; background: #e8fbf3; }
.post b { font-size: 14px; }
.post .buy { display: flex; justify-content: center; padding: 6px; border-radius: 10px; background: var(--blue-wash); color: var(--blue-ink); font-size: 13px; font-weight: 700; }

/* Analytics */
.ground { background: var(--ground); }
.stats-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-lift); display: flex; flex-direction: column; gap: 18px; }
.sp-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sp-head b { font: 800 17px var(--display); }
.seg { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--ground); font-size: 12.5px; }
.seg span { padding: 2px 12px; border-radius: 999px; color: var(--muted); }
.seg span:first-child { background: #fff; color: var(--ink); font-weight: 700; box-shadow: 0 1px 2px rgba(15,22,51,.08); }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 140px; }
.bars i { flex: 1; background: #d6dcf3; border-radius: 6px 6px 0 0; }
.bars i:last-child { background: var(--blue); }
.sp-table { display: grid; grid-template-columns: minmax(0, 1fr) 70px 70px; font-size: 14.5px; }
.sp-table > * { padding: 9px 0; border-top: 1px solid var(--line); }
.sp-table .h { color: var(--muted); font-size: 12.5px; border-top: 0; padding-top: 0; }
.sp-table .zero { color: var(--red-ink); font-weight: 700; }
.sp-tip { background: #fff8e1; border-radius: 12px; padding: 10px 14px; font-size: 13.5px; color: var(--saffron-ink); }
.searches { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; }
.searches span { padding: 2px 10px; border-radius: 999px; background: var(--ground); border: 1px solid var(--line); }
.searches .miss { background: var(--red-wash); border-color: #f4c3c3; color: var(--red-ink); }
.searches small { color: var(--muted); }
.checks { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; color: var(--ink-2); }
.checks li { display: flex; gap: 10px; }
.checks .ico { color: var(--green); stroke-width: 2.4; width: 18px; height: 18px; margin-top: 7px; }

/* Free forever: the one saffron field */
.free { background: var(--saffron); color: var(--ink); }
.free-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: center; padding: 96px 0; }
.free h2 { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 900; line-height: 1.15; }
.free p { font-size: 19px; margin-top: 18px; max-width: 34ch; color: #2d2408; }
.free-list { list-style: none; margin: 0; padding: 26px 28px; background: rgba(255, 255, 255, 0.55); border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 12px; font-weight: 600; }
.free-list li { display: flex; gap: 10px; align-items: flex-start; }
.free-list .ico { width: 18px; height: 18px; stroke-width: 2.4; margin-top: 7px; }
.free-list li.off { color: #6b5717; font-weight: 500; }
.free .btn { margin-top: 30px; }

/* Everything else */
.feat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 48px; }
.feat div { padding: 26px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.feat dt { font: 800 17.5px var(--display); display: flex; gap: 10px; align-items: center; }
.feat dt .ico { color: var(--blue); }
.feat dd { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.9; }

/* Templates */
.tpl-row { display: grid; grid-auto-flow: column; grid-auto-columns: min(420px, 78%); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 24px 26px; margin-inline: -24px; scrollbar-width: thin; scrollbar-color: #c7cfe8 transparent; }
.tpl-row figure { margin: 0; scroll-snap-align: start; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: 0 1px 2px rgba(15,22,51,.05), 0 20px 40px -26px rgba(15,22,51,.3); }
.tpl-row img { width: 100%; aspect-ratio: 1440 / 900; object-fit: cover; object-position: top; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; counter-reset: s; }
.steps li { display: flex; flex-direction: column; gap: 8px; counter-increment: s; }
.steps li::before { content: counter(s, persian); font: 900 44px/1 var(--display); color: var(--blue); }
.steps b { font: 800 19px var(--display); }
.steps p { color: var(--ink-2); font-size: 15.5px; }

/* Pricing */
.pricing { background: var(--night); color: var(--on-night); }
.pricing h2 { color: #fff; }
.pricing .lead { color: var(--on-night-2); }
.period { display: inline-flex; padding: 5px; gap: 4px; border-radius: 14px; background: var(--night-2); border: 1px solid var(--night-line); }
.period button { border: 0; background: transparent; color: var(--on-night-2); padding: 0 18px; min-height: 42px; border-radius: 10px; cursor: pointer; font-family: var(--display); font-weight: 600; font-size: 15px; }
.period button[aria-pressed="true"] { background: #fff; color: var(--ink); font-weight: 800; }
.plans { margin-top: 36px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan-card { position: relative; border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 12px; background: var(--night-2); border: 1px solid var(--night-line); }
.plan-card.hi { background: #fff; color: var(--ink); border: 2px solid var(--saffron); }
.plan-card .badge { position: absolute; top: -13px; inset-inline-start: 22px; background: var(--saffron); color: var(--ink); border-radius: 999px; padding: 2px 14px; font-size: 13px; font-weight: 800; }
.plan-card .pname { font: 850 22px var(--display); }
.plan-card .tagline { font-size: 14.5px; color: var(--on-night-2); min-height: 52px; line-height: 1.8; }
.plan-card.hi .tagline { color: var(--ink-2); }
.plan-card .price { display: flex; flex-direction: column; min-height: 78px; justify-content: flex-end; }
.plan-card s { font-size: 14.5px; color: var(--on-night-2); }
.plan-card.hi s { color: var(--muted); }
.plan-card .amount { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.plan-card .amount b { font: 900 32px/1.25 var(--display); }
.plan-card .amount small { font-size: 13.5px; opacity: .8; }
.plan-card .launch { font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 0 9px; background: var(--night-line); color: #ffd24f; align-self: flex-start; }
.plan-card.hi .launch { background: #fff4d1; color: #6b4a00; }
.plan-card .btn { min-height: 48px; }
.plan-card .btn-out { border-color: #3a4590; color: #fff; background: transparent; }
.plan-card .btn-out:hover { border-color: #fff; color: #fff; }
.plan-card ul { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; line-height: 1.75; }
.plan-card li { display: flex; gap: 10px; align-items: flex-start; }
.plan-card li .ico { width: 16px; height: 16px; margin-top: 6px; stroke-width: 2.4; color: var(--saffron); }
.plan-card.hi li .ico { color: var(--green); }
.plan-card li.no { opacity: .55; }
.plan-card li.no .ico { color: currentColor; stroke-width: 2; }
.price-notes { margin-top: 26px; text-align: center; font-size: 14px; color: var(--on-night-2); display: flex; flex-direction: column; gap: 2px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font: 700 17px/1.7 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 30px; height: 30px; border-radius: 50%; background: var(--blue-wash); color: var(--blue); display: grid; place-items: center; flex: none; transition: transform 240ms var(--ease-out), background-color 160ms ease, color 160ms ease; }
.faq summary .pm .ico { width: 16px; height: 16px; }
.faq details[open] .pm { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 62ch; }

/* Final CTA */
.final { padding: 0 0 120px; }
.final-box { background: var(--blue); color: #fff; border-radius: 36px; padding: 72px 64px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.final-box::after { content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; background: var(--saffron); inset-inline-end: -120px; bottom: -200px; }
.final-box > * { position: relative; z-index: 1; }
.final-box h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 900; line-height: 1.3; }
.final-box p { color: #dfe5ff; font-size: 18px; margin-top: 10px; }
.final-box .acts { gap: 12px; }
.final-box .btn { min-height: 58px; padding: 0 30px; font-size: 17px; }
.btn-onblue { color: #fff; border-color: rgba(255, 255, 255, 0.5); background: transparent; }
.btn-onblue:hover { border-color: #fff; color: #fff; }

/* Footer */
.foot { background: var(--night); color: var(--on-night-2); padding: 64px 0 28px; font-size: 15px; }
.foot-grid { display: flex; flex-wrap: wrap; gap: 36px 64px; }
.foot-brand { flex: 1.6 1 280px; display: flex; flex-direction: column; gap: 14px; }
.foot .brand { color: #fff; }
.foot .brand svg { --mark: #fff; }
.foot nav { flex: 1 1 150px; display: flex; flex-direction: column; gap: 10px; }
.foot nav b { color: #fff; font-family: var(--display); }
.foot a { color: var(--on-night-2); text-decoration: none; }
.foot a:hover { color: #fff; }
.enamad { width: 104px; height: 116px; border-radius: 14px; background: #fff; color: var(--muted); display: grid; place-items: center; font-size: 12px; text-align: center; padding: 8px; }
.foot-end { margin-top: 40px; border-top: 1px solid var(--night-line); padding-top: 22px; display: flex; justify-content: space-between; font-size: 13.5px; color: #8e97c4; }

/* Responsive */
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ai-card { inset-inline-end: 12px; top: 56px; width: 250px; }
  .phone { inset-inline-start: 12px; width: 160px; }
}
@media (max-width: 860px) {
  body { font-size: 16.5px; }
  .wrap { width: min(1200px, 100% - 32px); }
  .sec { padding: 80px 0; }
  .hero { padding-top: 40px; }
  .builder { padding: 16px; border-radius: 22px; }
  .builder-row { flex-direction: column; }
  .builder .btn { width: 100%; }
  .transform, .cmd, .channels, .faq-grid, .free-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .cmd-copy { position: static; }
  .product { grid-template-columns: minmax(0, 1fr); }
  .product-img { min-height: 240px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .final-box { grid-template-columns: minmax(0, 1fr); padding: 48px 24px; border-radius: 28px; }
  .free-grid { padding: 72px 0; }
  .top-end .login { display: none; }
  .ch-list li { grid-template-columns: minmax(0, 1fr) auto; }
  .ch-list li p { grid-column: 1 / -1; }
  .console { min-height: 0; }
}
@media (max-width: 600px) {
  .plans, .feat { grid-template-columns: minmax(0, 1fr); }
  .stage { margin-top: 32px; }
  .stage { display: flex; flex-direction: column; align-items: center; }
  .browser { display: none; }
  .ai-card { position: relative; inset: auto; width: 100%; margin: 0 0 18px; }
  .phone { position: relative; inset: auto; width: min(290px, 82%); border-radius: 34px 34px 0 0; }
  .phone .pshot { aspect-ratio: 390 / 640; }
  .kv { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .post { display: none; }
  .top-end .btn-primary { padding: 0 14px; }
  .types .more { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* Hero */
.hero { padding: 72px 0 24px; background: radial-gradient(1200px 500px at 15% 10%, #eef1ff 0%, rgba(238,241,255,0) 60%), #fff; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero h1 { font-size: clamp(2.2rem, 3.9vw, 3.6rem); font-weight: 900; line-height: 1.22; text-wrap: balance; }
.hero h1 .ai { color: var(--blue); direction: ltr; unicode-bidi: isolate; white-space: nowrap; }
.sub { color: var(--ink-2); font-size: 18.5px; max-width: 34em; text-wrap: pretty; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; color: var(--muted); }
.trust li { display: flex; align-items: center; gap: 7px; }
.trust .ico { color: var(--green); width: 16px; height: 16px; }
.trust b { color: var(--ink); }

/* Demo: authored at 600 x 540 and scaled to the column by hero.js */
.demo { position: relative; width: 100%; height: calc(var(--h, 540px) * var(--s, 1)); }
.stage { position: absolute; top: 0; inset-inline-start: 0; width: 600px; height: 540px; transform: scale(var(--s, 1)); transform-origin: top right; font-family: var(--body); }
.stage svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.store { position: absolute; top: 0; inset-inline-start: 0; width: 450px; height: 500px; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: 0 2px 6px rgba(15,22,51,.06), 0 40px 80px -36px rgba(15,22,51,.42); }
.bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: var(--ground); border-bottom: 1px solid var(--line); }
.bar i { width: 9px; height: 9px; border-radius: 50%; background: #d5dbec; }
.addr { margin-inline: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 7px; padding: 0 10px; line-height: 20px; }
.addr svg { color: var(--green); font-size: 10px; }

.s-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px 8px; }
.s-logo { display: flex; align-items: center; gap: 7px; font: 800 14px var(--display); color: var(--pharm); white-space: nowrap; }
.s-mark { width: 26px; height: 26px; border-radius: 8px; background: var(--pharm); color: #fff; display: grid; place-items: center; font-size: 13px; }
.s-search { flex: 1; font-size: 11px; color: #9aa1bd; border: 1px solid var(--line); border-radius: 999px; padding: 0 12px; line-height: 28px; }
.s-cart { position: relative; font-size: 18px; color: var(--ink); display: grid; place-items: center; width: 30px; height: 30px; }
.s-cart em { position: absolute; top: -3px; inset-inline-end: -4px; min-width: 16px; height: 16px; border-radius: 999px; background: #e0585b; color: #fff; font: 700 10px/16px var(--body); font-style: normal; text-align: center; transform: scale(0); transition: transform 300ms var(--ease); }
.s-nav { display: flex; gap: 6px; padding: 0 16px 10px; border-bottom: 1px solid var(--line); }
.cat { font-size: 11px; padding: 1px 10px; border-radius: 999px; background: var(--pharm-wash); color: var(--pharm); white-space: nowrap; }
.s-banner { margin: 12px 16px 0; height: 128px; border-radius: 16px; background: var(--pharm); color: #fff; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; overflow: hidden; }
.b-copy { display: flex; flex-direction: column; gap: 2px; }
.b-copy b { font: 800 17px/1.5 var(--display); }
.b-copy span { font-size: 11px; color: #cfe9de; }
.b-copy i { font-style: normal; align-self: flex-start; margin-top: 6px; font-size: 11px; background: #fff; color: var(--pharm); border-radius: 999px; padding: 0 12px; line-height: 24px; font-weight: 700; }
.b-img { display: flex; align-items: flex-end; height: 100%; padding-top: 14px; }
.b-img img { width: 96px; height: 108px; object-fit: contain; filter: drop-shadow(0 12px 12px rgba(0,0,0,.3)); margin-inline-start: -10px; }
.s-title { font: 800 13px var(--display); padding: 12px 16px 6px; }
.s-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 0 16px; }
.card { border: 1px solid var(--line); border-radius: 12px; padding: 6px; display: flex; flex-direction: column; gap: 3px; background: #fff; }
.c-img { position: relative; height: 82px; border-radius: 8px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.c-img img { height: 80px; width: 80px; object-fit: contain; }
.card b { font-size: 10.5px; font-weight: 700; line-height: 1.6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.desc { display: flex; flex-direction: column; gap: 3px; }
.desc i { height: 4px; border-radius: 4px; background: #dfe4f2; transform-origin: right; }
.desc i:last-child { width: 70%; }
.card em { font: 800 11px var(--display); font-style: normal; }
.card em small { font-weight: 500; font-size: 9px; color: var(--muted); }
.ai-tag { position: absolute; bottom: 4px; inset-inline-start: 4px; display: inline-flex; align-items: center; gap: 3px; font: 700 8.5px/1.7 var(--display); background: var(--ink); color: #fff; border-radius: 999px; padding: 0 6px; }
.ai-tag svg { font-size: 8px; }

.chat { position: absolute; top: 96px; inset-inline-end: 0; width: 230px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.me { align-self: stretch; background: var(--blue); color: #fff; font-size: 14px; line-height: 1.75; padding: 10px 14px; border-radius: 16px 16px 16px 4px; box-shadow: 0 20px 40px -18px rgba(35,64,200,.6); min-height: 46px; }
.caret { display: inline-block; width: 2px; height: 1em; background: #fff; vertical-align: -2px; margin-inline-start: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.bot { align-self: stretch; display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px; box-shadow: 0 2px 4px rgba(15,22,51,.05), 0 24px 50px -24px rgba(15,22,51,.35); }
.spark { width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 14px; }
.bot-body { display: flex; flex-direction: column; gap: 4px; }
.bot-body b { font: 800 12px/1.6 var(--display); color: var(--blue); }
.step { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); }
.step svg { color: var(--green); font-size: 14px; stroke-width: 2.6; }

.toast { position: absolute; bottom: 0; inset-inline-end: 30px; width: 270px; display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 12px 14px; box-shadow: 0 2px 4px rgba(15,22,51,.06), 0 30px 60px -24px rgba(15,22,51,.4); }
.t-ico { width: 38px; height: 38px; flex: none; border-radius: 12px; background: var(--green-wash); color: var(--green); display: grid; place-items: center; font-size: 19px; }
.t-body { display: flex; flex-direction: column; line-height: 1.6; }
.t-body b { font: 800 14px var(--display); }
.t-body small { font-size: 12px; color: var(--muted); }

/* Compact stage for phones: 400 x 600, two product cards, the chat over the banner. */
.stage.compact { width: 400px; height: 600px; }
.compact .store { width: 400px; height: 520px; }
.compact .s-nav .cat:nth-child(n+4) { display: none; }
.compact .s-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.compact .card:nth-child(n+3) { display: none; }
.compact .c-img { height: 120px; }
.compact .c-img img { width: 116px; height: 116px; }
.compact .card b { font-size: 13px; }
.compact .card em { font-size: 13px; }
.compact .s-banner { height: 118px; }
.compact .b-img img { width: 84px; }
.compact .chat { top: 118px; width: 236px; }
.compact .toast { inset-inline-end: 0; bottom: 0; }

/* Timeline. Every piece has a resting (visible) state; the hidden states only apply while the demo is playing. */
.stage > *, .s-head > *, .cat, .s-banner, .s-title, .card, .bot, .step, .ai-tag, .desc i { transition: opacity 500ms var(--ease), transform 600ms var(--ease), filter 500ms var(--ease); }
.stage.play .s-logo, .stage.play .cat, .stage.play .s-banner, .stage.play .s-title, .stage.play .card, .stage.play .bot, .stage.play .step, .stage.play .toast, .stage.play .ai-tag { opacity: 0; }
.stage.play .cat { transform: translateY(6px); }
.stage.play .s-banner { transform: translateY(14px) scale(.98); filter: blur(4px); }
.stage.play .card { transform: translateY(14px); }
.stage.play .desc i { transform: scaleX(0); }
.stage.play .bot { transform: translateY(10px); }
.stage.play .step { transform: translateX(6px); }
.stage.play .toast { transform: translateY(24px) scale(.96); }
.stage.play .ai-tag { transform: scale(.6); }
.stage.play .c-img img { opacity: 0; transition: opacity 500ms var(--ease); }

.stage[data-p="1"] .bot, .stage[data-p="1"] .s1, .stage[data-p="1"] .s-logo, .stage[data-p="1"] .cat,
.stage[data-p="2"] :is(.bot, .s1, .s-logo, .cat, .s-banner, .s-title),
.stage[data-p="3"] :is(.bot, .s1, .s2, .s-logo, .cat, .s-banner, .s-title, .card),
.stage[data-p="4"] :is(.bot, .s1, .s2, .s3, .s-logo, .cat, .s-banner, .s-title, .card, .ai-tag),
.stage[data-p="5"] :is(.bot, .s1, .s2, .s3, .s-logo, .cat, .s-banner, .s-title, .card, .ai-tag, .toast) { opacity: 1; transform: none; filter: none; }
.stage[data-p="3"] .desc i, .stage[data-p="4"] .desc i, .stage[data-p="5"] .desc i { transform: none; }
.stage[data-p="3"] .c-img img, .stage[data-p="4"] .c-img img, .stage[data-p="5"] .c-img img { opacity: 1; }
.stage[data-p="5"] .s-cart em { transform: scale(1); }
.stage.out { opacity: 0; transition: opacity 500ms ease; }

.cat:nth-child(2) { transition-delay: 70ms; } .cat:nth-child(3) { transition-delay: 140ms; } .cat:nth-child(4) { transition-delay: 210ms; } .cat:nth-child(5) { transition-delay: 280ms; }
.card:nth-child(2), .card:nth-child(2) * { transition-delay: 150ms; } .card:nth-child(3), .card:nth-child(3) * { transition-delay: 300ms; } .card:nth-child(4), .card:nth-child(4) * { transition-delay: 450ms; }
.card .desc i { transition-delay: 350ms; }
.s2 { transition-delay: 0ms; }

@media (max-width: 1080px) { .nav { display: none; } }
@media (max-width: 900px) {
  .hero { padding: 40px 0 64px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  
  .top-end .login { display: none; }
  .sub { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .stage *, .stage { transition: none !important; animation: none !important; }
}

/* Merchants */
.mr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.mr { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--ground); }
.mr img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.mr-wide { grid-column: 1 / -1; }
.mr-wide img { aspect-ratio: 1536 / 640; object-position: 30% 35%; }
.mr figcaption { position: absolute; inset-inline-start: 0; bottom: 0; padding: 22px 24px; display: flex; flex-direction: column; gap: 2px; color: #fff; background: linear-gradient(0deg, rgba(10,16,48,.72), rgba(10,16,48,0)); inset-inline-end: 0; }
.mr figcaption b { font: 850 22px/1.5 var(--display); }
.mr figcaption span { font-size: 15.5px; color: #e4e8ff; }
.mr-wide figcaption { inset-inline-end: auto; inset-block: 0; justify-content: center; width: 44%; background: none; color: var(--ink); padding: 40px; }
.mr-wide figcaption b { font-size: 30px; }
.mr-wide figcaption span { color: var(--ink-2); font-size: 17px; }
.mr-ui { position: absolute; inset-inline-start: 40px; bottom: 36px; display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 12px 16px; box-shadow: var(--shadow-lift); }
.mr-ui b { display: block; font: 800 15px/1.5 var(--display); } .mr-ui small { color: var(--muted); font-size: 13px; }
.t-ico { width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--green-wash); color: var(--green); display: grid; place-items: center; }

/* Product photo in the line→page card */
.product-img.photo { background: #eef0ea; }
.product-img.photo img { width: 100%; height: 100%; object-fit: cover; filter: none; position: absolute; inset: 0; }

/* AI-made banner, drawn over a photo so the Persian copy stays crisp */
.banner-made { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 7; background: #ece9f2; }
.banner-made img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 60%; }
.bm-copy { position: absolute; inset-block: 0; inset-inline-start: 0; width: 52%; display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 0 22px; background: linear-gradient(270deg, rgba(255,255,255,.95) 55%, rgba(255,255,255,0)); }
.bm-copy b { font: 900 24px/1.4 var(--display); color: var(--blue); }
.bm-copy span { font-size: 13.5px; color: var(--ink-2); }
.bm-copy i { font-style: normal; align-self: flex-start; margin-top: 8px; background: var(--blue); color: #fff; font: 700 13px/30px var(--display); padding: 0 14px; border-radius: 999px; }

/* Channel phone, drawn in HTML */
.ch-visual { position: relative; display: flex; justify-content: center; padding-bottom: 30px; }
.phone-ui { width: min(320px, 100%); border-radius: 36px; border: 8px solid var(--ink); background: #e9edf6; overflow: hidden; box-shadow: var(--shadow-deep); }
.pu-head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 12px; background: #fff; border-bottom: 1px solid var(--line); }
.pu-av { width: 36px; height: 36px; border-radius: 50%; background: var(--pharm, #1d3557); color: #fff; display: grid; place-items: center; font: 800 15px var(--display); }
.pu-head b { display: block; font: 800 14.5px/1.5 var(--display); } .pu-head small { color: var(--muted); font-size: 12px; }
.pu-feed { padding: 14px 12px 18px; display: flex; flex-direction: column; gap: 10px; }
.pu-post { background: #fff; border-radius: 16px 16px 16px 4px; padding: 8px; display: flex; flex-direction: column; gap: 4px; box-shadow: 0 1px 2px rgba(15,22,51,.06); }
.pu-post img { border-radius: 10px; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.pu-post b { font-size: 14px; line-height: 1.7; padding: 0 4px; }
.pu-post span { font-size: 12.5px; color: var(--ink-2); padding: 0 4px; }
.pu-post em { font: 800 13.5px var(--display); font-style: normal; padding: 0 4px; }
.pu-buy { margin-top: 4px; text-align: center; background: var(--blue-wash); color: var(--blue-ink) !important; font-weight: 700; border-radius: 10px; padding: 6px !important; }
.pu-post.small { flex-direction: row; align-items: center; gap: 10px; } .pu-post.small img { width: 64px; aspect-ratio: 1; }
.pu-toast { position: absolute; inset-inline-start: 0; bottom: 0; display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 10px 14px; box-shadow: var(--shadow-lift); }
.pu-toast b { display: block; font: 800 14px/1.5 var(--display); } .pu-toast small { color: var(--muted); font-size: 12.5px; }

/* Categories */
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.cat-card { margin: 0; border-radius: var(--r-md); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.cat-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cat-card figcaption { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 2px; }
.cat-card b { font: 800 17px/1.6 var(--display); } .cat-card span { font-size: 13.5px; color: var(--muted); }
.cat-more { margin-top: 22px; color: var(--ink-2); }

/* Free band side */
.free-side { display: flex; flex-direction: column; gap: 16px; }
.free-photo { border-radius: var(--r-lg); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }

@media (max-width: 1080px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .mr-grid { grid-template-columns: minmax(0, 1fr); }
  .mr-wide img { aspect-ratio: 3 / 2; object-position: 20% 30%; }
  .mr-wide figcaption { position: static; width: auto; padding: 18px 4px 6px; }
  .mr-wide { background: none; }
  .mr-wide img { border-radius: var(--r-lg); }
  .mr-ui { inset-inline-start: 16px; bottom: auto; top: 16px; }
  .bm-copy b { font-size: 19px; }
}
@media (max-width: 600px) { .cat-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; } .cat-card span { display: none; } }
:root { --pharm: #1d3557; --pharm-wash: #eaf0f8; --ease: cubic-bezier(0.23, 1, 0.32, 1); }
.nw { white-space: nowrap; direction: ltr; unicode-bidi: isolate; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; }

/* Headlines break only where the copy says so */
.ln { display: inline-block; white-space: nowrap; }
.sec h2 { font-size: clamp(1.8rem, 2.9vw, 2.6rem); }
.lead, .hero .sub, .mr figcaption span, .sec-head p { text-wrap: balance; }
.pu-s { display: flex; flex-direction: column; gap: 2px; }
.pu-s b, .pu-s em { white-space: nowrap; }
@media (max-width: 600px) { .ln { white-space: normal; display: inline; } }

/* CORAX AI showcase: the three places merchants meet it, drawn in the dashboard's own look */
.ais-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.ais-tab { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px; border-radius: 16px; border: 1px solid var(--night-line); background: transparent; color: var(--on-night-2); cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 15.5px; transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease; }
.ais-tab:hover { color: #fff; border-color: #3a4590; }
.ais-tab[aria-selected="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.ais-tab .ico { width: 20px; height: 20px; stroke-width: 1.9; }
.ais-tab small { font-family: var(--body); font-weight: 500; font-size: 12.5px; opacity: .75; }
.ais-panel[hidden] { display: none; }
.ais-panel { animation: pane-in 320ms var(--ease-out); }
.ais-cap { margin-top: 16px; color: var(--on-night-2); font-size: 15.5px; }

/* the dashboard frame */
.dash { --cs-bg: #f0f1f4; --cs-line: #e7e9ee; --cs-muted: #727887; --cs-ink: #24262d; --cs-green: #3f5e44; --cs-sage: #e9eee5;
  display: grid; grid-template-columns: 190px minmax(0, 1fr) 300px; min-height: 470px; border-radius: 24px; overflow: hidden; background: var(--cs-bg); color: var(--cs-ink); box-shadow: 0 50px 100px -40px rgba(0,0,0,.6); font-size: 14px; }
.d-side { background: #fff; border-inline-end: 1px solid var(--cs-line); padding: 18px 12px; display: flex; flex-direction: column; gap: 4px; }
.d-brand { display: flex; align-items: center; gap: 8px; font: 900 15px var(--display); letter-spacing: .1em; padding: 0 8px 14px; direction: ltr; justify-content: flex-end; }
.d-brand svg { width: 22px; height: 24px; }
.d-item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; color: var(--cs-muted); font-size: 13.5px; }
.d-item .ico { width: 17px; height: 17px; stroke-width: 1.8; }
.d-item.on { background: var(--cs-ink); color: #fff; }
.d-main { padding: 20px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.d-title { font: 800 18px var(--display); }
.d-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.d-kpi { background: #fff; border: 1px solid var(--cs-line); border-radius: 18px; padding: 12px 14px; display: flex; flex-direction: column; }
.d-kpi small { color: var(--cs-muted); font-size: 12px; }
.d-kpi b { font: 800 19px/1.6 var(--display); }
.d-kpi em { font-style: normal; font-size: 11.5px; color: var(--cs-green); }
.d-card { background: #fff; border: 1px solid var(--cs-line); border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.d-card b { font: 800 14px var(--display); margin-bottom: 4px; }
.d-row { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-top: 1px solid var(--cs-line); font-size: 13px; }
.d-row:first-of-type { border-top: 0; }
.d-row span:last-child { color: var(--cs-muted); }
.d-pill { font-size: 11.5px; border-radius: 999px; padding: 0 9px; background: #fff4d6; color: #7a5300; }
.d-pill.ok { background: #e2f3e5; color: #2c6a3a; }
.d-ai { background: var(--cs-green); color: #eef3ea; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.d-ai-head { display: flex; align-items: center; gap: 8px; font: 800 13px var(--display); }
.d-ai-head .spark { width: 28px; height: 28px; background: #c9f27d; color: #24262d; }
.d-ai-head .spark .ico { width: 14px; height: 14px; }
.m-me { align-self: flex-end; background: rgba(255,255,255,.14); padding: 9px 12px; border-radius: 14px 14px 4px 14px; font-size: 13px; max-width: 92%; }
.m-ai { background: #fff; color: var(--cs-ink); border-radius: 14px; padding: 12px; font-size: 13px; display: flex; flex-direction: column; gap: 8px; line-height: 1.8; }
.m-ai .acts { display: flex; gap: 6px; }
.m-ai .acts span { font: 700 12px/30px var(--display); padding: 0 12px; border-radius: 999px; background: var(--cs-ink); color: #fff; }
.m-ai .acts span + span { background: #fff; color: var(--cs-ink); border: 1px solid var(--cs-line); }
.d-input { margin-top: auto; background: rgba(255,255,255,.12); border-radius: 14px; padding: 10px 12px; font-size: 12.5px; color: #cfdccb; display: flex; justify-content: space-between; align-items: center; }
.d-input .ico { width: 16px; height: 16px; }

/* studio */
.studio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; background: #fff; border-radius: 24px; padding: 18px; color: var(--ink); box-shadow: 0 50px 100px -40px rgba(0,0,0,.6); }
.st-col { display: flex; flex-direction: column; gap: 10px; }
.st-col > b { font: 800 15px var(--display); }
.st-img { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--ground); }
.st-img img { width: 100%; height: 100%; object-fit: cover; }
.st-img.raw img { filter: saturate(.5) brightness(.72) contrast(.82) sepia(.35) blur(.6px); transform: rotate(-6deg) scale(1.22); }
.st-img .tag-ai { inset-inline-start: 12px; bottom: 12px; }
.st-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.st-chips span { font-size: 12.5px; padding: 3px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--ground); }
.st-chips span.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.st-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 14px; font-size: 13.5px; color: var(--ink-2); }
.st-foot .btn { min-height: 42px; padding: 0 18px; font-size: 14px; }

/* banner studio */
.bstudio { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 16px; background: #fff; border-radius: 24px; padding: 18px; color: var(--ink); box-shadow: 0 50px 100px -40px rgba(0,0,0,.6); }
.bs-form { display: flex; flex-direction: column; gap: 12px; }
.bs-field { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: var(--muted); }
.bs-field span { border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; font-size: 14px; color: var(--ink); background: #fff; }
.bs-sizes { display: flex; gap: 6px; flex-wrap: wrap; }
.bs-sizes span { font-size: 12px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); }
.bs-sizes span.on { background: var(--blue); color: #fff; border-color: var(--blue); }
.bs-prev { display: flex; flex-direction: column; gap: 10px; }
.bs-prev .banner-made { aspect-ratio: 16 / 6.5; border-radius: 16px; }
.bs-prev .bm-copy b { font-size: 30px; }
.bs-mobile { display: flex; gap: 10px; align-items: flex-end; }
.bs-mobile .banner-made { width: 46%; aspect-ratio: 4 / 3; }
.bs-mobile .banner-made .bm-copy { width: 70%; }
.bs-mobile .banner-made .bm-copy b { font-size: 17px; }
.bs-mobile small { color: var(--muted); font-size: 12.5px; }

@media (max-width: 1080px) { .dash { grid-template-columns: minmax(0, 1fr) 280px; } .d-side { display: none; } }
@media (max-width: 760px) {
  .dash { grid-template-columns: minmax(0, 1fr); } .d-main { display: none; } .d-ai { min-height: 420px; }
  .studio, .bstudio { grid-template-columns: minmax(0, 1fr); }
  .ais-tab small { display: none; }
}
.cat-card.tpl img { aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
/* Audit fixes: caption contrast on light photos, 12px floor for small labels */
.mr:not(.mr-wide) figcaption { background: linear-gradient(0deg, rgba(10,16,48,.88) 0%, rgba(10,16,48,.62) 55%, rgba(10,16,48,0) 100%); padding-top: 64px; }
.mr:not(.mr-wide) figcaption b, .mr:not(.mr-wide) figcaption span { text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.tag-ai, .plan-card .launch, .searches small, .searches span { font-size: 12px; }
/* Channel logos next to their names */
.lg { width: 22px; height: 22px; object-fit: contain; flex: none; vertical-align: -5px; }
.ch-list .name { display: flex; align-items: center; gap: 8px; }
.lgs { display: inline-flex; gap: 2px; }
.lgs .lg { width: 26px; height: 26px; }
.pu-ch { display: flex; align-items: center; gap: 4px; }
.pu-ch .lg { width: 14px; height: 14px; }
.lg-line { display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.lg-line .lg { width: 18px; height: 18px; }
.plan-card .lg { background: #fff; border-radius: 50%; padding: 1px; }
.ch-list li { grid-template-columns: 170px minmax(0, 1fr) auto; }
.ch-list .name { white-space: nowrap; }
@media (max-width: 860px) { .ch-list li { grid-template-columns: minmax(0, 1fr) auto; } }
.enamad img { max-width: 100%; height: auto; }
