/* Shared look of the public pages (home, pricing, login): ElevenLabs' calm monochrome — white and black, hairlines,
   grey surfaces, black pill buttons, light large headlines — with colour only in the orbs. Each orb is painted from a
   real veedo theme's palette. Persian RTL: logical properties only, no letter-spacing. The app has its own copy of
   these tokens in platform/web/style.css. */
:root {
  --bg: #ffffff; --ink: #000000; --ink-2: #2e2e2e; --muted: #6b6b6b; --faint: #9a9a9a;
  --soft: #f5f5f5; --soft-2: #ebebeb; --line: #e6e6e6; --line-2: #d4d4d4;
  --btn: #000000; --btn-ink: #ffffff; --btn-hover: #2b2b2b;
  --accent: #ff7a45; --coin: #e8a317; --soon: #6d4fe0; --soon-soft: #f0ecff;
  --ok: #15803d; --ok-soft: #ecfdf3; --err: #c62828; --err-soft: #fdeeee;
  --glow: .55; color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000; --ink: #fafafa; --ink-2: #d9d9d9; --muted: #a1a1a1; --faint: #737373;
    --soft: #121212; --soft-2: #1c1c1c; --line: #262626; --line-2: #363636;
    --btn: #ffffff; --btn-ink: #000000; --btn-hover: #e2e2e2;
    --soon: #a993ff; --soon-soft: #1e1838; --ok: #4ade80; --ok-soft: #0f2418; --err: #f87171; --err-soft: #2a1212;
    --glow: .35; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #000000; --ink: #fafafa; --ink-2: #d9d9d9; --muted: #a1a1a1; --faint: #737373;
  --soft: #121212; --soft-2: #1c1c1c; --line: #262626; --line-2: #363636;
  --btn: #ffffff; --btn-ink: #000000; --btn-hover: #e2e2e2;
  --soon: #a993ff; --soon-soft: #1e1838; --ok: #4ade80; --ok-soft: #0f2418; --err: #f87171; --err-soft: #2a1212;
  --glow: .35; color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.85 "Vazirmatn", system-ui, sans-serif; -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
.narrow { max-width: 820px; }

/* Type: one family; display sizes go light, the way ElevenLabs sets its headlines. */
h1, h2, h3 { margin: 0; letter-spacing: 0; text-wrap: balance; }
.display { font-size: clamp(40px, 6.2vw, 76px); font-weight: 300; line-height: 1.22; }
.h2 { font-size: clamp(30px, 4.2vw, 50px); font-weight: 300; line-height: 1.3; }
.h3 { font-size: 19px; font-weight: 500; line-height: 1.6; }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); line-height: 1.9; }
.muted { color: var(--muted); }

/* Header */
.site-head {
  position: sticky; inset-block-start: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.6) blur(14px);
  border-block-end: 1px solid transparent; transition: border-color .2s;
}
.site-head.scrolled { border-block-end-color: var(--line); }
.site-head .wrap { height: 64px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; text-decoration: none; }
.brand img { width: 30px; height: auto; }
.logo-light { display: none !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-dark { display: none !important; }
  :root:not([data-theme="light"]) .logo-light { display: block !important; }
}
.site-nav { display: flex; gap: 4px; flex: 1; }
.site-nav a {
  font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; padding: 6px 12px; border-radius: 999px;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--soft); color: var(--ink); }
.head-actions { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }

/* Buttons: black pills; secondary is white with a hairline. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 500; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: var(--btn); color: var(--btn-ink); }
.btn-primary:hover { background: var(--btn-hover); }
.btn-ghost { background: var(--bg); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--soft); }
.btn-text { background: none; color: var(--ink-2); padding-inline: 12px; }
.btn-text:hover { color: var(--ink); background: var(--soft); }
.btn-small { min-height: 36px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: progress; }

/* The announcement pill above a hero. */
.pill-link {
  display: inline-flex; align-items: center; gap: 10px; padding-block: 5px; padding-inline: 6px 14px;
  border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--ink-2); text-decoration: none;
  background: var(--bg);
}
.pill-link:hover { border-color: var(--line-2); }
.pill-link b { font-weight: 500; background: var(--soon-soft); color: var(--soon); border-radius: 999px; padding: 1px 10px; }

