:root {
  --ink: #07131c;
  --ink-mid: #0e2433;
  --mist: #d7e4ef;
  --mist-dim: rgba(215, 228, 239, 0.72);
  --mist-soft: rgba(215, 228, 239, 0.14);
  --dawn: #e3a14a;
  --dawn-soft: #c9843a;
  --horizon: #2a6f7a;
  --ok: #3dba8a;
  --warn: #e3a14a;
  --fail: #e06b6b;
  --unknown: #7a8b99;
  --panel: rgba(8, 22, 34, 0.72);
  --line: rgba(215, 228, 239, 0.12);
  --font-display: "Syne", "Avenir Next", sans-serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--font-body);
  color: var(--mist);
  background: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
}

.sky {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% 115%, rgba(227, 161, 74, 0.22) 0%, transparent 42%),
    radial-gradient(70% 50% at 78% 18%, rgba(42, 111, 122, 0.32) 0%, transparent 55%),
    radial-gradient(55% 40% at 18% 28%, rgba(14, 36, 51, 0.9) 0%, transparent 60%),
    linear-gradient(180deg, #050d14 0%, var(--ink) 38%, #0a1c28 72%, #132a34 100%);
}
.sky::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255,255,255,0.03) 2px,
      rgba(255,255,255,0.03) 3px
    );
  opacity: 0.45;
  animation: grain 18s linear infinite;
}

.flock {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.bird {
  position: absolute;
  width: 28px;
  height: 14px;
  opacity: 0.55;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.35));
  animation: fly linear infinite;
}
.bird svg { width: 100%; height: 100%; display: block; }
.bird:nth-child(1) { top: 12%; left: -8%; animation-duration: 42s; animation-delay: -5s; width: 34px; opacity: 0.7; }
.bird:nth-child(2) { top: 22%; left: -12%; animation-duration: 55s; animation-delay: -18s; width: 22px; opacity: 0.4; }
.bird:nth-child(3) { top: 18%; left: -5%; animation-duration: 38s; animation-delay: -28s; width: 40px; opacity: 0.65; }
.bird:nth-child(4) { top: 35%; left: -15%; animation-duration: 48s; animation-delay: -8s; width: 26px; opacity: 0.45; }
.bird:nth-child(5) { top: 8%; left: -10%; animation-duration: 60s; animation-delay: -33s; width: 18px; opacity: 0.35; }
.bird:nth-child(6) { top: 42%; left: -6%; animation-duration: 44s; animation-delay: -12s; width: 30px; opacity: 0.5; }
.bird:nth-child(7) { top: 28%; left: -18%; animation-duration: 52s; animation-delay: -40s; width: 24px; opacity: 0.38; }
.bird:nth-child(8) { top: 15%; left: -3%; animation-duration: 36s; animation-delay: -2s; width: 36px; opacity: 0.6; }
.bird:nth-child(9) { top: 48%; left: -14%; animation-duration: 58s; animation-delay: -22s; width: 20px; opacity: 0.32; }
.bird:nth-child(10) { top: 6%; left: -20%; animation-duration: 50s; animation-delay: -15s; width: 28px; opacity: 0.48; }
.bird:nth-child(11) { top: 55%; left: -9%; animation-duration: 46s; animation-delay: -30s; width: 32px; opacity: 0.42; }
.bird:nth-child(12) { top: 31%; left: -22%; animation-duration: 40s; animation-delay: -7s; width: 25px; opacity: 0.55; }

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.15rem clamp(1rem, 3vw, 2rem);
  position: relative;
  z-index: 2;
}
.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--mist);
  text-decoration: none;
  letter-spacing: -0.03em;
}
.top nav { display: flex; gap: 1rem; align-items: center; }
.top a { color: var(--mist-dim); text-decoration: none; font-weight: 600; }
.top a:hover { color: var(--mist); }
.inline { display: inline; margin: 0; }
.linkish {
  background: none;
  border: none;
  color: var(--dawn);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

main {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 1.5rem) 3.5rem;
  position: relative;
  z-index: 1;
}

.hero {
  min-height: calc(100vh - 6.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 0 3rem;
  animation: rise 0.8s ease-out both;
}
.brand-hero {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 5.4rem);
  font-weight: 800;
  margin: 0 0 0.35rem;
  letter-spacing: -0.04em;
  color: var(--mist);
  text-shadow: 0 8px 40px rgba(0,0,0,0.35);
  animation: crow 1.15s ease-out 0.15s both;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3.2vw, 1.85rem);
  font-weight: 600;
  margin: 0 0 0.85rem;
  max-width: 22ch;
  color: var(--mist-dim);
}
.lede { color: var(--mist-dim); max-width: 34rem; font-size: 1.08rem; }
.cta { margin-top: 1.6rem; display: flex; gap: 0.75rem; flex-wrap: wrap; }

