:root {
  --ink: #0c1222;
  --ink-soft: #3d4663;
  --ink-muted: #6b7394;
  --surface: #f4f6fb;
  --surface-elevated: #ffffff;
  --line: rgba(12, 18, 34, 0.08);
  --accent: #0d9488;
  --accent-deep: #0f766e;
  --accent-glow: rgba(13, 148, 136, 0.25);
  --warm: #e8956a;
  --hero-gradient: linear-gradient(145deg, #0c1222 0%, #152238 45%, #0f3d3a 100%);
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --shadow-soft: 0 24px 60px rgba(12, 18, 34, 0.12);
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Instrument Serif", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.public-site {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: var(--ink);
  color: #fff;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(244, 246, 251, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(12, 18, 34, 0.06);
}
.site-header .navbar {
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}
.site-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
}
.site-brand-logo {
  border-radius: 0.5rem;
  object-fit: contain;
}
.site-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.site-brand-name {
  font-weight: 600;
  font-size: 0.95rem;
}
.site-brand-tag {
  font-size: 0.75rem;
  color: var(--ink-muted);
}
.site-header .nav-link {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.5rem 0.85rem !important;
  border-radius: 999px;
  transition: color 0.15s, background 0.15s;
}
.site-header .nav-link:hover,
.site-header .nav-link.is-active {
  color: var(--ink);
  background: rgba(13, 148, 136, 0.08);
}
.site-header .navbar-toggler {
  border: none;
  padding: 0.35rem 0.5rem;
}
.site-header .navbar-toggler:focus {
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.btn-ghost {
  border: 1px solid var(--line);
  background: var(--surface-elevated);
  color: var(--ink);
  font-weight: 600;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
}
.btn-ghost:hover {
  background: #fff;
  border-color: rgba(12, 18, 34, 0.15);
  color: var(--ink);
}
.btn-primary-soft {
  background: var(--accent);
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  box-shadow: 0 8px 24px var(--accent-glow);
}
.btn-primary-soft:hover {
  background: var(--accent-deep);
  color: #fff;
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(4rem, 10vw, 7rem);
  overflow: hidden;
  background: var(--hero-gradient);
  color: #f8fafc;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(13, 148, 136, 0.35), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(232, 149, 106, 0.2), transparent 50%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.75);
  margin-bottom: 1.25rem;
}
.hero-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--warm);
  box-shadow: 0 0 12px var(--warm);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.hero-title em {
  font-style: italic;
  color: #99f6e4;
}
.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(248, 250, 252, 0.82);
  max-width: 32rem;
  margin-bottom: 2rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.btn-hero-primary {
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  color: var(--ink);
}
.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-weight: 600;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
}
.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: rgba(248, 250, 252, 0.65);
}
.hero-trust strong {
  color: #fff;
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
}
.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-soft);
}
.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
}
.hero-card-badge {
  background: rgba(13, 148, 136, 0.35);
  color: #ccfbf1;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-weight: 600;
}
.hero-card-item {
  background: rgba(12, 18, 34, 0.35);
  border-radius: var(--radius-lg);
  padding: 1rem 1.15rem;
  margin-bottom: 0.75rem;
}
.hero-card-item:last-child {
  margin-bottom: 0;
}
.hero-card-item-title {
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}
.hero-card-item-meta {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  justify-content: space-between;
}
.hero-float {
  position: absolute;
  right: -0.5rem;
  bottom: -1rem;
  background: #fff;
  color: var(--ink);
  border-radius: 1rem;
  padding: 0.85rem 1.1rem;
  box-shadow: var(--shadow-soft);
  font-size: 0.8125rem;
  max-width: 11rem;
}
.hero-float strong {
  display: block;
  color: var(--accent-deep);
  font-size: 1.1rem;
}

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}
.section-alt {
  background: var(--surface-elevated);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.section-lead {
  color: var(--ink-muted);
  font-size: 1.0625rem;
  max-width: 36rem;
}

.feature-card {
  height: 100%;
  background: var(--surface-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: rgba(13, 148, 136, 0.35);
  box-shadow: 0 20px 50px rgba(12, 18, 34, 0.08);
  transform: translateY(-4px);
}
.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.15), rgba(13, 148, 136, 0.05));
  color: var(--accent-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.15rem;
}
.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.feature-card p {
  color: var(--ink-muted);
  font-size: 0.9375rem;
  margin: 0;
}

.steps {
  counter-reset: step;
}
.step-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.step-item::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
  width: 3rem;
}
.step-item h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.step-item p {
  color: var(--ink-muted);
  margin: 0;
  font-size: 0.9375rem;
}

