:root {
  --slate-950: #0f172a;
  --slate-900: #18222f;
  --slate-800: #243244;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --copper-800: #9a3412;
  --copper-700: #c2410c;
  --copper-600: #ea580c;
  --copper-100: #ffedd5;
  --copper-50: #fff7ed;
  --alabaster: #f8f7f4;
  --surface: #ffffff;
  --border: #e2dfd7;
  --success: #15803d;
  --warning-bg: #fef3c7;
  --warning-border: #d97706;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-serif: Georgia, 'Times New Roman', serif;
  --max-width: 1160px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.03rem;
  line-height: 1.68;
  color: var(--slate-900);
  background-color: var(--alabaster);
  padding-bottom: 68px;
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

a {
  color: var(--copper-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--copper-800);
}

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

img, svg {
  max-width: 100%;
  height: auto;
}

.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: -9999px;
  top: 0;
  background: var(--slate-950);
  color: #ffffff;
  padding: 10px 16px;
  z-index: 999;
  font-weight: 600;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Utility Bar */
.utility-bar {
  background: var(--slate-950);
  color: #e2e8f0;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.utility-bar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.utility-bar a {
  color: #fdba74;
  font-weight: 600;
  text-decoration: none;
}

/* Header & Navigation */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--slate-950);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-link span small {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--slate-600);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--alabaster);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  color: var(--slate-900);
  font-weight: 600;
  cursor: pointer;
}

.main-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
}

.main-nav.is-open {
  display: block;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.main-nav a {
  color: var(--slate-800);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.main-nav a:hover {
  color: var(--copper-700);
}

.header-cta {
  display: none;
}

@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }
  .main-nav {
    display: block;
    position: static;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
  }
  .main-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 22px;
  }
  .header-cta {
    display: inline-flex;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.96rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.btn-primary {
  background: var(--copper-700);
  color: #ffffff;
}

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

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.btn-outline {
  background: var(--surface);
  color: var(--slate-900);
  border-color: var(--slate-700);
}

.btn-outline:hover {
  background: var(--slate-900);
  color: #ffffff;
}

/* Breadcrumbs */
.breadcrumbs {
  background: #efede7;
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  font-size: 0.88rem;
  color: var(--slate-600);
}

.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--slate-500);
}

.breadcrumbs a {
  color: var(--slate-700);
  text-decoration: none;
  font-weight: 500;
}

.breadcrumbs a:hover {
  color: var(--copper-700);
  text-decoration: underline;
}

/* Hero Sections */
.hero {
  background: linear-gradient(135deg, var(--slate-950) 0%, var(--slate-800) 100%);
  color: #ffffff;
  padding: 54px 0;
  border-bottom: 4px solid var(--copper-700);
}

.hero--compact {
  padding: 38px 0;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

@media (min-width: 860px) {
  .hero__grid {
    grid-template-columns: 1.45fr 0.95fr;
  }
}

.hero__eyebrow {
  display: inline-block;
  background: rgba(234, 88, 12, 0.22);
  color: #fed7aa;
  border: 1px solid rgba(253, 186, 116, 0.35);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.95rem, 3.6vw, 2.85rem);
  line-height: 1.16;
  letter-spacing: -0.025em;
  color: #ffffff;
}

.hero p.hero__lead {
  margin: 0 0 22px;
  font-size: 1.12rem;
  color: #e2e8f0;
  max-width: 64ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.hero-panel h2 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  color: #fed7aa;
}

.hero-panel ul {
  margin: 0;
  padding-left: 18px;
  color: #f1f5f9;
}

.hero-panel li + li {
  margin-top: 8px;
}

/* Sections & Cards */
.section {
  padding: 48px 0;
}

.section--alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section__header {
  margin-bottom: 28px;
  max-width: 72ch;
}

.section__header h2 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  color: var(--slate-950);
  letter-spacing: -0.02em;
}

.section__header p {
  margin: 0;
  color: var(--slate-600);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

@media (min-width: 680px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  color: var(--slate-950);
}

.card p {
  margin: 0 0 14px;
  color: var(--slate-600);
}

.card__footer {
  margin-top: auto;
  font-weight: 700;
}

/* Direct Answer / Snippet Box */
.direct-answer {
  background: var(--copper-50);
  border-left: 4px solid var(--copper-700);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 18px 22px;
  margin: 22px 0;
}

.direct-answer strong {
  color: var(--slate-950);
}

.disclosure-box {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 0.94rem;
  color: var(--slate-700);
  margin: 20px 0;
}

/* Content Layout */
.content-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

@media (min-width: 920px) {
  .content-layout {
    grid-template-columns: 2.1fr 0.95fr;
    align-items: start;
  }
}

.article-body h2 {
  margin: 34px 0 12px;
  font-size: 1.5rem;
  color: var(--slate-950);
  border-bottom: 2px solid var(--border);
  padding-bottom: 6px;
}

.article-body h3 {
  margin: 24px 0 8px;
  font-size: 1.2rem;
  color: var(--slate-900);
}

.article-body ul,
.article-body ol {
  padding-left: 22px;
}

.article-body li + li {
  margin-top: 6px;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  margin: 22px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

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

th, td {
  padding: 12px 15px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

th {
  background: var(--slate-900);
  color: #ffffff;
  font-weight: 700;
}

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

/* Sidebar */
.sidebar-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}

.sidebar-box--dark {
  background: var(--slate-900);
  color: #ffffff;
  border-color: var(--slate-800);
}

.sidebar-box--dark h3,
.sidebar-box--dark p {
  color: #ffffff;
}

.sidebar-box h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
}

.sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-list li {
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
}

.sidebar-list li:last-child {
  border-bottom: none;
}

.sidebar-list a {
  text-decoration: none;
  font-weight: 600;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 18px 20px;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--slate-950);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-question[aria-expanded="true"] {
  background: var(--copper-50);
  color: var(--copper-800);
}

.faq-answer {
  padding: 0 20px 18px;
  color: var(--slate-700);
}

.faq-answer[hidden] {
  display: none;
}

/* Forms & Calculator */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .form-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.field label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 0.94rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  background: #ffffff;
  color: var(--slate-900);
}

.calc-result {
  background: var(--slate-900);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 22px;
}

.calc-result__range {
  font-size: 2rem;
  font-weight: 800;
  color: #fdba74;
  margin: 6px 0 10px;
}

/* Map Embed */
.map-frame {
  width: 100%;
  height: 360px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

/* Brand Badges */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.brand-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  text-align: center;
  font-weight: 700;
  color: var(--slate-800);
}

/* Footer */
.site-footer {
  background: var(--slate-950);
  color: #cbd5e1;
  padding: 48px 0 28px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 32px;
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.site-footer h3 {
  color: #ffffff;
  font-size: 1.02rem;
  margin: 0 0 12px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 8px;
}

.site-footer a {
  color: #cbd5e1;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fdba74;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  font-size: 0.88rem;
  color: #94a3b8;
}

/* Sticky Mobile Call Bar */
.mobile-call-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--copper-700);
  padding: 10px 16px;
  box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.25);
  display: flex;
  justify-content: center;
}

.mobile-call-bar a {
  color: #ffffff;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (min-width: 768px) {
  .mobile-call-bar {
    display: none;
  }
}