.band { padding: 2.4rem 0 0.5rem; }
.band h2 {
  font-family: var(--font-display);
  margin: 0 0 0.45rem;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}
.band-alt {
  margin-top: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.btn {
  display: inline-block;
  background: linear-gradient(180deg, var(--dawn) 0%, var(--dawn-soft) 100%);
  color: #1a1208;
  border: none;
  border-radius: 3px;
  padding: 0.78rem 1.25rem;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
  box-shadow: 0 8px 28px rgba(227, 161, 74, 0.22);
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn-small { padding: 0.45rem 0.9rem; font-size: 0.95rem; box-shadow: none; }
.btn-ghost {
  background: transparent;
  color: var(--mist);
  border: 1px solid var(--line);
  box-shadow: none;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1.35rem 1.3rem;
  margin: 1.2rem 0;
  backdrop-filter: blur(10px);
  border-radius: 4px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.22);
}
.panel h1, .panel h2 {
  font-family: var(--font-display);
  margin-top: 0;
  letter-spacing: -0.02em;
}
.dash-head h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 0 0 0.35rem;
  letter-spacing: -0.03em;
}
.dash-head p { color: var(--mist-dim); margin-top: 0; }

.stack { display: grid; gap: 0.85rem; }
.stack.tight { margin-top: 0.5rem; }
label { display: grid; gap: 0.35rem; font-weight: 600; color: var(--mist); }
input[type="email"], input[type="text"] {
  font: inherit;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(5, 13, 20, 0.65);
  color: var(--mist);
}
input::placeholder { color: rgba(215, 228, 239, 0.35); }
.checks {
  border: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.45rem;
  color: var(--mist-dim);
}
.checks label { font-weight: 500; display: flex; gap: 0.4rem; align-items: center; }
.checks legend { font-weight: 700; margin-bottom: 0.35rem; color: var(--mist); }

.flash {
  max-width: 960px;
  margin: 0 auto 0.75rem;
  padding: 0.75rem clamp(1rem, 3vw, 1.5rem);
  position: relative;
  z-index: 2;
}
.flash-ok { color: var(--ok); }
.flash-error { color: var(--fail); }

.domain-list { list-style: none; padding: 0; margin: 0; }
.domain-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
}
.domain-list li:last-child { border-bottom: none; }
.muted { color: var(--mist-dim); font-size: 0.92rem; }
.pills { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0.45rem 0; }
.pill {
  font-size: 0.72rem;
  padding: 0.18rem 0.48rem;
  border-radius: 2px;
  background: var(--mist-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
}
.pill-ok { background: rgba(61,186,138,0.16); color: var(--ok); }
.pill-warn { background: rgba(227,161,74,0.16); color: var(--warn); }
.pill-fail { background: rgba(224,107,107,0.16); color: var(--fail); }
.pill-unknown { color: var(--unknown); }

.price-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}
.price-card {
  border: 1px solid var(--line);
  padding: 1rem 1.05rem;
  background: rgba(5, 13, 20, 0.35);
  border-radius: 4px;
}
.price-card strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  display: block;
  margin-bottom: 0.25rem;
}

.foot {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem clamp(1rem, 3vw, 1.5rem) 3.5rem;
  color: var(--mist-dim);
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}
.foot a { color: var(--dawn); }

.cookie {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  max-width: 520px;
  margin: 0 auto;
  background: rgba(5, 13, 20, 0.94);
  color: var(--mist);
  padding: 1rem 1.1rem;
  border-radius: 4px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(0,0,0,0.45);
  z-index: 50;
  animation: rise 0.35s ease-out;
}
.cookie-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.75rem; }
.cookie .btn-ghost { color: var(--mist); border-color: var(--line); }

.legal ul { padding-left: 1.2rem; color: var(--mist-dim); }
.danger-zone { border-color: rgba(224,107,107,0.28); }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes crow {
  0% { opacity: 0; transform: translateY(10px) scale(0.98); }
  100% { opacity: 1; transform: none; }
}
@keyframes fly {
  0% { transform: translate3d(0, 0, 0) scaleX(1); }
  45% { transform: translate3d(55vw, -18px, 0) scaleX(1); }
  50% { transform: translate3d(58vw, -10px, 0) scaleX(-1); }
  95% { transform: translate3d(110vw, 12px, 0) scaleX(-1); }
  100% { transform: translate3d(115vw, 0, 0) scaleX(-1); }
}
@keyframes grain {
  from { transform: translateY(0); }
  to { transform: translateY(-3px); }
}

@media (max-width: 640px) {
  .domain-list li { flex-direction: column; }
  .hero { min-height: auto; padding-top: 2.5rem; }
  .bird { opacity: 0.35; }
}

@media (prefers-reduced-motion: reduce) {
  .bird, .sky::after { animation: none !important; }
  .hero, .brand-hero, .cookie { animation: none !important; }
}
