/* =========================================================
   nekosy technologies — style.css
   方針：見やすさ最優先（本文コントラスト 7:1 以上）
   ========================================================= */
:root {
  /* Color */
  --c-bg: #FFFFFF;
  --c-surface: #F3F6F9;       /* 薄い面（セクション背景） */
  --c-text: #1B2129;          /* 本文  16:1 on white */
  --c-text-sub: #46505E;      /* 補足  8:1 on white / 7.4:1 on surface */
  --c-border: #D5DBE3;
  --c-navy: #15365C;          /* ブランド / ボタン  白文字 12:1 */
  --c-navy-hover: #0E2644;
  --c-link: #1A5AA6;          /* リンク 6.6:1 on white */
  --c-amber: #F2B544;         /* 装飾専用（文字色には使わない） */
  --c-amber-pale: #FDF3DD;
  --c-error: #B42318;         /* 6.3:1 on white */
  --c-error-bg: #FEF3F2;
  --c-success-bg: #ECF7EF;

  /* Type */
  --f-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", Meiryo, sans-serif;
  --f-latin: "Outfit", "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --w-max: 1120px;
  --w-text: 42rem;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --header-h: 72px;
  --radius-s: 8px;
  --radius-m: 14px;
  --shadow: 0 1px 2px rgba(21, 54, 92, .06), 0 4px 16px rgba(21, 54, 92, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-base);
  font-size: 1rem;
  line-height: 1.85;
  letter-spacing: .02em;
  font-feature-settings: "palt" 0;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 768px) { body { font-size: 1.0625rem; } }
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; word-break: auto-phrase; }
ul, ol { padding: 0; }
a { color: var(--c-link); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--c-link); outline-offset: 3px; border-radius: 4px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--c-navy); color: #fff; padding: .75rem 1rem; border-radius: var(--radius-s);
}
.skip-link:focus { top: 1rem; }

.container { width: min(var(--w-max), 100% - var(--gutter) * 2); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--c-border);
}
.site-header__inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand {
  display: inline-flex; align-items: center; gap: .6rem;
  color: var(--c-text); text-decoration: none;
  font-family: var(--f-latin); font-weight: 600; font-size: 1.2rem; letter-spacing: .01em;
  line-height: 1;
}
.brand img { width: 32px; height: 32px; }
.brand small { display: block; font-size: .7rem; font-weight: 500; color: var(--c-text-sub); letter-spacing: .06em; margin-top: 3px; }

.gnav { display: flex; align-items: center; gap: .25rem; }
.gnav__list { display: flex; list-style: none; gap: .25rem; }
.gnav__link {
  display: block; padding: .6rem .9rem; border-radius: var(--radius-s);
  color: var(--c-text); text-decoration: none; font-weight: 500; font-size: .95rem;
}
.gnav__link:hover { background: var(--c-surface); }
.gnav__link[aria-current="page"], .gnav__link.is-current {
  color: var(--c-navy); box-shadow: inset 0 -3px 0 var(--c-amber); border-radius: 0;
}
.gnav .btn { margin-left: .75rem; }

