/* =============================================================================
   MicroLens — corporate site design system.

   The palette is taken from the MicroLens mark: a rising growth arrow in azure
   over a midnight-navy lens. It is deliberately NOT Darayee's brand green —
   microlens.net speaks for the company, darayee.microlens.net for the product,
   and the two should read as related but distinct at a glance.

   Everything here is self-contained: no web fonts, no CDN, no build step. Edit
   a file, `docker compose up -d web`, done.
   ========================================================================== */

/* --- Tokens --------------------------------------------------------------- */
:root {
  /* Ink — the navy the lens body is drawn in. */
  --ink-950: #040d1a;
  --ink-900: #071426;
  --ink-800: #0b1e38;
  --ink-700: #122c4e;
  --ink-600: #1b3d68;

  /* Brand azure — the arrow, from its shadow to its highlight. */
  --brand-700: #1450b4;
  --brand-600: #1d63d1;
  --brand-500: #2e7bee;
  --brand-400: #5a9bf5;
  --brand-300: #8fbefa;
  --brand-100: #dbeafe;
  --brand-50: #eff6ff;

  /* Accent — the cyan glint on the lens glass. */
  --accent-500: #38bdf8;
  --accent-300: #7dd3fc;

  /* Surfaces & text. */
  --surface: #ffffff;
  --surface-2: #f4f8fd;
  --surface-3: #e9f1fb;
  --line: #dfe8f4;
  --line-strong: #c8d8ec;
  --text: #0c1b2e;
  --text-muted: #55677f;
  --text-on-dark: #eaf2fd;
  --text-on-dark-muted: #a7bdd8;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(7, 20, 38, 0.06), 0 1px 3px rgba(7, 20, 38, 0.04);
  --shadow: 0 4px 12px rgba(7, 20, 38, 0.06), 0 12px 32px rgba(7, 20, 38, 0.07);
  --shadow-lg: 0 8px 24px rgba(7, 20, 38, 0.1), 0 32px 64px rgba(7, 20, 38, 0.12);
  --shadow-brand: 0 10px 30px rgba(29, 99, 209, 0.28);

  --gradient-brand: linear-gradient(135deg, var(--brand-600) 0%, var(--accent-500) 100%);
  --gradient-ink: linear-gradient(160deg, var(--ink-900) 0%, var(--ink-700) 60%, var(--ink-600) 100%);

  --container: 1160px;
  --header-h: 74px;

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

  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  /* Anchor targets must clear the sticky header. */
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

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

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

a {
  color: var(--brand-600);
  text-decoration: none;
}

a:hover {
  color: var(--brand-700);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  line-height: 1.15;
  letter-spacing: -0.022em;
  font-weight: 800;
  color: var(--text);
}

h1 {
  font-size: clamp(2.3rem, 1.35rem + 3.6vw, 4rem);
}

h2 {
  font-size: clamp(1.8rem, 1.2rem + 2.1vw, 2.7rem);
}

h3 {
  font-size: clamp(1.15rem, 1.02rem + 0.5vw, 1.35rem);
  font-weight: 750;
}

p {
  margin: 0 0 1em;
}

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

:focus-visible {
  outline: 3px solid var(--brand-500);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: var(--brand-500);
  color: #fff;
}

/* --- Layout primitives ---------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: clamp(64px, 7vw, 112px);
}

.section--tight {
  padding-block: clamp(48px, 5vw, 80px);
}

.section--alt {
  background: var(--surface-2);
  border-block: 1px solid var(--line);
}

.section__head {
  max-width: 720px;
  margin-bottom: clamp(36px, 4vw, 56px);
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.lead {
  font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.25rem);
  color: var(--text-muted);
  margin-bottom: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--brand-600);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 650;
}

.skip-link:focus {
  left: 0;
  color: #fff;
}

/* --- Eyebrow / badge ------------------------------------------------------ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient-brand);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 11px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(125, 211, 252, 0.32);
  color: var(--accent-300);
}

.badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-500);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.2);
}

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 680;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease,
    border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

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

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.btn--primary:hover {
  color: #fff;
  box-shadow: 0 14px 38px rgba(29, 99, 209, 0.38);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--brand-400);
  background: var(--brand-50);
  color: var(--brand-700);
}

.btn--on-dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--text-on-dark);
  backdrop-filter: blur(6px);
}

.btn--on-dark:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn--sm {
  padding: 9px 18px;
  font-size: 0.9rem;
}

.btn--lg {
  padding: 16px 32px;
  font-size: 1.03rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* Arrow that nudges on hover — used on text links and buttons alike. */
.arrow {
  transition: transform 0.18s ease;
}

.btn:hover .arrow,
.link-arrow:hover .arrow {
  transform: translateX(4px);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 680;
}

/* --- Header --------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(7, 20, 38, 0.05);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: 42px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline-start: auto;
}

.nav__link {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.16s ease, background 0.16s ease;
}

.nav__link:hover {
  color: var(--text);
  background: var(--surface-3);
}

.nav__link.is-active {
  color: var(--brand-700);
  background: var(--brand-50);
}

.header__cta {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-inline-start: auto;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.nav-toggle .icon-close {
  display: none;
}

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

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

@media (max-width: 900px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 14px 24px 22px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav__link {
    padding: 13px 14px;
    font-size: 1.02rem;
  }

  .nav .btn {
    margin-top: 10px;
    width: 100%;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header__cta {
    display: none;
  }
}

/* --- Dark canvas (hero, CTA band, footer) --------------------------------- */
.canvas-dark {
  position: relative;
  isolation: isolate;
  background: var(--gradient-ink);
  color: var(--text-on-dark);
  overflow: hidden;
}

.canvas-dark h1,
.canvas-dark h2,
.canvas-dark h3 {
  color: #fff;
}

.canvas-dark .lead {
  color: var(--text-on-dark-muted);
}

/* Soft aurora blobs + a faint engineering grid, drawn in CSS only. */
.canvas-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(
      780px 460px at 8% -10%,
      rgba(46, 123, 238, 0.42),
      transparent 62%
    ),
    radial-gradient(680px 420px at 96% 4%, rgba(56, 189, 248, 0.3), transparent 58%),
    radial-gradient(520px 520px at 62% 108%, rgba(20, 80, 180, 0.34), transparent 62%);
}

