:root {
  --page: #eceef3;
  --surface: #ffffff;
  --card: #f1f2f6;
  --ink: #12141a;
  --body: #3e434d;
  --secondary: #555b66;
  --line: #dfe2e8;
  --on: #ffc93d;
  --off: #24305e;
  --maybe: #d9822b;
  --radius: 28px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
}

a { color: inherit; }

.page-shell { max-width: 960px; margin: 0 auto; padding: 32px 20px 64px; }
.page-shell--narrow { max-width: 760px; }

.hero {
  border-radius: 36px;
  padding: 44px 36px 40px;
  color: var(--ink);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.55), transparent 55%),
    linear-gradient(135deg, #fff3a6, #ffd84a 55%, #ffb43c);
}
.hero--night {
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.08), transparent 55%),
    linear-gradient(135deg, #070b22, #18245a 60%, #3a4486);
}
.hero__eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.7;
}
.hero h1 {
  margin: 10px 0 6px;
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.05;
  font-weight: 800;
  font-stretch: expanded;
  letter-spacing: -0.02em;
}
.hero h1 { overflow-wrap: anywhere; hyphens: auto; }
/* The privacy page's long title: narrower type so "конфіденційності" fits a phone. */
.hero--night h1 { font-size: clamp(28px, 6vw, 46px); font-stretch: normal; }
.hero__subtitle { margin: 0; font-size: 20px; font-weight: 600; }
.hero__copy { margin: 14px 0 0; max-width: 560px; opacity: 0.85; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip {
  font-size: 14px; font-weight: 700; padding: 6px 12px; border-radius: 999px;
}
.chip--on { background: #fff; color: #2a1404; }
.chip--off { background: var(--off); color: #fff; }
.chip--maybe { background: var(--maybe); color: #fff; }

.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.button {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 13px 22px; border-radius: 999px; background: rgba(255, 255, 255, 0.6);
}
.button--primary { background: var(--ink); color: #fff; }
.hero--night .button { background: rgba(255, 255, 255, 0.18); }
.hero--night .button--primary { background: #fff; color: var(--ink); }

.panel {
  margin-top: 20px; padding: 32px 28px; border-radius: var(--radius); background: var(--surface);
}
.panel h2 { margin: 0 0 4px; font-size: 26px; letter-spacing: -0.01em; }
.panel > p.lead { margin: 0 0 22px; color: var(--secondary); }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.card {
  display: flex; flex-direction: column; gap: 2px; padding: 18px 20px; border-radius: 20px;
  background: var(--card); text-decoration: none;
}
a.card:hover { background: #e7e9ef; }
.card__label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--secondary);
}
.card strong { font-size: 18px; }
.card span:last-child { color: var(--secondary); font-size: 15px; }

.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq details:first-of-type { border-top: 0; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { margin: 10px 0 0; color: var(--body); }

.document h2 { margin-top: 32px; font-size: 22px; }
.document h2:first-child { margin-top: 0; }
.document p, .document li { color: var(--body); }
.document ul { padding-left: 22px; }
.document .lang { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }

footer { margin-top: 28px; text-align: center; color: var(--secondary); font-size: 14px; }

@media (max-width: 560px) {
  .hero { padding: 32px 22px; border-radius: 28px; }
  .panel { padding: 24px 18px; }
}
