:root {
  --bg: #0b1020;
  --bg-soft: #111830;
  --card: #141c38;
  --text: #f4f6ff;
  --muted: #b0b6d8;
  --primary: #66b6ff;
  --primary-2: #8ad6ff;
  --accent: #5b6bff;
  --success: #5fe3ff;
  --warning: #f5b857;
  --danger: #f46b6b;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 60px rgba(8, 10, 24, 0.55);
  --radius: 20px;
  --line: rgba(91, 107, 255, 0.18);
  --white: #ffffff;
  --blue: #4f8fff;
  --aqua: #6fe0ff;
  --blue-dark: #0f1f4a;
  --navy: #0d1735;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 20% 10%, rgba(91, 107, 255, 0.28), transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(102, 182, 255, 0.24), transparent 42%),
    radial-gradient(circle at 50% 90%, rgba(70, 89, 160, 0.25), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  font-family: "Fraunces", "Times New Roman", serif;
  letter-spacing: 0.2px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1320px, 94%);
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(10, 14, 32, 0.82);
  border-bottom: 1px solid var(--border);
}

.home .topbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 28px 32px;
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 22px 0;
  gap: 12px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.home .brand {
  font-weight: 800;
  letter-spacing: 0.02em;
}

.home .brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--aqua));
  font-size: 0.95rem;
}

.brand-logo {
  width: 126px;
  height: 126px;
  border-radius: 0;
  object-fit: contain;
}

.home .release-pill {
  border: 1px solid #b9dcff;
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--blue-dark);
  background: #edf7ff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-badge {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: grid;
  place-items: center;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: 12px;
  font-weight: 500;
  font-size: 1.575rem;
  color: var(--muted);
}

.nav-actions {
  margin-left: auto;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--text);
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #0b0f1a;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 12px 32px rgba(102, 182, 255, 0.32);
}

.cta[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 10px;
}

.hero {
  padding: 80px 0 60px;
}

.news-hero {
  padding-bottom: 40px;
}

.news-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 28px;
  align-items: center;
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 32px;
}

.news-feed-layout {
  display: block;
}

.news-panel {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  position: sticky;
  top: 120px;
  height: fit-content;
}

.news-actions {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.news-actions .ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  color: var(--text);
}

.is-hidden {
  display: none;
}

.news-panel .form {
  margin-top: 16px;
  display: grid;
  gap: 14px;
}

.news-panel label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.editor-shell {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(10, 14, 32, 0.6);
  overflow: hidden;
}

.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  background: rgba(5, 9, 24, 0.6);
}

.editor-toolbar button {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  cursor: pointer;
}

.editor-toolbar button.is-active {
  background: var(--primary);
  color: #0b0f1a;
  border-color: transparent;
}

.editor-surface {
  min-height: 160px;
  padding: 12px;
  color: var(--text);
  cursor: text;
}

.editor-surface .ProseMirror {
  outline: none;
  min-height: 140px;
}

.editor-surface img {
  max-width: 100%;
  border-radius: 12px;
}

.news-body {
  position: relative;
  z-index: 1;
  pointer-events: auto;
  cursor: text;
  display: grid;
  gap: 12px;
  color: var(--text);
}

.news-body p {
  color: var(--muted);
}

.admin-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(10, 14, 32, 0.6);
}

.admin-item button {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.85rem;
}

.news-panel input,
.news-panel textarea {
  background: rgba(10, 14, 32, 0.6);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  padding: 10px 12px;
  font: inherit;
}

.news-panel input[type="file"] {
  padding: 8px;
}

.news-feed {
  display: grid;
  gap: 20px;
}

.news-admin-bar {
  display: grid;
  gap: 12px;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(17, 24, 48, 0.6);
}

.news-admin-bar .news-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 0;
}

.news-list {
  display: grid;
  gap: 18px;
}

.news-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 180px);
  gap: 20px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.news-item:last-child {
  border-bottom: none;
}

.news-item-main {
  display: grid;
  gap: 10px;
}

.news-item-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.85rem;
}

.news-author {
  font-weight: 600;
  color: var(--text);
}

.news-dot {
  opacity: 0.6;
}

.news-date {
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.news-title {
  font-size: 1.2rem;
  margin: 0;
}

.news-summary {
  color: var(--muted);
  margin: 0;
}

.news-thumb {
  width: 100%;
  max-width: 180px;
  justify-self: end;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(14, 20, 40, 0.6);
}

.news-thumb img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.news-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.news-attachments a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.9rem;
}

.draft-section {
  padding-top: 60px;
}

.draft-page {
  display: grid;
  gap: 20px;
}

.draft-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.draft-header h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 4px;
}

.draft-tabs {
  display: flex;
  gap: 18px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
}

.draft-tab {
  background: none;
  border: none;
  color: var(--muted);
  font-weight: 600;
  padding: 6px 0;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.draft-tab.is-active {
  color: var(--text);
  border-color: var(--primary);
}

.draft-form {
  display: grid;
  gap: 16px;
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--border);
}

.draft-field {
  display: grid;
  gap: 8px;
}

.draft-label {
  font-weight: 600;
  font-size: 0.95rem;
}

.draft-input-wrap {
  position: relative;
}

.draft-input-wrap input {
  width: 100%;
  padding-right: 68px;
}

.draft-counter {
  position: absolute;
  right: 12px;
  bottom: 12px;
  font-size: 0.75rem;
  color: var(--muted);
}

.draft-tag {
  justify-self: start;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  padding: 6px 14px;
  font-weight: 600;
}

.draft-tags {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.draft-tag-input {
  display: grid;
  gap: 10px;
  width: min(420px, 100%);
}

.draft-tag-input input[type="text"] {
  width: 100%;
}

.draft-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.draft-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.85rem;
}

.draft-chip button {
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.9rem;
}

.draft-editor {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(10, 14, 32, 0.6);
}

.draft-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  background: rgba(5, 9, 24, 0.6);
}

.draft-toolbar button {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
  cursor: pointer;
}

.draft-divider {
  width: 1px;
  background: var(--border);
  margin: 4px 4px;
}

.draft-toggle {
  margin-left: auto;
}

.draft-surface {
  min-height: 220px;
}

.draft-markdown {
  width: 100%;
  min-height: 220px;
  padding: 12px;
  background: rgba(10, 14, 32, 0.6);
  border: none;
  color: var(--text);
  font: inherit;
  resize: vertical;
}

.draft-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

@media (max-width: 720px) {
  .draft-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .draft-tabs {
    flex-wrap: wrap;
    gap: 12px;
  }

  .draft-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 860px) {
  .news-item {
    grid-template-columns: 1fr;
  }

  .news-thumb {
    justify-self: start;
    max-width: 100%;
  }

  .news-thumb img {
    height: 180px;
  }
}

