/* Khorshid landing pages (/projects/khorshid/ and /projects/khorshid/fa/). Same tokens and components as /index.html. */
@font-face { font-family: Anton; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/anton-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+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Inter; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/inter-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+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Vazirmatn; font-weight: 100 900; font-display: swap; src: url(/projects/khorshid/fonts/Vazirmatn.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF; }
:root {
  --bg: #1f1f1f; --surface: #2a2a2a; --line: #3a3a3a; --text: #f4f4f2; --muted: #a9a9a4;
  --green: #5fcc33; --green-ink: #12200b; --sun: #fff3d6;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.75 Inter, Vazirmatn, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.display { font-family: Anton, Vazirmatn, Impact, sans-serif; font-weight: 400; letter-spacing: .01em; text-transform: uppercase; line-height: 1.05; }
:lang(fa) .display { font-family: Vazirmatn, sans-serif; font-weight: 900; letter-spacing: 0; line-height: 1.25; }
.green { color: var(--green); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

nav { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; }
nav .mark { font-family: Anton, Impact, sans-serif; font-size: 22px; text-decoration: none; letter-spacing: .02em; direction: ltr; }
nav ul { list-style: none; display: flex; gap: 24px; margin: 0; padding: 0; font-size: 14px; color: var(--muted); }
nav ul a { text-decoration: none; }
nav ul a:hover { color: var(--text); }

.hero { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; padding: 40px 0 72px; }
.eyebrow { color: var(--green); font-weight: 600; font-size: 14px; letter-spacing: .08em; margin: 0 0 14px; }
.brand { display: flex; align-items: center; gap: 16px; margin: 0 0 16px; }
.brand img { width: 64px; height: 64px; border-radius: 16px; }
h1 { font-size: clamp(52px, 8vw, 88px); margin: 0; }
.sub { font-size: clamp(20px, 2.6vw, 26px); margin: 0 0 28px; max-width: 20em; color: #e6e6e2; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font: 600 15px/1.2 Inter, Vazirmatn, system-ui, sans-serif; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s ease; min-height: 48px; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--green); color: var(--green-ink); }
.btn.ghost { border: 1.5px solid var(--line); color: var(--text); }
.meta { color: var(--muted); font-size: 14px; margin: 16px 0 0; }
.shot { border-radius: 14px; box-shadow: 0 30px 60px rgba(0,0,0,.45); }

section { padding: 72px 0; border-top: 1px solid var(--line); }
h2 { font-size: clamp(34px, 5vw, 52px); margin: 0 0 28px; }
.lede { color: #d6d6d2; font-size: 19px; max-width: 36em; margin: 0 0 28px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border-radius: 18px; padding: 24px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: #cfcfca; font-size: 15px; }
kbd { font: 13px ui-monospace, monospace; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; padding: 0 5px; background: var(--bg); }

.feature { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: center; margin-bottom: 56px; }
.feature:last-child { margin-bottom: 0; }
.feature h3 { font-size: 26px; margin: 0 0 10px; line-height: 1.35; }
.feature p { color: #d6d6d2; margin: 0 0 10px; }

.widget { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.widget iframe { width: 100%; height: 430px; border: 0; border-radius: 14px; background: #191919; }

ol.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
ol.steps li { counter-increment: s; background: var(--surface); border-radius: 18px; padding: 24px; color: #d6d6d2; }
ol.steps li::before { content: counter(s); display: block; font: 400 40px/1 Anton, Vazirmatn, sans-serif; color: var(--green); margin-bottom: 10px; }
:lang(fa) ol.steps li::before { content: counter(s, persian); font-weight: 900; }

.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq p { color: #d6d6d2; margin: 12px 0 0; max-width: 40em; }

footer { padding: 40px 0 56px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
footer a { text-underline-offset: 3px; }

@media (max-width: 820px) {
  nav ul { display: none; }
  .hero, .feature, .widget { grid-template-columns: 1fr; }
  .hero { padding-top: 8px; gap: 32px; }
  .cards, ol.steps { grid-template-columns: 1fr; }
  .feature { gap: 20px; }
  .feature .shot { order: 2; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