.menu-toggle {
  display: none;
  align-items: center; gap: .5rem;
  min-height: 44px; padding: 0 .9rem;
  background: var(--c-bg); color: var(--c-text);
  border: 1px solid var(--c-border); border-radius: var(--radius-s);
  font: inherit; font-size: .9rem; font-weight: 500; cursor: pointer;
}
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative;
}
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -6px; }
.menu-toggle__bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .gnav {
    display: none;
    position: fixed; inset: var(--header-h) 0 0 0;
    background: var(--c-bg);
    flex-direction: column; align-items: stretch;
    padding: 1rem var(--gutter) 2rem;
    overflow-y: auto;
  }
  .gnav.is-open { display: flex; }
  .gnav__list { flex-direction: column; gap: 0; }
  .gnav__link {
    padding: 1rem .25rem; font-size: 1.05rem; border-radius: 0;
    border-bottom: 1px solid var(--c-border);
  }
  .gnav__link[aria-current="page"], .gnav__link.is-current { box-shadow: inset 4px 0 0 var(--c-amber); padding-left: 1rem; }
  .gnav .btn { margin: 1.5rem 0 0; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.5rem;
  border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.3;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--primary { background: var(--c-navy); color: #fff; }
.btn--primary:hover { background: var(--c-navy-hover); }
.btn--secondary { background: #fff; color: var(--c-navy); border-color: var(--c-navy); }
.btn--secondary:hover { background: var(--c-surface); }
.btn--on-dark { background: #fff; color: var(--c-navy); }
.btn--on-dark:hover { background: var(--c-amber-pale); }
.btn--small { min-height: 42px; padding: .5rem 1.15rem; font-size: .92rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }
.btn .icon { width: 1.1em; height: 1.1em; flex: none; }
.btn-group { display: flex; flex-wrap: wrap; gap: .75rem; }

.text-link {
  display: inline-flex; align-items: center; gap: .35rem;
  font-weight: 700; color: var(--c-link); text-decoration: none;
}
.text-link:hover { text-decoration: underline; }
.text-link .icon { width: 1em; height: 1em; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 9vw, 6.5rem); }
.section--surface { background: var(--c-surface); }
.section--navy { background: var(--c-navy); color: #fff; }
.section-header { max-width: var(--w-text); margin-bottom: clamp(2rem, 5vw, 3rem); }
.section-header--center { margin-inline: auto; text-align: center; }
.section-title {
  font-size: clamp(1.6rem, 3.6vw, 2.2rem); font-weight: 700; line-height: 1.45; letter-spacing: .03em;
}
.section-title::after {
  content: ""; display: block; width: 48px; height: 4px; margin-top: .9rem;
  background: var(--c-amber); border-radius: 2px;
}
.section-header--center .section-title::after { margin-inline: auto; }
.section-lead { margin-top: 1.1rem; color: var(--c-text-sub); }
.section--navy .section-lead { color: #D9E3EF; }

/* ---------- Hero (top) ---------- */
.hero { padding-block: clamp(3rem, 8vw, 6rem) clamp(3.5rem, 8vw, 6rem); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero__tag {
  display: inline-block; margin-bottom: 1.25rem; padding: .3rem .85rem;
  background: var(--c-amber-pale); color: var(--c-text); border-radius: 999px;
  font-size: .85rem; font-weight: 700;
}
.hero__title {
  font-size: clamp(2rem, 5.2vw, 3.3rem); font-weight: 700; line-height: 1.4; letter-spacing: .02em;
}
.hero__lead { margin-top: 1.5rem; max-width: 34em; color: var(--c-text-sub); font-size: 1.05em; }
.hero .btn-group { margin-top: 2.25rem; }
.hero__visual { position: relative; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; }
}

/* ---------- Page hero (lower pages) ---------- */
.page-hero { background: var(--c-surface); padding-block: 1.25rem clamp(2.5rem, 6vw, 4rem); border-bottom: 1px solid var(--c-border); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem .5rem; font-size: .85rem; color: var(--c-text-sub); }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; color: #8A94A3; }
.breadcrumb a { color: var(--c-text-sub); }
.page-hero__en { margin-top: clamp(1.5rem, 4vw, 2.5rem); font-family: var(--f-latin); font-weight: 600; color: var(--c-text-sub); letter-spacing: .08em; font-size: .9rem; }
.page-hero__title { margin-top: .25rem; font-size: clamp(1.8rem, 4.4vw, 2.6rem); font-weight: 700; line-height: 1.4; }
.page-hero__lead { margin-top: 1rem; max-width: var(--w-text); color: var(--c-text-sub); }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .grid-2 { grid-template-columns: 1fr; } }

.service-card {
  position: relative;
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-m);
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: var(--shadow);
  transition: border-color .15s, transform .15s;
}
.service-card:hover { border-color: var(--c-navy); }
.service-card__icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--c-amber-pale); color: var(--c-navy); margin-bottom: 1.25rem;
}
.service-card__icon svg { width: 30px; height: 30px; }
.service-card__title { font-size: 1.3rem; font-weight: 700; line-height: 1.5; }
.service-card__en { font-family: var(--f-latin); font-size: .85rem; font-weight: 500; color: var(--c-text-sub); letter-spacing: .04em; }
.service-card__text { margin-top: .9rem; color: var(--c-text-sub); flex: 1; }
.service-card__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.25rem; list-style: none; }
.service-card__tags li {
  font-size: .8rem; font-weight: 500; padding: .15rem .7rem;
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 999px; color: var(--c-text);
}
.service-card__more { margin-top: 1.5rem; }
/* カード全体をクリック可能に */
.service-card__more a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-m); }

