/* ============================================================
   Ontario Small Claims Court — homepage styles
   Design tokens: deep burgundy primary, off-white background,
   muted teal + restrained gold accent.
   ============================================================ */

:root {
  --burgundy-900: #3a0d1a;
  --burgundy-800: #5c1626;
  --burgundy-700: #7a1f32;
  --burgundy-100: #f5e8ea;
  --bg: #faf9f6;
  --surface: #ffffff;
  --border: #dde3ea;
  --text: #172431;
  --text-muted: #4b5b6b;
  --teal-600: #1f6f63;
  --teal-700: #175650;
  --gold-600: #a9791f;
  --gold-100: #f4ead0;
  --focus: #2b7de1;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(58, 13, 26, 0.06), 0 1px 1px rgba(58, 13, 26, 0.04);
  --shadow-md: 0 6px 20px rgba(58, 13, 26, 0.08);
  --max-width: 1200px;

  color-scheme: light;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--teal-700); text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
a:hover { color: var(--burgundy-800); }

h1, h2, h3 { line-height: 1.2; color: var(--burgundy-900); font-weight: 700; }
h1 { font-size: clamp(2rem, 4vw + 1rem, 3rem); }
h2 { font-size: clamp(1.5rem, 2vw + 1rem, 2.1rem); }
h3 { font-size: 1.1rem; margin: 0 0 0.4rem; }

p { margin: 0 0 1rem; color: var(--text); }

ul, ol { padding: 0; margin: 0; list-style: none; }

.wrap {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

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

.skip-link {
  position: absolute;
  left: 1rem; top: -3rem;
  background: var(--burgundy-900);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.1;
}
.btn-primary { background: var(--burgundy-800); color: #fff; }
.btn-primary:hover { background: var(--burgundy-900); color: #fff; }
.btn-secondary { background: var(--teal-700); color: #fff; }
.btn-secondary:hover { background: var(--teal-600); color: #fff; }
.btn-outline { background: transparent; border-color: var(--burgundy-800); color: var(--burgundy-800); }
.btn-outline:hover { background: var(--burgundy-800); color: #fff; }

/* ---------------- Header ---------------- */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.85rem;
  gap: 1rem;
  max-width: 1650px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--burgundy-900);
  font-weight: 800;
  font-size: 1.05rem;
  min-width: 0;
}
.brand:hover { color: var(--burgundy-900); }
.brand-mark { border-radius: 6px; flex-shrink: 0; }
.brand-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-right: 96px;
}

.header-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-md);
  background: var(--burgundy-800);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.header-call-btn:hover { background: var(--burgundy-900); color: #fff; }
.header-call-icon { flex-shrink: 0; }
.header-call-text { display: flex; flex-direction: column; line-height: 1.2; }
.header-call-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--gold-600);
}
.header-call-number { font-size: 0.95rem; font-weight: 800; }

.header-icon-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--burgundy-900);
  cursor: pointer;
  flex-shrink: 0;
  text-decoration: none;
}
.header-icon-btn:hover { background: var(--border); }
.header-search-btn { display: inline-flex; }
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--burgundy-900);
  position: relative;
}
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after { position: absolute; top: 6px; }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}
.primary-nav > ul {
  display: flex;
  gap: 1.15rem;
  flex-wrap: wrap;
  flex: 1;
  justify-content: center;
}
.primary-nav a,
.nav-dropdown-toggle {
  color: var(--burgundy-900);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
}
.primary-nav a:hover { color: var(--teal-700); }

.nav-item--dropdown { position: relative; }
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: transparent;
  border: none;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
}
.nav-dropdown-toggle:hover { color: var(--teal-700); }
.nav-caret { flex-shrink: 0; transition: transform 0.15s ease; }
.nav-item--dropdown.is-open .nav-caret,
.nav-item--dropdown:focus-within .nav-caret {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.6rem;
  min-width: 520px;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 0 0.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 0.5rem;
  z-index: 110;
}
.nav-item--dropdown.is-open .nav-dropdown-menu,
.nav-item--dropdown:focus-within .nav-dropdown-menu {
  display: grid;
}
.nav-dropdown-menu li { list-style: none; }
.nav-dropdown-menu a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--burgundy-900);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
}
.nav-dropdown-menu a:hover {
  background: var(--burgundy-100);
  color: var(--teal-700);
}

/* ---------------- Hero ---------------- */
.hero {
  background: linear-gradient(180deg, var(--burgundy-900) 0%, var(--burgundy-800) 100%);
  color: #fff;
  padding-block: clamp(2.5rem, 6vw, 5rem);
}

/* Photo is introduced from tablet width up: keeps mobile payload light and
   avoids the extra visual noise competing with hero text on small screens. */
@media (min-width: 768px) {
  .hero {
    background-image:
      linear-gradient(100deg,
        var(--burgundy-900) 0%,
        var(--burgundy-900) 55%,
        rgba(58, 13, 26, 0.75) 66%,
        rgba(58, 13, 26, 0.35) 78%,
        rgba(58, 13, 26, 0.05) 92%,
        transparent 100%),
      url("/assets/hero-courthouse-desk.jpg");
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
  }
}

