/* AIvidviral landing page. Colours: docs/brand/aividviral.md. */
@font-face {
  font-family: 'Noto Sans Arabic';
  src: url('/assets/NotoSansArabic-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

:root {
  --lime: #d1fe17;
  --ink: #0e1012;
  --raised: #17191c;
  --line: #2a2d31;
  --paper: #f3f4f1;
  --muted: #9b9f98;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
  margin: 0;
}

body {
  background: var(--ink);
  color: var(--paper);
  font: 16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

a {
  color: inherit;
}

[lang='ckb'],
[lang='ar'] {
  font-family: 'Noto Sans Arabic', system-ui, sans-serif;
  font-weight: 700;
  unicode-bidi: isolate;
}

.top,
.bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.mark {
  width: 2.2rem;
  height: 2.2rem;
}

.wordmark {
  height: 1.35rem;
  width: auto;
}

.wordmark .accent {
  fill: var(--lime);
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: 0 1.4rem;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 18px 50px -18px rgb(209 254 23 / 45%);
}

.button.small {
  min-height: 2.4rem;
  padding: 0 1.1rem;
  font-size: 0.9rem;
}

.button.ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--line);
  box-shadow: none;
}

main {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero {
  display: grid;
  justify-items: center;
  gap: 1.4rem;
  padding: 5rem 0 4rem;
  text-align: center;
  background: radial-gradient(50% 60% at 50% 0%, rgb(209 254 23 / 14%), transparent 70%);
}

.kicker {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

h1 span {
  color: var(--lime);
}

.lead {
  max-width: 38rem;
  color: #c9ccc4;
  font-size: 1.15rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.langs {
  color: var(--muted);
  font-weight: 600;
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.steps,
.invite,
.faq {
  display: grid;
  gap: 1.5rem;
  padding: 4rem 0;
  border-top: 1px solid var(--line);
}

.steps ol {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li,
.features article {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--raised);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.9rem;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 800;
}

.steps p,
.features p,
.faq p,
.invite p {
  color: var(--muted);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
  padding-bottom: 4rem;
}

.features h3 {
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
}

.invite {
  justify-items: center;
  text-align: center;
}

.invite .handles {
  color: var(--paper);
  font-size: 1.15rem;
}

.faq details {
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--raised);
}

.faq summary {
  font-weight: 700;
  cursor: pointer;
}

.faq details p {
  margin-top: 0.6rem;
}

.bottom {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