.portal-cards {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .portal-cards {
    grid-template-columns: 1fr 1fr;
  }
}
.portal-card {
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  background: var(--surface-elevated);
  transition: transform 0.2s, box-shadow 0.2s;
  display: block;
}
.portal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  color: inherit;
}
.portal-card-student {
  background: linear-gradient(160deg, #ecfdf5 0%, #fff 60%);
  border-color: rgba(13, 148, 136, 0.2);
}
.portal-card-admin {
  background: linear-gradient(160deg, #f1f5f9 0%, #fff 60%);
}
.portal-card-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}
.portal-card h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin: 0.5rem 0;
}
.portal-card p {
  color: var(--ink-muted);
  margin-bottom: 1.25rem;
}
.portal-card-cta {
  font-weight: 700;
  color: var(--accent-deep);
}

.stats-bar {
  background: var(--ink);
  color: #e2e8f0;
  padding: 2.5rem 0;
}
.stat-block {
  text-align: center;
  padding: 0.5rem;
}
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: #fff;
  line-height: 1;
}
.stat-label {
  font-size: 0.8125rem;
  color: rgba(226, 232, 240, 0.65);
  margin-top: 0.35rem;
}

/* Footer */
.site-footer {
  background: #080d18;
  color: #cbd5e1;
}
.site-footer-cta {
  background: linear-gradient(90deg, var(--accent-deep), #115e59);
  padding: 2.5rem 0;
}
.footer-cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: #fff;
  margin-bottom: 0.5rem;
}
.footer-cta-text {
  color: rgba(255, 255, 255, 0.85);
}
.footer-brand {
  font-weight: 700;
  font-size: 1.125rem;
  color: #fff;
}
.footer-heading {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin-bottom: 1rem;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.9375rem;
  display: block;
  padding: 0.25rem 0;
}
.footer-links a:hover {
  color: #fff;
}
.text-footer-muted {
  color: #94a3b8 !important;
}
.footer-contact a {
  color: #99f6e4;
  text-decoration: none;
}
.footer-divider {
  border-color: rgba(255, 255, 255, 0.08);
}

/* About / Contact pages */
.page-hero {
  padding: 3rem 0 2rem;
  background: var(--surface-elevated);
  border-bottom: 1px solid var(--line);
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
}
.content-prose {
  font-size: 1.0625rem;
  color: var(--ink-soft);
}
.content-prose p {
  margin-bottom: 1.25rem;
}
.contact-card {
  background: var(--surface-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.form-control-public {
  border-radius: 0.65rem;
  border: 1px solid var(--line);
  padding: 0.65rem 0.9rem;
}
.form-control-public:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

/* Auth layout */
body.public-auth {
  min-height: 100vh;
  background: var(--surface);
}
.auth-layout {
  display: flex;
  min-height: 100vh;
}
.auth-panel {
  flex: 0 0 42%;
  background: var(--hero-gradient);
  color: #f8fafc;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.auth-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(13, 148, 136, 0.4), transparent 50%);
}
.auth-panel-inner {
  position: relative;
  max-width: 22rem;
  margin-top: 3rem;
}
.auth-panel-eyebrow {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
}
.auth-panel-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin: 0.5rem 0 1rem;
}
.auth-panel-lead {
  opacity: 0.85;
  margin-bottom: 1.5rem;
}
.auth-panel-list {
  padding-left: 1.1rem;
  opacity: 0.8;
  font-size: 0.9375rem;
}
.auth-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  background: var(--surface);
  background-image: linear-gradient(rgba(244, 246, 251, 0.94), rgba(244, 246, 251, 0.94)), var(--auth-bg-image);
  background-size: cover;
  background-position: center;
}
.auth-card-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}
.auth-card-wide {
  max-width: 640px;
}
.auth-heading {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.auth-subtitle {
  color: var(--ink-muted);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
}
.auth-back {
  color: rgba(248, 250, 252, 0.85);
  text-decoration: none;
  font-size: 0.875rem;
  position: relative;
  z-index: 1;
}
.auth-back:hover {
  color: #fff;
}
.auth-mobile-header {
  padding: 1rem 1.25rem;
}
.auth-mobile-header .auth-back {
  color: var(--ink-soft);
}
.auth-links {
  font-size: 0.875rem;
  margin-top: 1.25rem;
  text-align: center;
  color: var(--ink-muted);
}
.auth-links a {
  color: var(--accent-deep);
  font-weight: 600;
  text-decoration: none;
}
.auth-alert {
  border-radius: 0.65rem;
  font-size: 0.875rem;
  padding: 0.65rem 0.85rem;
  margin-bottom: 1rem;
}

/* ——— Public site v2 ——— */
.site-topbar {
  background: var(--ink);
  color: rgba(248, 250, 252, 0.75);
  font-size: 0.8125rem;
  padding: 0.45rem 0;
}
.site-topbar a {
  color: #99f6e4;
  text-decoration: none;
  font-weight: 600;
}
.site-topbar a:hover {
  text-decoration: underline;
}
.site-brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #2dd4bf);
  flex-shrink: 0;
}