.hero-inner { max-width: 780px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-100);
  margin-bottom: 0.75rem;
}
.hero h1 { color: #fff; margin: 0 0 1rem; }
.hero-lede { color: #e8d5d9; font-size: 1.1rem; max-width: 640px; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.5rem 0 2rem;
}
.hero .btn-secondary { background: var(--gold-600); color: var(--burgundy-900); }
.hero .btn-secondary:hover { background: #bd8a2c; color: var(--burgundy-900); }

.hero-search {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  max-width: 560px;
}
.hero-search label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
}
.hero-search-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.hero-search input {
  flex: 1;
  min-width: 200px;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: #fff;
  font-size: 1rem;
}
.hero-search .btn-outline { border-color: #fff; color: #fff; }
.hero-search .btn-outline:hover { background: #fff; color: var(--burgundy-900); }

.trust-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--burgundy-900);
  border-top: 3px solid var(--gold-600);
  border-radius: var(--radius-md);
  padding-block: clamp(1.5rem, 4vw, 2.25rem);
  margin-block: clamp(1.25rem, 3vw, 2rem);
}
.trust-stat {
  text-align: center;
  padding-inline: 0.75rem;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}
.trust-stat:last-child { border-right: none; }
.trust-stat-value {
  font-size: clamp(1.3rem, 3.4vw, 2.1rem);
  font-weight: 800;
  color: var(--gold-600);
  margin: 0 0 0.3rem;
  line-height: 1.1;
}
.trust-stat-label {
  font-size: clamp(0.62rem, 1.8vw, 0.72rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  margin: 0;
}
@media (max-width: 400px) {
  .trust-bar { padding-inline: 0.35rem; gap: 0; }
  .trust-stat { padding-inline: 0.35rem; }
}

/* ---------------- Sections ---------------- */
.section { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--muted { background: var(--burgundy-100); }
.section--narrow .wrap { max-width: 820px; }

.section-head { max-width: 680px; margin-bottom: 2rem; }
.section-sub { color: var(--text-muted); font-size: 1.02rem; margin: 0; }
.section-cta { margin-top: 2rem; }

/* ---------------- Cards ---------------- */
.card-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card > a,
.card > .card-body {
  display: block;
  padding: 1.4rem;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.card h2, .card h3 { color: var(--burgundy-900); font-size: 1.1rem; margin: 0 0 0.4rem; }
.card p:last-child { margin-bottom: 0; color: var(--text-muted); font-size: 0.95rem; }

.card--tool { position: relative; }
.card--hub { border-top: 3px solid var(--gold-600); }
.card--hub .hub-card-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold-600);
  margin-bottom: 0.5rem;
}
.card--hub .hub-card-count {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
}
.card--soon:hover { box-shadow: var(--shadow-sm); transform: none; }
.tool-badge {
  display: inline-block;
  background: var(--gold-100);
  color: var(--gold-600);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}
.tool-badge--live {
  background: rgba(31, 111, 99, 0.12);
  color: var(--teal-700);
}

.article-cat {
  color: var(--teal-700);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}
.article-meta { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.8rem; }

/* ---------------- Journey ---------------- */
.journey {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  counter-reset: step;
}
.journey-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  position: relative;
}
.journey-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 999px;
  background: var(--burgundy-800);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}
.journey-step a { text-decoration: none; }
.journey-step h3 { color: var(--burgundy-900); margin-bottom: 0.35rem; }
.journey-step p { color: var(--text-muted); font-size: 0.94rem; margin: 0; }

.journey-callout {
  margin-top: 2rem;
  background: var(--surface);
  border: 1px dashed var(--teal-600);
  border-radius: var(--radius-md);
  padding: 1.3rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.journey-callout p { margin: 0; max-width: 520px; }

/* ---------------- Topics ---------------- */
.topic-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.topic-group h3 { margin-bottom: 0.75rem; }
.topic-group h3 a { text-decoration: none; color: var(--burgundy-900); }
.topic-group ul { display: grid; gap: 0.5rem; }
.topic-group a { color: var(--text-muted); text-decoration: none; font-size: 0.96rem; }
.topic-group a:hover { color: var(--teal-700); text-decoration: underline; }

/* ---------------- FAQ ---------------- */
.faq-list { display: grid; gap: 0.75rem; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.3rem;
}
.faq-item summary {
  font-weight: 700;
  color: var(--burgundy-900);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--teal-700);
  margin-left: 1rem;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin-top: 0.8rem; margin-bottom: 0; color: var(--text-muted); }

