/* Productive Software — website styles.
   One stylesheet for every page. Light and dark themes follow the visitor's
   system setting. No web fonts or third-party requests: the system font stack
   keeps the site fast and private. */

:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --surface-2: #f3f1eb;
  --ink: #0f1f2c;
  --ink-2: #3b4a57;
  --muted: #647280;
  --line: #e4e0d6;
  --brand: #0d4b73;
  --brand-hover: #0a3c5c;
  --brand-soft: #e6eff5;
  --on-brand: #ffffff;
  --accent: #f4a623;
  --accent-ink: #9a5d00;
  --accent-soft: #fdf1dc;
  --dark: #0b2233;
  --dark-ink: #e9f0f5;
  --dark-muted: #a7b6c3;
  --dark-line: rgba(255, 255, 255, 0.12);
  --focus: #f4a623;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 31, 44, 0.05), 0 8px 24px rgba(15, 31, 44, 0.06);
  --shadow-lg: 0 2px 6px rgba(15, 31, 44, 0.06), 0 24px 48px rgba(15, 31, 44, 0.1);
  --container: 1140px;
  --pad: clamp(1.25rem, 4vw, 2rem);
  --header-h: 68px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1620;
    --surface: #131e29;
    --surface-2: #172431;
    --ink: #edf2f6;
    --ink-2: #bcc8d3;
    --muted: #8f9dab;
    --line: #243445;
    --brand: #6cb6e4;
    --brand-hover: #8fc8ec;
    --brand-soft: #15304a;
    --on-brand: #06131d;
    --accent: #f5b240;
    --accent-ink: #f5b240;
    --accent-soft: #33260e;
    --dark: #09121a;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 8px 24px rgba(0, 0, 0, 0.22);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.35), 0 24px 48px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
  }
}

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

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Anchor links land below the sticky header rather than under it. */
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 780; }
h3 { font-size: 1.18rem; font-weight: 700; letter-spacing: -0.01em; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-hover); }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 100;
  background: var(--brand);
  color: var(--on-brand);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { left: 12px; color: var(--on-brand); }

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: inherit;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--brand); color: var(--on-brand); }
.btn--primary:hover { background: var(--brand-hover); color: var(--on-brand); }

.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }

.btn--accent { background: var(--accent); color: #1c1305; }
.btn--accent:hover { background: #ffb838; color: #1c1305; }

.btn--sm { min-height: 42px; padding: 0.55rem 1.1rem; font-size: 0.95rem; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.12rem;
  letter-spacing: -0.015em;
  white-space: nowrap;
}
.brand:hover { color: var(--ink); }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-name { font-weight: 800; }
.brand-name span { font-weight: 450; color: var(--ink-2); }

.logo-bg { fill: #0d4b73; }
.logo-letter { stroke: #fdfbf7; }
.logo-dot { fill: #f4a623; }
@media (prefers-color-scheme: dark) {
  .logo-bg { fill: #1f6d9f; }
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  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; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.site-nav a:not(.btn) {
  display: block;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  color: var(--ink-2);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
}
.site-nav a:not(.btn):hover { color: var(--ink); background: var(--surface-2); }
.site-nav a[aria-current="page"] { color: var(--brand); }
.site-nav .nav-cta { margin-left: 0.5rem; }

@media (max-width: 859px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 0.75rem var(--pad) 1.25rem;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0.15rem; }
  .site-nav a:not(.btn) { padding: 0.85rem 0.75rem; border-radius: var(--radius-sm); font-size: 1.05rem; }
  .site-nav .nav-cta { margin: 0.6rem 0 0; }
  .site-nav .nav-cta .btn { width: 100%; }
}

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

.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section--tint { background: var(--surface-2); }
.section--tight-top { padding-top: 0; }

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 + .lead { margin-top: 1rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem;
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}
.section-head--center .eyebrow { justify-content: center; }

.lead {
  font-size: clamp(1.1rem, 1.7vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-2);
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 8vw, 6rem) clamp(3rem, 7vw, 5rem);
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 720px;
  height: 720px;
  right: -260px;
  top: -280px;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 16%, transparent), transparent);
}
.hero-grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
}
.hero h1 { max-width: 16ch; }
.hero .lead { max-width: 38rem; margin-top: 1.4rem; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.check-list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  color: var(--ink-2);
  font-size: 0.97rem;
}
.check-list li { display: flex; align-items: center; gap: 0.45rem; }
.check-list svg { width: 20px; height: 20px; color: var(--brand); flex: none; }

.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; }

/* Illustration colours, so it follows the light and dark themes. */
.art-backdrop { fill: var(--brand-soft); }
.art-surface { fill: var(--surface); stroke: var(--line); stroke-width: 1.5; }
.art-panel { fill: var(--surface-2); }
.art-bar { fill: var(--line); }
.art-ink { fill: var(--ink); opacity: 0.82; }
.art-brand { fill: var(--brand); }
.art-brand-soft { fill: var(--brand); opacity: 0.35; }
.art-accent { fill: var(--accent); }
.art-accent-line { fill: none; stroke: var(--accent); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.art-check { fill: none; stroke: #ffffff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.art-ring { fill: none; stroke: var(--line); stroke-width: 2.2; }
.art-float { filter: drop-shadow(0 14px 22px rgba(15, 31, 44, 0.14)); }

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 7vw, 5rem) clamp(2.5rem, 6vw, 4rem);
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 620px;
  height: 620px;
  right: -240px;
  top: -300px;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 14%, transparent), transparent);
}
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { max-width: 42rem; margin-top: 1.25rem; }

