
:root {
  --bg: #020617;
  --accent: #f97316;
  --accent-strong: #ea580c;
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --border-subtle: rgba(148,163,184,0.5);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #0f172a 0, #020617 40%, #020617 100%);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1.75rem 3rem;
}

@media (max-width: 768px) {
  .shell {
    padding: 1rem 1rem 2.5rem;
  }
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.75rem 1rem;
  margin: 0.75rem 0 2rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.5);
  background: rgba(15,23,42,0.9);
  backdrop-filter: blur(20px);
  position: sticky;
  top: 0.75rem;
  z-index: 20;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 20% 0, #fed7aa 0, transparent 46%),
    conic-gradient(from 220deg, #f97316, #ea580c, #f97316);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 40px rgba(249,115,22,0.55);
  position: relative;
  overflow: hidden;
}

.logo-mark span {
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #0b1120;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.logo-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.nav-links a {
  padding: 0.2rem 0.3rem;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.1s ease;
}

.nav-links a:hover {
  color: var(--text-main);
  background: rgba(15,23,42,0.9);
  transform: translateY(-1px);
}

.nav-links a.nav-active {
  color: var(--accent);
  background: rgba(15,23,42,0.95);
  font-weight: 600;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pill-muted {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.6);
  color: var(--text-muted);
  background: rgba(15,23,42,0.95);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.1s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #0b1120;
  box-shadow: 0 20px 45px rgba(248,113,22,0.55);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  transform: translateY(-1px);
  box-shadow: 0 26px 60px rgba(248,113,22,0.7);
}

.btn-ghost {
  background: rgba(15,23,42,0.9);
  border-color: rgba(148,163,184,0.7);
  color: var(--text-main);
}

.btn-ghost:hover {
  background: rgba(15,23,42,1);
  border-color: rgba(226,232,240,0.9);
}

@media (max-width: 780px) {
  .nav {
    border-radius: 1.2rem;
  }
  .nav-links {
    display: none;
  }
  .nav-cta {
    gap: 0.4rem;
  }
  .pill-muted {
    display: none;
  }
}

.main {
  flex: 1;
  margin-top: 1rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.6fr);
  gap: 2.75rem;
  align-items: center;
  margin-top: 1.4rem;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0.75rem 0.25rem 0.28rem;
  border-radius: 999px;
  background: rgba(15,23,42,0.95);
  border: 1px solid rgba(148,163,184,0.7);
  margin-bottom: 1.1rem;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 0, #fed7aa 0, transparent 50%),
    conic-gradient(from 220deg, #f97316, #ea580c, #f97316);
  color: #0b1120;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow-text {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.eyebrow-text strong {
  color: var(--accent);
  font-weight: 600;
}

.hero-title {
  font-size: clamp(2.35rem, 4vw, 3.1rem);
  letter-spacing: 0.02em;
  line-height: 1.06;
  margin: 0 0 0.9rem;
}

.hero-title span {
  background: linear-gradient(to right, #f97316, #fed7aa);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 32rem;
  line-height: 1.6;
  margin-bottom: 1.45rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  margin-bottom: 1.2rem;
}

.hero-footnote {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #bbf7d0 0, #22c55e 55%);
  box-shadow: 0 0 12px rgba(34,197,94,0.9);
}

.hero-card {
  border-radius: 1.5rem;
  border: 1px solid rgba(148,163,184,0.6);
  background: rgba(15,23,42,0.98);
  padding: 1.4rem 1.4rem 1.3rem;
}

.section {
  margin-top: 2.4rem;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.section-title {
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-kicker {
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 360px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

@media (max-width: 960px) {
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

.card {
  border-radius: 1.1rem;
  border: 1px solid var(--border-subtle);
  background: rgba(15,23,42,0.96);
  padding: 1rem;
}

.card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer {
  border-top: 1px solid rgba(30,41,59,0.9);
  margin-top: 2.4rem;
  padding-top: 1.2rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer-links a:hover {
  color: var(--text-main);
}

.page-hero {
  margin-top: 1.3rem;
  margin-bottom: 1.2rem;
}

.page-eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.page-title {
  font-size: 1.9rem;
  margin: 0 0 0.5rem;
}

.page-subtitle {
  font-size: 0.96rem;
  color: var(--text-muted);
  max-width: 40rem;
}

.page-body {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 3.1fr) minmax(0, 2.3fr);
  gap: 1.8rem;
  align-items: flex-start;
}

@media (max-width: 960px) {
  .page-body {
    grid-template-columns: minmax(0, 1fr);
  }
}

.page-main-card {
  border-radius: 1.25rem;
  border: 1px solid rgba(148,163,184,0.7);
  background: rgba(15,23,42,0.98);
  padding: 1.3rem 1.4rem;
}

.page-main-card h2 {
  margin-top: 1.4rem;
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

.page-main-card h2:first-child {
  margin-top: 0.4rem;
}

.page-main-card p,
.page-main-card li {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.page-main-card ul {
  padding-left: 1.2rem;
}

.page-main-card li + li {
  margin-top: 0.35rem;
}

.page-aside {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.aside-card {
  border-radius: 1rem;
  border: 1px solid rgba(148,163,184,0.6);
  background: rgba(15,23,42,0.96);
  padding: 0.9rem 1.05rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.aside-card strong {
  color: var(--text-main);
}

.aside-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

.status-hero {
  text-align: left;
  margin-top: 1.8rem;
  max-width: 640px;
}

.status-title {
  font-size: 2rem;
  margin-bottom: 0.3rem;
}

.status-subtitle {
  font-size: 0.96rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.status-card {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(148,163,184,0.75);
  background: rgba(15,23,42,0.98);
  padding: 1.1rem 1.25rem;
}

.status-tag {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  border-radius: 999px;
  padding: 0.26rem 0.7rem;
  background: rgba(22,163,74,0.16);
  border: 1px solid rgba(52,211,153,0.55);
  color: #bbf7d0;
}

.status-message {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.status-message strong {
  color: var(--text-main);
}

.link-inline {
  color: var(--accent);
  font-weight: 500;
}

.link-inline:hover {
  text-decoration: underline;
}

/* --- Signup card polish --- */

.hero-card.signup-card {
    border-radius: 1rem;
    padding: 1.4rem 1.6rem 1.5rem;
    background: radial-gradient(circle at top left, rgba(249,115,22,0.12), transparent 55%), radial-gradient(circle at bottom right, rgba(15,118,110,0.14), transparent 55%), var(--surface-elevated, #020617);
    border: 1px solid rgba(148,163,184,0.45);
    box-shadow: 0 18px 40px rgba(15,23,42,0.75);
}

.signup-header {
    margin-bottom: 0.9rem;
}

.signup-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #f97316;
    background: rgba(248,250,252,0.04);
    border: 1px solid rgba(248,250,252,0.08);
    margin-bottom: 0.35rem;
}

.signup-pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #22c55e;
}

.signup-subtitle {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.form-stack {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-row {
    display: flex;
    gap: 0.75rem;
}

    .form-row .form-field {
        flex: 1;
    }

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.field-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
}

.form-field input {
    border-radius: 0.5rem;
    border: 1px solid rgba(51,65,85,0.9);
    background: #020617;
    color: #e5e7eb;
    font-size: 0.9rem;
    padding: 0.5rem 0.6rem;
}

    .form-field input:focus-visible {
        outline: 2px solid #f97316;
        outline-offset: 1px;
        border-color: #f97316;
    }

.field-help {
    font-size: 0.74rem;
    color: var(--text-muted);
}

.signup-footnote {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.35rem;
    text-align: center;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
}
