:root {
  color-scheme: light;
  --ink: #161619;
  --ink-soft: #3f4047;
  --muted: #696b73;
  --paper: #f7f7f5;
  --white: #ffffff;
  --mist: #ecefed;
  --cyan: #35bfe9;
  --magenta: #df3c9a;
  --line: #d9dad7;
  --line-dark: rgba(255, 255, 255, 0.18);
  --container: 1240px;
  --header: 84px;
  --radius: 4px;
}

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

html { scroll-behavior: smooth; background: var(--paper); }

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Helvetica Neue", Aptos, "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 18px; z-index: 1200; padding: 10px 14px; background: var(--white); color: var(--ink); }
.skip-link:focus { top: 18px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: 0; line-height: 1.08; }
h1 { margin-bottom: 26px; font-size: 68px; font-weight: 760; max-width: 900px; }
h2 { margin-bottom: 22px; font-size: 48px; font-weight: 730; }
h3 { margin-bottom: 14px; font-size: 24px; font-weight: 700; }
p { margin-bottom: 20px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 22px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.3;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; flex: 0 0 auto; background: linear-gradient(90deg, var(--cyan), var(--magenta)); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  min-height: var(--header);
  color: #fff;
  background: rgba(17, 17, 20, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: min-height 180ms ease, box-shadow 180ms ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 34px rgba(0, 0, 0, 0.14); }
.header-inner { min-height: var(--header); display: grid; grid-template-columns: 132px 1fr auto; align-items: center; gap: 30px; }
.brand { display: inline-flex; width: fit-content; align-items: center; }
.brand img { width: 114px; height: 50px; object-fit: contain; }
.primary-nav { display: flex; align-items: center; justify-content: center; gap: 10px; }
.primary-nav a { position: relative; padding: 12px 8px; color: #bfc0c6; font-size: 14px; font-weight: 650; line-height: 1; }
.primary-nav a::after { content: ""; position: absolute; right: 8px; bottom: 4px; left: 8px; height: 2px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform 160ms ease; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: #fff; }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-cta { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 10px 17px; color: var(--ink); background: #fff; font-size: 13px; font-weight: 750; transition: background 160ms ease, transform 160ms ease; }
.header-cta:hover { background: var(--cyan); transform: translateY(-1px); }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 12px; border: 0; color: inherit; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 100%; height: 2px; margin: 5px 0; background: currentColor; }

.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero-home { min-height: 680px; display: grid; align-items: center; color: #fff; background: #131316; }
.hero-home picture { position: absolute; inset: 0; z-index: -2; }
.hero-home picture img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-home::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(9, 9, 11, 0.96) 0%, rgba(9, 9, 11, 0.88) 36%, rgba(9, 9, 11, 0.30) 66%, rgba(9, 9, 11, 0.08) 100%); }
.hero-content { position: relative; z-index: 1; padding-top: 74px; padding-bottom: 74px; }
.hero-home .hero-content { width: min(calc(100% - 48px), var(--container)); }
.hero-home .eyebrow { color: #c4c6ca; }
.hero-home h1 { max-width: 760px; }
.hero-copy { max-width: 680px; margin-bottom: 34px; color: #d7d8dc; font-size: 20px; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 13px 20px; border: 1px solid transparent; border-radius: 0; font-size: 14px; font-weight: 760; line-height: 1.2; cursor: pointer; transition: transform 160ms ease, color 160ms ease, background 160ms ease, border-color 160ms ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: var(--ink); background: #fff; border-color: #fff; }
.btn-primary:hover { background: var(--cyan); border-color: var(--cyan); }
.btn-secondary { color: inherit; background: transparent; border-color: currentColor; }
.btn-secondary:hover { color: var(--ink); background: #fff; border-color: #fff; }

.capability-bar { color: #fff; background: #17171a; border-top: 1px solid var(--line-dark); }
.capability-bar .container { min-height: 74px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; }
.capability-bar span { padding: 8px 26px; border-left: 1px solid var(--line-dark); color: #d8d8dc; font-size: 13px; font-weight: 650; text-align: center; }
.capability-bar span:last-child { border-right: 1px solid var(--line-dark); }

.section { padding: 112px 0; }
.section-alt { background: var(--mist); }
.section-heading { max-width: 840px; margin-bottom: 54px; }
.section-heading > p:last-child { max-width: 720px; color: var(--muted); font-size: 18px; }
.intro-section { background: #fff; }
.intro-grid { display: grid; grid-template-columns: 0.72fr 1.6fr; gap: 80px; align-items: start; }
.intro-grid h2 { max-width: 900px; }
.lead { max-width: 850px; color: var(--ink-soft); font-size: 21px; line-height: 1.65; }

.services-section { background: var(--paper); }
.service-index { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.service-card { min-height: 330px; display: flex; flex-direction: column; padding: 28px 26px 30px 0; border-bottom: 1px solid var(--line); background: transparent; }
.service-card:nth-child(4n+2), .service-card:nth-child(4n+3), .service-card:nth-child(4n+4) { padding-left: 26px; border-left: 1px solid var(--line); }
.service-no { display: block; margin-bottom: 48px; color: var(--magenta); font-size: 12px; font-weight: 800; }
.service-card h3 { font-size: 23px; }
.service-card p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.service-card .text-link { margin-top: auto; }
.bolt { display: none; }
.text-link { display: inline-flex; width: fit-content; align-items: center; gap: 9px; padding-bottom: 4px; border-bottom: 1px solid var(--ink); color: var(--ink); font-size: 13px; font-weight: 760; line-height: 1.3; }
.text-link:hover { color: var(--magenta); border-color: var(--magenta); }

.editorial-feature { background: #fff; }
.editorial-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr); gap: 82px; align-items: center; }
.editorial-grid-reverse { grid-template-columns: minmax(360px, 0.88fr) minmax(0, 1.12fr); }
.editorial-grid-reverse .editorial-media { order: 2; }
.editorial-media { position: relative; margin: 0; }
.editorial-media::after { content: ""; position: absolute; width: 90px; height: 8px; right: -18px; bottom: 24px; background: linear-gradient(90deg, var(--cyan), var(--magenta)); }
.editorial-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.editorial-copy h2 { font-size: 44px; }
.editorial-copy > p:not(.eyebrow) { color: var(--muted); font-size: 18px; }
.check-list { margin: 30px 0 34px; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 13px 0 13px 26px; border-top: 1px solid var(--line); font-weight: 650; }
.check-list li:last-child { border-bottom: 1px solid var(--line); }
.check-list li::before { content: "+"; position: absolute; left: 0; color: var(--magenta); font-weight: 800; }

.method-band { color: #fff; background: #151518; }
.method-band .eyebrow { color: #b9bbc1; }
.method-heading { display: grid; grid-template-columns: 0.65fr 1.25fr 0.85fr; gap: 44px; align-items: start; margin-bottom: 72px; }
.method-heading h2 { margin: 0; font-size: 50px; }
.method-heading > p:last-child { color: #b9bbc1; }
.method-steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); }
.method-steps article { min-height: 285px; padding: 30px 38px 30px 0; border-bottom: 1px solid var(--line-dark); }
.method-steps article + article { padding-left: 38px; border-left: 1px solid var(--line-dark); }
.method-steps span { display: block; margin-bottom: 52px; color: var(--cyan); font-size: 13px; font-weight: 800; }
.method-steps h3 { font-size: 28px; }
.method-steps p { color: #b9bbc1; }
.method-link { margin-top: 42px; }

.operations-feature { background: #e9edeb; }
.fact-grid { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 34px; border-top: 1px solid #bec1be; }
.fact-grid div { padding: 19px 18px 19px 0; border-bottom: 1px solid #bec1be; }
.fact-grid div:nth-child(even) { padding-left: 18px; border-left: 1px solid #bec1be; }
.fact-grid strong, .fact-grid span { display: block; }
.fact-grid strong { margin-bottom: 4px; font-size: 17px; }
.fact-grid span { color: var(--muted); font-size: 13px; }

.audience-section { background: #fff; }
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.audience-grid article { min-height: 250px; padding: 28px 34px 28px 0; border-bottom: 1px solid var(--line); }
.audience-grid article + article { padding-left: 34px; border-left: 1px solid var(--line); }
.audience-grid span { display: block; margin-bottom: 44px; color: var(--magenta); font-size: 12px; font-weight: 800; }
.audience-grid p { color: var(--muted); }

.cta-band { color: #fff; background: var(--magenta); }
.cta-band .container { max-width: 920px; margin-left: max(24px, calc((100% - var(--container)) / 2)); }
.cta-band .eyebrow { color: #fff; }
.cta-band .eyebrow::before { background: #fff; }
.cta-band h2 { max-width: 880px; font-size: 52px; }
.cta-band p:not(.eyebrow) { max-width: 720px; font-size: 18px; }

/* Internal pages */
.hero-small { min-height: 470px; display: flex; align-items: flex-end; color: #fff; background: #17171a; }
.hero-small::before { content: ""; position: absolute; inset: 0 0 0 54%; background: linear-gradient(90deg, #17171a 0%, rgba(23, 23, 26, 0.20) 65%), url("../img/hero-marketplace.jpg") center / cover no-repeat; opacity: 0.66; }
.hero-small .hero-content { padding-top: 90px; padding-bottom: 76px; }
.hero-small .eyebrow { color: #c7c8cc; }
.hero-small h1 { max-width: 870px; font-size: 58px; }
.hero-small .hero-copy { max-width: 720px; margin-bottom: 0; }

.cards-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cards-grid-4 { grid-template-columns: repeat(4, 1fr); }
.cards-grid-3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid .service-card, .compact-card { min-height: 285px; padding: 30px; border: 0; background: #fff; }
.cards-grid .service-card:nth-child(n), .compact-card:nth-child(n) { padding: 30px; border: 0; }
.cards-grid .service-card::before { content: "+"; display: block; margin-bottom: 44px; color: var(--magenta); font-size: 22px; }
.cards-grid .service-card .text-link { margin-top: auto; }
.compact-card p { color: var(--muted); }

.split { display: grid; grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr); gap: 86px; align-items: start; }
.value-list { border-top: 1px solid var(--ink); }
.value-list article { display: grid; grid-template-columns: 0.65fr 1fr; gap: 28px; padding: 27px 0; border-bottom: 1px solid var(--line); }
.value-list h3 { margin: 0; font-size: 20px; }
.value-list p { margin: 0; color: var(--muted); }
.process-preview { max-width: 900px; margin-left: max(24px, calc((100% - var(--container)) / 2)); }
.process-preview p:not(.eyebrow) { max-width: 700px; color: var(--muted); font-size: 18px; }
.process-preview .btn-secondary { color: var(--ink); border-color: var(--ink); }
.process-preview .btn-secondary:hover { color: #fff; background: var(--ink); }

.timeline { max-width: 900px; border-top: 1px solid var(--ink); }
.timeline-item { display: grid; grid-template-columns: 70px 0.7fr 1fr; gap: 28px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.timeline-item > span { color: var(--magenta); font-weight: 800; }
.timeline-item h2, .timeline-item h3 { margin: 0; font-size: 24px; }
.timeline-item p { margin: 0; color: var(--muted); }
.number-list { margin: 30px 0; padding-left: 22px; }
.number-list li { padding: 8px 0 8px 8px; }
.panel { padding: 38px; background: #fff; border-top: 3px solid var(--cyan); }
.panel h2 { font-size: 31px; }
.panel p { color: var(--muted); }
.notice { padding: 24px; background: #eef7fa; border-left: 3px solid var(--cyan); }

.contact-grid { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: 70px; align-items: start; }
.contact-info { padding-right: 24px; }
.contact-info a { text-decoration: underline; text-underline-offset: 4px; }
.contact-form { padding: 40px; background: #fff; border-top: 4px solid var(--magenta); box-shadow: 0 18px 50px rgba(18, 18, 22, 0.07); }
.contact-form label { display: block; margin-bottom: 18px; color: var(--ink-soft); font-size: 14px; font-weight: 700; }
.contact-form input, .contact-form textarea { width: 100%; margin-top: 7px; padding: 13px 14px; color: var(--ink); background: #f8f8f6; border: 1px solid #cfd0cd; border-radius: 0; }
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--cyan); outline: 2px solid rgba(53, 191, 233, 0.22); }
.checkbox { display: grid !important; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; }
.checkbox input { width: 18px; height: 18px; margin: 4px 0 0; }
.form-status { min-height: 24px; margin-top: 14px; }
.form-status.error { color: #a31846; font-weight: 700; }
.hp-field { position: absolute !important; left: -9999px !important; }
.map-consent { min-height: 280px; display: grid; place-items: center; padding: 28px; text-align: center; background: #e7e9e6; }
.map-consent iframe { width: 100%; height: 360px; border: 0; }

.legal { background: #fff; }
.legal-content { max-width: 860px; }
.legal-content h2 { margin-top: 54px; font-size: 30px; }
.legal-content h3 { margin-top: 34px; font-size: 21px; }
.legal-content p, .legal-content li { color: var(--ink-soft); }
.legal-content a { color: #096f8c; text-decoration: underline; text-underline-offset: 3px; }
.legal-content table { width: 100%; border-collapse: collapse; }
.legal-content th, .legal-content td { padding: 13px; border: 1px solid var(--line); text-align: left; vertical-align: top; }

.site-footer { padding-top: 78px; color: #fff; background: #101012; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 0.75fr 1fr 0.85fr; gap: 42px; padding-bottom: 62px; }
.footer-brand .brand img { width: 132px; height: auto; margin-bottom: 24px; }
.footer-grid h2 { margin-bottom: 18px; color: #8d8f96; font-size: 12px; font-weight: 760; text-transform: uppercase; }
.footer-grid p, .footer-grid address, .footer-grid li, .footer-grid a, .link-button { color: #c7c8cd; font-size: 13px; line-height: 1.7; }
.footer-grid address { font-style: normal; }
.footer-grid ul { margin: 0; padding: 0; list-style: none; }
.footer-grid li { margin-bottom: 7px; }
.footer-grid a:hover, .link-button:hover { color: #fff; }
.footer-disclaimer { max-width: 420px; color: #7f8188 !important; font-size: 11px !important; }
.link-button { padding: 0; border: 0; background: transparent; cursor: pointer; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 22px; padding-bottom: 24px; border-top: 1px solid var(--line-dark); color: #74767d; font-size: 11px; }

.cookie-banner { position: fixed; right: 20px; bottom: 20px; z-index: 1100; width: min(500px, calc(100% - 40px)); padding: 24px; color: #fff; background: #17171a; border: 1px solid rgba(255,255,255,0.16); box-shadow: 0 22px 60px rgba(0,0,0,0.26); transform: translateY(calc(100% + 40px)); opacity: 0; visibility: hidden; transition: transform 220ms ease, opacity 220ms ease, visibility 220ms ease; }
.cookie-banner.is-visible { transform: translateY(0); opacity: 1; visibility: visible; }
.cookie-banner p { margin-bottom: 18px; color: #c7c8cd; font-size: 13px; }
.cookie-banner strong { color: #fff; font-size: 15px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-actions .btn { min-height: 42px; padding: 10px 13px; font-size: 12px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 560ms ease, transform 560ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1100px) {
  h1 { font-size: 58px; }
  h2 { font-size: 42px; }
  .header-inner { grid-template-columns: 118px 1fr auto; gap: 18px; }
  .primary-nav { gap: 2px; }
  .primary-nav a { padding-inline: 7px; font-size: 13px; }
  .header-cta { padding-inline: 13px; }
  .service-index, .cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(n) { padding: 28px 25px; border-left: 0; }
  .service-card:nth-child(even) { border-left: 1px solid var(--line); }
  .editorial-grid, .editorial-grid-reverse { gap: 54px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 0.8fr; }
}

@media (max-width: 820px) {
  :root { --header: 72px; }
  .container { width: min(calc(100% - 32px), var(--container)); }
  h1 { font-size: 46px; }
  h2 { font-size: 36px; }
  .header-inner { grid-template-columns: 1fr auto; }
  .brand img { width: 104px; height: 45px; }
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .primary-nav { position: fixed; inset: var(--header) 0 auto 0; display: grid; gap: 0; padding: 16px; background: #111114; border-top: 1px solid var(--line-dark); transform: translateY(-120%); opacity: 0; visibility: hidden; transition: transform 180ms ease, opacity 180ms ease, visibility 180ms ease; }
  .primary-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .primary-nav a { padding: 17px 8px; border-bottom: 1px solid var(--line-dark); font-size: 16px; }
  .primary-nav a::after { display: none; }
  .hero-home { min-height: 650px; align-items: end; }
  .hero-home picture img { object-position: 64% center; }
  .hero-home::after { background: linear-gradient(90deg, rgba(9,9,11,0.93), rgba(9,9,11,0.62)), linear-gradient(0deg, rgba(9,9,11,0.86), transparent 55%); }
  .hero-content { padding-top: 70px; padding-bottom: 56px; }
  .hero-copy { font-size: 18px; }
  .capability-bar .container { grid-template-columns: repeat(2, 1fr); padding-block: 12px; }
  .capability-bar span { min-height: 44px; display: grid; place-items: center; border: 0; border-bottom: 1px solid var(--line-dark); }
  .capability-bar span:nth-child(odd) { border-right: 1px solid var(--line-dark); }
  .section { padding: 82px 0; }
  .intro-grid, .method-heading, .split, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .editorial-grid, .editorial-grid-reverse { grid-template-columns: 1fr; gap: 44px; }
  .editorial-grid-reverse .editorial-media { order: 0; }
  .method-steps, .audience-grid { grid-template-columns: 1fr; }
  .method-steps article, .method-steps article + article, .audience-grid article, .audience-grid article + article { min-height: 0; padding: 28px 0; border-left: 0; }
  .method-steps span, .audience-grid span { margin-bottom: 22px; }
  .cards-grid-3 { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 54px 1fr; }
  .timeline-item p { grid-column: 2; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .hero-small::before { inset: 0; opacity: 0.28; }
}

@media (max-width: 560px) {
  h1 { font-size: 39px; }
  h2 { font-size: 32px; }
  h3 { font-size: 21px; }
  .hero-home { min-height: 620px; }
  .hero-home h1 { font-size: 42px; }
  .hero-actions { display: grid; }
  .hero-actions .btn { width: 100%; }
  .hero-small { min-height: 420px; }
  .hero-small h1 { font-size: 40px; }
  .service-index, .cards-grid-4 { grid-template-columns: 1fr; }
  .service-card:nth-child(n) { min-height: 0; padding: 26px 0; border-left: 0; }
  .service-no { margin-bottom: 30px; }
  .section-heading { margin-bottom: 38px; }
  .editorial-copy h2, .method-heading h2 { font-size: 32px; }
  .editorial-media::after { width: 64px; right: -8px; bottom: 16px; }
  .fact-grid { grid-template-columns: 1fr; }
  .fact-grid div:nth-child(n) { padding: 16px 0; border-left: 0; }
  .cta-band h2 { font-size: 36px; }
  .contact-form { padding: 24px 18px; }
  .panel { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 5px; }
  .cookie-banner { right: 12px; bottom: 12px; width: calc(100% - 24px); padding: 18px; }
  .cookie-actions { display: grid; }
  .cookie-actions .btn { width: 100%; }
}
