/* VELORINK site styles. Loaded after Bootstrap 5, so rules here override it. */

@font-face {
  font-family: "Sifonn Pro";
  src: url("../fonts/SIFONN_PRO.woff") format("woff");
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy-950: #152442;
  --navy-900: #0f1a30;
  --navy-800: #243756;
  --gold-500: #d9a441;
  --gold-600: #b9872f;
  --page: #f7f8fb;
  --muted: #5d687c;
  --white: #ffffff;
  --error: #b91c1c;
  --radius-brand: 32px;
  --radius-button: 14px;
  --shadow-line: 0 5px 0 var(--navy-950);
  --shadow-pop: 0 8px 0 var(--navy-950);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --font-brand: "Sifonn Pro", Arial, sans-serif;

  /* Bootstrap variables */
  --bs-body-font-family: var(--font-brand);
  --bs-body-color: var(--navy-950);
  --bs-body-bg: var(--white);
  --bs-border-color: var(--navy-950);
}

/* ---------- Base ---------- */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Keeps anchor targets clear of the 80px sticky header. */
  scroll-padding-top: 5rem;
  /* clip, not hidden: hidden makes body a scroll container and breaks the sticky header. */
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--navy-950);
  font-family: var(--font-brand);
  font-size: 1rem;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, address {
  margin: 0;
}

h1, h2, h3, h4 {
  font-weight: inherit;
  font-size: inherit;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  font: inherit;
}

::selection {
  background: var(--gold-500);
  color: var(--navy-950);
}

:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 2px;
}

.container {
  max-width: 1200px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 992px) {
  .container {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

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

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

/* Spacing steps Bootstrap's scale doesn't have. */
.mt-8 {
  margin-top: 2rem !important;
}

.p-8 {
  padding: 2rem !important;
}

.bg-page {
  background: var(--page);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 1100;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-button);
  background: var(--gold-500);
  color: var(--navy-950);
  font-size: 0.875rem;
  font-weight: 600;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

/* ---------- Icons (inline SVG sprite, lucide style) ---------- */

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-lg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Brand logos (LinkedIn, WhatsApp) are filled shapes, not lucide strokes. */
.icon-brand {
  fill: currentColor;
  stroke: none;
}

/* ---------- Typography helpers ---------- */

.badge-brand {
  display: inline-flex;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-button);
  background: var(--gold-500);
  color: var(--navy-950);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.label-caps {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Scales down on narrow phones so long words ("implementation") don't overflow. */
.heading-xl {
  font-size: clamp(2.25rem, 9vw, 3rem);
  line-height: 1.25;
  overflow-wrap: break-word;
}

@media (min-width: 768px) {
  .heading-xl {
    font-size: 3.75rem;
  }
}

.heading-card {
  font-size: 1.875rem;
  line-height: 1.25;
  color: var(--navy-950);
}

.lead-brand {
  font-size: 1.125rem;
  line-height: 2rem;
}

.body-text {
  font-size: 1rem;
  line-height: 1.75rem;
  color: var(--muted);
}

/* ---------- Buttons ---------- */

.btn-brand {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 1.5rem;
  border: 1px solid var(--navy-950);
  border-radius: var(--radius-button);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}

.btn-brand:disabled {
  pointer-events: none;
  opacity: 0.5;
}

.btn-brand-primary {
  background: var(--navy-950);
  color: var(--white);
  box-shadow: var(--shadow-line);
}

.btn-brand-primary:hover {
  background: var(--white);
  color: var(--navy-950);
}

.btn-brand-secondary {
  background: var(--gold-500);
  color: var(--navy-950);
  box-shadow: var(--shadow-line);
}

.btn-brand-secondary:hover {
  background: var(--white);
}

.btn-brand-light {
  background: var(--white);
  color: var(--navy-950);
  box-shadow: var(--shadow-line);
}

.btn-brand-light:hover {
  background: var(--page);
}

.btn-brand-plain {
  background: var(--navy-950);
  color: var(--white);
}

.btn-brand-plain:hover {
  background: var(--white);
  color: var(--navy-950);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  border-bottom: 1px solid var(--navy-950);
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.header-bar {
  display: flex;
  height: 5rem;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-button);
}

.logo img {
  height: 3rem;
  width: auto;
}

.primary-nav {
  align-items: center;
  gap: 2rem;
}

.nav-link-brand {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-button);
  color: var(--navy-950);
  font-size: 1rem;
  font-weight: 500;
  transition: background-color 0.15s;
}

.primary-nav .nav-link-brand:hover {
  background: var(--gold-500);
}

.menu-toggle {
  width: 3rem;
  height: 3rem;
  padding: 0;
}

.menu-toggle .icon-close,
.menu-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.mobile-nav {
  border-top: 1px solid var(--navy-950);
  background: var(--page);
}

.mobile-nav .container {
  display: grid;
  gap: 1rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

/* ---------- Sections ---------- */

.section {
  position: relative;
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 5rem 0;
  }
}

@media (min-width: 992px) {
  .section {
    padding: 7.5rem 0;
  }
}

.section-dark {
  overflow: hidden;
  background: var(--navy-950);
  color: var(--white);
}

.section-dark::before {
  content: "";
  position: absolute;
  right: -10rem;
  top: -10rem;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  background: rgba(217, 164, 65, 0.1);
  filter: blur(64px);
  pointer-events: none;
}

.section-dark .container {
  position: relative;
}

.section-head {
  margin-bottom: 4rem;
}

.section-head .badge-brand {
  margin-bottom: 1.5rem;
}

.section-head .section-desc {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  line-height: 2rem;
  color: var(--muted);
}

.section-dark .section-desc {
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- Hero ---------- */

.hero {
  background: var(--page);
  padding-top: 4rem;
}

@media (min-width: 768px) {
  .hero {
    padding-top: 5rem;
  }
}

@media (min-width: 992px) {
  .hero {
    padding-top: 6rem;
  }
}

.hero-grid {
  display: grid;
  gap: 4rem;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .hero-grid {
    padding-bottom: 5rem;
  }
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    padding-bottom: 6rem;
  }
}

.hero-grid > * {
  min-width: 0;
}

.hero-title {
  margin-top: 1.5rem;
  font-size: clamp(2.25rem, 9vw, 3rem);
  line-height: 1.25;
  overflow-wrap: break-word;
  color: var(--navy-950);
}

.hero-text {
  margin-top: 2rem;
  max-width: 42rem;
  font-size: 1.25rem;
  line-height: 2.25rem;
  color: var(--muted);
}

.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 576px) {
  .hero-actions {
    flex-direction: row;
  }
}

.proof-points {
  display: grid;
  gap: 1rem;
  border-top: 1px solid var(--navy-950);
  padding: 2rem 0;
}

@media (min-width: 768px) {
  .proof-points {
    grid-template-columns: repeat(4, 1fr);
  }
}

.proof-points li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--navy-950);
}

