@charset "UTF-8";

/* ============================================================
   RADIO ARAMESH — WEB
   Palette and voice follow ai/input/RadioAramesh-assets-generator/
   01_Brand_Bible.md and 02_Image_Design_System.md.
   Ratio target: 70% ink, 20% navy, 8% blue, 2% moonlight.
   Forbidden by the brand: red, orange, saturated yellow, loud colour.
   ============================================================ */

/* ---------- Fonts (self-hosted; Google Fonts is unreliable in Iran) ---------- */
@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('fonts/vazirmatn-arabic.woff2') format('woff2');
  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';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('fonts/vazirmatn-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  /* 70% — Midnight Black */
  --ink:        #08111F;
  /* 20% — Deep Navy */
  --navy:       #10233F;
  --navy-soft:  #0C1A2E;
  /* 8% — Ocean Blue */
  --blue:       #4E78C7;
  --blue-deep:  #3A5E9F;
  /* 2% — Moon Light / Glow */
  --moon:       #DCEEFF;
  --glow:       #BFDFFF;

  --text:       #DCEEFF;
  --text-soft:  #A9C0DC;
  --text-mute:  #6E86A6;

  --surface:      rgba(220, 238, 255, 0.035);
  --surface-high: rgba(220, 238, 255, 0.06);
  --line:         rgba(220, 238, 255, 0.09);
  --line-strong:  rgba(220, 238, 255, 0.16);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-pill: 999px;

  --ease: cubic-bezier(0.25, 0.6, 0.3, 1);
  --t: 0.4s var(--ease);

  --shell: 1080px;
  --gutter: 20px;
  --bar-h: 0px; /* raised on mobile by the sticky CTA bar */
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  font-family: 'Vazirmatn', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background-color: var(--ink);
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.9;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: var(--bar-h);
}

/* One quiet moon-glow, high and off-centre. Never a hard light source. */
body::before {
  content: '';
  position: fixed;
  inset: -30vh auto auto 50%;
  transform: translateX(50%);
  width: min(140vw, 1100px);
  aspect-ratio: 1;
  background: radial-gradient(circle at 50% 50%,
              rgba(78, 120, 199, 0.16) 0%,
              rgba(78, 120, 199, 0.06) 38%,
              transparent 68%);
  pointer-events: none;
  z-index: 0;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
::selection { background: rgba(78, 120, 199, 0.4); color: var(--moon); }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Layout ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 1;
}

section { position: relative; z-index: 1; }

.band { padding-block: clamp(64px, 12vw, 116px); }
.band--tight { padding-block: clamp(48px, 9vw, 80px); }
.band--navy { background: linear-gradient(180deg, transparent, var(--navy-soft) 18%, var(--navy-soft) 82%, transparent); }

.skip {
  position: absolute;
  right: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--navy);
  color: var(--moon);
  padding: 10px 18px;
  border-radius: var(--r-sm);
}
.skip:focus { right: 12px; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-mute);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--blue);
  flex: none;
}

h1, h2, h3, h4 { color: var(--moon); font-weight: 500; line-height: 1.5; }

