/* ==========================================================================
   WORKERNESIA site styles
   Locked design system: Variant B "Pamphlet blue".
   Shared by every page. Extend here; do not fork per-page styles.
   ========================================================================== */

:root {
  --blue: #3f8fce;
  --blue-deep: #2e6da3;
  --blue-pale: #e3f0fa;
  --yellow: #f6d44c;
  --yellow-pale: #fbf0c4;
  --ink: #1f2023;
  --ink-soft: #55565c;
  --panel: #f4f4f1;
  --line: #e4e2dc;
  --alert: #b4531f;
  --alert-pale: #fdf1e7;
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Archivo', 'BIZ UDPGothic', sans-serif;
  background: #fff;
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Japanese text always routes to the rounded JP face */
[lang="ja"], .jp { font-family: 'BIZ UDPGothic', 'Archivo', sans-serif; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 860px; margin: 0 auto; padding: 0 24px; }

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

/* ---------- Language toggle visibility ---------- */
html[data-lang="ja"] .l-en { display: none; }
html[data-lang="en"] .l-ja { display: none; }

/* Route visible language content to its matching typeface. */
html[data-lang="ja"] .l-ja {
  font-family: 'BIZ UDPGothic', 'Archivo', sans-serif;
}
html[data-lang="en"] .l-en:not([lang="ja"]) {
  font-family: 'Archivo', 'BIZ UDPGothic', sans-serif;
}
html[data-lang="en"] .country-chip .en-name,
html[data-lang="en"] .asof {
  font-family: 'Archivo', 'BIZ UDPGothic', sans-serif;
}
html[data-lang="ja"] #profile .cred-list a[href^="tel:"] {
  font-family: 'BIZ UDPGothic', 'Archivo', sans-serif;
}
html[data-lang="ja"] footer a[href^="tel:"],
html[data-lang="ja"] footer a[href^="mailto:"] {
  font-family: 'BIZ UDPGothic', 'Archivo', sans-serif;
}
html[data-lang="ja"] #enquiry .contact-lines a[href^="tel:"],
html[data-lang="ja"] #enquiry .contact-lines a[href^="mailto:"] {
  font-family: 'BIZ UDPGothic', 'Archivo', sans-serif;
}

/* ---------- Accessibility: skip link + focus ---------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
  transition: top 0.15s;
}
.skip-link:focus { top: 12px; }
:focus-visible {
  outline: 3px solid var(--blue-deep);
  outline-offset: 2px;
  border-radius: 4px;
}

/* candy-stripe corner accents, straight from the pamphlet */
.stripe-corner {
  position: absolute;
  width: 220px;
  height: 220px;
  pointer-events: none;
  z-index: 0;
  background:
    repeating-linear-gradient(45deg,
      rgba(63,143,206,0.18) 0 10px,
      transparent 10px 26px,
      rgba(246,212,76,0.35) 26px 36px,
      transparent 36px 52px);
}
.route-band .route-ja { display: inline; }
.route-band .route-en { display: none; }
html[data-lang="en"] .route-band .route-ja { display: none; }
html[data-lang="en"] .route-band .route-en { display: inline; }

section > .wrap,
section > .wrap-narrow { position: relative; z-index: 1; }
.stripe-tr { top: 0; right: 0; clip-path: polygon(100% 0, 0 0, 100% 100%); }
.stripe-bl { bottom: 0; left: 0; clip-path: polygon(0 100%, 0 0, 100% 100%); }

/* hatched ribbon label, double layer with end dots */
.ribbon {
  position: relative;
  isolation: isolate;
  z-index: 1;
  display: inline-block;
  background: none;
  padding: 8px 40px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: var(--ink);
  margin-bottom: 18px;
}
.ribbon::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(5px, 5px);
  background: #fff;
  border: 1.5px solid var(--ink);
  z-index: 0;
}
.ribbon::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14px 50%, var(--ink) 0 3.5px, transparent 4px),
    repeating-linear-gradient(45deg, var(--yellow) 0 7px, var(--yellow-pale) 7px 14px);
  z-index: 1;
}
.ribbon > * { position: relative; z-index: 2; }
.ribbon .dot-r {
  position: absolute;
  right: 14px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
  transform: translateY(-50%);
}

