/* EVA Services — single stylesheet for the whole site.
   Pages: index (body.home), terms + privacy (body.doc). */

:root {
  --bg:#ffffff; --fg:#111827; --muted:#6b7280; --card:#f3f4f6; --line:#e5e7eb;
  --accent:#2563eb; --accent2:#1d4ed8; --accent-fg:#ffffff;
}
@media (prefers-color-scheme: dark) {
  :root { --bg:#0b1220; --fg:#e5e7eb; --muted:#94a3b8; --card:#111a2e; --line:#1c2a44;
          --accent:#3b82f6; --accent2:#2563eb; }
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scrollbar-gutter: stable; }
body {
  background:var(--bg); color:var(--fg);
  font:17px/1.6 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  display:flex; min-height:100vh; flex-direction:column;
  overflow-x:hidden;
}
main { flex:1; width:100%; max-width:720px; margin:0 auto; padding:40px 24px 56px; position:relative; }

/* ---- header (shared) ---- */
.head { display:flex; align-items:center; justify-content:space-between; gap:16px; height:35px; margin-bottom:44px; }
/* line-height pinned to the header height so the logo sits at the exact same Y
   on every page, regardless of each page's base line-height. */
.brand { font-weight:700; letter-spacing:.02em; font-size:17px; line-height:35px; color:var(--fg); text-decoration:none; }
.brand span { color:var(--accent); }
.lang { display:flex; gap:4px; background:var(--card); border-radius:999px; padding:4px; }
.lang button {
  border:0; background:transparent; color:var(--muted);
  font-family:inherit; font-size:13px; font-weight:600; line-height:1;
  padding:7px 12px; border-radius:999px; cursor:pointer;
}
.lang button.on { background:var(--accent); color:var(--accent-fg); }

/* ---- landing (body.home) ---- */
.home .head { margin-bottom:64px; }
.home main::before {
  content:""; position:absolute; top:-120px; left:50%; transform:translateX(-50%);
  width:min(560px, 96vw); height:380px; border-radius:50%;
  background:radial-gradient(closest-side, color-mix(in srgb, var(--accent) 16%, transparent), transparent);
  pointer-events:none;
}
h1 { font-size:clamp(28px,5vw,40px); line-height:1.18; margin-bottom:18px; }
.sub { color:var(--muted); max-width:580px; }
.cta {
  display:inline-block; margin:36px 0 12px; padding:15px 30px; border-radius:14px;
  background:linear-gradient(180deg, var(--accent), var(--accent2));
  color:var(--accent-fg); text-decoration:none; font-weight:600;
  transition:transform .15s ease;
}
.cta:hover { transform:translateY(-2px); }
.price { color:var(--muted); font-size:13px; opacity:.55; margin-bottom:8px; }
ul.points { list-style:none; margin:52px 0 0; display:grid; gap:14px; }
ul.points li { background:var(--card); border:1px solid var(--line); border-radius:14px; padding:17px 20px; }

/* ---- documents (body.doc) ---- */
.doc { font-size:16px; line-height:1.65; }
.doc main { max-width:760px; padding-bottom:64px; }
.doc .head { margin-bottom:18px; }
.doc a { color:var(--accent); }
.doc a.brand { color:var(--fg); }
a.back { display:inline-block; color:var(--muted); text-decoration:none; font-size:14px; margin-bottom:24px; }
a.back:hover { color:var(--fg); }
.doc h1 { font-size:26px; line-height:1.25; margin-bottom:4px; }
.doc .sub { margin-bottom:6px; }
.edition { color:var(--muted); font-size:14px; margin:6px 0 32px; }
.doc h2 { font-size:19px; margin:32px 0 12px; }
.doc p, .doc li { margin-bottom:10px; }
.doc ul { padding-left:22px; margin-bottom:10px; }
.req { background:var(--card); border-radius:12px; padding:16px 20px; margin-top:12px; }
.req p { margin-bottom:0; }
.req a { text-decoration:none; font-weight:600; }
.req a:hover { text-decoration:underline; text-underline-offset:3px; }
/* body links: thinner, lower underline reads cleaner in legal text */
.doc main a { text-decoration-thickness:1px; text-underline-offset:3px; }

/* ---- footer (shared) ---- */
footer { border-top:1px solid var(--line); padding:20px 24px; }
.foot {
  max-width:720px; margin:0 auto; display:flex; align-items:center;
  justify-content:space-between; gap:10px 16px; flex-wrap:wrap; font-size:14px;
}
.doc .foot { max-width:760px; }
.copy { color:var(--muted); }
.foot-links a { color:var(--muted); text-decoration:none; }
.foot-links a:hover { color:var(--fg); }
.foot-links .dot { color:var(--muted); margin:0 8px; }
.foot-links .pair { white-space:nowrap; }
@media (max-width:600px) {
  .foot { flex-direction:column; text-align:center; justify-content:center; }
  .foot-links { display:flex; flex-direction:column; gap:6px; align-items:center; }
  .foot-links .dot.mid { display:none; }
}
