/* =========================================================
   Pattern E — SoftBank business style (client brief, 2026-10-09)
   Built close to softbank.jp/business: white header with a utility row, a wide main visual with
   service cards sliding under it, icon tiles on grey, navy contact band.
   Tokens are SoftBank Japan Business's own (research/softbank-design-system.md §2):
   #166DFF blue, #FF741A main CTA, #001A4A navy, #F0F2F4 grey, 4px buttons, 8px cards, Noto Sans.
   Loaded after assets/css/common.css (sticky CTA, demo bar, slider engine).
   ========================================================= */
:root {
  /* type: body text 16px (1rem), small / sub text 14px (.875rem); diagrams keep their own sizes */
  --ink: #1C1C1C;
  --text: #323232;
  --muted: #5E5E5E;
  --line: #DADDE1;
  --line-dark: #8C939B;
  --paper: #FFFFFF;
  --soft: #F0F2F4;
  --blue: #166DFF;
  --blue-deep: #004AB3;
  --blue-pale: #F3F8FF;
  --cta: #FF741A;
  --cta-deep: #D96316;
  --navy: #001A4A;
  --illu-navy: #0A2A63;
  --font: "Noto Sans", "Noto Sans Thai", "Hiragino Sans", system-ui, sans-serif;
  --r-sm: 4px;
  --r: 8px;
  --wrap: 1200px;
  --gutter: 24px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 1rem/1.75 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
html:lang(th) body { line-height: 1.8; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-deep); }
h1, h2, h3, h4 { margin: 0; color: var(--text); font-weight: 700; line-height: 1.35; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
/* the hand on everything that can be clicked (review 2026-11-05); a control that is switched off keeps the arrow */
a[href], button, summary, label, select, [role="tab"], [role="button"], input[type="checkbox"], input[type="radio"], input[type="submit"], input[type="button"] { cursor: pointer; }
button:disabled, [aria-disabled="true"] { cursor: default; }
/* the dark layer behind the open menu fades out for .3s: it must not sit between the mouse and the page while it does */
.e-scrim { pointer-events: none; }
html.is-mega .e-scrim { pointer-events: auto; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.ico { width: 1.1em; height: 1.1em; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; padding: 8px 16px; border-radius: var(--r-sm); background: var(--ink); color: #fff; }
.skip:focus { left: 8px; }
.wrap { max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- header (softbank.jp/business layout: logo left, utility row + main menu right) ---------- */
.e-header { position: relative; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.e-header-in { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "logo util" "logo nav"; align-items: center; column-gap: 32px;
  max-width: calc(var(--wrap) + var(--gutter) * 2); min-height: 84px; margin: 0 auto; padding: 0 var(--gutter); }
.e-logo { grid-area: logo; display: inline-flex; align-items: center; gap: 14px; color: var(--text); }
.e-logo img { width: 190px; }
.e-util { grid-area: util; display: flex; align-items: center; justify-content: flex-end; gap: 20px; padding-top: 8px; font-size: .875rem; }
.e-util > a { display: inline-flex; align-items: center; gap: 5px; color: var(--text); }
.e-util > a:hover { color: var(--blue); }
.e-util .ico { width: 16px; height: 16px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.lang button, .lang a { display: inline-block; padding: 2px 10px; border: 0; background: #fff; color: var(--muted); font-size: .875rem; cursor: pointer; }
.lang button[aria-pressed="true"], .lang a[aria-current="true"] { background: var(--ink); color: #fff; }
.lang a { text-decoration: none; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current="true"]:hover { color: #fff; }
.e-burger { display: none; }

.gnav { grid-area: nav; justify-self: end; }
.gnav-list { display: flex; align-items: stretch; gap: 28px; }
.gnav-link, .gnav-trigger { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 10px 0 12px; border: 0; background: none; color: var(--text); font-size: .875rem; cursor: pointer; }
.gnav-link::after, .gnav-trigger::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--blue); transform: scaleX(0); transition: transform .3s var(--ease); }
.gnav-link:hover, .gnav-trigger:hover, .is-open > .gnav-trigger { color: var(--blue); }
.gnav-link[aria-current]::after, .gnav-trigger[aria-current]::after, .is-open > .gnav-trigger::after { transform: scaleX(1); }
.gnav-trigger .ico { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.is-open > .gnav-trigger .ico { transform: rotate(180deg); }

/* ---------- CMP-DROP-002 mega menu, laid out like softbank.jp/business ---------- */
.mega { position: absolute; top: 100%; left: 0; right: 0; background: #EEF0F2; box-shadow: 0 30px 50px -30px rgba(0, 20, 50, .45);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s, transform .4s var(--ease), visibility 0s .4s; }
.is-open > .mega { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .4s var(--ease), visibility 0s; }
.mega-bar { background: #4B4F54; }
.mega-close { display: flex; align-items: center; gap: 6px; margin: 0 0 0 auto; padding: 10px max(var(--gutter), calc((100vw - var(--wrap)) / 2)); border: 0; background: none; color: #fff; font-size: .875rem; font-weight: 700; cursor: pointer; }
.mega-close .ico { width: 16px; height: 16px; }
.mega-inner { padding-top: 26px; padding-bottom: 36px; }
.mega-top { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; color: var(--text); font-size: 1rem; font-weight: 700; }
.mega-top .ico { width: 16px; height: 16px; }
.mega-top:hover { color: var(--blue); }
.mega-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 36px; }
.mg-link, .mg-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 15px 0 14px; border: 0; border-bottom: 1px solid var(--line-dark);
  background: none; color: var(--text); font-size: .875rem; text-align: left; cursor: pointer; transition: color .2s, background-color .2s; }
.mg-link .ico { width: 16px; height: 16px; color: var(--muted); }
.mg-link:hover, .mg-toggle:hover { color: var(--blue); }
.mg-item { position: relative; }
.has-sub > .mg-toggle { padding-right: 32px; }
.mg-pm { position: absolute; top: 50%; right: -9px; width: 32px; height: 32px; margin-top: -16px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.mg-item:hover > .mg-pm, .mg-item.is-on > .mg-pm { color: var(--blue); }
.mg-pm::before, .mg-pm::after { content: ""; position: absolute; top: 50%; left: 9px; width: 14px; height: 1.5px; margin-top: -.75px; background: currentColor; transition: transform .3s var(--ease); }
.mg-pm::after { transform: rotate(90deg); }
.is-on > .mg-toggle { margin: 0 -14px; width: calc(100% + 28px); padding-left: 14px; padding-right: 14px; border-bottom-color: transparent; background: #fff; color: var(--blue); }
.mg-pm[aria-expanded="true"]::after { transform: rotate(0); }
/* the next layer: a white band under the row, full width */
.mg-sub { grid-column: 1 / -1; background: #fff; box-shadow: 0 0 0 100vmax #fff; clip-path: inset(0 -100vmax); }
.mg-sub > ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 36px; padding: 18px 0 22px; }
.mg-sub a { display: block; padding: 9px 0; color: var(--text); font-size: .875rem; }
.mg-sub a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.mg-col-h { font-weight: 700; }
.mg-col ul a { padding-left: 12px; font-size: .875rem; color: var(--muted); }
.e-scrim { position: fixed; inset: 0; z-index: 40; background: rgba(0, 10, 30, .35); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
html.is-mega .e-scrim { opacity: 1; visibility: visible; transition: opacity .3s, visibility 0s; }

/* ---------- 01 main visual + service cards (softbank.jp/business: 250px banner, 436 x 164 cards, 24px gap) ---------- */
.e-kv { position: relative; height: clamp(230px, calc(22vw + 10px), 370px); overflow: hidden; background: #fff; }
/* photo fills the right ~60%, headline sits on clean white at the left; a short blend joins them */
.e-kv > img { position: absolute; top: 0; right: 0; width: 62%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.e-kv::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #fff 38%, rgba(255, 255, 255, .7) 44%, rgba(255, 255, 255, 0) 54%); }
.e-kv.e-kv-connected > img { width: 100%; object-position: center; }
.e-kv.e-kv-connected::before { background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .94) 30%, rgba(255, 255, 255, .12) 52%, rgba(255, 255, 255, 0) 70%); }
.e-kv-copy { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; }
.e-kv-copy .wrap { width: 100%; }
.e-kv-tag { color: var(--blue); font-size: .875rem; font-weight: 700; letter-spacing: .02em; }
.e-kv h1 { max-width: 17em; margin-top: 6px; color: var(--ink); font-size: clamp(1.375rem, .9rem + 1.5vw, 2.25rem); line-height: 1.35; }
html:lang(th) .e-kv h1 { font-size: clamp(1.25rem, .85rem + 1.3vw, 2rem); line-height: 1.5; }

.e-cards { --peek: clamp(40px, 9vw, 150px); margin-top: 24px; padding-bottom: 8px; overflow: hidden; }
.e-cards[data-slider] { --gap: 24px; }
.e-cards .sl-viewport { width: calc(100% - var(--gutter) - var(--peek)); margin-left: var(--gutter); overflow: visible; }
.e-card { position: relative; display: block; aspect-ratio: 436 / 164; overflow: hidden; border-radius: var(--r); color: #fff; }
.e-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.e-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 20, 60, .84) 0%, rgba(0, 20, 60, .6) 42%, rgba(0, 20, 60, 0) 78%); }
.e-card:hover { color: #fff; }
.e-card:hover img { transform: scale(1.04); }
.e-card-copy { position: absolute; z-index: 1; left: clamp(16px, 2vw, 30px); top: 50%; max-width: 62%; transform: translateY(-50%); }
.e-card-tag { display: inline-block; padding: 1px 8px; border-radius: 3px; background: var(--blue); font-size: .875rem; font-weight: 700; }
.e-card strong { display: block; margin-top: 8px; font-size: clamp(1rem, .8rem + .6vw, 1.375rem); line-height: 1.35; }
.e-cards .sl-ui { gap: 14px; margin-top: 16px; }
.e-cards .sl-arrow { width: 28px; height: 28px; border: 0; background: rgba(0, 0, 0, .6); color: #fff; }
.e-cards .sl-arrow:hover { background: #000; color: #fff; }
.e-cards .sl-arrow .ico { width: 14px; height: 14px; stroke-width: 2.4; }
.e-cards .sl-dots { gap: 4px; }
.e-cards .sl-dot, .e-cards .sl-dot[aria-current="true"] { width: 26px; height: 28px; }
.e-cards .sl-dot::before, .e-cards .sl-dot[aria-current="true"]::before { width: 10px; height: 10px; }
.e-cards .sl-dot::before { background: #C7C7C7; }
.e-cards .sl-dot[aria-current="true"]::before { background: #6D6D6D; }
.e-cards .sl-pause { width: 28px; height: 28px; border: 0; background: #E3E3E3; color: var(--ink); }
.e-cards .sl-pause:hover { background: #CFCFCF; color: var(--ink); }
.e-cards .sl-pause .ico { width: 13px; height: 13px; stroke-width: 2.4; }

/* ---------- sections ---------- */
.e-sec { padding: clamp(56px, 6vw, 88px) 0; scroll-margin-top: 60px; }
.e-sec.soft { background: var(--soft); }
.e-kicker { color: var(--blue); font-size: .875rem; font-weight: 700; }
.e-h2 { margin: 6px 0 clamp(28px, 3.4vw, 44px); color: var(--text); font-size: clamp(1.625rem, 1rem + 2vw, 2.75rem); line-height: 1.3; }
.e-h2.center { margin-left: auto; margin-right: auto; text-align: center; }
html:lang(th) .e-h2 { font-size: clamp(1.5rem, 1rem + 1.6vw, 2.375rem); line-height: 1.45; }

/* ---------- 02 service categories: icon tiles ---------- */
#services .e-h2 { max-width: 22em; }
.e-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.e-tile { display: flex; align-items: center; gap: 24px; height: 100%; min-height: 168px; padding: 24px 28px; border-radius: var(--r); background: #fff; color: var(--text);
  box-shadow: 0 2px 0 rgba(0, 0, 0, .1); transition: box-shadow .3s ease-out, color .2s; }
.e-tile:hover { color: var(--blue); box-shadow: 0 6px 20px rgba(0, 0, 0, .16); }
.e-ico { flex: none; width: 50px; height: 50px; color: var(--blue); }
.e-tile-name { font-weight: 700; line-height: 1.5; }
.e-tile .ico { width: 16px; height: 16px; margin-left: auto; color: var(--muted); }

/* ---------- buttons ---------- */
.e-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; max-width: 320px; min-height: 52px; padding: 10px 20px;
  border-radius: var(--r-sm); font-weight: 700; transition: background-color .3s, color .3s; }
.e-btn .ico { width: 18px; height: 18px; }
.e-btn.cta { background: var(--cta); color: #fff; }
.e-btn.cta:hover { background: var(--cta-deep); color: #fff; }
.e-btn.line { box-shadow: inset 0 0 0 1px var(--ink); color: var(--ink); }
.e-btn.line:hover { background: #F0F0F0; color: var(--ink); }

/* ---------- contact page (MTG 2026-10-19): the form is the only way in; no address or map ---------- */
.cf-sec { background: var(--soft); }
.cf-wrap { max-width: calc(760px + var(--gutter) * 2); }
.cf-head h1 { color: var(--ink); font-size: clamp(1.875rem, 1.1rem + 2.2vw, 2.75rem); line-height: 1.25; }
.cf-lead { margin-top: 12px; color: var(--muted); }
.cf { display: grid; gap: 22px; margin-top: clamp(28px, 3.4vw, 40px); padding: clamp(24px, 3.4vw, 44px); border-radius: var(--r); background: #fff; }
.cf-row { display: grid; gap: 8px; }
.cf-row label { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; }
.cf-req { padding: 0 6px; border-radius: 3px; background: var(--blue-pale); color: var(--blue); font-size: .75rem; font-weight: 700; }
.cf input[type="text"], .cf input[type="email"], .cf select, .cf textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line-dark); border-radius: var(--r-sm);
  background: #fff; color: var(--ink); font: inherit; transition: border-color .2s, box-shadow .2s; }
.cf textarea { min-height: 160px; resize: vertical; }
.cf select { appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235E5E5E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; }
.cf input:focus, .cf select:focus, .cf textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22, 109, 255, .2); }
.cf.was-checked :invalid { border-color: #D93025; }
.cf-agree { display: flex; align-items: flex-start; gap: 10px; color: var(--text); font-size: .9375rem; }
.cf-agree input { flex: none; width: 18px; height: 18px; margin-top: 4px; accent-color: var(--blue); }
.cf-agree a { text-decoration: underline; text-underline-offset: 3px; }
.cf .e-btn { justify-self: center; border: 0; font: inherit; font-weight: 700; cursor: pointer; }
.cf-note { color: var(--muted); font-size: .8125rem; text-align: center; }
.cf-error { color: #D93025; font-size: .875rem; text-align: center; }
.cf-error[hidden] { display: none; }
.cf-ts:not(.cf-turnstile) { display: none; }
.cf-ts { display: flex; justify-content: center; min-height: 65px; }
.cf-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf [type="submit"]:disabled { opacity: .6; cursor: progress; }
.cf-done { display: flex; flex-direction: column; align-items: center; padding-top: clamp(24px, 4vw, 56px); padding-bottom: clamp(24px, 4vw, 56px); text-align: center; }
.cf-done .ec-ico { background: #fff; }
.cf-done .cf-lead { max-width: 34em; margin-bottom: 28px; }

/* ---------- CMP-CTA-002, redesigned: navy band + one white form panel ---------- */
.e-contact { padding: clamp(56px, 6vw, 88px) 0; background: var(--navy); color: #fff; scroll-margin-top: 60px; }
.ec-head { max-width: 900px; margin: 0 auto clamp(28px, 3.4vw, 44px); text-align: center; }
.e-contact .e-kicker { color: #8AB6FF; }
.e-contact .e-h2 { margin-bottom: 0; color: #fff; font-size: clamp(1.375rem, 1rem + 1.4vw, 2.25rem); }
.ec-lead { margin-top: 14px; color: rgba(255, 255, 255, .8); }
.ec-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1000px; margin: 0 auto; }
.ec-panel { display: flex; flex-direction: column; align-items: center; padding: clamp(28px, 3vw, 40px); border-radius: var(--r); background: #fff; color: var(--text); text-align: center; }
.ec-ico { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 14px; border-radius: 50%; background: var(--blue-pale); color: var(--blue); }
.ec-ico .ico { width: 26px; height: 26px; }
.ec-panel h3 { font-size: 1.125rem; }
.ec-tel { margin: 8px 0 2px; color: var(--ink); font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.375rem); font-weight: 700; line-height: 1.3; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ec-tel.text { font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem); }
.ec-note { margin: 8px 0 22px; color: var(--muted); font-size: .875rem; }
.ec-panel .e-btn { margin-top: auto; }
.ec-panels.one { grid-template-columns: minmax(0, 560px); justify-content: center; }

/* CMP-CTA-004: no pulse ring on this pattern (review 2026-10-09) */
.sc-bar.one { grid-template-columns: 1fr; }              /* form only: no call button (MTG 2026-10-19) */
.sc-fab .sc-fab-btn { animation: none !important; }

/* ---------- footer ---------- */
.e-footer { background: #F7F7F7; border-top: 1px solid var(--line); font-size: .875rem; }
.ef-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: 56px 0 48px; }
.e-footer .e-logo img { mix-blend-mode: multiply; }
.e-footer address { margin-top: 16px; color: var(--muted); font-style: normal; line-height: 1.8; }
.e-footer h2 { margin-bottom: 12px; font-size: 1rem; }
.e-footer li a { display: inline-block; padding: 4px 0; color: var(--text); }
.e-footer li a .ico { width: 14px; height: 14px; margin-left: 5px; vertical-align: -2px; color: var(--muted); }
.e-footer li a:hover { color: var(--blue); }
.ef-bottom { background: var(--ink); color: rgba(255, 255, 255, .8); font-size: .875rem; }
.ef-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding-top: 16px; padding-bottom: 16px; }

/* ===================== Digital marketing page ===================== */
.e-crumbs { background: #E9ECEF; font-size: .875rem; }
.e-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; padding: 6px 0; }
.e-crumbs li + li::before { content: ">"; margin: 0 8px; color: var(--muted); }
.e-crumbs a { color: var(--text); }
.e-crumbs a:hover { color: var(--blue); text-decoration: underline; }
.e-crumbs [aria-current] { font-weight: 700; }

/* 1 hero: black text panel + photo */
.dm-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: clamp(280px, 24vw, 360px); background: #000; color: #fff; }
.dm-hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(36px, 4vw, 56px) clamp(24px, 3vw, 48px) clamp(36px, 4vw, 56px) max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.dm-kicker { font-size: .875rem; font-weight: 700; }
.dm-hero h1 { margin-top: 8px; color: #fff; font-size: clamp(1.875rem, 1.1rem + 2.4vw, 3rem); line-height: 1.25; }
.dm-text { max-width: 34em; margin-top: 18px; color: rgba(255, 255, 255, .88); font-size: 1rem; }
.dm-hero-img { position: relative; min-height: 220px; }
.dm-hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dm-local { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 2px 6px rgba(0, 0, 0, .04); }
.dm-local ul { display: flex; justify-content: center; gap: clamp(16px, 2.6vw, 36px); }
.dm-local a { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 16px 2px; color: var(--text); font-size: .875rem; font-weight: 700; white-space: nowrap; }
.dm-local a .ico { width: 14px; height: 14px; }
.dm-local a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--blue); transform: scaleX(0); transition: transform .3s var(--ease); }
.dm-local a:hover, .dm-local a.on { color: var(--blue); }
.dm-local a.on::after { transform: scaleX(1); }

/* 2 statement */
.dm-intro { text-align: center; }
.dm-statement { max-width: 26em; margin: 0 auto; color: var(--ink); font-size: clamp(1.5rem, 1rem + 1.7vw, 2.5rem); line-height: 1.4; }
.dm-statement-p { max-width: 44em; margin: 22px auto 0; color: var(--muted); font-size: 1rem; }

/* 3 challenges */
.pains { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 64px); align-items: stretch; }
.pains .e-h2 { margin-bottom: 0; }
.pains-img { margin-top: 28px; overflow: hidden; border-radius: var(--r); aspect-ratio: 4 / 3; }
.pains-img img { width: 100%; height: 100%; object-fit: cover; }
.pains-list { display: flex; flex-direction: column; padding: 0 28px; border-radius: var(--r); background: #fff; box-shadow: 0 2px 0 rgba(0, 0, 0, .08); }
.pains-list li { flex: 1; display: flex; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid #E3E3E3; color: var(--ink); font-weight: 500; }
.pains-list li:last-child { border-bottom: 0; }
.pains-list .ico { width: 26px; height: 26px; margin-top: 0; color: var(--blue); stroke-width: 1.9; }
.pains-answer { width: min(760px, 100%); margin: clamp(36px, 4vw, 56px) auto 0; padding: 22px 24px 50px; background: var(--navy); color: #fff; text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% 62%, 50% 100%, 0 62%); }
.pains-answer p { font-size: clamp(1.0625rem, .9rem + .6vw, 1.375rem); font-weight: 700; line-height: 1.45; }

/* 4 four services (infographic cards) */
.svcs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.svc { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #D5DCE6; border-radius: var(--r); background: #fff; scroll-margin-top: 80px; }
.svc-h { min-height: 98px; padding: 16px 18px; background: #2A6FCB; color: #fff; }
.svc-h h3 { color: #fff; font-size: 1.0625rem; line-height: 1.4; }
.svc-no { margin-right: 4px; }
.svc-h p { margin-top: 4px; color: rgba(255, 255, 255, .75); font-size: .8125rem; }
.svc-illu { padding: 20px 14px 6px; }
.illu { display: block; width: 100%; height: auto; }
.illu text { font-family: var(--font); }
.svc-tags { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 6px; padding: 10px 18px 4px; }
.svc-tags li { padding: 2px 10px; border-radius: 3px; background: #EEF2F7; color: var(--ink); font-size: .8125rem; font-weight: 500; }
.svc-d { padding: 12px 18px 22px; font-size: .9375rem; line-height: 1.7; }

/* 5 complete service overview */
.ov-head { max-width: 880px; margin: 0 auto; text-align: center; }
.ov-head .e-h2 { margin-bottom: 0; }
.ov-q { margin-top: 22px; color: var(--ink); font-size: 1.125rem; font-weight: 700; }
.ov-lead { margin-top: 10px; color: var(--muted); }
.ov { display: grid; grid-template-columns: 1fr 1fr 1.25fr .9fr; grid-template-rows: auto auto auto 1fr; column-gap: 20px; margin-top: 40px; }
/* stages step from SoftBank blue to pale blue (no dark shades, user 2026-10-15); light stages use navy text.
   layers inside a column: grey section > white box > solid title > tinted items */
.ov-col { --c: #166DFF; --fg: #fff; --t: #E8F0FF; display: grid; grid-row: span 4; grid-template-rows: subgrid; }
.ov-col.s2 { --c: #5C9CFF; --fg: #0A2A63; --t: #EBF3FF; }
.ov-col.s3 { --c: #94BFFF; --fg: #0A2A63; --t: #EEF5FF; }
.ov-col.s4 { --c: #CFE2FF; --fg: #0A2A63; --t: #F2F7FF; }
.ov-stage { display: flex; align-items: center; justify-content: center; min-height: 50px; padding: 6px 26px; background: var(--c); color: var(--fg); font-size: .875rem; font-weight: 700; line-height: 1.3; text-align: center;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%, 16px 50%); }
.ov-col.s1 .ov-stage { clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%); }
.ov-box { position: relative; display: grid; grid-row: span 3; grid-template-rows: subgrid; align-content: start; margin-top: 12px; padding: 14px; border: 1px solid var(--line); border-top: 4px solid var(--c); border-radius: var(--r); background: #fff; }
.ov-col:not(:last-child) .ov-box::after { content: ""; position: absolute; top: 50%; right: -17px; border: 8px solid transparent; border-left: 10px solid var(--line-dark); border-right: 0; transform: translateY(-50%); }
.ov-box h3 { display: flex; align-items: center; justify-content: center; padding: 12px 10px; border-radius: var(--r-sm); background: var(--c); color: var(--fg); font-size: 1.125rem; line-height: 1.4; text-align: center; }
.ov-p { display: flex; align-items: center; justify-content: center; margin: 10px 4px 4px; color: var(--muted); font-size: 1rem; line-height: 1.6; text-align: center; }
.ov-box li { margin-top: 10px; padding: 12px 8px; border-radius: var(--r-sm); background: var(--t); color: var(--ink); font-size: .875rem; font-weight: 500; line-height: 1.45; text-align: center; }
.ov-ec { display: grid; grid-template-columns: 190px repeat(3, minmax(0, 1fr)) 210px; gap: 14px; align-items: stretch; margin-top: 20px; padding: 14px; border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: var(--r); background: #fff; }
.ov-ec h3 { display: flex; align-items: center; justify-content: center; padding: 14px 10px; border-radius: var(--r-sm); background: #E8F0FF; color: var(--ink); font-size: .875rem; font-weight: 500; line-height: 1.45; text-align: center; }
.ov-ec ul { display: contents; }
.ov-ec li { display: flex; align-items: center; justify-content: center; padding: 14px 10px; border-radius: var(--r-sm); background: #E8F0FF; color: var(--ink); font-size: .875rem; font-weight: 500; line-height: 1.45; text-align: center; }
.ov-ec p { align-self: center; color: var(--muted); font-size: 1rem; line-height: 1.6; }

/* 6 why choose us */
.whys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.why { padding: 4px clamp(20px, 2.6vw, 40px); }
.why + .why { border-left: 1px solid var(--line); }
.why-no { display: inline-grid; place-items: center; width: 46px; height: 46px; border: 2px solid var(--blue); border-radius: 50%; color: var(--blue); font-size: 1.25rem; font-weight: 700; line-height: 1; }
.why h3 { margin: 18px 0 12px; color: var(--ink); font-size: clamp(1.125rem, 1rem + .4vw, 1.375rem); line-height: 1.45; }
.why p { font-size: 1rem; }

/* 7 how we support you */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: auto auto auto; column-gap: 6px; }
/* same blue-to-pale ramp as the overview; light steps use navy text */
.st { --c: #166DFF; --fg: #fff; display: grid; grid-row: span 3; grid-template-rows: subgrid; }
.st.s2 { --c: #5C9CFF; --fg: #0A2A63; }
.st.s3 { --c: #86B5FF; --fg: #0A2A63; }
.st.s4 { --c: #AECDFF; --fg: #0A2A63; }
.st.s5 { --c: #D6E6FF; --fg: #0A2A63; }
.st-h { display: flex; flex-direction: column; justify-content: center; min-height: 84px; padding: 12px 30px 12px 22px; background: var(--c); color: var(--fg);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%, 18px 50%); }
.st + .st .st-h { padding-left: 38px; }
.st.s1 .st-h { padding-left: 16px; clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%); }
.st-h span { font-size: .875rem; font-weight: 700; line-height: 1.2; }
.st-h strong { margin-top: 2px; font-size: 1.125rem; line-height: 1.35; }
.st-p { margin-top: 12px; padding: 4px 12px 8px; font-size: 1rem; line-height: 1.7; }
.st-illu { margin-top: auto; padding: 8px 12px 0; }
.st-illu .illu { max-width: 200px; margin: 0 auto; }
/* divider sits under the arrow tip (right edge of the previous step), not at the next step's notch */
.st:not(:last-child) .st-p, .st:not(:last-child) .st-illu { border-right: 1px solid var(--line); }

/* ===================== About page ===================== */
.story { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.story-img { overflow: hidden; border-radius: var(--r); }
.story-img img { width: 100%; }
.story .e-h2 { margin-bottom: 18px; }
.story-p + .story-p { margin-top: 14px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 28px 0 0; border-top: 1px solid var(--line); }
.facts div { padding: 16px 16px 0 0; }
.facts dt { color: var(--muted); font-size: .875rem; }
.facts dd { margin: 2px 0 0; color: var(--ink); font-size: 1.25rem; font-weight: 700; line-height: 1.4; }

/* group network map: flags open a card with the company name and link */
.net-head { max-width: 780px; }
.net-head .e-h2 { margin-bottom: 14px; }
.gmap { position: relative; margin-top: clamp(28px, 4vw, 48px); }
.gm-land { width: 100%; }
.gm-lines { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.gm-line { fill: none; stroke: #A3ABB6; stroke-width: 1; vector-effect: non-scaling-stroke; transition: stroke .25s; }
.gm-line.on { stroke: var(--blue); stroke-width: 1.5; }
.gm-dot { position: absolute; z-index: 2; width: 7px; height: 7px; border-radius: 50%; background: #8C95A1; transform: translate(-50%, -50%); transition: transform .25s var(--ease), background-color .25s; }
.gm-dot.on { z-index: 3; background: var(--blue); transform: translate(-50%, -50%) scale(1.4); }
.gm-pin { --tx: -50%; position: absolute; z-index: 3; transform: translate(-50%, -50%); }
.gm-pin:hover, .gm-pin:has(:focus-visible), .gm-pin.is-open { z-index: 20; }
.gm-flag { display: block; padding: 0; border: 0; background: none; cursor: pointer; transition: transform .25s var(--ease); }
.gm-flag img { width: clamp(28px, 3.2vw, 46px); height: auto; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12), 0 3px 8px rgba(0, 20, 60, .18); }
.gm-flag:hover, .gm-pin.is-open .gm-flag { transform: translateY(-2px); }
.gm-flag.us img { outline: 3px solid var(--blue); outline-offset: 2px; }
.gm-card { position: absolute; bottom: calc(100% + 12px); left: 50%; width: 290px; padding: 14px 16px 16px; border-radius: var(--r); background: #fff; color: var(--text); text-align: left;
  box-shadow: 0 0 0 1px var(--line), 0 18px 40px -16px rgba(0, 20, 60, .45); opacity: 0; visibility: hidden; transform: translate(var(--tx), 6px);
  transition: opacity .2s, transform .3s var(--ease), visibility 0s .3s; }
.gm-card::before { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }   /* keeps hover alive between flag and card */
.gm-pin.below .gm-card { top: calc(100% + 12px); bottom: auto; transform: translate(var(--tx), -6px); }
.gm-pin.below .gm-card::before { top: auto; bottom: 100%; }
.gm-pin.left { --tx: 0; }
.gm-pin.left .gm-card { left: -8px; }
/* side: card opens to the right of the flag, vertically centred */
.gm-pin.side .gm-card { top: 50%; bottom: auto; left: calc(100% + 12px); transform: translate(6px, -50%); }
.gm-pin.side .gm-card::before { top: 0; bottom: 0; left: -14px; right: auto; width: 14px; height: auto; }
.gm-pin.side:hover .gm-card, .gm-pin.side:has(:focus-visible) .gm-card, .gm-pin.side.is-open .gm-card { transform: translate(0, -50%); }
.gm-pin.right { --tx: 0; }
.gm-pin.right .gm-card { left: auto; right: -8px; }
.gm-pin:hover .gm-card, .gm-pin:has(:focus-visible) .gm-card, .gm-pin.is-open .gm-card { opacity: 1; visibility: visible; transform: translate(var(--tx), 0); transition: opacity .2s, transform .3s var(--ease), visibility 0s; }
.gm-pin.is-hush .gm-card { opacity: 0; visibility: hidden; }
.gm-country, .gl-country { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.gm-country img, .gl-country img { width: 24px; height: auto; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.gm-country b, .gl-country b { color: var(--ink); }
.gm-us { padding: 0 8px; border-radius: 3px; background: var(--blue); color: #fff; font-size: .875rem; font-weight: 700; }
.gm-us.hq { background: var(--ink); }
.gm-cos, .gl-cos { margin-top: 10px; }
.gm-cos li + li, .gl-cos li + li { margin-top: 6px; }
.gm-cos a, .gl-cos a { display: inline-flex; align-items: flex-start; gap: 6px; color: var(--ink); font-size: .875rem; font-weight: 700; line-height: 1.45; }
.gm-cos a .ico, .gl-cos a .ico { width: 14px; height: 14px; margin-top: 3px; color: var(--blue); }
.gm-cos a:hover, .gl-cos a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.gm-cities, .gl-cities { margin-top: 8px; color: var(--muted); font-size: .875rem; line-height: 1.6; }
.glist { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: clamp(24px, 3vw, 40px); }
.gl-item { padding: 16px 18px 18px; border-radius: var(--r); background: #fff; box-shadow: 0 2px 0 rgba(0, 0, 0, .08); }
.gl-item.us { box-shadow: inset 0 0 0 2px var(--blue); }

/* profile table + access */
.profile { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); }
.profile th, .profile td { padding: 18px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.profile th { width: 240px; background: var(--soft); color: var(--ink); font-weight: 700; }
.access { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.access .e-h2 { margin-bottom: 12px; }
.acc-dl { margin: 0 0 24px; }
.acc-dl div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.acc-dl dt { color: var(--muted); font-size: .875rem; }
.acc-dl dd { margin: 2px 0 0; color: var(--ink); }
.access iframe { width: 100%; min-height: 360px; border: 0; border-radius: var(--r); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .glist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .e-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svcs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ov { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ov-col.s2 .ov-box::after { display: none; }
  .ov-col.s3, .ov-col.s4 { margin-top: 20px; }
  .ov-col.s3 .ov-stage { clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%); }
  .ov-ec { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ov-ec h3, .ov-ec p { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; grid-template-rows: none; gap: 14px; }
  .st { display: grid; grid-row: auto; grid-template-rows: none; grid-template-columns: 1fr 180px; align-items: center; column-gap: 20px; }
  .st-h, .st.s1 .st-h { grid-column: 1 / -1; min-height: 0; padding: 12px 18px 22px; clip-path: polygon(0 0, 100% 0, 100% 72%, 50% 100%, 0 72%); }
  .st-h { flex-direction: row; align-items: baseline; gap: 10px; }
  .st:not(:last-child) .st-p, .st:not(:last-child) .st-illu { border-right: 0; }
  .st-illu { margin: 0; padding: 8px 0; }
}
@media (max-width: 960px) {
  /* header becomes logo + language + burger; the menu opens as a sheet (CMP-DROP-002 phone mode) */
  .e-header-in { grid-template-columns: 1fr auto auto; grid-template-areas: "logo util burger"; min-height: 64px; column-gap: 12px; }
  .e-logo img { width: 150px; }
  .e-util { padding: 0; }
  .e-util > a { display: none; }
  .e-burger { grid-area: burger; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; cursor: pointer; }
  .e-burger span, .e-burger span::before, .e-burger span::after { display: block; width: 18px; height: 2px; background: var(--ink); transition: transform .3s var(--ease), background-color .2s; }
  .e-burger span { position: relative; }
  .e-burger span::before, .e-burger span::after { content: ""; position: absolute; left: 0; }
  .e-burger span::before { top: -6px; }
  .e-burger span::after { top: 6px; }
  .is-menu .e-burger span { background: transparent; }
  .is-menu .e-burger span::before { transform: translateY(6px) rotate(45deg); }
  .is-menu .e-burger span::after { transform: translateY(-6px) rotate(-45deg); }
  .gnav { position: absolute; top: 100%; left: 0; right: 0; justify-self: stretch; display: none; height: calc(100vh - 64px); height: calc(100dvh - 64px); overflow-y: auto; padding: 0 var(--gutter) 120px; background: #fff; border-top: 1px solid var(--line); }
  .is-menu .gnav { display: block; }
  body.menu-open { overflow: hidden; }
  .gnav-list { flex-direction: column; gap: 0; }
  .gnav-item { border-bottom: 1px solid var(--line); }
  .gnav-link, .gnav-trigger { justify-content: space-between; width: 100%; padding: 16px 0; color: var(--ink); font-size: 1rem; font-weight: 700; }
  .gnav-link::after, .gnav-trigger::after { display: none; }
  .mega { position: static; display: none; box-shadow: none; background: none; opacity: 1; visibility: visible; transform: none; transition: none; }
  .is-open > .mega { display: block; }
  .mega-bar { display: none; }
  .mega-inner { padding: 0 0 16px; }
  .mega-top { margin: 0; padding: 10px 0; font-size: 1rem; }
  .mega-grid, .mg-sub > ul { grid-template-columns: 1fr; }
  .mg-link, .mg-toggle { padding: 13px 0 13px 14px; border-bottom-color: var(--line); }
  .is-on > .mg-toggle { margin: 0; width: 100%; padding: 13px 0 13px 14px; background: none; }
  .mg-sub { box-shadow: none; clip-path: none; background: var(--soft); }
  .mg-sub > ul { padding: 6px 0 10px 28px; }
  .e-scrim { display: none; }
}
@media (max-width: 760px) {
  .story, .access { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .facts div { padding: 12px 0 0; }
  .gm-pin, .gm-lines { display: none; }            /* phones: the map shows the dots; the list below carries the details */
  .gm-dot { width: 5px; height: 5px; }
  .glist { grid-template-columns: 1fr; }
  .profile th, .profile td { display: block; width: auto; padding: 12px 14px; }
  .profile th { border-bottom: 0; }
  .e-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .e-tile { flex-direction: column; align-items: flex-start; gap: 14px; min-height: 0; padding: 20px; }
  .e-ico { width: 42px; height: 42px; }
  .e-tile .ico { position: absolute; }
  .e-tile { position: relative; }
  .e-tile .ico { top: 20px; right: 18px; }
  .e-kv > img { width: 100%; }
  .e-kv::before { background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .9) 45%, rgba(255, 255, 255, .2) 100%); }
  .e-kv.e-kv-connected > img { object-position: 62% center; }
  .e-kv.e-kv-connected::before { background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .92) 45%, rgba(255, 255, 255, .15) 78%, rgba(255, 255, 255, 0) 100%); }
  .e-cards { --peek: 44px; margin-top: 14px; }
  .e-cards[data-slider] { --gap: 12px; }
  .e-cards .sl-viewport { margin-left: 16px; width: calc(100% - 16px - var(--peek)); }
  .e-card { aspect-ratio: 16 / 8; }
  .e-card-copy { max-width: 80%; }
  .e-card::after { background: linear-gradient(90deg, rgba(0, 20, 60, .88) 0%, rgba(0, 20, 60, .72) 55%, rgba(0, 20, 60, .35) 85%, rgba(0, 20, 60, .15) 100%); }
  .e-card-copy { text-shadow: 0 1px 6px rgba(0, 0, 0, .45); }
  .ec-panels { grid-template-columns: 1fr; }
  .ec-panel .e-btn { max-width: none; }
  .ef-top { grid-template-columns: 1fr 1fr; }
  .ef-brand { grid-column: 1 / -1; }
  .dm-hero { grid-template-columns: 1fr; }
  .dm-hero-img { order: -1; min-height: 200px; }
  .dm-hero-copy { padding: 28px var(--gutter) 32px; }
  .dm-local ul { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .dm-local a { padding: 14px 2px; }
  .pains { grid-template-columns: 1fr; }
  .pains-img { display: none; }
  .pains-list { padding: 4px 18px; }
  .svcs, .ov, .whys { grid-template-columns: 1fr; }
  .svc-h { min-height: 0; }
  .ov-col .ov-stage, .ov-col.s1 .ov-stage, .ov-col.s3 .ov-stage { clip-path: none; border-radius: var(--r-sm); }
  .ov-col .ov-box::after { display: none; }
  .ov-col + .ov-col { margin-top: 20px; }
  .ov-ec { grid-template-columns: 1fr; }
  .why { padding: 24px 0; }
  .why + .why { border-left: 0; border-top: 1px solid var(--line); }
  .st { grid-template-columns: 1fr 120px; column-gap: 12px; }
  .st-p { margin-top: 0; padding: 12px 0 0; }
}
/* 381-599px: one card per view stretched to ~540x270 and looked oversized; keep it phone-sized, the next card peeks more */
@media (min-width: 381px) and (max-width: 599px) {
  .e-cards .sl-viewport { width: min(calc(100% - 16px - var(--peek)), 320px); }
}
@media (max-width: 420px) {
  .e-tiles { grid-template-columns: 1fr; }
  .e-tile { flex-direction: row; align-items: center; }
  .ef-top { grid-template-columns: 1fr; }
}
/* ---------- IT infrastructure: network diagram (client slide "1-1. Network Infrastructure", 2026-10-20) ----------
   Real HTML boxes (readable for search and AI tools). Outside and site are two 12-column grids with the same inner
   width and gap, so the trunk from the WAN bar runs straight down to the firewall and the switch. Lines are
   pseudo-elements behind / inside the opaque boxes. Light palette: white boxes with a blue top edge, pale blue chips.
   Below 1000px the boxes stack and the lines go. */
.it-diagram .e-h2 { margin-bottom: 12px; }
.itd-lead { max-width: 46em; margin-bottom: clamp(28px, 3.4vw, 44px); color: var(--muted); }
.itd { --g: 16px; --rg: 32px; --ln: #8DB2F0; --ink2: #0A2A63; margin: 0; }
.itd ul { margin: 0; padding: 0; list-style: none; }
.itd-out, .itd-row { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); }
.itd-out { padding: 0 24px; }                                   /* same inner width as the site box */
.itd-box { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; padding: 14px 14px 16px;
  border: 1px solid #D6E2F3; border-top: 3px solid var(--blue); border-radius: 10px; background: #fff; }
/* every box opens the same way: [own icon] + title, left-aligned over a hairline; the labels under the icons are
   smaller and lighter so they read as contents, not headings */
.itd-head { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid #E3EBF6; }
.itd-box h3 { color: var(--ink2); font-size: .9375rem; font-weight: 700; line-height: 1.35; text-align: left; }
.itd-hico { width: 30px; height: 30px; color: var(--blue); }
.itd-items { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 20px; }
.itd-items li { display: flex; flex-direction: column; align-items: center; gap: 4px; color: #4A5B78; font-size: .75rem; font-weight: 500; line-height: 1.3; text-align: center; }
.itd-ico { width: 36px; height: 36px; color: var(--ink2); }
.itd-chips, .itd-brands { display: flex; flex-wrap: wrap; gap: 6px; }
.itd-chips li { padding: 4px 8px; border: 1px solid #D6E6FF; border-radius: 6px; background: #EEF4FF; color: var(--ink2); font-size: .75rem; line-height: 1.4; }
.itd-brands li { padding: 3px 8px; border: 1px solid var(--line); border-radius: 6px; color: var(--text); font-size: .75rem; font-weight: 700; }
.itd-flags { display: flex; justify-content: center; gap: 8px; }
.itd-flags img { display: block; width: 30px; height: 22px; border: 1px solid var(--line); border-radius: 3px; object-fit: cover; }

/* outside: monitoring | global sites, internet, remote access over the WAN bar | cloud */
.itd-ops { grid-column: 1 / 4; align-self: end; }                  /* sits level with the WAN bar */
.itd-core { grid-column: 4 / 9; display: flex; flex-direction: column; justify-content: flex-end; gap: 18px; }
.itd-cloud { grid-column: 9 / 13; }
.itd-up { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--g); align-items: end; }
.itd-up .itd-box { padding: 12px; }
/* global sites: another site, so dashed and pale like the office / factory site below */
.itd-global { border: 1.5px dashed #9DBDF2; background: #F3F8FF; }
.itd-global .itd-head { border-bottom-color: #D6E6FF; }
/* the internet: a cloud shape with its name in it */
.itd-up .itd-internet { align-self: end; display: grid; place-items: center; padding: 0; border: 0; background: none; }   /* no padding: the cloud edge meets its line */
.itd-cloud-shape { grid-area: 1 / 1; display: block; width: 80%; max-width: 136px; height: auto; fill: #EEF4FF; stroke: var(--blue); stroke-width: 1.5; overflow: visible; }
.itd-internet h3 { grid-area: 1 / 1; padding-top: 18%; color: var(--blue); }
.itd-up .itd-box::after { content: ""; position: absolute; left: 50%; bottom: -19px; width: 2px; height: 18px; margin-left: -1px; background: var(--ln); }
/* the WAN / SASE / SWG link: a white connector with a blue frame, its icon and a one-line description */
.itd-wan { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 12px 18px;
  border: 2px solid var(--blue); border-radius: 12px; background: #fff; box-shadow: 0 8px 20px -14px rgba(22, 109, 255, .7); }
.itd-wan .itd-ico { flex: none; width: 34px; height: 34px; padding: 6px; border-radius: 8px; background: var(--blue); color: #fff; }
.itd-wan p { display: flex; flex-direction: column; margin: 0; line-height: 1.35; }
.itd-wan b { color: var(--ink2); font-size: 1.0625rem; letter-spacing: .02em; }
.itd-wan p > span { color: #4A5B78; font-size: .75rem; }
.itd-wan::before, .itd-wan::after { content: ""; position: absolute; top: 50%; width: var(--g); height: 2px; margin-top: -1px; background: var(--ln); }
.itd-wan::before { right: 100%; }
.itd-wan::after { left: 100%; }
.itd-cloud .itd-items { justify-content: flex-start; }
.itd-cloud .itd-chips { display: grid; grid-template-columns: 1fr 1fr; }

/* the site: firewall / switch with security, meeting room and telephony / a bus to the devices */
.itd-site { --zg: 28px; --zp: 64px; position: relative; margin-top: var(--zg); padding: var(--zp) 22.5px 24px;
  border: 1.5px dashed #9DBDF2; border-radius: 16px; background: #F3F8FF; }
.itd-site-h { position: absolute; top: 22px; left: 24px; margin: 0; color: var(--blue); font-size: .875rem; font-weight: 700; }
.itd-r2, .itd-r3 { margin-top: var(--rg); }
/* firewall and switch: 3 columns centred under the WAN bar (cols 4-8 share the same centre), the side boxes take the rest */
.itd-firewall { grid-column: 5 / 8; }
.itd-secmgmt { grid-column: 1 / 5; }
.itd-switch { grid-column: 5 / 8; }
.itd-meeting { grid-column: 8 / 10; }
.itd-tel { grid-column: 10 / 13; }
.itd-other { grid-column: 1 / 3; }
.itd-wlan { grid-column: 3 / 7; }
.itd-servers { grid-column: 7 / 10; }
.itd-endpoint { grid-column: 10 / 13; }
.itd-firewall { flex-flow: row wrap; align-items: center; column-gap: 20px; }
.itd-firewall .itd-head { width: 100%; }
.itd-firewall .itd-chips { flex-direction: column; }
.itd-firewall::before, .itd-switch::before, .itd-switch::after, .itd-r3 .itd-box::before {
  content: ""; position: absolute; left: 50%; width: 2px; margin-left: -1px; background: var(--ln); }
.itd-firewall::before { top: calc(-1 * (var(--zg) + var(--zp) + 4.5px)); height: calc(var(--zg) + var(--zp) + 4.5px); }   /* from the WAN bar */
.itd-switch::before { top: calc(-1 * var(--rg) - 3px); height: calc(var(--rg) + 3px); }                                   /* from the firewall */
.itd-switch::after { bottom: calc(var(--rg) / -2 - 1px); height: calc(var(--rg) / 2 + 1px); }                              /* down to the bus */
.itd-r2::before { content: ""; position: absolute; left: 24px; right: 24px; top: 50%; height: 2px; background: var(--ln); }      /* side boxes to the switch */
.itd-r3::before { content: ""; position: absolute; top: calc(var(--rg) / -2 - 1px); height: 2px; background: var(--ln);   /* the bus, centre to centre */
  left: calc((100% - 11 * var(--g)) / 12 + var(--g) / 2); right: calc((100% - 11 * var(--g)) / 12 * 1.5 + var(--g)); }
.itd-r3 .itd-box::before { top: calc(var(--rg) / -2 - 3px); height: calc(var(--rg) / 2 + 3px); }
.itd-note { margin-top: 16px; color: var(--muted); font-size: .875rem; }

@media (max-width: 999px) {
  .itd-out, .itd-row { grid-template-columns: 1fr 1fr; row-gap: var(--g); }
  .itd-out { padding: 0; }
  .itd-out > *, .itd-row > * { grid-column: auto; }
  .itd-ops, .itd-core, .itd-cloud, .itd-firewall, .itd-switch, .itd-wlan, .itd-servers { grid-column: 1 / -1; }
  .itd-site { --zp: 56px; padding: var(--zp) 14px 14px; }
  .itd-site-h { left: 16px; }
  .itd-r2, .itd-r3 { margin-top: var(--g); }
  .itd-r2::before, .itd-r3::before, .itd .itd-box::before, .itd .itd-box::after, .itd-wan::before, .itd-wan::after { display: none; }
}
@media (max-width: 560px) {
  .itd-out, .itd-row { grid-template-columns: 1fr; }
  .itd-cloud .itd-chips { grid-template-columns: 1fr; }
}

/* ---------- security page: the same diagram; once on screen the rest fades out and the security parts stay ----------
   (client slide 2-1, green = security). e.js adds .is-focus; .is-key = a part in focus, .has-key = a box with only
   some items in focus (its other items fade). The button switches back to the whole network. */
.itd-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.itd-legend { display: flex; align-items: center; gap: 10px; margin: 0; color: #0A2A63; font-size: .875rem; font-weight: 700; }
.itd-legend i { flex: none; width: 14px; height: 14px; border: 2px solid var(--blue); border-radius: 4px; background: #EEF4FF; box-shadow: 0 0 0 3px rgba(22, 109, 255, .18); }
.itd-toggle { padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--text); font: inherit; font-size: .875rem; font-weight: 600; cursor: pointer; transition: border-color .2s, color .2s; }
.itd-toggle:hover { border-color: var(--blue); color: var(--blue); }
.itd-toggle[data-on="true"] .when-off, .itd-toggle:not([data-on="true"]) .when-on { display: none; }
.itd[data-focus] .itd-box, .itd[data-focus] .itd-wan, .itd[data-focus] .itd-head, .itd[data-focus] li {
  transition: opacity .9s ease, filter .9s ease, box-shadow .7s ease, border-color .7s, background-color .7s, color .7s; }
.itd[data-focus] .itd-r2::before, .itd[data-focus] .itd-r3::before { transition: opacity .9s ease; }
/* faded boxes keep their white ground (so the lines behind stay hidden); their contents, frame and own lines fade */
.itd[data-focus] .itd-box > *, .itd[data-focus] .itd-box::before, .itd[data-focus] .itd-box::after { transition: opacity .9s ease, filter .9s ease; }
.itd.is-focus .itd-box:not(.is-key):not(.has-key) { border-color: #E3E8EF; border-top-color: #D3DAE3; }
.itd.is-focus .itd-box:not(.is-key):not(.has-key) > *, .itd.is-focus .itd-box:not(.is-key)::before, .itd.is-focus .itd-box:not(.is-key)::after { opacity: .28; filter: grayscale(1); }
.itd.is-focus .itd-r2::before, .itd.is-focus .itd-r3::before { opacity: .3; }
.itd.is-focus .has-key { border-color: #E3E8EF; border-top-color: #C7D0DC; }
.itd.is-focus .has-key .itd-head, .itd.is-focus .has-key li:not(.is-key) { opacity: .3; filter: grayscale(1); }
.itd.is-focus .itd-box.is-key, .itd.is-focus .itd-wan.is-key { box-shadow: 0 0 0 3px rgba(22, 109, 255, .2), 0 14px 30px -16px rgba(22, 109, 255, .65); }
.itd.is-focus .itd-items li.is-key { border-radius: 6px; background: #EEF4FF; color: var(--blue); box-shadow: 0 0 0 6px #EEF4FF, 0 0 0 8px var(--blue); }
.itd.is-focus .itd-chips li.is-key, .itd.is-focus .is-key .itd-chips li { border-color: var(--blue); background: var(--blue); color: #fff; }
.itd.is-focus .is-key .itd-items li, .itd.is-focus .is-key .itd-hico { color: var(--blue); }

/* ---------- policy pages (privacy / site / cookie, 2026-10-20) ----------
   A plain reading page: title band, then one text column. */
.pol-head { padding: clamp(36px, 5vw, 64px) 0 clamp(28px, 4vw, 44px); background: var(--soft); }
.pol-head h1 { color: var(--text); font-size: clamp(2rem, 1.2rem + 3vw, 3rem); line-height: 1.2; }
.pol-note { margin-top: 10px; color: var(--muted); font-size: .875rem; }
.pol-note:empty { display: none; }
.pol-body { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(56px, 7vw, 96px); }
.pol-others p { margin-bottom: 10px; color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pol-doc { max-width: none; }                 /* the text runs the full page column */
.pol-doc > p, .pol-sec p, .pol-sec li { color: var(--text); line-height: 1.85; }
.pol-doc > p + p, .pol-sec p + p, .pol-sec ul, .pol-sec ol, .pol-sec p + h3 { margin-top: 12px; }
.pol-sec { margin-top: 40px; scroll-margin-top: 96px; }
.pol-doc > .pol-sec:first-child { margin-top: 0; }
.pol-sec h2 { margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); color: var(--text); font-size: 1.25rem; line-height: 1.4; }
.pol-sec h3 { margin-bottom: 6px; color: var(--text); font-size: 1rem; }
.pol-sec ul { padding-left: 1.4em; list-style: disc; }
.pol-sec ol { padding-left: 1.6em; list-style: decimal; }
.pol-sec li + li { margin-top: 6px; }
.pol-doc a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.pol-contact { margin-top: 40px; padding: 20px 24px; border-radius: 10px; background: var(--soft); line-height: 1.8; }
.pol-others { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.pol-others ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pol-others a { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); font-size: .875rem; font-weight: 600; text-decoration: none; }
.pol-others a:hover { border-color: var(--blue); color: var(--blue); }

@media (prefers-reduced-motion: reduce) {
  .mega, .e-scrim, .gnav-link::after, .gnav-trigger::after, .dm-local a::after, .e-card img, .mg-pm::before, .mg-pm::after { transition: none !important; }
  html { scroll-behavior: auto; }
}
