:root {
  color-scheme: light dark;
  --bg: #f6f7f3;
  --panel: #ffffff;
  --ink: #17201b;
  --muted: #617063;
  --line: rgba(23, 32, 27, 0.14);
  --accent: #e85d24;
  --accent-dark: #b83e15;
  --soft: #f1ece3;
  --shadow: 0 22px 60px rgba(20, 27, 22, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #ffe7d7, transparent 34rem), var(--bg);
  color: var(--ink);
}

.shell {
  width: min(100%, 720px);
  margin: 0 auto;
  padding: 20px;
}

.tag {
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  background: #25332b;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.72));
}

.hero img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #111827;
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-copy {
  color: white;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.status {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(4rem, 18vw, 7rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.content {
  padding: 24px;
}

.content h2 {
  margin: 0 0 8px;
  font-size: 1.55rem;
  letter-spacing: 0;
}

.content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.verify-panel,
.contact-panel,
.note-panel {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--soft);
}

.verify-panel {
  display: grid;
  gap: 12px;
}

#turnstile-widget {
  min-height: 70px;
}

.status-line {
  min-height: 1.4em;
  font-size: 0.95rem;
  color: var(--muted);
}

.status-line.error {
  color: #b42318;
}

.contact-panel[hidden] {
  display: none;
}

.actions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 850;
  color: white;
  background: var(--accent);
}

.button.secondary {
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
}

.button:focus-visible {
  outline: 3px solid rgba(232, 93, 36, 0.35);
  outline-offset: 3px;
}

.small {
  margin-top: 12px;
  font-size: 0.88rem;
  color: var(--muted);
}

.loading,
.not-found {
  padding: 32px;
}

@media (max-width: 520px) {
  .shell {
    padding: 0;
  }

  .tag {
    min-height: 100vh;
    border: 0;
    border-radius: 0;
  }

  .hero {
    min-height: 54vh;
    padding: 22px;
  }

  .content {
    padding: 22px;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101411;
    --panel: #171d19;
    --ink: #f5f7f2;
    --muted: #b6c0b6;
    --line: rgba(245, 247, 242, 0.16);
    --soft: #202720;
    --shadow: none;
  }
}
