/* nioush.ir (I-428): the app's light theme, lapis accent and ink text on a white page. */

@font-face {
  font-family: 'IRANYekanX';
  src: url('/assets/fonts/IRANYekanXFaNum-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'IRANYekanX';
  src: url('/assets/fonts/IRANYekanXFaNum-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

:root {
  --page: #ffffff;
  --surface: #f4f5f8;
  --ink: #1c1b22;
  --muted: #666a7a;
  --quiet: #4a4f60;
  --line: #eceef3;
  --rule: #e2e5ec;
  --edge: #d6dae3;
  --lapis: #1f3b73;
  --lapis-deep: #0e1a3a;
  --lapis-soft: #e6ecf6;
  --lapis-pale: #c9d5ee;
  --danger: #b42318;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: IRANYekanX, Tahoma, sans-serif;
  font-weight: 400;
}

a {
  color: var(--lapis);
}
a:hover {
  color: var(--lapis-deep);
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--lapis);
  outline-offset: 3px;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}

.skip {
  position: absolute;
  inset-inline-start: 16px;
  top: -100px;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--lapis);
  color: #ffffff;
  z-index: 10;
}
.skip:focus {
  top: 16px;
  color: #ffffff;
}

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 72px);
}

/* The bar at the top */

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 500;
  text-decoration: none;
}
.brand:hover {
  color: var(--ink);
}
.nav {
  display: flex;
  gap: 36px;
  font-size: 16px;
}
.nav a,
.foot-nav a {
  color: var(--quiet);
  text-decoration: none;
}
.nav a:hover,
.foot-nav a:hover {
  color: var(--lapis);
}
@media (max-width: 759px) {
  .nav {
    display: none;
  }
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 62px;
  padding: 0 28px;
  border-radius: 18px;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
}
.button svg {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.button.primary {
  background: var(--lapis);
  color: #ffffff;
  box-shadow: 0 14px 30px -16px rgba(31, 59, 115, 0.7);
}
.button.primary:hover {
  background: #18305f;
  color: #ffffff;
}
.button.secondary {
  border: 1px solid var(--edge);
  color: var(--ink);
  font-size: 17px;
  font-weight: 400;
}
.button.secondary:hover {
  border-color: var(--lapis-pale);
  color: var(--lapis);
}
.button.small {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 14px;
  gap: 8px;
  background: var(--lapis-soft);
  color: var(--lapis);
  font-size: 15px;
}
.button.small svg {
  width: 18px;
  height: 18px;
}

/* The first screen */

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  padding: clamp(32px, 5vw, 80px) 0 clamp(64px, 8vw, 128px);
}
.hero-text {
  flex: 1 1 460px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.eyebrow {
  font-size: 16px;
  font-weight: 500;
  color: var(--lapis);
}
h1 {
  margin-top: 20px;
  font-size: clamp(40px, 5.2vw, 76px);
  line-height: 1.28;
  font-weight: 500;
  text-wrap: balance;
}
/* The headline's two halves, one line each. */
.hero h1 span {
  display: block;
}
.lead {
  margin-top: 28px;
  max-width: 34em;
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.95;
  color: var(--muted);
  text-wrap: pretty;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 44px;
  max-width: 580px;
}
.actions .primary {
  flex: 1 1 250px;
}
.actions .secondary {
  flex: 1 1 200px;
}
.release,
.ios-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}
.qr {
  display: none;
  align-items: center;
  gap: 18px;
  margin-top: 48px;
}
.qr img {
  width: 92px;
  height: 92px;
  flex: none;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
}
.qr p {
  max-width: 18em;
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
}
@media (min-width: 760px) and (hover: hover) and (pointer: fine) {
  .qr {
    display: flex;
  }
}

