/* VEXO Agency — static site */
:root {
  --bg: #00020f;
  --bg-2: #000319;
  --bg-3: #0a0c1e;
  --bg-4: #0e122e;
  --bg-5: #131839;
  --line: rgba(19, 24, 57, 0.9);
  --line-strong: #1c2354;
  --blue: #194eff;
  --blue-deep: #003bff;
  --blue-mid: #3362ff;
  --blue-soft: #6689ff;
  --blue-wash: #ccd7ff;
  --text: #f6f7f9;
  --muted: #a7adbe;
  --dim: #6d7792;
  --card: rgba(10, 12, 30, 0.72);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --max: 1180px;
  --nav-h: 84px;
  --font: "Instrument Sans", "Inter", system-ui, sans-serif;
  --display: "Rethink Sans", "Instrument Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

/* Background glow */
.page-bg {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(900px 500px at 15% -10%, rgba(25, 78, 255, 0.22), transparent 60%),
    radial-gradient(700px 400px at 90% 8%, rgba(0, 59, 255, 0.12), transparent 55%),
    var(--bg);
}
.page-bg::after {
  content: "";
  position: absolute; inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

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

/* NAV */
.nav-shell {
  position: fixed; top: 16px; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: center; padding: 0 16px;
  transition: top 0.3s ease;
}
.nav {
  width: min(1100px, 100%);
  display: flex; align-items: center; gap: 12px;
  padding: 8px 8px 8px 18px;
  background: rgba(10, 12, 30, 0.8);
  border: 1px solid var(--line);
  border-radius: 100px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.logo {
  display: flex; align-items: center; gap: 0;
  flex: 0 0 auto;
}
.logo img, .logo svg { height: 28px; width: auto; display: block; }
.nav-links {
  display: flex; align-items: center; gap: 4px;
  margin-left: auto;
}
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--muted);
  padding: 8px 12px; border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; font-weight: 600; font-size: 14.5px;
  padding: 12px 20px; transition: transform 0.2s, background 0.2s, box-shadow 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 28px rgba(0, 59, 255, 0.35);
}
.btn-primary:hover { background: var(--blue-mid); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--blue-soft); background: rgba(25,78,255,0.08); }
.nav .btn { padding: 10px 18px; margin-left: 8px; }
.nav-toggle {
  display: none;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
  margin-left: auto;
}
.nav-toggle span {
  display: block; width: 16px; height: 2px; background: #fff; border-radius: 2px;
}

