/* =========================================================
   MEAZY — Brave-inspired redesign
   ========================================================= */

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0a0a0a;
  --bg-elev: #111111;
  --bg-line: rgba(255, 255, 255, 0.08);
  --fg: #f2f2f2;
  --fg-muted: #8a8a8a;
  --fg-dim: #5a5a5a;
  --accent: #ff5f1f;          /* advertisers / primary */
  --accent-2: #9b6dff;        /* publishers / secondary */
  --accent-soft: rgba(255, 95, 31, 0.12);
  --accent-2-soft: rgba(155, 109, 255, 0.12);
  --radius: 14px;
  --radius-lg: 28px;
  --maxw: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  color: inherit;
}

::selection {
  background: var(--accent);
  color: #000;
}

/* ---------- Typography ---------- */
.display,
h1,
h2 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 0.95;
}

h1.hero-title {
  font-size: clamp(3rem, 8.5vw, 8.5rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

h2.section-title {
  font-size: clamp(2.2rem, 5.2vw, 5rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-family: "Space Grotesk", "Inter", sans-serif;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--fg-muted);
  font-weight: 500;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
}

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  color: var(--fg-muted);
  max-width: 56ch;
  line-height: 1.55;
}

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

section {
  padding-block: clamp(80px, 12vw, 160px);
  position: relative;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 22px 0;
  transition: backdrop-filter 0.3s, background 0.3s, padding 0.3s;
}

.nav.is-scrolled {
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 0;
  border-bottom: 1px solid var(--bg-line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 22px;
  height: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
}

.logo-mark span {
  background: var(--fg);
  border-radius: 2px;
}

.logo-mark span:nth-child(1) {
  background: var(--accent);
}

.logo-mark span:nth-child(4) {
  background: var(--accent-2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  color: var(--fg-muted);
  transition: color 0.2s var(--ease);
  position: relative;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--fg);
}

.nav-links a.is-active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--fg);
  color: #000;
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.nav-cta:hover {
  transform: translateY(-1px);
  background: var(--accent);
  color: #000;
}

.menu-toggle {
  display: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    color 0.25s var(--ease), border-color 0.25s var(--ease);
  border: 1px solid transparent;
}

.btn--primary {
  background: var(--fg);
  color: #000;
}

.btn--primary:hover {
  transform: translateY(-2px);
  background: var(--accent);
}

.btn--ghost {
  border-color: var(--bg-line);
  color: var(--fg);
}

.btn--ghost:hover {
  border-color: var(--fg);
  transform: translateY(-2px);
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.25s var(--ease);
}

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

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(140px, 18vw, 220px);
  padding-bottom: clamp(80px, 10vw, 140px);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: end;
}

.hero-title span.accent {
  color: var(--accent);
}

.hero-title span.accent-2 {
  color: var(--accent-2);
}

.hero-aside {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-aside p {
  color: var(--fg-muted);
  font-size: 1.1rem;
  max-width: 38ch;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hero-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.pixel {
  position: absolute;
  border-radius: 6px;
  opacity: 0.7;
  animation: float 9s ease-in-out infinite;
}

.pixel--orange {
  background: var(--accent);
}
.pixel--purple {
  background: var(--accent-2);
}
.pixel--ring {
  background: transparent;
  border: 2px solid var(--accent);
  border-radius: 50%;
}

.pixel.p1 {
  width: 22px;
  height: 22px;
  top: 25%;
  right: 8%;
  animation-delay: 0s;
}
.pixel.p2 {
  width: 60px;
  height: 60px;
  top: 60%;
  right: 18%;
  animation-delay: 1.5s;
  border-radius: 50%;
}
.pixel.p3 {
  width: 14px;
  height: 14px;
  top: 80%;
  right: 4%;
  animation-delay: 3s;
}
.pixel.p4 {
  width: 90px;
  height: 90px;
  top: 38%;
  right: 30%;
  animation-delay: 0.8s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(0, -18px);
  }
}

/* ---------- Marquee strip ---------- */
.marquee {
  border-block: 1px solid var(--bg-line);
  padding: 28px 0;
  overflow: hidden;
  background: linear-gradient(
    90deg,
    rgba(255, 95, 31, 0.04),
    rgba(155, 109, 255, 0.04)
  );
}

.marquee-track {
  display: flex;
  gap: 70px;
  white-space: nowrap;
  animation: scroll-x 40s linear infinite;
  width: max-content;
}

.marquee-item {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.4rem, 2.8vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--fg-muted);
  display: inline-flex;
  align-items: center;
  gap: 24px;
}

.marquee-item::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

@keyframes scroll-x {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Solutions / Cards ---------- */
.solutions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.solution-card {
  position: relative;
  padding: 42px;
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
  border: 1px solid var(--bg-line);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.3s var(--ease);
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.solution-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.18);
}