.home .hero-section {
  padding: 0;
}

.home .hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 390px;
  gap: 42px;
  padding: 56px 58px 42px;
  align-items: stretch;
}

.home .hero-copy {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.home .eyebrow {
  margin: 0 0 18px;
  color: rgba(244, 246, 255, 0.7);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home .hero-layout h1 {
  margin: 0;
  max-width: 680px;
  font-family: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.home .lead {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.24rem);
  line-height: 1.6;
}

.home .actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.home .panel .actions {
  margin-top: auto;
}

.home .panel-register-button {
  min-height: 56px;
  padding: 0 26px;
  font-size: 1.02rem;
  letter-spacing: 0;
}

.home .button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  padding: 0 20px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), #34a7df);
  box-shadow: 0 14px 30px rgba(31, 111, 235, 0.24);
  font-weight: 850;
  text-decoration: none;
}

.home .text-link {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.home .metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 640px;
  margin-top: auto;
  align-items: stretch;
}

.home .metric {
  border: 1px solid rgba(102, 182, 255, 0.25);
  border-radius: 18px;
  padding: 14px 18px;
  background: linear-gradient(160deg, rgba(20, 30, 60, 0.92), rgba(16, 23, 45, 0.95));
  color: var(--text);
  box-shadow: 0 18px 40px rgba(8, 12, 30, 0.35);
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 88px;
}

.home .metric strong {
  display: block;
  font-size: 1.2rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.home .metric span {
  display: block;
  margin-top: 4px;
  color: rgba(176, 182, 216, 0.9);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

.home .panel {
  align-self: start;
  border-radius: 24px;
  padding: 26px;
  color: var(--white);
  background: linear-gradient(145deg, rgba(31, 111, 235, 0.24), transparent 46%), var(--navy);
  box-shadow: 0 24px 58px rgba(13, 32, 56, 0.26);
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}

.home .panel-label {
  margin: 0 0 2px;
  color: #a9dfff;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home .panel-copy {
  color: #d7e6f7;
  line-height: 1.55;
}

.home .date {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 850;
}

.home .countdown {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 22px;
  background: transparent;
  border: none;
  padding: 0;
}

.home .time-box {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 18px 10px;
  text-align: center;
  background: rgba(255, 255, 255, 0.07);
}

.home .time-box strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.home .time-box span {
  display: block;
  margin-top: 7px;
  color: #bad0e8;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home .panel-note {
  margin: 20px 0 0;
  color: #d7e6f7;
  line-height: 1.55;
}

.home .content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 0 58px 58px;
  max-width: 1120px;
  margin: 0 auto;
  margin-top: 24px;
}

.hero-new {
  position: relative;
  overflow: hidden;
}

.hero-new::after {
  content: "";
  position: absolute;
  inset: 20% -30% auto auto;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(91, 107, 255, 0.22), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
}

@media (max-width: 900px) {
  .news-hero-grid,
  .news-layout {
    grid-template-columns: 1fr;
  }

  .news-panel {
    position: static;
  }
}

.hero-left {
  display: grid;
  gap: 18px;
  animation: fadeUp 0.9s ease both;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero p {
  color: var(--muted);
  margin-bottom: 26px;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-foot {
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.hero-foot strong {
  display: block;
  font-size: 1rem;
}

.hero-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: clamp(24px, 5vw, 46px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.promo-card {
  gap: 18px;
  background: radial-gradient(circle at 20% 0%, rgba(102, 182, 255, 0.18), transparent 55%),
    radial-gradient(circle at 80% 15%, rgba(91, 107, 255, 0.18), transparent 50%),
    linear-gradient(160deg, rgba(14, 21, 48, 0.92), rgba(11, 16, 34, 0.92));
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: floatIn 1s ease both;
}

.hero-new .promo-card {
  min-height: min(76vh, 900px);
  justify-content: center;
}

@media (max-width: 720px) {
  .hero-new .promo-card {
    min-height: min(68vh, 760px);
  }
}

@media (max-width: 1024px) {
  .home .hero-layout {
    grid-template-columns: 1fr;
    padding: 40px 24px 32px;
  }

  .home .metrics {
    grid-template-columns: 1fr;
  }

  .home .content {
    grid-template-columns: 1fr;
    padding: 0 24px 48px;
  }
}

.promo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px),
    radial-gradient(rgba(102, 182, 255, 0.2) 1px, transparent 1px);
  background-size: 140px 140px, 240px 240px;
  background-position: 0 0, 60px 80px;
  opacity: 0.3;
  pointer-events: none;
}

.promo-card > * {
  position: relative;
  z-index: 1;
}

.promo-header h3 {
  font-family: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 6px;
}

.promo-kicker {
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.65rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.promo-lede {
  color: var(--muted);
  font-size: 0.98rem;
}

.promo-countdown-label {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.7rem;
  color: rgba(244, 246, 255, 0.7);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 10px;
  border-radius: 18px;
  border: 1px solid rgba(102, 182, 255, 0.16);
  padding: 16px 12px;
  background: rgba(14, 20, 40, 0.75);
}

.countdown-item {
  padding: 8px 6px;
  text-align: center;
}

.countdown-item span {
  display: block;
  font-size: 2rem;
  font-weight: 600;
  color: var(--text);
}

.countdown-item small {
  color: rgba(176, 182, 216, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.65rem;
}

.promo-subtext {
  color: rgba(176, 182, 216, 0.85);
  font-size: 0.95rem;
}

.promo-grid {
  display: grid;
  gap: 26px;
  text-align: left;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.promo-block h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(138, 214, 255, 0.9);
  margin-bottom: 8px;
}

.promo-list {
  list-style: none;
  display: grid;
  gap: 8px;
  color: rgba(176, 182, 216, 0.9);
  font-size: 0.95rem;
  line-height: 1.5;
}

.promo-list li {
  display: flex;
  gap: 10px;
}

.promo-list li::before {
  content: "-";
  color: rgba(138, 214, 255, 0.9);
}

.promo-form {
  gap: 22px;
}

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

.promo-form .form-field {
  gap: 8px;
}

.promo-form .form-field span {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 800;
}

.promo-form input {
  min-height: 50px;
  border-radius: 8px;
}

.promo-form .cta {
  min-height: 50px;
  font-weight: 800;
}

.promo-status {
  min-height: 18px;
}

.promo-actions {
  display: flex;
  justify-content: center;
}

.promo-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 200;
}

.promo-modal.open {
  opacity: 1;
  visibility: visible;
}

.promo-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 10, 12, 0.7);
  backdrop-filter: blur(6px);
}

.promo-modal-card {
  position: relative;
  width: min(880px, 92%);
  background:
    linear-gradient(180deg, rgba(18, 27, 42, 0.98), rgba(13, 20, 32, 0.98)),
    var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow);
  display: grid;
  gap: 22px;
  z-index: 1;
}

.promo-modal-header h3 {
  margin: 6px 0 6px;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.promo-modal-header {
  max-width: 760px;
}

.promo-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 6px 12px;
  border-radius: 999px;
}

body.modal-open {
  overflow: hidden;
}

.section-subtle {
  background: rgba(12, 17, 16, 0.6);
}

.blog-listing h1 {
  font-size: clamp(2rem, 3vw, 2.6rem);
}

.blog-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.blog-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.blog-search input {
  min-width: 240px;
}

.blog-category-filter {
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-category-filter label {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 760;
  white-space: nowrap;
}

.blog-category-filter select {
  width: 240px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(9, 14, 31, 0.72);
  color: var(--text);
  padding: 0 38px 0 14px;
  font: inherit;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(244, 246, 255, 0.78) 50%),
    linear-gradient(135deg, rgba(244, 246, 255, 0.78) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.blog-category-filter select:focus {
  outline: 2px solid rgba(138, 214, 255, 0.36);
  outline-offset: 2px;
  border-color: rgba(138, 214, 255, 0.62);
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.blog-list {
  display: grid;
  gap: 18px;
}

.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.page-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.page-button {
  min-width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(9, 14, 31, 0.72);
  color: var(--text);
  font-weight: 760;
  cursor: pointer;
}

.page-button:hover:not(:disabled),
.page-button.active {
  border-color: rgba(138, 214, 255, 0.74);
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #07111d;
}

.page-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.page-step {
  min-width: 96px;
  padding: 0 14px;
}

.blog-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 200px);
  gap: 18px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  min-height: 220px;
}

.blog-card-body {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.blog-card-body h3 {
  margin: 8px 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-body p.muted {
  overflow: visible;
}

.blog-card-summary {
  margin-bottom: 12px;
}

.blog-read-more {
  align-self: flex-start;
  color: var(--primary-2);
  font-weight: 760;
  font-size: 0.94rem;
}

.blog-read-more:hover {
  color: var(--text);
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.85rem;
}

.blog-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.blog-card-image img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.dot {
  opacity: 0.6;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.blog-hero-card img {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(10, 14, 32, 0.6);
}

.blog-side-list {
  display: grid;
  gap: 12px;
}

.blog-side-list a {
  color: var(--text);
  text-decoration: none;
}

.blog-admin h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.admin-actions {
  display: flex;
  gap: 12px;
}

.admin-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.admin-list {
  display: grid;
  gap: 12px;
}

.admin-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--card);
}

.admin-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.danger {
  background: rgba(244, 107, 107, 0.2);
  border: 1px solid rgba(244, 107, 107, 0.6);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 999px;
}

.blog-editor h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.editor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.editor-actions {
  display: flex;
  gap: 12px;
}

.editor-body {
  margin-top: 20px;
}

.editor-form {
  display: grid;
  gap: 20px;
}

.editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.8fr);
  gap: 24px;
}

.editor-main,
.editor-sidebar {
  display: grid;
  gap: 20px;
}

.panel-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(8, 12, 28, 0.35);
}

