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

:root {
  --font-sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
  --accent: #0066cc;
  --accent-strong: #0052a3;
  --accent-soft: #eef5ff;
  --navy: #033285;
  --navy-mid: #0a469d;
  --navy-deep: #022763;
  --text: #333333;
  --text-muted: #666666;
  --border: #d9dfe8;
  --bg-light: #f7f9fc;
  --bg-section: #ffffff;
  --radius: 8px;
  --shadow: 0 10px 24px rgba(3, 50, 133, .08);
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  font-weight: 400;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container, .container-wide {
  width: min(100%, 1240px);
  margin: 0 auto;
  padding: 0 32px;
}

.container { max-width: 1180px; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.section-eyebrow,
.page-hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-title,
.section-title-lg,
.page-hero-title,
.prose h3,
.prose h4 {
  font-family: var(--font-sans);
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -.01em;
}

.nav,
.nav-links,
.nav-logo,
.nav-cta,
.section-eyebrow,
.page-hero-eyebrow,
.footer-brand-name,
.footer-col-title {
  font-family: var(--font-sans);
}

[style*='font-family: "Noto Sans JP"'],
[style*="font-family: &quot;Noto Sans JP&quot;"],
[style*="font-family:'Noto Sans JP'"],
[style*='font-family:"Noto Sans JP"'] {
  font-family: var(--font-sans) !important;
}

.section-title { font-size: 32px; line-height: 1.4; margin-bottom: 14px; }
.section-title-lg { font-size: 36px; line-height: 1.35; }
.section-lead,
.page-hero-lead {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-muted);
}
.divider,
.divider-center {
  width: 56px;
  height: 3px;
  background: var(--accent);
  border-radius: 999px;
  margin: 0 0 28px;
}
.divider-center { margin: 0 auto 28px; }

.question-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.question-list-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.question-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 14px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
}

.question-item::before {
  content: ">";
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.accent-card-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.accent-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.accent-card::before {
  content: ">";
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.accent-card-body {
  flex: 1;
  min-width: 0;
}

.flow-badge {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(0, 102, 204, .18);
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .04);
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  color: var(--navy);
  letter-spacing: -.02em;
}

.nav-logo::before {
  content: "";
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  background: url('assets/bodik-favicon-32.png') center center / contain no-repeat;
}

.nav-logo span {
  color: var(--accent-strong);
  font-weight: 700;
}

.nav-links {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--navy);
  padding: 28px 0 24px;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: transparent;
  color: var(--accent-strong);
  border-bottom-color: var(--accent);
}

.nav-cta {
  margin-left: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 28px 0 24px;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--navy);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  box-shadow: none;
  transition: color .18s ease, border-color .18s ease;
}

.nav-cta:hover {
  transform: none;
  color: var(--accent-strong);
  border-bottom-color: var(--accent);
}

/* BODIK source header/footer injected from API */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .04);
}