/* Orbs: soft spheres painted from a theme palette (ElevenLabs' voice avatars). */
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.orb {
  --a: #feb804; --b: #fe5203; --c: #ffd2b8;
  display: inline-block; flex: none; width: 40px; aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, rgba(255,255,255,.85), rgba(255,255,255,0) 38%),
    radial-gradient(circle at 70% 80%, rgba(0,0,0,.18), rgba(0,0,0,0) 55%),
    conic-gradient(from var(--spin), var(--a), var(--b), var(--c), var(--a));
}
.orb.live { animation: orb-spin 14s linear infinite; }
@keyframes orb-spin { to { --spin: 360deg; } }
.o-clinic { --a: #e87722; --b: #7098f0; --c: #48c8c8; }
.o-sketch { --a: #e9a23b; --b: #9bdcf1; --c: #f6c87a; }
.o-neon { --a: #3ff2e6; --b: #b46bff; --c: #1b1b2e; }
.o-brand { --a: #feb804; --b: #fe5203; --c: #ffc9a8; }
.o-soon { --a: #c3b4ff; --b: #6d4fe0; --c: #ff9ad5; }
.o-sea { --a: #2bb3a3; --b: #1f5fbf; --c: #a5e8dd; }
.o-rose { --a: #ff8fa3; --b: #c2185b; --c: #ffd6c9; }
.o-ink { --a: #9a9a9a; --b: #1a1a1a; --c: #e6e6e6; }

/* The glow behind a hero object. */
.glow { position: relative; isolation: isolate; }
.glow::before {
  content: ""; position: absolute; z-index: -1; inset: -8% 6% auto; height: 70%; border-radius: 50%;
  background: radial-gradient(closest-side at 30% 50%, #ff9a6a, transparent),
              radial-gradient(closest-side at 70% 45%, #7098f0, transparent),
              radial-gradient(closest-side at 50% 70%, #b46bff, transparent);
  filter: blur(60px); opacity: var(--glow);
}

/* Sections */
section { padding-block: 112px; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.sec-head .lead { margin: 16px auto 0; max-width: 40em; }

/* Grey surface cards */
.surface { background: var(--soft); border-radius: 24px; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; }

/* Small marks */
.soon {
  display: inline-block; font-size: 11.5px; font-weight: 600; line-height: 1.7; padding: 0 9px; border-radius: 999px;
  background: var(--soon-soft); color: var(--soon); vertical-align: middle; white-space: nowrap;
}
.coin { width: 1.1em; height: 1.1em; display: inline-block; vertical-align: -.18em; flex: none; border-radius: 50%; overflow: hidden; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center; }
.ticks li { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.ticks svg { width: 16px; height: 16px; color: var(--ink); }

/* Segmented control (tabs and toggles) */
.seg { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--soft); max-width: 100%; overflow-x: auto; }
.seg button {
  border: 0; background: none; cursor: pointer; border-radius: 999px; padding: 0 16px; min-height: 36px;
  font-size: 14px; font-weight: 500; color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 8px;
}
.seg button:hover { color: var(--ink); }
.seg button[aria-selected="true"], .seg button[aria-pressed="true"] {
  background: var(--bg); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 0 0 1px var(--line);
}
.seg small { font-size: 11.5px; color: var(--ok); font-weight: 600; }

/* FAQ: hairline rows with a plus */
.faq { border-block-start: 1px solid var(--line); }
.faq details { border-block-end: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding-block: 22px; font-size: 17px; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px; transition: transform .2s;
  background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
              linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: -6px 0 24px; color: var(--muted); max-width: 46em; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.input {
  width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line-2);
  background: var(--bg); font-size: 15px; font-weight: 400; transition: border-color .15s, box-shadow .15s;
}
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ink) 10%, transparent); }
textarea.input { min-height: 104px; resize: vertical; }
.form-msg { margin: 0; font-size: 14px; min-height: 1.6em; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: var(--err); }

/* Closing call to action */
.closing { text-align: center; padding: 88px 24px; overflow: hidden; position: relative; isolation: isolate; }
.closing .orbs { display: flex; justify-content: center; margin-block-end: 28px; }
.closing .orbs .orb { width: 56px; margin-inline: -8px; box-shadow: 0 0 0 4px var(--soft); }
.closing p { margin: 14px auto 32px; color: var(--muted); max-width: 32em; }
.closing .actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* Footer */
.site-foot { border-block-start: 1px solid var(--line); padding-block: 56px 40px; font-size: 14px; }
.site-foot .cols { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; }
.site-foot h4 { margin: 0 0 12px; font-size: 13px; font-weight: 600; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-foot a { color: var(--muted); text-decoration: none; }
.site-foot a:hover { color: var(--ink); }
.site-foot .about { color: var(--muted); max-width: 22em; margin-block-start: 12px; }
.site-foot .base { margin-block-start: 48px; padding-block-start: 20px; border-block-start: 1px solid var(--line); color: var(--faint); font-size: 13px; }
.site-foot .base { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.enamad-seal { display: inline-flex; align-items: center; flex: none; }
.enamad-seal img { display: block; width: auto; height: 64px; max-width: 120px; object-fit: contain; }

@media (max-width: 900px) {
  section { padding-block: 80px; }
  .site-nav { display: none; }
  .site-foot .cols { grid-template-columns: 1fr 1fr; }
  .site-foot .cols > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .wrap { padding-inline: 16px; }
  section { padding-block: 64px; }
  .sec-head { margin-block-end: 36px; }
  .head-actions .btn-text { display: none; }
  .closing { padding: 64px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orb.live { animation: none; }
  * { transition: none !important; }
}

/* Pricing and auth surfaces share the same calm shell as the landing page. */
.pricing-hero { padding-block: 88px 40px; text-align: center; overflow: hidden; }
.pricing-hero::before { content: ""; position: absolute; inset-block-start: -320px; inset-inline-start: 55%; width: 720px; height: 620px; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 14%, transparent), transparent 72%); filter: blur(12px); pointer-events: none; }
.pricing-hero .wrap { position: relative; }
.pricing-hero .display { max-width: 14ch; margin: 24px auto 0; }
.pricing-hero .display em { color: inherit; font-style: normal; }
.pricing-hero .lead { max-width: 42em; margin: 20px auto 0; }
.pricing-hero .flow { margin-block-start: 28px; }
.pricing-hero .status { border-radius: 999px; background: var(--soft); border-color: var(--line); }
.pricing-hero .eyebrow { background: transparent; padding: 0; color: var(--accent); }
.pricing-hero + section { padding-block-start: 56px; }
.plans-top { border-block-end: 1px solid var(--line); padding-block-end: 18px; }
.toggle { background: var(--soft); border: 0; border-radius: 999px; }
.toggle button { min-height: 36px; border-radius: 999px; }
.toggle button[aria-pressed="true"] { background: var(--bg); box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 0 0 1px var(--line); }
.plans { gap: 16px; }
.plan { border-radius: 20px; box-shadow: none; }
.plan.hl { border: 1px solid var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.plan .ribbon { background: var(--ink); color: var(--bg); }
.plan .coins-line { background: transparent; border-block: 1px solid var(--line); border-radius: 0; padding-inline: 0; }
.plan .btn-primary { background: var(--btn); color: var(--btn-ink); border-color: transparent; }
.examples { gap: 12px; }
.ex, .pack { border-radius: 20px; box-shadow: none; }
.soonband { color: var(--ink); background: var(--soft); border: 1px solid var(--line); border-radius: 24px; box-shadow: none; }
.soonband .kicker { color: var(--accent); }
.soonband p { color: var(--muted); }
.soonband::after { background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 13%, transparent), transparent); }
.soonband .chips span { color: var(--ink); background: var(--bg); border-color: var(--line); }
.table-scroll { border-radius: 20px; }
form.card { border-radius: 20px; background: var(--soft); box-shadow: none; }
input, select, textarea { border-radius: 12px; }
details { border-radius: 16px; }
.site-foot .brand { padding: 0; }
.auth-shell { position: relative; min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; overflow: hidden; }
.auth-shell::before, .auth-shell::after { content: ""; position: fixed; width: 520px; height: 520px; border-radius: 50%; pointer-events: none; filter: blur(18px); }
.auth-shell::before { inset-block-start: -260px; inset-inline-end: -180px; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 18%, transparent), transparent 72%); }
.auth-shell::after { inset-block-end: -300px; inset-inline-start: -220px; background: radial-gradient(closest-side, #7098f0 10%, transparent 72%); opacity: .18; }
.auth-card { position: relative; z-index: 1; width: min(440px, 100%); display: flex; flex-direction: column; gap: 18px; padding: 36px 32px; background: var(--bg); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 24px 70px -38px rgba(0,0,0,.35); }
.auth-card .brand { justify-content: flex-start; padding: 0; }
.auth-card .brand img { width: 34px; }
.auth-kicker { color: var(--accent); font-size: 13px; font-weight: 600; margin-block-start: 8px; }
.auth-card h1 { font-size: 32px; font-weight: 300; line-height: 1.25; }
.auth-card form { gap: 12px; }
.auth-card input { min-height: 48px; border-radius: 12px; letter-spacing: 0; background: var(--soft); }
.auth-card button:not(.link) { min-height: 48px; border-radius: 999px; background: var(--btn); color: var(--btn-ink); }
.auth-card .link { background: none; color: var(--muted); }
.auth-card input:focus, .auth-card button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 600px) { .pricing-hero { padding-block: 56px 32px; } .auth-card { padding: 28px 22px; border-radius: 20px; } }
