:root {
  --bg: #050814;
  --bg-card: #0b1020;
  --bg-card-alt: #0f1526;
  --accent: #4fd1c5;
  --accent-soft: rgba(79, 209, 197, 0.12);
  --accent-pill: rgba(79, 209, 197, 0.2);
  --text-main: #f7fafc;
  --text-muted: #a0aec0;
  --border-soft: rgba(255, 255, 255, 0.06);
  --shadow-soft: 0 20px 45px rgba(0, 0, 0, 0.65);
  --radius-lg: 18px;
  --radius-pill: 999px;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  --transition-fast: 160ms ease-out;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-main);
  background: radial-gradient(circle at top, #111827 0, #050814 55%, #020309 100%);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.page { max-width: 1120px; margin: 0 auto; padding: 40px 20px 72px; }
.page.page-hub { max-width: 980px; padding: 28px 16px 48px; }
.page.page-her { max-width: 900px; padding: 28px 16px 48px; }
.page.page-activate { max-width: 720px; padding: 28px 16px 40px; }
.page.page-policy { max-width: 760px; padding: 28px 16px 40px; }
.page.page-compact,
.wrap { max-width: 640px; margin: 0 auto; padding: 40px 16px; }

header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 26px;
  gap: 12px;
}

.brand { display: flex; flex-direction: column; gap: 6px; }
.brand-label {
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.9;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.header-symbol {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  display: inline-block;
  vertical-align: middle;
  opacity: 0.9;
  filter: drop-shadow(0 0 6px rgba(79, 209, 197, 0.25));
}

.hero-mark {
  width: 64px;
  height: 64px;
  opacity: 1;
  filter: drop-shadow(0 0 24px rgba(79, 209, 197, 0.18));
  border-radius: 14px;
  align-self: flex-end;
}

.hero-mark-small {
  width: 32px;
  height: 32px;
  opacity: 1;
  filter: drop-shadow(0 0 24px rgba(79, 209, 197, 0.18));
  border-radius: 14px;
  align-self: flex-end;
}

.brand-title {
  font-size: 22px;
  letter-spacing: 0.02em;
  font-weight: 650;
  color: #e5e7eb;
  line-height: 1.25;
  margin-top: 10px;
}

.brand-subrow { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.subtitle { font-size: 14px; color: var(--text-muted); line-height: 1.6; max-width: 760px; }

.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  text-align: right;
  margin-top: 20px;
  padding-top: 18px;
}

.header-tag {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-soft);
  background: linear-gradient(120deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.7));
  color: var(--text-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: var(--shadow-soft);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #6ee7b7 0, #22c55e 40%, #4b5563 100%);
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.75);
}

.btn,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(79, 209, 197, 0.35);
  background: rgba(15, 23, 42, 0.65);
  color: #e5e7eb;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  white-space: nowrap;
  cursor: pointer;
}

.btn:hover,
button:hover {
  transform: translateY(-1px);
  border-color: rgba(45, 212, 191, 0.7);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65);
  background: rgba(15, 23, 42, 0.75);
  text-decoration: none;
}

.btn-primary {
  border-color: rgba(45, 212, 191, 0.85);
  background: rgba(79, 209, 197, 0.12);
  color: #e0fdf7;
}

.btn-primary:hover { background: rgba(79, 209, 197, 0.16); }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 26px;
}

