:root {
  --bg-canvas: #f3f0fa;
  --bg-surface: #ffffff;
  --bg-surface-alt: #f8f6fc;
  --text-primary: #1e293b;
  --text-muted: #475569;
  --accent-primary: #1e2a5a;
  --accent-hover: #141c3d;
  --border-subtle: #e2dcf0;
  --shadow-ambient: 0 10px 30px -5px rgba(30, 42, 90, 0.08);
  --shadow-lift: 0 20px 40px -8px rgba(30, 42, 90, 0.16);
  --radius-card: 20px;
  --radius-btn: 0px;
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-wrap: anywhere;
  hyphens: auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, .brand-logo, .nav-link, .btn {
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--accent-primary);
}

h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

p:last-child {
  margin-bottom: 0;
}

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

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

.site-header {
  position: relative;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.5rem 1.5rem 1rem;
  z-index: 100;
}

.header-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
}

.brand-logo {
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 800;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: none;
}

@media (min-width: 640px) {
  .brand-tagline { display: inline-block; }
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  font-size: 1.5rem;
  line-height: 1;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  color: var(--accent-primary);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.85rem;
}

.nav-link {
  font-size: 0.85rem;
  color: var(--accent-primary);
  padding: 0.25rem 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0 0.5rem;
  }
  .main-nav.open {
    display: flex;
  }
}

main {
  flex: 1 0 auto;
}

.section-band {
  width: 100%;
  padding: 4.5rem 1.5rem;
}

.band-light {
  background-color: var(--bg-surface);
}

.band-lilac {
  background-color: var(--bg-canvas);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.hero-band {
  background-color: var(--bg-surface);
  padding: 3rem 1.5rem 4.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-ambient);
}

.hero-image-wrapper img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}

.floating-stat-card {
  position: relative;
  margin-top: -3.5rem;
  margin-left: 1.5rem;
  margin-right: 1.5rem;
  background: var(--bg-surface);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  box-shadow: var(--shadow-lift);
  border: 1px solid var(--border-subtle);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1.5rem;
  z-index: 2;
}

@media (min-width: 900px) {
  .floating-stat-card {
    margin-top: -4rem;
    margin-left: 2rem;
    margin-right: 2rem;
  }
}

.stat-item {
  text-align: center;
  border-right: 1px solid var(--border-subtle);
  padding: 0.5rem;
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  font-family: "Arial Narrow", sans-serif;
  color: var(--accent-primary);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border: 2px solid var(--accent-primary);
  background: transparent;
  color: var(--accent-primary);
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn:hover {
  background: var(--accent-primary);
  color: #ffffff;
}

.btn-secondary {
  border-color: var(--border-subtle);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: var(--bg-canvas);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: var(--bg-surface);
  border-radius: var(--radius-card);
  padding: 2.25rem;
  box-shadow: var(--shadow-ambient);
  transition: var(--transition-smooth);
  border: none;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
}

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.card-tag {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--accent-primary);
  background: var(--bg-canvas);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.section-head {
  max-width: 72ch;
  margin-bottom: 2.5rem;
}

.section-head.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.prose {
  max-width: 72ch;
  margin: 0 auto;
}

.prose p {
  font-size: 1.05rem;
  line-height: 1.75;
}

.table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-ambient);
  background: var(--bg-surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

th, td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

th {
  background-color: var(--bg-surface-alt);
  color: var(--accent-primary);
  font-family: "Arial Narrow", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

tr:last-child td {
  border-bottom: none;
}

.faq-item {
  background: var(--bg-surface);
  border-radius: var(--radius-card);
  padding: 1.5rem 2rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-ambient);
}

.faq-question {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-answer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: var(--accent-primary);
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--bg-surface-alt);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: var(--transition-smooth);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: #ffffff;
}

.tool-output {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--bg-surface-alt);
  border-radius: 12px;
  border: 1px dashed var(--border-subtle);
  display: none;
}

.tool-output pre {
  white-space: pre-wrap;
  word-break: break-all;
  font-family: monospace;
  font-size: 0.85rem;
  background: #ffffff;
  padding: 1rem;
  border-radius: 6px;
  margin: 1rem 0;
}

.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 1.5rem 2rem;
  margin-top: auto;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-col h4 {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: var(--accent-primary);
}

.footer-nav {
  list-style: none;
}

.footer-nav li {
  margin-bottom: 0.5rem;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-nav a:hover {
  color: var(--accent-primary);
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-meta {
  line-height: 1.5;
}

.badge-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.badge {
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-primary);
}

@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