.h-display {
  font-size: clamp(2rem, 8.5vw, 3.4rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  font-weight: 500;
}
.h-section {
  font-size: clamp(1.5rem, 5.2vw, 2.1rem);
  line-height: 1.45;
  margin-bottom: 14px;
}
.h-card { font-size: 1.02rem; font-weight: 600; line-height: 1.6; }

.lede {
  font-size: clamp(1rem, 3.6vw, 1.08rem);
  color: var(--text-soft);
  line-height: 2;
  max-width: 46ch;
}
.muted { color: var(--text-mute); }
.small { font-size: 0.85rem; line-height: 1.8; }
.tiny  { font-size: 0.76rem; line-height: 1.7; color: var(--text-mute); }

.moonlit { color: var(--moon); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: var(--r-pill);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background var(--t), border-color var(--t), transform var(--t), color var(--t);
  will-change: transform;
}
.btn:active { transform: scale(0.98); }
.btn svg { flex: none; }

.btn--primary {
  background: var(--blue);
  color: #061020;
  box-shadow: 0 10px 34px rgba(78, 120, 199, 0.28);
}
.btn--primary:hover { background: var(--glow); }

.btn--quiet {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: var(--surface);
}
.btn--quiet:hover { border-color: var(--blue); color: var(--moon); }

.btn--block { width: 100%; }

/* ---------- Surfaces ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 22px;
  transition: border-color var(--t), background var(--t), transform var(--t);
}
.card:hover { border-color: var(--line-strong); background: var(--surface-high); }

/* ---------- Header ---------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  padding-block: 12px;
  transition: background var(--t), border-color var(--t), backdrop-filter var(--t);
  border-bottom: 1px solid transparent;
}
.masthead.is-lifted {
  background: rgba(8, 17, 31, 0.82);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.masthead__row { display: flex; align-items: center; gap: 16px; }

.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand img {
  width: 38px; height: 38px;
  border-radius: 11px;
  border: 1px solid var(--line);
}
.brand span { font-size: 0.98rem; font-weight: 600; color: var(--moon); }

.nav { display: none; margin-inline-start: auto; gap: 6px; }
.nav a {
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 0.9rem;
  color: var(--text-soft);
  transition: color var(--t), background var(--t);
}
.nav a:hover { color: var(--moon); background: var(--surface); }

.masthead .btn { margin-inline-start: auto; min-height: 42px; padding: 0 18px; font-size: 0.88rem; }
.nav ~ .btn { margin-inline-start: 0; }

/* ---------- Hero — at least 55% breathing room (02_Image_Design_System) ---------- */
.hero { padding-block: clamp(48px, 13vw, 104px) clamp(56px, 12vw, 96px); }
.hero__grid { display: grid; gap: clamp(44px, 9vw, 64px); }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  font-size: 0.79rem;
  color: var(--text-soft);
  margin-bottom: 26px;
}
.hero__badge b { color: var(--moon); font-weight: 600; }
.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(78, 120, 199, 0.16);
  flex: none;
}

.h-display + .lede { margin-top: 22px; }
.hero__cta { display: flex; flex-direction: column; gap: 12px; margin-top: 34px; }
.hero__note { margin-top: 16px; }

.proof {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 22px;
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
/* Each figure sits over its own label, so the numbers never run together
   the way a single wrapped row makes them do on a narrow screen. */
.proof__item { display: flex; flex-direction: column; gap: 1px; }
.proof__item + .proof__item {
  padding-inline-start: 22px;
  border-inline-start: 1px solid var(--line);
}
.proof__n { font-size: 1.28rem; font-weight: 600; color: var(--moon); line-height: 1.3; }
.proof__l { font-size: 0.8rem; color: var(--text-mute); }

/* ---------- Device ---------- */
.stage { display: flex; justify-content: center; position: relative; }
.stage::before {
  content: '';
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 108%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(78, 120, 199, 0.2), transparent 62%);
  pointer-events: none;
}