.form-field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.form-field span {
  font-weight: 600;
}

.form-help {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 10px;
}

.form-error {
  color: #ff8b8b;
  font-size: 0.85rem;
  min-height: 18px;
}

.draft-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(124, 243, 255, 0.12);
  border: 1px solid rgba(124, 243, 255, 0.4);
}

.draft-actions {
  display: flex;
  gap: 10px;
}

.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.editor-toolbar-wrap {
  position: sticky;
  top: 98px;
  z-index: 6;
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.editor-toolbar {
  margin-bottom: 0;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(5, 9, 24, 0.92);
  backdrop-filter: blur(12px);
}

.editor-toolbar-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.editor-toolbar .ghost {
  padding: 8px 12px;
  min-height: 40px;
}

.editor-toolbar .ghost[disabled] {
  opacity: 0.45;
}

.editor-toolbar .ghost.is-active {
  background: linear-gradient(135deg, rgba(102, 182, 255, 0.9), rgba(138, 214, 255, 0.92));
  color: #06101f;
  border-color: transparent;
}

.editor-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.editor-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.editor-surface {
  min-height: 500px;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  background: rgba(10, 14, 32, 0.6);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  pointer-events: auto;
  position: relative;
}

.editor-fallback {
  min-height: 500px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: var(--text);
  width: 100%;
  resize: vertical;
  font: inherit;
  line-height: 1.75;
  outline: none;
}

.editor-surface .ProseMirror {
  outline: none;
  min-height: 500px;
  color: var(--text);
  line-height: 1.75;
  cursor: text;
}

.editor-surface:focus-within {
  border-color: rgba(102, 182, 255, 0.8);
  box-shadow: 0 0 0 4px rgba(102, 182, 255, 0.12);
  background: rgba(10, 14, 32, 0.82);
}

.editor-surface .ProseMirror p.is-editor-empty:first-child::before {
  content: attr(data-placeholder);
  color: rgba(176, 182, 216, 0.65);
  float: left;
  height: 0;
  pointer-events: none;
}

.editor-surface .ProseMirror h1,
.editor-surface .ProseMirror h2,
.editor-surface .ProseMirror h3,
.editor-preview-content h1,
.editor-preview-content h2,
.editor-preview-content h3 {
  line-height: 1.2;
  margin: 1.2em 0 0.45em;
}

.editor-surface .ProseMirror h1,
.editor-preview-content h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.editor-surface .ProseMirror h2,
.editor-preview-content h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.editor-surface .ProseMirror h3,
.editor-preview-content h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
}

.editor-surface .ProseMirror p,
.editor-preview-content p,
.editor-preview-content li {
  color: var(--text);
}

.editor-surface .ProseMirror ul,
.editor-surface .ProseMirror ol,
.editor-preview-content ul,
.editor-preview-content ol {
  padding-left: 1.4rem;
}

.editor-surface .ProseMirror blockquote,
.editor-preview-content blockquote {
  margin: 1.4rem 0;
  padding: 0.9rem 1.1rem;
  border-left: 4px solid rgba(102, 182, 255, 0.7);
  background: rgba(102, 182, 255, 0.08);
  color: var(--muted);
}