.site-header .site-header-container {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-header .site-header-logo {
  margin: 0;
  flex: 0 0 auto;
  text-align: center;
  font-weight: 700;
  white-space: nowrap;
  line-height: 1.2;
}

.site-header .site-header-logo a {
  display: inline-flex;
  align-items: center;
}

.site-header .site-header-logo img {
  display: block;
  max-height: 60px;
  max-width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

.site-header .global-nav {
  flex: 1 1 auto;
  min-width: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
}

.site-header .nav {
  position: static;
  top: auto;
  z-index: auto;
  background: none;
  backdrop-filter: none;
  border: 0;
  box-shadow: none;
}

.site-header .global-nav-list {
  list-style: none;
  width: auto;
  margin: 0 0 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  flex-wrap: nowrap;
  position: relative;
}

.site-header .global-nav-list > li {
  position: relative;
  text-align: center;
  line-height: 1.4;
  font-size: 12px;
  flex: 0 0 auto;
}

.site-header .global-nav-list > li > a {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  color: var(--navy);
  font-size: 12px;
  line-height: 1.4;
  padding: 14px 1.05em;
  transition: color .18s ease, border-color .18s ease;
}

.site-header .global-nav-list > li > a:hover,
.site-header .global-nav-list > li > a:focus-visible,
.site-header .global-nav-list > li.current-menu-item > a,
.site-header .global-nav-list > li.current_page_item > a {
  color: var(--accent-strong);
}

.site-header .global-nav-list > li:hover::before,
.site-header .global-nav-list > li.current-menu-item::before,
.site-header .global-nav-list > li.current_page_item::before {
  width: 100%;
}

.site-header .global-nav-list:hover > li.current-menu-item:not(:hover)::before,
.site-header .global-nav-list:hover > li.current_page_item:not(:hover)::before {
  width: 0;
}

.site-header .global-nav-list > li::before {
  position: absolute;
  left: 0;
  bottom: 0;
  content: "";
  width: 0;
  border-bottom: 1px solid var(--accent);
  transition: all .5s ease-out;
}

.site-header .global-nav-name {
  font-size: 14px;
  display: block;
  width: 100%;
  white-space: nowrap;
  font-weight: 700;
  line-height: 1.4;
}

.site-header .sub-menu {
  display: none;
  list-style: none;
  position: absolute;
  left: 0;
  top: calc(100% + 1px);
  min-width: 240px;
  margin: 0;
  padding: 10px 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(3, 50, 133, .12);
  z-index: 30;
}

.site-header .menu-item-has-children:hover > .sub-menu,
.site-header .menu-item-has-children:focus-within > .sub-menu {
  display: block;
}

.site-header .sub-menu li {
  list-style: none;
}

.site-header .sub-menu a {
  display: block;
  padding: 9px 14px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text);
  white-space: normal;
}

.site-header .sub-menu a:hover,
.site-header .sub-menu a:focus-visible {
  color: var(--accent-strong);
  background: var(--accent-soft);
}

.site-header .sub-menu .sub-menu {
  left: 100%;
  top: 0;
}

.lang-switch-band {
  display: none;
  padding: 12px 0 0;
  background: transparent;
}

.lang-switch-band .container {
  display: flex;
  justify-content: flex-end;
}

.site-local-nav {
  padding: 0;
  flex: 0 0 auto;
  min-width: 0;
}

.site-local-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.site-local-nav-title {
  display: none;
}

.site-local-nav-links {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.site-local-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  transition: color .18s ease, border-color .18s ease;
}

.site-local-nav-link::before {
  content: none;
}

.site-local-nav-link:hover,
.site-local-nav-link:focus-visible,
.site-local-nav-link.active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.site-footer {
  background: #033285;
  padding: 52px 0 22px;
  color: #fff;
}

.site-footer .site-footer-content {
  max-width: 1240px;
}

.site-footer .row {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) 1fr 1.2fr 1fr;
  gap: 0 40px;
  align-items: start;
}

.site-footer .row > div {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.site-footer .col-lg-3,
.site-footer .col-md-6 {
  min-width: 0;
}

.site-footer .widget {
  margin: 0;
}

.site-footer .menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
}

.site-footer .menu > li {
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.site-footer .menu > li:first-child {
  border-top: 1px solid rgba(255, 255, 255, .15);
}

.site-footer .menu a {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .88);
  padding: 8px 10px;
  margin: 0 -10px;
  transition: background .15s ease, color .15s ease;
}

.site-footer .menu a:hover,
.site-footer .menu a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, .1);
}

.site-footer .menu > li > a {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  padding-top: 10px;
  padding-bottom: 10px;
}

.site-footer .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0 0 0 16px;
}

.site-footer .sub-menu > li {
  border: 0;
}

.site-footer .sub-menu a {
  padding-left: 0;
  font-size: 13px;
}

