/* Figma 17:1618 / Persian dark is the canonical initial appearance. */
@font-face { font-family: Vazirmatn; src: url('/app/fonts/Vazirmatn-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Vazirmatn; src: url('/app/fonts/Vazirmatn-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: Vazirmatn; src: url('/site/fonts/Vazirmatn-SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: Vazirmatn; src: url('/app/fonts/Vazirmatn-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: Manrope; src: url('/site/fonts/Manrope-variable.ttf') format('truetype'); font-weight: 200 800; font-display: swap; }
:root {
  --canvas: #17121f;
  --surface: #211b2d;
  --subtle: #30283e;
  --text: #f4f2f8;
  --muted: #b9b2c9;
  --accent: #bfb0ff;
  --border: #4c435c;
  --on-accent: #211b2d;
  --action-subtle: #302269;
  color-scheme: dark;
  font-family: Vazirmatn, sans-serif;
  scroll-padding-top: 32px;
}
:root[data-theme='light'] {
  --canvas: #faf8ff;
  --surface: #ffffff;
  --subtle: #f0eaf8;
  --text: #211b2d;
  --muted: #62596f;
  --accent: #6d42c7;
  --border: #d9d0e5;
  --on-accent: #ffffff;
  --action-subtle: #e8defc;
  color-scheme: light;
}
html[lang='en'] { font-family: Manrope, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--text); font-size: 16px; line-height: 28px; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { color: var(--text); }
h1 { font-size: 72px; line-height: 1.4; font-weight: 700; }
h2 { font-size: 46px; line-height: 1.4; font-weight: 700; }
h3 { font-size: 20px; line-height: 32px; font-weight: 600; }
.wrap { width: min(1264px, calc(100% - 176px)); margin-inline: auto; }
.section { padding-block: 104px; }
.eyebrow { font-size: 14px; line-height: 24px; font-weight: 500; color: var(--accent); }
.caption { font-size: 12px; line-height: 20px; color: var(--muted); }
.small { font-size: 14px; line-height: 24px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px 16px; border: 1px solid var(--accent);
  border-radius: 8px; color: var(--on-accent); background: var(--accent);
  font-size: 14px; line-height: 24px; font-weight: 500; text-align: center;
}
.button:hover { filter: brightness(.94); }
.button--secondary { background: var(--surface); color: var(--accent); border-color: var(--border); }
.surface { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; }
.figma-icon { display: block; flex: none; }
.wordmark { font: 700 24px/33px Manrope, sans-serif; white-space: nowrap; }
.site-header {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding-block: 24px; border-bottom: 1px solid var(--border); margin-bottom: 24px;
}
.site-header nav { display: flex; gap: 28px; font-size: 14px; line-height: 24px; font-weight: 500; }
.header-actions { display: flex; gap: 8px; direction: ltr; }
.header-actions [data-language] { min-width: 116px; }
.header-actions [data-theme-toggle] { min-width: 100px; }
.header-actions a { min-width: 168px; }
.hero { padding-block: 64px 80px; }
.hero-top { display: grid; grid-template-columns: 740px minmax(0, 1fr); gap: 100px; align-items: center; margin-bottom: 56px; }
.hero-headline { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.hero-support { display: flex; flex-direction: column; gap: 24px; align-items: start; min-width: 0; color: var(--muted); }
.hero-support .button { width: 220px; }
.story-timeline { position: relative; }
.story-pin { position: relative; }
.story-stage { width: calc(100% - 310px); margin-inline-end: auto; }
.story-panels { position: relative; }
.story-panel:not(:first-child) { display: none; }
.story-caption { margin-top: 16px; }
.cafe-photo { position: absolute; inset-inline-end: 0; top: 0; width: 286px; height: 490px; overflow: hidden; border-radius: 24px; }
.cafe-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent, rgba(23,18,31,.85)); }
.cafe-photo > img { width: 100%; height: 100%; object-fit: cover; }
.cafe-photo > p { position: absolute; inset-inline: 24px; bottom: 24px; z-index: 1; font-size: 24px; line-height: 36px; font-weight: 600; color: #fff; }
.chapter-rail { display: flex; justify-content: space-between; gap: 24px; padding-block: 24px; margin-top: 56px; border-block: 1px solid var(--border); font-size: 14px; line-height: 24px; color: var(--muted); }
.chapter-rail a[aria-current] { color: var(--accent); }
/* The timeline follows the authored handoff; only stage + rail stick. */
@media (min-width: 1100px) and (prefers-reduced-motion: no-preference) {
  html.scroll-story .story-timeline { min-height: calc(700px + 100vh); }
  html.scroll-story .story-pin { position: sticky; top: 24px; }
  html.scroll-story .story-panels { height: 488px; }
  html.scroll-story .story-panel { display: block; position: absolute; inset: 0; visibility: hidden; opacity: 0; transform: translateX(var(--story-shift, 18px)); }
  html.scroll-story .story-panel.is-active { visibility: visible; opacity: 1; transform: none; }
  html[dir='rtl'] { --story-shift: -18px; }
  html.scroll-story .story-payment .payment-preview { gap: 12px; padding: 24px; height: 488px; }
  html.scroll-story .story-payment .payment-order-line { gap: 8px; }
  html.scroll-story .story-menu { display: flex; justify-content: center; background: var(--subtle); border: 1px solid var(--border); border-radius: 24px; overflow: hidden; }
  html.scroll-story .story-menu .menu-preview { transform: scale(.67); transform-origin: top center; margin-top: 24px; }
}
/* Contact and legal content preserve the existing business configuration. */
.band { padding-block: 80px; }
.band--soft { background: var(--surface); }
.head { margin-bottom: 40px; }
.head h2 { margin-block: 16px; }
.head > p { color: var(--muted); max-width: 700px; }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; }
.info-list { margin: 0; }
.info-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; padding-block: 12px; border-bottom: 1px solid var(--border); font-size: 14px; }
.info-row dt { color: var(--muted); }
.info-row dd { margin: 0; overflow-wrap: anywhere; }
.todo { color: var(--muted); font-size: 12px; }
.trust-box { padding: 28px; border: 1px solid var(--border); border-radius: 24px; }
.trust-box p { color: var(--muted); font-size: 14px; margin-top: 16px; }
.enamad-slot { margin-top: 24px; }
.enamad-slot img { max-width: 150px; cursor: pointer; }
.legal { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.legal h3 { margin-bottom: 16px; }
.legal p, .legal li { color: var(--muted); font-size: 14px; line-height: 26px; }
.site-footer { background: var(--surface); padding-bottom: 40px; }
.footer-main { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-block: 32px; border-top: 1px solid var(--border); }
.footer-main .wordmark { font-size: 40px; line-height: 55px; }
.footer-main nav { display: flex; gap: 24px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.footer-context { display: flex; justify-content: space-between; gap: 24px; font-size: 12px; line-height: 20px; color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: absolute; top: -100px; z-index: 20; background: var(--accent); color: var(--on-accent); padding: 12px; }
.skip:focus { top: 0; }
html:not(.enhanced) [data-language], html:not(.enhanced) [data-theme-toggle] { display: none; }
@media (max-width: 1300px) {
  .wrap { width: calc(100% - 80px); }
  .hero-top { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 56px; }
  h1 { font-size: 62px; }
}
@media (max-width: 1099px) {
  .site-header { flex-wrap: wrap; }
  .site-header nav { order: 3; width: 100%; padding-top: 16px; border-top: 1px solid var(--border); justify-content: center; }
  .header-actions a { min-width: 0; }
  .hero-top { gap: 32px; }
  h1 { font-size: 50px; }
  .story-stage { width: 100%; }
  .story-timeline { display: flex; flex-direction: column; gap: 24px; }
  .story-pin { order: 0; }
  .cafe-photo { order: 1; position: relative; width: 100%; height: 280px; inset: auto; }
  .cafe-photo > img { object-position: center 53%; }
  .chapter-rail { flex-wrap: wrap; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 36px); }
  .section, .band { padding-block: 64px; }
  .site-header { gap: 16px; padding-block: 20px; margin-bottom: 0; }
  .site-header .wordmark { font-size: 20px; }
  .header-actions { gap: 6px; }
  .header-actions .button { min-width: 0; min-height: 44px; padding: 8px 10px; font-size: 12px; }
  .header-actions a { display: none; }
  .site-header nav { gap: 24px; font-size: 13px; }
  .hero { padding-block: 48px 56px; }
  .hero-top { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-bottom: 40px; }
  h1 { font-size: 44px; }
  h2 { font-size: 32px; }
  .hero-support { font-size: 14px; }
  .chapter-rail { gap: 16px; margin-top: 32px; font-size: 12px; }
  .contact-grid, .legal { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .info-row { grid-template-columns: 100px minmax(0, 1fr); gap: 12px; font-size: 12px; }
  .footer-main { align-items: start; flex-direction: column; }
  .footer-main .wordmark { font-size: 32px; }
  .footer-main nav { gap: 16px; }
  .footer-context { flex-wrap: wrap; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
