:root {
  /* Core brand colors */
  --navy: #0F2A5A;
  --brand: #1A4ED8;
  --brand-accent: #3B82F6;
  --blue-50: #F7FBFF;
  --blue-25: #E6F2FF;

  /* Grays */
  --gray-900: #111827;
  --gray-600: #4B5563;
  --gray-400: #9CA3AF;
  --white: #FFFFFF;

  /* Semantic aliases */
  --bg-default: var(--white);
  --bg-alt: var(--blue-50);
  --card-bg: var(--blue-25);
  --text-strong: var(--navy);
  --text-body: var(--gray-900);
  --text-muted: var(--gray-600);
  --border: var(--gray-400);

  /* Legacy mappings for compatibility */
  --background: var(--white);
  --surface: var(--white);
  --accent: var(--brand);
  --text-primary: var(--text-strong);
  --text-secondary: var(--text-body);

  /* Shadows - more subtle */
  --shadow-lg: 0 4px 12px rgba(15, 42, 90, 0.10);
  --shadow-subtle: 0 2px 8px rgba(15, 42, 90, 0.06);
  --shadow-card: 0 2px 8px rgba(15, 42, 90, 0.06);

  /* Borders */
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;

  --max-width: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-default);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 18px;
}

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

a:hover {
  color: #1d4ed8;
}

.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid rgba(156, 163, 175, 0.2);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--foreground);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.brand:hover {
  opacity: 0.8;
  color: var(--foreground);
}

.brand-logo {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 6px 16px -10px rgba(37, 99, 235, 0.45);
}

.header-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
  color: var(--muted-foreground);
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.header-links a {
  padding: 0.25rem 0.4rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  color: inherit;
}

.header-links a:hover {
  color: var(--accent);
  background: rgba(37, 99, 235, 0.08);
}

.header-cta {
  margin-left: auto;
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.header-cta:hover {
  background: #1640C0;
}

.hero {
  padding: 6rem 0;
  background: var(--bg-default);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 4rem;
  max-width: 1120px;
  margin: 0 auto;
}

.hero-copy {
  padding: 0;
}

.hero-copy .label {
  display: inline-block;
  background: rgba(37, 99, 235, 0.12);
  color: #1e3a8a;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1 {
  font-size: clamp(3rem, 5vw, 3.5rem);
  line-height: 1.15;
  margin: 0 0 1.5rem 0;
  color: var(--navy);
  font-weight: 600;
}

.hero-tagline {
  margin: 0 0 2rem;
  color: var(--text-body);
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 540px;
}

.subtext {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn.primary {
  background: var(--brand);
  color: var(--white);
}

.btn.primary:hover {
  background: #1640C0;
  transform: translateY(-1px);
}

.btn.secondary {
  background: var(--white);
  color: var(--brand);
  border: 1px solid var(--brand);
}

.btn.secondary:hover {
  background: var(--card-bg);
}

.btn.small {
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  border-radius: 10px;
}

.btn.large {
  padding: 1rem 2.75rem;
  font-size: 1.05rem;
}

.btn.disabled {
  pointer-events: none;
  opacity: 0.5;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.terminal {
  background: #02040a;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.25);
}

.terminal-header {
  display: flex;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.06);
}

.terminal-header span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.terminal-body {
  padding: 1.5rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.85rem;
  color: #d5e2ff;
  background: radial-gradient(circle at 15% -15%, rgba(37, 99, 235, 0.35), transparent 55%);
}

.terminal-input {
  color: #7f8db5;
  margin: 0 0 0.3rem;
}

.terminal-command {
  color: #8ee8ff;
  margin: 0 0 1.3rem;
  animation: pulse 3s ease-in-out infinite;
}

.stream-output {
  display: grid;
  gap: 1rem;
}

.stream-line {
  margin: 0;
  background: #05060d;
  border-radius: 12px;
  border: 1px solid rgba(37, 99, 235, 0.35);
  padding: 1rem 1.2rem;
  color: #f0f5ff;
  box-shadow: 0 24px 36px -28px rgba(37, 99, 235, 0.65);
  max-height: 180px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  animation: stream 6s ease-in-out infinite;
}

.stream-line::-webkit-scrollbar {
  height: 6px;
}

.stream-line::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.try-it {
  margin-top: 1.6rem;
  padding: 1.4rem;
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--radius-md);
  background: rgba(37, 99, 235, 0.08);
  color: var(--text-secondary);
}

.try-it-title {
  margin: 0;
  font-weight: 600;
  color: var(--text-primary);
}

.try-it-note {
  margin: 0.4rem 0 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

@keyframes stream {
  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(-6px);
    opacity: 0.9;
  }
}

.section {
  padding: 5rem 0;
}

.section.alt {
  background: var(--bg-alt);
}

.section.navy-band {
  background: var(--navy);
  color: var(--white);
}

.section.navy-band h2,
.section.navy-band h3 {
  color: var(--white);
}

.section.navy-band p {
  color: rgba(255, 255, 255, 0.85);
}

.section.navy-band .btn.primary {
  background: var(--white);
  color: var(--brand);
}

.section.navy-band .btn.primary:hover {
  background: var(--card-bg);
  transform: translateY(-2px);
}

/* Value cards */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  background: var(--card-bg);
  border: 1px solid rgba(156, 163, 175, 0.3);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

.value-card h3 {
  font-size: 1.25rem;
  margin: 0 0 0.75rem 0;
  color: var(--text-strong);
  font-weight: 600;
}

.value-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Feature bands */
.feature-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
}