.editor-surface .ProseMirror pre,
.editor-preview-content pre {
  margin: 1.3rem 0;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  overflow-x: auto;
  background: rgba(4, 8, 22, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.editor-surface .ProseMirror code,
.editor-preview-content code {
  font-family: "Cascadia Code", "Consolas", monospace;
}

.editor-surface .ProseMirror a,
.editor-preview-content a {
  color: var(--primary-2);
  text-decoration: underline;
}

.editor-surface .ProseMirror img,
.editor-preview-content img {
  max-width: 100%;
  border-radius: 16px;
  margin: 1.2rem 0;
}

.editor-preview {
  display: none;
}

.editor-preview.open {
  display: grid;
  gap: 16px;
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.publish-panel {
  position: sticky;
  top: 120px;
}

.publish-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.image-uploader {
  display: grid;
  gap: 12px;
}

.image-drop {
  border: 1px dashed rgba(124, 243, 255, 0.5);
  border-radius: 16px;
  padding: 18px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.image-drop:hover,
.image-drop.drag-over {
  border-color: rgba(124, 243, 255, 0.9);
  background: rgba(124, 243, 255, 0.08);
}

.image-preview {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
  max-height: 220px;
  object-fit: cover;
}

.blog-editor.editor-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 120;
  overflow-y: auto;
  padding: 96px 0 28px;
  background: radial-gradient(circle at 20% 10%, rgba(91, 107, 255, 0.3), transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(102, 182, 255, 0.24), transparent 42%),
    var(--bg);
}

body.editor-fullscreen-active {
  overflow: hidden;
}

body.editor-fullscreen-active header,
body.editor-fullscreen-active footer {
  display: none;
}

body.editor-fullscreen-active .blog-editor.editor-fullscreen .publish-panel {
  top: 20px;
}

@media (max-width: 860px) {
  .editor-meta-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .editor-toolbar-wrap {
    top: 16px;
  }

  .editor-surface,
  .editor-fallback,
  .editor-surface .ProseMirror {
    min-height: 420px;
  }
}

.tag-input {
  display: grid;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 10px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(124, 243, 255, 0.18);
  color: var(--text);
  font-size: 0.85rem;
}

.tag-chip button {
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.tag-entry {
  border: none;
  background: transparent;
  color: var(--text);
}

.tag-entry:focus {
  outline: none;
}

.seo-panel details {
  display: grid;
  gap: 12px;
}

.seo-panel summary {
  cursor: pointer;
  font-weight: 600;
}

.char-count {
  font-size: 0.8rem;
  color: var(--muted);
  justify-self: end;
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(4, 6, 12, 0.7);
  padding: 20px;
  z-index: 20;
}

[hidden] {
  display: none !important;
}

.modal-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  max-width: 420px;
  width: 100%;
  display: grid;
  gap: 12px;
}

.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

@media (max-width: 900px) {
  .blog-card {
    grid-template-columns: 1fr;
  }

  .editor-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1000px) {
  .editor-layout {
    grid-template-columns: 1fr;
  }

  .framework-manager-grid {
    grid-template-columns: 1fr;
  }

  .publish-panel {
    position: static;
  }
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.outcome {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 22px;
  text-align: left;
  animation: fadeUp 0.8s ease both;
}

.outcome h3 {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.banner-cta {
  background: linear-gradient(135deg, rgba(91, 107, 255, 0.18), rgba(102, 182, 255, 0.18));
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-card .stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.hero-card .stat:last-child {
  border-bottom: none;
}

.section {
  padding: 70px 0;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.section-title h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 820;
  letter-spacing: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.curriculum-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

@media (max-width: 1100px) {
  .curriculum-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .curriculum-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--border);
  min-height: 200px;
}

.card h3 {
  margin-bottom: 12px;
}

.curriculum-grid .card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
  padding: clamp(22px, 2.5vw, 30px);
  background:
    linear-gradient(180deg, rgba(18, 27, 42, 0.96), rgba(13, 20, 32, 0.96)),
    var(--card);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
}

.curriculum-grid .card h3 {
  margin-bottom: 0;
  line-height: 1.22;
  font-weight: 820;
}

.curriculum-grid .card > p.muted {
  align-self: flex-start;
  margin: 4px 0 0;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(120, 215, 255, 0.08);
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.curriculum-grid .card > p.muted + p {
  margin-top: -4px;
  color: rgba(246, 248, 251, 0.84);
  font-weight: 640;
}

.curriculum-grid .list {
  display: grid;
  gap: 10px;
  padding: 2px 0 4px;
}

.curriculum-grid .list li {
  align-items: flex-start;
  line-height: 1.45;
}

.curriculum-grid .list li span {
  font-weight: 860;
}

.curriculum-grid .badge {
  width: 100%;
  justify-content: center;
  margin-bottom: 2px;
  padding: 9px 14px;
  font-weight: 860;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(124, 243, 255, 0.15);
  color: var(--primary-2);
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.highlight {
  background: linear-gradient(135deg, rgba(91, 140, 255, 0.12), rgba(125, 95, 255, 0.12));
  border-radius: var(--radius);
  padding: 26px;
  border: 1px solid var(--border);
  display: grid;
  gap: 14px;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  align-items: center;
}

.list {
  display: grid;
  gap: 12px;
  color: var(--muted);
}

.list li {
  list-style: none;
  display: flex;
  gap: 10px;
}

.list li span {
  color: var(--success);
}

.banner {
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(21, 28, 47, 0.7);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.helpful-resources-card {
  align-content: start;
}

.helpful-resources-card h3 {
  margin-bottom: 10px;
}

.resource-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.resource-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(102, 182, 255, 0.08);
  color: var(--text);
  text-decoration: none;
}

.resource-link:hover {
  border-color: rgba(102, 182, 255, 0.55);
  background: rgba(102, 182, 255, 0.13);
}

.resource-link span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.resource-link strong,
.resource-link small {
  overflow-wrap: anywhere;
}

.resource-link small {
  color: var(--muted);
}

.resource-link em {
  flex: 0 0 auto;
  color: var(--primary-2);
  font-style: normal;
  font-weight: 760;
  font-size: 0.86rem;
}

.resource-admin-page {
  padding-top: clamp(44px, 6vw, 78px);
}

footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 50px;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.footer-grid h4 {
  color: var(--text);
  margin-bottom: 12px;
}

.form {
  display: grid;
  gap: 14px;
}

input,
textarea {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--text);
}

button {
  border: none;
  cursor: pointer;
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 16px;
  border-radius: 999px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
}

.blog-post {
  background:
    linear-gradient(180deg, rgba(15, 22, 48, 0.98) 0%, rgba(25, 39, 84, 0.9) 42%, rgba(10, 15, 30, 0.98) 100%);
}

.blog-hero {
  padding: 74px 0 46px;
}

.blog-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 920px);
  gap: 26px;
  align-items: end;
}

.blog-hero-copy {
  max-width: 920px;
}

.blog-hero-copy h1 {
  max-width: 760px;
  margin: 18px 0;
  font-size: clamp(1.85rem, 3.1vw, 3.1rem);
  line-height: 1.12;
  text-wrap: balance;
}

.blog-dek {
  max-width: 720px;
  color: rgba(223, 230, 255, 0.78);
  font-size: clamp(1.04rem, 1.7vw, 1.22rem);
  line-height: 1.75;
}

.back-link {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--primary-2);
  font-size: 0.9rem;
  font-weight: 700;
}

.back-link::before {
  content: "<";
  margin-right: 8px;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  color: rgba(176, 182, 216, 0.88);
  font-size: 0.92rem;
}

.blog-meta span {
  padding: 7px 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.blog-hero-card {
  border: 1px solid rgba(102, 182, 255, 0.2);
  border-radius: var(--radius);
  padding: 24px;
  background: linear-gradient(145deg, rgba(20, 28, 56, 0.96), rgba(11, 16, 32, 0.9));
  box-shadow: var(--shadow);
}

.blog-summary {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  color: var(--muted);
}

.blog-summary li {
  list-style: none;
  padding-left: 22px;
  position: relative;
}

.blog-summary li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--primary-2);
}

.blog-content-section {
  padding-top: 18px;
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 920px);
  gap: 0;
  align-items: start;
}

.blog-sidebar {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(13, 20, 45, 0.82);
}

.sidebar-title,
.feature-label,
.panel-label {
  color: var(--primary-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.blog-sidebar a {
  color: var(--muted);
  font-size: 0.92rem;
}

.blog-sidebar a:hover {
  color: var(--text);
}

.blog-article {
  display: block;
  width: 100%;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid rgba(138, 214, 255, 0.16);
  border-radius: 22px;
  background: rgba(9, 14, 31, 0.76);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.blog-article h2,
.blog-article h3 {
  margin: 2.3rem 0 0.85rem;
  color: var(--text);
  line-height: 1.15;
  text-wrap: balance;
}

.blog-article h2 {
  display: block;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: 0;
}

.blog-article h3 {
  display: block;
  font-size: clamp(1.28rem, 2vw, 1.62rem);
  font-weight: 760;
  letter-spacing: 0;
}

.blog-article p,
.blog-article li {
  color: rgba(244, 246, 255, 0.86);
  font-size: 1.04rem;
  line-height: 1.82;
}

.blog-article p {
  margin: 0 0 1.15rem;
}

.blog-article ul,
.blog-article ol {
  margin: 0 0 1.35rem;
  padding-left: 1.35rem;
}

.blog-article li + li {
  margin-top: 0.45rem;
}

.blog-article strong {
  color: var(--text);
}

.blog-article hr {
  border: 0;
  height: 1px;
  margin: 2.25rem 0;
  background: linear-gradient(90deg, transparent, rgba(138, 214, 255, 0.42), transparent);
}

.blog-article .article-lead,
.blog-article p:first-child {
  color: var(--text);
  font-size: clamp(1.12rem, 1.8vw, 1.32rem);
  line-height: 1.72;
}

.blog-feature,
.takeaway-box,
.blog-author {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(20, 28, 56, 0.72);
  box-shadow: var(--shadow);
}

.blog-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 22px;
  padding: 24px;
}

.blog-feature strong {
  display: block;
  margin-top: 8px;
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.2;
}

.blog-article blockquote {
  margin: 2rem 0;
  padding: 24px 28px;
  border-left: 4px solid var(--primary-2);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(102, 182, 255, 0.1);
  color: var(--text);
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  line-height: 1.25;
}

.callout-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.callout {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.callout h3 {
  margin-bottom: 8px;
}

.takeaway-box {
  padding: 26px;
}

.takeaway-box h2 {
  margin-top: 0;
  margin-bottom: 16px;
}

.blog-author {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 20px;
}

.blog-author img {
  width: 76px;
  height: 76px;
  object-fit: contain;
}

.related-posts .card {
  min-height: 180px;
}

@media (max-width: 860px) {
  .nav {
    padding: 16px 0;
  }

  .nav .brand-logo {
    width: 96px;
    height: 96px;
  }

  .nav-actions {
    position: fixed;
    left: 138px;
    right: auto;
    top: 46px;
    transform: none;
  }

  .nav-links {
    position: fixed;
    top: 116px;
    left: 20px;
    right: auto;
    max-width: calc(100vw - 40px);
    flex-direction: column;
    background: rgba(11, 15, 26, 0.97);
    border: 1px solid var(--border);
    padding: 16px;
    border-radius: 14px;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-toggle {
    display: inline-flex;
    position: relative;
    z-index: 2;
    background: rgba(102, 182, 255, 0.16);
    border-color: rgba(138, 214, 255, 0.45);
    color: var(--text);
    font-weight: 700;
  }

  .blog-hero-grid,
  .blog-layout,
  .blog-feature {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    position: static;
  }

  .callout-grid {
    grid-template-columns: 1fr;
  }

  .blog-author {
    grid-template-columns: 1fr;
  }
}

/* Modern brand refresh */
:root {
  --bg: #080c14;
  --bg-soft: #101722;
  --card: rgba(15, 22, 34, 0.88);
  --text: #f6f8fb;
  --muted: #aab6c7;
  --primary: #78d7ff;
  --primary-2: #9ff3d0;
  --accent: #d8b46a;
  --success: #9ff3d0;
  --border: rgba(216, 228, 245, 0.12);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
  --radius: 8px;
  --line: rgba(120, 215, 255, 0.18);
  --navy: #101722;
}

body {
  min-height: 100vh;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    linear-gradient(180deg, #090d16 0%, #0c1320 42%, #080c14 100%),
    var(--bg);
  color: var(--text);
  letter-spacing: 0;
}

h1,
h2,
h3,
h4 {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 760;
  letter-spacing: 0;
}

p {
  color: rgba(246, 248, 251, 0.76);
}

.container {
  width: min(1600px, calc(100% - 64px));
}

header {
  background: rgba(8, 12, 20, 0.88);
  border-bottom: 1px solid rgba(216, 228, 245, 0.1);
}

.nav {
  justify-content: space-between;
  gap: 28px;
  padding: 14px 0;
}

.brand-logo {
  width: 76px;
  height: 76px;
}

.nav-links {
  gap: 24px;
  margin-left: 0;
  font-size: 0.98rem;
  font-weight: 680;
  color: rgba(246, 248, 251, 0.64);
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--text);
}

.nav-links a.active::after,
.nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
}

.hero {
  padding: clamp(56px, 7vw, 96px) 0 clamp(42px, 6vw, 72px);
}

.hero-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.62fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
}

.hero h1 {
  max-width: 920px;
  font-size: clamp(2.6rem, 5.2vw, 5.2rem);
  line-height: 0.98;
  margin-bottom: 24px;
  text-wrap: balance;
}

.hero p {
  max-width: 760px;
  color: rgba(246, 248, 251, 0.74);
  font-size: clamp(1rem, 1.2vw, 1.16rem);
}

.hero-card,
.card,
.highlight,
.banner,
.panel-card,
.news-admin-bar,
.news-panel,
.blog-card,
.blog-article,
.promo-modal-card {
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(18, 27, 42, 0.92), rgba(13, 20, 32, 0.92));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-card,
.card,
.highlight {
  padding: clamp(22px, 3vw, 34px);
}

.card,
.hero-card {
  min-height: auto;
}

.card h3,
.hero-card h3 {
  font-size: 1.15rem;
}

.badge,
.pill {
  border-radius: 999px;
  border: 1px solid rgba(120, 215, 255, 0.22);
  background: rgba(120, 215, 255, 0.08);
  color: #b8eaff;
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta,
.home .button {
  border-radius: 8px;
  background: linear-gradient(135deg, #82d9ff, #9ff3d0);
  color: #071018;
  box-shadow: 0 14px 34px rgba(120, 215, 255, 0.2);
}

.btn-secondary,
.ghost,
.promo-close,
.mobile-toggle {
  border-radius: 8px;
}

.section {
  padding: clamp(58px, 7vw, 92px) 0;
}

.section-title {
  align-items: end;
  margin-bottom: 26px;
}

.section-title h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.8rem);
  line-height: 1.05;
}

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

.split {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.62fr);
  gap: clamp(28px, 5vw, 72px);
}

.list,
.muted {
  color: var(--muted);
}

.list li span {
  color: var(--primary-2);
}

.banner {
  padding: clamp(24px, 3vw, 36px);
}

footer {
  background: #070a11;
  border-top-color: rgba(216, 228, 245, 0.1);
}

.footer-grid {
  grid-template-columns: 1.2fr 0.8fr 1fr;
}

.home .hero-section {
  padding: clamp(34px, 5vw, 58px) 0 0;
}

.home .hero-layout {
  width: min(1600px, calc(100% - 64px));
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  gap: clamp(32px, 5vw, 76px);
  padding: clamp(42px, 5vw, 72px) 0 clamp(28px, 4vw, 44px);
  min-height: min(720px, calc(100vh - 112px));
  align-items: center;
}

.home .hero-layout h1 {
  max-width: 860px;
  font-size: clamp(3.2rem, 7vw, 6.6rem);
  line-height: 0.9;
  font-weight: 820;
}

.home .lead {
  max-width: 720px;
  color: rgba(246, 248, 251, 0.72);
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
  line-height: 1.68;
}

.home .text-link {
  color: #d7f7ff;
  padding: 10px 0;
}

.home .metrics {
  max-width: 860px;
  gap: 12px;
  margin-top: clamp(40px, 6vw, 86px);
}

.home .metric {
  border-radius: 8px;
  background: rgba(15, 22, 34, 0.74);
  border-color: rgba(216, 228, 245, 0.12);
  box-shadow: none;
}

.home .metric strong {
  font-size: 1.05rem;
}

.home .metric span {
  white-space: normal;
}

.home .panel {
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(120, 215, 255, 0.12), transparent 40%),
    rgba(15, 22, 34, 0.96);
  border: 1px solid rgba(120, 215, 255, 0.18);
  box-shadow: var(--shadow);
}

.home .panel-label,
.sidebar-title,
.feature-label,
.panel-label,
.promo-block h4 {
  color: #9ff3d0;
}

.home .date {
  font-size: 1.08rem;
}

.home .time-box {
  border-radius: 8px;
}

.home .launch-countdown {
  position: relative;
  display: grid;
  min-height: 210px;
  place-items: center;
  margin: 24px 0 8px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(120, 215, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(120, 215, 255, 0.08), rgba(159, 243, 208, 0.04)),
    rgba(7, 13, 22, 0.42);
}

.home .launch-countdown::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent 49%, rgba(120, 215, 255, 0.18) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(120, 215, 255, 0.18) 50%, transparent 51%);
  opacity: 0.5;
  pointer-events: none;
}

