/* ==========================================================================
   Fendx Solutions LLC - Corporate Website
   Shared stylesheet / design system
   ========================================================================== */

/* ---- Design tokens ------------------------------------------------------- */
:root {
  /* Brand palette - gold + silver/platinum on black (from Fendx logo) */
  --gold-700: #8a6a12; /* deep gold - text/links on light (passes AA) */
  --gold-600: #b08a1e;
  --gold-500: #c9a227; /* brand gold */
  --gold-400: #d9b64a;
  --gold-300: #e8cf86;
  --gold-100: #f5ecd2; /* light gold tint */
  --silver-600: #6e7378;
  --silver-500: #9aa0a6;
  --silver-300: #c7ccd2;
  --silver-100: #eceef0;
  --ink: #15151a; /* near-black */

  /* Legacy token names remapped to the gold/silver/black system */
  --navy-900: #000000; /* pure black - footer, blends the logo */
  --navy-800: #15151a; /* near-black - headings + dark sections */
  --navy-700: #20242b;
  --blue-600: #8a6a12; /* -> primary accent (deep gold) */
  --blue-500: #c9a227; /* -> focus ring (gold) */
  --blue-100: #f5ecd2; /* -> tint backgrounds (light gold) */
  --teal-500: #8a6a12; /* -> secondary accent (gold) */
  --teal-100: #f5ecd2; /* -> accent tint (light gold) */

  /* Neutrals (warm-tinted to pair with gold) */
  --white: #ffffff;
  --gray-50: #f8f6f1;
  --gray-100: #efece4;
  --gray-200: #e6e2d7;
  --gray-300: #d2ccbd;
  --gray-400: #a39c8c;
  --gray-500: #6f6a5e;
  --gray-600: #4b4740;
  --gray-700: #34312b;
  --gray-800: #201e1a;

  /* Semantic */
  --text-strong: var(--navy-800);
  --text-body: #45433d;
  --text-muted: #6f6a5e;
  --bg: var(--white);
  --bg-alt: #faf8f3;
  --border: var(--gray-200);
  --primary: var(--gold-700);
  --primary-hover: #6f5510;

  /* Typography */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;

  /* Layout */
  --container: 1180px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(20, 18, 12, 0.07),
    0 1px 3px rgba(20, 18, 12, 0.06);
  --shadow-md: 0 4px 14px rgba(20, 18, 12, 0.1);
  --shadow-lg: 0 18px 50px rgba(20, 18, 12, 0.16);

  --transition: 180ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-hover);
}

h1,
h2,
h3,
h4 {
  color: var(--text-strong);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}
h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
}
h3 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

ul,
ol {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.4rem;
}

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

/* ---- Layout helpers ------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section--navy {
  background: var(--navy-800);
  color: var(--gray-200);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-head .eyebrow {
  margin-bottom: 0.75rem;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.075rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--primary);
}

.lead {
  font-size: 1.2rem;
  color: var(--text-muted);
}

.center {
  text-align: center;
}

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, #d9b64a, #b08a1e);
  color: #15151a;
  box-shadow: 0 6px 18px rgba(176, 138, 30, 0.3);
}

.btn--primary:hover {
  background: linear-gradient(135deg, #e3c45f, #9a7a18);
  color: #15151a;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(176, 138, 30, 0.42);
}

.btn--secondary {
  background: var(--white);
  color: var(--navy-800);
  border-color: var(--gray-300);
}

.btn--secondary:hover {
  border-color: var(--navy-800);
  color: var(--navy-800);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: var(--white);
}

.btn--lg {
  padding: 1rem 1.85rem;
  font-size: 1.05rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* ---- Skip link (accessibility) ------------------------------------------ */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--navy-800);
  color: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: var(--shadow-lg);
  transition: top var(--transition);
}

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