.feature-band-text h2 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  margin: 0 0 1rem 0;
  color: var(--text-strong);
  font-weight: 600;
}

.feature-band-text p {
  margin: 0;
  color: var(--text-body);
  font-size: 1.125rem;
  line-height: 1.75;
}

.feature-band-visual {
  background: var(--card-bg);
  border: 1px solid rgba(156, 163, 175, 0.2);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.feature-band-visual img {
  max-width: 100%;
  height: auto;
}

/* Status Dashboard */
.status-dashboard {
  background: var(--white);
  border: 1px solid rgba(156, 163, 175, 0.3);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.status-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.status-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.status-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-strong);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.status-indicator.status-operational {
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.status-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.status-value {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-strong);
}

.section-stack {
  display: grid;
  gap: 2rem;
}

.section h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin: 0;
}

.lead {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 780px;
}

.feature-grid {
  display: grid;
  gap: 1.6rem;
}

.feature-grid.columns-2 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: grid;
  gap: 0.9rem;
  box-shadow: var(--shadow-subtle);
}

.feature-card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-secondary);
}

.icon-card .icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.12);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.icon-card.code-card {
  gap: 1.1rem;
}

.code-snippet {
  margin: 0;
  background: #05060d;
  border: 1px solid rgba(37, 99, 235, 0.35);
  padding: 1rem 1.2rem;
  border-radius: 12px;
  font-family: 'Space Mono', monospace;
  font-size: 0.9rem;
  color: #f1f5ff;
  white-space: pre-wrap;
  word-break: break-word;
}

.code-snippet code {
  display: block;
}

.small {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.problem {
  background: rgba(255, 255, 255, 0.6);
}

.problem p {
  margin: 0;
  max-width: 780px;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.who-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.who-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 1.6rem;
  box-shadow: var(--shadow-subtle);
}

.who-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

.who-card p {
  margin: 0;
  color: var(--text-secondary);
}

.who-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.2rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.who-icons span {
  background: rgba(37, 99, 235, 0.12);
  border-radius: 12px;
  padding: 0.35rem 0.75rem;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.88rem;
}

.why-love {
  background: linear-gradient(180deg, rgba(226, 235, 255, 0.65), transparent);
}

.love-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.love-cta {
  display: flex;
  align-items: center;
  margin-top: 1rem;
}

.use-case-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.use-case-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 1.8rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow-subtle);
}

.use-case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.42);
  box-shadow: 0 20px 36px -28px rgba(37, 99, 235, 0.38);
}

.built-with {
  background: rgba(255, 255, 255, 0.6);
}

.built-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.built-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  box-shadow: var(--shadow-subtle);
  display: grid;
  gap: 0.75rem;
}

.built-card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.built-card p {
  margin: 0;
  color: var(--text-secondary);
}

.dev-stack {
  display: grid;
  gap: 1.8rem;
}

.dev-section {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-subtle);
}

.dev-section-text {
  flex: 1 1 260px;
  min-width: 220px;
}

.dev-section-text h3 {
  margin: 0 0 0.8rem;
  font-size: 1.2rem;
}

.dev-section-text p {
  margin: 0;
  color: var(--text-secondary);
}

.dev-section .small {
  color: var(--text-muted);
}

.dev-section .code-snippet {
  flex: 1 1 320px;
  min-width: 280px;
  margin: 0;
}

.dev-section-code {
  align-items: stretch;
}

.dev-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
  color: var(--text-secondary);
}

.dev-list li {
  position: relative;
  padding-left: 1.2rem;
}

.dev-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.dev-list-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.syntax {
  position: relative;
}

.syntax code {
  display: block;
  font-family: 'Space Mono', monospace;
  line-height: 1.6;
}

.syntax .token-keyword {
  color: #569cd6;
  font-weight: 600;
}

.syntax .token-module {
  color: #4ec9b0;
}

.syntax .token-string {
  color: #ce9178;
}

.syntax .token-builtin {
  color: #dcdcaa;
}

.syntax .token-comment {
  color: #6a9955;
  font-style: italic;
}

.for-developers {
  background: rgba(226, 235, 255, 0.55);
}

.pricing .note {
  color: var(--text-muted);
  margin: 0;
}

