:root {
  --bg-canvas: #160f2e;
  --bg-surface: #241a43;
  --bg-surface-elevated: #2f2355;
  --text-primary: #ffffff;
  --text-muted: #d7cdec;
  --accent-magenta: #e0409b;
  --accent-cyan: #22d3ee;
  --border-subtle: #665785;
  --radius-default: 20px;
  --max-width: 1100px;
  --font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

body {
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: 1.05rem;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

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

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 1rem;
  background: var(--accent-cyan);
  color: var(--bg-canvas);
  padding: 0.5rem 1rem;
  font-weight: 700;
  border-radius: var(--radius-default);
  z-index: 1000;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.dot-pattern {
  background-image: radial-gradient(rgba(102, 87, 133, 0.35) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}

.site-header {
  position: relative;
  width: 100%;
  padding: 12px 1.5rem;
  background-color: rgba(22, 15, 46, 0.95);
  border-bottom: 1px solid var(--border-subtle);
}

.header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-brand {
  margin-right: auto;
  text-align: left;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  text-decoration: none;
}

.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-magenta), var(--accent-cyan));
  display: inline-block;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  list-style: none;
}

.nav-desktop a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  color: var(--text-primary);
  border-bottom: 2px solid var(--accent-cyan);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  color: var(--text-primary);
  font-size: 1.25rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-mobile-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--bg-surface);
  border-bottom: 2px solid var(--border-subtle);
  padding: 1.5rem;
  z-index: 99;
}

.nav-mobile-dropdown.is-open {
  display: block;
}

.nav-mobile-dropdown ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nav-mobile-dropdown a {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 0.4rem 0;
}

.nav-mobile-dropdown a:hover,
.nav-mobile-dropdown a[aria-current="page"] {
  color: var(--accent-cyan);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn-cyan {
  background-color: var(--accent-cyan);
  color: #160f2e;
}

.btn-magenta {
  background-color: var(--accent-magenta);
  color: #160f2e;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(34, 211, 238, 0.35);
  color: #160f2e;
}

.btn-magenta:hover {
  box-shadow: 0 8px 20px rgba(224, 64, 155, 0.35);
}

.hero-landscape {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(3rem, 7vw, 6rem) 1.5rem;
  background-color: var(--bg-canvas);
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 15, 46, 0.4) 0%, rgba(22, 15, 46, 0.92) 100%),
              radial-gradient(ellipse at center, rgba(36, 26, 67, 0.7) 0%, rgba(22, 15, 46, 0.95) 85%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 1.2rem;
  overflow-wrap: anywhere;
}

.hero-content p {
  color: var(--text-muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 68ch;
  margin-left: auto;
  margin-right: auto;
}

.band {
  width: 100%;
  padding: clamp(3.5rem, 6vw, 6rem) 1.5rem;
}

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

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

.band-statement {
  background: linear-gradient(135deg, rgba(36, 26, 67, 0.9) 0%, rgba(22, 15, 46, 0.98) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-head {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-head.centered {
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 0.8rem;
  overflow-wrap: anywhere;
}

.section-head p {
  color: var(--text-muted);
  max-width: 68ch;
  font-size: 1.1rem;
}

.section-head.centered p {
  margin: 0 auto;
}

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

.grid-2col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.card {
  background-color: var(--bg-surface);
  border-radius: var(--radius-default);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

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

.card:hover, .card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 18px rgba(34, 211, 238, 0.15);
}

.card-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
  background-color: #1a1336;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.card:hover .card-img-wrap img {
  transform: scale(1.04);
}

.card-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-tag {
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.card-body h3 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.card-body p {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.split-tile {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-surface);
  border-radius: var(--radius-default);
  overflow: hidden;
  margin-bottom: 2.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.split-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

@media (min-width: 769px) {
  .split-tile {
    flex-direction: row;
    min-height: 380px;
  }
  .split-tile.reverse {
    flex-direction: row-reverse;
  }
  .split-tile .tile-img-box {
    width: 50%;
  }
  .split-tile .tile-text-box {
    width: 50%;
  }
}

.tile-img-box {
  width: 100%;
  aspect-ratio: 16 / 10;
  position: relative;
  background-color: #1a1336;
}

.tile-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tile-text-box {
  padding: clamp(1.8rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tile-text-box h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

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

.tile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.88rem;
  color: var(--accent-cyan);
}

.statement-box {
  background-color: var(--bg-surface);
  border-radius: var(--radius-default);
  padding: clamp(2rem, 5vw, 3.5rem);
  border-left: 6px solid var(--accent-magenta);
}

.statement-box h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.statement-box p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--bg-surface);
  border-radius: var(--radius-default);
  overflow: hidden;
  border: 1px solid rgba(102, 87, 133, 0.4);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.3rem 1.8rem;
  color: var(--text-primary);
  font-size: 1.15rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-icon {
  width: 24px;
  height: 24px;
  color: var(--accent-cyan);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--accent-magenta);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.8rem;
  color: var(--text-muted);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.8rem 1.6rem 1.8rem;
}

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

.reading-column h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.reading-column p {
  color: var(--text-muted);
  margin-bottom: 1.4rem;
}

.reading-column ul, .reading-column ol {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.reading-column li {
  margin-bottom: 0.6rem;
}

.table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: var(--radius-default);
  border: 1px solid var(--border-subtle);
  background-color: 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-elevated);
  color: var(--text-primary);
  font-weight: 800;
}

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

.contact-tool {
  background-color: var(--bg-surface);
  border-radius: var(--radius-default);
  padding: clamp(1.8rem, 4vw, 3rem);
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid var(--border-subtle);
}

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

.form-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background-color: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.output-preview {
  margin-top: 2rem;
  background-color: var(--bg-canvas);
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px dashed var(--border-subtle);
  font-family: monospace;
  font-size: 0.9rem;
  white-space: pre-wrap;
  color: var(--accent-cyan);
  display: none;
}

.status-message {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--accent-cyan);
  display: none;
}

.site-footer {
  background-color: #0f0a21;
  border-top: 1px solid var(--border-subtle);
  padding: clamp(3rem, 5vw, 4.5rem) 1.5rem 2rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.footer-col h4 {
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(102, 87, 133, 0.3);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.88rem;
}

@media (max-width: 991px) {
  .nav-desktop {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
}

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