.feature {
  background: #fff; border-radius: var(--radius-m); padding: 1.75rem;
  border: 1px solid var(--c-border);
}
.feature__title { font-size: 1.15rem; font-weight: 700; line-height: 1.5; display: flex; gap: .75rem; align-items: flex-start; }
.feature__title svg { width: 28px; height: 28px; flex: none; color: var(--c-navy); margin-top: .05em; }
.feature__text { margin-top: .75rem; color: var(--c-text-sub); }

/* ---------- Problem checklist ---------- */
.checklist { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 700px) { .checklist { grid-template-columns: 1fr; } }
.checklist li {
  display: flex; gap: .85rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-s);
  padding: 1.1rem 1.25rem; font-weight: 500;
}
.checklist svg { width: 24px; height: 24px; flex: none; color: var(--c-navy); margin-top: .15em; }
.checklist-foot { margin-top: 2rem; font-weight: 700; font-size: 1.1rem; text-align: center; }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step {
  counter-increment: step;
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-m);
  padding: 1.5rem;
}
.step__num {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--f-latin); font-weight: 600; font-size: .85rem; letter-spacing: .06em; color: var(--c-text-sub);
}
.step__num::before {
  content: counter(step);
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--c-navy); color: #fff; font-size: 1rem;
}
.step__title { margin-top: .9rem; font-size: 1.15rem; font-weight: 700; }
.step__text { margin-top: .5rem; color: var(--c-text-sub); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 52rem; margin-inline: auto; display: grid; gap: .75rem; }
.faq details { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-s); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; gap: .9rem; align-items: flex-start;
  padding: 1.15rem 1.25rem; font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "Q"; flex: none; font-family: var(--f-latin); color: var(--c-navy); font-size: 1.1rem; line-height: 1.6;
}
.faq summary::after {
  content: ""; flex: none; margin-left: auto; margin-top: .5em;
  width: 10px; height: 10px; border-right: 2px solid var(--c-text); border-bottom: 2px solid var(--c-text);
  transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: .75em; }
.faq__answer { padding: 0 1.25rem 1.25rem 3.1rem; color: var(--c-text-sub); }

/* ---------- CTA band ---------- */
.cta {
  background: var(--c-navy); color: #fff; border-radius: var(--radius-m);
  padding: clamp(2rem, 5vw, 3.25rem);
  display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 2.5rem; align-items: center;
  position: relative; overflow: hidden;
}
.cta::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px;
  border-radius: 50%; background: rgba(255, 255, 255, .07); pointer-events: none;
}
.cta__title { font-size: clamp(1.35rem, 3vw, 1.75rem); font-weight: 700; line-height: 1.5; }
.cta__text { margin-top: .6rem; color: #D9E3EF; }
.cta .btn { position: relative; z-index: 1; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } }

/* ---------- Prose / content ---------- */
.prose { max-width: var(--w-text); }
.prose h2 { font-size: 1.35rem; font-weight: 700; margin-top: 2.75rem; padding-bottom: .5rem; border-bottom: 2px solid var(--c-border); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin-top: 1rem; }
.prose ul, .prose ol { padding-left: 1.5em; }
.prose li + li { margin-top: .35rem; }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