/* ---------- Cards and grids ---------- */

.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 1.85rem);
  box-shadow: var(--shadow);
}
.card h3 { margin: 1rem 0 0.45rem; }
.card p { color: var(--ink-2); }

.icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
}
.icon-badge svg { width: 24px; height: 24px; }
.icon-badge--accent { background: var(--accent-soft); color: var(--accent-ink); }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.2rem;
  font-weight: 700;
  text-decoration: none;
}
.card-link svg { width: 18px; height: 18px; transition: transform 0.15s ease; }
.card-link:hover svg { transform: translateX(3px); }

/* The two routes on the home page: custom work, or a ready-made product. */
.path-card { padding: clamp(1.6rem, 4vw, 2.4rem); border-top: 4px solid var(--brand); }
.path-card--accent { border-top-color: var(--accent); }
.path-card h3 { font-size: 1.45rem; }

.feature-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  color: var(--ink-2);
}
.feature-list li { display: flex; gap: 0.6rem; align-items: flex-start; }
.feature-list svg { width: 20px; height: 20px; margin-top: 0.2rem; color: var(--brand); flex: none; }

/* Icon beside text, used for the "why us" points and value lists. */
.point { display: flex; gap: 1rem; align-items: flex-start; }
.point .icon-badge { flex: none; }
.point h3 { margin: 0.35rem 0 0.35rem; }
.point p { color: var(--ink-2); }

/* ---------- Process steps ---------- */

/* Five steps never divide evenly into an auto-fit grid (4 + 1 left a lone
   step on its own row), so the columns are set per width: one column, then
   3 + 2 on a six-track grid, then all five in a row. */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  counter-reset: step;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .steps { grid-template-columns: repeat(6, 1fr); }
  .steps .step { grid-column: span 2; }
  .steps .step:nth-child(n + 4) { grid-column: span 3; }
}
@media (min-width: 1040px) {
  .steps { grid-template-columns: repeat(5, 1fr); }
  .steps .step,
  .steps .step:nth-child(n + 4) { grid-column: auto; }
}
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem 1.5rem;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 0.9rem;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--accent-ink);
}
.step h3 { font-size: 1.08rem; margin-bottom: 0.4rem; }
.step p { color: var(--ink-2); font-size: 0.98rem; }
.step--highlight { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); box-shadow: 0 0 0 3px var(--brand-soft); }

/* Detailed steps on the custom software page. */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: step; }
.timeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 1.75rem);
}
.timeline-item::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 800;
}
.timeline-item h3 { margin-top: 0.4rem; }
.timeline-item p { color: var(--ink-2); margin-top: 0.4rem; }

/* ---------- Dark panels ---------- */

