/* ===================================================================
   DialPro L.L.C-FZ — design system
   Self-hosted fonts, light graphite theme with a warm gold accent.
=================================================================== */

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+2122;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+2122;
}

:root {
  --bg: #fbf8f2;
  --surface: #ffffff;
  --surface-alt: #f4efe4;
  --graphite: #21242b;
  --graphite-soft: #4a4f58;
  --muted: #6b7078;
  --border: #e7e0d0;
  --border-strong: #d8cfb8;
  --gold: #dba130;
  --gold-dark: #875b0a;
  --gold-soft: #f6e3bc;
  --ink-on-gold: #221a08;
  --rust: #c1571f;
  --rust-dark: #8f3f16;
  --rust-soft: #f6ddc9;
  --success: #2f7a4f;
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 26px;
  --shadow-s: 0 2px 10px rgba(33, 36, 43, 0.06);
  --shadow-m: 0 12px 32px rgba(33, 36, 43, 0.1);
  --shadow-tile: 0 2px 6px rgba(33, 36, 43, 0.08), 0 18px 34px -14px rgba(33, 36, 43, 0.28);
  --container: 1180px;
  --font-head: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  padding: 0;
  margin: 0;
}

body {
  background: var(--bg);
  color: var(--graphite);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Fine paper-grain texture over the whole site so flat light sections
   never read as empty, without adding any real visual noise/clutter. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

@media (prefers-reduced-motion: reduce) {
  body::before { display: none; }
}

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

a {
  color: inherit;
}

/* ---------- Global keyboard focus visibility ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--gold-dark);
  outline-offset: 2px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: 1.28rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; color: var(--graphite-soft); }

ul, ol { margin: 0 0 1em; padding-left: 1.2em; color: var(--graphite-soft); }
li { margin-bottom: 0.4em; }

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

.container--narrow { max-width: 820px; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--graphite);
  color: #fff;
  padding: 12px 18px;
  z-index: 1000;
  border-radius: 0 0 var(--radius-s) 0;
}
.skip-link:focus {
  left: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 242, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--graphite);
  text-decoration: none;
  flex-shrink: 0;
}

.brand__mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.primary-nav a {
  text-decoration: none;
  color: var(--graphite-soft);
  font-weight: 600;
  font-size: 0.96rem;
  padding: 10px 14px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  background: var(--surface-alt);
  color: var(--graphite);
}

.primary-nav a.is-active {
  background: var(--graphite);
  color: #fff;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-s);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--graphite);
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 13px 24px;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color .15s ease, color .15s ease;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--gold);
  color: var(--ink-on-gold);
  box-shadow: 0 8px 20px rgba(219, 161, 48, 0.35);
  position: relative;
  overflow: hidden;
}
.btn--primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
}
.btn--primary:hover::after { left: 130%; }
.btn--primary:hover, .btn--primary:focus-visible {
  background: var(--gold-dark);
  color: #fff;
}

.btn--dark {
  background: var(--graphite);
  color: #fff;
}
.btn--dark:hover, .btn--dark:focus-visible { background: #10131a; }

.btn--ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--graphite);
}
.btn--ghost:hover, .btn--ghost:focus-visible { border-color: var(--graphite); }

.btn--sm { padding: 9px 16px; font-size: 0.88rem; }
.btn--block { width: 100%; }

/* ---------- Sections ---------- */
.section {
  padding: 84px 0;
}
.section--tight { padding: 56px 0; }
.section--alt {
  background: var(--surface-alt);
  background-image: radial-gradient(circle at 92% 8%, rgba(219, 161, 48, 0.14), transparent 55%),
    radial-gradient(circle at 4% 96%, rgba(193, 87, 31, 0.08), transparent 45%);
}
.section--dark {
  background: var(--graphite);
  color: #f2efe8;
  position: relative;
  overflow: hidden;
}
.section--dark::before {
  content: "";
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 480px;
  background: radial-gradient(ellipse, rgba(219, 161, 48, 0.22), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.section--dark .container { position: relative; z-index: 1; }
.section--dark p, .section--dark li { color: #cfd2d8; }
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: var(--gold-soft);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.section--dark .eyebrow { background: rgba(219,161,48,0.18); color: var(--gold); }

.section-head {
  max-width: 720px;
  margin: 0 0 44px;
}
.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.lede {
  font-size: 1.15rem;
  color: var(--graphite-soft);
}

/* ---------- Hero ---------- */
.hero {
  padding: 64px 0 40px;
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  width: 480px;
  height: 480px;
  top: -180px;
  right: -120px;
  background: radial-gradient(circle, rgba(219, 161, 48, 0.28), transparent 70%);
}
.hero::after {
  width: 360px;
  height: 360px;
  bottom: -160px;
  left: -80px;
  background: radial-gradient(circle, rgba(193, 87, 31, 0.16), transparent 70%);
}
.hero .container { position: relative; z-index: 1; }

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}

.hero__meta-item {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 600;
}
.hero__meta-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--graphite);
  font-weight: 700;
}

.hero__art {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  z-index: 1;
}

/* Each icon sits in a fixed 1:1 tile — aspect-ratio + object-fit guarantee
   a perfect square regardless of the source image, with the shadow applied
   evenly (no directional offset) so it never reads as stretched. */
.hero__art-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-tile);
  background: #fff;
}
.hero__art-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.hero__art-tile:nth-child(2) { margin-top: 32px; }
.hero__art-tile:nth-child(3) { margin-top: -18px; }
.hero__art-tile:nth-child(4) { margin-top: 14px; }