.offer-list { list-style: none; display: grid; gap: 1rem; }
.offer-list li {
  background: #fff; border: 1px solid var(--c-border); border-left: 4px solid var(--c-navy);
  border-radius: var(--radius-s); padding: 1.15rem 1.35rem;
}
.offer-list h3 { font-size: 1.1rem; font-weight: 700; }
.offer-list p { margin-top: .35rem; color: var(--c-text-sub); font-size: .97rem; }

/* ---------- Definition table ---------- */
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { text-align: left; vertical-align: top; padding: 1.1rem .5rem; border-bottom: 1px solid var(--c-border); }
.info-table tr:first-child th, .info-table tr:first-child td { border-top: 1px solid var(--c-border); }
.info-table th { width: 30%; font-weight: 700; color: var(--c-text); white-space: nowrap; padding-right: 1.5rem; }
.info-table ul { list-style: disc; padding-left: 1.25em; }
@media (max-width: 600px) {
  .info-table th, .info-table td { display: block; width: 100%; }
  .info-table th { border-bottom: 0; padding-bottom: .15rem; }
  .info-table td { padding-top: .15rem; }
  .info-table tr:first-child td { border-top: 0; }
}

.mission {
  background: var(--c-surface); border-radius: var(--radius-m);
  padding: clamp(2rem, 5vw, 3rem);
}
.mission__label { font-family: var(--f-latin); font-weight: 600; letter-spacing: .08em; font-size: .9rem; color: var(--c-text-sub); }
.mission__text { margin-top: .5rem; font-size: clamp(1.4rem, 3.4vw, 2rem); font-weight: 700; line-height: 1.55; }
.mission__body { margin-top: 1.25rem; color: var(--c-text-sub); max-width: var(--w-text); }

/* ---------- Leader (about) ---------- */
.leader { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (max-width: 860px) { .leader { grid-template-columns: 1fr; } }
.leader__catch { font-size: clamp(1.35rem, 3vw, 1.75rem); font-weight: 700; line-height: 1.6; }
.leader__body p { margin-top: 1.1rem; color: var(--c-text-sub); }
.leader__career { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-m); padding: 1.75rem; }
.leader__subtitle { font-size: 1.15rem; font-weight: 700; }
.leader__subtitle.mt-l { margin-bottom: 1.25rem; }
.career { list-style: none; margin-top: 1rem; }
.career li { position: relative; padding: 0 0 1.25rem 1.5rem; }
.career li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--c-navy); }
.career li:not(:last-child)::after { content: ""; position: absolute; left: 4px; top: 1.3em; bottom: .1em; width: 2px; background: var(--c-border); }
.career li:last-child { padding-bottom: 0; }
.career__org { display: block; font-weight: 700; }
.career__role { display: block; color: var(--c-text-sub); font-size: .95rem; }
.leader__strengths .feature__title { font-size: 1.1rem; }
.leader__strengths .feature { border-top: 4px solid var(--c-amber); }