.card {
  background: radial-gradient(circle at top left, rgba(79, 209, 197, 0.12), transparent 55%), radial-gradient(circle at bottom, rgba(37, 99, 235, 0.12), transparent 52%), linear-gradient(145deg, #050816, #020309);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  padding: 24px 24px 22px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.card-alt,
.card.alt {
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.16), transparent 55%), linear-gradient(145deg, #050814, #020309);
}

.section {
  margin-top: 16px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  padding: 20px 22px 18px;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.card:hover,
.section:hover {
  transform: translateY(-1px);
  border-color: rgba(148,163,184,.55);
  box-shadow: 0 24px 55px rgba(15,23,42,.85);
}

.card-header { margin-bottom: 14px; }
.card-title { font-size: 19px; font-weight: 650; line-height: 1.4; color: #e5e7eb; }
.card-subtitle { margin-top: 10px; font-size: 13px; color: var(--text-muted); line-height: 1.65; }

.section-heading {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #9ca3af;
  margin-bottom: 10px;
}

.body-text { font-size: 13px; line-height: 1.65; color: var(--text-muted); }

.list { margin-top: 6px; list-style: none; }
.list li {
  position: relative;
  padding-left: 14px;
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}
.list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-size: 14px;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.panel {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 16px 16px 14px;
}

.panel h3 {
  font-size: 14px;
  font-weight: 650;
  color: #e5e7eb;
  margin-bottom: 8px;
  line-height: 1.35;
}

.panel p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-top: 8px;
}

.panel p strong { color: #e5e7eb; font-weight: 600; }

div.links {
  margin-top: 16px;
  border-top: 1px dashed rgba(148, 163, 184, 0.35);
  padding-top: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
  font-size: 13px;
}

.link-divider { grid-column: 1 / -1; border-top: 1px dashed rgba(148, 163, 184, 0.35); margin: 6px 0 8px; }
.link-label { color: #9ca3af; margin-bottom: 3px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; }
.link-label.primary { color: #e5e7eb; font-weight: 600; }
.link-value a { color: var(--accent); text-decoration: none; }
.link-value a:hover { text-decoration: underline; }

.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; margin-bottom: 10px; }
.badge {
  font-size: 11px;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #cbd5f5;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
}
.badge-accent {
  background: var(--accent-pill);
  border-color: rgba(45, 212, 191, 0.8);
  color: #e0fdf7;
}

h1 { margin: 0; font-size: 28px; line-height: 1.25; color: #e5e7eb; }

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.subtitle,
.sub {
  margin-top: 10px;
  color: var(--text-muted);
  max-width: 760px;
}

.cta,
.row {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.privacy {
  margin-top: 14px;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 14px;
  background: rgba(2, 3, 9, 0.65);
}

.privacy p { margin: 6px 0; }

.crumb { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
.crumb a { color: var(--accent); text-decoration: none; }

.code {
  margin-top: 10px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.3);
  word-break: break-all;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.status { margin-top: 12px; color: rgba(160, 174, 192, 0.98); }
.muted { color: rgba(160, 174, 192, 0.95); }

footer {
  margin-top: 30px;
  font-size: 11px;
  color: #6b7280;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(15, 23, 42, 0.9);
}

footer a { color: var(--accent); }

.fineprint {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(160, 174, 192, 0.92);
}

/* Hub-specific overrides */
.page.page-hub h1 {
  font-size: 28px;
  line-height: 1.25;
}

.page.page-hub .subtitle {
  max-width: 760px;
  margin-top: 10px;
}

.page.page-hub .grid {
  margin-top: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.page.page-hub .card {
  padding: 16px;
}

.page.page-hub .card h2 {
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
  margin: 0;
}

.page.page-hub .card ul {
  margin: 10px 0 0 18px;
  padding: 0;
}

.page.page-hub .card li {
  margin: 6px 0;
  line-height: 1.55;
}

.page.page-hub .btn {
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 9px 13px;
}

.page.page-hub footer {
  margin-top: 16px;
}

/* HER page overrides */
.page.page-her .card {
  padding: 16px;
  margin-top: 14px;
}

.page.page-her h1 {
  font-size: 28px;
  line-height: 1.25;
  max-width: 860px;
}

.page.page-her .sub {
  max-width: 760px;
}

.page.page-her h2 {
  font-size: 16px;
  line-height: 1.35;
}

.page.page-her ul {
  margin-top: 10px;
}

.page.page-her footer {
  margin-top: 18px;
}

.page.page-her .cta .btn {
  padding: 9px 13px;
  font-size: 11px;
  letter-spacing: 0.08em;
}

@media (max-width: 860px) {
  .page.page-hub .grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  header { flex-direction: column; align-items: flex-start; }
  .header-right { align-items: flex-start; text-align: left; padding-top: 0; margin-top: 16px; }
  .hero-cta { justify-content: flex-start; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .btn { width: 100%; }
  .panel-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-mark { display: none; }
}

@media (max-width: 860px) {
  .grid { grid-template-columns: 1fr; }
}

@media (max-width: 450px) {
  .hero-mark-small { display: none; }
}