.pricing-table {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.pricing-tier {
  background: var(--surface);
  padding: 2rem 1.8rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  display: grid;
  gap: 0.75rem;
  box-shadow: var(--shadow-subtle);
}

.pricing-tier.featured {
  border: 1px solid rgba(37, 99, 235, 0.45);
  background: linear-gradient(165deg, rgba(37, 99, 235, 0.15), var(--surface));
}

.tier-for {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.tier-price {
  font-size: 1.8rem;
  font-weight: 600;
}

.pricing-tier ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text-secondary);
  display: grid;
  gap: 0.5rem;
}

.testimonials {
  background: linear-gradient(180deg, rgba(226, 235, 255, 0.7), rgba(240, 245, 255, 0.4));
}

.testimonial-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.testimonial-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 2rem;
  box-shadow: var(--shadow-subtle);
}

.quote {
  font-size: 1.1rem;
  margin: 0 0 1.2rem;
  color: var(--text-primary);
}

.author {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.cta {
  padding: 6rem 0;
}

.cta-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(156, 163, 175, 0.2);
  padding: 4rem;
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.cta-intro h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(2rem, 3vw, 2.6rem);
  color: var(--navy);
}

.cta-intro p {
  margin: 0 0 2rem;
  color: var(--text-body);
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 520px;
}

.cta-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
  color: var(--text-body);
}

.cta-benefits li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
}

.cta-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: 700;
  font-size: 1.1rem;
}

.cta-form-block h3 {
  margin: 0 0 1rem 0;
  font-size: 1.5rem;
  color: var(--navy);
}

.cta-form-block p {
  margin: 0 0 2rem;
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.7;
}

.cta-footnote {
  margin: 1.5rem 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.founders {
  background: rgba(240, 245, 255, 0.7);
  text-align: left;
}

.founders .small {
  margin: 0;
  color: var(--text-secondary);
  font-weight: 500;
}

.waitlist-form {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: stretch;
}

.waitlist-form input {
  flex: 1 1 300px;
  min-width: 0;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(156, 163, 175, 0.4);
  background: var(--white);
  font-size: 1rem;
  color: var(--text-body);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.waitlist-form input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(26, 78, 216, 0.1);
}

.waitlist-message {
  margin: 1rem 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.waitlist-message.waitlist-success {
  color: #10b981;
  font-weight: 600;
}

.waitlist-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.site-footer {
  background: var(--navy);
  padding: 4rem 0 2rem;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem 2rem;
}

.footer-column h4 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 1rem 0;
  color: var(--white);
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-column a:hover {
  color: var(--white);
}

.footer-brand {
  display: grid;
  gap: 0.75rem;
  color: var(--white);
}

.footer-brand .brand-name {
  font-size: 1.125rem;
  font-weight: 600;
}

.footer-tagline {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 768px) {
  .header-links {
    display: none;
  }

  .hero {
    padding: 3rem 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-copy h1 {
    font-size: 2rem;
  }

  .feature-band {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 0;
  }

  .value-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .cta-card {
    grid-template-columns: 1fr;
    padding: 2.5rem 1.5rem;
  }

  .status-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .waitlist-form {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-card .btn {
    width: 100%;
    justify-content: center;
  }

  .waitlist-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 540px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

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

  .section {
    padding: 3rem 0;
  }
}

/* Auth Components */
#auth-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 10;
}

#auth-container .btn {
  cursor: pointer;
  pointer-events: auto;
}

.user-menu {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-email {
  color: var(--text-body);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Auth Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 42, 90, 0.5);
  backdrop-filter: blur(4px);
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: min(90%, 420px);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(156, 163, 175, 0.2);
  position: relative;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  font-size: 1.8rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--text-body);
}

.modal-content h2 {
  margin: 0 0 1.5rem;
  font-size: 1.8rem;
  color: var(--navy);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.auth-form input {
  padding: 0.95rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(156, 163, 175, 0.3);
  background: var(--white);
  font-size: 1rem;
  color: var(--text-body);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-form input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(26, 78, 216, 0.15);
}

.auth-form button {
  margin-top: 0.5rem;
  width: 100%;
}

.auth-message {
  margin: 0;
  font-size: 0.9rem;
  text-align: center;
}

.auth-message.error {
  color: #dc2626;
}

.auth-message.success {
  color: var(--brand);
}

.auth-toggle {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.oauth-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.oauth-btn {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--white);
  border: 1px solid rgba(156, 163, 175, 0.3);
  border-radius: 10px;
  color: var(--text-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.oauth-btn:hover {
  background: rgba(249, 250, 251, 1);
  border-color: rgba(156, 163, 175, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.auth-divider {
  margin: 1.25rem 0;
  text-align: center;
  position: relative;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 42%;
  height: 1px;
  background: rgba(156, 163, 175, 0.25);
}

.auth-divider::before {
  left: 0;
}

.auth-divider::after {
  right: 0;
}

.auth-toggle a {
  color: var(--brand);
  font-weight: 600;
}