/* ---- Back-to-top button -------------------------------------------------- */
.to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--navy-800);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition),
    visibility var(--transition), background var(--transition),
    color var(--transition);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  background: var(--navy-800);
  color: #fff;
  transform: translateY(-2px);
}

/* ---- Reading progress bar ------------------------------------------------ */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, #c9a227, #e8cf86 50%, #c7ccd2);
  z-index: 150;
  transition: width 80ms linear;
  will-change: width;
}

/* ---- Legal page layout + table of contents ------------------------------ */
.legal-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  align-items: start;
}

.legal-layout .prose {
  margin: 0;
  max-width: 760px;
}

.toc {
  position: sticky;
  top: 92px;
  align-self: start;
  font-size: 0.9rem;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.toc__title {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.toc nav {
  display: flex;
  flex-direction: column;
  border-left: 2px solid var(--border);
}

.toc a {
  padding: 0.35rem 0 0.35rem 0.9rem;
  margin-left: -2px;
  border-left: 2px solid transparent;
  color: var(--text-muted);
  line-height: 1.35;
  font-weight: 500;
}

.toc a:hover {
  color: var(--navy-800);
}

.toc a.is-active {
  color: var(--primary);
  border-left-color: var(--primary);
  font-weight: 600;
}

@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .toc {
    position: static;
    max-height: none;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.1rem 1.25rem;
    background: var(--gray-50);
  }
  .toc nav {
    border-left: 0;
  }
  .toc a {
    border-left: 0;
    padding-left: 0;
    margin-left: 0;
  }
  .toc a.is-active {
    border-left: 0;
  }
}

/* ---- Print styles -------------------------------------------------------- */
@media print {
  .site-header,
  .site-footer,
  .to-top,
  .skip-link,
  .progress-bar,
  .toc,
  .breadcrumb,
  .btn {
    display: none !important;
  }
  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }
  .legal-layout {
    display: block;
  }
  .page-hero {
    background: none;
    padding: 0 0 1rem;
    border: 0;
  }
  a {
    color: #000;
    text-decoration: underline;
  }
  .prose h2 {
    page-break-after: avoid;
  }
}

/* ---- Header / Nav -------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.22);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

/* Logo image (header + footer) */
.brand__img {
  height: 60px;
  width: auto;
  display: block;
}

.footer__logo {
  height: 76px;
  width: auto;
  display: block;
  margin-bottom: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy-800);
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--navy-800);
}

.brand__mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.brand__name span {
  color: var(--primary);
}

.brand__sub {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: -2px;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__menu a {
  display: block;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--silver-300);
  font-weight: 500;
  font-size: 0.97rem;
}

.nav__menu a:hover,
.nav__menu a.is-active {
  color: var(--gold-400);
  background: rgba(255, 255, 255, 0.07);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold-400);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.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);
}

/* ---- Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(
      1200px 600px at 80% -10%,
      rgba(201, 162, 39, 0.16),
      transparent 60%
    ),
    linear-gradient(180deg, var(--gray-50), var(--white));
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 7vw, 5rem);
}

/* Subtle dotted texture behind the hero for depth */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(138, 106, 18, 0.08) 1px,
    transparent 1px
  );
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(
    900px 500px at 75% 0%,
    #000,
    transparent 70%
  );
  mask-image: radial-gradient(900px 500px at 75% 0%, #000, transparent 70%);
  pointer-events: none;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--gray-700);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.hero__badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-500);
}

.hero h1 {
  margin-bottom: 1.25rem;
}

.hero p {
  font-size: 1.18rem;
  color: var(--text-muted);
  max-width: 38ch;
  margin-bottom: 2rem;
}

.hero__buttons {
  margin-bottom: 2rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero__meta strong {
  display: block;
  color: var(--navy-800);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Hero visual card */
.hero__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.75rem;
}

.hero__card-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.25rem;
}

.hero__card-logo {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #d9b64a, #b08a1e);
  display: grid;
  place-items: center;
  color: #15151a;
  font-weight: 800;
}