/* HERO */
.hero {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: flex; flex-direction: column;
  padding-top: 110px;
}
.hero-visual {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.hero-visual img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 60%;
  filter: saturate(0.95) brightness(0.55);
  transform: scale(1.04);
}
.hero-visual::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,2,15,0.55) 0%, rgba(0,2,15,0.35) 35%, rgba(0,2,15,0.7) 70%, var(--bg) 100%),
    radial-gradient(80% 60% at 50% 40%, transparent 30%, rgba(0,2,15,0.55) 100%);
}
.hero-inner {
  position: relative; z-index: 1;
  flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding: 48px 0 40px;
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--blue-wash); font-weight: 600;
  margin: 0 0 18px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px; background: var(--blue-soft);
}
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -0.035em; line-height: 1.05; }
.hero h1 {
  font-size: clamp(48px, 7.4vw, 96px);
  font-weight: 700;
  max-width: 16ch;
}
.hero h1 em {
  font-style: normal;
  color: var(--blue-wash);
  background: linear-gradient(180deg, #fff 20%, var(--blue-soft));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero-lead {
  margin: 24px 0 0;
  max-width: 38em;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.6;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-actions .btn { padding: 14px 22px; font-size: 15px; }

.marquee {
  position: relative; z-index: 1;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(0, 3, 25, 0.72);
  overflow: hidden;
  margin-top: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}
.marquee-track {
  display: flex; gap: 0; width: max-content;
  animation: marquee 42s linear infinite;
  padding: 16px 0;
}
.marquee-track span {
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; padding: 0 28px;
  white-space: nowrap;
}
.marquee-track span::before {
  content: "✦";
  color: var(--blue-soft);
  margin-right: 28px;
  font-size: 9px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* SECTIONS */
.section {
  position: relative; z-index: 1;
  padding: 110px 0;
  scroll-margin-top: 96px;
}
.section-head {
  display: flex; justify-content: space-between; align-items: end; gap: 32px;
  margin-bottom: 48px; flex-wrap: wrap;
}
.section-head h2 {
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 700;
}
.section-head p, .lede {
  color: var(--muted); max-width: 36em; margin: 10px 0 0; font-size: 16.5px;
}
.kicker {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--blue-soft); font-weight: 650; margin: 0 0 12px;
}

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service {
  background: linear-gradient(180deg, rgba(14,18,46,0.85), rgba(10,12,30,0.9));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 30px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  min-height: 260px;
  display: flex; flex-direction: column;
}
.service:hover {
  transform: translateY(-4px);
  border-color: rgba(102, 137, 255, 0.45);
  box-shadow: 0 20px 50px rgba(0, 59, 255, 0.12);
}
.service-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(25, 78, 255, 0.14);
  border: 1px solid rgba(102,137,255,0.25);
  margin-bottom: 22px;
  color: var(--blue-wash);
}
.service-icon svg { width: 22px; height: 22px; }
.service h3 { font-size: 24px; margin-bottom: 10px; }
.service p { color: var(--muted); margin: 0; font-size: 15px; flex: 1; }
.service .tag {
  margin-top: 22px; color: var(--blue-wash); font-size: 13px; font-weight: 600;
}

/* WORK */
.filters {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.filter {
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--muted); font-size: 13.5px; font-weight: 600;
  background: rgba(10,12,30,0.5);
}
.filter[aria-pressed="true"], .filter.active {
  background: #fff; color: #00020f; border-color: #fff;
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.project-card {
  display: block; text-align: left; width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-3);
  border: 1px solid var(--line);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(102,137,255,0.4);
  box-shadow: var(--shadow);
}
.project-image {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #07091a;
}
.project-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s ease;
}
.project-card:hover .project-image img { transform: scale(1.06); }
.project-index, .project-badge {
  position: absolute; z-index: 1;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 650;
}
.project-index {
  top: 14px; left: 14px;
  background: rgba(0,2,15,0.55); backdrop-filter: blur(8px);
  padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.08);
}
.project-badge {
  top: 14px; right: 14px;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: #00020f; font-size: 14px;
  opacity: 0; transform: translateY(-6px);
  transition: opacity 0.25s, transform 0.25s;
}
.project-card:hover .project-badge { opacity: 1; transform: none; }
.project-meta {
  display: flex; justify-content: space-between; align-items: end; gap: 16px;
  padding: 16px 18px 18px;
}
.project-meta h3 { font-size: 20px; }
.project-meta p { margin: 4px 0 0; color: var(--dim); font-size: 13.5px; }
.project-meta .count { color: var(--muted); font-size: 13px; font-weight: 600; }

.ui-block {
  margin-top: 64px;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(14,18,46,0.65), rgba(10,12,30,0.5));
}
.ui-block-head {
  display: flex; justify-content: space-between; align-items: start; gap: 20px;
  flex-wrap: wrap; margin-bottom: 22px;
}
.ui-block-head h3 { font-size: 28px; }
.credit {
  margin: 8px 0 0;
  color: var(--dim);
  font-size: 12.5px;
  max-width: 52em;
}
.ui-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.ui-tile {
  border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line);
  background: #07091a;
  aspect-ratio: 16 / 10;
  position: relative;
}
.ui-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.ui-tile:hover img { transform: scale(1.05); }
.ui-tile:focus-visible { outline: 2px solid var(--blue-soft); outline-offset: 2px; }
.ui-tile figcaption, .ui-tile .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 10px 8px;
  background: linear-gradient(transparent, rgba(0,2,15,0.85));
  font-size: 12px; font-weight: 600; color: #fff;
  opacity: 0; transition: opacity 0.2s;
}
.ui-tile:hover .cap, .ui-tile:focus-visible .cap { opacity: 1; }