/* Hero visual card */

.hero-visual {
  position: relative;
  isolation: isolate;
}

.hero-glow {
  position: absolute;
  inset: -2.5rem;
  z-index: -1;
  border-radius: 50%;
  background: linear-gradient(to bottom right, rgba(217, 164, 65, 0.3), rgba(217, 164, 65, 0.1), transparent);
  filter: blur(64px);
  animation: spin-slow 28s linear infinite;
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--navy-950);
  border-radius: var(--radius-brand);
  background: var(--white);
  padding: 1.5rem;
  box-shadow: var(--shadow-pop);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1rem;
  background: var(--gold-500);
}

.hero-card-label {
  color: var(--muted);
}

.hero-card-section {
  border-top: 1px solid var(--navy-950);
  padding: 1rem 0;
}

.tag-list {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  border: 1px solid var(--navy-950);
  border-radius: var(--radius-button);
  background: var(--page);
  color: var(--navy-950);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  transition: transform 0.3s var(--ease-spring);
}

.tag:hover {
  transform: translateY(-2px);
}

.engage-list {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
}

.engage-title {
  font-weight: 600;
  color: var(--navy-950);
}

.engage-desc {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.5rem;
  color: var(--muted);
}

/* ---------- Cards ---------- */

.card-brand {
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid var(--navy-950);
  border-radius: var(--radius-brand);
  background: var(--white);
  padding: 2rem;
  box-shadow: var(--shadow-line);
  text-align: left;
  color: var(--navy-950);
}

.card-lift {
  transition: transform 0.35s var(--ease-spring);
}

.card-lift:hover {
  transform: translateY(-6px);
}

.card-lift:active {
  transform: translateY(-2px);
}

button.card-brand {
  cursor: pointer;
}

.icon-box {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border-radius: var(--radius-button);
  background: var(--gold-500);
  color: var(--navy-950);
  transition: transform 0.3s var(--ease-spring);
}

.icon-box:hover {
  transform: rotate(-8deg) scale(1.08);
}

.arrow-nudge {
  transition: transform 0.15s;
}

.card-brand:hover .arrow-nudge {
  transform: translate(0.25rem, -0.25rem);
}

/* Service card */

.service-card {
  background: var(--page);
}

.service-card-top {
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Timeline */

.timeline {
  display: grid;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
}

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

.timeline .badge-brand {
  text-transform: none;
  letter-spacing: normal;
}

/* Team */

.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.team-card {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--navy-950);
  border-radius: var(--radius-brand);
  background: var(--page);
  box-shadow: var(--shadow-line);
}