.site-footer .widget_media_image img,
.site-footer .wp-block-image img {
  display: block;
  width: min(220px, 100%);
  height: auto;
}

.site-footer .widget_media_image,
.site-footer .widget_block {
  margin-top: 2px;
}

.site-footer .vk_button {
  margin-top: 2px;
}

.site-footer .vk_button_link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f26522;
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  transition: background .18s ease, opacity .18s ease;
}

.site-footer .vk_button_link:hover {
  background: #d9541a;
  color: #fff !important;
}

.site-footer .site-footer-copyright {
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .2);
  text-align: center;
}

.site-footer .site-footer-copyright p {
  font-size: 13px;
  color: rgba(255, 255, 255, .78);
}

.breadcrumb {
  padding: 12px 0;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  font-size: 12px;
  color: var(--text-muted);
}

.breadcrumb .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
  min-width: 0;
}

.breadcrumb .container > a:first-child,
.breadcrumb .container > span:first-child,
.breadcrumb .container > .breadcrumb-lang {
  flex: 0 0 auto;
}

.breadcrumb-lang {
  margin-left: auto;
  flex: 0 0 auto;
}

.breadcrumb-current {
  flex: 1 1 auto;
  min-width: 0;
}

.breadcrumb-lang .lang-btn {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: #fff;
  color: var(--accent-strong);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  white-space: nowrap;
}

.breadcrumb-lang .lang-btn:hover {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.breadcrumb a:hover { color: var(--accent-strong); }
.breadcrumb span { margin: 0 6px; }

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0;
  min-height: 10rem;
  text-align: center;
  color: #fff;
  background: url('assets/bodik-page-header-bg.png') no-repeat 50% center / cover;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #ffffff;
  opacity: 0;
}

.page-hero::after {
  display: none;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
}

.page-hero-eyebrow { margin-bottom: 12px; color: rgba(255, 255, 255, .88); }

.page-hero-title {
  font-size: clamp(32px, 4vw, 40px);
  line-height: 1.35;
  color: #fff;
  margin: 0 auto 14px;
  max-width: 720px;
  text-shadow: none;
}

.page-hero-lead {
  font-size: 16px;
  line-height: 1.8;
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255, 255, 255, .94);
}

.card,
.callout,
.section .container > div[style*="grid-template-columns"],
.section .container > .card-dark,
.section .container > div > div[style*="background:var(--bg-section)"] {
  border-radius: var(--radius);
}

.card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  padding: 28px;
  box-shadow: var(--shadow);
  font-size: 14px;
  line-height: 1.8;
  transition: transform .18s ease, box-shadow .18s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(3, 50, 133, .12);
}

