/* TIMOA — timoapartners.com
   Tokens mirror the Figma variables (TIMOA / Primitives, Color, Spacing & Radius).
   Breakpoints: mobile < 768 · tablet 768–1099 · desktop ≥ 1100. Logical properties throughout. */

:root {
  --navy-950: #061733;
  --navy-900: #0B2447;
  --navy-800: #0E2C55;
  --navy-700: #1B4580;
  --blue-600: #1F5BD8;
  --blue-50: #EEF3FB;
  --ink: #101828;
  --gray-700: #3F4A5A;
  --gray-500: #667085;
  --line: #D9DEE6;
  --line-strong: #B8C2D1;
  --surface: #F6F8FB;
  --inv-muted: #9DB0CC;
  --inv-soft: #C9D4E5;
  --error: #B42318;

  --bg-page: #FFFFFF;
  --bg-surface: var(--surface);
  --bg-brand: var(--navy-900);
  --bg-brand-hover: var(--navy-700);
  --text: var(--ink);
  --text-heading: var(--navy-900);
  --text-2: var(--gray-700);
  --text-muted: var(--gray-500);
  --text-link: var(--blue-600);

  --r-sm: 2px;
  --r-md: 4px;
  --wrap: 1200px;
  --gut: 40px;
  --hdr: 76px;
  --sec: 112px;

  --font-latin: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font: "Inter", "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
html:lang(zh-Hans) { --font: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; }
html:lang(zh-Hant) { --font: "Inter", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif; }

@media (max-width: 1099px) { :root { --gut: 32px; --sec: 88px; } }
@media (max-width: 767px)  { :root { --gut: 20px; --hdr: 56px; --sec: 56px; } }

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 24px); }
@media (max-width: 899px) { html { scroll-padding-top: calc(var(--hdr) + 72px); } }
body { margin: 0; background: var(--bg-page); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.85;
  font-feature-settings: "palt" 0; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
img, svg { display: block; }
.ic { flex-shrink: 0; }
:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; }
.sec-dark :focus-visible, .cta-band :focus-visible, .ft :focus-visible, .rail-cta :focus-visible { outline-color: #FFFFFF; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.narrow { max-width: calc(800px + var(--gut) * 2); padding-block: 24px var(--sec); }
.skip { position: absolute; inset-inline-start: 8px; inset-block-start: -60px; z-index: 100; background: var(--navy-900); color: #FFF; padding: 10px 16px; }
.skip:focus { inset-block-start: 8px; }
.only-m { display: none; }
@media (max-width: 767px) { .only-d { display: none; } .only-m { display: block; } }

/* ---------------------------------------------------------------- type */
.eyebrow { font-family: var(--font-latin), var(--font); font-size: 12px; line-height: 20px; font-weight: 600; letter-spacing: .14em; color: var(--blue-600); text-transform: uppercase; }
.eyebrow-ic { display: flex; align-items: center; gap: 10px; }
.h1 { font-size: 52px; line-height: 1.42; font-weight: 500; letter-spacing: .01em; color: var(--text-heading); }
.h1-page { font-size: 44px; line-height: 1.45; }
.lead { font-size: 18px; line-height: 1.9; color: var(--text-2); max-width: 640px; }
.body { font-size: 16px; line-height: 1.9; color: var(--text); }
.body + .body { margin-block-start: 16px; }
.cap { font-size: 13px; line-height: 22px; color: var(--text-muted); }
.idx { display: flex; align-items: center; gap: 12px; margin-block-end: 16px; font-size: 12px; font-weight: 500; letter-spacing: .14em; color: var(--text-2); }
.idx span { font-family: var(--font-latin); font-weight: 600; color: var(--navy-900); }
.idx i { inline-size: 32px; block-size: 1px; background: var(--navy-900); }
.h2i { display: flex; align-items: flex-start; gap: 14px; font-size: 34px; line-height: 1.47; font-weight: 500; letter-spacing: .01em; color: var(--text-heading); }
.hico { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; inline-size: 44px; block-size: 44px; margin-block-start: 3px;
  border: 1px solid var(--line); border-radius: var(--r-sm); color: var(--navy-900); background: #FFF; }
.hico-s { inline-size: 32px; block-size: 32px; margin: 0; }
.on-dark, .sec-dark .idx span { color: #FFF; }
.sec-dark .idx { color: var(--inv-muted); }
.sec-dark .idx i { background: #FFF; }
.on-dark .hico { background: transparent; border-color: rgba(255,255,255,.24); color: #FFF; }
.h2s { font-size: 20px; line-height: 1.6; font-weight: 700; color: var(--text-heading); margin-block-end: 8px; }
.link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--text-link); }
.link .ic { transition: transform .2s var(--ease); }
.link:hover .ic, a:hover > .link .ic { transform: translateX(3px); }
.note { margin-block-start: 16px; font-size: 13px; line-height: 1.8; color: var(--text-muted); }
.callout { margin-block-start: 24px; padding: 18px 20px; border-inline-start: 2px solid var(--blue-600); background: var(--surface); font-size: 14px; line-height: 1.8; color: var(--text-2); }

@media (max-width: 1099px) { .h1 { font-size: 42px; } .h1-page { font-size: 36px; } .h2i { font-size: 28px; } }
@media (max-width: 767px) {
  .eyebrow { font-size: 11px; letter-spacing: .16em; }
  .h1 { font-size: 30px; line-height: 1.47; }
  .h1-page { font-size: 28px; }
  .lead { font-size: 15px; line-height: 1.8; }
  .body { font-size: 15px; line-height: 1.8; }
  .idx { font-size: 11px; letter-spacing: .16em; }
  .idx i { inline-size: 24px; }
  .h2i { font-size: 24px; line-height: 1.5; gap: 12px; }
  .hico { inline-size: 36px; block-size: 36px; margin-block-start: 0; }
  .hico .ic { inline-size: 20px; block-size: 20px; }
  .h2s { font-size: 17px; }
}

/* ---------------------------------------------------------------- buttons */
/* Buttons: rounded pills. The arrow sits in its own circle (eye-catch) and slides on hover. */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-block-size: 52px; padding: 12px 28px; border: 1px solid transparent;
  border-radius: 999px; font-size: 15px; line-height: 1.4; font-weight: 700; letter-spacing: .02em; text-align: center; white-space: nowrap;
  transition: background .25s var(--ease), color .2s, border-color .2s, box-shadow .25s var(--ease), transform .25s var(--ease); }
.btn:has(> .ic) { padding-inline-end: 10px; }
.btn > .ic { inline-size: 32px; block-size: 32px; padding: 7px; margin-inline-start: 2px; border-radius: 50%; flex-shrink: 0;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease); }
.btn:hover > .ic { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(.99); }
.btn:focus-visible { outline-offset: 3px; }
/* primary: navy gradient, soft shadow, white circle on hover */
.btn-p { color: #FFF; background: linear-gradient(135deg, var(--navy-700) 0%, var(--navy-900) 55%, var(--navy-950) 100%); border-color: transparent;
  box-shadow: 0 1px 2px rgba(6,23,51,.12), 0 10px 24px -10px rgba(6,23,51,.55); }
.btn-p > .ic { background: rgba(255,255,255,.16); color: #FFF; }
.btn-p:hover { transform: translateY(-1px); box-shadow: 0 2px 4px rgba(6,23,51,.12), 0 16px 32px -12px rgba(6,23,51,.6); background: linear-gradient(135deg, #2557A0 0%, var(--navy-700) 55%, var(--navy-900) 100%); }
.btn-p:hover > .ic { background: #FFF; color: var(--navy-900); }
/* secondary: white pill with navy hairline */
.btn-s { background: #FFF; border-color: var(--navy-900); color: var(--navy-900); }
.btn-s > .ic { background: var(--blue-50); color: var(--navy-900); }
.btn-s:hover { background: var(--blue-50); transform: translateY(-1px); box-shadow: 0 10px 22px -12px rgba(6,23,51,.35); }
.btn-s:hover > .ic { background: var(--navy-900); color: #FFF; }
/* on dark */
.btn-w { background: #FFF; border-color: #FFF; color: var(--navy-900); box-shadow: 0 10px 24px -12px rgba(0,0,0,.45); }
.btn-w > .ic { background: var(--navy-900); color: #FFF; }
.btn-w:hover { transform: translateY(-1px); background: #FFF; box-shadow: 0 16px 32px -12px rgba(0,0,0,.5); }
.btn-w:hover > .ic { background: var(--blue-600); }
.btn-o { background: transparent; border-color: rgba(255,255,255,.5); color: #FFF; }
.btn-o > .ic { background: rgba(255,255,255,.14); color: #FFF; }
.btn-o:hover { background: rgba(255,255,255,.08); border-color: #FFF; }
.btn-m { min-block-size: 44px; padding: 8px 22px; font-size: 14px; }
.btn-m:has(> .ic) { padding-inline-end: 8px; }
.btn-m > .ic { inline-size: 28px; block-size: 28px; padding: 6px; }
.btn-block { display: flex; inline-size: 100%; }

/* ---------------------------------------------------------------- decoration: contour rings */
.rings { position: absolute; inset-block-start: -260px; inset-inline-end: -280px; inline-size: 860px; block-size: 860px; pointer-events: none;
  background: repeating-radial-gradient(circle at 50% 50%, transparent 0 58px, rgba(11,36,71,.07) 58px 59px);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0 45%, transparent 70%); mask-image: radial-gradient(circle at 50% 50%, #000 0 45%, transparent 70%); }
.sec-dark .rings, .cta-band .rings { background: repeating-radial-gradient(circle at 50% 50%, transparent 0 58px, rgba(255,255,255,.07) 58px 59px); }
@media (max-width: 767px) { .rings { inline-size: 520px; block-size: 520px; inset-block-start: -180px; inset-inline-end: -260px;
  background: repeating-radial-gradient(circle at 50% 50%, transparent 0 40px, rgba(11,36,71,.07) 40px 41px); } }
[dir="rtl"] .rings { transform: scaleX(-1); }

/* ---------------------------------------------------------------- header */
.hdr { position: sticky; inset-block-start: 0; z-index: 50; background: rgba(255,255,255,.96); border-block-end: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); }
.hdr-in { display: flex; align-items: center; gap: 40px; block-size: var(--hdr); }
.logo { font-family: var(--font-latin); font-weight: 700; font-size: 24px; letter-spacing: .28em; color: var(--navy-900); line-height: 1; padding-block: 10px; margin-inline-end: -.28em; }
.logo-inv { color: #FFF; }
.nav { display: flex; align-items: stretch; gap: 32px; block-size: 100%; margin-inline-end: auto; }
.nav-link { position: relative; display: inline-flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.nav-link::after { content: ""; position: absolute; inset-inline: 0; inset-block-end: -1px; block-size: 2px; background: var(--navy-900); transform: scaleX(0); transition: transform .2s var(--ease); }
.nav-link:hover::after, .nav-link.is-current::after, .nav-svc[aria-expanded="true"]::after { transform: scaleX(1); }
.nav-svc .ic { transition: transform .2s; }
.nav-svc[aria-expanded="true"] .ic { transform: rotate(180deg); }
.hdr-tools { display: flex; align-items: center; gap: 16px; }
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; min-block-size: 44px; padding-inline: 8px; font-family: var(--font-latin), var(--font); font-size: 13px; font-weight: 700; color: var(--navy-900); }
.lang-menu { position: absolute; inset-block-start: calc(100% + 8px); inset-inline-end: 0; min-inline-size: 220px; padding: 8px; background: #FFF; border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: 0 16px 40px rgba(6,23,51,.12); }
.lang-title { padding: 8px 12px 4px; font-size: 11px; letter-spacing: .14em; color: var(--text-muted); }
.lang-opt { display: flex; align-items: center; justify-content: space-between; min-block-size: 44px; padding-inline: 12px; font-size: 15px; border-radius: var(--r-sm); }
.lang-opt:hover { background: var(--surface); }
.lang-opt.is-current { font-weight: 700; color: var(--navy-900); }
.menu-btn { display: none; align-items: center; justify-content: center; inline-size: 44px; block-size: 44px; color: var(--navy-900); }

/* mega menu */
.mega { position: absolute; inset-inline: 0; inset-block-start: 100%; background: #FFF; border-block: 1px solid var(--line); box-shadow: 0 24px 48px rgba(6,23,51,.08); }
.mega-in { display: grid; grid-template-columns: 1fr 280px; gap: 56px; padding-block: 40px 48px; }
.mm-groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.mm-label { font-size: 12px; font-weight: 500; letter-spacing: .14em; color: var(--text-2); padding-block-end: 12px; border-block-end: 1px solid var(--line); margin-block-end: 8px; }
.mm-group a { display: block; padding: 12px 0; }
.mm-name { display: block; font-size: 15px; line-height: 1.6; font-weight: 700; color: var(--navy-900); }
.mm-desc { display: block; font-size: 13px; line-height: 1.7; color: var(--text-muted); margin-block-start: 2px; }
.mm-group a:hover .mm-name { color: var(--blue-600); }
.mm-side { padding: 24px; background: var(--surface); align-self: start; }
.mm-side .mm-label { border: 0; padding: 0; margin-block-end: 12px; }
.mm-side-text { font-size: 14px; line-height: 1.8; color: var(--text-2); margin-block-end: 16px; }

@media (max-width: 1099px) {
  .nav, .hdr-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .hdr-in { justify-content: space-between; }
  .hdr-tools { gap: 0; }
  .mega { display: none !important; }
}
@media (max-width: 767px) { .logo { font-size: 19px; letter-spacing: .3em; } .hdr-in { padding-inline-end: 8px; } }

/* drawer (mobile / tablet menu) */
.drawer { position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column; background: #FFF; }
.drawer[hidden] { display: none; }
.dr-hdr { display: flex; align-items: center; justify-content: space-between; block-size: var(--hdr); padding-inline: var(--gut) 8px; border-block-end: 1px solid var(--line); flex-shrink: 0; }
.dr-body { flex: 1; overflow-y: auto; padding: 8px var(--gut) 32px; overscroll-behavior: contain; }
.dr-label { margin-block: 24px 4px; font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--text-muted); }
.dr-group { border-block-end: 1px solid var(--line); }
.dr-group summary { display: flex; align-items: center; justify-content: space-between; min-block-size: 56px; font-size: 16px; font-weight: 700; color: var(--navy-900); cursor: pointer; list-style: none; }
.dr-group summary::-webkit-details-marker, .acc summary::-webkit-details-marker, .svc-item summary::-webkit-details-marker { display: none; }
.dr-group ul { padding-block-end: 12px; }
.dr-group li a { display: block; padding: 10px 0 10px 16px; border-inline-start: 1px solid var(--line); font-size: 15px; line-height: 1.6; }
.dr-group li a span { display: block; font-size: 12px; color: var(--text-muted); }
.dr-links { margin-block-start: 8px; }
.dr-link { display: flex; align-items: center; justify-content: space-between; min-block-size: 52px; border-block-end: 1px solid var(--line); font-size: 15px; font-weight: 500; }
.dr-foot { padding: 12px var(--gut) calc(12px + env(safe-area-inset-bottom)); border-block-start: 1px solid var(--line); }
details > summary .ic-minus, details[open] > summary .ic-plus { display: none; }
details[open] > summary .ic-minus { display: block; }
.seg { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-block-start: 8px; }
.seg a { display: flex; align-items: center; justify-content: center; min-block-size: 44px; border: 1px solid var(--line); border-radius: var(--r-sm); font-size: 14px; }
.seg a.is-current { border-color: var(--navy-900); background: var(--navy-900); color: #FFF; font-weight: 700; }
body.is-locked { overflow: hidden; }

/* ---------------------------------------------------------------- home: hero */
.hero { position: relative; overflow: hidden; border-block-end: 1px solid var(--line); }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; align-items: start; padding-block: 112px; }
.hero .h1 { margin-block: 24px 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-block-start: 44px; }

@media (max-width: 1099px) { .hero-in { grid-template-columns: 1fr; gap: 48px; padding-block: 88px; } .paths { max-inline-size: 640px; } }
@media (max-width: 767px) {
  .hero-in { padding-block: 40px 48px; gap: 36px; }
  .hero .h1 { margin-block: 16px 16px; }
  .hero-ctas { flex-direction: column; gap: 12px; margin-block-start: 28px; }
  .hero-ctas .btn { inline-size: 100%; }
}

/* ---------------------------------------------------------------- home: sections */
.sec { position: relative; padding-block: var(--sec); }
.sec-tight { padding-block: calc(var(--sec) * .85); }
.sec-surface { background: var(--surface); }
.sec-dark { background: var(--navy-900); color: #FFF; overflow: hidden; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-block-end: 56px; }
.sec-head > :first-child { flex-shrink: 0; }
.sec-intro { max-inline-size: 520px; font-size: 15px; line-height: 1.85; color: var(--text-2); }
.sec-dark .sec-intro { color: var(--inv-soft); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 80px; align-items: start; }
.two-col .h2i { margin-block-end: 28px; }
.deps { padding: 32px; }
.deps figcaption { font-size: 12px; font-weight: 500; letter-spacing: .14em; color: var(--text-2); margin-block-end: 20px; }
.deps ul { display: grid; gap: 12px; }
.deps li { display: grid; grid-template-columns: 1fr 28px 20px 1fr; align-items: center; }
.dep-a, .dep-b { padding: 14px 16px; font-size: 15px; font-weight: 700; line-height: 1.5; }
.dep-a { border: 1px solid var(--line); background: #FFF; color: var(--navy-900); }
.dep-b { background: var(--navy-900); color: #FFF; }
.dep-line { block-size: 1px; background: var(--line-strong); }
.deps li > .ic { color: var(--navy-900); margin-inline-start: -6px; }
.deps-note { margin-block-start: 24px; padding: 16px 18px; border-inline-start: 2px solid var(--blue-600); background: var(--surface); font-size: 14px; line-height: 1.75; color: var(--text-2); }

.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-block-start: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.svc-cell { border-inline-end: 1px solid var(--line); border-block-end: 1px solid var(--line); }
.svc-cell a { position: relative; display: flex; flex-direction: column; gap: 12px; block-size: 100%; padding: 32px 28px 28px; transition: background .2s; }
.svc-cell a::before { content: ""; position: absolute; inset-inline: 0; inset-block-start: -1px; block-size: 2px; background: var(--navy-900); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.svc-cell a:hover { background: var(--surface); }
.svc-cell a:hover::before { transform: scaleX(1); }
.svc-cell .ic:first-child { color: var(--navy-900); margin-block-end: 8px; }
.svc-cell h3 { font-size: 18px; line-height: 1.6; font-weight: 700; color: var(--navy-900); }
.svc-cell p { flex: 1; font-size: 14px; line-height: 1.8; color: var(--text-2); }
.svc-cell .link { margin-block-start: 8px; }

.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 48px; margin-block-start: 56px; }
.reasons li { padding-block: 28px; border-block-start: 1px solid var(--navy-900); }
.num { display: block; font-family: var(--font-latin); font-size: 14px; font-weight: 600; letter-spacing: .1em; color: var(--blue-600); margin-block-end: 16px; }
.reasons h3 { font-size: 19px; line-height: 1.6; font-weight: 700; color: var(--navy-900); margin-block-end: 12px; }
.reasons p { font-size: 15px; line-height: 1.85; color: var(--text-2); }

.steps-h { display: grid; grid-template-columns: repeat(var(--n, 6), 1fr); gap: 24px; counter-reset: s; }
.steps-h li { position: relative; }
.steps-h li::before { content: ""; position: absolute; inset-block-start: 20px; inset-inline-start: 48px; inset-inline-end: -16px; block-size: 1px; background: var(--line-strong); }
.steps-h li:last-child::before { display: none; }
.step-n { display: inline-flex; align-items: center; justify-content: center; inline-size: 40px; block-size: 40px; border: 1px solid var(--navy-900); border-radius: 50%;
  background: #FFF; font-family: var(--font-latin); font-size: 14px; font-weight: 600; color: var(--navy-900); flex-shrink: 0; }
.steps-h li:first-child .step-n { background: var(--navy-900); color: #FFF; }
.steps-h h3 { font-size: 15px; line-height: 1.6; font-weight: 700; color: var(--navy-900); margin-block: 20px 8px; }
.steps-h p { font-size: 13px; line-height: 1.75; color: var(--text-2); }

.who { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; margin-block-start: 48px; }
.who li, .checks li { display: flex; gap: 14px; align-items: flex-start; padding-block: 18px; border-block-end: 1px solid var(--line); font-size: 16px; line-height: 1.75; }
.who li .ic, .checks li .ic { color: var(--blue-600); margin-block-start: 3px; }

.experts { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.experts li { padding: 24px 20px; border: 1px solid rgba(255,255,255,.14); background: var(--navy-800); }
.ex-ic { display: inline-flex; color: var(--inv-muted); margin-block-end: 20px; }
.ex-dom { font-size: 12px; letter-spacing: .1em; color: var(--inv-muted); line-height: 1.6; }
.ex-role { font-size: 16px; font-weight: 700; line-height: 1.6; margin-block-start: 4px; }

.faq-grid { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 80px; align-items: start; }
.faq-grid > div:first-child { position: sticky; inset-block-start: calc(var(--hdr) + 40px); }
.faq-grid .sec-intro { margin-block: 20px 28px; }

@media (max-width: 1099px) {
  .two-col, .faq-grid { grid-template-columns: 1fr; gap: 48px; }
  .faq-grid > div:first-child { position: static; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .reasons { grid-template-columns: 1fr; }
  .steps-h { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .steps-h li:nth-child(3n)::before { display: none; }
  .experts { grid-template-columns: repeat(3, 1fr); }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 20px; margin-block-end: 40px; }
}
@media (max-width: 767px) {
  .sec-head { margin-block-end: 28px; gap: 12px; }
  .sec-intro { font-size: 14px; line-height: 1.8; }
  .two-col { gap: 32px; }
  .two-col .h2i { margin-block-end: 20px; }
  .deps { padding: 24px 18px; }
  .deps li { grid-template-columns: 1fr 12px 16px 1fr; }
  .dep-a, .dep-b { padding: 12px; font-size: 13px; }
  .svc-grid { grid-template-columns: 1fr; border-inline-start: 0; border-block-start: 0; }
  .svc-cell { border-inline-end: 0; }
  .svc-cell a { display: grid; grid-template-columns: 28px 1fr 20px; column-gap: 16px; row-gap: 2px; padding: 18px 0; }
  .svc-cell a::before { display: none; }
  .svc-cell .ic:first-child { grid-row: 1 / span 2; margin: 2px 0 0; inline-size: 24px; block-size: 24px; }
  .svc-cell h3 { font-size: 16px; }
  .svc-cell p { grid-column: 2; font-size: 13px; line-height: 1.6; }
  .svc-cell .link { grid-column: 3; grid-row: 1 / span 2; align-self: center; margin: 0; font-size: 0; gap: 0; }
  .svc-cell:first-child { border-block-start: 1px solid var(--line); }
  .reasons { margin-block-start: 28px; }
  .reasons li { padding-block: 20px; display: grid; grid-template-columns: 36px 1fr; }
  .reasons .num { grid-row: 1 / span 2; margin: 3px 0 0; font-size: 13px; }
  .reasons h3 { font-size: 16px; margin-block-end: 6px; }
  .reasons p { font-size: 14px; line-height: 1.8; }
  .steps-h { grid-template-columns: 1fr; gap: 0; }
  .steps-h li { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; padding-block-end: 24px; }
  .steps-h li::before, .steps-h li:nth-child(3n)::before { display: block; inset-block: 44px 4px; inset-inline-start: 20px; inset-inline-end: auto; inline-size: 1px; block-size: auto; }
  .steps-h li:last-child::before { display: none; }
  .steps-h .step-n { grid-row: 1 / span 2; }
  .steps-h h3 { margin-block: 8px 4px; }
  .who { grid-template-columns: 1fr; margin-block-start: 24px; }
  .who li, .checks li { font-size: 15px; padding-block: 14px; gap: 12px; }
  .experts { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .experts li { padding: 16px; }
  .ex-ic { margin-block-end: 12px; }
  .ex-role { font-size: 15px; }
  .faq-grid { gap: 24px; }
  .faq-grid .btn-s { display: none; }
  .faq-grid .sec-intro { margin-block: 12px 0; }
}

/* ---------------------------------------------------------------- accordion */
.acc { border-block-end: 1px solid var(--line); }
.acc:first-child { border-block-start: 1px solid var(--line); }
.acc summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-block: 24px; cursor: pointer; list-style: none; }
.acc summary h3 { font-size: 17px; line-height: 1.7; font-weight: 700; color: var(--navy-900); }
.acc summary .ic { margin-block-start: 4px; color: var(--navy-900); }
.acc summary:hover h3 { color: var(--blue-600); }
.acc-body { padding-block-end: 24px; padding-inline-end: 44px; }
.acc-body p { font-size: 15px; line-height: 1.9; color: var(--text-2); }
@media (max-width: 767px) {
  .acc summary { padding-block: 18px; gap: 16px; }
  .acc summary h3 { font-size: 15px; line-height: 1.7; }
  .acc-body { padding-inline-end: 0; padding-block-end: 20px; }
  .acc-body p { font-size: 14px; line-height: 1.85; }
}

/* ---------------------------------------------------------------- CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--navy-900); color: #FFF; }
.cta-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 48px; padding-block: 88px; }
.cta-h { font-size: 34px; line-height: 1.47; font-weight: 500; }
.cta-in p { margin-block-start: 16px; font-size: 16px; line-height: 1.85; color: var(--inv-soft); max-inline-size: 560px; }
.cta-btns { display: flex; gap: 16px; flex-shrink: 0; }
@media (max-width: 1099px) { .cta-in { flex-direction: column; align-items: flex-start; } }
@media (max-width: 767px) {
  .cta-in { padding-block: 56px; gap: 28px; }
  .cta-h { font-size: 24px; }
  .cta-in p { font-size: 14px; }
  .cta-btns { flex-direction: column; inline-size: 100%; gap: 12px; }
  .cta-btns .btn { inline-size: 100%; }
}

/* ---------------------------------------------------------------- page head / breadcrumbs */
.phead { position: relative; overflow: hidden; border-block-end: 1px solid var(--line); padding-block: 32px 72px; }
.phead .wrap { position: relative; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 13px; color: var(--text-muted); }
.crumbs li + li::before { content: "/"; margin-inline: 10px; color: var(--line-strong); }
.crumbs a:hover { color: var(--blue-600); text-decoration: underline; }
.phead-in { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-block-start: 56px; }
.phead-main { max-inline-size: 800px; }
.phead .h1 { margin-block: 20px 24px; }
.phead-in > .btn { flex-shrink: 0; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-block-start: 28px; font-size: 13px; color: var(--text-muted); }
.meta div { display: flex; gap: 8px; }
.meta dt::after { content: "："; }
html:not(:lang(ja)):not(:lang(zh-Hans)):not(:lang(zh-Hant)) .meta dt::after { content: ":"; }
.meta dd { color: var(--text-2); }
.phead-s .h1 { margin-block: 48px 20px; }
.nf { padding-block: 120px; text-align: center; }
.nf .lead { margin-inline: auto; margin-block-end: 32px; }
@media (max-width: 899px) { .phead-in { flex-direction: column; align-items: flex-start; margin-block-start: 36px; } }
@media (max-width: 767px) {
  .phead { padding-block: 16px 40px; }
  .crumbs ol { font-size: 12px; }
  .phead-in { margin-block-start: 24px; gap: 28px; }
  .phead .h1 { margin-block: 14px 16px; }
  .phead-in > .btn { inline-size: 100%; }
  .meta { margin-block-start: 20px; font-size: 12px; }
  .phead-s .h1 { margin-block: 28px 12px; }
  .nf { padding-block: 72px; }
}

/* ---------------------------------------------------------------- service layout */
.layout { display: grid; grid-template-columns: 232px minmax(0, 1fr) 272px; gap: 56px; align-items: start; padding-block: 64px var(--sec); }
.toc { position: sticky; inset-block-start: calc(var(--hdr) + 32px); max-block-size: calc(100vh - var(--hdr) - 64px); overflow-y: auto; scrollbar-width: thin; }
.toc-sheet-hdr { display: none; }
.toc-title { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--navy-900); padding-block-end: 12px; border-block-end: 1px solid var(--navy-900); }
.toc ol { counter-reset: none; }
.toc > ol > li > a { display: block; padding: 10px 0 10px 14px; border-inline-start: 2px solid transparent; font-size: 14px; line-height: 1.6; color: var(--text-2); transition: color .15s, border-color .15s; }
.toc > ol { border-inline-start: 1px solid var(--line); margin-block-start: 12px; }
.toc > ol > li > a { margin-inline-start: -1px; }
.toc li ol a { display: block; padding: 6px 0 6px 28px; font-size: 13px; line-height: 1.6; color: var(--text-muted); }
.toc a:hover { color: var(--navy-900); }
.toc a.is-active { color: var(--navy-900); font-weight: 700; border-inline-start-color: var(--navy-900); }
.toc li ol a.is-active { color: var(--blue-600); font-weight: 500; }
.toc-prog { block-size: 2px; background: var(--line); margin-block-start: 20px; }
.toc-prog i, .tb-prog i { display: block; block-size: 100%; inline-size: 0; background: var(--blue-600); transition: inline-size .1s linear; }
.toc-pct { margin-block-start: 8px; font-size: 12px; color: var(--text-muted); font-family: var(--font-latin), var(--font); }

.content { min-inline-size: 0; }
.key { padding: 24px 28px; background: var(--surface); border-block-start: 2px solid var(--navy-900); margin-block-end: 24px; }
.key-h { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--navy-900); margin-block-end: 8px; }
.key li { display: flex; gap: 12px; padding-block: 8px; font-size: 15px; line-height: 1.75; }
.key li .ic { color: var(--blue-600); margin-block-start: 4px; }
.blk { padding-block: 56px; border-block-end: 1px solid var(--line); }
.blk:last-child { border-block-end: 0; }
.blk > .h2i { margin-block-end: 28px; }
.blk-s { padding-block: 28px; }
.blk-s:first-child { padding-block-start: 0; }
.content .h2i { font-size: 28px; }

.tbl-wrap { overflow-x: auto; margin-block-start: 28px; border: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
.tbl { inline-size: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.75; }
.tbl th, .tbl td { padding: 14px 18px; text-align: start; vertical-align: top; border-block-end: 1px solid var(--line); }
.tbl thead th { background: var(--navy-900); color: #FFF; font-size: 13px; font-weight: 700; white-space: nowrap; }
.tbl tbody th { font-weight: 700; color: var(--navy-900); min-inline-size: 140px; }
.tbl tbody tr:nth-child(even) > * { background: var(--surface); }
.tbl tbody tr:last-child > * { border-block-end: 0; }
.scroll-hint { display: none; }

.steps-v { margin-block-start: 8px; }
.steps-v li { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 20px; padding-block-end: 28px; }
.steps-v li::before { content: ""; position: absolute; inset-inline-start: 20px; inset-block: 44px 4px; inline-size: 1px; background: var(--line-strong); }
.steps-v li:last-child { padding-block-end: 0; }
.steps-v li:last-child::before { display: none; }
.steps-v li:first-child .step-n { background: var(--navy-900); color: #FFF; }
.steps-v h3 { font-size: 17px; line-height: 1.6; font-weight: 700; color: var(--navy-900); margin-block: 7px 6px; }
.steps-v p { font-size: 15px; line-height: 1.85; color: var(--text-2); }

.svc-list { border-block-start: 1px solid var(--line); }
.svc-item { border-block-end: 1px solid var(--line); }
.svc-item summary { display: flex; align-items: center; gap: 16px; padding-block: 22px 0; list-style: none; cursor: default; pointer-events: none; }
.svc-item summary > .ic, .svc-item[open] summary > .ic-minus { display: none; }
.sico { display: inline-flex; align-items: center; justify-content: center; inline-size: 40px; block-size: 40px; background: var(--blue-50); color: var(--navy-900); border-radius: var(--r-sm); flex-shrink: 0; }
.svc-item h3 { font-size: 17px; line-height: 1.6; font-weight: 700; color: var(--navy-900); flex: 1; }
.svc-body { padding: 10px 0 24px 56px; }
.svc-body p { font-size: 15px; line-height: 1.85; color: var(--text-2); }
.svc-body .link { margin-block-start: 10px; }

.merits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
.merits li { padding-block: 20px; border-block-start: 1px solid var(--navy-900); }
.merits .num { margin-block-end: 8px; }
.merits p { font-size: 15px; line-height: 1.85; }

.fees { inline-size: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.7; border-block-start: 1px solid var(--navy-900); }
.fees th, .fees td { padding: 16px 0; border-block-end: 1px solid var(--line); text-align: start; vertical-align: top; }
.fees thead th { font-size: 12px; font-weight: 500; letter-spacing: .1em; color: var(--text-muted); padding-block: 12px; }
.fees tbody th { font-weight: 500; padding-inline-end: 24px; }
.fees td { text-align: end; color: var(--navy-900); font-weight: 700; white-space: nowrap; }
.fees + .link { margin-block-start: 20px; }

.arts li a, .rel li a { display: flex; align-items: center; gap: 12px; padding-block: 16px; border-block-end: 1px solid var(--line); font-size: 15px; font-weight: 500; }
.arts li a span, .rel li a span { flex: 1; }
.arts li a .ic:last-child, .rel li a .ic { color: var(--blue-600); transition: transform .2s var(--ease); }
.arts li a:hover .ic:last-child, .rel li a:hover .ic { transform: translateX(4px); }
.rel { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; border-block-start: 1px solid var(--line); }
.rel li a { font-weight: 700; color: var(--navy-900); }

.rail { position: sticky; inset-block-start: calc(var(--hdr) + 32px); display: grid; gap: 16px; }
.rail-cta { position: relative; overflow: hidden; padding: 28px 24px 24px; background: var(--navy-900); color: #FFF; display: grid; gap: 12px; }
.rail-cta-h { display: flex; gap: 10px; align-items: flex-start; font-size: 18px; line-height: 1.6; font-weight: 500; }
.rail-cta-h .ic { margin-block-start: 3px; color: var(--inv-soft); }
.rail-cta > p:not(.rail-cta-h) { font-size: 13px; line-height: 1.75; color: var(--inv-soft); margin-block-end: 8px; }

.toc-bar { display: none; }

@media (max-width: 1279px) { .layout { grid-template-columns: 216px minmax(0, 1fr) 248px; gap: 40px; } }
@media (max-width: 1099px) {
  .layout { grid-template-columns: 216px minmax(0, 1fr); }
  .rail { display: none; }
}
@media (max-width: 899px) {
  .layout { grid-template-columns: 1fr; padding-block-start: 0; }
  .toc-bar { position: sticky; inset-block-start: var(--hdr); z-index: 40; display: block; background: #FFF; border-block-end: 1px solid var(--line); }
  .toc-bar button { display: flex; align-items: center; gap: 12px; inline-size: 100%; block-size: 48px; padding-inline: var(--gut) 12px; text-align: start; }
  .tb-label { font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--navy-900); padding-inline-end: 12px; border-inline-end: 1px solid var(--line); line-height: 14px; flex-shrink: 0; }
  .tb-cur { flex: 1; min-inline-size: 0; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tb-prog { display: block; block-size: 2px; background: var(--line); }
  .toc { position: fixed; inset: auto 0 0 0; z-index: 90; max-block-size: 82vh; padding: 0 var(--gut) calc(24px + env(safe-area-inset-bottom)); background: #FFF;
    border-radius: 12px 12px 0 0; box-shadow: 0 -16px 48px rgba(6,23,51,.2); transform: translateY(105%); visibility: hidden; transition: transform .28s var(--ease), visibility 0s .28s; }
  .toc.is-open { transform: none; visibility: visible; transition: transform .28s var(--ease); }
  .toc-sheet-hdr { position: sticky; inset-block-start: 0; display: flex; align-items: center; justify-content: space-between; block-size: 56px; background: #FFF; border-block-end: 1px solid var(--line); margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut) 8px; }
  .toc-sheet-hdr p { font-size: 15px; font-weight: 700; color: var(--navy-900); }
  .toc-title { display: none; }
  .toc > ol { border: 0; margin-block-start: 8px; }
  .toc > ol > li > a { min-block-size: 48px; display: flex; align-items: center; padding: 10px 12px; border-inline-start: 0; border-block-end: 1px solid var(--line); font-size: 15px; }
  .toc > ol > li > a.is-active { background: var(--blue-50); }
  .toc li ol a { padding-inline-start: 24px; min-block-size: 40px; display: flex; align-items: center; }
  .toc-scrim { position: fixed; inset: 0; z-index: 85; background: rgba(6,23,51,.4); }
}
@media (max-width: 767px) {
  .content .h2i { font-size: 22px; }
  .key { padding: 18px 16px; margin-block: 24px 0; }
  .key li { font-size: 14px; }
  .blk { padding-block: 40px; }
  .blk > .h2i { margin-block-end: 20px; }
  .tbl-wrap { margin-inline: calc(var(--gut) * -1); border-inline: 0; }
  .tbl { min-inline-size: 560px; font-size: 13px; }
  .tbl.cols-2 { min-inline-size: 0; }
  .tbl th, .tbl td { padding: 12px 14px; }
  .tbl tbody th { min-inline-size: 112px; position: sticky; inset-inline-start: 0; z-index: 1; border-inline-end: 1px solid var(--line); background: #FFF; }
  .tbl tbody tr:nth-child(even) > th { background: var(--surface); }
  .scroll-hint { display: flex; align-items: center; gap: 6px; justify-content: flex-end; margin-block-start: 8px; font-size: 11px; color: var(--text-muted); }
  .steps-v li { gap: 16px; padding-block-end: 24px; }
  .steps-v h3 { font-size: 16px; }
  .steps-v p { font-size: 14px; }
  .svc-item summary { padding-block: 16px; pointer-events: auto; cursor: pointer; gap: 12px; }
  .svc-item summary > .ic { color: var(--navy-900); }
  .svc-item:not([open]) summary > .ic-plus, .svc-item[open] summary > .ic-minus { display: block; }
  .sico { inline-size: 36px; block-size: 36px; }
  .svc-item h3 { font-size: 15px; }
  .svc-body { padding: 0 0 20px 48px; }
  .svc-body p { font-size: 14px; }
  .merits, .rel { grid-template-columns: 1fr; }
  .merits li { display: grid; grid-template-columns: 36px 1fr; padding-block: 16px; }
  .merits .num { margin: 2px 0 0; font-size: 13px; }
  .merits p { font-size: 14px; }
  .fees { font-size: 14px; }
  .fees td { white-space: normal; min-inline-size: 104px; }
}

/* ---------------------------------------------------------------- about / policy / info lists */
.info { border-block-start: 1px solid var(--navy-900); margin-block-start: 8px; }
.info div { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding-block: 16px; border-block-end: 1px solid var(--line); font-size: 15px; line-height: 1.75; }
.info dt { font-weight: 700; color: var(--navy-900); }
.bans li { display: flex; gap: 16px; padding-block: 20px; border-block-end: 1px solid var(--line); font-size: 16px; line-height: 1.8; }
.bans li:first-child { border-block-start: 1px solid var(--navy-900); }
.bans .ic { color: var(--navy-900); margin-block-start: 3px; }
.narrow > .callout:first-child { margin-block: 32px 0; }
@media (max-width: 767px) {
  .info div { grid-template-columns: 1fr; gap: 2px; font-size: 14px; padding-block: 14px; }
  .bans li { font-size: 15px; gap: 12px; padding-block: 16px; }
}

/* ---------------------------------------------------------------- contact form */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 80px; align-items: start; padding-block: 56px var(--sec); }
.form { display: grid; gap: 24px; }
.fld { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-inline-size: 0; }
.fld > span, .fld legend { font-size: 14px; font-weight: 700; color: var(--navy-900); padding: 0; }
.req { margin-inline-start: 8px; font-size: 11px; font-weight: 700; color: var(--error); letter-spacing: .04em; }
.fld input, .fld select, .fld textarea { inline-size: 100%; min-block-size: 52px; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: #FFF; font-size: 16px; line-height: 1.6; transition: border-color .15s, box-shadow .15s; }
.fld textarea { resize: vertical; min-block-size: 160px; }
.fld select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230B2447' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-inline-end: 44px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--navy-900); box-shadow: 0 0 0 3px rgba(31,91,216,.18); }
.fld .is-invalid, .fld input[aria-invalid="true"], .fld textarea[aria-invalid="true"] { border-color: var(--error); }
.fld-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inline-size: 1px; block-size: 1px; }
.chip span { display: inline-flex; align-items: center; min-block-size: 44px; padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 14px; cursor: pointer; transition: all .15s; }
.chip input:checked + span { background: var(--navy-900); border-color: var(--navy-900); color: #FFF; }
.chip input:focus-visible + span { outline: 2px solid var(--blue-600); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.7; }
.consent input { inline-size: 20px; block-size: 20px; margin: 2px 0 0; accent-color: var(--navy-900); flex-shrink: 0; }
.consent a { color: var(--text-link); text-decoration: underline; }
.form > .btn { justify-self: start; min-inline-size: 240px; }
.form > .btn[disabled] { opacity: .6; cursor: progress; }
.form-msg { font-size: 15px; line-height: 1.7; }
.form-msg:empty { display: none; }
.form-msg.is-ok { padding: 16px 20px; background: var(--blue-50); border-inline-start: 2px solid var(--blue-600); color: var(--navy-900); }
.form-msg.is-err { padding: 16px 20px; background: #FEF3F2; border-inline-start: 2px solid var(--error); color: var(--error); }
.hp { position: absolute; inset-inline-start: -9999px; inline-size: 1px; block-size: 1px; overflow: hidden; }
.contact-side { position: sticky; inset-block-start: calc(var(--hdr) + 32px); padding: 32px; background: var(--surface); }
.side-h { font-size: 18px; font-weight: 700; color: var(--navy-900); margin-block-end: 20px; }
.side-h + .info { margin-block-start: 0; }
.steps-s + .side-h { margin-block-start: 40px; }
.steps-s h3 { font-size: 15px; margin-block: 8px 2px; }
.steps-s p { font-size: 13px; line-height: 1.75; }
.steps-s li { padding-block-end: 20px; gap: 16px; }
.contact-side .info div { grid-template-columns: 96px 1fr; gap: 12px; font-size: 14px; padding-block: 12px; }
@media (max-width: 1099px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } .contact-side { position: static; } }
@media (max-width: 767px) {
  .contact-grid { padding-block-start: 32px; }
  .fld-row { grid-template-columns: 1fr; gap: 24px; }
  .form > .btn { inline-size: 100%; justify-self: stretch; }
  .contact-side { padding: 24px 20px; margin-inline: calc(var(--gut) * -1); }
}

/* ---------------------------------------------------------------- footer */
.ft { background: var(--navy-950); color: #FFF; padding-block: 80px 40px; }
.ft-top { display: grid; grid-template-columns: 1.4fr repeat(5, 1fr); gap: 40px; }
.ft-brand p { margin-block-start: 16px; font-size: 14px; line-height: 1.8; color: var(--inv-muted); max-inline-size: 260px; }
.ft-label { font-size: 12px; font-weight: 500; letter-spacing: .14em; color: var(--inv-muted); margin-block-end: 12px; }
.ft-col li a { display: inline-block; padding-block: 6px; font-size: 14px; line-height: 1.6; color: #FFF; }
.ft-col li a:hover { color: var(--inv-soft); text-decoration: underline; }
.ft-langs { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-block-start: 56px; padding-block: 20px; border-block: 1px solid rgba(255,255,255,.14); font-size: 13px; }
.ft-langs a { color: var(--inv-muted); }
.ft-langs a[aria-current] { color: #FFF; font-weight: 700; }
.ft-bottom { display: flex; justify-content: space-between; gap: 48px; margin-block-start: 28px; font-size: 12px; line-height: 1.8; color: var(--inv-muted); }
.ft-legal { max-inline-size: 820px; }
@media (max-width: 1099px) { .ft-top { grid-template-columns: repeat(3, 1fr); } .ft-brand { grid-column: 1 / -1; } }
@media (max-width: 767px) {
  .ft { padding-block: 56px calc(96px + env(safe-area-inset-bottom)); }
  .ft-top { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .ft-langs { margin-block-start: 40px; }
  .ft-bottom { flex-direction: column; gap: 16px; }
}

/* ---------------------------------------------------------------- mobile bottom bar + AI */
.bbar { display: none; }
@media (max-width: 767px) {
  .bbar { position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 60; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.97); border-block-start: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    transform: translateY(110%); transition: transform .25s var(--ease); }
  .bbar.is-on { transform: none; }
  .bbar-main { flex: 1; min-block-size: 48px; padding-inline: 12px; font-size: 14px; }
  .bbar-sq { display: inline-flex; align-items: center; justify-content: center; inline-size: 52px; min-block-size: 48px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--navy-900); font-size: 10px; font-weight: 700; font-family: var(--font-latin); }
  .ai-fab { display: none !important; }
}
.ai-fab { position: fixed; inset-inline-end: 24px; inset-block-end: 24px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; block-size: 48px; padding-inline: 20px;
  background: var(--navy-900); color: #FFF; border-radius: 24px; font-size: 14px; font-weight: 700; box-shadow: 0 8px 24px rgba(6,23,51,.18); transition: transform .2s, background .2s; }
.ai-fab:hover { background: var(--navy-700); transform: translateY(-2px); }
.ai { position: fixed; inset-inline-end: 24px; inset-block-end: 88px; z-index: 70; display: flex; flex-direction: column; inline-size: 380px; max-block-size: min(620px, calc(100vh - 120px));
  background: #FFF; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 24px 64px rgba(6,23,51,.22); overflow: hidden; }
.ai[hidden] { display: none; }
.ai-hdr { display: flex; align-items: center; gap: 12px; padding: 12px 8px 12px 16px; background: var(--navy-900); color: #FFF; }
.ai-hdr > div { flex: 1; }
.ai-hdr .menu-btn { display: inline-flex; color: #FFF; }
.ai-badge { display: inline-flex; align-items: center; justify-content: center; inline-size: 36px; block-size: 36px; border-radius: 50%; background: rgba(255,255,255,.12); }
.ai-title { font-size: 15px; font-weight: 700; line-height: 1.4; }
.ai-sub { font-size: 12px; color: var(--inv-muted); line-height: 1.4; }
.ai-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; background: var(--surface); }
.ai-msg { max-inline-size: 88%; padding: 12px 14px; border-radius: 8px; font-size: 14px; line-height: 1.75; white-space: pre-line; }
.ai-bot { align-self: flex-start; background: #FFF; border: 1px solid var(--line); border-start-start-radius: 2px; }
.ai-user { align-self: flex-end; background: var(--navy-900); color: #FFF; border-start-end-radius: 2px; }
.ai-msg a { color: var(--text-link); text-decoration: underline; font-weight: 700; }
.ai-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ai-chips button { min-block-size: 36px; padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: #FFF; font-size: 13px; color: var(--navy-900); }
.ai-chips button:hover { border-color: var(--navy-900); }
.ai-note { font-size: 11px; line-height: 1.6; color: var(--text-muted); }
.ai-form { display: flex; gap: 8px; padding: 12px; border-block-start: 1px solid var(--line); }
.ai-form input { flex: 1; min-inline-size: 0; min-block-size: 44px; padding-inline: 14px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); font-size: 16px; }
.ai-form input:focus { outline: none; border-color: var(--navy-900); }
.ai-form button { inline-size: 44px; block-size: 44px; display: inline-flex; align-items: center; justify-content: center; background: var(--navy-900); color: #FFF; border-radius: var(--r-sm); }
@media (max-width: 767px) {
  .ai { inset: auto 0 0 0; inline-size: auto; max-block-size: 86vh; border-radius: 12px 12px 0 0; padding-block-end: env(safe-area-inset-bottom); }
}

/* ---------------------------------------------------------------- reveal */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media print {
  .hdr, .drawer, .toc, .toc-bar, .rail, .bbar, .ai, .ai-fab, .cta-band, .ft { display: none !important; }
  .layout { display: block; }
  details > * { display: block !important; }
}

.two-col .hgroup { margin-block-end: 28px; }
.two-col .hgroup .h2i { margin: 0; }
@media (max-width: 767px) { .two-col .hgroup { margin-block-end: 20px; } }

/* ---------------------------------------------------------------- fees: quote request */
.quote-box { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 28px; background: var(--surface); border-inline-start: 2px solid var(--navy-900); }
.quote-box p { font-size: 15px; line-height: 1.8; color: var(--text-2); max-inline-size: 520px; }
.quote-box .btn { flex-shrink: 0; }
.quote-box p { flex: 1; min-inline-size: 0; }
.quote-lg { padding: 32px; }
.quote-lg p { font-size: 17px; color: var(--navy-900); font-weight: 500; }
@media (max-width: 767px) {
  .quote-box { flex-direction: column; align-items: stretch; padding: 20px 20px 24px; gap: 24px; }
  .quote-box .btn { inline-size: 100%; }
  .quote-lg p { font-size: 15px; }
}

/* ---------------------------------------------------------------- blog: shared */
.sr-only { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.blog-head .eyebrow { margin-block-start: 40px; }
.blog-head .h1 { margin-block: 12px 16px; }
.blog-head .link { margin-block-start: 20px; }
.blog-pageno { margin-block-start: 40px; }
.blog-bar { position: sticky; inset-block-start: var(--hdr); z-index: 30; background: rgba(255,255,255,.97); border-block-end: 1px solid var(--line); }
.blog-bar-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topic-nav { min-inline-size: 0; overflow-x: auto; scrollbar-width: none; }
.topic-nav::-webkit-scrollbar { display: none; }
.topic-nav ul { display: flex; gap: 28px; white-space: nowrap; }
.topic-nav a { position: relative; display: inline-flex; align-items: center; gap: 6px; block-size: 56px; font-size: 14px; color: var(--text-2); }
.topic-nav a span { font-family: var(--font-latin); font-size: 11px; color: var(--text-muted); }
.topic-nav a::after { content: ""; position: absolute; inset-inline: 0; inset-block-end: -1px; block-size: 2px; background: var(--navy-900); transform: scaleX(0); transition: transform .2s var(--ease); }
.topic-nav a:hover, .topic-nav a[aria-current] { color: var(--navy-900); }
.topic-nav a[aria-current] { font-weight: 700; }
.topic-nav a:hover::after, .topic-nav a[aria-current]::after { transform: scaleX(1); }
.blog-search { display: flex; flex-shrink: 0; inline-size: 260px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); }
.blog-search input { flex: 1; min-inline-size: 0; block-size: 40px; padding-inline: 12px; border: 0; background: transparent; font-size: 14px; }
.blog-search input:focus { outline: none; }
.blog-search:focus-within { border-color: var(--navy-900); }
.blog-search button { display: inline-flex; align-items: center; justify-content: center; inline-size: 40px; color: var(--navy-900); }
.blog-wrap { padding-block: 56px var(--sec); }
.blog-empty { padding: 48px 0; font-size: 16px; color: var(--text-muted); }
.blog-sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding-block-end: 16px; margin-block: 72px 32px; border-block-end: 1px solid var(--navy-900); }
.blog-sec-h h2 { font-size: 24px; line-height: 1.5; font-weight: 500; color: var(--navy-900); }
.blog-wrap > .blog-sec-h:first-child, .related .blog-sec-h { margin-block-start: 0; }

/* aura: navy panel with contour rings and the topic icon — used when a post has no image */
.aura { position: relative; display: flex; align-items: center; justify-content: center; inline-size: 100%; block-size: 100%; overflow: hidden; color: rgba(255,255,255,.9);
  background: radial-gradient(120% 90% at 85% 15%, var(--navy-700) 0%, var(--navy-900) 55%, var(--navy-950) 100%); }
.aura::before { content: ""; position: absolute; inset: -40%; background: repeating-radial-gradient(circle at 78% 22%, transparent 0 34px, rgba(255,255,255,.08) 34px 35px); }
.aura svg { position: relative; inline-size: 40px; block-size: 40px; stroke-width: 1.25; }

/* cards */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 32px; }
.post-card { display: flex; flex-direction: column; }
.pc-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface); }
.pc-media img { inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .pc-media img { transform: scale(1.03); }
.pc-body { display: flex; flex-direction: column; gap: 8px; padding-block-start: 20px; flex: 1; }
.pc-topic { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--blue-600); }
.pc-title { font-size: 19px; line-height: 1.6; font-weight: 700; color: var(--navy-900); }
.pc-title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ease); }
.post-card:hover .pc-title a, .pc-title a:focus-visible { background-size: 100% 1px; }
.pc-ex { font-size: 14px; line-height: 1.8; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pc-meta { display: flex; gap: 8px; margin-block-start: auto; padding-block-start: 8px; font-size: 12px; color: var(--text-muted); font-family: var(--font-latin), var(--font); }

/* featured */
.post-feat { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; padding-block-end: 56px; border-block-end: 1px solid var(--line); }
.pf-body { display: flex; flex-direction: column; gap: 12px; }
.pf-body .eyebrow { margin-block-end: 8px; }
.pf-title { font-size: 32px; line-height: 1.5; font-weight: 500; letter-spacing: .01em; color: var(--navy-900); }
.pf-title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.pf-ex { font-size: 16px; line-height: 1.85; color: var(--text-2); }
.pf-body .link { margin-block-start: 12px; }
.pf-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.pf-media img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.pf-media .aura svg { inline-size: 64px; block-size: 64px; }

/* topics */
.topic-grid ul { display: grid; grid-template-columns: repeat(4, 1fr); border-block-start: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.topic-grid li { border-inline-end: 1px solid var(--line); border-block-end: 1px solid var(--line); }
.topic-grid a { display: grid; grid-template-columns: 24px 1fr 18px; align-items: center; column-gap: 14px; row-gap: 2px; padding: 22px 24px; transition: background .2s; }
.topic-grid a:hover { background: var(--surface); }
.topic-grid a > .ic:first-child { grid-row: 1 / span 2; color: var(--navy-900); }
.topic-grid span { font-size: 15px; font-weight: 700; color: var(--navy-900); line-height: 1.5; }
.topic-grid small { grid-column: 2; font-size: 12px; color: var(--text-muted); }
.topic-grid a > .ic:last-child { grid-column: 3; grid-row: 1 / span 2; color: var(--blue-600); }

.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-block-start: 64px; }
.pager a, .pager span { display: inline-flex; align-items: center; justify-content: center; min-inline-size: 44px; block-size: 44px; padding-inline: 12px; border: 1px solid var(--line); font-size: 14px; font-family: var(--font-latin), var(--font); }
.pager a:hover { border-color: var(--navy-900); }
.pager span[aria-current] { background: var(--navy-900); border-color: var(--navy-900); color: #FFF; font-weight: 700; }
.more-row { margin-block-start: 48px; text-align: center; }
#insights .post-grid { margin-block-start: 8px; }

@media (max-width: 1099px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .post-feat { grid-template-columns: 1fr; gap: 28px; }
  .pf-media { order: -1; }
  .topic-grid ul { grid-template-columns: repeat(2, 1fr); }
  .blog-search { inline-size: 200px; }
}
@media (max-width: 767px) {
  .blog-head .eyebrow { margin-block-start: 24px; }
  .blog-bar-in { flex-direction: column; align-items: stretch; gap: 0; padding-inline: 0; }
  .topic-nav { padding-inline: var(--gut); }
  .topic-nav ul { gap: 20px; }
  .topic-nav a { block-size: 48px; }
  .blog-search { inline-size: auto; margin: 0 var(--gut) 12px; }
  .blog-bar { position: static; }
  .blog-wrap { padding-block-start: 32px; }
  .blog-sec-h { margin-block: 48px 20px; }
  .blog-sec-h h2 { font-size: 20px; }
  .post-grid { grid-template-columns: 1fr; gap: 0; }
  .post-grid .post-card { display: grid; grid-template-columns: 1fr 104px; gap: 16px; padding-block: 20px; border-block-end: 1px solid var(--line); }
  .post-grid .post-card:first-child { padding-block-start: 0; }
  .post-grid .pc-media { grid-column: 2; grid-row: 1; aspect-ratio: 1; align-self: start; }
  .post-grid .pc-media .aura svg { inline-size: 28px; block-size: 28px; }
  .post-grid .pc-body { grid-column: 1; grid-row: 1; padding: 0; gap: 6px; }
  .pc-title { font-size: 16px; }
  .pc-ex { display: none; }
  .post-feat { padding-block-end: 36px; gap: 20px; }
  .pf-title { font-size: 22px; }
  .pf-ex { font-size: 14px; }
  .topic-grid ul { grid-template-columns: 1fr; border-inline-start: 0; }
  .topic-grid li { border-inline-end: 0; }
  .topic-grid a { padding: 16px 0; }
  .pager { margin-block-start: 40px; }
}

/* ---------------------------------------------------------------- blog: article */
.art-head { padding-block-end: 56px; }
.art-head-in { max-inline-size: 860px; margin-block-start: 48px; }
.art-topic { display: inline-flex; }
.art-topic:hover { text-decoration: underline; }
.art-h1 { font-size: 40px; line-height: 1.5; margin-block: 20px 20px; }
.art-head .lead { max-inline-size: 760px; }
.art-meta { margin-block-start: 24px; }
.art-read { align-items: center; color: var(--text-muted); }
.art-read .ic { inline-size: 16px; block-size: 16px; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-block-start: 24px; }
.share .cap { margin-inline-end: 4px; }
.share a, .share button { display: inline-flex; align-items: center; gap: 6px; min-block-size: 36px; padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13px; color: var(--navy-900); font-family: var(--font-latin), var(--font); background: #FFF; transition: border-color .15s; }
.share a:hover, .share button:hover { border-color: var(--navy-900); }
.share .ic { inline-size: 16px; block-size: 16px; }
.share-done { font-size: 13px; color: var(--blue-600); }
.art-hero { margin-block: 40px 0; }
.art-hero img { inline-size: 100%; block-size: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.art-layout { padding-block-start: 56px; }
.art-body .key { margin-block-end: 20px; }
.basis { display: flex; align-items: center; gap: 8px; margin-block-end: 32px; font-size: 13px; color: var(--text-muted); }
.basis .ic { inline-size: 16px; block-size: 16px; }

/* long-form typography */
.prose { font-size: 17px; line-height: 2; color: var(--text); }
.prose > * + * { margin-block-start: 1.4em; }
.prose h2 { font-size: 28px; line-height: 1.5; font-weight: 500; color: var(--navy-900); margin-block-start: 2.4em; padding-block-start: 1.2em; border-block-start: 1px solid var(--line); }
.prose > h2:first-child { margin-block-start: 0; padding-block-start: 0; border: 0; }
.prose h3 { font-size: 20px; line-height: 1.6; font-weight: 700; color: var(--navy-900); margin-block-start: 2em; }
.prose h2 + *, .prose h3 + * { margin-block-start: .8em; }
.prose a { color: var(--text-link); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-inline-start: 1.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-block-start: .4em; }
.prose li::marker { color: var(--blue-600); }
.prose strong { font-weight: 700; color: var(--navy-900); }
.prose blockquote { padding: 4px 0 4px 20px; border-inline-start: 2px solid var(--navy-900); color: var(--text-2); }
.prose figure img, .prose img { max-inline-size: 100%; block-size: auto; }
.prose figcaption { margin-block-start: 8px; font-size: 13px; color: var(--text-muted); }
.prose table { display: block; inline-size: 100%; overflow-x: auto; border-collapse: collapse; font-size: 14px; line-height: 1.75; border-block-start: 1px solid var(--navy-900); }
.prose table th, .prose table td { padding: 12px 16px; text-align: start; vertical-align: top; border-block-end: 1px solid var(--line); min-inline-size: 120px; }
.prose thead th { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--text-muted); white-space: nowrap; }
.prose tbody th { font-weight: 700; color: var(--navy-900); }
.prose tbody tr:nth-child(even) > * { background: var(--surface); }

.art-sec { margin-block-start: 64px; padding-block-start: 40px; border-block-start: 1px solid var(--line); }
.h2s-l { font-size: 24px; line-height: 1.5; font-weight: 500; color: var(--navy-900); margin-block-end: 20px; }
.svc-cta { display: grid; grid-template-columns: 44px 1fr; gap: 20px; margin-block-start: 64px; padding: 32px; background: var(--surface); border-block-start: 2px solid var(--navy-900); }
.svc-cta .hico { margin: 0; }
.svc-cta-t { font-size: 20px; font-weight: 700; color: var(--navy-900); line-height: 1.5; margin-block: 2px 8px; }
.svc-cta-d { font-size: 14px; line-height: 1.8; color: var(--text-2); }
.svc-cta-a { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-block-start: 20px; }
.sources { list-style: decimal; padding-inline-start: 1.4em; font-size: 14px; line-height: 1.8; }
.sources li + li { margin-block-start: 8px; }
.sources a { color: var(--text-link); text-decoration: underline; text-underline-offset: 3px; }
.sources .dom { font-size: 12px; color: var(--text-muted); font-family: var(--font-latin); }
.changes li { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding-block: 10px; border-block-end: 1px solid var(--line); font-size: 14px; }
.changes time { color: var(--text-muted); font-family: var(--font-latin), var(--font); }
.author-box { display: grid; grid-template-columns: 44px 1fr; gap: 20px; }
.author-box .hico { margin: 0; }
.author-n { font-size: 17px; font-weight: 700; color: var(--navy-900); }
.author-r { font-size: 14px; color: var(--text-2); margin-block-start: 2px; }
.author-links { display: flex; flex-wrap: wrap; gap: 20px; margin-block-start: 12px; font-size: 13px; }
.author-links a { color: var(--text-link); text-decoration: underline; text-underline-offset: 3px; }
.pn { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-block-start: 56px; }
.pn small { font-size: 12px; color: var(--text-muted); }
.pn b { font-size: 15px; line-height: 1.6; color: var(--navy-900); }
.pn-next { grid-column: 2; text-align: end; }
.related { padding-block: 88px; }

@media (max-width: 1099px) { .art-h1 { font-size: 34px; } }
@media (max-width: 767px) {
  .art-head { padding-block-end: 36px; }
  .art-head-in { margin-block-start: 24px; }
  .art-h1 { font-size: 24px; line-height: 1.55; margin-block: 14px 14px; }
  .art-meta { margin-block-start: 16px; gap: 6px 20px; }
  .share { margin-block-start: 18px; }
  .art-hero { margin-block-start: 24px; padding-inline: 0; }
  .art-layout { padding-block-start: 8px; }
  .prose { font-size: 16px; line-height: 1.95; }
  .prose h2 { font-size: 22px; }
  .prose h3 { font-size: 17px; }
  .prose table { margin-inline: calc(var(--gut) * -1); inline-size: calc(100% + var(--gut) * 2); font-size: 13px; }
  .art-sec { margin-block-start: 48px; padding-block-start: 32px; }
  .h2s-l { font-size: 20px; }
  .svc-cta { grid-template-columns: 1fr; gap: 12px; padding: 24px 20px; margin-inline: calc(var(--gut) * -1); }
  .svc-cta-a .btn { inline-size: 100%; }
  .changes li { grid-template-columns: 1fr; gap: 2px; }
  .author-box { grid-template-columns: 1fr; gap: 12px; }
  .pn { grid-template-columns: 1fr; }
  .pn-next { grid-column: 1; }
  .related { padding-block: 56px; }
}
@media (max-width: 767px) { .art-head .crumbs li[aria-current] { display: none; } }

/* ---------------------------------------------------------------- designed panels
   No grey outlines: depth comes from a layered shadow and a hairline ring, structure from a top
   rule, an emblem and internal dividers. */
:root {
  --panel-ring: inset 0 0 0 1px rgba(11,36,71,.07);
  --panel-shadow: 0 1px 2px rgba(6,23,51,.04), 0 14px 32px -12px rgba(6,23,51,.14), 0 40px 80px -40px rgba(6,23,51,.18);
  --accent-line: linear-gradient(90deg, #5B8DEF 0%, #1F5BD8 35%, rgba(31,91,216,0) 100%);
}
.panel, .deps, .rail-card { position: relative; background: #FFF; box-shadow: var(--panel-ring), var(--panel-shadow); }
.deps::before, .rail-card::before { content: ""; position: absolute; inset-inline: 0; inset-block-start: 0; block-size: 2px; background: var(--navy-900); }

/* hero: 目的から探す — navy index panel */
.paths { position: relative; overflow: hidden; isolation: isolate; margin-block-start: 8px; padding: 32px 32px 12px; color: #FFF;
  background: linear-gradient(158deg, #12366A 0%, var(--navy-900) 42%, var(--navy-950) 100%);
  box-shadow: 0 2px 4px rgba(6,23,51,.08), 0 24px 48px -16px rgba(6,23,51,.35), 0 60px 100px -40px rgba(6,23,51,.35); }
.paths::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-radial-gradient(circle at 105% -5%, transparent 0 30px, rgba(255,255,255,.055) 30px 31px);
  -webkit-mask-image: radial-gradient(circle at 100% 0, #000 0 30%, transparent 75%); mask-image: radial-gradient(circle at 100% 0, #000 0 30%, transparent 75%); }
.paths::after { content: ""; position: absolute; inset-inline: 0; inset-block-start: 0; block-size: 3px; background: var(--accent-line); }
.paths-label { display: flex; align-items: center; gap: 12px; margin-block-end: 12px; font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--inv-muted); }
.paths-label i { inline-size: 24px; block-size: 1px; background: #5B8DEF; }
.paths li { border-block-start: 1px solid rgba(255,255,255,.1); }
.paths a { position: relative; display: grid; grid-template-columns: 34px 1fr 32px; align-items: center; column-gap: 12px; margin-inline: -16px; padding: 16px; transition: background .25s var(--ease); }
.paths a::before { content: ""; position: absolute; inset-inline-start: 0; inset-block: 14px; inline-size: 2px; background: #5B8DEF; transform: scaleY(0); transition: transform .25s var(--ease); }
.paths a:hover { background: rgba(255,255,255,.045); }
.paths a:hover::before, .paths a:focus-visible::before { transform: scaleY(1); }
.p-num { grid-row: 1 / span 2; align-self: start; padding-block-start: 3px; font-family: var(--font-latin); font-size: 12px; font-weight: 600; letter-spacing: .08em; color: #7FA3E6; font-variant-numeric: tabular-nums; }
.p-label { grid-column: 2; font-size: 16px; font-weight: 700; line-height: 1.5; color: #FFF; }
.p-sub { grid-column: 2; grid-row: 2; font-size: 12px; line-height: 1.6; color: var(--inv-muted); }
.p-go { grid-column: 3; grid-row: 1 / span 2; display: inline-flex; align-items: center; justify-content: center; inline-size: 32px; block-size: 32px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.22); color: #FFF; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s, transform .25s var(--ease); }
.paths a:hover .p-go, .paths a:focus-visible .p-go { background: #FFF; border-color: #FFF; color: var(--navy-900); transform: translateX(2px); }
.paths :focus-visible { outline-color: #FFF; }
@media (max-width: 767px) {
  .paths { margin: 0; padding: 22px 18px 4px; }
  .paths::after { block-size: 2px; }
  .paths ul { display: grid; grid-template-columns: 1fr 1fr; }
  .paths li:nth-child(odd) { border-inline-end: 1px solid rgba(255,255,255,.1); }
  .paths a { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; margin: 0; padding: 14px 12px 14px 0; min-block-size: 92px; }
  .paths li:nth-child(even) a { padding-inline: 14px 0; }
  .paths a::before { display: none; }
  .p-num { padding: 0; margin-block-end: 6px; font-size: 11px; }
  .p-label { font-size: 14px; }
  .p-sub { font-size: 11px; line-height: 1.5; }
  .p-go { display: none; }
}

/* rail: 編集・監修 — credential card */
.rail-card { padding: 26px 24px 20px; }
.rc-head { display: flex; align-items: center; gap: 14px; }
.rc-ic { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; inline-size: 44px; block-size: 44px; color: #FFF;
  background: linear-gradient(150deg, #12366A, var(--navy-950)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 6px 14px -6px rgba(6,23,51,.5); }
.rc-label { font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--text-muted); line-height: 1.6; }
.rail-name { font-size: 16px; font-weight: 700; color: var(--navy-900); line-height: 1.5; }
.rc-meta { display: grid; gap: 10px; margin-block-start: 20px; padding-block-start: 16px; border-block-start: 1px solid var(--line); }
.rc-meta { gap: 14px; }
.rc-meta div { display: grid; grid-template-columns: 16px 1fr; column-gap: 10px; row-gap: 2px; }
.rc-meta dt { display: contents; font-size: 11px; letter-spacing: .08em; color: var(--text-muted); line-height: 1.6; }
.rc-meta dt .ic { grid-row: 1 / span 2; margin-block-start: 3px; color: var(--blue-600); }
.rc-meta dd { grid-column: 2; font-size: 14px; font-weight: 600; line-height: 1.6; color: var(--navy-900); font-variant-numeric: tabular-nums; }
.rc-link { display: inline-flex; align-items: center; gap: 6px; margin-block-start: 16px; font-size: 12px; font-weight: 700; color: var(--text-link); }
.rc-link .ic { transition: transform .2s var(--ease); }
.rc-link:hover .ic { transform: translateX(3px); }

/* procedure diagram */
.deps figcaption { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: .16em; font-size: 11px; color: var(--text-muted); }
.deps figcaption::before { content: ""; inline-size: 24px; block-size: 1px; background: var(--blue-600); }
.dep-a { border: 0; background: var(--surface); box-shadow: inset 0 0 0 1px rgba(11,36,71,.06); }
.dep-b { background: linear-gradient(150deg, #12366A, var(--navy-900)); }

/* previous / next article */
.pn a { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px 0 4px; border-block-start: 1px solid var(--navy-900); }
.pn a::after { content: ""; position: absolute; inset-inline: 0; inset-block-start: -1px; block-size: 2px; background: var(--blue-600); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.pn-next::after { transform-origin: right; }
.pn a:hover::after { transform: scaleX(1); }
.pn a:hover b { color: var(--blue-600); }

/* ---------------------------------------------------------------- panel motion
   Only with JS (the "js" class is set in <head>) and only when the visitor allows motion.
   Opacity/transform only: no layout shift, content stays in the HTML for search engines. */
.paths li:nth-child(1), .deps li:nth-child(1), .rc-meta div:nth-child(1) { --i: 0; }
.paths li:nth-child(2), .deps li:nth-child(2), .rc-meta div:nth-child(2) { --i: 1; }
.paths li:nth-child(3), .deps li:nth-child(3), .rc-meta div:nth-child(3) { --i: 2; }
.paths li:nth-child(4) { --i: 3; }
.paths li:nth-child(5) { --i: 4; }
.paths li:nth-child(6) { --i: 5; }
.paths li:nth-child(7) { --i: 6; }
.paths li:nth-child(8) { --i: 7; }

@media (prefers-reduced-motion: no-preference) {
  /* shared entrance: rise and fade */
  .js [data-anim] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
  .js [data-anim].is-in { opacity: 1; transform: none; }

  /* 目的から探す: accent line draws, rows arrive one by one, contour rings drift slowly */
  .js .paths[data-anim]::after { transform: scaleX(0); transform-origin: left; transition: transform 1.4s .35s var(--ease); }
  .js .paths[data-anim].is-in::after { transform: scaleX(1); }
  .js .paths[data-anim] .paths-label i { transform: scaleX(0); transform-origin: left; transition: transform .7s .3s var(--ease); }
  .js .paths[data-anim].is-in .paths-label i { transform: scaleX(1); }
  .js .paths[data-anim] li { opacity: 0; transform: translateX(-12px); transition: opacity .55s var(--ease), transform .65s var(--ease); transition-delay: calc(.3s + var(--i, 0) * 70ms); }
  .js .paths[data-anim].is-in li { opacity: 1; transform: none; }
  .paths::before { inset: -12%; animation: panel-drift 28s ease-in-out infinite alternate; }
  @keyframes panel-drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-4%, 3%, 0) scale(1.06); } }

  /* 手続きの依存関係: each row reads left to right — requirement, line, arrow, result */
  .js .deps[data-anim] li > * { opacity: 0; transition: opacity .5s var(--ease), transform .6s var(--ease); }
  .js .deps[data-anim] .dep-a { transform: translateX(-10px); transition-delay: calc(.35s + var(--i, 0) * .45s); }
  .js .deps[data-anim] .dep-line { transform: scaleX(0); transform-origin: left; transition-delay: calc(.55s + var(--i, 0) * .45s); }
  .js .deps[data-anim] li > .ic { transform: translateX(-6px); transition-delay: calc(.75s + var(--i, 0) * .45s); }
  .js .deps[data-anim] .dep-b { transform: translateX(10px); transition-delay: calc(.85s + var(--i, 0) * .45s); }
  .js .deps[data-anim].is-in li > * { opacity: 1; transform: none; }
  .js .deps[data-anim] .deps-note { opacity: 0; transform: translateY(8px); transition: opacity .6s 2.2s var(--ease), transform .6s 2.2s var(--ease); }
  .js .deps[data-anim].is-in .deps-note { opacity: 1; transform: none; }
  .js .deps[data-anim]::before { transform: scaleX(0); transform-origin: left; transition: transform 1.1s .2s var(--ease); }
  .js .deps[data-anim].is-in::before { transform: scaleX(1); }

  /* 編集・監修: top rule draws, the emblem catches the light once, details follow */
  .js .rail-card[data-anim]::before { transform: scaleX(0); transform-origin: left; transition: transform 1s .25s var(--ease); }
  .js .rail-card[data-anim].is-in::before { transform: scaleX(1); }
  .rc-ic { position: relative; overflow: hidden; }
  .rc-ic::after { content: ""; position: absolute; inset: -50% auto -50% -60%; inline-size: 40%; transform: skewX(-20deg) translateX(-120%);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); }
  .js .rail-card[data-anim].is-in .rc-ic::after { animation: emblem-shine 1.1s .7s var(--ease) both; }
  @keyframes emblem-shine { to { transform: skewX(-20deg) translateX(520%); } }
  .js .rail-card[data-anim] .rc-meta div, .js .rail-card[data-anim] .rc-link { opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(.45s + var(--i, 0) * 90ms); }
  .js .rail-card[data-anim] .rc-link { transition-delay: .75s; }
  .js .rail-card[data-anim].is-in .rc-meta div, .js .rail-card[data-anim].is-in .rc-link { opacity: 1; transform: none; }
}
@media (max-width: 767px) { .btn { white-space: normal; } }

/* WeChat button: brand green + white mark (recognised at a glance by Chinese-speaking visitors) */
.btn-wechat { --wechat: #07C160; background: var(--wechat); border-color: var(--wechat); color: #FFF;
  box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 10px 24px -10px rgba(7,193,96,.6); }
.btn-wechat .ic-brand { inline-size: 22px; block-size: 22px; flex-shrink: 0; }
.btn-wechat:hover { background: #06AD56; border-color: #06AD56; transform: translateY(-1px); box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 16px 30px -12px rgba(7,193,96,.65); }
.btn-wechat:focus-visible { outline-color: #FFF; }
.bbar-wechat { background: #07C160 !important; border-color: #07C160 !important; color: #FFF !important; }
.bbar-wechat .ic-brand { inline-size: 24px; block-size: 24px; }
.contact-side .info dt { display: inline-flex; align-items: center; gap: 6px; }
.contact-side .info dt .ic-brand { color: #07C160; }

/* ================================================================= DEPTH REFRESH (ver.2)
   Sections, menus and lists are separated by colour bands, soft shadows and imagery — not by hairlines.
   Cards: white on the cool canvas (or tinted on white cards); big numerals; centred, balanced grids. */
:root {
  --canvas: #F1F4F9;
  --r-card: 16px;
  --r-tile: 12px;
  --sh-card: 0 1px 2px rgba(6,23,51,.05), 0 10px 28px -12px rgba(6,23,51,.18);
  --sh-lift: 0 2px 6px rgba(6,23,51,.06), 0 22px 44px -18px rgba(6,23,51,.32);
  --sh-ring: 0 0 0 1px rgba(11,36,71,.06);
  --grad-navy: linear-gradient(150deg, #13386C 0%, var(--navy-900) 48%, var(--navy-950) 100%);
  --grad-num: linear-gradient(160deg, var(--blue-600) 0%, var(--navy-900) 100%);
}

/* imagery: Tokyo skyline silhouette (assets/img/skyline.svg, drawn for TIMOA) */
.skyline { position: absolute; inset-inline: 0; inset-block-end: 0; block-size: 170px; pointer-events: none; background: #FFF; opacity: .08;
  -webkit-mask: url("../img/skyline.svg") center bottom / auto 100% repeat-x; mask: url("../img/skyline.svg") center bottom / auto 100% repeat-x; }
.hero .skyline { background: var(--navy-900); opacity: .05; block-size: 200px; }
@media (max-width: 767px) { .skyline { block-size: 96px; } .hero .skyline { block-size: 110px; } }

/* flags */
.flag { inline-size: 20px; block-size: 15px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(6,23,51,.12); flex-shrink: 0; }

/* ---------- header, mega menu, language menu */
.hdr { border-block-end: 0; box-shadow: 0 1px 0 rgba(6,23,51,.03), 0 8px 24px -14px rgba(6,23,51,.22); }
.hdr-in { position: relative; z-index: 3; }
.lang-btn { gap: 8px; padding-inline: 12px 10px; border-radius: 999px; background: var(--surface); transition: background .2s; }
.lang-btn:hover, .lang-btn[aria-expanded="true"] { background: var(--blue-50); }
.lang-btn > .ic:last-child { transition: transform .2s; }
.lang-btn[aria-expanded="true"] > .ic:last-child { transform: rotate(180deg); }
.lang-menu { z-index: 10; border: 0; border-radius: var(--r-card); padding: 10px; min-inline-size: 240px; box-shadow: var(--sh-ring), var(--sh-lift); }
.lang-name { display: inline-flex; align-items: center; gap: 12px; }
.lang-opt { border-radius: 10px; }
.lang-opt.is-current { background: var(--blue-50); }
.mega { z-index: 1; border-block: 0; background: var(--canvas); box-shadow: 0 34px 60px -24px rgba(6,23,51,.35); }
.mega-in { gap: 24px; padding-block: 28px 32px; }
.mm-groups { gap: 16px; }
.mm-group { padding: 20px 20px 10px; background: #FFF; border-radius: var(--r-card); box-shadow: var(--sh-card); }
.mm-label { border: 0; padding: 0; margin-block-end: 6px; font-weight: 700; color: var(--blue-600); }
.mm-group a { padding: 10px 12px; margin-inline: -12px; border-radius: 10px; transition: background .2s; }
.mm-group a:hover { background: var(--blue-50); }
.mm-side { position: relative; overflow: hidden; padding: 28px; border-radius: var(--r-card); background: var(--grad-navy); color: #FFF; box-shadow: var(--sh-lift); }
.mm-side .mm-label { color: var(--inv-muted); }
.mm-side-text { color: var(--inv-soft); }
.mm-side .link { color: #FFF; }

/* drawer */
.dr-hdr { border-block-end: 0; box-shadow: 0 6px 18px -12px rgba(6,23,51,.3); position: relative; z-index: 1; }
.dr-group { border: 0; margin-block-end: 8px; padding-inline: 16px; border-radius: var(--r-tile); background: var(--surface); }
.dr-group li a { border: 0; padding-inline-start: 0; }
.dr-link { border: 0; margin-block-end: 8px; padding-inline: 16px; border-radius: var(--r-tile); background: var(--surface); }
.dr-foot { border: 0; box-shadow: 0 -8px 20px -12px rgba(6,23,51,.3); }
.seg a { gap: 8px; border: 0; border-radius: var(--r-tile); background: var(--surface); }
.seg a.is-current { background: var(--navy-900); }

/* ---------- headings: icon tiles instead of outlined squares */
.hico { border: 0; border-radius: 12px; background: var(--blue-50); color: var(--navy-900); }
.on-dark .hico { background: rgba(255,255,255,.1); }
.idx i { block-size: 2px; border-radius: 2px; background: var(--blue-600); }

/* ---------- home */
.hero { border-block-end: 0; background: radial-gradient(1100px 620px at 88% -8%, #DCE7F8 0%, rgba(220,231,248,0) 62%), linear-gradient(180deg, #FFF 0%, #F4F7FC 100%); }
.sec-surface { background: var(--canvas); }
.sec-dark, .cta-band { background: var(--grad-navy); }

.svc-grid { gap: 20px; border: 0; }
.svc-cell { border: 0; }
.svc-cell a { overflow: hidden; border-radius: var(--r-card); background: #FFF; box-shadow: var(--sh-ring), var(--sh-card); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.svc-cell a::before { inset-block-start: 0; block-size: 3px; background: linear-gradient(90deg, var(--blue-600), var(--navy-900)); }
.svc-cell a:hover { background: #FFF; transform: translateY(-4px); box-shadow: var(--sh-ring), var(--sh-lift); }
.svc-cell .ic:first-child { box-sizing: content-box; padding: 12px; border-radius: 14px; background: var(--blue-50); }
section.sec#services { background: var(--canvas); }

/* reasons: dark band, big numerals, balanced grid (4 → 4 columns, 3 → 3, 5 → 3+2 centred) */
.sec-reasons .reasons { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.sec-reasons .reasons li { grid-column: span 2; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 40px 28px 36px; border: 0;
  border-radius: var(--r-card); background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.09), 0 20px 40px -24px rgba(0,0,0,.6); }
.sec-reasons .reasons[style*="--n:4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sec-reasons .reasons[style*="--n:4"] li { grid-column: auto; }
.sec-reasons .reasons[style*="--n:5"] li:nth-child(n+4) { grid-column: span 3; }
.sec-reasons .num { margin-block-end: 20px; font-size: 56px; line-height: 1; font-weight: 700; letter-spacing: 0;
  background: linear-gradient(170deg, #FFF 0%, #8FB4F2 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sec-reasons h3 { color: #FFF; font-size: 18px; }
.sec-reasons p { color: var(--inv-soft); }

/* who / checks: tiles in a balanced grid — an odd last tile spans the row, never an empty cell */
.who, .checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.checks { margin-block-start: 4px; }
.who li, .checks li { align-items: center; padding: 18px 20px; border: 0; border-radius: var(--r-tile); background: var(--surface); font-weight: 500; }
.who li { background: #FFF; box-shadow: var(--sh-ring), var(--sh-card); }
.who li:last-child:nth-child(odd), .checks li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.who li .ic, .checks li .ic { box-sizing: content-box; inline-size: 16px; block-size: 16px; padding: 6px; margin: 0; border-radius: 50%; background: var(--navy-900); color: #FFF; stroke-width: 2.25; }
section.sec#cases-of-consultation { background: var(--canvas); }

.steps-h .step-n, .steps-v .step-n { border: 0; background: #FFF; box-shadow: var(--sh-ring), 0 6px 14px -6px rgba(6,23,51,.35); }
.steps-h li:first-child .step-n, .steps-v li:first-child .step-n { background: var(--grad-navy); }
.steps-h li { padding: 24px 20px; border-radius: var(--r-card); background: #FFF; box-shadow: var(--sh-ring), var(--sh-card); }
.steps-h li::before { display: none; }
.steps-h h3 { margin-block-start: 16px; }

.experts li { border: 0; border-radius: var(--r-card); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }

/* accordions: separate cards */
.acc-list { display: grid; gap: 12px; }
.acc, .acc:first-child { border: 0; padding-inline: 24px; border-radius: var(--r-tile); background: #FFF; box-shadow: var(--sh-ring), var(--sh-card); transition: box-shadow .25s var(--ease); }
.acc[open] { box-shadow: inset 3px 0 0 var(--blue-600), var(--sh-ring), var(--sh-lift); }
.blk .acc { background: var(--surface); box-shadow: none; }
.blk .acc[open] { background: #FFF; box-shadow: inset 3px 0 0 var(--blue-600), var(--sh-ring), var(--sh-card); }
.acc summary { padding-block: 20px; }
.acc-body { padding-block-end: 22px; }

/* ---------- page head: navy band with skyline */
.phead { border-block-end: 0; padding-block: 32px 104px; color: #FFF;
  background: radial-gradient(900px 520px at 88% -10%, rgba(47,108,214,.42) 0%, rgba(47,108,214,0) 60%), linear-gradient(160deg, #10315F 0%, var(--navy-900) 50%, var(--navy-950) 100%); }
.phead .rings { background: repeating-radial-gradient(circle at 50% 50%, transparent 0 58px, rgba(255,255,255,.06) 58px 59px); }
.phead .h1, .phead .h1-page { color: #FFF; }
.phead .lead { color: var(--inv-soft); }
.phead .eyebrow { color: #8FB4F2; }
.phead .crumbs ol { color: var(--inv-muted); }
.phead .crumbs li + li::before { color: rgba(255,255,255,.3); }
.phead .crumbs a:hover { color: #FFF; }
.phead .hico-s { background: rgba(255,255,255,.12); color: #FFF; }
.phead .meta { color: var(--inv-muted); }
.phead .meta dd { color: #FFF; }
.phead :focus-visible { outline-color: #FFF; }
.phead-in { align-items: center; }
.phead-side { display: flex; flex-direction: column; align-items: center; gap: 28px; flex-shrink: 0; }
.phead-emblem { display: inline-flex; align-items: center; justify-content: center; inline-size: 168px; block-size: 168px; border-radius: 50%; color: #FFF;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.2), rgba(255,255,255,.04) 70%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), 0 30px 60px -24px rgba(0,0,0,.6); }
.phead-emblem .ic { stroke-width: 1.1; }
.blog-head .eyebrow { color: #8FB4F2; }
@media (max-width: 899px) { .phead-emblem { display: none; } .phead-side { align-items: stretch; inline-size: 100%; } }
@media (max-width: 767px) { .phead { padding-block: 16px 64px; } }

/* ---------- service page: white cards on the canvas */
.canvas, main:has(> .narrow), main:has(> .contact-grid), main:has(> .blog-wrap) { background: var(--canvas); }
.layout { padding-block: 48px var(--sec); }
.toc { padding: 22px 20px; border-radius: var(--r-card); background: #FFF; box-shadow: var(--sh-ring), var(--sh-card); }
.toc-title { border: 0; padding-block-end: 4px; }
.key { padding: 28px 32px; border: 0; border-radius: var(--r-card); background: linear-gradient(135deg, #FFF 0%, var(--blue-50) 100%); box-shadow: var(--sh-ring), var(--sh-card); }
.blk, .blk:last-child { margin-block-end: 24px; padding: 48px; border: 0; border-radius: 20px; background: #FFF; box-shadow: var(--sh-ring), var(--sh-card); }
.blk-s, .blk-s:first-child { padding: 32px 36px; margin-block-end: 16px; }
.narrow { padding-block: 48px var(--sec); }
.content .h2i { font-size: 26px; }
@media (max-width: 767px) {
  .layout { padding-block-start: 20px; }
  .blk, .blk:last-child { padding: 28px 20px; border-radius: 16px; margin-block-end: 16px; }
  .blk-s, .blk-s:first-child { padding: 24px 20px; }
  .key { padding: 20px 18px; margin-block: 0 16px; }
  .narrow { padding-block-start: 24px; }
  .toc { padding: 0 var(--gut) calc(24px + env(safe-area-inset-bottom)); border-radius: 16px 16px 0 0; }
}
@media (max-width: 899px) {
  .toc-bar { border-block-end: 0; box-shadow: 0 8px 18px -12px rgba(6,23,51,.3); }
  .toc-sheet-hdr { border-block-end: 0; }
  .toc > ol > li > a { border-block-end: 0; border-radius: 10px; }
}

/* tables: shadowed card, zebra rows, everything vertically centred; short cells centred too */
.tbl-wrap { border: 0; border-radius: 14px; box-shadow: var(--sh-ring), 0 12px 30px -16px rgba(6,23,51,.3); }
.tbl th, .tbl td { border: 0; vertical-align: middle; padding: 16px 20px; }
.tbl thead th { padding-block: 16px; font-size: 14px; letter-spacing: .02em; background: var(--navy-900); }
.tbl-c thead th:not(:first-child), .tbl-c td { text-align: center; }
.tbl tbody tr:nth-child(even) > * { background: #F3F6FB; }
@media (max-width: 767px) {
  .tbl-wrap { border-radius: 0; box-shadow: none; }
  .tbl tbody th { border: 0; box-shadow: 6px 0 10px -8px rgba(6,23,51,.35); }
}

/* service items, merits, related */
.svc-list { display: grid; gap: 12px; border: 0; }
.svc-item { border: 0; padding-inline: 24px; border-radius: 14px; background: var(--surface); }
.svc-item summary { padding-block-start: 22px; }
.sico { border-radius: 12px; background: #FFF; box-shadow: var(--sh-ring), 0 4px 10px -6px rgba(6,23,51,.3); }
@media (max-width: 767px) { .svc-item { padding-inline: 16px; } .svc-item summary { padding-block: 16px; } .svc-body { padding-inline-start: 0; } }

.merits { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 16px; }
.merits[style*="--n:4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.merits li { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 32px 20px 28px; border: 0;
  border-radius: var(--r-card); background: linear-gradient(180deg, #FFF 0%, var(--surface) 100%); box-shadow: var(--sh-ring), var(--sh-card); }
.merits .num, .reasons .num { font-size: 48px; line-height: 1; font-weight: 700; letter-spacing: 0; margin-block-end: 16px;
  background: var(--grad-num); -webkit-background-clip: text; background-clip: text; color: transparent; }
.merits p { font-size: 15px; font-weight: 500; color: var(--navy-900); }
@media (max-width: 1279px) and (min-width: 768px) { .merits li { padding-inline: 14px; } .merits p { font-size: 14px; } }
@media (max-width: 767px) {
  .merits { grid-template-columns: 1fr; gap: 10px; }
  .merits li { display: grid; grid-template-columns: 56px 1fr; align-items: center; text-align: start; padding: 18px 18px; }
  .merits .num { margin: 0; font-size: 36px; }
  .who, .checks { grid-template-columns: 1fr; gap: 8px; }
  .who li, .checks li { padding: 14px 16px; }
  .sec-reasons .reasons, .sec-reasons .reasons[style*="--n:4"] { grid-template-columns: 1fr; gap: 12px; }
  .sec-reasons .reasons li, .sec-reasons .reasons[style*="--n:5"] li:nth-child(n+4) { grid-column: auto; display: flex; padding: 28px 20px; }
  .sec-reasons .num { margin: 0 0 12px; font-size: 44px; }
  .svc-grid { gap: 12px; }
  .svc-cell a { padding: 16px; }
  .svc-cell:first-child { border: 0; }
  .svc-cell .ic:first-child { padding: 8px; }
  .steps-h { gap: 12px; }
  .steps-h li { padding: 18px 16px; }
}
@media (max-width: 1099px) and (min-width: 768px) {
  .sec-reasons .reasons, .sec-reasons .reasons[style*="--n:4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sec-reasons .reasons li, .sec-reasons .reasons[style*="--n:5"] li:nth-child(n+4) { grid-column: auto; }
  .sec-reasons .reasons[style*="--n:5"] li:last-child { grid-column: 1 / -1; }
}

.arts, .rel { display: grid; gap: 12px; border: 0; }
.rel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rel li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.arts li a, .rel li a { padding: 18px 20px; border: 0; border-radius: var(--r-tile); background: var(--surface); transition: background .2s, transform .2s var(--ease); }
.arts li a:hover, .rel li a:hover { background: var(--blue-50); transform: translateY(-2px); }

/* quote box: navy card, white pill */
.quote-box { border: 0; padding: 32px 36px; border-radius: var(--r-card); background: var(--grad-navy); box-shadow: var(--sh-lift); }
.quote-box p, .quote-lg p { color: #FFF; font-weight: 500; }
.quote-box .btn-p { background: #FFF; color: var(--navy-900); box-shadow: 0 10px 24px -12px rgba(0,0,0,.5); }
.quote-box .btn-p > .ic { background: var(--navy-900); color: #FFF; }
.quote-box .btn-p:hover { background: #FFF; }
.quote-box .btn-p:hover > .ic { background: var(--blue-600); }
@media (max-width: 767px) { .quote-box { padding: 24px 20px; } }

/* rail */
.rail-cta { border-radius: var(--r-card); background: var(--grad-navy); box-shadow: var(--sh-lift); }
.rail-card { border-radius: var(--r-card); }
.rc-meta { border-block-start: 0; padding-block-start: 4px; }

/* ---------- about / info lists: zebra rows instead of rules */
.info, .info div { border: 0; }
.info { display: grid; gap: 4px; margin-block-start: 12px; }
.info div { padding: 16px 20px; border-radius: 10px; }
.info div:nth-child(odd) { background: var(--surface); }
.contact-side .info div:nth-child(odd) { background: #FFF; }
.contact-side .info div { padding: 12px 14px; }

/* ---------- contact */
.contact-grid { padding-block: 48px var(--sec); }
.form { padding: 44px; border-radius: 20px; background: #FFF; box-shadow: var(--sh-ring), var(--sh-card); }
.fld input, .fld select, .fld textarea { border-color: #CDD5E1; border-radius: 10px; background: #FBFCFE; }
.contact-side { border-radius: 20px; background: #FFF; box-shadow: var(--sh-ring), var(--sh-card); }
@media (max-width: 767px) { .form { padding: 24px 18px; border-radius: 16px; } .contact-side { margin-inline: 0; border-radius: 16px; } }

/* ---------- CTA band, footer, bottom bar */
.ft-langs { border: 0; padding: 16px 20px; border-radius: var(--r-tile); background: rgba(255,255,255,.05); }
.ft-langs a { display: inline-flex; align-items: center; gap: 8px; }
.ft-langs .flag { inline-size: 18px; block-size: 13px; box-shadow: none; }
.bbar { border: 0; box-shadow: 0 -8px 24px -12px rgba(6,23,51,.3); }

/* ---------- blog */
.blog-bar { border-block-end: 0; box-shadow: 0 8px 20px -14px rgba(6,23,51,.28); }
.blog-search { border-color: transparent; border-radius: 999px; background: var(--surface); }
.blog-search:focus-within { border-color: var(--navy-900); background: #FFF; }
.blog-sec-h { border: 0; padding-block-end: 0; }
.blog-sec-h h2::before { content: ""; display: block; inline-size: 40px; block-size: 3px; border-radius: 2px; margin-block-end: 14px; background: var(--blue-600); }
.post-card { overflow: hidden; border-radius: var(--r-card); background: #FFF; box-shadow: var(--sh-ring), var(--sh-card); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--sh-ring), var(--sh-lift); }
.pc-body { padding: 20px 22px 22px; }
.post-grid { gap: 28px; }
.post-feat { padding: 0; border: 0; overflow: hidden; border-radius: 20px; background: #FFF; box-shadow: var(--sh-ring), var(--sh-card); gap: 0; }
.post-feat .pf-body { padding: 40px 48px; }
.topic-grid ul { gap: 12px; border: 0; }
.topic-grid li { border: 0; }
.topic-grid a { border-radius: var(--r-tile); background: #FFF; box-shadow: var(--sh-ring), var(--sh-card); }
.topic-grid a:hover { background: #FFF; box-shadow: var(--sh-ring), var(--sh-lift); }
.pager a, .pager span { border: 0; border-radius: 999px; background: #FFF; box-shadow: var(--sh-ring), var(--sh-card); }
.share a, .share button { border: 0; background: var(--surface); }
.share a:hover, .share button:hover { background: var(--blue-50); }
.prose h2 { border: 0; padding-block-start: 0; }
.prose h2::before { content: ""; display: block; inline-size: 40px; block-size: 3px; border-radius: 2px; margin-block-end: 18px; background: var(--blue-600); }
.prose table { border: 0; border-radius: 14px; box-shadow: var(--sh-ring), 0 12px 30px -16px rgba(6,23,51,.3); }
.prose table th, .prose table td { border: 0; vertical-align: middle; }
.prose thead th { background: var(--navy-900); color: #FFF; letter-spacing: .02em; }
.art-sec { border: 0; padding: 36px 40px; border-radius: var(--r-card); background: var(--surface); }
.svc-cta { border: 0; border-radius: var(--r-card); background: linear-gradient(135deg, #FFF 0%, var(--blue-50) 100%); box-shadow: var(--sh-ring), var(--sh-card); }
.changes li { border: 0; padding-inline: 12px; border-radius: 8px; }
.changes li:nth-child(odd) { background: #FFF; }
.pn a { padding: 20px 24px; border: 0; border-radius: var(--r-tile); background: var(--surface); }
.related { background: var(--canvas); }
@media (max-width: 1099px) { .post-feat .pf-body { padding: 28px 32px 36px; } }
@media (max-width: 767px) {
  .post-grid { gap: 12px; }
  .post-grid .post-card { padding: 16px; border: 0; }
  .post-grid .post-card:first-child { padding-block-start: 16px; }
  .post-grid .pc-media { border-radius: 10px; }
  .post-feat .pf-body { padding: 22px 20px 26px; }
  .topic-grid a { padding: 16px; }
  .art-sec { padding: 24px 18px; }
}

/* panels without hairlines */
.paths li { border: 0; }
.paths ul { display: grid; gap: 6px; }
.paths a { margin-inline: -12px; padding: 14px 12px; border-radius: 12px; background: rgba(255,255,255,.035); }
.paths a:hover { background: rgba(255,255,255,.09); }
.paths a::before { display: none; }
@media (max-width: 1099px) and (min-width: 768px) { .paths li:nth-child(odd) { border: 0; } }
.rail-card, .deps { border-radius: var(--r-card); overflow: hidden; }
.rail-card::before, .deps::before { display: none; }
.svc-cell .link .ic { padding: 0; background: none; border-radius: 0; }

/* content column adapts to its own width (container queries): narrow → stacked rows, wide → grid */
.content { container-type: inline-size; }
.content .checks { grid-template-columns: 1fr; }
.content .merits { grid-template-columns: 1fr; gap: 12px; }
.content .merits li { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; text-align: start; padding: 24px 28px; }
.content .merits .num { margin: 0; text-align: center; font-size: 52px; }
.content .merits p { font-size: 16px; line-height: 1.8; }
.content .quote-box { flex-direction: column; align-items: flex-start; gap: 22px; }
.content .quote-box p { max-inline-size: none; font-size: 16px; }
@container (min-width: 720px) {
  .content .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content .merits { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); }
  .content .merits li { display: flex; flex-direction: column; justify-content: center; text-align: center; padding: 32px 20px 28px; }
  .content .merits .num { margin-block-end: 16px; }
  .content .quote-box { flex-direction: row; align-items: center; }
}
@media (max-width: 767px) {
  .content .merits li { grid-template-columns: 64px minmax(0, 1fr); padding: 18px; }
  .content .merits .num { font-size: 38px; }
  .content .merits p { font-size: 14px; }
  .content .quote-box { align-items: stretch; }
}
.meta dt { white-space: nowrap; flex-shrink: 0; }
.dr-home { margin-block: 16px 0; }

/* article visuals: navy base, one accent per topic, skyline at the foot */
.aura { --aura: #2F6CD6; background: radial-gradient(110% 90% at 85% 10%, color-mix(in srgb, var(--aura) 70%, transparent) 0%, transparent 60%), linear-gradient(160deg, #10315F 0%, var(--navy-950) 100%); }
.aura::after { content: ""; position: absolute; inset-inline: 0; inset-block-end: 0; block-size: 34%; background: #FFF; opacity: .07;
  -webkit-mask: url("../img/skyline.svg") center bottom / auto 100% repeat-x; mask: url("../img/skyline.svg") center bottom / auto 100% repeat-x; }
.aura svg { padding: 14px; box-sizing: content-box; border-radius: 50%; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.aura[data-topic="visa-immigration"] { --aura: #1E9AA8; }
.aura[data-topic="accounting-tax"] { --aura: #5468D4; }
.aura[data-topic="licensing"] { --aura: #2E8F6F; }
.aura[data-topic="real-estate"] { --aura: #B3862F; }
.aura[data-topic="ma-exit"] { --aura: #7A55C7; }
.aura[data-topic="ip-compliance"] { --aura: #C2556B; }
.aura[data-topic="private-client"] { --aura: #A9842F; }
.post-feat { align-items: stretch; }
.pf-media { aspect-ratio: auto; min-block-size: 360px; }
@media (max-width: 1099px) { .pf-media { aspect-ratio: 16 / 9; min-block-size: 0; } }

/* ---------------------------------------------------------------- blog: latest + side column (popular, archive, topics) */
.blog-cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; margin-block-start: 56px; }
.blog-main .blog-sec-h { margin-block-start: 0; display: flex; align-items: flex-end; justify-content: space-between; }
.blog-main .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.blog-main .pager { margin-block-start: 48px; }
.blog-side { display: grid; gap: 20px; }
.side-box { padding: 26px 24px; border-radius: var(--r-card); background: #FFF; box-shadow: var(--sh-ring), var(--sh-card); }
.side-h2 { display: flex; align-items: center; gap: 10px; font-size: 18px; line-height: 1.4; font-weight: 700; color: var(--navy-900); }
.side-h2 .ic { box-sizing: content-box; padding: 7px; border-radius: 10px; background: var(--blue-50); color: var(--navy-900); }
.side-note { margin-block: 8px 14px; font-size: 12px; line-height: 1.7; color: var(--text-muted); }
.side-pop { background: var(--grad-navy); box-shadow: var(--sh-lift); }
.side-pop .side-h2 { color: #FFF; }
.side-pop .side-h2 .ic { background: rgba(255,255,255,.12); color: #FFF; }
.side-pop .side-note { color: var(--inv-muted); }
.rank-list { display: grid; gap: 8px; counter-reset: none; }
.rank-list a { display: grid; grid-template-columns: 30px 56px minmax(0, 1fr); align-items: center; gap: 12px; padding: 10px; margin-inline: -10px; border-radius: 12px; transition: background .2s; }
.rank-list a:hover { background: rgba(255,255,255,.07); }
.rank { font-family: var(--font-latin); font-size: 30px; line-height: 1; font-weight: 700; text-align: center;
  background: linear-gradient(170deg, #FFF 0%, #8FB4F2 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rank-list li:nth-child(n+4) .rank { font-size: 22px; opacity: .8; }
.rk-media { display: block; inline-size: 56px; block-size: 56px; overflow: hidden; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.rk-media img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.rk-media .aura svg { inline-size: 18px; block-size: 18px; padding: 6px; }
.rk-media .aura::after { display: none; }
.rk-body { display: grid; gap: 2px; min-inline-size: 0; }
.rk-body small { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: #8FB4F2; }
.rk-body b { font-size: 13px; line-height: 1.55; font-weight: 700; color: #FFF; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.arch-list { display: grid; gap: 4px; margin-block-start: 14px; }
.arch-list a { display: flex; align-items: center; gap: 10px; min-block-size: 44px; padding: 8px 12px; border-radius: 10px; font-size: 14px; color: var(--navy-900); transition: background .2s; }
.arch-list a:hover, .arch-list a[aria-current] { background: var(--blue-50); }
.arch-list a[aria-current] { font-weight: 700; }
.arch-list span { flex: 1; min-inline-size: 0; }
.arch-list em { min-inline-size: 28px; padding: 2px 8px; border-radius: 999px; background: var(--surface); font-style: normal; font-size: 12px; font-weight: 700; text-align: center; color: var(--text-2); font-family: var(--font-latin); }
.arch-list a:hover em, .arch-list a[aria-current] em { background: #FFF; }
.topic-list .ic { color: var(--navy-900); inline-size: 18px; block-size: 18px; }
/* tablet / mobile: popular first (right under the featured article), then the latest, then archive + topics */
@media (max-width: 1099px) {
  .blog-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 20px; }
  .blog-side { display: contents; }
  .side-pop { grid-column: 1 / -1; order: 1; }
  .blog-main { grid-column: 1 / -1; order: 2; }
  .side-arch, .side-topics { order: 3; }
  .side-pop .rank-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
}
@media (max-width: 767px) {
  .blog-cols { grid-template-columns: 1fr; margin-block-start: 28px; gap: 28px; }
  .blog-main .post-grid { grid-template-columns: 1fr; }
  .side-pop .rank-list { grid-template-columns: 1fr; }
  .side-box { padding: 22px 18px; }
}

/* ================================================================= PROCESS STEPS (ver.5)
   Home: arrow bands that deepen from blue to navy (progress), descriptions under each band.
   Tablet/mobile and service pages: numbered step cards joined by a downward chevron — no rules. */
.steps-h { display: grid; grid-template-columns: repeat(var(--n, 7), minmax(0, 1fr)); gap: 0 6px; counter-reset: none; }
.steps-h li { position: relative; display: flex; flex-direction: column; padding: 0; border-radius: 0; background: none; box-shadow: none; }
.steps-h li::before, .steps-h li::after { display: none !important; }
.st-head { --c: color-mix(in srgb, var(--navy-950) calc(var(--i, 0) * 15%), #2563C9);
  position: relative; display: flex; flex-direction: column; justify-content: center; gap: 6px; min-block-size: 112px; padding: 18px 26px 18px 30px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--c) 82%, #FFF) 0%, var(--c) 100%); color: #FFF;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%, 16px 50%);
  filter: drop-shadow(0 10px 14px rgba(6,23,51,.18)); }
.steps-h li:first-child .st-head { clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%); padding-inline-start: 22px; border-start-start-radius: 14px; border-end-start-radius: 14px; }
.steps-h li:last-child .st-head { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 16px 50%); padding-inline-end: 20px; }
[dir="rtl"] .st-head { transform: scaleX(-1); } [dir="rtl"] .st-head > * { transform: scaleX(-1); }
.st-no { display: flex; align-items: baseline; gap: 6px; font-family: var(--font-latin); font-size: 22px; line-height: 1; font-weight: 700; letter-spacing: .02em; }
.st-no small { font-size: 10px; font-weight: 700; letter-spacing: .18em; opacity: .75; }
.steps-h .st-head h3 { margin: 0; font-size: 15px; line-height: 1.5; font-weight: 700; color: #FFF; }
.steps-h li > p { margin: 0; padding: 20px 14px 0 18px; font-size: 13.5px; line-height: 1.8; color: var(--text-2); }
.steps-h li:first-child > p { padding-inline-start: 6px; }

/* step cards (tablet & mobile home, service pages, contact) */
@media (max-width: 1099px) {
  .steps-h { grid-template-columns: 1fr; gap: 28px; max-inline-size: 720px; }
  .steps-h li { display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: start; column-gap: 18px; padding: 18px; border-radius: var(--r-card); background: #FFF; box-shadow: var(--sh-ring), var(--sh-card); }
  .steps-h li::after { content: ""; display: block !important; position: absolute; inset-block-end: -20px; inset-inline-start: 50%; inline-size: 12px; block-size: 12px; margin-inline-start: -6px;
    border-inline-end: 2.5px solid var(--blue-600); border-block-end: 2.5px solid var(--blue-600); transform: rotate(45deg); opacity: .55; }
  .steps-h li:last-child::after { display: none !important; }
  .st-head, .steps-h li:first-child .st-head, .steps-h li:last-child .st-head { display: contents; }
  .st-no { grid-row: 1 / span 2; flex-direction: column; align-items: center; justify-content: center; gap: 4px; inline-size: 76px; block-size: 76px; border-radius: 16px; font-size: 26px; color: #FFF;
    background: linear-gradient(135deg, color-mix(in srgb, var(--c, #2563C9) 82%, #FFF), var(--c, #2563C9)); box-shadow: 0 10px 20px -10px rgba(6,23,51,.5); }
  .steps-h li { --c: color-mix(in srgb, var(--navy-950) calc(var(--i, 0) * 15%), #2563C9); }
  .steps-h .st-head h3 { color: var(--navy-900); font-size: 16px; align-self: end; padding-block-start: 6px; }
  .steps-h li > p, .steps-h li:first-child > p { grid-column: 2; padding: 4px 0 0; font-size: 14px; }
}
@media (max-width: 767px) {
  .steps-h { gap: 24px; }
  .steps-h li { grid-template-columns: 60px minmax(0, 1fr); column-gap: 14px; padding: 16px; }
  .st-no { inline-size: 60px; block-size: 60px; border-radius: 14px; font-size: 21px; }
  .st-no small { font-size: 9px; }
  .steps-h .st-head h3 { font-size: 15px; }
  .steps-h li > p, .steps-h li:first-child > p { font-size: 13.5px; line-height: 1.75; }
}

.steps-v { display: grid; gap: 26px; margin-block-start: 8px; }
.steps-v li, .steps-v li:last-child { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; align-items: center; padding: 18px 20px; border-radius: 14px; background: var(--surface); }
.steps-v li::before { display: none; }
.steps-v li::after { content: ""; position: absolute; inset-block-end: -19px; inset-inline-start: 50%; inline-size: 11px; block-size: 11px; margin-inline-start: -5.5px;
  border-inline-end: 2.5px solid var(--blue-600); border-block-end: 2.5px solid var(--blue-600); transform: rotate(45deg); opacity: .5; }
.steps-v li:last-child::after { display: none; }
.steps-v .step-n, .steps-v li:first-child .step-n { flex-direction: column; gap: 2px; inline-size: 64px; block-size: 64px; border-radius: 14px; font-size: 22px; font-weight: 700; color: #FFF;
  background: linear-gradient(135deg, #3B74D6, var(--navy-900)); box-shadow: 0 10px 18px -10px rgba(6,23,51,.55); }
.steps-v .step-n::before { content: "STEP"; font-size: 9px; letter-spacing: .18em; opacity: .75; }
.steps-v h3 { margin-block: 0 4px; }
.contact-side .steps-v li { grid-template-columns: 48px minmax(0, 1fr); padding: 14px; gap: 14px; background: var(--surface); }
.contact-side .steps-v .step-n { inline-size: 48px; block-size: 48px; font-size: 17px; border-radius: 12px; }
.contact-side .steps-v .step-n::before { font-size: 7px; }
@media (max-width: 767px) {
  .steps-v li, .steps-v li:last-child { grid-template-columns: 52px minmax(0, 1fr); gap: 14px; padding: 16px; align-items: start; }
  .steps-v .step-n, .steps-v li:first-child .step-n { inline-size: 52px; block-size: 52px; font-size: 19px; border-radius: 12px; }
}

/* ================================================================= MEGA MENU: consultation card (ver.5) */
.mm-side { display: flex; flex-direction: column; gap: 14px; padding: 26px 24px 24px; isolation: isolate; }
.mm-side .rings { inset-block-start: -320px; inset-inline-end: -360px; opacity: .9; }
.mm-side .skyline { block-size: 70px; opacity: .07; z-index: -1; }
.mm-chip { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; padding: 5px 12px 5px 10px; border-radius: 999px; background: rgba(255,255,255,.1);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); font-size: 12px; font-weight: 700; letter-spacing: .08em; color: #CFE0FF; }
.mm-side-h { font-size: 21px; line-height: 1.45; font-weight: 700; color: #FFF; letter-spacing: .01em; }
.mm-points { display: grid; gap: 8px; }
.mm-points li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; line-height: 1.5; color: var(--inv-soft); }
.mm-points .ic { box-sizing: content-box; padding: 3px; border-radius: 50%; background: #3FB37F; color: #FFF; stroke-width: 2.6; }
.mm-flags { display: inline-flex; gap: 4px; margin-inline-start: 26px; flex-basis: 100%; }
.mm-flags .flag { inline-size: 18px; block-size: 13px; box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
.mm-btns { display: grid; gap: 8px; margin-block-start: auto; padding-block-start: 6px; }
.mm-btns .btn { min-block-size: 46px; }

/* ================================================================= EXPERTS (ver.5): distinct icons, domain first */
.experts li { display: flex; flex-direction: column; gap: 4px; padding: 24px 20px 26px; transition: transform .3s var(--ease), background .3s; }
.experts li:hover { transform: translateY(-4px); background: rgba(255,255,255,.09); }
.ex-ic { display: inline-flex; align-items: center; justify-content: center; inline-size: 48px; block-size: 48px; margin-block-end: 18px; border-radius: 14px; color: #FFF;
  background: linear-gradient(135deg, rgba(143,180,242,.35), rgba(255,255,255,.06)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.ex-dom { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: #8FB4F2; }
.ex-role { font-size: 17px; }

/* Japanese headings break between phrases, lines balanced */
html:lang(ja) :is(h1, h2, h3, .pc-title, .pf-title, .mm-name, .ex-role, .ex-dom, .mm-side-h, .cta-h, .rk-body b, .p-label) { word-break: auto-phrase; }
:is(h1, h2, h3, .mm-side-h, .cta-h, .ex-role) { text-wrap-style: balance; } /* style only: never re-enable wrapping on nowrap items */
.steps-h .st-head { padding-inline: 28px 20px; }
.steps-h .st-head h3 { font-size: 14.5px; }
.mm-side-h { font-size: 19px; }

/* notes: tinted panel with an info mark instead of a side rule */
.callout, .deps-note { position: relative; border: 0; border-radius: 12px; background: var(--blue-50); padding: 16px 18px 16px 48px; color: var(--navy-900); }
.callout::before, .deps-note::before { content: "i"; position: absolute; inset-inline-start: 16px; inset-block-start: 16px; display: grid; place-items: center; inline-size: 20px; block-size: 20px;
  border-radius: 50%; background: var(--blue-600); color: #FFF; font: 700 12px/1 var(--font-latin); }
.form-msg.is-ok, .form-msg.is-err { border: 0; border-radius: 12px; }

@media (max-width: 767px) {
  .experts { grid-template-columns: 1fr; gap: 10px; }
  .experts li { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 14px; row-gap: 0; align-items: center; padding: 14px 16px; }
  .experts li:hover { transform: none; }
  .ex-ic { grid-row: 1 / span 2; margin: 0; }
  .ex-dom { align-self: end; font-size: 12px; }
  .ex-role { align-self: start; font-size: 15px; margin: 0; }
}

/* logo (assets/img/logo, drawn by tools/logo/build-logo.py) */
.logo { display: inline-flex; align-items: center; padding-block: 6px; margin-inline-end: 0; letter-spacing: 0; font-size: 0; }
.logo img { display: block; block-size: 38px; inline-size: auto; }
.ft-brand .logo img { block-size: 44px; }
@media (max-width: 767px) { .logo { font-size: 0; letter-spacing: 0; } .logo img { block-size: 30px; } }

/* ================================================================= RHYTHM (final audit): tighter, consistent spacing
   8px scale; sections 88 / 72 / 56; headers and cards trimmed so content starts sooner. */
:root { --sec: 88px; }
@media (max-width: 1099px) { :root { --sec: 72px; } }
@media (max-width: 767px)  { :root { --sec: 56px; } }
.hero-in { padding-block: 88px 96px; }
.hero .h1 { margin-block: 20px 24px; }
.hero-ctas { margin-block-start: 36px; }
.sec-head { margin-block-end: 40px; }
.sec-reasons .reasons { margin-block-start: 40px; }
.phead { padding-block: 28px 80px; }
.phead-in { margin-block-start: 40px; }
.phead-s .h1 { margin-block: 36px 16px; }
.layout { padding-block: 40px var(--sec); gap: 40px; }
.blk, .blk:last-child { padding: 40px 44px; margin-block-end: 20px; }
.blk > .h2i { margin-block-end: 24px; }
.key { margin-block-end: 20px; }
.narrow { padding-block: 40px var(--sec); }
.contact-grid { padding-block: 40px var(--sec); gap: 48px; }
.cta-in { padding-block: 72px; }
.blog-wrap { padding-block: 40px var(--sec); }
.blog-cols { margin-block-start: 48px; }
.related { padding-block: 72px; }
.art-sec { margin-block-start: 40px; }
.svc-cta { margin-block-start: 40px; }
.pn { margin-block-start: 40px; }
.ft { padding-block: 64px 32px; }
.ft-langs { margin-block-start: 40px; }
@media (max-width: 1099px) { .hero-in { padding-block: 64px 72px; } }
@media (max-width: 767px) {
  .hero-in { padding-block: 28px 40px; }
  .phead { padding-block: 14px 48px; }
  .phead-in { margin-block-start: 20px; }
  .phead-s .h1 { margin-block: 22px 10px; }
  .layout { padding-block-start: 16px; }
  .blk, .blk:last-child { padding: 24px 18px; margin-block-end: 14px; }
  .blk > .h2i { margin-block-end: 18px; }
  .narrow, .contact-grid, .blog-wrap { padding-block-start: 20px; }
  .cta-in { padding-block: 48px; }
  .sec-head { margin-block-end: 24px; }
  .sec-reasons .reasons { margin-block-start: 24px; }
  .ft { padding-block: 48px calc(96px + env(safe-area-inset-bottom)); }
}
/* reasons numerals: light gradient on the navy band (the shared .reasons .num rule must not override it) */
.sec-reasons .reasons .num { display: block; padding-block: 4px 2px; line-height: 1.1; background: linear-gradient(170deg, #FFF 0%, #9DBDF5 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
/* alternate section grounds so two tinted sections never stack (which doubled the gap) */
#why-order { background: #FFF; }
section.sec#cases-of-consultation { background: #FFF; }
section.sec#cases-of-consultation .who li { background: var(--surface); box-shadow: none; }

/* featured article image: full width on tablet/mobile (an aspect-ratio grid item does not stretch by default) */
.pf-media { justify-self: stretch; inline-size: 100%; }
/* category bar: names stay on one line and scroll sideways */
.topic-nav ul, .topic-nav a { white-space: nowrap; }
.topic-nav li { flex-shrink: 0; }

/* ================================================================ BOTTOM TABS (mobile)
   Home / Services / Blog / Contact. Each tab opens a sheet listing that section's categories. */
.bb-scrim, .bb-sheet { display: none; }
@media (max-width: 1099px) {
  body { padding-block-end: calc(64px + env(safe-area-inset-bottom)); }
  .bbar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 0 4px env(safe-area-inset-bottom); transform: none;
    background: rgba(255,255,255,.98); border-block-start: 1px solid var(--line); box-shadow: 0 -10px 28px -16px rgba(6,23,51,.35); }
  body.is-locked .bbar { display: none; }
  .bb-tab { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-block-size: 64px; padding: 8px 2px 6px;
    background: none; border: 0; color: #5B6678; font-size: 11px; font-weight: 600; line-height: 1.2; letter-spacing: .01em; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .bb-tab span { max-inline-size: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .bb-tab::before { content: ""; position: absolute; inset-block-start: 0; inset-inline: 28%; block-size: 3px; border-radius: 0 0 3px 3px; background: transparent; transition: background .2s; }
  .bb-tab.is-current { color: var(--navy-900); }
  .bb-tab.is-current::before { background: var(--blue-600); }
  .bb-tab.is-open { color: var(--blue-600); }
  .bb-tab.is-open .ic { transform: translateY(-1px); }
  .bb-tab:focus-visible { outline: 2px solid var(--blue-600); outline-offset: -4px; border-radius: 10px; }
  .bb-tab .ic { transition: transform .2s var(--ease); }

  .bb-scrim { display: block; position: fixed; inset: 0; z-index: 58; background: rgba(6,23,51,.42); opacity: 0; transition: opacity .2s var(--ease); }
  .bb-scrim.is-on { opacity: 1; }
  .bb-scrim[hidden], .bb-sheet[hidden] { display: none; }
  .bb-sheet { display: flex; flex-direction: column; position: fixed; inset-inline: 0; inset-block-end: calc(64px + env(safe-area-inset-bottom)); z-index: 59;
    max-block-size: min(72vh, calc(100vh - 140px)); background: #FFF; border-radius: 18px 18px 0 0; box-shadow: 0 -18px 40px -18px rgba(6,23,51,.45);
    transform: translateY(16px); opacity: 0; transition: transform .22s var(--ease), opacity .22s var(--ease); }
  .bb-sheet.is-open { transform: none; opacity: 1; }
  .bb-sh-hdr { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 12px 10px 20px; border-block-end: 1px solid var(--line); }
  .bb-sh-hdr::before { content: ""; position: absolute; inset-block-start: 6px; inset-inline-start: 50%; inline-size: 36px; block-size: 4px; margin-inline-start: -18px; border-radius: 4px; background: #D5DBE4; }
  .bb-sh-t { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 15px; font-weight: 700; color: var(--navy-900); }
  .bb-sh-t .ic { color: var(--blue-600); }
  .bb-x { display: inline-flex; align-items: center; justify-content: center; inline-size: 44px; block-size: 44px; border: 0; border-radius: 999px; background: var(--surface); color: var(--navy-900); cursor: pointer; }
  .bb-sh-body { overflow-y: auto; overscroll-behavior: contain; padding: 8px 12px 16px; }
  .bb-group { margin: 14px 8px 4px; font-size: 11px; font-weight: 700; letter-spacing: .08em; color: #6B7586; }
  .bb-list { list-style: none; margin: 0; padding: 0; }
  .bb-list a, .bb-list button { display: flex; align-items: center; gap: 12px; inline-size: 100%; min-block-size: 52px; padding: 8px; border: 0; border-radius: 12px; background: none;
    color: var(--navy-900); font: inherit; font-size: 15px; font-weight: 600; line-height: 1.4; text-align: start; text-decoration: none; cursor: pointer; }
  .bb-list a:active, .bb-list button:active, .bb-list a:hover, .bb-list button:hover { background: var(--surface); }
  .bb-list a[aria-current] { background: var(--blue-50); color: var(--blue-600); }
  .bb-list a[aria-current] .bb-ic { background: var(--blue-600); color: #FFF; }
  .bb-ic { display: inline-flex; flex: none; align-items: center; justify-content: center; inline-size: 36px; block-size: 36px; border-radius: 10px; background: var(--blue-50); color: var(--blue-600); }
  .bb-t { flex: 1; min-inline-size: 0; }
  .bb-go { flex: none; color: #9AA3B2; transform: rotate(-90deg); }
  [dir="rtl"] .bb-go { transform: rotate(90deg); }
  .bb-cta { display: grid; gap: 10px; padding: 8px 8px 12px; }
  .bb-cta .btn { min-block-size: 52px; justify-content: center; }
  html.bb-locked, html.bb-locked body { overflow: hidden; }
}
@media print { .bb-sheet, .bb-scrim { display: none !important; } }

/* ================================================================ HEADER SEARCH + tool spacing */
.srch-btn { display: inline-flex; align-items: center; justify-content: center; inline-size: 44px; block-size: 44px; border: 0; border-radius: 999px; background: none; color: var(--navy-900); cursor: pointer; transition: background .2s; }
.srch-btn:hover, .srch-btn[aria-expanded="true"] { background: var(--blue-50); color: var(--blue-600); }
.srch { position: absolute; inset-inline: 0; inset-block-start: 100%; z-index: 49; background: #FFF; border-block-start: 1px solid var(--line);
  box-shadow: 0 24px 48px -24px rgba(6,23,51,.35); max-block-size: calc(100vh - var(--hdr)); overflow-y: auto; overscroll-behavior: contain; }
.srch[hidden] { display: none; }
.srch-in { max-inline-size: 760px; padding-block: 20px 28px; }
.srch-form { display: flex; align-items: center; gap: 10px; padding-inline: 16px 6px; min-block-size: 56px; border: 1.5px solid var(--navy-900); border-radius: 999px; background: #FFF; color: #6B7586; }
.srch-form:focus-within { box-shadow: 0 0 0 4px rgba(31,91,216,.16); }
.srch-form input { flex: 1; min-inline-size: 0; block-size: 52px; border: 0; background: none; font: inherit; font-size: 16px; color: var(--navy-900); outline: none; }
.srch-form input::-webkit-search-cancel-button { display: none; }
.srch-x { display: inline-flex; align-items: center; justify-content: center; inline-size: 44px; block-size: 44px; border: 0; border-radius: 999px; background: var(--surface); color: var(--navy-900); cursor: pointer; }
.srch-posts { display: flex; align-items: center; gap: 12px; margin-block-start: 14px; padding: 14px 16px; border-radius: 12px; background: var(--navy-900); color: #FFF; font-weight: 700; font-size: 15px; text-decoration: none; }
.srch-posts[hidden] { display: none; }
.srch-posts span { flex: 1; min-inline-size: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.srch-label { margin: 20px 4px 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: #6B7586; }
.srch-svc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.srch-svc li[hidden] { display: none; }
.srch-svc a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; color: var(--navy-900); text-decoration: none; }
.srch-svc a:hover, .srch-svc a:focus-visible { background: var(--surface); }
.srch-svc .bb-ic { display: inline-flex; flex: none; align-items: center; justify-content: center; inline-size: 36px; block-size: 36px; border-radius: 10px; background: var(--blue-50); color: var(--blue-600); }
.srch-t { display: flex; flex-direction: column; gap: 2px; min-inline-size: 0; }
.srch-t b { font-size: 14px; font-weight: 700; line-height: 1.4; }
.srch-t small { font-size: 12px; line-height: 1.5; color: #6B7586; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.srch-none { margin: 4px; font-size: 14px; color: #6B7586; }
.srch-none[hidden], [data-srch-topics][hidden] { display: none; }
.srch-topics { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.srch-topics a { display: inline-flex; align-items: center; min-block-size: 40px; padding-inline: 14px; border-radius: 999px; background: var(--surface); color: var(--navy-900); font-size: 13px; font-weight: 600; text-decoration: none; }
.srch-topics a:hover { background: var(--blue-50); color: var(--blue-600); }
.hdr-tools { gap: 8px; }
@media (max-width: 1099px) {
  .hdr-tools { gap: 2px; }
  .hdr-tools .lang { margin-inline-end: 6px; }   /* keep the language pill clear of the search and menu icons */
}
@media (max-width: 767px) {
  .srch { position: fixed; inset-block-start: var(--hdr); max-block-size: calc(100vh - var(--hdr) - 64px - env(safe-area-inset-bottom)); }
  .srch-in { padding-block: 14px 20px; }
  .srch-svc { grid-template-columns: 1fr; }
  .lang-btn { padding-inline: 10px 8px; gap: 6px; }
}
@media (max-width: 359px) { .lang-btn > span { display: none; } }
.srch { box-shadow: 0 100vh 0 100vh rgba(6,23,51,.38); }   /* dims the page below the open search panel; a tap there closes it */
@media (max-width: 767px) { .hdr-in { gap: 8px; } }
@media (max-width: 359px) { .logo img { block-size: 26px; } }

/* ================================================================ SHARE: icon-only brand buttons */
.share { position: relative; flex-wrap: nowrap; gap: 12px; }
.share-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.share .sh { display: inline-flex; align-items: center; justify-content: center; inline-size: 44px; block-size: 44px; min-block-size: 0; padding: 0; border: 0; border-radius: 999px;
  background: #FFF; color: var(--navy-900); box-shadow: 0 1px 2px rgba(6,23,51,.12); cursor: pointer; transition: transform .15s var(--ease), box-shadow .15s; }
.share .sh:hover { transform: translateY(-2px); box-shadow: 0 8px 18px -8px rgba(6,23,51,.45); background: #FFF; }
.share .sh .ic-brand, .share .sh .ic { inline-size: 20px; block-size: 20px; }
.sh-linkedin { color: #0A66C2 !important; }
.sh-x { color: #000 !important; }
.sh-facebook { color: #0866FF !important; }
.sh-wechat { color: #07C160 !important; }
.sh-weibo { color: #E6162D !important; }
.sh-xiaohongshu { color: #FF2442 !important; }
.share .cap { flex: none; }
.share-done, .share-hint { position: absolute; inset-block-start: calc(100% + 8px); inset-inline-start: 0; z-index: 5; margin: 0; padding: 8px 12px; border-radius: 8px;
  background: #FFF; color: var(--navy-900); font-size: 13px; line-height: 1.5; box-shadow: 0 12px 28px -12px rgba(6,23,51,.5); }
.share-done[hidden], .share-hint[hidden] { display: none; }
.wx-pop { position: absolute; inset-block-start: calc(100% + 10px); inset-inline-start: 0; z-index: 6; inline-size: 248px; padding: 18px 18px 16px; border-radius: 14px;
  background: #FFF; color: var(--navy-900); box-shadow: 0 24px 48px -16px rgba(6,23,51,.55); text-align: center; }
.wx-pop[hidden] { display: none; }
.wx-qr { inline-size: 168px; block-size: 168px; margin: 0 auto 10px; }
.wx-qr svg { display: block; inline-size: 100%; block-size: 100%; }
.wx-pop p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--text-2, #4A5568); }
.wx-x { position: absolute; inset-block-start: 4px; inset-inline-end: 4px; display: inline-flex; align-items: center; justify-content: center; inline-size: 36px; block-size: 36px; border: 0; border-radius: 999px; background: none; color: #6B7586; cursor: pointer; }
@media (max-width: 767px) {
  .share { flex-wrap: wrap; row-gap: 10px; }
  .share .cap { inline-size: 100%; }
  .share-list { gap: 8px; }
  .share .sh { inline-size: 42px; block-size: 42px; }
}
/* the article header clips overflow, so the QR dialog and the notes sit on the viewport */
.wx-pop { position: fixed; inset-block-start: 50%; inset-inline-start: 50%; transform: translate(-50%, -50%); z-index: 80; inline-size: 280px; padding: 28px 22px 20px;
  box-shadow: 0 0 0 100vmax rgba(6,23,51,.45), 0 24px 48px -16px rgba(6,23,51,.55); }
[dir="rtl"] .wx-pop { transform: translate(50%, -50%); }
.wx-qr { inline-size: 196px; block-size: 196px; }
.share-done, .share-hint { position: fixed; inset-block-start: auto; inset-block-end: 32px; inset-inline-start: 50%; transform: translateX(-50%); z-index: 80; inline-size: max-content; max-inline-size: calc(100vw - 32px);
  padding: 12px 16px; background: var(--navy-900); color: #FFF; font-weight: 600; text-align: center; }
@media (max-width: 1099px) { .share-done, .share-hint { inset-block-end: calc(80px + env(safe-area-inset-bottom)); } }
.share .sh-xiaohongshu { background: #FF2442; color: #FFF !important; }
.share .sh-xiaohongshu:hover { background: #FF2442; }
.share .sh-xiaohongshu .ic-brand { inline-size: 30px; block-size: 30px; }

/* ================================================================ TYPE FLOOR
   Readability minimums found by measuring every page (phone and desktop):
   labels 13px (14px desktop), captions and meta 13px (14px desktop), tables 14px, nothing under 12px. */
body .eyebrow, body .art-topic, body .paths-label, body .idx, body .idx span, body .deps figcaption, body .tb-label,
body .toc-title, body .rc-label, body .pc-topic, body .ft-label, body .key-h, body .p-num {
  font-size: 13px; line-height: 1.5; letter-spacing: .1em; }
body .art-topic, body .eyebrow-ic { font-weight: 700; }
:lang(ja) body .eyebrow, :lang(zh) body .eyebrow, :lang(ja) body .idx, :lang(zh) body .idx, :lang(ja) body .ft-label, :lang(zh) body .ft-label,
:lang(ja) body .pc-topic, :lang(zh) body .pc-topic, :lang(ja) body .paths-label, :lang(zh) body .paths-label { letter-spacing: .06em; }
body .p-sub, body .scroll-hint, body .side-note, body .rk-body small, body .pc-meta, body .pc-meta time, body .ex-dom, body .dom,
body .pn-prev small, body .pn-next small, body .toc-pct, body .rc-link, body .ft-legal, body .ft-copy, body .crumbs, body .crumbs a, body .crumbs li,
body .meta dt, body .meta dd, body .meta time, body .rc-meta dt, body .rc-meta dd, body .share .cap { font-size: 13px; }
body .tbl th, body .tbl td, body .content table th, body .content table td { font-size: 14px; }
body .note, body .basis, body .cap, body .author-links a, body .rail-cta p, body .only-m, body .contact-side p, body .key-h + * { font-size: 14px; }
body .st-no small { font-size: 12px; }
body .req, body .topic-nav a span, body .side-box em, body .rk-body em { font-size: 12px; }
body .bb-tab { font-size: 12px; }
@media (min-width: 768px) {
  body .eyebrow, body .art-topic, body .idx, body .idx span, body .key-h, body .pc-topic, body .p-num { font-size: 14px; }
  body .meta dt, body .meta dd, body .meta time, body .crumbs, body .crumbs a, body .crumbs li, body .pc-meta, body .pc-meta time, body .p-sub,
  body .rc-meta dt, body .rc-meta dd, body .side-note, body .rk-body small, body .pn-prev small, body .pn-next small { font-size: 14px; }
}
body .sources .dom { font-size: 13px; }
body .art-topic, body .eyebrow-ic { font-size: 14px; }
@media (min-width: 768px) { body .art-topic, body .eyebrow-ic { font-size: 15px; } }
/* footer without the language row: the legal line sits directly under the columns */
body .ft-bottom { margin-block-start: 56px; }
@media (max-width: 767px) { body .ft-bottom { margin-block-start: 40px; } }
.ft-copy { white-space: nowrap; }
body .ft { padding-block-end: 96px; }          /* room for the floating AI button so it never covers the legal line */
@media (max-width: 767px) { body .ft { padding-block-end: 32px; } }

/* ================================================================ ARTICLE TABLES: full width inside a scrolling card */
.prose .prose-tbl { margin-block: 28px; overflow-x: auto; border-radius: 14px; background: #FFF; box-shadow: var(--sh-ring), 0 12px 30px -16px rgba(6,23,51,.3); }
.prose .prose-tbl:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; }
.prose .prose-tbl table { display: table; inline-size: 100%; margin: 0; border-radius: 0; box-shadow: none; overflow: visible; }
@media (max-width: 767px) {
  .prose .prose-tbl { margin-inline: 0; }
  .prose .prose-tbl table { margin-inline: 0; inline-size: 100%; }
}

/* ================================================================ BLOG BAR (phones): search + topic button, topics in a dropdown */
.topic-btn { display: none; }
@media (max-width: 767px) {
  .blog-bar { position: relative; z-index: 30; }
  .blog-bar-in { flex-direction: row; align-items: center; gap: 8px; padding: 10px var(--gut); }
  body .blog-search { flex: 1; inline-size: auto; margin: 0; }
  .topic-btn { display: inline-flex; flex: none; align-items: center; gap: 6px; min-block-size: 44px; padding-inline: 14px 12px; border: 0; border-radius: 999px;
    background: var(--navy-900); color: #FFF; font-size: 14px; font-weight: 700; cursor: pointer; }
  .topic-btn .ic { inline-size: 18px; block-size: 18px; }
  .topic-btn .topic-chev { inline-size: 14px; block-size: 14px; transition: transform .2s var(--ease); }
  .topic-btn[aria-expanded="true"] .topic-chev { transform: rotate(180deg); }
  .topic-btn.is-filtered { background: var(--blue-600); }
  .topic-nav { display: none; position: absolute; inset-inline: 12px; inset-block-start: calc(100% + 6px); z-index: 31; padding: 8px; overflow: visible;
    max-block-size: min(70vh, 520px); overflow-y: auto; border-radius: 16px; background: #FFF; box-shadow: var(--sh-ring), 0 24px 48px -16px rgba(6,23,51,.45); }
  .topic-nav.is-open { display: block; }
  body .topic-nav ul { display: flex; flex-direction: column; gap: 2px; white-space: normal; }
  body .topic-nav a { display: flex; justify-content: space-between; block-size: auto; min-block-size: 48px; padding: 10px 14px; border-radius: 10px; font-size: 15px; color: var(--navy-900); white-space: normal; }
  body .topic-nav a::after { display: none; }
  body .topic-nav a span { font-size: 13px; padding: 2px 8px; border-radius: 999px; background: var(--surface); }
  body .topic-nav a:hover { background: var(--surface); }
  body .topic-nav a[aria-current] { background: var(--blue-50); color: var(--blue-600); }
}
@media (max-width: 767px) {
  body .blog-search { min-inline-size: 0; flex: 1 1 0%; }
  .prose .prose-tbl th, .prose .prose-tbl td { min-inline-size: 88px; padding: 12px 14px; }
}
@media (max-width: 767px) { .prose .prose-tbl thead th { white-space: normal; } }
@media (max-width: 767px) { .blog-bar { inset-block-start: auto; } }

/* ================================================================ BOTTOM TABS: floating, rounded, frosted glass */
@media (max-width: 1099px) {
  body { padding-block-end: calc(64px + 24px + env(safe-area-inset-bottom)); }
  .bbar { inset-inline: 12px; inset-block-end: calc(10px + env(safe-area-inset-bottom)); padding: 4px; border-radius: 24px;
    background: rgba(255,255,255,.66); border: 1px solid rgba(255,255,255,.7);
    -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%);
    box-shadow: 0 12px 32px -12px rgba(6,23,51,.38), 0 2px 6px rgba(6,23,51,.08), inset 0 1px 0 rgba(255,255,255,.8); }
  .bb-tab { min-block-size: 56px; border-radius: 20px; transition: background .2s, color .2s; }
  .bb-tab::before { display: none; }
  .bb-tab.is-current { background: rgba(31,91,216,.10); color: var(--blue-600); }
  .bb-tab.is-open { background: rgba(11,36,71,.08); }
  .bb-sheet { inset-inline: 12px; inset-block-end: calc(64px + 20px + env(safe-area-inset-bottom)); border-radius: 22px;
    max-block-size: min(68vh, calc(100vh - 170px)); box-shadow: 0 24px 48px -16px rgba(6,23,51,.45); }
  .bb-sh-hdr::before { display: none; }
  .bb-sh-hdr { padding-block-start: 12px; }
  .srch { max-block-size: calc(100vh - var(--hdr) - 92px - env(safe-area-inset-bottom)); }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  @media (max-width: 1099px) { .bbar { background: rgba(255,255,255,.94); } }
}
@media (max-width: 1099px) {
  body { padding-block-end: 0; }
  body .ft { padding-block-end: calc(32px + 64px + 24px + env(safe-area-inset-bottom)); }
}
@media (max-width: 1099px) { .bbar { background: rgba(255,255,255,.78); } }

/* ================================================================ BOTTOM TABS: always visible (also over the menu, contents sheet and AI chat) */
@media (max-width: 1099px) {
  body.is-locked .bbar { display: grid; }
  .bbar { z-index: 95; }
  .bb-scrim { z-index: 93; }
  .bb-sheet { z-index: 94; }
  /* panels that reach the bottom of the screen leave room for the floating bar */
  body .dr-foot { padding-block-end: calc(12px + 64px + 20px + env(safe-area-inset-bottom)); }
  body .toc { padding-block-end: calc(24px + 64px + 20px + env(safe-area-inset-bottom)); }
  body .ai { padding-block-end: calc(64px + 20px + env(safe-area-inset-bottom)); max-block-size: calc(100vh - 72px); }
}
@media (max-width: 1099px) { .bbar { background: rgba(255,255,255,.70); } }

/* ================================================================ BOTTOM TABS on tablets (768–1099px): centred, fixed width */
@media (min-width: 768px) and (max-width: 1099px) {
  .ai-fab { display: none !important; }
  .bbar { inset-inline: 0; margin-inline: auto; inline-size: min(520px, calc(100% - 48px)); }
  .bb-sheet { inset-inline: 0; margin-inline: auto; inline-size: min(560px, calc(100% - 48px)); }
  body .ai { inset-block-end: calc(64px + 32px + env(safe-area-inset-bottom)); inset-inline-end: 24px; padding-block-end: 0; max-block-size: min(620px, calc(100vh - 200px)); }
  body .ft { padding-block-end: calc(40px + 64px + 24px + env(safe-area-inset-bottom)); }
}
@media (min-width: 768px) and (max-width: 1099px) {
  .bbar { position: fixed; inset-block-end: calc(12px + env(safe-area-inset-bottom)); z-index: 95; }
}

/* ================================================================ PREVIOUS / NEXT ARTICLE: cards */
.pn { gap: 16px; margin-block-start: 48px; }
.pn .pn-card { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border: 0; border-radius: 18px; background: #FFF; text-align: start;
  box-shadow: var(--sh-ring), 0 10px 28px -18px rgba(6,23,51,.45); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.pn .pn-card::after { display: none; }
.pn .pn-card:hover { transform: translateY(-2px); box-shadow: var(--sh-ring), 0 18px 36px -18px rgba(6,23,51,.5); }
.pn-next { flex-direction: row-reverse; }
.pn-arrow { display: inline-flex; flex: none; align-items: center; justify-content: center; inline-size: 44px; block-size: 44px; border-radius: 999px;
  background: var(--surface); color: var(--navy-900); transition: background .2s, color .2s, transform .2s var(--ease); }
.pn-arrow .ic { inline-size: 18px; block-size: 18px; }
.pn-prev .pn-arrow .ic { transform: scaleX(-1); }
[dir="rtl"] .pn-prev .pn-arrow .ic { transform: none; }
[dir="rtl"] .pn-next .pn-arrow .ic { transform: scaleX(-1); }
.pn .pn-card:hover .pn-arrow { background: var(--navy-900); color: #FFF; }
.pn-prev:hover .pn-arrow { transform: translateX(-3px); }
.pn-next:hover .pn-arrow { transform: translateX(3px); }
.pn-body { display: flex; flex-direction: column; gap: 6px; flex: 1; min-inline-size: 0; }
.pn .pn-body small { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.pn .pn-body b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 16px; line-height: 1.55; font-weight: 700; color: var(--navy-900); transition: color .2s; }
.pn .pn-card:hover .pn-body b { color: var(--blue-600); }
.pn-topic { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--blue-600); }
.pn-topic .ic { inline-size: 16px; block-size: 16px; }
@media (min-width: 768px) { .pn-next .pn-body { text-align: end; align-items: flex-end; } }
@media (max-width: 767px) {
  .pn { gap: 12px; margin-block-start: 40px; }
  .pn .pn-card { padding: 18px; gap: 14px; }
  .pn .pn-body b { font-size: 15px; }
  .pn-arrow { inline-size: 40px; block-size: 40px; }
}

/* ================================================================ SEARCH PANEL: scrolls to its last item on phones/tablets */
@media (max-width: 1099px) {
  .srch { max-block-size: calc(100vh - var(--hdr)); max-block-size: calc(100dvh - var(--hdr)); }
  .srch-in { padding-block-end: calc(64px + 40px + env(safe-area-inset-bottom)); }
  .bb-sheet { max-block-size: min(68dvh, calc(100dvh - 170px)); }
}
.pn .pn-card { flex-direction: row; }
.pn .pn-card.pn-next { flex-direction: row-reverse; }
@media (min-width: 768px) { .pn .pn-body b { -webkit-line-clamp: 3; font-size: 15px; } .pn .pn-card { padding: 20px; gap: 14px; } }
