:root {
  --bg: #0c111a;
  --bg-soft: #121a28;
  --card: #0f1622;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f6f8fc;
  --muted: #9aacbf;
  --accent: #ffd166;
  --accent-2: #8bd9ff;
}

* { box-sizing: border-box; }

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

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(139, 217, 255, 0.2), transparent 38%),
    radial-gradient(circle at 88% 16%, rgba(255, 209, 102, 0.18), transparent 42%),
    linear-gradient(160deg, var(--bg), #10192a);
}

body.drawer-open {
  overflow: hidden;
}

.container {
  width: min(1080px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  background: rgba(10, 15, 24, 0.7);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  text-decoration: none;
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-card {
  margin: min(9vh, 90px) auto;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(150deg, rgba(255, 209, 102, 0.08), rgba(139, 217, 255, 0.06));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  padding: clamp(28px, 5vw, 56px);
}

.eyebrow {
  margin: 0;
  color: var(--accent-2);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
}

h1 {
  margin: 10px 0 0;
  line-height: 1.06;
  font-size: clamp(34px, 6.2vw, 68px);
  max-width: 920px;
}

.hero-copy {
  margin: 16px 0 0;
  font-size: clamp(16px, 1.8vw, 22px);
  line-height: 1.6;
  color: var(--muted);
  max-width: 820px;
}

.chip-row {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  padding: 8px 12px;
  font-size: 13px;
  color: var(--text);
}

.cta-row {
  margin-top: 24px;
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #1f1705;
  background: var(--accent);
}

.btn-ghost {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.btn-full {
  width: 100%;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(8, 12, 20, 0.55);
}

.footer-row {
  padding: 14px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.copyright {
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 14px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--text);
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(8, 12, 20, 0.72);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.drawer-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 40;
  height: 100vh;
  width: min(430px, 100vw);
  background: var(--card);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform 0.24s ease;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.drawer.open {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

h2 {
  margin: 8px 0 0;
  font-size: clamp(24px, 5vw, 34px);
  line-height: 1.12;
}

.muted {
  color: var(--muted);
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.5;
}

.icon-btn {
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 34px;
  height: 34px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.icon-btn:hover {
  color: var(--text);
}

.stack-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}

.field input,
.field textarea {
  background: var(--bg-soft);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
}

.agree {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.agree input {
  accent-color: var(--accent);
}

.agree a {
  color: var(--accent-2);
  text-decoration: none;
}

.agree a:hover {
  color: var(--text);
}

.fine {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}

.toast {
  margin-top: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  padding: 10px 12px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.page-shell {
  margin: min(8vh, 84px) auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(14, 21, 33, 0.7);
  padding: clamp(20px, 4vw, 34px);
}

.page-shell p,
.page-shell li {
  color: var(--muted);
  line-height: 1.7;
}

.page-shell ul {
  margin: 10px 0;
  padding-left: 18px;
}

@media (max-width: 1024px) {
  h1 {
    font-size: clamp(32px, 7vw, 56px);
  }
}

@media (max-width: 768px) {
  .hero-card {
    margin-top: 22px;
  }

  .footer-row {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .nav-wrap {
    padding: 12px 0;
  }

  .brand {
    font-size: 16px;
  }

  .btn {
    padding: 9px 14px;
    font-size: 13px;
  }
}