/* PACKAGES */
.packages-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.package {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  background: rgba(10,12,30,0.75);
  display: flex; flex-direction: column;
  position: relative;
}
.package.popular {
  border-color: rgba(102,137,255,0.55);
  box-shadow: 0 0 0 1px rgba(25,78,255,0.2), 0 24px 60px rgba(0,59,255,0.12);
  background: linear-gradient(180deg, rgba(25,78,255,0.12), rgba(10,12,30,0.9));
}
.badge {
  position: absolute; top: 16px; right: 16px;
  background: var(--blue); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
}
.package h3 { font-size: 20px; letter-spacing: 0.08em; text-transform: uppercase; }
.price { font-size: 32px; font-weight: 700; font-family: var(--display); margin: 10px 0 18px; letter-spacing: -0.03em; }
.package ul { display: grid; gap: 9px; margin-bottom: 22px; flex: 1; }
.package li {
  color: var(--muted); font-size: 14.5px; padding-left: 18px; position: relative;
}
.package li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue-soft);
}
.package .pay { color: var(--dim); font-size: 13px; margin: 0 0 20px; }
.package .btn { width: 100%; }

/* PROCESS */
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  counter-reset: step;
}
.step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px 26px;
  background: rgba(10,12,30,0.6);
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--display);
  font-size: 13px; letter-spacing: 0.14em; color: var(--blue-soft);
  font-weight: 700; margin-bottom: 16px;
}
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ABOUT */
.about-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; align-items: stretch;
}
.about-copy, .about-panel {
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 36px 32px;
  background: rgba(10,12,30,0.65);
}
.about-copy h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 18px; }
.about-copy p { color: var(--muted); margin: 0 0 14px; }
.about-panel {
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0; overflow: hidden; min-height: 380px;
}
.about-photo {
  flex: 1; min-height: 220px;
  background: url("builds/ccad81dc-sm.webp") center 40%/cover no-repeat;
}
.about-panel .facts {
  display: grid; gap: 16px;
  padding: 22px 26px 26px;
  background: rgba(8, 10, 28, 0.96);
  border-top: 1px solid var(--line);
}
.fact-label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-wash); font-weight: 650; }
.fact-value { font-size: 18px; font-weight: 600; margin-top: 4px; }

