:root {
  color-scheme: dark;
  --ink: #f4f5ee;
  --muted: #b6bdac;
  --surface: #171b14;
  --surface-raised: #20261c;
  --line: #343d2c;
  --accent: #d8ff4f;
  --accent-ink: #13170e;
  --orange: #ffb238;
  --page: #0f120d;
  --max: 1160px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 12% 4%, rgba(216, 255, 79, 0.08), transparent 28rem),
    var(--page);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.65;
}

a { color: inherit; }

img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  z-index: 10;
  inset: 0 auto auto 0;
  transform: translateY(-120%);
  padding: .8rem 1rem;
  background: var(--accent);
  color: var(--accent-ink);
}

.skip-link:focus { transform: none; }

.site-header,
.site-footer {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header {
  min-height: 88px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-weight: 760;
  letter-spacing: -.02em;
  text-decoration: none;
}

.brand img { border-radius: 12px; }

.header-actions,
.main-nav {
  display: flex;
  align-items: center;
  gap: .4rem;
}

.main-nav a {
  padding: .55rem .75rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: .9rem;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a[aria-current="page"] {
  background: var(--surface-raised);
  color: var(--ink);
}

.language-control select {
  min-height: 42px;
  max-width: 10rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .45rem 2rem .45rem .8rem;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}

.hero {
  width: min(calc(100% - 2rem), var(--max));
  margin: 3.5rem auto;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 6.5rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 780;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -.04em;
}

.hero-copy {
  min-width: 0;
  overflow-wrap: anywhere;
}

.hero h1 {
  max-width: min(100%, 13ch);
  overflow-wrap: anywhere;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
}

.hero-body {
  max-width: 60ch;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}

.store-button {
  min-width: 178px;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  border: 1px solid #59624e;
  border-radius: 12px;
  padding: .7rem .9rem;
  background: #050604;
  text-decoration: none;
}

.store-button:hover,
.store-button:focus-visible { border-color: var(--accent); }

.store-button span:last-child { display: grid; line-height: 1.06; }
.store-button small { color: var(--muted); font-size: .66rem; }
.store-button strong { margin-top: .2rem; font-size: 1.08rem; }

.store-icon {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #050604;
  font-size: 1.1rem;
  font-weight: 820;
}

.store-icon.play { font-size: .8rem; }

.store-note {
  margin: .8rem 0 0;
  color: #828a78;
  font-size: .8rem;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: var(--surface);
  box-shadow: 0 32px 80px rgba(0, 0, 0, .38);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(8, 10, 7, .82));
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}

.road-card {
  position: absolute;
  z-index: 1;
  inset: auto 1.25rem 1.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  background: rgba(17, 20, 15, .84);
  backdrop-filter: blur(12px);
}

.road-card-label { min-width: 0; overflow-wrap: anywhere; color: var(--muted); }
.road-card-value { color: var(--accent); font-weight: 720; min-width: 0; overflow-wrap: anywhere; }

.principle-card {
  width: min(calc(100% - 2rem), var(--max));
  margin: 6rem auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.principle-card h2 {
  max-width: min(100%, 22ch);
  overflow-wrap: anywhere;
  font-size: clamp(2rem, 4.3vw, 4.1rem);
}

.text-link {
  display: inline-block;
  margin-top: 1.75rem;
  color: var(--accent);
  font-weight: 700;
  text-underline-offset: .25rem;
}

.document-shell {
  width: min(calc(100% - 2rem), 820px);
  min-height: calc(100vh - 190px);
  margin: 4rem auto 6rem;
}

.legal-document > h1 {
  max-width: 18ch;
  margin-bottom: 1.2rem;
  font-size: clamp(2.6rem, 7vw, 5rem);
}

.legal-document h2 {
  margin: 3.2rem 0 1rem;
  padding-top: .8rem;
  border-top: 1px solid var(--line);
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.legal-document p,
.legal-document li { color: var(--muted); }
.legal-document strong { color: var(--ink); }
.legal-document a { color: var(--accent); text-underline-offset: .2rem; }
.legal-document ul { padding-inline-start: 1.25rem; }
.legal-document li + li { margin-top: .5rem; }

.manifesto-shell { width: min(calc(100% - 2rem), 980px); }
.manifesto-document > h1 { max-width: 14ch; color: var(--accent); }
.manifesto-document > p:first-of-type { color: var(--orange); font-weight: 750; }
.manifesto-document h2 { font-size: clamp(1.8rem, 4vw, 3.2rem); }

.site-footer {
  min-height: 100px;
  border-top: 1px solid var(--line);
  color: #899181;
  font-size: .9rem;
}

.site-footer a { color: var(--muted); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

@media (max-width: 820px) {
  .site-header { align-items: flex-start; padding: 1rem 0; }
  .header-actions { align-items: flex-end; flex-direction: column-reverse; }
  .main-nav { flex-wrap: wrap; justify-content: flex-end; }
  .hero { grid-template-columns: 1fr; margin-top: 2.5rem; }
  .hero-visual,
  .hero-visual img { min-height: 480px; }
}

@media (max-width: 560px) {
  .site-header { align-items: center; }
  .brand span { display: none; }
  .header-actions { align-items: stretch; gap: .6rem; }
  .main-nav { gap: .1rem; }
  .main-nav a { padding: .4rem .5rem; font-size: .82rem; }
  .language-control select { width: 100%; max-width: none; }
  .hero { margin-block: 2rem 4rem; }
  .hero-visual,
  .hero-visual img { min-height: 390px; }
  .road-card { align-items: flex-start; flex-direction: column; }
  .principle-card { margin-block: 4rem; }
  .site-footer { align-items: flex-start; flex-direction: column; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Text direction is scoped to copy; the page layout always stays LTR. */
[dir="rtl"] { text-align: right; }