/* blue tab label, like サービス概要 in the pamphlet */
.tab-label {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  padding: 8px 26px;
  border-radius: 6px 18px 6px 18px;
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: 0.03em;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 0 var(--blue-deep);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--blue-deep); }
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 0 4px 0 var(--ink);
}
.btn-ghost:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }

/* ---------- Nav ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1120px;
  margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 11px; }
.logo svg { display: block; }
.logo-stack { display: flex; flex-direction: column; line-height: 1.15; }
.wordmark {
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
}
.wordmark .worker { color: var(--blue); }
.wordmark .nesia { color: var(--ink); }
.logo-kana {
  font-family: 'BIZ UDPGothic', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.52em;
  color: var(--ink-soft);
  font-weight: 500;
}
.nav-links { display: flex; align-items: center; gap: 18px; font-weight: 700; font-size: 0.88rem; }
.nav-links a { color: var(--ink-soft); transition: color 0.2s; }
.nav-links a:hover { color: var(--blue); }
.nav-links a[aria-current="page"] { color: var(--blue-deep); }
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: #fff; }
.nav-links .btn { padding: 10px 20px; }
.lang-toggle {
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  color: var(--ink);
  font-family: inherit;
  transition: border-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.lang-toggle:hover { border-color: var(--blue); color: var(--blue); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 3px; background: var(--ink); border-radius: 2px; margin: 5px 0; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; padding: 80px 0 90px; background: #fff; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 52px; align-items: center; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue-pale);
  color: var(--blue-deep);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.hero-eyebrow .badge16 {
  background: var(--blue);
  color: #fff;
  border-radius: 999px;
  font-size: 0.72rem;
  padding: 2px 10px;
  font-weight: 900;
  white-space: nowrap;
  flex-shrink: 0;
}
.hero h1 {
  font-weight: 900;
  font-size: clamp(1.9rem, 4.3vw, 3.2rem);
  line-height: 1.32;
  margin-bottom: 20px;
}
.hero h1 .accent {
  color: var(--blue);
  background: linear-gradient(transparent 68%, var(--yellow) 68%);
}
.hero p.sub { font-size: 1.12rem; color: var(--ink-soft); max-width: 34em; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-art { text-align: center; position: relative; }
.hero-art svg { width: 100%; max-width: 430px; height: auto; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--blue-pale);
  border-bottom: 1px solid rgba(63, 143, 206, 0.25);
  padding: 52px 0 56px;
}
.page-hero h1 {
  font-weight: 900;
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
  line-height: 1.3;
  margin-bottom: 14px;
}
.page-hero p.lede { color: var(--ink-soft); font-size: 1.06rem; max-width: 44em; }
.breadcrumb { font-size: 0.85rem; color: var(--ink-soft); font-weight: 600; margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--blue-deep); text-decoration: underline; }
.breadcrumb .sep { opacity: 0.5; margin: 0 6px; }

/* Origin to Japan arrow band */
.route-band { background: #fff; padding: 0 0 70px; }
.route-band svg { width: 100%; height: auto; display: block; }

/* ---------- Sections ---------- */
section { padding: 80px 0; position: relative; overflow: hidden; }
section.tight { padding: 60px 0; }
.section-head { width: 100%; max-width: none !important; margin-bottom: 46px; }
.section-head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 14px;
}
.section-head p { color: var(--ink-soft); font-size: 1.03rem; }

.panel-bg { background: var(--panel); }