.hero-orb {
  flex: 1 1 400px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.orb-box {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1;
  background: radial-gradient(
    circle at 50% 50%,
    #eef2fa 0%,
    rgba(238, 242, 250, 0.6) 34%,
    rgba(255, 255, 255, 0) 62%
  );
}
.orb-box canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.orb-still {
  position: absolute;
  top: 20%;
  left: 20%;
  width: 60%;
  height: 60%;
}

.talk {
  width: 100%;
  max-width: 460px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.talk [data-chat],
.talk [data-sample],
.talk [data-reply] {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.talk [data-sample],
.talk [data-reply] {
  gap: 4px;
}
.status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lapis);
}
.hint {
  font-size: 17px;
  color: var(--muted);
}
.you {
  align-self: flex-start;
  max-width: 88%;
  padding: 10px 18px;
  border-radius: 22px;
  background: var(--lapis-soft);
  font-size: 17px;
  line-height: 1.8;
}
.dots {
  font-size: 22px;
  letter-spacing: 3px;
  color: #8b92a6;
}
.who {
  font-size: 14px;
  font-weight: 500;
  color: var(--lapis);
}
.said {
  font-size: 17px;
  line-height: 1.85;
}

.voices {
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
.voices > p {
  font-size: 14px;
  color: var(--muted);
}
.voice-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
@media (max-width: 479px) {
  .voice-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.voice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 12px;
  border: 0;
  border-radius: 26px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}
.voice:hover {
  background: var(--lapis-soft);
}
.voice[aria-pressed='true'] {
  background: var(--lapis);
  color: #ffffff;
}
.dot {
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 50%;
}
.dot.nasim {
  background: radial-gradient(circle at 34% 30%, #5cc9a6 0%, #178763 80%);
}
.dot.bardia {
  background: radial-gradient(circle at 34% 30%, #73c2f5 0%, #1c75bd 80%);
}
.dot.taranom {
  background: radial-gradient(circle at 34% 30%, #ff9e29 0%, #cc6e05 80%);
}
.dot.manouchehr {
  background: radial-gradient(circle at 34% 30%, #ccd1e0 0%, #576178 80%);
}
.voice-error {
  font-size: 14px;
  color: var(--danger);
}

/* The sections below */

.block {
  border-top: 1px solid var(--line);
  padding: clamp(72px, 9vw, 136px) 0;
  scroll-margin-top: 16px;
}
.block-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 48px;
}
h2 {
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.35;
  font-weight: 500;
}
.block-head p {
  max-width: 30em;
  font-size: 18px;
  line-height: 1.9;
  color: var(--muted);
}

.abilities {
  list-style: none;
  padding: 0;
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr));
  column-gap: 48px;
}
.abilities li {
  border-top: 1px solid var(--line);
  padding: 32px 0 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.abilities .label {
  font-size: 15px;
  font-weight: 500;
  color: var(--lapis);
}
.abilities h3,
.steps h3 {
  font-size: 23px;
  line-height: 1.55;
  font-weight: 500;
}
.abilities li > p:last-child,
.steps p {
  font-size: 16px;
  line-height: 1.95;
  color: var(--muted);
}

.plans {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(310px, 100%), 1fr));
  gap: 16px;
}
.plan {
  background: var(--surface);
  border-radius: 28px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan h3 {
  font-size: 20px;
  font-weight: 500;
}
.plan .for,
.plan .price {
  font-size: 16px;
  color: var(--muted);
}
.plan .price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 8px;
  margin-top: 24px;
  white-space: nowrap;
}
.plan .price span {
  font-size: 48px;
  font-weight: 500;
  color: var(--ink);
}
.plan ul {
  list-style: none;
  padding: 12px 0 0;
  margin-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: 16px;
  line-height: 2;
}
.plan.main {
  background: var(--lapis);
  color: #ffffff;
  box-shadow: 0 30px 60px -36px rgba(31, 59, 115, 0.8);
}
.plan.main .for,
.plan.main .price {
  color: var(--lapis-pale);
}
.plan.main .price span {
  color: #ffffff;
}
.plan.main ul {
  border-top-color: rgba(255, 255, 255, 0.18);
}
.note {
  margin-top: 28px;
  font-size: 15px;
  color: var(--muted);
}

.steps {
  list-style: none;
  padding: 0;
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 40px 48px;
}
.steps li {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.steps .num {
  font-size: 64px;
  line-height: 1.1;
  color: var(--lapis);
}
.try {
  margin-top: 72px;
  padding: clamp(32px, 4.5vw, 64px);
  border-radius: 32px;
  background: var(--surface);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.try-text {
  flex: 1 1 380px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.try-title {
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 500;
  line-height: 1.4;
}
.checksum-label {
  font-size: 14px;
  color: var(--muted);
}
.checksum {
  margin-top: 4px;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 13px;
  color: var(--quiet);
  overflow-wrap: anywhere;
  text-align: right;
}
.try .button {
  flex: 0 1 340px;
}

/* The footer */

.foot {
  border-top: 1px solid var(--line);
  padding: 48px 0 56px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.foot-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.foot .brand {
  font-size: 19px;
}
.copy {
  font-size: 14px;
  color: var(--muted);
}
.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  font-size: 15px;
}
.trust:empty {
  display: none;
}

/* The about, contact, terms and privacy pages */

.doc {
  max-width: 760px;
  padding: clamp(32px, 5vw, 72px) 0 clamp(72px, 9vw, 120px);
}
.doc h1 {
  margin-top: 0;
  font-size: clamp(34px, 4.4vw, 56px);
}
.doc .updated {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}
.doc h2 {
  margin-top: 48px;
  font-size: clamp(22px, 2.2vw, 28px);
}
.doc p,
.doc li {
  font-size: 17px;
  line-height: 2;
}
.doc p {
  margin-top: 16px;
}
.doc ul {
  margin-top: 12px;
  padding-inline-start: 24px;
}
/* The site's font draws Persian digits; an English section (the bot page) keeps Latin ones. */
.doc [lang='en'] {
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
}
.doc .contact {
  margin-top: 24px;
  padding: 28px 32px;
  border-radius: 24px;
  background: var(--surface);
}
.doc .contact p {
  margin-top: 6px;
}
.doc .contact p:first-child {
  margin-top: 0;
}
.missing {
  padding: 0 6px;
  border-radius: 6px;
  background: #fff0ed;
  color: var(--danger);
}