@media (min-width: 768px) {
  .team-card {
    width: calc(50% - 0.75rem);
  }
}

.team-photo {
  position: relative;
  border-bottom: 1px solid var(--navy-950);
  background: var(--white);
}

.team-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
}

.team-name {
  font-size: 2.25rem;
  line-height: 1.25;
  color: var(--navy-950);
}

.team-role {
  margin-top: 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--muted);
}

/* Outcome card */

.outcome-card {
  display: grid;
  gap: 1.5rem;
  align-content: start;
}

.outcome-card dl {
  display: grid;
  gap: 1rem;
  font-size: 1rem;
  line-height: 1.75rem;
  color: var(--muted);
}

.outcome-card dt {
  color: var(--navy-950);
}

.outcome-card dd {
  margin-top: 0.25rem;
}

/* Blog card */

.blog-card {
  display: flex;
  flex-direction: column;
}

.blog-card .body-text {
  flex: 1;
}

.read-more {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

/* ---------- Carousel ---------- */

.brand-carousel {
  position: relative;
}

.carousel-track {
  display: grid;
  gap: 1.5rem;
}

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

.carousel-slide[hidden] {
  display: none;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  padding: 0.5rem;
  border: 1px solid var(--navy-950);
  border-radius: 50%;
  background: var(--white);
  color: var(--navy-950);
  box-shadow: var(--shadow-line);
  cursor: pointer;
  transform: translateY(-50%);
  transition: opacity 0.2s, background-color 0.2s;
}

.carousel-arrow:hover {
  background: var(--gold-500);
}

.carousel-arrow.prev {
  left: 0;
  margin-left: -1rem;
}

.carousel-arrow.next {
  right: 0;
  margin-right: -1rem;
}

@media (min-width: 768px) {
  .carousel-arrow {
    opacity: 0;
  }

  .brand-carousel:hover .carousel-arrow,
  .carousel-arrow:focus-visible {
    opacity: 1;
  }
}

.carousel-dots {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.carousel-dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(21, 36, 66, 0.3);
  cursor: pointer;
  transition: all 0.2s;
}

.carousel-dot:hover {
  background: rgba(21, 36, 66, 0.6);
}

.carousel-dot[aria-current="true"] {
  width: 1.5rem;
  background: var(--navy-950);
}

/* ---------- CTA ---------- */

.cta {
  border: 1px solid var(--navy-950);
  border-radius: var(--radius-brand);
  background: var(--navy-950);
  color: var(--white);
  padding: 2.5rem;
  box-shadow: var(--shadow-line);
}

@media (min-width: 768px) {
  .cta {
    padding: 4rem;
  }
}

.cta-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 992px) {
  .cta-grid {
    grid-template-columns: 1.5fr 0.8fr;
    align-items: end;
  }
}

.cta-text {
  font-size: 1.125rem;
  line-height: 2rem;
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 0.8fr 1.2fr;
  }
}

.map-frame {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--navy-950);
  border-radius: var(--radius-brand);
  background: var(--white);
  box-shadow: var(--shadow-line);
}

.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-form {
  position: relative;
  border: 1px solid var(--navy-950);
  border-radius: var(--radius-brand);
  background: var(--page);
  padding: 2rem;
  box-shadow: var(--shadow-line);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-grid {
  display: grid;
  gap: 1.5rem;
}

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

.field {
  display: grid;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy-950);
}

.field-input {
  min-height: 3rem;
  width: 100%;
  min-width: 100px;
  border: 1px solid var(--navy-950);
  border-radius: var(--radius-button);
  background: var(--white);
  padding: 0 1rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  color: var(--navy-950);
  outline: none;
  transition: box-shadow 0.15s;
}

.field-input::placeholder {
  color: var(--muted);
}

.field-input:focus {
  box-shadow: 0 0 0 2px rgba(217, 164, 65, 0.6);
}

textarea.field-input {
  min-height: 8rem;
  padding: 1rem;
  resize: vertical;
}

.form-footer {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 576px) {
  .form-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.form-note {
  max-width: 28rem;
  font-size: 0.875rem;
  line-height: 1.5rem;
  color: var(--muted);
}

.form-message {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy-950);
}

.form-message.is-error {
  color: var(--error);
}

/* ---------- Side sheet (Bootstrap offcanvas) ---------- */

.sheet.offcanvas {
  --bs-offcanvas-width: 36rem;
  --bs-offcanvas-zindex: 1071;
  max-width: 100%;
  overflow-y: auto;
  border-left: 1px solid var(--navy-950);
  background: var(--white);
  padding: 2rem;
  box-shadow: var(--shadow-pop);
  transition: transform 0.32s var(--ease-out);
}