/* ---------- Prose (body copy on content pages) ---------- */
.prose h3 { font-size: 1.25rem; font-weight: 800; margin: 34px 0 12px; }
.prose h3:first-child { margin-top: 0; }
.prose p { color: var(--ink-soft); margin-bottom: 16px; }
.prose ul, .prose ol { color: var(--ink-soft); margin: 0 0 18px 1.2em; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); font-weight: 800; }
.prose a.inline { color: var(--blue-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Cards ---------- */
.what { background: var(--panel); }
.what-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 34px;
  box-shadow: 0 3px 0 rgba(31, 32, 35, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 0 rgba(63, 143, 206, 0.18); }
.card .icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 12px; }
.card p { color: var(--ink-soft); font-size: 0.98rem; }

/* Link card (nav cards to interior pages) */
.link-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.link-card {
  display: block;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.link-card:hover { transform: translateY(-3px); border-color: var(--blue); box-shadow: 0 6px 0 rgba(63,143,206,0.15); }
.link-card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 8px; }
.link-card p { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 12px; }
.link-card .go { color: var(--blue-deep); font-weight: 800; font-size: 0.88rem; }

/* ---------- Where we recruit ---------- */
.recruit { background: #fff; }
.recruit-anchor {
  background: var(--blue-pale);
  border: 1.5px solid rgba(63, 143, 206, 0.35);
  border-radius: var(--radius);
  padding: 34px 36px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
}
.flag-chip {
  display: inline-flex;
  align-items: center;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 4px 14px 4px 10px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 50%, 100% 100%, 0 100%);
  margin-bottom: 10px;
}
.recruit-anchor .icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.recruit-anchor h3 { font-size: 1.35rem; font-weight: 900; margin-bottom: 6px; }
.recruit-anchor h3 .jp-name { color: var(--blue-deep); font-size: 1rem; font-weight: 700; margin-left: 10px; }
.recruit-anchor p { color: var(--ink-soft); font-size: 0.98rem; }

.country-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.country-chip {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 11px 22px;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  transition: transform 0.15s, border-color 0.15s;
}
.country-chip:hover { transform: translateY(-2px); border-color: var(--blue); }
.country-chip .en-name,
.country-chip .jp-name { font-family: 'BIZ UDPGothic', sans-serif; color: var(--blue-deep); font-weight: 500; }
html[data-lang="ja"] .country-chip { flex-direction: row-reverse; }
html[data-lang="ja"] .country-chip .jp-name { font-size: 0.95rem; font-weight: 700; color: var(--ink); }
html[data-lang="ja"] .country-chip .en-name { font-size: 0.82rem; font-weight: 500; color: var(--blue-deep); }
html[data-lang="en"] .country-chip .en-name { font-size: 0.95rem; font-weight: 700; color: var(--ink); }
html[data-lang="en"] .country-chip .jp-name { font-size: 0.82rem; font-weight: 500; color: var(--blue-deep); }
.recruit-note { margin-top: 22px; color: var(--ink-soft); font-size: 0.94rem; display: flex; align-items: center; gap: 10px; }
.recruit-note svg { flex-shrink: 0; }

/* ---------- Industries ---------- */
.industries { background: var(--panel); }
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ind-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: transform 0.2s, border-color 0.2s;
  position: relative;
}
.ind-card:hover { transform: translateY(-3px); border-color: var(--blue); }
.ind-card .ind-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--panel);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ind-card h3 { font-size: 0.92rem; font-weight: 800; margin-bottom: 1px; line-height: 1.3; }
.ind-card .jp-label { display: block; font-family: 'BIZ UDPGothic', sans-serif; font-size: 0.8rem; color: var(--blue-deep); font-weight: 500; line-height: 1.4; }
html[data-lang="ja"] .ind-card h3 { font-family: 'BIZ UDPGothic', sans-serif; }
.ind-card .ind-min { display: inline-block; margin-top: 8px; font-family: 'BIZ UDPGothic', sans-serif; font-size: 0.64rem; letter-spacing: 0.02em; color: var(--blue-deep); background: var(--blue-pale); padding: 2px 9px; border-radius: 999px; font-weight: 700; }
/* a field flagged with a live regulatory caveat */
.ind-card.flagged { border-color: rgba(180, 83, 31, 0.45); background: var(--alert-pale); }
.ind-card .ind-flag {
  display: inline-block;
  margin-top: 8px;
  font-family: 'BIZ UDPGothic', sans-serif;
  font-size: 0.64rem;
  color: #fff;
  background: var(--alert);
  padding: 2px 9px;
  border-radius: 999px;
  font-weight: 700;
}
.ind-card .ind-new {
  display: inline-block;
  margin-top: 8px;
  margin-left: 5px;
  font-family: 'BIZ UDPGothic', sans-serif;
  font-size: 0.64rem;
  color: var(--ink);
  background: var(--yellow);
  padding: 2px 9px;
  border-radius: 999px;
  font-weight: 700;
}