.solution-card .card-tag {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
}

.solution-card.is-purple .card-tag {
  color: var(--accent-2);
}

.solution-card h3 {
  margin-top: 16px;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
}

.solution-card p {
  margin-top: 16px;
  color: var(--fg-muted);
  max-width: 42ch;
}

.solution-card .card-link {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  font-weight: 500;
}

.solution-card .card-link::after {
  content: "→";
  transition: transform 0.25s var(--ease);
}

.solution-card:hover .card-link::after {
  transform: translateX(6px);
}

.solution-card .card-deco {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
}

.solution-card.is-purple .card-deco {
  background: var(--accent-2-soft);
  border-color: var(--accent-2);
}

/* ---------- Feature list ---------- */
.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--bg-line);
  border: 1px solid var(--bg-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 60px;
}

.feature {
  background: var(--bg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 220px;
  transition: background 0.3s var(--ease);
}

.feature:hover {
  background: var(--bg-elev);
}

.feature-num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.feature h3 {
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}

.feature p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid var(--bg-line);
}

.stat-num {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.04em;
  font-weight: 500;
  line-height: 1;
}

.stat-num .unit {
  color: var(--accent);
}

.stat-label {
  margin-top: 12px;
  color: var(--fg-muted);
  font-size: 0.95rem;
}

/* ---------- Two-up split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.split-text .lead {
  margin-top: 24px;
}

.bullet-list {
  list-style: none;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.bullet-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  color: var(--fg);
  font-size: 1.02rem;
}

.bullet-list li::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 9px;
  background: var(--accent);
  border-radius: 2px;
}

.split-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background: linear-gradient(
    140deg,
    rgba(255, 95, 31, 0.18),
    rgba(155, 109, 255, 0.18)
  );
  border: 1px solid var(--bg-line);
  overflow: hidden;
}

.split-visual::before,
.split-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.split-visual::before {
  width: 240px;
  height: 240px;
  background: var(--accent);
  top: -40px;
  left: -40px;
  filter: blur(0px);
  mix-blend-mode: screen;
  opacity: 0.6;
}

.split-visual::after {
  width: 280px;
  height: 280px;
  background: var(--accent-2);
  bottom: -60px;
  right: -60px;
  mix-blend-mode: screen;
  opacity: 0.55;
}

.split-grid {
  position: absolute;
  inset: 24px;
  border-radius: 18px;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(10, 1fr);
  gap: 4px;
  padding: 14px;
}

.split-grid span {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.split-grid span.on {
  background: var(--accent);
}

.split-grid span.on2 {
  background: var(--accent-2);
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  padding: clamp(70px, 9vw, 110px) clamp(28px, 5vw, 70px);
  border-radius: var(--radius-lg);
  background: radial-gradient(
      circle at 80% 20%,
      rgba(155, 109, 255, 0.18),
      transparent 60%
    ),
    radial-gradient(circle at 20% 80%, rgba(255, 95, 31, 0.18), transparent 60%),
    var(--bg-elev);
  border: 1px solid var(--bg-line);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 50px;
  align-items: center;
}

.cta h2 {
  font-size: clamp(2rem, 4.5vw, 4rem);
}

.cta p {
  color: var(--fg-muted);
  margin-top: 20px;
  max-width: 48ch;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--bg-line);
  padding: 80px 0 40px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
}

.footer h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--fg-muted);
  margin-bottom: 20px;
  font-weight: 500;
}

.footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer a {
  color: var(--fg);
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer a:hover {
  color: var(--accent);
}

.footer-brand p {
  color: var(--fg-muted);
  margin-top: 20px;
  max-width: 38ch;
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ---------- Footer newsletter ---------- */
.footer-newsletter {
  margin-top: 36px;
  max-width: 540px;
}

.newsletter-heading {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--fg);
  margin-bottom: 24px;
  max-width: 16ch;
}

.newsletter-input-wrap {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 0;
  border-radius: 999px;
  padding: 6px 8px 6px 28px;
  transition: background 0.25s var(--ease);
}

.newsletter-input-wrap:focus-within {
  background: rgba(255, 255, 255, 0.11);
}

.newsletter-input-wrap input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--fg);
  font: inherit;
  font-size: 1rem;
  padding: 14px 10px 14px 0;
  min-width: 0;
}

.newsletter-input-wrap input::placeholder {
  color: var(--fg-muted);
}

.newsletter-input-wrap button {
  background: transparent;
  color: var(--accent);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.98rem;
  font-weight: 500;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.25s var(--ease);
}

.newsletter-input-wrap button:hover {
  color: var(--fg);
}

.newsletter-input-wrap button .btn-arrow {
  display: inline-block;
  transition: transform 0.25s var(--ease);
}