/* ---------- Form ---------- */
.form-wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (max-width: 900px) { .form-wrap { grid-template-columns: 1fr; } }
.form { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-m); padding: clamp(1.5rem, 4vw, 2.5rem); }
.form-field + .form-field { margin-top: 1.5rem; }
.form-label { display: flex; align-items: center; gap: .5rem; font-weight: 700; margin-bottom: .45rem; }
.badge { font-size: .72rem; font-weight: 700; padding: .1rem .5rem; border-radius: 4px; line-height: 1.6; }
.badge--req { background: var(--c-error); color: #fff; }
.badge--opt { background: var(--c-surface); color: var(--c-text-sub); border: 1px solid var(--c-border); }
.form-hint { font-size: .85rem; color: var(--c-text-sub); margin-top: .35rem; }
.input, .select, .textarea {
  width: 100%; min-height: 50px;
  padding: .7rem .9rem;
  font: inherit; font-size: 1rem; color: var(--c-text);
  background: #fff; border: 1.5px solid #9AA4B2; border-radius: var(--radius-s);
}
.input::placeholder, .textarea::placeholder { color: #6B7584; }
.textarea { min-height: 180px; resize: vertical; line-height: 1.7; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231B2129' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.input:focus, .select:focus, .textarea:focus { outline: 3px solid rgba(26, 90, 166, .35); outline-offset: 0; border-color: var(--c-link); }
.is-invalid .input, .is-invalid .select, .is-invalid .textarea { border-color: var(--c-error); background: var(--c-error-bg); }
.form-error { display: none; margin-top: .4rem; color: var(--c-error); font-size: .88rem; font-weight: 700; }
.is-invalid .form-error { display: block; }
.checkbox { display: flex; gap: .75rem; align-items: flex-start; cursor: pointer; }
.checkbox input { width: 22px; height: 22px; margin-top: .2em; accent-color: var(--c-navy); flex: none; }
.form-actions { margin-top: 2rem; }
.form-alert { margin-top: 1.25rem; padding: 1rem 1.15rem; border-radius: var(--radius-s); font-weight: 500; }
.form-alert--error { background: var(--c-error-bg); color: var(--c-error); border: 1px solid #F4B9B3; }
.form-alert[hidden] { display: none; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.aside-box { background: var(--c-surface); border-radius: var(--radius-m); padding: 1.75rem; }
.aside-box + .aside-box { margin-top: 1.25rem; }
.aside-box h2 { font-size: 1.1rem; font-weight: 700; }
.aside-box p, .aside-box ol { margin-top: .6rem; color: var(--c-text-sub); font-size: .95rem; }
.aside-box ol { padding-left: 1.25em; }

.thanks { text-align: center; max-width: 36rem; margin-inline: auto; }
.thanks__icon { width: 72px; height: 72px; margin: 0 auto 1.5rem; border-radius: 50%; background: var(--c-success-bg); display: grid; place-items: center; color: #1E7B3A; }
.thanks__icon svg { width: 36px; height: 36px; }
.thanks p { margin-top: 1rem; color: var(--c-text-sub); }
.thanks .btn-group { justify-content: center; margin-top: 2rem; }

/* ---------- Related links ---------- */
.related { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 700px) { .related { grid-template-columns: 1fr; } }
.related a {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.15rem 1.35rem; border: 1px solid var(--c-border); border-radius: var(--radius-s);
  background: #fff; color: var(--c-text); text-decoration: none; font-weight: 700;
}
.related a:hover { border-color: var(--c-navy); }
.related svg { width: 20px; height: 20px; color: var(--c-navy); flex: none; }

/* ---------- Footer ---------- */
.site-footer { background: #0F2743; color: #E3EAF2; padding-block: 3.5rem 2rem; margin-top: 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
.footer__brand .brand { color: #fff; }
.footer__brand .brand small { color: #B9C6D6; }
.footer__desc { margin-top: 1rem; font-size: .9rem; color: #C3CFDD; max-width: 26em; }
.footer__heading { font-size: .95rem; font-weight: 700; margin-bottom: .75rem; color: #fff; }
.footer__links { list-style: none; display: grid; gap: .45rem; font-size: .92rem; }
.footer__bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid #2A4566;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  font-size: .85rem; color: #B9C6D6;
}

/* ---------- 404 ---------- */
.notfound { text-align: center; padding-block: clamp(4rem, 12vw, 8rem); }
.notfound__code { font-family: var(--f-latin); font-size: clamp(4rem, 14vw, 7rem); font-weight: 600; color: var(--c-navy); line-height: 1; }
.notfound p { margin-top: 1rem; color: var(--c-text-sub); }
.notfound .btn-group { justify-content: center; margin-top: 2rem; }

.mt-l { margin-top: clamp(2.5rem, 6vw, 4rem); }
.center { text-align: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
