@font-face { font-family: 'IranSans'; font-weight: 400; font-display: swap; src: url('/fonts/IRANSansWeb.woff2') format('woff2'); }
@font-face { font-family: 'IranSans'; font-weight: 500; font-display: swap; src: url('/fonts/IRANSansWeb_Medium.woff2') format('woff2'); }
@font-face { font-family: 'IranSans'; font-weight: 700; font-display: swap; src: url('/fonts/IRANSansWeb_Bold.woff2') format('woff2'); }
@font-face { font-family: 'Vazirmatn'; font-weight: 100 900; font-display: swap; src: url('/fonts/Vazirmatn-var.woff2') format('woff2'); }

/* Palette from Persian tilework, the same as the panels: lapis, turquoise, saffron. */
:root {
  color-scheme: light;
  --font: 'IranSans', 'Vazirmatn', system-ui, sans-serif;
  --paper: #f1f4f5; --white: #fff;
  --ink: #13222e; --ink-2: #44566a;
  --lapis: #12263a; --lapis-2: #1b3550; --on-lapis: #dbe6ee; --on-lapis-2: #9db2c4;
  --teal: #009ea1; --teal-ink: #00797c;
  --saffron: #e39a1b; --saffron-ink: #3a2400;
  --line: #d6dee3;
  --focus: #3b55d6;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.95; font-size: 17px; }
h1, h2, h3, p, dl, dd, ul, ol, figure { margin: 0; padding: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--white); padding: 8px 14px; border-radius: 6px; z-index: 20; }
.skip:focus { top: 12px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 700; border-radius: 8px; padding: 8px 18px; border: 2px solid transparent; line-height: 1.6; white-space: nowrap; }
.btn-lg { padding: 12px 26px; font-size: 18px; }
.btn-saffron { background: var(--saffron); color: var(--saffron-ink); }
.btn-saffron:hover { background: #f0a92b; }
.btn-ghost { border-color: var(--on-lapis-2); color: var(--white); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: var(--lapis); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.top-in { display: flex; align-items: center; gap: 28px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); font-weight: 700; font-size: 18px; }
.top nav { display: flex; gap: 22px; margin-inline-start: auto; }
.top nav a { text-decoration: none; color: var(--on-lapis); font-size: 15px; }
.top nav a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 6px; }

/* hero */
.hero { background: var(--lapis) url('/tiles.svg') center top / 96px 96px; color: var(--white); padding: 72px 0 88px; position: relative; }
.hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 140px; background: linear-gradient(to bottom, transparent, var(--lapis)); pointer-events: none; }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
h1 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.55; font-weight: 700; max-width: 18em; }
.lead { margin-top: 20px; color: var(--on-lapis); font-size: 18px; max-width: 34em; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.fine { margin-top: 14px; color: var(--on-lapis-2); font-size: 14.5px; }

/* the sample order: its stages light up one after another, once */
.ticket { background: var(--lapis-2); border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; padding: 20px 22px 14px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.ticket-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px dashed rgba(255, 255, 255, .22); }
.ticket-head b { font-size: 18px; }
.muted-on-dark { color: var(--on-lapis-2); font-size: 14px; margin-inline-start: auto; }
.chip { background: rgba(0, 158, 161, .22); color: #7fe3e5; border-radius: 999px; padding: 0 12px; font-size: 13px; font-weight: 500; }
.lines { list-style: none; padding: 12px 0; border-bottom: 1px dashed rgba(255, 255, 255, .22); }
.lines li { display: flex; justify-content: space-between; gap: 12px; color: var(--on-lapis); font-size: 15px; }
.route { list-style: none; padding: 16px 0 6px; display: grid; gap: 0; }
.route li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; position: relative; padding-bottom: 16px; opacity: .38; animation: lit .5s ease forwards; }
.route li:last-child { padding-bottom: 8px; }
.route li::before { content: ''; position: absolute; inset-inline-start: 10px; top: 22px; bottom: -2px; width: 2px; background: rgba(255, 255, 255, .18); }
.route li:last-child::before { display: none; }
.route i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--on-lapis-2); background: var(--lapis-2); margin-top: 4px; position: relative; z-index: 1; animation: dot .5s ease forwards; }
.route small { display: block; color: var(--on-lapis-2); font-size: 14px; line-height: 1.6; }
.route b { font-weight: 500; }
.route .s1, .route .s1 i { animation-delay: .6s; }
.route .s2, .route .s2 i { animation-delay: 1.7s; }
.route .s3, .route .s3 i { animation-delay: 2.9s; }
.route .s4, .route .s4 i { animation-delay: 4.1s; }
.route .s3 b { color: #ffd58a; }
@keyframes lit { to { opacity: 1; } }
@keyframes dot { to { background: var(--teal); border-color: var(--teal); box-shadow: 0 0 0 5px rgba(0, 158, 161, .22); } }
.ticket figcaption { color: var(--on-lapis-2); font-size: 13px; text-align: end; padding-top: 4px; }

/* bands */
.band { padding: 80px 0; }
.band.alt { background: var(--paper); }
.band.dark { background: var(--lapis); color: var(--white); }
h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.6; font-weight: 700; max-width: 22em; }
h3 { font-size: 19px; line-height: 1.7; font-weight: 700; }