.canvas-dark::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(80% 70% at 50% 30%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 30%, #000 30%, transparent 100%);
}

/* --- Hero ----------------------------------------------------------------- */
.hero {
  padding-block: clamp(72px, 8vw, 132px);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero h1 {
  margin-bottom: 20px;
}

.hero .lead {
  max-width: 56ch;
  margin-bottom: 32px;
}

.hero__cta {
  margin-bottom: 34px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero__meta li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.93rem;
  color: var(--text-on-dark-muted);
}

.hero__meta svg {
  width: 17px;
  height: 17px;
  color: var(--accent-300);
  flex-shrink: 0;
}

.gradient-text {
  background: linear-gradient(120deg, var(--accent-300) 0%, var(--brand-300) 55%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
}

/* --- Hero visual: an abstract "focus" panel ------------------------------- */
.focus-panel {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 26px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 30px 70px rgba(2, 8, 20, 0.45);
  backdrop-filter: blur(10px);
}

.focus-panel__bar {
  display: flex;
  gap: 7px;
  margin-bottom: 20px;
}

.focus-panel__bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.focus-panel__bar span:first-child {
  background: var(--accent-500);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.metric {
  padding: 16px 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.metric__label {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  margin-bottom: 6px;
}

.metric__value {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.metric__value--accent {
  color: var(--accent-300);
}

/* A pure-CSS rising bar chart, echoing the growth arrow in the mark. */
.spark {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 96px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.spark span {
  flex: 1;
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, var(--accent-300), var(--brand-500));
  transform-origin: bottom;
  animation: spark-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

@keyframes spark-rise {
  from {
    transform: scaleY(0.05);
    opacity: 0;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* --- Cards ---------------------------------------------------------------- */
.grid {
  display: grid;
  gap: 22px;
}

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

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

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 980px) {
  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }
}

.card {
  position: relative;
  padding: 30px 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}

.card h3 {
  margin-bottom: 8px;
}

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

.card--flat:hover {
  transform: none;
}

.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 8px 18px rgba(29, 99, 209, 0.28);
}

.icon-tile svg {
  width: 24px;
  height: 24px;
}

/* Numbered step, for the "how we work" rail. */
.step {
  position: relative;
  padding: 30px 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.step__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  color: var(--brand-700);
  font-weight: 800;
  font-size: 0.95rem;
}

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

/* --- Feature list (checkmarks) -------------------------------------------- */
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-block: 9px;
  color: var(--text-muted);
}

.check-list svg {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--brand-600);
}

.check-list strong {
  color: var(--text);
  font-weight: 680;
}

.canvas-dark .check-list li {
  color: var(--text-on-dark-muted);
}

.canvas-dark .check-list svg {
  color: var(--accent-300);
}

.canvas-dark .check-list strong {
  color: #fff;
}

/* --- Product showcase ----------------------------------------------------- */
.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(28px, 3.4vw, 48px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

@media (max-width: 900px) {
  .product {
    grid-template-columns: 1fr;
  }
}

.product__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  margin-bottom: 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  color: var(--brand-700);
}

.product__name {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}

.product__name h3 {
  font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.3rem);
  font-weight: 820;
  margin: 0;
}

.product__native {
  font-size: 1.3rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* The visual half: a stylised app window. */
.window {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
  box-shadow: var(--shadow);
}

.window__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: var(--ink-900);
}

.window__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.window__url {
  margin-inline-start: 10px;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  color: var(--text-on-dark-muted);
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.window__body {
  padding: 20px;
  display: grid;
  gap: 12px;
}

.window__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.window__tile {
  padding: 14px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.window__tile b {
  display: block;
  font-size: 1.15rem;
  color: var(--ink-800);
  line-height: 1.2;
}

.window__tile small {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.window__lines {
  display: grid;
  gap: 9px;
  padding: 16px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.window__lines i {
  display: block;
  height: 9px;
  border-radius: 5px;
  background: var(--surface-3);
}

.window__lines i:first-child {
  background: var(--brand-100);
  width: 55%;
}

.window__lines i:nth-child(2) {
  width: 88%;
}

.window__lines i:nth-child(3) {
  width: 72%;
}

/* --- Stat / fact strip ---------------------------------------------------- */
.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
}

@media (max-width: 700px) {
  .facts {
    grid-template-columns: 1fr;
  }
}

.fact {
  padding: 28px 26px;
  background: var(--surface);
  text-align: center;
}

.fact__value {
  font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem);
  font-weight: 820;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
}

.fact__label {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 4px;
}

/* --- Prose (about page body) ---------------------------------------------- */
.prose {
  max-width: 68ch;
}

.prose p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.prose strong {
  color: var(--text);
}

/* Pull-quote used for the brand-name explanation. */
.quote {
  margin: 32px 0;
  padding: 26px 30px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-inline-start: 4px solid var(--brand-500);
  font-size: 1.1rem;
  color: var(--text);
}

.quote p:last-child {
  margin-bottom: 0;
}

/* --- Split (image/text or text/text) -------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }
}

/* --- Contact -------------------------------------------------------------- */
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--brand-300);
}

.contact-card__value {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  word-break: break-word;
}

.contact-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.contact-card .btn {
  margin-top: auto;
}

/* --- Page header (inner pages) -------------------------------------------- */
.page-head {
  padding-block: clamp(56px, 6vw, 96px);
}

.page-head .lead {
  max-width: 62ch;
}

/* --- CTA band ------------------------------------------------------------- */
.cta-band {
  padding-block: clamp(56px, 6vw, 92px);
  text-align: center;
}

.cta-band .lead {
  max-width: 56ch;
  margin-inline: auto;
  margin-bottom: 30px;
}

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

/* --- Footer --------------------------------------------------------------- */
.footer {
  padding-block: clamp(48px, 5vw, 72px) 32px;
  background: var(--ink-950);
  color: var(--text-on-dark-muted);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px 32px;
  padding-bottom: 40px;
}

@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.footer__brand img {
  height: 46px;
  width: auto;
  margin-bottom: 16px;
}

.footer__brand p {
  font-size: 0.95rem;
  max-width: 34ch;
  margin-bottom: 0;
}

.footer h4 {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
}

.footer li {
  margin-bottom: 9px;
}

.footer a {
  color: var(--text-on-dark-muted);
  font-size: 0.95rem;
  transition: color 0.16s ease;
}

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

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  justify-content: space-between;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
}

.footer__legal {
  color: #6f88a8;
  max-width: 70ch;
}

/* --- Scroll reveal -------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Anyone who asks for less motion gets none of it — including the hero chart. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .btn:hover,
  .card:hover,
  .contact-card:hover {
    transform: none;
  }
}

/* --- Print ---------------------------------------------------------------- */
@media print {
  .header,
  .footer,
  .cta-band,
  .nav-toggle {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }
}