@media (prefers-reduced-motion: no-preference) {
  .hero__art-tile { animation: art-float 7s ease-in-out infinite; }
  .hero__art-tile:nth-child(2) { animation-delay: 0.6s; }
  .hero__art-tile:nth-child(3) { animation-delay: 1.2s; }
  .hero__art-tile:nth-child(4) { animation-delay: 1.8s; }
}
@keyframes art-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ---------- Cards ---------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 30px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--rust));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-m);
  border-color: var(--border-strong);
}
.card:hover::before { transform: scaleX(1); }

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gold-soft);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
}
.card__icon--rust { background: var(--rust-soft); color: var(--rust-dark); }

/* Square image icon used inside cards (app icons, product marks). The
   aspect-ratio + overflow:hidden guarantee a perfect square no matter what
   the source image looks like, with a shadow that never bleeds directionally. */
.icon-tile {
  display: block;
  width: 52px;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 18px;
  box-shadow: var(--shadow-tile);
  flex-shrink: 0;
}
.icon-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.icon-tile--center { margin-left: auto; margin-right: auto; }

.step-card {
  position: relative;
  padding-top: 46px;
}
.step-card__num {
  position: absolute;
  top: 22px;
  left: 30px;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-dark);
}

/* ---------- App cards ---------- */
.app-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.app-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }

.app-card__head {
  display: flex;
  align-items: center;
  gap: 16px;
}
.app-card__icon {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: var(--shadow-tile);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.app-card:hover .app-card__icon { transform: scale(1.05) rotate(-2deg); }
.app-card__title { margin: 0 0 4px; font-size: 1.18rem; }
.app-card__platform {
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
}
.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--graphite-soft);
  border: 1px solid var(--border);
}
.tag--gold { background: var(--gold-soft); color: var(--gold-dark); border-color: transparent; }

.app-card__features {
  margin: 0;
  padding-left: 1.1em;
  font-size: 0.94rem;
}
.app-card__features li { margin-bottom: 0.3em; }

.app-card__links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 6px;
}
.store-badge { height: 44px; width: auto; }
.store-badge-link { display: inline-flex; border-radius: 8px; overflow: hidden; }
.store-badge-link:focus-visible { outline: 2px solid var(--gold-dark); outline-offset: 2px; }

/* ---------- Timeline / flow diagram ---------- */
.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0;
  margin: 32px 0;
}
.flow__step {
  flex: 1 1 160px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 22px 18px;
  text-align: center;
  position: relative;
}
.flow__step strong {
  display: block;
  font-family: var(--font-head);
  margin-bottom: 6px;
}
.flow__step small { color: var(--muted); font-size: 0.84rem; }
.flow__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  color: var(--gold-dark);
  font-size: 1.4rem;
  flex: 0 0 auto;
}

/* ---------- Numbered step grid (longer data-flow diagrams, e.g. 6 steps,
   where the flex .flow + arrow pattern would wrap awkwardly) ---------- */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0;
  counter-reset: flowstep;
}
.flow-grid__step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 22px 18px 20px;
  position: relative;
  counter-increment: flowstep;
}
.flow-grid__step::before {
  content: counter(flowstep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold-dark);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  margin-bottom: 10px;
}
.flow-grid__step strong { display: block; font-family: var(--font-head); margin-bottom: 4px; }
.flow-grid__step small { color: var(--muted); font-size: 0.84rem; }
@media (max-width: 900px) {
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .flow-grid { grid-template-columns: 1fr; }
}

/* ---------- Notice / callout boxes ---------- */
.notice {
  border: 1px solid var(--border-strong);
  background: var(--surface-alt);
  border-radius: var(--radius-m);
  padding: 22px 26px;
  margin: 24px 0;
}
.notice--gold { border-color: var(--gold); background: var(--gold-soft); }
.notice h4 { margin-bottom: 8px; }
.notice p:last-child { margin-bottom: 0; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 14px;
}
.breadcrumbs a { color: var(--graphite-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold-dark); text-decoration: underline; }
.breadcrumbs span[aria-current] { color: var(--graphite); font-weight: 600; }
.breadcrumbs .sep { color: var(--border-strong); }