.device {
  position: relative;
  width: min(280px, 74vw);
  aspect-ratio: 9 / 18.6;
  border-radius: 40px;
  padding: 9px;
  background: linear-gradient(160deg, rgba(220, 238, 255, 0.18), rgba(220, 238, 255, 0.03) 42%, rgba(8, 17, 31, 0.9));
  box-shadow: 0 40px 90px rgba(4, 9, 18, 0.72);
}
.device__screen {
  height: 100%;
  border-radius: 32px;
  background: linear-gradient(180deg, #0B1728, var(--ink));
  border: 1px solid rgba(220, 238, 255, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 22px 16px 16px;
  gap: 16px;
}
.device__bar {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.66rem; color: var(--text-mute);
}

.np { text-align: center; }
.np__art {
  width: 122px; height: 122px;
  margin: 0 auto 14px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(4, 9, 18, 0.6);
}
.np__art img { width: 100%; height: 100%; object-fit: cover; }
.np__title { font-size: 0.84rem; color: var(--moon); font-weight: 600; line-height: 1.5; }
.np__sub { font-size: 0.68rem; color: var(--text-mute); margin-top: 2px; }

.np__track {
  height: 3px;
  border-radius: 2px;
  background: rgba(220, 238, 255, 0.1);
  margin: 15px 0 7px;
  overflow: hidden;
}
.np__fill { height: 100%; width: 42%; background: var(--blue); border-radius: 2px; }
.np__times { display: flex; justify-content: space-between; font-size: 0.6rem; color: var(--text-mute); }

.np__controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 14px; }
.np__controls svg { stroke: var(--text-soft); }
.np__play {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--blue);
  display: grid; place-items: center;
  box-shadow: 0 8px 22px rgba(78, 120, 199, 0.34);
}
.np__play svg { stroke: #061020; }

.device__strip { margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.device__chip {
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 9px 4px;
  text-align: center;
  font-size: 0.6rem;
  color: var(--text-mute);
  background: rgba(220, 238, 255, 0.02);
}

/* ---------- Section head ---------- */
.head { max-width: 46ch; margin-bottom: clamp(30px, 6vw, 46px); }
.head--mid { margin-inline: auto; text-align: center; }
.head--mid .eyebrow::before { display: none; }

/* ---------- Figure row ---------- */
.figures { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.figure { padding: 22px 18px; text-align: center; }
.figure__n {
  font-size: clamp(1.5rem, 6vw, 1.9rem);
  font-weight: 600;
  color: var(--moon);
  line-height: 1.35;
  display: block;
}
.figure__l { font-size: 0.8rem; color: var(--text-mute); margin-top: 4px; }

/* ---------- Chips (real categories → real deep links) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  font-size: 0.87rem;
  color: var(--text-soft);
  transition: border-color var(--t), color var(--t), background var(--t);
}
.chip:hover { border-color: var(--blue); color: var(--moon); background: var(--surface-high); }
.chip i { font-style: normal; font-size: 0.72rem; color: var(--text-mute); }

/* ---------- Album rail ---------- */
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 158px;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-block: 4px 6px;
  padding-inline: var(--gutter);
  margin-inline: calc(var(--gutter) * -1);
  scrollbar-width: thin;
  scrollbar-color: rgba(78, 120, 199, 0.4) transparent;
}
.rail::-webkit-scrollbar { height: 4px; }
.rail::-webkit-scrollbar-thumb { background: rgba(78, 120, 199, 0.4); border-radius: 4px; }
.rail::-webkit-scrollbar-track { background: transparent; }

.album { scroll-snap-align: start; }
.album__art {
  aspect-ratio: 1;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--navy);
  transition: border-color var(--t), transform var(--t);
}
.album__art img { width: 100%; height: 100%; object-fit: cover; }
.album:hover .album__art { border-color: var(--line-strong); transform: translateY(-3px); }
.album__name {
  font-size: 0.87rem;
  color: var(--text);
  margin-top: 11px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.album__meta { font-size: 0.73rem; color: var(--text-mute); margin-top: 2px; }

/* ---------- Feature list ---------- */
.features { display: grid; gap: 12px; }
.feature { display: flex; gap: 15px; align-items: flex-start; }
.feature__icon {
  flex: none;
  width: 42px; height: 42px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: rgba(78, 120, 199, 0.1);
  border: 1px solid rgba(78, 120, 199, 0.18);
}
.feature__icon svg { stroke: var(--blue); }
.feature p { font-size: 0.88rem; color: var(--text-mute); line-height: 1.8; margin-top: 3px; }

/* ---------- Reviews ---------- */
.reviews { display: grid; gap: 14px; }
.review__stars { display: flex; gap: 3px; margin-bottom: 12px; }
.review__stars svg { fill: var(--blue); stroke: none; }
.review__text { font-size: 0.94rem; color: var(--text); line-height: 1.95; }
.review__by {
  display: flex; align-items: center; gap: 10px;
  margin-top: 16px; padding-top: 14px;
  border-top: 1px solid var(--line);
}
.review__mark {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(78, 120, 199, 0.14);
  border: 1px solid rgba(78, 120, 199, 0.2);
  color: var(--glow);
  font-size: 0.82rem;
  font-weight: 600;
  flex: none;
}

/* ---------- Premium ---------- */
.premium {
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: clamp(30px, 7vw, 54px) clamp(22px, 5vw, 46px);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(78, 120, 199, 0.14), transparent 62%),
    var(--surface);
  text-align: center;
}
.perks {
  display: grid;
  gap: 11px;
  margin: 30px auto 34px;
  max-width: 480px;
  text-align: start;
}
.perk { display: flex; align-items: center; gap: 12px; font-size: 0.92rem; color: var(--text); }
.perk svg { flex: none; stroke: var(--blue); }

/* ---------- Store ---------- */
.store {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 26px 14px 20px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  transition: border-color var(--t), background var(--t), transform var(--t);
}
.store:hover { border-color: var(--blue); background: var(--surface-high); transform: translateY(-2px); }
.store img { width: 44px; height: 44px; border-radius: 13px; flex: none; }
.store__sm { font-size: 0.73rem; color: var(--text-mute); }
.store__lg { font-size: 1rem; color: var(--moon); font-weight: 600; line-height: 1.5; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding-block: 48px 34px; }
.foot__grid { display: grid; gap: 34px; }
.foot__desc { font-size: 0.86rem; color: var(--text-mute); line-height: 1.9; margin-top: 16px; max-width: 34ch; }
.foot h3 {
  font-size: 0.79rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}
.foot li + li { margin-top: 9px; }
.foot li a { font-size: 0.87rem; color: var(--text-mute); transition: color var(--t); }
.foot li a:hover { color: var(--moon); }

.socials { display: flex; gap: 10px; margin-top: 20px; }
.social {
  width: 40px; height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  transition: border-color var(--t), background var(--t);
}
.social svg { stroke: var(--text-soft); }
.social:hover { border-color: var(--blue); background: var(--surface); }
.social:hover svg { stroke: var(--moon); }

.foot__end {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.79rem;
  color: var(--text-mute);
}
.foot__end nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot__end a:hover { color: var(--moon); }

/* ---------- Sticky mobile CTA ---------- */
.dock {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 45;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(8, 17, 31, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--line);
  transform: translateY(120%);
  transition: transform var(--t);
}
.dock.is-shown { transform: translateY(0); }

/* ---------- Reveal ---------- */
.rise { opacity: 0; transform: translateY(20px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.rise.is-in { opacity: 1; transform: none; }
.rise-1 { transition-delay: 0.07s; }
.rise-2 { transition-delay: 0.14s; }
.rise-3 { transition-delay: 0.21s; }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 68ch; }
.prose h2 {
  font-size: 1.18rem;
  margin: 46px 0 12px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.prose h2:first-of-type { border-top: none; padding-top: 0; margin-top: 34px; }
.prose h3 { font-size: 0.98rem; margin: 26px 0 8px; color: var(--text); }
.prose p { margin-bottom: 14px; font-size: 0.94rem; line-height: 2.05; }
.prose ul { margin: 0 0 18px; }
.prose li {
  position: relative;
  padding-inline-start: 20px;
  margin-bottom: 9px;
  font-size: 0.92rem;
  line-height: 1.95;
}
.prose li::before {
  content: '';
  position: absolute;
  inset-inline-start: 4px;
  top: 0.85em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue);
}
.prose a { color: var(--glow); border-bottom: 1px solid rgba(191, 223, 255, 0.3); }
.prose strong { color: var(--moon); font-weight: 600; }
.note {
  border: 1px solid var(--line);
  border-inline-start: 2px solid var(--blue);
  border-radius: var(--r-sm);
  background: var(--surface);
  padding: 16px 18px;
  margin: 22px 0;
  font-size: 0.9rem;
}
.note p:last-child { margin-bottom: 0; }

/* ============================================================
   RESPONSIVE — mobile first, so these only add
   ============================================================ */
@media (min-width: 560px) {
  :root { --gutter: 28px; }
  .hero__cta { flex-direction: row; flex-wrap: wrap; }
  .hero__cta .btn { flex: 0 1 auto; }
  .figures { grid-template-columns: repeat(4, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); gap: 26px 22px; }
  .rail { grid-auto-columns: 178px; }
  .foot__end { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 820px) {
  :root { --gutter: 32px; --bar-h: 0px; }
  .nav { display: flex; }
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; align-items: center; }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .foot__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px 28px; }
  .dock { display: none; }
  .head--wide { max-width: 54ch; }
  .split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
}

@media (max-width: 819px) {
  body { --bar-h: 76px; }
  /* The store CTA is duplicated by the sticky dock, so it goes. The back
     link on the legal pages has no such twin and must stay. */
  .masthead .btn:not(.btn--back) { display: none; }
  .brand + .nav { display: none; }
  .masthead__row { justify-content: space-between; }
  .head--wide { text-align: start; }
}

/* ---------- Motion & contrast preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .rise { opacity: 1; transform: none; }
  .dock { transform: none; }
}

@media (prefers-contrast: more) {
  :root { --text-soft: #CFE1F5; --text-mute: #9DB4CE; --line: rgba(220,238,255,0.2); }
}

@media print {
  body::before, .dock, .masthead, .foot { display: none; }
  body { background: #fff; color: #000; }
}
