/* Echo Trail website: dark, quiet, one warm accent — like the game. */
:root {
  --bg: #05060a;
  --surface: #0e1018;
  --raised: #161925;
  --border: rgba(255, 255, 255, 0.09);
  --text: #edeff5;
  --muted: #9aa0b4;
  --faint: #6b7088;
  --accent: #f2d8a7;
  --max: 1040px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

img { max-width: 100%; height: auto; }

/* --- header / footer ------------------------------------------------------ */
.top, .bottom, main > section, main.doc {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 20px;
}

.top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 300;
  font-size: 19px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.brand img { border-radius: 9px; }

nav { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 15px; }
nav a { color: var(--muted); text-decoration: none; padding-block: 6px; }
nav a:hover, nav a[aria-current="page"] { color: var(--text); }
nav a.lang { color: var(--accent); }

.bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 72px;
  padding-block: 28px 44px;
  border-top: 1px solid var(--border);
  color: var(--faint);
  font-size: 14px;
}
.bottom a { color: var(--muted); }

/* --- marketing page ------------------------------------------------------- */
.hero { position: relative; padding-block: 0 8px; }
.hero-art {
  display: block;
  width: 100%;
  border-radius: 22px;
  border: 1px solid var(--border);
  aspect-ratio: 21 / 9;
  object-fit: cover;
}
.hero-text { padding-top: 34px; max-width: 720px; }

h1 {
  margin: 0;
  font-weight: 200;
  font-size: clamp(38px, 7vw, 64px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.1;
}
.doc h1 { letter-spacing: 0.02em; text-transform: none; font-size: clamp(32px, 5vw, 44px); font-weight: 300; }

.tagline { margin: 10px 0 0; color: var(--accent); font-size: 21px; font-weight: 300; }
.lead { color: var(--muted); font-size: 19px; max-width: 62ch; }

.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 26px; }
.badge {
  display: inline-block;
  padding: 12px 22px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--text);
  box-shadow: 0 0 26px rgba(242, 216, 167, 0.18);
}
.platform { color: var(--faint); font-size: 15px; }

h2 {
  margin: 72px 0 22px;
  font-weight: 300;
  font-size: clamp(24px, 3.4vw, 30px);
  letter-spacing: 0.01em;
}
.doc h2 { margin-top: 44px; font-size: 22px; }

.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.cards li {
  padding: 22px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.cards h3 { margin: 0 0 8px; font-weight: 400; font-size: 18px; color: var(--accent); }
.cards p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
.journeys li { border-top: 3px solid var(--accent); }

.shots {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x proximity;
}
.shots img {
  flex: 0 0 auto;
  width: min(62vw, 250px);
  border-radius: 22px;
  border: 1px solid var(--border);
  scroll-snap-align: start;
}

.plain { margin: 0; padding-left: 20px; color: var(--muted); }
.plain li { margin-block: 6px; }

/* --- documents (privacy, support) ----------------------------------------- */
main.doc { max-width: 760px; padding-top: 28px; }
.doc p, .doc li { color: #c5c9d8; }
.doc ul { padding-left: 22px; }
.doc li { margin-block: 8px; }
.doc a { overflow-wrap: anywhere; }

.faq { margin-top: 26px; border-top: 1px solid var(--border); }
details { border-bottom: 1px solid var(--border); }
summary {
  cursor: pointer;
  padding: 16px 28px 16px 0;
  font-size: 18px;
  list-style: none;
  position: relative;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 14px;
  color: var(--accent);
  font-size: 22px;
  font-weight: 300;
}
details[open] summary::after { content: "–"; }
details p { margin: 0 0 18px; }