.home .launch-orbit {
  position: absolute;
  inset: 22px;
  border-radius: 999px;
  pointer-events: none;
}

.home .orbit-ring {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 1px solid rgba(120, 215, 255, 0.22);
}

.home .orbit-ring-one {
  inset: 18px;
  border-color: rgba(159, 243, 208, 0.26);
}

.home .orbit-ring-two {
  inset: 46px;
  border-color: rgba(216, 180, 106, 0.2);
}

.home .orbit-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--primary-2);
  box-shadow: 0 0 18px rgba(159, 243, 208, 0.86);
}

.home .orbit-dot-one {
  top: 28px;
  right: 58px;
}

.home .orbit-dot-two {
  left: 48px;
  bottom: 44px;
  width: 7px;
  height: 7px;
  background: var(--primary);
}

.home .orbit-line {
  position: absolute;
  left: 18%;
  right: 18%;
  top: 50%;
  height: 1px;
  transform: rotate(-18deg);
  background: linear-gradient(90deg, transparent, rgba(120, 215, 255, 0.36), transparent);
}

.home .launch-countdown .time-box {
  position: relative;
  z-index: 1;
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  padding: 16px;
  border-radius: 999px;
  border: 1px solid rgba(159, 243, 208, 0.4);
  background:
    radial-gradient(circle at 50% 34%, rgba(159, 243, 208, 0.2), transparent 38%),
    rgba(9, 16, 27, 0.94);
  box-shadow:
    0 0 0 10px rgba(120, 215, 255, 0.04),
    0 20px 45px rgba(0, 0, 0, 0.34);
}

