/*
  bilkollpro.se landing — minimal, RTL-ready.

  No CSS framework, no JS. Every spacing value uses logical properties
  (margin-inline-start, padding-inline, etc.) so when an Arabic / Persian /
  Kurdish section is added later, the layout mirrors automatically.
*/

:root {
  --bg: #fafaf7;
  --fg: #1a1a1a;
  --muted: #5b5b5b;
  --accent: #2563eb;
  --max-width: 38rem;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --radius: 0.75rem;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-serif: "Iowan Old Style", "Apple Garamond", Georgia, "Times New Roman",
    serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111111;
    --fg: #f2f2f2;
    --muted: #a3a3a3;
    --accent: #93c5fd;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.stage {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-block: var(--space-4);
  padding-inline: var(--space-2);
}

.lang + .lang {
  margin-block-start: var(--space-4);
  padding-block-start: var(--space-3);
  border-block-start: 1px solid color-mix(in srgb, var(--muted) 30%, transparent);
}

.lang h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.75rem, 4vw + 0.5rem, 2.5rem);
  line-height: 1.2;
  margin: 0 0 var(--space-1) 0;
  letter-spacing: -0.01em;
}

.lang p {
  margin: 0;
  color: var(--muted);
  max-width: 32rem;
}

/*
  RTL readiness.
  Arabic / Persian / Kurdish will set dir="rtl" on the <section>; the
  browser flips the inline axis for us. The only piece below is a small
  touch-up so the visual rhythm still feels right when a section reads
  right-to-left.
*/
[dir="rtl"] .lang p {
  font-family: var(--font-sans);
}

@media (min-width: 640px) {
  .stage {
    padding-block: 6rem;
    padding-inline: var(--space-3);
  }
}