@font-face {
  font-family: "Inter";
  src: url("./assets/fonts/Inter-Regular.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Inter";
  src: url("./assets/fonts/Inter-Medium.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "Inter";
  src: url("./assets/fonts/Inter-SemiBold.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

@font-face {
  font-family: "Inter";
  src: url("./assets/fonts/Inter-Bold.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700 900;
}

:root {
  --ink: #f8fbff;
  --muted: #b8c2d6;
  --soft: #dce6ff;
  --line: rgba(255, 255, 255, 0.14);
  --panel: rgba(10, 18, 34, 0.72);
  --panel-strong: rgba(14, 24, 44, 0.92);
  --canvas: #050814;
  --navy: #081226;
  --blue: #38bdf8;
  --purple: #8b5cf6;
  --violet: #5b21b6;
  --green: #34d399;
  --gold: #f7c948;
  --red: #fb7185;
  --shadow: 0 24px 80px rgba(10, 16, 32, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--canvas);
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 16% 8%, rgba(56, 189, 248, 0.26), transparent 34%),
    radial-gradient(circle at 84% 0%, rgba(139, 92, 246, 0.26), transparent 30%),
    linear-gradient(180deg, #050814 0%, #081226 48%, #050814 100%);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  min-height: 100vh;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header,
.site-footer {
  backdrop-filter: blur(20px);
  background: rgba(5, 8, 20, 0.76);
  border-color: var(--line);
  border-style: solid;
  border-width: 0 0 1px;
}

.site-footer {
  border-width: 1px 0 0;
}

.nav,
.footer-inner,
.section {
  margin: 0 auto;
  max-width: 1160px;
  padding: 20px;
}

.nav {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.brand {
  align-items: center;
  display: inline-flex;
  min-height: 42px;
}

.brand-logo {
  display: block;
  height: 34px;
  max-width: 230px;
  object-fit: contain;
}

.brand-text {
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
}

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

.nav-links a,
.footer-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.hero {
  border-bottom: 1px solid var(--line);
  min-height: 680px;
  overflow: hidden;
  position: relative;
}

.hero::after {
  background:
    linear-gradient(120deg, rgba(56, 189, 248, 0.16), rgba(139, 92, 246, 0.22)),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  content: "";
  height: 280px;
  position: absolute;
  right: -90px;
  top: 170px;
  transform: rotate(-8deg);
  width: 480px;
}

.hero .section {
  padding-bottom: 92px;
  padding-top: 84px;
  position: relative;
  z-index: 1;
}

.hero-logo {
  height: 62px;
  margin-bottom: 34px;
  max-width: 360px;
  object-fit: contain;
}

.eyebrow {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1 {
  color: #ffffff;
  font-size: clamp(42px, 7vw, 82px);
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0;
  max-width: 960px;
}

h2 {
  color: #ffffff;
  font-size: 30px;
  letter-spacing: 0;
  line-height: 1.1;
  margin: 0 0 18px;
}

h3 {
  color: #ffffff;
  font-size: 18px;
  margin: 0 0 8px;
}

p {
  margin: 0 0 16px;
}

ul {
  margin: 0;
  padding-left: 20px;
}

li {
  margin: 7px 0;
}

.lead {
  color: var(--soft);
  font-size: 22px;
  margin-top: 24px;
  max-width: 820px;
}

.sublead {
  color: var(--muted);
  font-size: 17px;
  max-width: 760px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button,
button.button {
  align-items: center;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 800;
  min-height: 44px;
  padding: 10px 16px;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--line);
  color: #ffffff;
}

.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 24px;
}

.card p,
.card li,
.page-copy {
  color: var(--muted);
}

.notice {
  background: rgba(247, 201, 72, 0.12);
  border: 1px solid rgba(247, 201, 72, 0.32);
  border-radius: 12px;
  color: #fff1ba;
  padding: 16px;
}

.legal-draft {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.32);
  border-radius: 12px;
  color: #dff6ff;
  font-weight: 700;
  padding: 16px;
}

.band {
  border-top: 1px solid var(--line);
}

.auth-shell {
  align-items: center;
  display: flex;
  min-height: 100vh;
  padding: 28px;
}

.auth-panel {
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  margin: 0 auto;
  max-width: 580px;
  padding: 36px;
  width: 100%;
}

.auth-logo {
  height: 50px;
  margin-bottom: 26px;
  max-width: 300px;
  object-fit: contain;
}

.auth-status {
  color: var(--muted);
  margin-top: 16px;
}

.field {
  margin-top: 16px;
}

.field label {
  color: var(--soft);
  display: block;
  font-size: 13px;
  font-weight: 750;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.field input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #ffffff;
  font: inherit;
  min-height: 44px;
  padding: 10px 12px;
  width: 100%;
}

.hidden {
  display: none !important;
}

.safe-note {
  color: var(--muted);
  font-size: 13px;
  margin-top: 18px;
}

.status-error {
  color: var(--red);
  font-weight: 700;
}

.status-success {
  color: var(--green);
  font-weight: 700;
}

code {
  color: #dbeafe;
  word-break: break-word;
}

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: 580px;
  }

  .hero::after {
    opacity: 0.45;
    right: -220px;
  }

  .hero .section {
    padding-top: 56px;
  }
}
