/* ==========================================================================
   Spokup Digital 4.7.0 — monochrome layer
   White and black first; signal green survives only as a fine accent
   (hairlines, dots, hover states, one number). Loaded last, colour and
   finish only: no markup, layout logic or content is altered.
   ========================================================================== */

:root {
  --green: #2ee66b;            /* accent only */
  --green-deep: #0a0a0a;       /* every former "green text/link" is now ink */
  --green-wash: #f2f2f2;
  --paper: #f6f6f6;
  --line: #e7e7e7;
  --line-strong: #c9c9c9;
  --text: #1c1c1c;
  --muted: #5f5f5f;
  --muted-dark: #a9a9a9;
  --radius: 4px;
  --radius-lg: 10px;
  --mx: 50vw; --my: 50vh;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

html { background: #fff; }
body { background: transparent; color: var(--text); }
::selection { background: #000; color: #fff; }
:focus-visible { outline: 2px solid #000; outline-offset: 3px; box-shadow: 0 0 0 5px rgba(46, 230, 107, .35); }
.q-dark :focus-visible, .dark :focus-visible, .site-footer :focus-visible { outline-color: #fff; }

/* ---------- interactive field (drawn by spokup-mono.js) ---------- */
#mono-field { position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%; display: block; pointer-events: none; }
.mono-cursor, .mono-cursor-ring { position: fixed; left: 0; top: 0; z-index: 9990; pointer-events: none; opacity: 0; will-change: transform; }
.mono-cursor { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #fff; mix-blend-mode: difference; }
.mono-cursor-ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; border: 1px solid #fff; transition: width .25s, height .25s, margin .25s, border-color .25s, background-color .25s; mix-blend-mode: difference; }
.mono-cursor-ring.is-link { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(255, 255, 255, .18); }
.mono-cursor-ring.is-down { width: 24px; height: 24px; margin: -12px 0 0 -12px; }
body.has-mono-cursor .mono-cursor, body.has-mono-cursor .mono-cursor-ring { opacity: 1; }
@media (pointer: fine) { body.has-mono-cursor, body.has-mono-cursor a, body.has-mono-cursor button, body.has-mono-cursor summary { cursor: none; } body.has-mono-cursor input, body.has-mono-cursor textarea, body.has-mono-cursor select { cursor: text; } }
@media (pointer: coarse), (prefers-reduced-motion: reduce) { .mono-cursor, .mono-cursor-ring { display: none; } }

/* ---------- surfaces: let the field show through ---------- */
.section, .section.soft, .soft { background: transparent; }
.section.soft, .soft { background: linear-gradient(180deg, rgba(246, 246, 246, .72), rgba(246, 246, 246, .72)); border-block: 1px solid var(--line); }
.q-dark, .dark, .page-hero.dark { background: #000; }
.band-green { background: transparent; color: #000; border-block: 1px solid #000; }
.band-green .lede { color: #333; }
.band-green .eyebrow { color: #000; }

/* ---------- type: quieter weight, larger scale ---------- */
h1, h2, h3, h4 { font-weight: 600; }
h1 { letter-spacing: -.055em; font-weight: 600; line-height: 1; }
h2 { letter-spacing: -.045em; }
h3 { font-weight: 600; letter-spacing: -.02em; }
.eyebrow { font-family: var(--mono); font-weight: 500; font-size: .7rem; letter-spacing: .18em; color: #000; }
.eyebrow::before { width: 28px; height: 1px; background: var(--green); }
.q-dark .eyebrow, .dark .eyebrow, .site-footer .eyebrow { color: #fff; }
.lede { color: #4a4a4a; }
.hero-copy h1 .h1-accent { color: var(--green); }
.page-hero h1 { font-size: clamp(2.5rem, 1rem + 5vw, 5rem); }

/* ---------- header ---------- */
.site-header { background: rgba(255, 255, 255, .82); border-bottom: 1px solid #000; }
.site-header::after { height: 2px; background: var(--green); }
.primary-menu a { font-size: .875rem; font-weight: 500; padding: 10px 10px; letter-spacing: -.005em; }
.primary-menu a::after { left: 10px; right: 10px; height: 1px; background: #000; }
.x-extra-menu { margin-left: 0; padding-left: 8px; border-left: 1px solid var(--line-strong); }
.v47-menu a { font-weight: 600; }
.site-search input[type="search"] { border-radius: 0 !important; border: 0 !important; border-bottom: 1px solid #000 !important; min-width: 5.5rem !important; max-width: 7rem; padding: .3rem .1rem !important; background: transparent; }
.site-search .btn { display: none; }
.nav-cta { white-space: nowrap; }
.nav-shell { gap: 14px; }

/* collapse to the mobile menu earlier so the longer nav never wraps */
@media (max-width: 1280px) and (min-width: 961px) {
  :root { --header-h: 64px; }
  .brand img { width: 158px; }
  .nav-toggle { display: inline-flex; }
  .primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 4px 24px 24px; background: #fff; border-bottom: 1px solid #000; max-height: calc(100svh - var(--header-h)); overflow-y: auto; }
  .site-header.open .primary-nav { display: flex; animation: drop .22s var(--ease); }
  .primary-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-menu a, .primary-menu > li > a.menu-link { display: flex; padding: 16px 2px; font-size: 1.125rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .x-extra-menu { border-left: 0; padding-left: 0; }
  .site-search { margin: 14px 0 0 !important; }
  .nav-cta { margin-top: 20px; width: 100%; min-height: 52px; }
}

/* ---------- buttons ---------- */
.btn { font-weight: 600; letter-spacing: -.01em; border-width: 1px; }
.btn.primary, .btn-primary { background: #000; color: #fff; border-color: #000; }
.btn.primary:hover, .btn-primary:hover { background: var(--green); color: #000; border-color: var(--green); }
.btn.ghost { border-color: #000; }
.q-dark .btn.primary, .dark .btn.primary { background: #fff; color: #000; border-color: #fff; }
.q-dark .btn.primary:hover, .dark .btn.primary:hover { background: var(--green); border-color: var(--green); }
.btn { will-change: transform; }

/* ---------- cards: editorial hairlines, ink inversion on hover ---------- */
.panel { background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid #e3e3e3; border-radius: var(--radius); overflow: hidden; }
.panel::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s var(--ease); background: radial-gradient(260px circle at var(--px, 50%) var(--py, 50%), rgba(0, 0, 0, .06), transparent 70%); }
.panel:hover::after { opacity: 1; }
.panel .tag { font-family: var(--mono); font-weight: 500; letter-spacing: .16em; color: #777; }
.glass { box-shadow: none; border-top: 1px solid #000; }
.link-card:hover { background: #000; border-color: #000; transform: translateY(-3px); }
.link-card:hover h3, .link-card:hover .tag { color: #fff; }
.link-card:hover p { color: #bdbdbd; }
.link-card:hover .card-link { color: var(--green); }
.link-card:hover::after { background: radial-gradient(260px circle at var(--px, 50%) var(--py, 50%), rgba(46, 230, 107, .16), transparent 70%); }
.link-card .card-link { color: #000; }
.q-dark .link-card .card-link { color: #fff; }
.q-dark .panel, .dark .panel { background: rgba(0, 0, 0, .5); border-color: rgba(255, 255, 255, .18); }
.q-dark .link-card:hover { background: #fff; border-color: #fff; }
.q-dark .link-card:hover h3 { color: #000; } .q-dark .link-card:hover p { color: #444; } .q-dark .link-card:hover .tag { color: #666; }

.steps .panel { border-top: 1px solid #000; }
.steps .panel::before { color: transparent; -webkit-text-stroke: 1px #000; font-weight: 700; }
.approach-grid > .panel:first-child { background: #000; }
.approach-grid > .panel:first-child .tag { color: var(--green); }
.market-grid .cities { color: #000; }

/* ---------- hero scene: stripped to white ink, green only as a spark ---------- */
.scene-orbit { border-color: rgba(255, 255, 255, .2); }
.scene-orbit-two { border-color: rgba(255, 255, 255, .12); }
.scene-core { border-color: rgba(255, 255, 255, .6); box-shadow: 0 0 0 10px rgba(255, 255, 255, .04), 0 0 90px rgba(255, 255, 255, .12); }
.scene-core-mark { background: #fff; color: #000; }
.scene-core small { color: var(--green); }
.floating-platform { border-color: rgba(255, 255, 255, .18); }
.floating-platform:hover { border-color: #fff; background: rgba(0, 0, 0, .92); }
.metric-float { border-color: rgba(255, 255, 255, .18); }
.verify-grid li::before { border-color: #fff; }
.q-dark .verify-grid li::before { border-color: var(--green); }

/* ---------- FAQ, forms, notices ---------- */
.faq-list summary:hover::after { background: #000; border-color: #000; color: var(--green); }
.faq-list details[open] summary::after { background: #000; color: var(--green); }
input:focus, textarea:focus, select:focus { border-color: #000; box-shadow: 0 0 0 4px rgba(46, 230, 107, .25); }
.notice, .form-status.ok { background: #f4f4f4; border-color: #d6d6d6; color: #111; }
.prose a:not(.btn), .g-wrap p a:not(.btn) { text-decoration-color: var(--green); text-decoration-thickness: 2px; }
.prose a:not(.btn):hover { background: var(--green); color: #000; }
.g-verdict { border-color: rgba(255, 255, 255, .28); border-left: 3px solid var(--green); border-radius: 2px; }
.g-verdict-label { color: #fff; }
.g-cite { border-left-color: #000; }
.g-autolink { text-decoration-color: var(--green); }
.g-badge.g-pass { background: #f2f2f2; border-color: #000; color: #000; }
.x-matrix td.x-ok { background: #f2f2f2; color: #000; }
.x-related li { border-radius: var(--radius); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid rgba(255, 255, 255, .24); }
.footer-grid a:hover, .spokup-address a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--green); text-underline-offset: 4px; }
.headquarters-card { border-radius: var(--radius); }
.headquarters-card .hq-region { color: #fff; font-family: var(--mono); font-weight: 500; }

/* ---------- reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .mono-reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
  .mono-reveal.is-in { opacity: 1; transform: none; }
}

/* ==========================================================================
   v4.7 components: advertising & media, countries
   ========================================================================== */
.v47-hero .v47-hero-in { position: relative; }
.v47-country { display: block; font-weight: 600; }
.v47-hero-country h1 { font-size: clamp(2.2rem, .8rem + 5.6vw, 5.6rem); }
.v47-hero-country .v47-country { -webkit-text-stroke: 1px #fff; color: transparent; transition: color .5s var(--ease); }
.v47-hero-country:hover .v47-country, .v47-hero-hub:hover .v47-country { color: #fff; }
.v47-hero-hub .v47-country { display: inline; -webkit-text-stroke: 1px #fff; color: transparent; transition: color .5s var(--ease); }
.v47-hero-meta { display: flex; flex-wrap: wrap; gap: 8px 36px; list-style: none; margin: 2.25rem 0 0; padding: 1.1rem 0 0; border-top: 1px solid rgba(255, 255, 255, .22); font-size: .95rem; color: #fff; }
.v47-hero-meta li { display: flex; flex-direction: column; gap: 3px; }
.v47-hero-meta span { font-family: var(--mono); font-size: .65rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-dark); }
.v47-hero-meta a { color: #fff; text-decoration-color: var(--green); text-underline-offset: 4px; }
.page-hero .shell.narrow.v47-hero-in { width: min(1100px, calc(100% - 48px)); }

.v47-wrap { max-width: 1100px; }
.v47-split { align-items: stretch; }
.v47-office { padding: clamp(24px, 3vw, 40px); }
.v47-office h2 { font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.5rem); margin-bottom: 1rem; }
.v47-address { font-style: normal; font-size: 1.15rem; line-height: 1.55; color: #000; margin-bottom: 1.25rem; max-width: 34ch; }
.v47-phone { display: flex; align-items: baseline; gap: 14px; margin-bottom: 0; }
.v47-phone span, .v47-facts span { font-family: var(--mono); font-size: .65rem; letter-spacing: .18em; text-transform: uppercase; color: #777; }
.v47-phone a { font-size: 1.35rem; font-weight: 600; color: #000; text-decoration-color: var(--green); text-underline-offset: 5px; }
.v47-actions { margin-top: 1.5rem; }
.v47-note { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.v47-facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid #000; }
.v47-facts li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-strong); }
.v47-facts strong { font-size: 1.15rem; font-weight: 600; color: #000; text-align: right; }
.v47-facts a { text-decoration-color: var(--green); text-underline-offset: 4px; }
.v47-core-links { margin-top: 1.75rem; font-size: .95rem; color: var(--muted); }
.v47-core-links a { color: #000; text-decoration-color: var(--green); text-underline-offset: 3px; }
.v47-list { list-style: none; padding: 0; border-top: 1px solid #000; max-width: 78ch; }
.v47-list li { padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line); position: relative; margin: 0; }
.v47-list li::before { content: ""; position: absolute; left: 4px; top: 1.45em; width: 14px; height: 1px; background: #000; }
.v47-list li:hover::before { width: 22px; background: var(--green); }
.v47-pn { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 2rem 0 0; padding-top: 1.25rem; border-top: 1px solid #000; font-weight: 600; }
.v47-pn a { color: #000; text-decoration: none; } .v47-pn a:hover { text-decoration: underline; text-decoration-color: var(--green); text-underline-offset: 5px; }
.v47-region-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-top: 1.25rem; }
.v47-region-links a { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: 1px solid #000; border-radius: var(--radius); text-decoration: none; color: #000; transition: background-color .25s, color .25s; }
.v47-region-links a span { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; color: #666; }
.v47-region-links a:hover { background: #000; color: #fff; } .v47-region-links a:hover span { color: var(--green); }

.cty-bar { display: grid; gap: 18px; margin-bottom: 28px; }
.cty-search input { margin: 0; padding: 1rem 0; font-size: clamp(1.25rem, 1rem + 1.4vw, 2rem); font-weight: 500; letter-spacing: -.03em; border: 0; border-bottom: 1px solid #000; border-radius: 0; background: transparent; }
.cty-search input:focus { box-shadow: none; border-color: var(--green); }
.cty-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.cty-tab { min-height: 40px; padding: 0 16px; border: 1px solid #000; border-radius: 999px; background: transparent; color: #000; font-weight: 600; font-size: .875rem; transition: background-color .2s, color .2s; }
.cty-tab sup { font-family: var(--mono); font-size: .65rem; color: #777; margin-left: 4px; }
.cty-tab:hover { background: #f0f0f0; }
.cty-tab.is-on { background: #000; color: #fff; } .cty-tab.is-on sup { color: var(--green); }
.cty-count { margin: 0; font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; color: #666; }
.cty-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0; border-top: 1px solid #000; border-left: 1px solid var(--line-strong); }
.cty-card { position: relative; display: grid; grid-template-columns: 1fr auto; align-content: start; gap: 2px 8px; min-height: 124px; padding: 18px 18px 16px; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); text-decoration: none; color: #000; background: rgba(255, 255, 255, .55); overflow: hidden; transition: background-color .3s var(--ease), color .3s var(--ease); }
.cty-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(220px circle at var(--px, 50%) var(--py, 50%), rgba(46, 230, 107, .22), transparent 70%); }
.cty-card:hover { background: #000; color: #fff; } .cty-card:hover::before { opacity: 1; }
.cty-card .cty-n { grid-column: 1 / -1; font-family: var(--mono); font-size: .65rem; letter-spacing: .18em; color: #888; margin-bottom: 14px; }
.cty-card strong { font-size: 1.05rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.cty-card em { grid-column: 1; font-style: normal; font-size: .85rem; color: #666; }
.cty-card small { display: none; }
.cty-card:hover em { color: #bdbdbd; }
.cty-card i { grid-row: 2; grid-column: 2; font-style: normal; transition: transform .25s var(--ease); align-self: start; }
.cty-card:hover i { transform: translateX(4px); color: var(--green); }
.cty-card[hidden] { display: none; }
.cty-empty { padding: 32px 0; color: var(--muted); }
.v47-main .cty-grid { margin-top: 1.25rem; }

.v47-footer { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line-dark); }
.v47-footer-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 24px 20px; }
.v47-footer h2 { margin: 0 0 12px; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; font-family: var(--mono); font-weight: 500; }
.v47-footer a { display: block; width: fit-content; padding: 4px 0; font-size: .875rem; color: var(--muted-dark); text-decoration: none; }
.v47-footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--green); text-underline-offset: 4px; }
.v47-footer .v47-more { color: #fff; font-weight: 600; }
.v47-footer-note { margin: 1.5rem 0 0; font-size: .9rem; }
@media (max-width: 1100px) { .v47-footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) { .v47-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .v47-facts strong { font-size: 1rem; } }

@media (hover: none) { .v47-hero-country .v47-country, .v47-hero-hub .v47-country { color: #fff; -webkit-text-stroke: 0; } }
