:root {
  /* Color palette */
  --pale-green: #f0fdf4;
  --teal-green: #2dd4bf;
  --deep-teal-blue: #0b3142;
  --light-cyan: #a7f3d0;
  --very-pale-blue: #f0f9ff;
  
  /* Semantic colors using palette */
  --bg: #0b132b;
  --fg: #f0f9ff;
  --muted: #a7f3d0;
  --brand: #2dd4bf;
  --brand-2: #0b3142;
  --brand-dark: #0b3142;
  --card: #ffffff;
  --ink: #0b132b;
  --ink-2: #1f2937;
  --paper: #ffffff;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; color: #0b132b; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 2px; }
.container { width: min(1100px, 92%); margin: 0 auto; }

/* Skip to main content link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--brand);
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 100;
}
.skip-link:focus {
  top: 0;
}

/* Header */
header { background: var(--paper); border-bottom: 1px solid #e5e7eb; position: sticky; top: 0; z-index: 50; }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.nav-left { display: flex; align-items: center; gap: 18px; }
.nav-left a { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-left img { height: 40px; width: auto; }
.nav-left .logo-text { font-size: 24px; font-weight: 700; color: #0b132b; }
.nav-links { display: none; gap: 18px; }
.nav .menu-btn { display: inline-flex; padding: 8px 10px; border: 1px solid #e5e7eb; border-radius: 10px; background: #fff; cursor: pointer; }
.nav .menu-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav .menu-btn { display: none; }
}
.mobile-menu { display: none; padding: 8px 0 16px; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 10px 0; border-top: 1px solid #eee; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--very-pale-blue) 0%, #ffffff 100%); }
.hero-inner { padding: 80px 0 30px; display: grid; grid-template-columns: 1fr; gap: 24px; }
.hero h1 { font-size: clamp(28px, 4vw, 44px); margin: 0 0 10px; line-height: 1.1; }
.hero p { font-size: clamp(16px, 2.2vw, 20px); color: #374151; }
.cta { display: inline-flex; gap: 12px; margin-top: 22px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(45, 212, 191, 0.3); transition: all 0.2s; }
.btn.primary { background: var(--brand); color: white; }
.btn.primary:hover { background: var(--brand-dark); text-decoration: none; }
.btn.ghost { background: white; color: var(--brand); }
.btn.ghost:hover { background: var(--very-pale-blue); text-decoration: none; }
.btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.badges { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; color: var(--brand); }
.badge { background: rgba(45, 212, 191, 0.15); color: var(--brand-dark); padding: 6px 10px; border-radius: 999px; font-size: 14px; }

/* Sections */
section { padding: 54px 0; }
.section-title { font-size: 26px; margin-bottom: 10px; }
.section-sub { color: #475569; margin-bottom: 20px; }

.grid-3 { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 18px; }
.card h3 { margin-top: 0; }
.kv { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; }
.kv div:nth-child(odd) { color: #475569; }

/* Form styles */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; color: #1f2937; }
.form-group .required { color: #dc2626; }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-family: inherit;
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.1);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-status {
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 16px;
}
.form-status.success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}
.form-status.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* Footer */
footer { border-top: 1px solid #e5e7eb; padding: 30px 0; color: #475569; font-size: 14px; }

/* Content */
.prose p { line-height: 1.6; color: #1f2937; }
.prose h2, .prose h3 { margin-top: 1.4em; }
.prose ul { line-height: 1.8; }
.prose ul li { margin-bottom: 8px; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 10px; border-bottom: 1px solid #e5e7eb; text-align: left; }
.kicker { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); font-weight: 600; }
.badge { background: rgba(45, 212, 191, 0.15); color: var(--brand-dark); padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; display: inline-block; margin-bottom: 12px; }