:root {
  --bg: #f5f1e8;
  --ink: #1e1e1e;
  --muted: #666056;
  --yellow: #f7c948;
  --orange: #f08a24;
  --dark: #252525;
  --card: rgba(255, 255, 255, 0.82);
  --line: rgba(30, 30, 30, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(247,201,72,.20) 0 25%, transparent 25% 50%, rgba(247,201,72,.20) 50% 75%, transparent 75%) 0 0 / 72px 72px,
    radial-gradient(circle at top left, #fff9dc, transparent 34rem),
    var(--bg);
  display: flex;
  flex-direction: column;
}

.page-shell {
  width: min(1080px, calc(100% - 32px));
  margin: auto;
  padding: 64px 0 32px;
}

.hero {
  min-height: 68vh;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 18px;
  padding: 28px 18px;
}

.brand-wrap {
  display: grid;
  justify-items: center;
  gap: 12px;
}

.logo {
  width: min(320px, 72vw);
  height: auto;
  display: block;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  box-shadow: 0 8px 30px rgba(0,0,0,.08);
  font-weight: 700;
  letter-spacing: .02em;
}

.sign {
  width: min(560px, 100%);
  background: var(--yellow);
  border: 10px solid var(--dark);
  border-radius: 22px;
  box-shadow: var(--shadow);
  transform: rotate(-1.5deg);
  overflow: hidden;
}

.sign-top,
.sign-bottom {
  padding: 16px 18px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.sign-top {
  background: var(--dark);
  color: white;
  font-size: clamp(1.1rem, 2.4vw, 1.7rem);
}

.sign-icon {
  font-size: clamp(4.8rem, 13vw, 8.5rem);
  line-height: 1;
  padding: 28px 16px 16px;
  filter: drop-shadow(0 12px 12px rgba(0,0,0,.22));
}

.sign-bottom {
  font-size: clamp(1.2rem, 3.4vw, 2.35rem);
  line-height: 1.1;
}

h1 {
  margin: 8px 0 0;
  font-size: clamp(2.2rem, 7vw, 5rem);
  line-height: .96;
  letter-spacing: -.055em;
}

.intro {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.03rem, 2vw, 1.28rem);
  line-height: 1.55;
}

.counter-card {
  width: min(120px, 100%);
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 6px 16px rgba(0,0,0,.06);
  display: grid;
  gap: 1px;
}

.counter-label,
.counter-note {
  color: var(--muted);
  font-size: .55rem;
  line-height: 1.2;
}

.counter-card strong {
  font-size: clamp(.9rem, 2.2vw, 1.2rem);
  line-height: 1;
  letter-spacing: -.02em;
}

.footer {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: .95rem;
}

.footer nav { display: flex; gap: 18px; flex-wrap: wrap; }

a { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; }
a:hover { color: var(--ink); }

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  max-width: 980px;
  margin: 0 auto;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.96);
  box-shadow: 0 18px 60px rgba(0,0,0,.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cookie-banner p { margin: 4px 0 0; color: var(--muted); line-height: 1.4; }

.cookie-banner button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  background: var(--dark);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.cookie-banner button:hover { background: #000; }

.legal-page {
  width: min(860px, calc(100% - 32px));
  margin: 48px auto;
  padding: 34px;
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 16px 50px rgba(0,0,0,.10);
  line-height: 1.6;
}

.legal-page h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
.legal-page h2 { margin-top: 30px; }
.legal-page .back { display: inline-block; margin-bottom: 24px; }

@media (max-width: 680px) {
  .page-shell { padding-top: 32px; }
  .sign { border-width: 7px; border-radius: 18px; }
  .logo { width: min(250px, 78vw); }
  .counter-card { width: min(110px, 100%); }
  .cookie-banner { align-items: stretch; flex-direction: column; }
  .cookie-banner button { width: 100%; }
}