.home .launch-countdown .time-box strong {
  font-size: 2.55rem;
  line-height: 0.95;
  color: var(--text);
}

.home .launch-countdown .time-box span {
  margin: 0;
  color: rgba(246, 248, 251, 0.74);
  font-size: 0.62rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.home .launch-countdown .countdown-label {
  color: var(--primary-2);
}

.home .content {
  width: min(1600px, calc(100% - 64px));
  max-width: 1600px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0 0 clamp(50px, 6vw, 82px);
}

.promo-block {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(15, 22, 34, 0.58);
}

.promo-list li::before {
  content: "";
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  margin-top: 0.62em;
  border-radius: 999px;
  background: var(--primary-2);
}

.section-subtle {
  background: rgba(255, 255, 255, 0.02);
}

.blog-post {
  background: linear-gradient(180deg, #090d16 0%, #0d1422 48%, #080c14 100%);
}

.blog-hero-grid,
.blog-layout {
  grid-template-columns: minmax(0, 980px);
}

.blog-hero-card {
  width: min(680px, 100%);
  padding: 14px;
}

.blog-hero-card img {
  max-height: 300px;
  object-fit: contain;
  border-radius: 8px;
}

.blog-article {
  border-radius: 8px;
}

.blog-article h2,
.blog-article h3 {
  display: block;
  margin: 2.35rem 0 0.85rem;
  color: var(--text);
  line-height: 1.16;
  text-wrap: balance;
}

.blog-article h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.35rem);
  font-weight: 820;
}