.card-dark {
  background: linear-gradient(180deg, rgba(19, 48, 77, .96), rgba(12, 34, 55, .94));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.tag-collection { background: #e4f7fe; color: #007db6; }
.tag-enrichment { background: #edf9ef; color: #1f8d54; }
.tag-api { background: #e8f0ff; color: #345bb8; }
.tag-platform { background: #eef5f7; color: #496678; }
.tag-model { background: #fff3e3; color: #bc6f00; }

.btn-primary,
.btn-outline,
.btn-ghost-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 4px;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}

.btn-primary {
  padding: 10px 20px;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  box-shadow: none;
}

.btn-primary:hover { transform: translateY(-1px); }

.btn-secondary {
  padding: 10px 20px;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .32);
  box-shadow: none;
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, .58);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline {
  padding: 10px 20px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
}

.btn-outline:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: #fff;
}

.btn-ghost-dark {
  padding: 10px 20px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
}

.btn-ghost-dark:hover {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
  color: #fff;
}

.section-dark {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
}

.section-mid {
  background: linear-gradient(180deg, #1d4d74 0%, var(--navy) 100%);
}

.callout {
  background: var(--bg-section);
  border: 1px solid var(--border);
  padding: 20px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.9;
  box-shadow: none;
}

.callout-green {
  background: var(--bg-section);
  border-color: var(--border);
  color: var(--text-muted);
}

.visual-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.visual-frame {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.visual-frame img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  background: #fff;
}

.visual-caption {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-muted);
  text-align: center;
}

.hero-visual {
  margin-top: 32px;
}

.hero-visual .visual-frame {
  padding: 14px;
}

.hero-visual .visual-caption {
  text-align: center;
}

.project-visual {
  margin: 28px 0 0;
}

.project-visual .visual-frame {
  padding: 14px;
}

.side-visual {
  margin-bottom: 20px;
}

.visual-frame.visual-compact img {
  max-width: 72%;
  margin: 0 auto;
}

.section-visual {
  margin: 0 0 56px;
}

.research-visual {
  margin: 28px 0 0;
}

.roadmap-visual {
  margin: 0 0 56px;
}

/* Normalize inline note boxes that still carry legacy left-accent lines */
[style*="background:var(--bg-light)"][style*="border-left:3px solid var(--accent)"],
[style*="background:var(--bg-light)"][style*="border-left:2px solid var(--accent)"],
[style*="background:var(--bg-light)"][style*="border-left:3px solid var(--border)"],
[style*="background:var(--bg-light)"][style*="border-left:2px solid var(--border)"] {
  background: var(--bg-section) !important;
  border: 1px solid var(--border) !important;
  border-left: 1px solid var(--border) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

[style*="background:var(--bg-section)"][style*="border:1px solid var(--border)"],
[style*="background:#fff"][style*="border:1px solid var(--border)"],
[style*="background:var(--bg-light)"][style*="border-radius:6px"],
[style*="background:var(--bg-light)"][style*="border-radius:var(--radius)"] {
  font-size: 14px;
  line-height: 1.8;
}

[style*="font-size:12px"][style*="font-weight:700"][style*="letter-spacing:1px"] {
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .04em !important;
}

.footer {
  background: #033285;
  padding: 52px 0 22px;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) 1fr 1.2fr 1fr;
  gap: 0 40px;
  align-items: start;
}

.footer-utility {
  list-style: none;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
}

.footer-utility li,
.footer-nav-links li {
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.footer-utility li:first-child,
.footer-nav-links li:first-child {
  border-top: 1px solid rgba(255, 255, 255, .15);
}

.footer-utility a,
.footer-nav-links a,
.footer-social a {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .88);
  text-decoration: none;
  padding: 8px 10px;
  margin: 0 -10px;
  transition: background .15s ease, color .15s ease;
}

.footer-utility a:hover,
.footer-nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .1);
}

.footer-social a:hover {
  color: #fff;
}

.footer-isit {
  display: block;
  width: 220px;
  height: 56px;
  margin-top: 18px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .98) url('assets/bodik-isit-logo.png') center center / 88% auto no-repeat;
}

.footer-nav-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.footer-nav-links,
.footer-social {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
}

.footer-social {
  margin-top: 18px;
}

.footer-social a.footer-youtube-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f26522;
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 50px;
  transition: background .18s ease, opacity .18s ease;
}

.footer-social a.footer-youtube-btn:hover {
  background: #d9541a;
  color: #fff !important;
}

.footer-social a.footer-youtube-btn svg {
  flex-shrink: 0;
}

.footer-utility .footer-sub-link a {
  padding-left: 24px;
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .2);
}

.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, .78);
  text-align: center;
}

.prose { font-size: 16px; line-height: 1.9; color: var(--text); }
.prose p { margin-bottom: 20px; }
.prose h3 { font-size: 28px; line-height: 1.45; margin: 34px 0 12px; }
.prose h4 { font-size: 22px; line-height: 1.5; margin: 24px 0 8px; }
.prose ul { padding-left: 20px; margin-bottom: 20px; }
.prose ul li { margin-bottom: 8px; color: var(--text-muted); }
.prose strong { color: var(--navy); }