/* ---------- Notice / alert box ---------- */
.notice {
  border: 1.5px solid rgba(180, 83, 31, 0.4);
  background: var(--alert-pale);
  border-radius: var(--radius);
  padding: 22px 26px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin: 26px 0;
}
.notice svg { flex-shrink: 0; margin-top: 3px; }
.notice h3 { font-size: 1rem; font-weight: 800; margin-bottom: 6px; color: var(--alert); }
.notice p { font-size: 0.94rem; color: var(--ink-soft); margin: 0; }
.notice.info { border-color: rgba(63, 143, 206, 0.4); background: var(--blue-pale); }
.notice.info h3 { color: var(--blue-deep); }

/* as-of date stamp on any regulatory claim */
.asof {
  display: inline-block;
  font-family: 'BIZ UDPGothic', sans-serif;
  font-size: 0.75rem;
  color: var(--ink-soft);
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- Steps ---------- */
.how { background: #fff; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 30px 24px 26px;
  position: relative;
  border: 1.5px solid var(--line);
  text-align: left;
}
.step-tag {
  display: inline-block;
  background: repeating-linear-gradient(45deg, var(--yellow) 0 6px, var(--yellow-pale) 6px 12px);
  border: 1.5px solid var(--ink);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  padding: 3px 14px;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: 0.93rem; }
.step-arrow { position: absolute; top: 40px; right: -17px; z-index: 2; display: block; }
.step:last-child .step-arrow { display: none; }

/* ---------- Support programme (3 phases x 10 items) ---------- */
.phase { margin-bottom: 44px; }
.phase-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--line);
}
.phase-num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.phase-head h3 { font-size: 1.3rem; font-weight: 900; margin: 0; }
.phase-head .phase-when { color: var(--ink-soft); font-size: 0.88rem; font-weight: 700; margin-left: auto; }
.support-items { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.support-item {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  position: relative;
}
.support-item .si-num {
  font-size: 0.72rem;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
  display: block;
}
.support-item h4 { font-size: 1rem; font-weight: 800; margin-bottom: 8px; }
.support-item p { color: var(--ink-soft); font-size: 0.92rem; margin: 0; }
.support-item .spec {
  display: inline-block;
  margin-top: 10px;
  background: var(--yellow-pale);
  border: 1px solid var(--yellow);
  border-radius: 999px;
  padding: 2px 12px;
  font-size: 0.76rem;
  font-weight: 800;
  font-family: 'BIZ UDPGothic', sans-serif;
}

/* ---------- You vs us table ---------- */
.table-wrap { overflow-x: auto; margin: 26px 0; }
table.split {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
table.split th, table.split td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  vertical-align: top;
}
table.split thead th {
  background: var(--panel);
  font-weight: 900;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}
table.split thead th:last-child { background: var(--blue-pale); color: var(--blue-deep); }
table.split td { color: var(--ink-soft); }
table.split td:last-child { color: var(--ink); font-weight: 600; }
table.split tbody tr:last-child td { border-bottom: none; }

/* ---------- Timeline ---------- */
.timeline { position: relative; margin: 30px 0; padding-left: 30px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 3px;
  background: var(--blue-pale);
  border-radius: 2px;
}
.tl-item { position: relative; margin-bottom: 24px; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 6px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--blue);
  border: 2.5px solid #fff;
}
.tl-item h4 { font-size: 1rem; font-weight: 800; margin-bottom: 4px; }
.tl-item .tl-when { font-size: 0.8rem; font-weight: 800; color: var(--blue-deep); font-family: 'BIZ UDPGothic', sans-serif; }
html[data-lang="en"] .tl-item .tl-when.l-en { font-family: 'Archivo', 'BIZ UDPGothic', sans-serif; }
.tl-item p { color: var(--ink-soft); font-size: 0.93rem; margin: 4px 0 0; }

