:root {
  --ev-bg: #080B1A;
  --ev-accent: #6366F1;
  --ev-surface: #1E1B4B;
  --ev-text: #FFFFFF;
  --ev-radius: 20px;
  --ev-pad: 1.25rem;
  --ev-bar: 3.75rem;
  --ev-dock: 4.25rem;
  --ev-font: "Segoe UI", "Helvetica Neue", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ev-bg);
  color: var(--ev-text);
  font-family: var(--ev-font);
  font-size: 1.02rem;
  line-height: 1.65;
  padding-bottom: calc(var(--ev-dock) + 1rem);
}

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

a {
  color: var(--ev-accent);
  text-underline-offset: 0.18em;
}

a:hover { color: var(--ev-text); }

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

.ev-skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ev-accent);
  color: var(--ev-text);
  padding: 0.45rem 0.85rem;
  z-index: 50;
  text-decoration: none;
  border-radius: 10px;
}

.ev-skip:focus { top: 0.6rem; }

.ev-shell {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.ev-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--ev-bg) 90%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}

.ev-header.is-stuck {
  border-bottom-color: color-mix(in srgb, var(--ev-text) 14%, transparent);
}

.ev-header-inner {
  max-width: 44rem;
  margin: 0 auto;
  min-height: var(--ev-bar);
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ev-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ev-text);
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.ev-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.ev-menu-btn {
  margin-left: auto;
  background: var(--ev-surface);
  color: var(--ev-text);
  border: 0;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font: inherit;
  cursor: pointer;
}

.ev-drawer {
  display: none;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.4rem 1rem 1rem;
  max-width: 44rem;
  margin: 0 auto;
  background: var(--ev-surface);
  border-radius: 0 0 var(--ev-radius) var(--ev-radius);
}

.ev-drawer.is-open { display: flex; }

.ev-drawer a {
  color: var(--ev-text);
  text-decoration: none;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
}

.ev-drawer a:hover,
.ev-drawer a[aria-current="page"] {
  background: color-mix(in srgb, var(--ev-accent) 28%, transparent);
}

.ev-nav-desk {
  display: none;
}

.ev-main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 1.1rem 1rem 2rem;
  display: grid;
  gap: 1rem;
}

.ev-panel {
  background: var(--ev-surface);
  border-radius: var(--ev-radius);
  padding: var(--ev-pad);
}

.ev-panel + .ev-panel { margin-top: 0; }

.ev-hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.45rem, 5vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.ev-hero p,
.ev-panel p {
  margin: 0 0 0.95rem;
}

.ev-panel p:last-child,
.ev-panel ul:last-child { margin-bottom: 0; }

.ev-panel h2 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.ev-panel h3 {
  margin: 1rem 0 0.45rem;
  font-size: 1.05rem;
}

.ev-panel ul {
  margin: 0 0 0.95rem;
  padding-left: 1.15rem;
}

.ev-panel li { margin: 0.35rem 0; }

.ev-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 1 / 1;
  background: var(--ev-bg);
}

.ev-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ev-kicker {
  margin: 0 0 0.5rem;
  color: var(--ev-accent);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ev-faq details {
  border-top: 1px solid color-mix(in srgb, var(--ev-text) 12%, transparent);
  padding: 0.7rem 0;
}

.ev-faq details:first-of-type { border-top: 0; padding-top: 0; }

.ev-faq summary {
  cursor: pointer;
  font-weight: 650;
  list-style: none;
}

.ev-faq summary::-webkit-details-marker { display: none; }

.ev-faq summary::after {
  content: "+";
  float: right;
  color: var(--ev-accent);
}

.ev-faq details[open] summary::after { content: "–"; }

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

.ev-follow ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.ev-follow a {
  display: block;
  text-decoration: none;
  color: var(--ev-text);
  background: color-mix(in srgb, var(--ev-bg) 45%, transparent);
  border-radius: 14px;
  padding: 0.8rem 0.95rem;
}

.ev-follow a:hover {
  background: color-mix(in srgb, var(--ev-accent) 30%, transparent);
}

.ev-footer {
  max-width: 44rem;
  margin: 0 auto 1rem;
  padding: 1.25rem 1rem 1.5rem;
  display: grid;
  gap: 0.85rem;
  color: color-mix(in srgb, var(--ev-text) 78%, transparent);
}

.ev-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
}

.ev-footer a { color: var(--ev-text); }

.ev-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  background: color-mix(in srgb, var(--ev-surface) 94%, transparent);
  backdrop-filter: blur(14px);
  border-top: 1px solid color-mix(in srgb, var(--ev-text) 12%, transparent);
  padding: 0.35rem 0.4rem calc(0.35rem + env(safe-area-inset-bottom));
}

.ev-dock-inner {
  max-width: 44rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.2rem;
}

.ev-dock a {
  text-decoration: none;
  color: color-mix(in srgb, var(--ev-text) 72%, transparent);
  text-align: center;
  font-size: 0.68rem;
  line-height: 1.2;
  padding: 0.45rem 0.2rem;
  border-radius: 12px;
}

.ev-dock a[aria-current="page"],
.ev-dock a:hover {
  color: var(--ev-text);
  background: color-mix(in srgb, var(--ev-accent) 28%, transparent);
}

.ev-legal .ev-panel section { margin-top: 1.1rem; }

.ev-legal .ev-panel section:first-of-type { margin-top: 0.6rem; }

.ev-cookie {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: calc(var(--ev-dock) + 0.75rem);
  z-index: 45;
  max-width: 28rem;
  margin: 0 auto;
  background: var(--ev-surface);
  border-radius: var(--ev-radius);
  padding: 1rem;
  display: grid;
  gap: 0.75rem;
  box-shadow: 0 12px 40px color-mix(in srgb, var(--ev-bg) 70%, transparent);
}

.ev-cookie[hidden] { display: none; }

.ev-cookie p { margin: 0; font-size: 0.95rem; }

.ev-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.ev-cookie button {
  background: var(--ev-accent);
  color: var(--ev-text);
  border: 0;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font: inherit;
  cursor: pointer;
}

.js .ev-rise {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.js .ev-rise.is-in {
  opacity: 1;
  transform: none;
}

@media (min-width: 760px) {
  body { padding-bottom: 1.5rem; }

  .ev-menu-btn,
  .ev-drawer,
  .ev-dock { display: none; }

  .ev-nav-desk {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.85rem;
    margin-left: auto;
    justify-content: flex-end;
  }

  .ev-nav-desk a {
    color: color-mix(in srgb, var(--ev-text) 80%, transparent);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.35rem 0.4rem;
    border-radius: 8px;
  }

  .ev-nav-desk a:hover,
  .ev-nav-desk a[aria-current="page"] {
    color: var(--ev-text);
    background: color-mix(in srgb, var(--ev-accent) 24%, transparent);
  }

  .ev-main {
    max-width: 58rem;
    gap: 1.15rem;
  }

  .ev-header-inner,
  .ev-footer {
    max-width: 58rem;
  }

  .ev-split {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1rem;
    align-items: start;
  }

  .ev-cookie { bottom: 1.25rem; right: 1.25rem; left: auto; }
}
