:root {
  --bg: #0a0e14;
  --bg-elev: #121922;
  --text: #e8edf4;
  --text-muted: #8b98a8;
  --accent: #3dd6c3;
  --accent-dim: rgba(61, 214, 195, 0.12);
  --border: rgba(232, 237, 244, 0.08);
  --font: "Instrument Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(232, 237, 244, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 237, 244, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, black 20%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.glow-1 {
  width: 420px;
  height: 420px;
  background: var(--accent);
  top: -120px;
  right: -80px;
}

.glow-2 {
  width: 320px;
  height: 320px;
  background: #4a6fa5;
  bottom: 10%;
  left: -100px;
  opacity: 0.2;
}

.top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
}

.logo {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.logo-link {
  text-decoration: none;
}

.logo-link:hover {
  color: var(--accent);
}

.link-quiet {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.link-quiet:hover {
  color: var(--accent);
}

.hero {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  width: 100%;
}

.badge {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(61, 214, 195, 0.25);
  border-radius: 999px;
  width: fit-content;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4.5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.accent {
  color: var(--accent);
  font-weight: 600;
}

.lead {
  margin: 0 0 1.75rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 34em;
}

.pill-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill-row li {
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.foot {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem 2rem;
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.foot-min {
  justify-content: center;
  border-top: none;
}

.domain {
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}

.copy {
  opacity: 0.85;
}

/* Riservata */
.panel {
  position: relative;
  z-index: 1;
  flex: 1;
  max-width: 480px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.panel-title {
  margin: 0 0 1rem;
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.panel-text {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.panel-text.muted {
  font-size: 0.95rem;
  opacity: 0.9;
}

.panel-actions {
  margin: 1.5rem 0 0;
}

.btn {
  display: inline-block;
  padding: 0.65rem 1.15rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bg);
  background: var(--accent);
  text-decoration: none;
  border-radius: 8px;
  transition: filter 0.2s ease, transform 0.15s ease;
}

.btn:hover {
  filter: brightness(1.08);
}

.btn:active {
  transform: scale(0.98);
}
