/* Zendt Payments — shared styles for legal & company pages */
:root {
  --bg: #0A0A0A;
  --surface: #161514;
  --ink: #FFFFFF;
  --ink-2: #E8E6E2;
  --muted: #8A8580;
  --line: #262422;
  --warm: #E8B796;
  --warm-2: #C99A78;
  --glow-card-warm: 232, 183, 150;
  --display: "Clash Display", "Inter", "Helvetica Neue", Arial, sans-serif;
  --sans: "Cairo", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --max: 1280px;
  --max-narrow: 760px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 14px;
  --nav-bg: rgba(12, 12, 12, 0.38);
  --nav-bg-scrolled: rgba(14, 14, 14, 0.62);
}
:root[data-theme="light"] {
  --bg: #F4F1EC;
  --surface: #FFFFFF;
  --ink: #0E0C0A;
  --ink-2: #1F1C18;
  --muted: #7A736A;
  --line: #E6DFD3;
  --warm: #C56C3C;
  --warm-2: #A85530;
  --glow-card-warm: 232, 140, 90;
  --nav-bg: rgba(252, 248, 242, 0.52);
  --nav-bg-scrolled: rgba(252, 248, 242, 0.78);
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--warm); color: #fff; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.skip-link {
  position: absolute; top: -100%; left: 16px; z-index: 9999;
  padding: 12px 20px; background: var(--ink); color: var(--bg);
  border-radius: 6px; font-size: 14px; font-weight: 500;
}
.skip-link:focus { top: 16px; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  background: var(--nav-bg);
  border-bottom: none;
  transition: background 240ms ease;
}
.nav.scrolled { background: var(--nav-bg-scrolled); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.logo__mark {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: block;
  background-color: var(--ink);
  -webkit-mask: url(../../logo-mark.png) center / contain no-repeat;
  mask: url(../../logo-mark.png) center / contain no-repeat;
}
.logo__word { font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -0.02em; }
.nav__brand { display: inline-flex; align-items: center; gap: 14px; }
.nav__badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--warm);
  border: 1px solid rgba(var(--glow-card-warm), 0.35);
  background: rgba(var(--glow-card-warm), 0.07);
  padding: 5px 11px; border-radius: 999px;
}
.nav__badge-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--warm);
  animation: navpulse 2.4s ease-out infinite;
}
@keyframes navpulse {
  0% { box-shadow: 0 0 0 0 rgba(var(--glow-card-warm), 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(var(--glow-card-warm), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--glow-card-warm), 0); }
}
@media (max-width: 600px) { .nav__badge { display: none; } }
.nav__links { display: flex; gap: 32px; align-items: center; font-size: 13px; color: var(--muted); }
.nav__links a { transition: color 200ms ease; }
.nav__links a:hover { color: var(--ink); }
.nav__links a.is-active { color: var(--ink); }
.nav__right { display: flex; gap: 14px; align-items: center; }
.nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
  transition: color 200ms ease;
}
.nav__toggle:hover { color: var(--warm); }
.nav__toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav.is-open .nav__toggle span:nth-child(1),
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2),
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3),
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__right > .btn--primary { display: none; }
}
@media (min-width: 821px) {
  .nav__mobile { display: none; }
}
.theme-toggle {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 200ms ease;
}
.theme-toggle:hover { color: var(--warm); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle__sun { display: none; }
.theme-toggle__moon { display: block; }
:root[data-theme="light"] .theme-toggle__sun { display: block; }
:root[data-theme="light"] .theme-toggle__moon { display: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 24px; font-size: 14px; font-weight: 500;
  border-radius: 999px; border: 1px solid transparent; white-space: nowrap;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease, transform 220ms ease;
}
.btn--primary { background: var(--ink); color: var(--bg); }
.btn--primary:hover { transform: translateY(-1px); }
.btn--ghost { border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--warm); color: var(--warm); }

/* Page layout */
.page-hero {
  padding: calc(68px + 72px) 0 56px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-family: var(--display); font-weight: 500; font-size: clamp(36px, 5vw, 64px);
  color: var(--ink); letter-spacing: -0.03em; line-height: 1.05; margin: 16px 0 0;
}
.page-hero__meta {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted);
}
.legal {
  padding: 56px 0 96px;
}
.legal__inner { max-width: var(--max-narrow); margin: 0 auto; }
.legal h2 {
  font-family: var(--display); font-size: 22px; font-weight: 500;
  color: var(--ink); margin: 40px 0 12px; letter-spacing: -0.02em;
}
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--muted); font-size: 15px; }
.legal p { margin: 0 0 16px; }
.legal ul, .legal ol { margin: 0 0 16px; padding-left: 1.25em; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--warm); text-decoration: underline; text-underline-offset: 3px; }
.legal__updated {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
}
.company-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px; margin-top: 32px;
}
.company-card h3 {
  font-family: var(--display); font-size: 20px; color: var(--ink); margin: 0 0 8px;
}
.company-card p { margin: 0; }

/* Footer */
footer { padding: 80px 0 56px; }
.foot__top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 60px; border-bottom: 1px solid var(--line);
}
@media (max-width: 860px) { .foot__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot__top { grid-template-columns: 1fr; gap: 32px; } }
.foot__brand .logo { font-size: 20px; }
.foot__brand .logo__mark { width: 34px; height: 34px; }
.foot__brand .logo__word { font-size: 23px; }
.foot__logo-full {
  display: block;
  width: 150px;
  height: 61px;
  background-color: var(--ink);
  -webkit-mask: url(../../logo-full.png) left center / contain no-repeat;
  mask: url(../../logo-full.png) left center / contain no-repeat;
}
.foot__tagline { margin-top: 18px; color: var(--muted); font-size: 14px; max-width: 28ch; }
.foot__social { margin-top: 24px; display: flex; gap: 10px; }
.foot__social a {
  width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center; color: var(--muted);
  transition: color 200ms ease, border-color 200ms ease, transform 200ms ease;
}
.foot__social a:hover { color: var(--ink); border-color: var(--warm); transform: translateY(-2px); }
.foot__social svg { width: 17px; height: 17px; }
.foot__col h5 {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 18px; font-weight: 400;
}
.foot__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.foot__col a { color: var(--ink-2); font-size: 14px; transition: color 200ms ease; }
.foot__col a:hover { color: var(--ink); }
.foot__contact {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 14px;
}
.foot__contact a {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--ink-2); transition: color 200ms ease;
}
.foot__contact a:hover { color: var(--ink); }
.foot__contact a:hover .ico { border-color: var(--warm); color: var(--warm); }
.foot__contact .ico {
  width: 36px; height: 36px; flex-shrink: 0;
  border: 1px solid var(--line); border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--muted); transition: color 200ms ease, border-color 200ms ease;
}
.foot__contact .ico svg { width: 16px; height: 16px; }
.foot__contact .ct { display: flex; flex-direction: column; line-height: 1.3; }
.foot__contact .ct b { font-weight: 500; color: var(--ink); font-size: 13.5px; white-space: nowrap; }
.foot__contact .ct span { font-size: 12px; color: var(--muted); white-space: nowrap; }
.foot__legal {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}
.foot__note,
.foot__copy {
  margin: 0;
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted-2);
  max-width: 52ch;
}

/* Reveal */
.js-ready .reveal { opacity: 0; transform: translateY(20px); transition: opacity 700ms ease, transform 700ms ease; }
.js-ready .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-ready .reveal { opacity: 1; transform: none; transition: none; }
  .nav__badge-dot { animation: none; }
}