.hero__card-title {
  font-weight: 700;
  color: var(--navy-800);
}

.hero__card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
  font-size: 0.95rem;
}

.hero__card-row span:first-child {
  color: var(--text-muted);
}

.hero__card-row span:last-child {
  font-weight: 600;
  color: var(--navy-800);
}

.pill {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: var(--teal-100);
  color: var(--teal-500);
}

/* ---- Logo strip / assurance bar ----------------------------------------- */
.assurancebar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.assurancebar__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  justify-content: center;
  padding: 1.75rem 0;
}

.assurancebar p {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.assurancebar__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--gray-600);
  font-size: 0.95rem;
}

.assurancebar__item svg {
  color: var(--teal-500);
  flex-shrink: 0;
}

/* ---- Cards / grids ------------------------------------------------------- */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gray-300);
}

.card__icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--blue-100);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.97rem;
  margin-bottom: 0;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---- Feature split ------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.split__media {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: var(--gray-200);
  box-shadow: var(--shadow-lg);
}

.checklist {
  list-style: none;
  padding: 0;
}

.checklist li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.9rem;
  color: var(--text-body);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--teal-100)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23e8cf86' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}

.split__media .checklist li {
  color: var(--gray-200);
}

.split__media .checklist li::before {
  background-color: rgba(201, 162, 39, 0.22);
}

/* ---- Brand card ---------------------------------------------------------- */
.brand-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.75rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
}

.brand-card__logo {
  width: 78px;
  height: 78px;
  border-radius: 18px;
  background: linear-gradient(135deg, #d9b64a, #b08a1e);
  color: #15151a;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.brand-card__tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--teal-500);
  background: var(--teal-100);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.brand-card h3 {
  font-size: 1.45rem;
  margin-bottom: 0.5rem;
}

.brand-card p {
  color: var(--text-muted);
}

/* ---- Stats --------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stats__item {
  padding: 1.5rem 1rem;
}

.stats__num {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
}

.stats__label {
  font-size: 0.92rem;
  color: var(--gray-300);
}

/* ---- FAQ accordion ------------------------------------------------------- */
.faq {
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  margin-bottom: 0.85rem;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq__item[open] {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-sm);
}

.faq__q {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-weight: 600;
  font-size: 1.03rem;
  color: var(--navy-800);
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q:hover {
  color: var(--primary);
}

.faq__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
  transition: transform var(--transition);
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: var(--primary);
  border-radius: 2px;
}

.faq__icon::before {
  top: 50%;
  left: 3px;
  right: 3px;
  height: 2px;
  transform: translateY(-50%);
}

.faq__icon::after {
  left: 50%;
  top: 3px;
  bottom: 3px;
  width: 2px;
  transform: translateX(-50%);
  transition: opacity var(--transition);
}

.faq__item[open] .faq__icon::after {
  opacity: 0;
}

.faq__a {
  padding: 0 1.4rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.97rem;
}

.faq__a p {
  margin-bottom: 0;
}

/* ---- CTA band ------------------------------------------------------------ */
.cta-band {
  background: linear-gradient(135deg, #1c1c22, #000000);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 52ch;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

.cta-band .btn-row {
  justify-content: center;
}

/* ---- Page hero (interior pages) ----------------------------------------- */
.page-hero {
  background: radial-gradient(
      900px 400px at 85% -20%,
      rgba(201, 162, 39, 0.13),
      transparent 60%
    ),
    var(--gray-50);
  padding: clamp(3rem, 7vw, 5rem) 0;
  border-bottom: 1px solid var(--border);
}

.page-hero__inner {
  max-width: 760px;
}

.page-hero h1 {
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.18rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.breadcrumb a {
  color: var(--text-muted);
}
.breadcrumb a:hover {
  color: var(--primary);
}

/* ---- Prose (legal pages) ------------------------------------------------- */
.prose {
  max-width: 800px;
  margin: 0 auto;
}

.prose h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 0.75rem;
  scroll-margin-top: 90px;
}

.prose h3 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.5rem;
}

.prose p,
.prose li {
  color: var(--text-body);
}

.prose ul {
  margin-bottom: 1.25rem;
}

.legal-meta {
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.legal-meta strong {
  color: var(--navy-800);
}

/* ---- Forms / contact ----------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 3rem;
  align-items: start;
}

.form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.field {
  margin-bottom: 1.1rem;
}

.field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy-800);
  margin-bottom: 0.4rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--navy-800);
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.22);
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.field--row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form__note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.form__status {
  display: none;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--teal-100);
  color: #0f766e;
  font-size: 0.95rem;
  font-weight: 600;
}

.form__status.is-visible {
  display: block;
}

/* Consent / opt-in checkboxes */
.consent {
  margin: 0.5rem 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.consent__row {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-body);
  cursor: pointer;
}

.consent__row input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--primary);
  cursor: pointer;
}

.consent__row strong {
  color: var(--navy-800);
}

.consent__row em {
  color: var(--text-muted);
  font-style: italic;
}

/* Contact info cards */
.info-list {
  list-style: none;
  padding: 0;
}

.info-list li {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
}

.info-list li:last-child {
  border-bottom: 0;
}

.info-list .info__icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--blue-100);
  color: var(--primary);
  display: grid;
  place-items: center;
}

