:root {
  --night: #0e0b14;
  --ink: #17131f;
  --panel: #241e30;
  --line: #3a3248;
  --cream: #f5f1ea;
  --muted: #b9b0c7;
  --coral: #ff5a3c;
  --lemon: #ffd23f;
  --mint: #2fd39a;
  --sky: #4fe3ff;
  --font: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
}

a { color: var(--lemon); text-underline-offset: 3px; }
a:hover { color: #ffe27a; }

.wrap { max-width: 880px; margin: 0 auto; padding: 0 16px; }

/* Header */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.brand img { width: 36px; height: 36px; }
.nav { display: flex; gap: 18px; font-weight: 700; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--cream); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  padding-block: 40px 56px;
}
.hero img {
  width: min(220px, 56vw);
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(255, 210, 63, 0.18));
}
.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--mint);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
h1 {
  margin: 0 0 14px;
  font-size: clamp(36px, 8vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-weight: 900;
}
h1 em { font-style: normal; color: var(--lemon); }
.lede { margin: 0 0 24px; color: var(--muted); font-size: 19px; max-width: 34em; }
.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 16px;
  background: var(--coral);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}
.cta:hover { color: #fff; filter: brightness(1.06); }
.cta-note { margin: 10px 0 0; color: var(--muted); font-size: 14px; }

@media (min-width: 720px) {
  .hero { grid-template-columns: 1.4fr 1fr; padding-block: 64px 72px; }
  .hero img { justify-self: center; width: 240px; }
}

/* Feature cards */
.cards { display: grid; grid-template-columns: 1fr; gap: 14px; padding-bottom: 56px; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
}
.card h3 { margin: 0 0 6px; font-size: 19px; font-weight: 800; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; }

/* Sections */
section.wrap { padding-block: 8px 48px; }
h2 { margin: 0 0 16px; font-size: 28px; font-weight: 900; letter-spacing: -0.01em; }
.contact {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 22px;
}
.contact p { margin: 0 0 6px; }
.contact .mail { font-size: 20px; font-weight: 800; word-break: break-word; }

details {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
details:first-of-type { border-top: 1px solid var(--line); }
summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--lemon); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "\2212"; }
details p { margin: 10px 0 0; color: var(--muted); }

/* Policy page */
.doc { padding-block: 24px 56px; max-width: 42em; }
.doc h1 { font-size: clamp(32px, 7vw, 44px); }
.doc h2 { font-size: 21px; margin: 32px 0 8px; }
.doc p, .doc li { color: #ddd6e6; }
.doc ul { padding-left: 22px; }
.doc .updated { color: var(--muted); margin-top: 0; }
.summary {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--mint);
  border-radius: 14px;
  padding: 16px 18px;
  color: var(--cream);
}

/* Footer */
footer {
  border-top: 1px solid var(--line);
  background: var(--night);
  color: var(--muted);
  font-size: 14px;
}
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; padding-block: 22px; }
footer a { color: var(--muted); }