.panel-dark {
  background: var(--dark);
  color: var(--dark-ink);
  border-radius: calc(var(--radius) * 1.5);
  padding: clamp(2rem, 5vw, 3.5rem);
}
.panel-dark h2, .panel-dark h3 { color: #ffffff; }
.panel-dark p, .panel-dark .lead { color: var(--dark-muted); }
.panel-dark .eyebrow { color: var(--accent); }
.panel-dark .feature-list { color: var(--dark-ink); }
.panel-dark .feature-list svg { color: var(--accent); }
.panel-dark .feature-list strong { color: #ffffff; }

.security-grid { display: grid; gap: clamp(1.75rem, 4vw, 3rem); align-items: start; }
@media (min-width: 900px) { .security-grid { grid-template-columns: 0.9fr 1.1fr; } }

.cta-band {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  background: var(--dark);
  color: var(--dark-ink);
  border-radius: calc(var(--radius) * 1.5);
  padding: clamp(2rem, 5vw, 3.5rem);
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -140px;
  bottom: -220px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(244, 166, 35, 0.28), transparent);
  pointer-events: none;
}
.cta-band h2 { color: #ffffff; }
.cta-band p { color: var(--dark-muted); margin-top: 0.75rem; max-width: 40rem; }
.cta-band .btn { position: relative; z-index: 1; justify-self: start; }
@media (min-width: 820px) {
  .cta-band { grid-template-columns: 1fr auto; }
  .cta-band .btn { justify-self: end; }
}

/* ---------- Badges and placeholders ---------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-card { display: flex; flex-direction: column; }
.product-card .badge { position: absolute; top: 1.25rem; right: 1.25rem; }
.product-card .card-link { margin-top: auto; padding-top: 1.2rem; color: var(--muted); pointer-events: none; }

.coming-soon {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  background: var(--surface);
  border: 1.5px dashed color-mix(in srgb, var(--brand) 35%, var(--line));
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.25rem);
}
@media (min-width: 760px) { .coming-soon { grid-template-columns: auto 1fr auto; } }
.coming-soon h3 { margin: 0 0 0.3rem; }
.coming-soon p { color: var(--ink-2); }

/* ---------- Split layouts ---------- */

.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-right { grid-template-columns: 0.85fr 1.15fr; }
}

.prose p { color: var(--ink-2); font-size: 1.08rem; }
.prose p + p { margin-top: 1rem; }

.stat-card { display: grid; gap: 0.25rem; }
.stat-card strong { font-size: 1.05rem; color: var(--ink); }
.stat-card span { color: var(--ink-2); }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 0.75rem; max-width: 840px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 1.25rem;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  font-weight: 680;
  font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 500;
  color: var(--brand);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 1.2rem; color: var(--ink-2); }

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

.contact-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 0.8fr 1.2fr; } }

.next-steps { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: 1rem; counter-reset: next; }
.next-steps li { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; color: var(--ink-2); }
.next-steps li::before {
  counter-increment: next;
  content: counter(next);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 800;
  font-size: 0.9rem;
}
.next-steps strong { color: var(--ink); display: block; }

.form-card { padding: clamp(1.4rem, 4vw, 2.25rem); }
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.field { display: grid; gap: 0.4rem; min-width: 0; }
.field label { font-weight: 650; font-size: 0.97rem; }
.field .optional { font-weight: 400; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  /* 16px or more, or iOS zooms the page when a field is focused. */
  font-size: 16px;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent);
}
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 0.25rem; }
.form-note { font-size: 0.9rem; color: var(--muted); margin: 0; }
.form-status {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  color: var(--ink);
}
.form-status strong { display: block; margin-bottom: 0.2rem; }

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

.site-footer {
  background: var(--dark);
  color: var(--dark-ink);
  padding-block: clamp(3rem, 6vw, 4rem) 2rem;
}
.footer-grid {
  display: grid;
  gap: 2rem 3rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
}
.footer-brand { grid-column: 1 / -1; max-width: 26rem; }
@media (min-width: 860px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .footer-brand { grid-column: auto; }
}
.site-footer .brand { color: #ffffff; }
.site-footer .brand-name span { color: var(--dark-muted); }
.footer-brand p { margin-top: 1rem; color: var(--dark-muted); }
.footer-col h2 {
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--dark-muted);
  margin-bottom: 0.9rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer-col a, .footer-col li { color: var(--dark-ink); text-decoration: none; opacity: 0.88; }
.footer-col a:hover { opacity: 1; text-decoration: underline; color: #ffffff; }
.footer-bottom {
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--dark-line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  font-size: 0.9rem;
  color: var(--dark-muted);
}

/* ---------- Not found ---------- */

.not-found { text-align: center; padding-block: clamp(4rem, 12vw, 8rem); }
.not-found .code { font-size: clamp(4rem, 14vw, 7rem); font-weight: 850; letter-spacing: -0.04em; color: var(--brand-soft); line-height: 1; }
.not-found h1 { margin-top: 0.5rem; }
.not-found .lead { margin: 1rem auto 0; max-width: 32rem; }
.not-found .hero-actions { justify-content: center; }

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