/* CONTACT */
.contact {
  background:
    radial-gradient(600px 280px at 50% 0%, rgba(25,78,255,0.2), transparent 70%);
}
.contact-card {
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 56px 48px;
  text-align: center;
  background: linear-gradient(180deg, rgba(14,18,46,0.85), rgba(10,12,30,0.9));
}
.contact-card h2 { font-size: clamp(36px, 5vw, 64px); }
.contact-card .lede { margin-inline: auto; }
.contact-actions {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 12px;
  margin-top: 32px;
}
.contact-links {
  display: flex; justify-content: center; gap: 22px; flex-wrap: wrap;
  margin-top: 22px; color: var(--muted); font-size: 14px;
}
.contact-links a { border-bottom: 1px solid transparent; }
.contact-links a:hover { color: #fff; border-color: var(--blue-soft); }

/* FAQ */
.faq-list { display: grid; gap: 10px; max-width: 860px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(10,12,30,0.65);
  overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 20px; font-weight: 600; font-size: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; color: var(--blue-soft); font-size: 22px; font-weight: 400; line-height: 1;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 0; padding: 0 20px 18px; color: var(--muted); max-width: 70ch; }

/* FOOTER */
.footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--dim); font-size: 13.5px;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
.footer a:hover { color: #fff; }
.footer .logo svg, .footer .logo img { height: 22px; }

/* LIGHTBOX */
.lightbox {
  border: 0; padding: 0; width: 100%; height: 100%;
  max-width: none; max-height: none;
  background: rgba(0, 2, 15, 0.92);
  color: #fff;
}
.lightbox::backdrop { background: #00020f; }
.lb-shell {
  height: 100%; display: grid;
  grid-template-rows: auto 1fr auto auto;
  padding: 18px 20px 16px;
  gap: 12px;
}
.lb-top {
  display: flex; justify-content: space-between; align-items: start; gap: 16px;
}
.lb-kicker { color: var(--blue-wash); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 650; margin: 0 0 6px; }
.lb-top h2 { font-size: 24px; }
.lb-desc { color: var(--muted); margin: 6px 0 0; font-size: 14.5px; max-width: 60em; }
.lb-close {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-strong); font-size: 20px;
}
.lb-close:hover { background: rgba(255,255,255,0.06); }
.lb-view {
  position: relative; display: grid; place-items: center; min-height: 0;
}
.lb-view img {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  object-fit: contain; border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: rgba(10,12,30,0.7);
  font-size: 20px;
}
.lb-nav.prev { left: 8px; }
.lb-nav.next { right: 8px; }
.lb-nav:hover { background: rgba(25,78,255,0.35); }
.lb-cap {
  display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 14px;
}
.lb-thumbs {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px;
}
.lb-thumbs button {
  flex: 0 0 auto; width: 96px; height: 60px; border-radius: 8px; overflow: hidden;
  border: 2px solid transparent; opacity: 0.55; padding: 0;
}
.lb-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.lb-thumbs button[aria-pressed="true"] { opacity: 1; border-color: var(--blue-soft); }

/* Reveal */
.reveal {
  opacity: 0; transform: translateY(18px);
  animation: rise 0.7s ease forwards;
  animation-play-state: paused;
}
.reveal.in { animation-play-state: running; }
@keyframes rise {
  to { opacity: 1; transform: none; }
}

body.modal-open { overflow: hidden; }

@media (max-width: 980px) {
  .services-grid, .packages-grid, .process-grid { grid-template-columns: 1fr 1fr; }
  .ui-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .nav { padding: 8px 10px 8px 14px; }
  .nav-links, .nav .btn-primary { display: none; }
  .nav.is-open .nav-links {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    background: rgba(10,12,30,0.96);
    border: 1px solid var(--line);
    border-radius: 20px; padding: 10px;
    backdrop-filter: blur(16px);
  }
  .nav.is-open .btn-primary {
    display: flex; margin: 8px 10px 10px;
  }
  .nav-toggle { display: flex; }
  .nav-shell { top: 10px; }
  .hero { min-height: 92vh; padding-top: 90px; }
  .hero h1 { font-size: clamp(40px, 12vw, 64px); }
  .services-grid, .packages-grid, .process-grid { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .contact-card { padding: 36px 22px; }
  .ui-block { padding: 18px; }
  .project-badge { opacity: 1; transform: none; }
  .ui-tile .cap { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .reveal, .project-image img, .btn, .project-card { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}


/* Legal / terms page */
.legal-page { position: relative; z-index: 1; padding: 140px 0 80px; }
.legal-page .legal {
  max-width: 760px;
  margin: 0 auto;
}
.legal-page h1 { font-size: clamp(36px, 5vw, 56px); margin: 0 0 8px; }
.legal-page .legal-meta { color: var(--dim); font-size: 14px; margin: 0 0 28px; }
.legal-page .legal-note {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  background: rgba(10,12,30,0.65);
  color: var(--muted);
  margin: 0 0 28px;
}
.legal-page h2 {
  font-size: 22px;
  margin: 32px 0 10px;
}
.legal-page p, .legal-page li { color: var(--muted); font-size: 16px; }
.legal-page p { margin: 0 0 14px; }
.legal-page a { color: var(--blue-wash); text-decoration: underline; text-underline-offset: 3px; }
.legal-page a:hover { color: #fff; }
.legal-page ul { padding-left: 1.15em; list-style: disc; display: grid; gap: 8px; margin: 0 0 14px; }
.nav-links-end { margin-left: auto; }

@media (max-width: 760px) {
  .legal-page { padding: 110px 0 60px; }
}

/* commission terms accordion */
.terms-intro p { color: var(--muted); }
.terms-list { margin-top: 24px; border-top: 1px solid var(--line); }
.terms-item { border-bottom: 1px solid var(--line); }
.terms-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 18px; padding: 20px 4px; color: var(--text); font-weight: 600; font-size: 17px; }
.terms-item summary::-webkit-details-marker { display: none; }
.terms-number { color: var(--blue-wash); font-variant-numeric: tabular-nums; min-width: 26px; }
.terms-plus { margin-left: auto; color: var(--muted); font-size: 20px; transition: transform .2s ease; }
.terms-item[open] .terms-plus { transform: rotate(45deg); }
.terms-body { padding: 0 4px 20px 48px; }
