@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

/* ===== VARIABLES ===== */
:root {
  --navy:       #111827;
  --navy-deep:  #0A0F1C;
  --navy-light: #1F2D55;
  --orange:     #F26B2A;
  --orange-dark:#D95A1E;
  --sky:        #F0F7FF;
  --sky-mid:    #E2EFFC;
  --text:       #111827;
  --text-mid:   #4B5563;
  --text-light: #9CA3AF;
  --white:      #FFFFFF;
  --border:     #E5E9F0;
  --radius:     10px;
  --radius-lg:  16px;
  --shadow-sm:  0 1px 4px rgba(0,0,0,0.06), 0 2px 10px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.06);
  --max-width:  1160px;
  --font-head:  'Bricolage Grotesque', system-ui, sans-serif;
  --font-body:  'DM Sans', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ===== CONTAINER ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  color: var(--navy);
  font-weight: 600;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); letter-spacing: -0.025em; line-height: 1.1; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.125rem, 2vw, 1.375rem); letter-spacing: -0.01em; font-weight: 600; }
h4 { font-size: 1.0625rem; font-weight: 600; }

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

strong { font-weight: 600; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6875rem 1.375rem;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.9375rem;
  font-family: var(--font-body);
  transition: background 0.18s, transform 0.15s, box-shadow 0.18s, opacity 0.15s;
  border: 1.5px solid transparent;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); opacity: 0.9; }
.btn:active { transform: translateY(0); opacity: 1; }
.btn:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  box-shadow: 0 2px 8px rgba(0,0,0,0.18), 0 1px 2px rgba(0,0,0,0.1);
}
.btn-primary:hover {
  background: #1a2035;
  border-color: #1a2035;
  box-shadow: 0 4px 14px rgba(0,0,0,0.22);
  opacity: 1;
}
.btn-outline {
  background: var(--white);
  color: var(--navy);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover {
  background: var(--sky);
  border-color: #ccd6e0;
  opacity: 1;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(229,233,240,0.8);
}
.site-header .container {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
  min-width: 0;
}
.site-logo__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.site-logo__text {
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.site-logo__text span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
  margin-top: 2px;
}

.site-nav {
  display: none;
  gap: 0.25rem;
}
.site-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: 0.4rem 0.875rem;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.site-nav a:hover { color: var(--navy); background: var(--sky); }
.site-nav a.active { color: var(--orange); }

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  border-radius: 6px;
  transition: background 0.15s;
}
.nav-toggle:hover { background: var(--sky); }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 768px) {
  .site-nav { display: flex; }
  .nav-toggle { display: none; }
}

/* Mobile nav open */
.site-nav.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem;
  gap: 0.25rem;
  box-shadow: var(--shadow-md);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.75);
  padding: 3.5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
  }
}

.footer-brand__logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1rem;
}
.footer-brand__logo-icon {
  width: 32px;
  height: 32px;
  opacity: 0.9;
}
.footer-brand__name {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--white);
}
.footer-brand p {
  font-size: 0.8125rem;
  line-height: 1.65;
  margin-bottom: 0;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--white); }

/* ===== SECTION SPACING ===== */
.section { padding: 5rem 0; }
.section--sky { background: var(--sky); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }

.section-label {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
  display: inline-block;
  background: rgba(242,107,42,0.08);
  border: 1px solid rgba(242,107,42,0.2);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
}
.section-intro {
  color: var(--text-mid);
  font-size: 1.0625rem;
  max-width: 600px;
  margin-top: 0.625rem;
  line-height: 1.72;
}

/* ===== BADGES ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
}
.badge--sky {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--border);
}
.badge--orange {
  background: rgba(242,107,42,0.1);
  color: var(--orange-dark);
  border: 1px solid rgba(242,107,42,0.2);
}

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.breadcrumb a { color: var(--orange); }
.breadcrumb a:hover { text-decoration: underline; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(180deg, #D6ECFF 0%, #EAF5FF 60%, #F5FAFF 100%);
  padding: 3.5rem 0;
  color: var(--navy);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { color: var(--navy); }
.page-hero p { color: var(--text-mid); font-size: 1.0625rem; margin-top: 0.75rem; max-width: 600px; }

/* ===== FORM STYLES ===== */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.375rem;
}
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}
.form-control:focus {
  border-color: var(--navy-light);
  box-shadow: 0 0 0 3px rgba(42,63,126,0.12);
}
textarea.form-control { resize: vertical; min-height: 120px; }

.form-check {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9rem;
  color: var(--text-mid);
  cursor: pointer;
  margin-bottom: 0.5rem;
}
.form-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--orange);
  cursor: pointer;
}

/* ===== UTILITY ===== */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.gap-row { display: flex; flex-direction: column; gap: 1.5rem; }

/* ===== TABLE WRAPPER ===== */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll table { min-width: 700px; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
thead th {
  background: #F8FAFC;
  color: var(--text-mid);
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.875rem 1rem;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1.5px solid var(--border);
}
thead th:first-child { border-radius: 0; }
thead th:last-child  { border-radius: 0; }
tbody tr { border-bottom: 1px solid var(--border); }
tbody tr:hover { background: var(--sky); }
tbody td {
  padding: 0.875rem 1rem;
  color: var(--text);
  vertical-align: middle;
}
tbody td:first-child { font-weight: 600; color: var(--navy); }
.td-check { color: #16A34A; font-size: 1.125rem; font-weight: 600; }
.td-partial {
  color: var(--orange-dark);
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(242,107,42,0.08);
  border-radius: 4px;
  padding: 0.15rem 0.5rem;
  display: inline-block;
  border: 1px solid rgba(242,107,42,0.2);
}
.td-no { color: var(--text-light); font-size: 1rem; }