/* ---------- Sanitized interface mockups (illustrative only, no live data) ---------- */
.mockup-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  background: var(--surface);
  box-shadow: var(--shadow-s);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.mockup-card__label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-on-gold);
  padding: 10px 18px;
  background: var(--gold-soft);
  border-bottom: 1px solid var(--border-strong);
}
.mockup-card__body { padding: 18px; flex: 1; }
.mockup-card__body h4 { margin: 0 0 12px; font-size: 1.02rem; }
.mockup-fields { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.mockup-field {
  font-size: 0.8rem;
  padding: 6px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  color: var(--graphite-soft);
  background: var(--surface-alt);
}
.mockup-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  margin-bottom: 8px;
  background: var(--bg);
  font-size: 0.88rem;
}
.mockup-row:last-child { margin-bottom: 0; }
.mockup-row strong { font-family: var(--font-head); font-size: 0.92rem; }
.mockup-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}
.mockup-tag--fit { background: var(--gold-soft); color: var(--ink-on-gold); }
.mockup-tag--pending { background: var(--surface-alt); color: var(--muted); border: 1px solid var(--border-strong); }
.mockup-tag--approve { background: #dff0e4; color: var(--success); }
.mockup-tag--reject { background: var(--rust-soft); color: var(--rust-dark); }
.mockup-card__caption {
  font-size: 0.82rem;
  color: var(--muted);
  font-style: italic;
  padding: 12px 18px;
  border-top: 1px dashed var(--border-strong);
  background: var(--surface-alt);
}

.owner-flag {
  display: inline-block;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  background: #fbe6cf;
  color: #8a4b0a;
  border: 1px dashed #d99a4d;
  padding: 2px 8px;
  border-radius: 6px;
}

/* ---------- Company / about blocks ---------- */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  overflow: hidden;
}
.fact-grid dt {
  background: var(--surface-alt);
  font-weight: 700;
  font-family: var(--font-head);
  font-size: 0.86rem;
  padding: 16px 20px;
}
.fact-grid dd {
  background: var(--surface);
  margin: 0;
  padding: 16px 20px;
  color: var(--graphite-soft);
}

/* ---------- Forms ---------- */
.form {
  display: grid;
  gap: 18px;
  max-width: 620px;
}
.field {
  display: grid;
  gap: 6px;
}
.field label {
  font-weight: 700;
  font-size: 0.9rem;
}
.field input,
.field select,
.field textarea {
  font: inherit;
  padding: 13px 16px;
  border-radius: var(--radius-s);
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  color: var(--graphite);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 4px rgba(219,161,48,0.18);
}
.field textarea { resize: vertical; min-height: 130px; }
.form__note { font-size: 0.85rem; color: var(--muted); }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; margin: 24px 0; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
  min-width: 560px;
}
th, td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
th {
  font-family: var(--font-head);
  background: var(--surface-alt);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--graphite);
  color: #cfd2d8;
  padding: 64px 0 28px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  margin-bottom: 14px;
}
.footer__desc { font-size: 0.92rem; color: #aeb2ba; max-width: 320px; }
.footer h5 {
  font-family: var(--font-head);
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { margin-bottom: 10px; }
.footer__col a { text-decoration: none; color: #cfd2d8; font-size: 0.94rem; }
.footer__col a:hover { color: var(--gold); }
.footer__badges { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.footer__badges img { height: 38px; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.85rem;
  color: #9aa0a8;
}
.footer__bottom a { color: #9aa0a8; text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom a:hover { color: #fff; }

/* ---------- Breadcrumb / page header ---------- */
.page-hero {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -100px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(219, 161, 48, 0.2), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { margin-bottom: 14px; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .card, .app-card, .btn { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { max-width: 420px; margin: 32px auto 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .hero { padding: 40px 0 24px; }
  .hero::before { width: 320px; height: 320px; top: -140px; right: -140px; }
  .hero::after { width: 240px; height: 240px; }
  .hero__art { max-width: 300px; gap: 14px; }
  .hero__art-tile:nth-child(2) { margin-top: 20px; }
  .hero__art-tile:nth-child(3) { margin-top: -10px; }
  .hero__art-tile:nth-child(4) { margin-top: 8px; }
  .hero__meta { gap: 16px 22px; }
  .page-hero { padding: 40px 0 28px; }
  .page-hero::before { width: 260px; height: 260px; top: -120px; right: -100px; }
}

/* Switches header nav to the hamburger menu earlier than the grid/layout
   breakpoint below: at ~761-900px there is not enough room for the logo,
   all 6 nav links and the CTA button on one row without overflowing. */
@media (max-width: 900px) {
  .primary-nav { display: none; }
  .nav-toggle { display: flex; }
  body.nav-open .primary-nav {
    display: flex;
    position: fixed;
    inset: 72px 16px auto 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-m);
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    box-shadow: var(--shadow-m);
    z-index: 99;
  }
  body.nav-open .primary-nav a { padding: 14px 16px; }
}

@media (max-width: 760px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .fact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .flow { flex-direction: column; }
  .flow__arrow { transform: rotate(90deg); padding: 6px 0; }
}

/* ---------- Print-friendly documents (e.g. platform-review evidence page) ---------- */
.print-actions { margin: 0 0 28px; }
@media print {
  .site-header, .site-footer, .print-actions, .skip-link, body::before { display: none !important; }
  body { background: #fff; }
  main { margin: 0; }
  a { color: inherit; text-decoration: underline; }
  .page-hero, .section { padding: 0 0 24px; }
  .mockup-card, .flow__step, .flow-grid__step, .notice { box-shadow: none; break-inside: avoid; }
}