@media (max-width: 980px) {
  .nav-inner {
    min-height: 72px;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .nav-logo {
    font-size: 19px;
  }

  .nav-cta { margin-left: 0; }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 12px;
  }

  .nav-links a,
  .nav-cta {
    padding: 8px 0;
  }

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

  .footer-isit { width: 220px; }

  .site-header .site-header-container {
    min-height: 72px;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .site-header .global-nav {
    width: 100%;
  }

  .site-header .global-nav-list {
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: wrap;
  }

  .site-header .global-nav-list > li > a {
    padding: 14px 1.2em;
  }

  .lang-switch-band {
    padding-top: 10px;
  }

  .lang-switch-band .container {
    justify-content: flex-start;
  }

  .site-local-nav-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-local-nav-links {
    justify-content: flex-start;
  }

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

@media (max-width: 760px) {
  .container,
  .container-wide { padding: 0 20px; }

  .section { padding: 68px 0; }

  .page-hero {
    padding: 82px 0 88px;
    background-position: 58% center;
  }

  .page-hero-title { font-size: 30px; }
  .page-hero-lead { font-size: 15px; }

  .nav-links a,
  .nav-cta { font-size: 12px; }

  .footer {
    padding-top: 56px;
  }

  .site-header .site-header-logo img {
    max-height: 35px;
  }

  .site-footer {
    padding-top: 56px;
  }

  .lang-switch-band {
    padding-top: 8px;
  }

  .site-local-nav {
    padding-top: 10px;
  }

  .site-local-nav-inner {
    padding: 12px 14px;
  }

  .visual-frame {
    padding: 14px;
  }

  .visual-frame.visual-compact img {
    max-width: 100%;
  }
}

/* ── Grid utility classes (replaces inline display:grid styles) ── */
.gl-prose-sidebar {
  display: grid;
  grid-template-columns: 680px 1fr;
  gap: 64px;
  align-items: start;
}

.gl-arch-intro {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
  margin-bottom: 72px;
  align-items: start;
}

.gl-half-mb64 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 64px;
}

.gl-half-mb72 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 72px;
}

.collaboration-contact {
  background: var(--navy-mid);
  border-radius: var(--radius);
  padding: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 40px;
  align-items: center;
}

.collaboration-contact-panel {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 28px;
}

.collaboration-contact-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.collaboration-contact-btn {
  width: 100%;
  justify-content: center;
}

@media (max-width: 760px) {
  .collaboration-contact {
    padding: 28px 20px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .collaboration-contact-panel {
    padding: 22px;
  }

  .collaboration-contact-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.gl-half-gap8 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}

.gl-detail {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  align-items: start;
}

.gl-detail + .gl-detail,
.gl-detail-sep {
  padding-top: 72px;
  border-top: 1px solid var(--border);
}

.gl-research {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: start;
}

.gl-six-col {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.gl-roadmap-phases {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.gl-phase {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
  border-left: 3px solid var(--border);
  margin-top: 1px;
}

.gl-phase-active {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
  border-left: 3px solid var(--accent);
}

@media (max-width: 980px) {
  .gl-prose-sidebar,
  .gl-arch-intro,
  .gl-half-mb64,
  .gl-half-mb72,
  .gl-detail,
  .gl-research,
  .gl-roadmap-phases {
    grid-template-columns: 1fr;
  }

  .gl-six-col {
    grid-template-columns: repeat(3, 1fr);
  }

  .gl-phase,
  .gl-phase-active {
    grid-template-columns: 1fr;
  }
}

/* ── Language switcher ── */
.lang-switch-wrap {
  display: flex;
  align-items: center;
  margin-left: 8px;
  flex-shrink: 0;
}

.lang-btn {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 5px 11px;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-muted);
  transition: border-color .15s, color .15s, background .15s;
  white-space: nowrap;
}

.lang-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}