/* ---------- Credentials list ---------- */
.cred-list { list-style: none; margin: 0; }
.cred-list li {
  display: grid;
  grid-template-columns: minmax(160px, auto) 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--line);
  align-items: baseline;
}
.cred-list li:last-child { border-bottom: none; }
.cred-list .cl-label { font-weight: 800; font-size: 0.9rem; color: var(--ink); }
.cred-list .cl-value { color: var(--ink-soft); font-size: 0.96rem; }
.cred-list .cl-value strong { color: var(--ink); font-weight: 800; letter-spacing: 0.02em; }

.licence-badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 30px 0; }
.licence-badge {
  background: #fff;
  border: 2px solid var(--blue);
  border-radius: var(--radius);
  padding: 22px 20px;
  text-align: center;
  box-shadow: 0 4px 0 rgba(63, 143, 206, 0.22);
}
.licence-badge .lb-kind {
  font-family: 'BIZ UDPGothic', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-soft);
  display: block;
  margin-bottom: 8px;
  line-height: 1.4;
}
.licence-badge .lb-num {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--blue-deep);
  letter-spacing: 0.02em;
  display: block;
}
.licence-badge .lb-date { font-size: 0.75rem; color: var(--ink-soft); font-weight: 600; margin-top: 6px; display: block; }
#licences .licence-badges,
#credentials .licence-badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#licences .cred-list li { grid-template-columns: 190px minmax(0, 1fr); }
#credentials .licence-badge .lb-kind,
#credentials .licence-badge .lb-date,
#licences .licence-badge .lb-kind,
#licences .licence-badge .lb-date { color: var(--ink); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1.5px solid var(--line); }
details.faq {
  border-bottom: 1.5px solid var(--line);
  padding: 0;
}
details.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 44px 22px 0;
  font-weight: 800;
  font-size: 1.02rem;
  position: relative;
  transition: color 0.15s;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary:hover { color: var(--blue-deep); }
details.faq summary::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 2.5px solid var(--blue);
  border-bottom: 2.5px solid var(--blue);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s;
}
details.faq[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details.faq .faq-body { padding: 0 0 24px; color: var(--ink-soft); }
details.faq .faq-body p { margin-bottom: 12px; }
details.faq .faq-body p:last-child { margin-bottom: 0; }
details.faq .faq-body ul { margin: 0 0 12px 1.2em; }
#questions > .wrap-narrow > h2[id] { scroll-margin-top: 88px; }

/* ---------- Network ---------- */
.network { background: var(--blue); color: #fff; }
.network .stripe-corner {
  background:
    repeating-linear-gradient(45deg,
      rgba(255,255,255,0.14) 0 10px,
      transparent 10px 26px,
      rgba(246,212,76,0.4) 26px 36px,
      transparent 36px 52px);
}
.network-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; position: relative; }
.network .flag-chip { background: #fff; color: var(--ink); }
.network-stat { font-size: clamp(3rem, 6vw, 4.6rem); font-weight: 900; line-height: 1.05; margin-bottom: 8px; }
.network-stat .plus { color: var(--yellow); }
.network-stat-label { font-size: 1.15rem; font-weight: 700; margin-bottom: 16px; }
.network p.body { color: rgba(255, 255, 255, 0.88); font-size: 1.02rem; margin-bottom: 24px; max-width: 30em; }
.network .btn-ghost { background: transparent; color: #fff; border-color: #fff; box-shadow: 0 4px 0 rgba(255,255,255,0.5); }
.network .btn-ghost:hover { box-shadow: 0 6px 0 rgba(255,255,255,0.5); }
.network-art svg { width: 100%; max-width: 460px; height: auto; display: block; margin: 0 auto; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #fff; padding: 64px 0; text-align: center; }
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 900; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.8); margin-bottom: 26px; max-width: 44em; margin-left: auto; margin-right: auto; }
.cta-band .cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: #fff; box-shadow: 0 4px 0 rgba(255,255,255,0.45); }

/* ---------- Contact ---------- */
.contact { background: var(--panel); }
.contact-card {
  position: relative;
  isolation: isolate;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 52px 46px;
  box-shadow: 0 6px 0 rgba(31, 32, 35, 0.07);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
}
#contact .contact-card { grid-template-columns: 1.15fr 0.85fr; }
.contact-card h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; margin-bottom: 14px; }
.contact-card p { color: var(--ink-soft); margin-bottom: 24px; }
.contact-lines { list-style: none; }
.contact-lines li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--line);
  font-weight: 600;
}
.contact-lines li:last-child { border-bottom: none; }
.contact-lines svg { flex-shrink: 0; }