@media (min-width: 768px) {
  .sheet.offcanvas {
    padding: 2.5rem;
  }
}

.offcanvas-backdrop {
  --bs-backdrop-bg: var(--navy-950);
  --bs-backdrop-opacity: 0.6;
  --bs-backdrop-zindex: 1070;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.sheet-title {
  font-size: 1.875rem;
  line-height: 1.25;
  color: var(--navy-950);
}

@media (min-width: 768px) {
  .sheet-title {
    font-size: 2.25rem;
  }
}

.sheet-close {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  place-items: center;
  border: 1px solid var(--navy-950);
  border-radius: var(--radius-button);
  background: transparent;
  color: var(--navy-950);
  cursor: pointer;
  transition: background-color 0.15s;
}

.sheet-close:hover {
  background: var(--gold-500);
}

.sheet-desc {
  margin-top: 0.75rem;
  font-size: 1rem;
  line-height: 1.75rem;
  color: var(--muted);
}

.sheet-body {
  margin-top: 2rem;
  display: grid;
  gap: 2rem;
  justify-items: start;
}

.sheet-body > * {
  justify-self: stretch;
}

.sheet-body > .btn-brand {
  justify-self: start;
}

.sheet-article {
  display: grid;
  gap: 1.25rem;
  font-size: 1.125rem;
  line-height: 2rem;
  color: var(--muted);
}

.check-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
  line-height: 1.75rem;
  color: var(--muted);
}

.check-list .icon {
  margin-top: 0.25rem;
  color: var(--navy-950);
}

.who-box {
  border: 1px solid var(--navy-950);
  border-radius: var(--radius-brand);
  background: var(--navy-950);
  color: var(--white);
  padding: 1.5rem;
}

.who-box .label-caps {
  color: rgba(255, 255, 255, 0.7);
}

.who-box p {
  margin-top: 0.75rem;
  font-size: 1rem;
  line-height: 1.75rem;
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--navy-950);
  background: var(--white);
}

.site-footer > .container {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.footer-grid {
  display: grid;
  gap: 4rem;
}

@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: 1.2fr 2fr;
  }
}

.footer-links {
  display: grid;
  gap: 2.5rem;
}

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

.footer-heading {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-950);
}

.footer-link {
  border-radius: var(--radius-button);
  color: var(--muted);
  transition: color 0.15s;
}

.footer-link:hover {
  color: var(--navy-950);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--navy-950);
  border-radius: var(--radius-button);
  color: var(--navy-950);
  transition: background-color 0.15s;
}

.footer-social-link:hover {
  background: var(--gold-500);
}

.footer-bottom {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 1px solid var(--navy-950);
  padding-top: 2rem;
  font-size: 0.875rem;
  color: var(--muted);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

/* ---------- Legal pages ---------- */

.legal {
  background: var(--page);
}

.legal-card {
  max-width: 48rem;
  border: 1px solid var(--navy-950);
  border-radius: var(--radius-brand);
  background: var(--white);
  padding: 2rem;
  box-shadow: var(--shadow-line);
}

@media (min-width: 768px) {
  .legal-card {
    padding: 3rem;
  }
}

.legal-card.centered {
  margin: 0 auto;
}

.legal-card h1 {
  margin-top: 1.5rem;
  font-size: 3rem;
  line-height: 1.25;
  color: var(--navy-950);
}

.legal-card h2 {
  margin-top: 2.5rem;
  font-size: 1.5rem;
  line-height: 1.25;
  color: var(--navy-950);
}

@media (min-width: 768px) {
  .legal-card h2 {
    font-size: 1.875rem;
  }
}

.legal-card p,
.legal-card ul,
.legal-card address {
  margin-top: 1rem;
  font-size: 1.125rem;
  line-height: 2rem;
  color: var(--muted);
  font-style: normal;
}

.legal-card ul {
  padding-left: 1.5rem;
  list-style: disc;
}

.legal-card li + li {
  margin-top: 0.5rem;
}

.legal-card .legal-date {
  font-size: 1rem;
}

.legal-card .legal-intro {
  margin-top: 2rem;
}

.legal-card a:not(.btn-brand) {
  color: var(--navy-950);
  text-decoration: underline;
}

/* ---------- Scroll reveal (only when JS runs and motion is allowed) ---------- */

.motion [data-reveal] {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}

.motion [data-reveal="rise"] {
  transform: translateY(20px);
  transition-duration: 0.4s;
}

.motion [data-reveal="item"] {
  transform: translateY(10px);
  transition-duration: 0.4s;
}

.motion [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

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

  .hero-glow {
    animation: none;
  }

  .card-lift,
  .icon-box,
  .tag,
  .arrow-nudge {
    transition: none;
  }
}
