:root {
  --bg: #0b0f14;
  --card: #101824;
  --muted: #b7c0cf;
  --text: #eef2f7;
  --border: rgba(255, 255, 255, 0.1);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --card-solid: rgba(16, 24, 36, 0.92);
  --card-accent-wash: rgba(46, 204, 113, 0.06);

  /* Accent */
  --accent: rgba(46, 204, 113, 1);
  --accent-soft: rgba(46, 204, 113, 0.2);
  --accent-border: rgba(46, 204, 113, 0.35);
  --accent-outline: rgba(46, 204, 113, 0.35);
}

.branding {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial;
  background:
    radial-gradient(
      1200px 700px at 20% 10%,
      rgba(46, 204, 113, 0.14),
      transparent 60%
    ),
    radial-gradient(
      900px 600px at 80% 30%,
      rgba(148, 163, 184, 0.1),
      transparent 55%
    ),
    var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 10px 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  z-index: 9999;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(46, 204, 113, 0.18);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header{
  position: sticky;
  top: 0;
  z-index: 2000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(46, 204, 113, 0.18);
  border: 1px solid var(--accent-border);
  font-weight: 900;
}
.brand-name {
  font-weight: 800;
  letter-spacing: 0.2px;
}

.nav-toggle {
  position: relative;
  z-index: 2001;
  display: none;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-link {
  padding: 10px 10px;
  border-radius: 12px;
  color: rgba(233, 236, 245, 0.9);
}
.nav-link[aria-current="page"] {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--accent-border);
  background: var(--accent-soft);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover {
  text-decoration: none;
  filter: brightness(1.07);
}
.btn:active {
  transform: translateY(1px);
}

.btn-small {
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 800;
}

.btn-secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
}

.hero {
  padding: 64px 0 34px;
  background:
    linear-gradient(135deg, rgba(11, 16, 32, 0.82), rgba(11, 16, 32, 0.94)),
    url("../images/hero/hero-banner.jpg") center / cover no-repeat;
  border-bottom: 1px solid var(--border);
}
.hero {
  min-height: 420px;
  display: flex;
  align-items: center;
}

.hero-inner {
  display: flex;
}
.hero-copy {
  max-width: 820px;
}

h1 {
  font-size: clamp(30px, 4vw, 44px);
  margin: 0 0 12px;
}
h2 {
  font-size: clamp(22px, 3vw, 30px);
  margin: 0 0 10px;
}
h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.lead {
  color: rgba(233, 236, 245, 0.85);
  font-size: 18px;
  line-height: 1.55;
  margin: 0 0 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 14px;
}

.hero-bullets {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
}
.hero-bullets li {
  margin: 6px 0;
}

.page-hero {
  padding: 44px 0 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}
.page-hero::before,
.page-hero::after {
  pointer-events: none;
}

.section {
  padding: 34px 0;
}
.section-muted {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  margin-bottom: 16px;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(
    180deg,
    var(--card-accent-wash),
    var(--card-solid)
  );
  border-radius: var(--radius);
  padding: 14px 14px;
  box-shadow: var(--shadow);
}
.card:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.45);
}
.card p {
  color: var(--muted);
  margin: 0 0 10px;
  line-height: 1.55;
}
.card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.card li {
  margin: 6px 0;
}

.card-actions {
  margin-top: 12px;
}

.center-actions {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
  align-items: start;
}

.checklist {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
}
.checklist li {
  margin: 6px 0;
}

.link-list {
  margin: 10px 0 0;
  padding-left: 18px;
}
.link-list li {
  margin: 8px 0;
}

.form {
  display: grid;
  gap: 12px;
}

.form label {
  display: grid;
  gap: 6px;
  font-weight: 800;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  box-sizing: border-box;
  display: block;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  line-height: 1.2;
}

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

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid var(--accent-outline);
  outline-offset: 2px;
}

.form-message {
  margin: 0;
  color: var(--muted);
  min-height: 1.2em;
}

.cta {
  text-align: center;
}
.cta p {
  max-width: 720px;
  margin: 0 auto 14px;
  color: var(--muted);
  line-height: 1.55;
}

.footer {
  border-top: 1px solid var(--border);
  background: rgba(11, 16, 32, 0.8);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.footer a {
  color: rgba(233, 236, 245, 0.88);
}

/* Toast */
.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1000;
  max-width: min(420px, calc(100% - 36px));
}
.toast[hidden] {
  display: none;
}
.toast-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(17, 26, 51, 0.92);
  box-shadow: var(--shadow);
}
.toast-title {
  font-weight: 900;
  white-space: nowrap;
}
.toast-message {
  color: var(--muted);
  flex: 1;
}
.toast-close {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  width: 34px;
  height: 34px;
  border-radius: 12px;
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
    position: relative;
    z-index: 2001;
  }
  .header{
    position: sticky;
    top: 0;
    z-index: 2000;
  }
  .site-nav {
    position: absolute;
    right: 16px;
    top: 60px;
    flex-direction: column;
    align-items: stretch;
    width: min(340px, calc(100% - 32px));
    padding: 12px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: rgba(11, 16, 32, 0.92);
    box-shadow: var(--shadow);
    display: none;
  }
  .site-nav.is-open {
    display: flex;
  }

  .cards {
    grid-template-columns: 1fr;
  }
  .split {
    grid-template-columns: 1fr;
  }
}

/* ===== Forms ===== */
form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

label {
  font-weight: 600;
  font-size: 0.95rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border-radius: 6px;
  border: 1px solid #2f3a45;
  background: #111821;
  color: #e5e7eb;
  font-size: 0.95rem;
}

input::placeholder,
textarea::placeholder {
  color: #6b7280;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #10b981; /* emerald accent */
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

/* Checkbox group container */
.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.6rem 1.2rem;
}

/* Each checkbox item */
.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 400;
  line-height: 1.2;
}

/* Actual checkbox */
.checkbox-group input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #10b981; /* emerald */
  margin: 0;
}
/* Fieldset box */
fieldset {
  border: 1px solid #2f3a45;
  border-radius: 8px;
  padding: 1rem;
}

legend {
  padding: 0 0.4rem;
  font-weight: 600;
}

/* Only affects checkbox rows inside grids */
.grid input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  vertical-align: middle;
  transform: translateY(1px);
  accent-color: #10b981; /* emerald */
}

/* Pair checkbox + label text */
.grid input[type="checkbox"] + label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1.2;
  margin: 0;
}

/* If a .grid contains checkboxes, treat it as a flex row */
.grid:has(input[type="checkbox"]) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 16px; /* row gap, column gap */
}

/* Make each checkbox+label a neat little pill-row */
.grid:has(input[type="checkbox"]) label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  white-space: nowrap;
}

/* Checkbox sizing + vertical stability */
.grid input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  transform: translateY(1px);
  accent-color: #10b981; /* emerald */
}