.newsletter-input-wrap button:hover .btn-arrow {
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid var(--bg-line);
  font-size: 0.85rem;
  color: var(--fg-muted);
  flex-wrap: wrap;
  gap: 16px;
}

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

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

.reveal.delay-1 {
  transition-delay: 0.1s;
}
.reveal.delay-2 {
  transition-delay: 0.2s;
}
.reveal.delay-3 {
  transition-delay: 0.3s;
}

/* ---------- Page intro (sub pages) ---------- */
.page-intro {
  padding-top: clamp(160px, 18vw, 220px);
  padding-bottom: clamp(60px, 8vw, 100px);
  border-bottom: 1px solid var(--bg-line);
}

.page-intro h1 {
  font-size: clamp(2.6rem, 7vw, 6.5rem);
  letter-spacing: -0.035em;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  line-height: 0.95;
  margin-top: 18px;
}

.page-intro .lead {
  margin-top: 32px;
  font-size: clamp(1.05rem, 1.4vw, 1.4rem);
}

.breadcrumb {
  font-size: 13px;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
}

.breadcrumb a:hover {
  color: var(--accent);
}

/* ---------- Tags ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--bg-line);
  color: var(--fg-muted);
}

.tag.tag--orange {
  border-color: rgba(255, 95, 31, 0.4);
  color: var(--accent);
  background: var(--accent-soft);
}

.tag.tag--purple {
  border-color: rgba(155, 109, 255, 0.4);
  color: var(--accent-2);
  background: var(--accent-2-soft);
}

/* ---------- Contact form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.contact-info p {
  color: var(--fg-muted);
  margin-top: 20px;
  max-width: 40ch;
  line-height: 1.6;
}

.contact-info dl {
  margin-top: 40px;
  display: grid;
  gap: 24px;
}

.contact-info dt {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--fg-muted);
  margin-bottom: 6px;
}

.contact-info dd {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
}

.form {
  display: grid;
  gap: 22px;
  padding: 40px;
  border: 1px solid var(--bg-line);
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--fg-muted);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--bg-line);
  padding: 12px 0;
  color: var(--fg);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.25s;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-bottom-color: var(--accent);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  margin-top: 8px;
  justify-self: start;
}

/* ---------- Team / Values list ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.value {
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--bg-line);
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--bg-elev);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.value:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.value-num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  color: var(--accent);
  letter-spacing: -0.02em;
}

/* ---------- Footer compliance bar ---------- */
.compliance-bar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 32px;
  padding-bottom: 26px;
  border-top: 1px solid var(--bg-line);
}

.compliance-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--bg-line);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--fg-muted);
  font-family: "Inter", sans-serif;
  white-space: nowrap;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.compliance-badge strong {
  color: var(--fg);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.compliance-badge em {
  color: var(--accent);
  font-style: normal;
  font-weight: 700;
}

.compliance-badge:hover {
  color: var(--fg);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ---------- Careers / Jobs ---------- */
.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 60px;
}

.job-card {
  padding: 40px;
  border: 1px solid var(--bg-line);
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.job-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.job-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.job-card h3 {
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.job-card-intro {
  color: var(--fg-muted);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 70ch;
}

.job-sections {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-bottom: 32px;
}

.job-section h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--fg-muted);
  margin-bottom: 16px;
  font-weight: 500;
}

.job-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
}

.job-section li {
  position: relative;
  padding-left: 18px;
  color: var(--fg);
  font-size: 0.92rem;
  line-height: 1.55;
}

.job-section li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 2px;
}

.job-apply {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding-top: 22px;
  border-top: 1px solid var(--bg-line);
  color: var(--fg);
  font-weight: 500;
  font-size: 0.98rem;
  transition: color 0.2s var(--ease);
}

.job-apply .btn-arrow {
  display: inline-block;
  transition: transform 0.25s var(--ease);
}

.job-apply:hover {
  color: var(--accent);
}

.job-apply:hover .btn-arrow {
  transform: translateX(4px);
}

@media (max-width: 860px) {
  .job-sections {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .job-card {
    padding: 28px;
  }
}

/* ---------- Long-form (legal) pages ---------- */
.legal {
  padding-block: clamp(60px, 9vw, 120px);
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
}

.legal-content > * + * {
  margin-top: 18px;
}

.legal-content h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: -0.02em;
  font-weight: 500;
  line-height: 1.15;
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--bg-line);
}

.legal-content > h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.legal-content h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-weight: 500;
  margin-top: 32px;
}