.triad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 36px; border-block: 1px solid var(--line); }
.triad > div { padding: 26px 28px 28px 0; }
.triad > div + div { padding-inline-start: 28px; border-inline-start: 1px solid var(--line); }
.triad p { margin-top: 8px; color: var(--ink-2); }

.steps { list-style: none; margin-top: 40px; counter-reset: step; display: grid; gap: 0; max-width: 760px; }
.steps li { counter-increment: step; position: relative; padding: 0 64px 34px 0; }
.steps li::before { content: counter(step, persian); position: absolute; inset-inline-start: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--lapis); color: var(--white); display: grid; place-items: center; font-weight: 700; font-size: 19px; line-height: 1; }
.steps li::after { content: ''; position: absolute; inset-inline-start: 21px; top: 50px; bottom: 6px; width: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps b { display: block; font-size: 19px; line-height: 1.7; padding-top: 5px; }
.steps p { color: var(--ink-2); margin-top: 2px; }

.feat { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 34px 56px; }
.feat dt { font-weight: 700; font-size: 18px; line-height: 1.7; padding-inline-start: 16px; border-inline-start: 4px solid var(--teal); }
.feat dd { margin-top: 6px; color: var(--ink-2); padding-inline-start: 20px; }

.trust { margin-top: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 56px; }
.trust p { color: var(--on-lapis); }
.trust b { color: var(--white); display: block; font-size: 18px; }

details { border-bottom: 1px solid var(--line); }
details:first-of-type { margin-top: 28px; border-top: 1px solid var(--line); }
summary { cursor: pointer; padding: 16px 0; font-weight: 500; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 24px; line-height: 1.4; color: var(--teal-ink); }
details[open] summary::after { content: '−'; }
details p { padding: 0 0 18px; color: var(--ink-2); }

.closing { background: var(--paper); text-align: center; padding: 72px 0; }
.closing .wrap { display: grid; justify-items: center; gap: 26px; }
.closing h2 { max-width: none; }
.foot { background: var(--lapis); color: var(--on-lapis-2); padding: 22px 0; font-size: 15px; }
.foot .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot a { color: var(--on-lapis); }

@media (max-width: 900px) {
  .hero { padding: 44px 0 64px; }
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
  .top nav { display: none; }
  .top-in { gap: 12px; }
  .brand { white-space: nowrap; font-size: 16px; }
  .top .btn { margin-inline-start: auto; padding: 6px 12px; font-size: 14px; }
  .triad { grid-template-columns: 1fr; border-bottom: 0; }
  .triad > div, .triad > div + div { padding: 22px 0; border-inline-start: 0; border-top: 1px solid var(--line); }
  .triad > div:first-child { border-top: 0; }
  .feat, .trust { grid-template-columns: 1fr; }
  .band { padding: 56px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .route li { animation: none; opacity: 1; }
  .route i { animation: none; background: var(--teal); border-color: var(--teal); }
}