.info-list .info__label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 600;
}

.info-list .info__value {
  font-weight: 600;
  color: var(--navy-800);
}

.placeholder {
  color: var(--gray-400);
  font-style: italic;
  font-weight: 500;
}

/* ---- Disclaimer note ----------------------------------------------------- */
.notice {
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.35rem;
  font-size: 0.92rem;
  color: var(--text-body);
}

.notice strong {
  color: var(--navy-800);
}

/* ---- Footer -------------------------------------------------------------- */
.site-footer {
  background: var(--navy-900);
  color: var(--gray-300);
  padding: 3.5rem 0 2rem;
  font-size: 0.92rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand .brand {
  color: #fff;
  margin-bottom: 1rem;
}
.footer__brand .brand__sub {
  color: var(--gray-400);
}

.footer__brand p {
  color: var(--gray-400);
  max-width: 32ch;
  font-size: 0.9rem;
}

.footer__col h4 {
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

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

.footer__col li {
  margin-bottom: 0.6rem;
}

.footer__col a {
  color: var(--gray-300);
  font-size: 0.92rem;
}

.footer__col a:hover {
  color: #fff;
}

.footer__disclaimer {
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gray-400);
  font-size: 0.82rem;
  line-height: 1.7;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.75rem;
  color: var(--gray-400);
  font-size: 0.85rem;
}

.footer__bottom a {
  color: var(--gray-400);
}
.footer__bottom a:hover {
  color: #fff;
}

.footer__legal-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ---- Animations ---------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---- Responsive ---------------------------------------------------------- */
@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero p {
    max-width: none;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 820px) {
  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    inset: 84px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #0a0a0c;
    border-bottom: 1px solid rgba(201, 162, 39, 0.25);
    box-shadow: var(--shadow-lg);
    padding: 0.75rem 1.5rem 1.25rem;
    transform: translateY(-120%);
    transition: transform var(--transition);
    max-height: calc(100vh - 84px);
    overflow-y: auto;
  }

  .nav__menu.is-open {
    transform: translateY(0);
  }

  .nav__menu a {
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 1.05rem;
  }

  .nav__actions .btn--nav {
    display: none;
  }

  .grid--2,
  .grid--3 {
    grid-template-columns: 1fr;
  }

  .brand-card {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    text-align: left;
  }

  .field--row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .btn-row {
    flex-direction: column;
  }
  .btn-row .btn {
    width: 100%;
  }
}