.blog-article h3 {
  font-size: clamp(1.3rem, 1.8vw, 1.65rem);
  font-weight: 760;
}

input,
textarea {
  border-radius: 8px;
}

.admin-home {
  padding: clamp(56px, 7vw, 96px) 0;
}

.admin-home-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 0.78fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: start;
}

.admin-home-copy {
  display: grid;
  gap: 20px;
}

.admin-home-copy h1 {
  max-width: 760px;
  font-size: clamp(2.5rem, 5vw, 5.1rem);
  line-height: 0.98;
  text-wrap: balance;
}

.admin-home-copy .lead {
  max-width: 720px;
}

.admin-home-actions {
  margin-top: 4px;
}

.admin-status-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  max-width: 720px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(15, 22, 34, 0.74);
}

.admin-status-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
}

.admin-status-card p {
  margin: 0;
  color: var(--muted);
}

.admin-status-dot {
  width: 12px;
  height: 12px;
  margin-top: 7px;
  border-radius: 999px;
  background: var(--warning);
  box-shadow: 0 0 0 5px rgba(245, 184, 87, 0.12);
}

.admin-status-dot[data-state="admin"] {
  background: var(--primary-2);
  box-shadow: 0 0 0 5px rgba(159, 243, 208, 0.12), 0 0 24px rgba(159, 243, 208, 0.45);
}

.admin-status-dot[data-state="signed-out"],
.admin-status-dot[data-state="not-admin"],
.admin-status-dot[data-state="error"] {
  background: var(--danger);
  box-shadow: 0 0 0 5px rgba(244, 107, 107, 0.12);
}

.admin-home-panel {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(120, 215, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(120, 215, 255, 0.1), transparent 38%),
    rgba(15, 22, 34, 0.94);
  box-shadow: var(--shadow);
}

.admin-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin-tool-grid {
  display: grid;
  gap: 12px;
}

.admin-tool-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 14px;
  padding: 18px;
  border: 1px solid rgba(216, 228, 245, 0.12);
  border-radius: 8px;
  background: rgba(7, 13, 22, 0.48);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.admin-tool-card:hover {
  transform: translateY(-2px);
  border-color: rgba(120, 215, 255, 0.34);
  background: rgba(12, 22, 36, 0.78);
}

.admin-tool-card span {
  grid-row: span 2;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(120, 215, 255, 0.22);
  border-radius: 8px;
  color: var(--primary-2);
  font-size: 0.78rem;
  font-weight: 820;
}

.admin-tool-card strong {
  color: var(--text);
  font-size: 1.05rem;
}

.admin-tool-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.cta.is-disabled {
  pointer-events: none;
  opacity: 0.72;
  box-shadow: none;
}

.prereg-admin-page {
  min-height: 62vh;
}

.prereg-admin-header {
  align-items: end;
  margin-bottom: 22px;
}

.prereg-admin-header h1 {
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1;
}

.prereg-toolbar {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.prereg-stat,
.prereg-search {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(15, 22, 34, 0.72);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.prereg-stat {
  min-width: 190px;
  padding: 18px 20px;
}

.prereg-stat span {
  display: block;
  color: var(--primary-2);
  font-size: 2.15rem;
  font-weight: 820;
  line-height: 1;
}

.prereg-stat p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.prereg-search {
  display: grid;
  gap: 8px;
  width: min(440px, 100%);
  padding: 14px 16px;
}

.prereg-search span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prereg-search input {
  width: 100%;
  background: rgba(7, 13, 22, 0.7);
}

.prereg-table-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(15, 22, 34, 0.82);
  box-shadow: var(--shadow);
}

.prereg-table-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--border);
}

.prereg-table-head h2 {
  margin: 0 0 4px;
  font-size: 1.25rem;
}

.table-wrap {
  overflow-x: auto;
}

.prereg-table {
  width: 100%;
  min-width: 900px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.prereg-table th,
.prereg-table td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(216, 228, 245, 0.08);
  text-align: left;
  vertical-align: top;
}

.prereg-table th {
  color: rgba(246, 248, 251, 0.72);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.prereg-table td {
  color: rgba(246, 248, 251, 0.88);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.prereg-table tbody tr:hover {
  background: rgba(120, 215, 255, 0.04);
}

.prereg-table tbody tr:last-child td {
  border-bottom: 0;
}

.prereg-table th:nth-child(1),
.prereg-table td:nth-child(1) {
  width: 18%;
}

.prereg-table th:nth-child(2),
.prereg-table td:nth-child(2) {
  width: 28%;
}

.prereg-table th:nth-child(3),
.prereg-table td:nth-child(3) {
  width: 18%;
}

.prereg-table th:nth-child(4),
.prereg-table td:nth-child(4) {
  width: 18%;
}

.prereg-table th:nth-child(5),
.prereg-table td:nth-child(5) {
  width: 18%;
}

.prereg-email a {
  color: var(--primary);
}

.prereg-date {
  color: var(--muted);
  font-size: 0.92rem;
}

.prereg-empty {
  min-height: auto;
}

.framework-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.framework-card {
  display: grid;
  grid-template-rows: 66px minmax(68px, auto) 1fr auto;
  gap: 14px;
  min-height: 430px;
  height: 430px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(18, 27, 42, 0.96), rgba(13, 20, 32, 0.96)),
    var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.framework-card .badge {
  width: 100%;
  min-height: 66px;
  margin-bottom: 0;
  padding: 0 18px;
  justify-content: flex-start;
  align-self: start;
}

.framework-card h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.framework-card .muted {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
}

.framework-card h3 a,
.framework-link {
  color: var(--text);
}

.framework-card h3 a:hover,
.framework-link:hover {
  color: var(--primary);
}

.framework-link {
  justify-self: start;
  align-self: end;
  font-weight: 820;
}

.framework-admin-row {
  align-items: flex-start;
}

.framework-admin-row h3 {
  margin: 8px 0;
}

.framework-admin-page {
  padding-top: clamp(44px, 6vw, 78px);
}

.framework-manager-hero {
  align-items: flex-end;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--border);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(102, 182, 255, 0.14), rgba(91, 107, 255, 0.08)),
    rgba(20, 28, 56, 0.86);
  box-shadow: var(--shadow);
}