.legal-content p {
  color: var(--fg-muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.legal-content p strong {
  color: var(--fg);
  font-weight: 500;
}

.legal-content a {
  color: var(--fg);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
  transition: color 0.2s var(--ease);
}

.legal-content a:hover {
  color: var(--accent);
}

.legal-content ul,
.legal-content ol {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 0;
}

.legal-content ul li,
.legal-content ol li {
  position: relative;
  padding-left: 24px;
  color: var(--fg-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.legal-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
}

.legal-content ol {
  counter-reset: lcount;
}

.legal-content ol li {
  counter-increment: lcount;
}

.legal-content ol li::before {
  content: counter(lcount) ".";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
}

.legal-content ul li strong,
.legal-content ol li strong {
  color: var(--fg);
  font-weight: 500;
}

.legal-meta {
  margin-top: 22px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

.legal-card {
  margin-top: 40px;
  padding: 28px 32px;
  border: 1px solid var(--bg-line);
  border-radius: var(--radius);
  background: var(--bg-elev);
}

.legal-card p {
  font-size: 0.98rem;
}

/* ---------- Mobile ---------- */
@media (max-width: 960px) {
  .hero-grid,
  .split,
  .cta,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .solutions,
  .values {
    grid-template-columns: 1fr;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid var(--bg-line);
  }

  .menu-toggle span {
    width: 16px;
    height: 1px;
    background: var(--fg);
    position: relative;
  }

  .menu-toggle span::before,
  .menu-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 16px;
    height: 1px;
    background: var(--fg);
  }

  .menu-toggle span::before {
    top: -5px;
  }

  .menu-toggle span::after {
    top: 5px;
  }

  /* Mobile menu open */
  .nav.is-open .nav-links {
    display: flex;
    position: fixed;
    inset: 70px 0 0 0;
    flex-direction: column;
    align-items: flex-start;
    background: var(--bg);
    padding: 40px var(--gutter);
    gap: 28px;
    border-top: 1px solid var(--bg-line);
  }

  .nav.is-open .nav-links a {
    font-size: 1.4rem;
    color: var(--fg);
  }
}

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

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    justify-content: center;
  }
}

/* ---------- Blog ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.blog-card {
  display: block;
  padding: 36px;
  border: 1px solid var(--bg-line);
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.blog-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-4px);
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--fg-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 18px;
}

.blog-card-meta time {
  letter-spacing: 0.06em;
}

.blog-card-meta .dot {
  width: 3px;
  height: 3px;
  background: var(--fg-muted);
  border-radius: 50%;
  display: inline-block;
}

.blog-card h3 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.2;
}

.blog-card:hover h3 {
  color: var(--accent);
  transition: color 0.25s var(--ease);
}

.blog-card-excerpt {
  color: var(--fg-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.blog-card-tags {
  margin-top: 24px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.blog-card-tags .tag {
  font-size: 10px;
  padding: 5px 10px;
}

/* Article reading layout */
.article-intro {
  padding-top: clamp(150px, 18vw, 200px);
  padding-bottom: clamp(40px, 6vw, 80px);
  border-bottom: 1px solid var(--bg-line);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0 24px;
  color: var(--fg-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.article-meta .dot {
  width: 3px;
  height: 3px;
  background: var(--fg-muted);
  border-radius: 50%;
}

.article-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 5.2vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.06;
  max-width: 22ch;
  margin-bottom: 28px;
}

.article-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.article-body-wrap {
  padding-block: clamp(40px, 7vw, 90px);
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
}

.article-body > * + * {
  margin-top: 22px;
}

.article-body p {
  color: var(--fg);
  font-size: 1.08rem;
  line-height: 1.7;
}

.article-body h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin-top: 56px;
  margin-bottom: 14px;
}

.article-body ul {
  list-style: none;
  padding: 0;
}

.article-body ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--fg);
  font-size: 1.04rem;
  line-height: 1.6;
}

.article-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 2px;
}

.article-footer {
  max-width: 720px;
  margin: 70px auto 0;
  padding-top: 36px;
  border-top: 1px solid var(--bg-line);
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fg-muted);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.25s var(--ease);
}

.article-back:hover {
  color: var(--fg);
}

.article-more {
  margin-top: 28px;
}

.article-more h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--fg-muted);
  margin-bottom: 20px;
  font-weight: 500;
}

.article-more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.article-more-card {
  display: block;
  padding: 22px;
  border: 1px solid var(--bg-line);
  border-radius: var(--radius);
  background: var(--bg-elev);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.25s var(--ease);
}

.article-more-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.article-more-card .date {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--fg-muted);
  margin-bottom: 10px;
  display: block;
}

.article-more-card h5 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 0;
}

.article-more-card:hover h5 {
  color: var(--accent);
  transition: color 0.2s var(--ease);
}

@media (max-width: 860px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .article-more-grid {
    grid-template-columns: 1fr;
  }
}

/* Honeypot field for Netlify Forms spam filtering — hidden from humans */
.hidden-field {
  display: none;
}