/* ---------------- Trust ---------------- */
.trust-list { display: grid; gap: 0.7rem; margin-bottom: 1.2rem; }
.trust-list li {
  padding-left: 1.6rem;
  position: relative;
  color: var(--text);
}
.trust-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5em;
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--teal-600);
}
.trust-note { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* ---------------- Updates / newsletter ---------------- */
.updates {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.updates-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.updates h2 { font-size: 1.3rem; margin-bottom: 0.35rem; }
.updates p { color: var(--text-muted); margin: 0; max-width: 460px; }
.updates-form { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.updates-form input {
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.98rem;
  min-width: 220px;
}

/* ---------------- Lawyer consultation form ---------------- */
.consult {
  background: var(--burgundy-900);
}
.consult-inner { display: flex; justify-content: center; }
.consult-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  max-width: 720px;
  width: 100%;
  text-align: center;
}
.consult-card h2 { margin-bottom: 0.6rem; }
.consult-card > p {
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 1.5rem;
  font-size: 1.05rem;
}
.consult-form {
  display: grid;
  gap: 1rem;
  text-align: left;
  max-width: 480px;
  margin: 0 auto;
}
.consult-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
}
.field { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.field label { font-weight: 600; font-size: 0.9rem; color: var(--burgundy-900); }
.field input,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  color: var(--text);
}
.consult-form .btn {
  justify-self: center;
  margin-top: 0.4rem;
  padding-inline: 2.2rem;
}
@media (max-width: 480px) {
  .consult-form-row { grid-template-columns: 1fr; }
}

/* ---------------- Contact page ---------------- */
.contact-info-section { padding-block: 0 clamp(2.5rem, 5vw, 4rem); }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(360px, 1.15fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.contact-details h2 { margin-bottom: 0.75rem; }
.contact-details-intro {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin-bottom: 2rem;
  max-width: 420px;
}
.contact-detail-list { display: grid; gap: 1.5rem; margin-bottom: 1.75rem; }
.contact-detail { display: flex; gap: 1rem; align-items: flex-start; }
.contact-detail-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--burgundy-100);
  color: var(--burgundy-800);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-detail-label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}
.contact-detail-value {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--burgundy-900);
  text-decoration: none;
  font-style: normal;
  line-height: 1.5;
}
a.contact-detail-value:hover { color: var(--teal-700); }
.contact-details-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 420px;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}

.contact-map-section { margin-top: clamp(2rem, 5vw, 3rem); }
.contact-map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.contact-map-frame iframe { display: block; width: 100%; height: 360px; border: 0; }
.contact-map-directions { margin-top: 0.75rem; font-size: 0.95rem; }

.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold-600);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(1.75rem, 4vw, 2.75rem);
}
.contact-form-eyebrow {
  display: inline-block;
  color: var(--gold-600);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}
.contact-form-card h2 { margin-bottom: 0.6rem; }
.contact-form-intro {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1rem;
  max-width: 480px;
}
.contact-form-card .consult-form { max-width: none; margin: 0; text-align: left; }
.contact-form-card .consult-form .btn { justify-self: start; }

.contact-secondary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-block: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--border);
  margin-bottom: clamp(2rem, 5vw, 3rem);
}
.contact-secondary-item h3 { margin-bottom: 0.5rem; }
.contact-secondary-item p { color: var(--text-muted); margin: 0; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-secondary { grid-template-columns: 1fr; }
}

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--burgundy-900);
  color: #dcc9cd;
  padding-block: 3rem 2rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  margin-bottom: 2rem;
}
.footer-brand .brand { color: #fff; margin-bottom: 0.75rem; }
.footer-brand p { color: #c2a3aa; font-size: 0.92rem; max-width: 280px; }
.footer-address {
  font-style: normal;
  color: #c2a3aa;
  font-size: 0.92rem;
  line-height: 1.5;
  margin-top: 0.85rem;
}
.footer-phone {
  display: inline-block;
  margin-top: 0.4rem;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.footer-phone:hover { text-decoration: underline; }
.footer-col h3 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.9rem;
}
.footer-col ul { display: grid; gap: 0.55rem; }
.footer-col a { color: #dcc9cd; text-decoration: none; font-size: 0.94rem; }
.footer-col a:hover { color: #fff; text-decoration: underline; }

.disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
  font-size: 0.88rem;
  color: #c2a3aa;
  max-width: 900px;
}
.copyright { font-size: 0.82rem; color: #9c7d84; margin: 0; }
.credit { font-size: 0.82rem; color: #9c7d84; margin: 0.35rem 0 0; }
.credit a { color: #9c7d84; text-decoration: underline; }
.credit a:hover { color: #fff; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1650px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    box-shadow: var(--shadow-md);
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav > ul { flex-direction: column; gap: 0; }
  .primary-nav > ul > li > a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-item--dropdown { border-bottom: 1px solid var(--border); }
  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 0.75rem 0;
  }
  .nav-dropdown-menu {
    display: none;
    position: static;
    margin-top: 0;
    min-width: 0;
    border: none;
    box-shadow: none;
    padding: 0 0 0.5rem 1rem;
  }
  .nav-item--dropdown:hover .nav-dropdown-menu,
  .nav-item--dropdown:focus-within .nav-dropdown-menu {
    display: none;
  }
  .nav-item--dropdown.is-open .nav-dropdown-menu {
    display: block;
  }
  .nav-dropdown-menu a { border-bottom: none; padding: 0.5rem 0; }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .updates-inner { flex-direction: column; align-items: stretch; }
  .updates-form input { min-width: 0; flex: 1; }
}

@media (max-width: 640px) {
  .header-inner { flex-wrap: wrap; row-gap: 0.6rem; }
  .header-right { width: 100%; justify-content: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { transition: none; }
}