.framework-manager-hero h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-bottom: 8px;
}

.framework-manager-hero .muted {
  max-width: 720px;
}

.framework-manager-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: 24px;
  align-items: start;
}

.framework-upload-card,
.framework-library-card {
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(20, 31, 58, 0.98), rgba(14, 21, 39, 0.98)),
    var(--card);
}

.panel-intro {
  display: grid;
  gap: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

.panel-intro h2,
.framework-library-card h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.framework-upload-card input,
.framework-upload-card textarea {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.framework-upload-card input:focus,
.framework-upload-card textarea:focus {
  border-color: rgba(102, 182, 255, 0.8);
  box-shadow: 0 0 0 3px rgba(102, 182, 255, 0.14);
}

.framework-library-card .section-title {
  align-items: flex-start;
  margin-bottom: 18px;
}

.framework-admin-row {
  padding: 18px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(102, 182, 255, 0.06)),
    rgba(11, 16, 32, 0.42);
}

.framework-admin-copy {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.framework-admin-copy h3 {
  font-size: clamp(1.12rem, 2vw, 1.35rem);
}

.framework-admin-slug {
  width: fit-content;
  max-width: 100%;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(102, 182, 255, 0.24);
  background: rgba(102, 182, 255, 0.08);
  color: var(--primary-2);
  font-size: 0.86rem;
  overflow-wrap: anywhere;
}

.framework-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.framework-admin-empty {
  display: grid;
  gap: 8px;
  min-height: 132px;
  align-content: center;
  border-style: dashed;
  background: rgba(255, 255, 255, 0.035);
}

@media (max-width: 1100px) {
  .framework-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .framework-card {
    height: auto;
    min-height: 360px;
  }

  .resource-link {
    align-items: flex-start;
    flex-direction: column;
  }
}

.promo-status.success {
  color: var(--success);
  font-weight: 760;
}

.promo-status.error {
  color: #ff8b8b;
  font-weight: 760;
}

.framework-detail-hero {
  padding: clamp(42px, 6vw, 74px) 0 clamp(18px, 3vw, 30px);
}

.framework-detail-hero .container {
  display: grid;
  gap: 14px;
}

.framework-detail-hero h1 {
  max-width: 920px;
  font-size: clamp(2.6rem, 5vw, 5.4rem);
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.framework-detail-hero .muted {
  max-width: 860px;
  font-size: clamp(1rem, 1.2vw, 1.18rem);
}

.framework-embed-section {
  padding: 0 0 clamp(54px, 7vw, 90px);
}

.framework-embed-wrap {
  display: grid;
  gap: 16px;
}

.framework-embed {
  width: 100%;
  height: min(78vh, 980px);
  min-height: 620px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #eaf3fb;
  box-shadow: var(--shadow);
}

/* Production homepage polish: curriculum and pre-registration */
.section-title h2,
.curriculum-grid .card h3,
.promo-modal-header h3,
.promo-form .form-field span {
  font-weight: 820;
  letter-spacing: 0;
}

.curriculum-grid {
  align-items: stretch;
}

.curriculum-grid .card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
  padding: clamp(22px, 2.5vw, 30px);
  background:
    linear-gradient(180deg, rgba(18, 27, 42, 0.96), rgba(13, 20, 32, 0.96)),
    var(--card);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
}

.curriculum-grid .card h3 {
  margin-bottom: 0;
  line-height: 1.22;
}

.curriculum-grid .badge {
  width: 100%;
  justify-content: center;
  margin-bottom: 2px;
  padding: 9px 14px;
  font-weight: 860;
}

.curriculum-grid .card > p.muted {
  align-self: flex-start;
  margin: 4px 0 0;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(120, 215, 255, 0.08);
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.curriculum-grid .card > p.muted + p {
  margin-top: -4px;
  color: rgba(246, 248, 251, 0.84);
  font-weight: 640;
}

.curriculum-grid .list {
  display: grid;
  gap: 10px;
  padding: 2px 0 4px;
}

.curriculum-grid .list li {
  align-items: flex-start;
  line-height: 1.45;
}

.curriculum-grid .list li span {
  font-weight: 860;
}

.promo-modal-card {
  width: min(880px, 92%);
  padding: clamp(24px, 3vw, 34px);
  gap: 22px;
}

.promo-modal-header {
  max-width: 760px;
}

.promo-modal-header h3 {
  margin: 6px 0;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.promo-form {
  gap: 22px;
}

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

.promo-form .form-field {
  gap: 8px;
}

.promo-form .form-field span {
  color: var(--text);
  font-size: 0.92rem;
}

.promo-form input {
  min-height: 50px;
  border-radius: 8px;
}

.promo-form .cta {
  min-height: 50px;
  font-weight: 820;
}

@media (max-width: 1180px) {
  .home .content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .split,
  .home .hero-layout,
  .admin-home-layout {
    grid-template-columns: 1fr;
  }

  .home .hero-layout {
    min-height: auto;
  }
}

@media (max-width: 860px) {
  .container,
  .home .hero-layout,
  .home .content {
    width: min(100% - 36px, 1600px);
  }

  .brand-logo,
  .nav .brand-logo {
    width: 64px;
    height: 64px;
  }

  .nav-actions {
    position: static;
    margin-left: auto;
  }

  .nav-links {
    top: 86px;
    left: 18px;
    right: 18px;
    max-width: none;
    font-size: 1rem;
  }

  .home .hero-layout h1 {
    font-size: clamp(2.55rem, 14vw, 4.2rem);
  }

  .home .metrics,
  .home .content,
  .footer-grid,
  .prereg-toolbar {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .section-title {
    align-items: flex-start;
    gap: 12px;
  }

  .curriculum-grid .badge {
    width: auto;
  }

  .promo-modal-card {
    width: min(100% - 28px, 760px);
    padding: 24px;
  }

  .framework-detail-hero h1 {
    font-size: clamp(2.15rem, 11vw, 3.35rem);
    line-height: 1.05;
  }

  .framework-embed {
    min-height: 560px;
    height: 70vh;
  }

  .prereg-table {
    min-width: 760px;
  }
}

@media (max-width: 520px) {
  .framework-detail-hero {
    padding: 30px 0 16px;
  }

  .framework-detail-hero .container {
    gap: 10px;
  }

  .framework-detail-hero h1 {
    font-size: clamp(2rem, 10vw, 2.85rem);
    line-height: 1.08;
  }

  .framework-detail-hero .muted {
    font-size: 1rem;
    line-height: 1.55;
  }

  .framework-embed-section {
    padding-bottom: 36px;
  }

  .framework-embed-wrap {
    width: min(100% - 20px, 1600px);
  }

  .framework-embed {
    min-height: 520px;
    border-radius: 8px;
  }
}