/* ---------- Forms ---------- */
.form-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 34px;
  box-shadow: 0 4px 0 rgba(31, 32, 35, 0.06);
}
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 800; font-size: 0.9rem; margin-bottom: 7px; }
.field .req { color: var(--alert); font-size: 0.78rem; font-weight: 800; margin-left: 6px; }
.field input, .field textarea, .field select {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.15s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue); outline: none; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--blue-deep); outline-offset: 1px; }
.field textarea { min-height: 120px; resize: vertical; }
.field .hint { font-size: 0.82rem; color: var(--ink-soft); margin-top: 6px; }
.form-privacy {
  background: var(--panel);
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.form-status { margin-top: 16px; font-weight: 700; font-size: 0.94rem; }
.form-status.err { color: var(--alert); }
.form-status.ok { color: var(--blue-deep); }

/* ---------- Guide download ---------- */
.guide-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 42px; align-items: start; }
.guide-cover {
  background: var(--blue-pale);
  border: 1.5px solid rgba(63, 143, 206, 0.35);
  border-radius: var(--radius);
  padding: 32px 30px;
}
.guide-cover h3 { font-size: 1.2rem; font-weight: 900; margin-bottom: 14px; }
.guide-toc { list-style: none; margin: 0; }
.guide-toc li {
  padding: 9px 0 9px 26px;
  position: relative;
  font-size: 0.93rem;
  color: var(--ink-soft);
  border-bottom: 1px dashed rgba(63, 143, 206, 0.3);
}
.guide-toc li:last-child { border-bottom: none; }
.guide-toc li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 17px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

/* ---------- Footer ---------- */
footer { background: var(--ink); color: rgba(255, 255, 255, 0.85); padding: 54px 0 34px; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.15fr 1fr; gap: 34px; margin-bottom: 38px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo .wordmark { font-size: 1.15rem; color: #fff; }
.footer-logo .worker { color: #7db8e8; }
.footer-logo .nesia { color: #fff; }
footer h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.5); margin-bottom: 14px; font-weight: 700; }
footer p, footer li { color: rgba(255, 255, 255, 0.8); line-height: 1.8; }
footer ul { list-style: none; }
footer a:hover { color: var(--yellow); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 0; align-items: center; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-links { gap: 14px; font-size: 0.83rem; }
}
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { order: -1; }
  .hero-art svg { max-width: 320px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step-arrow { display: none; }
  .network-inner { grid-template-columns: 1fr; }
  .recruit-anchor { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; padding: 40px 30px; }
  #contact .contact-card { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stripe-corner { width: 130px; height: 130px; }
  .support-items { grid-template-columns: 1fr; }
  .licence-badges { grid-template-columns: 1fr; }
  .link-cards { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  section { padding: 58px 0; }
  .hero { padding: 48px 0 60px; }
  .page-hero { padding: 38px 0 42px; }
  .what-grid, .steps, .ind-grid, .footer-grid { grid-template-columns: 1fr; }
  .cred-list li { grid-template-columns: 1fr; gap: 4px; }
  #licences .licence-badges,
  #licences .cred-list li { grid-template-columns: 1fr; }
  #credentials .licence-badges { grid-template-columns: 1fr; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 18px 24px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(31, 32, 35, 0.08);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links .btn { text-align: center; }
  .nav-links .lang-toggle { align-self: flex-start; }
  .nav-toggle { display: block; }
  .form-card { padding: 26px 22px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .btn:hover, .card:hover, .country-chip:hover, .ind-card:hover, .link-card:hover { transform: none; }
}

/* ---------- Print ---------- */
@media print {
  header, .cta-band, .nav-toggle, .lang-toggle { display: none; }
  body { color: #000; }
}