.hero-v2 {
  padding-bottom: clamp(3rem, 8vw, 5rem);
}
.hero-mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
  pointer-events: none;
}
.hero-checklist {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: rgba(248, 250, 252, 0.75);
}
.hero-checklist li::before {
  content: "✓";
  color: #5eead4;
  font-weight: 700;
  margin-right: 0.5rem;
}

.dashboard-mock {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.35);
}
.dashboard-mock-bar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.25);
}
.dashboard-mock-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}
.dashboard-mock-body {
  display: flex;
  min-height: 260px;
}
.mock-sidebar {
  width: 28%;
  padding: 1.25rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.mock-line {
  height: 8px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  margin-bottom: 10px;
}
.mock-line.w-75 { width: 75%; }
.mock-line.w-60 { width: 60%; }
.mock-line.w-50 { width: 50%; }
.mock-main {
  flex: 1;
  padding: 1.25rem;
}
.mock-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-bottom: 1rem;
}
.mock-stat {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0.75rem;
  padding: 0.65rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.5);
}
.mock-stat-num {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  text-transform: none;
  letter-spacing: 0;
}
.mock-stat.accent .mock-stat-num {
  color: #5eead4;
}
.mock-assignment {
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  margin-bottom: 0.65rem;
  font-size: 0.8125rem;
}
.mock-assignment strong {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.2rem;
}
.mock-assignment small {
  color: rgba(255, 255, 255, 0.55);
}
.mock-assignment.due {
  background: rgba(232, 149, 106, 0.15);
  border: 1px solid rgba(232, 149, 106, 0.35);
}
.mock-assignment.done {
  background: rgba(13, 148, 136, 0.15);
  border: 1px solid rgba(13, 148, 136, 0.35);
}
.hero-float-v2 {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  max-width: 14rem;
}
.hero-float-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: #ecfdf5;
  color: var(--accent-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.trust-strip {
  background: var(--surface-elevated);
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}
.trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
}

.stats-bar-v2 {
  padding: 0;
  background: var(--ink);
}
.stats-row {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.stat-block-v2 {
  padding: 2rem 1.5rem;
  text-align: center;
}
.stat-divider {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
@media (max-width: 991px) {
  .stat-block-v2:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }
}

.bento-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(140px, auto);
  }
  .bento-large {
    grid-column: span 2;
    grid-row: span 2;
  }
  .bento-wide {
    grid-column: span 3;
  }
  .bento-accent {
    grid-row: span 2;
  }
}
.bento-item {
  background: var(--surface-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.65rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.bento-item:hover {
  border-color: rgba(13, 148, 136, 0.35);
  box-shadow: 0 16px 40px rgba(12, 18, 34, 0.08);
}
.bento-item.bento-accent {
  background: linear-gradient(160deg, #ecfdf5, #fff);
  border-color: rgba(13, 148, 136, 0.25);
}
.bento-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-deep);
  display: inline-block;
  margin-bottom: 0.5rem;
}
.bento-item h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.bento-item p {
  color: var(--ink-muted);
  font-size: 0.9375rem;
  margin: 0;
}
.bento-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  font-size: 0.875rem;
}

.timeline {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 992px) {
  .timeline {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}
.timeline-step {
  background: var(--surface-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  height: 100%;
}
.timeline-num {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.65rem;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.timeline-step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.timeline-step p {
  font-size: 0.875rem;
  color: var(--ink-muted);
  margin: 0;
}

.quote-card {
  margin: 0;
  height: 100%;
  background: var(--surface-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.quote-card p {
  font-size: 1rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}
.quote-card footer {
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

.faq-accordion .accordion-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg) !important;
  margin-bottom: 0.65rem;
  overflow: hidden;
}
.faq-accordion .accordion-button {
  font-weight: 600;
  font-size: 0.9375rem;
  box-shadow: none;
}
.faq-accordion .accordion-button:not(.collapsed) {
  background: #ecfdf5;
  color: var(--ink);
}

.portal-cards-v2 .portal-card {
  min-height: 220px;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.legal-prose h2 {
  font-size: 1.125rem;
  font-weight: 700;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-legal a {
  color: #94a3b8;
  text-decoration: none;
}
.footer-legal a:hover {
  color: #fff;
}
