/* Kataliz site styles — shared by every page. Pages are generated by scripts/build.py. */
:root {
  --bg: #0a0a0c;
  --bg-2: #101014;
  --card: #15141a;
  --card-2: #1c1b23;
  --line: #27252e;
  --line-2: rgba(255,255,255,.14);
  --ink: #f4f3f8;
  --body: #a9a7b7;
  --body-2: #cbc9d6;
  --dim: #8a889c;
  --accent: #b9a6ff;
  --brand: #6a4bff;
  --brand-2: #cb6ce6;
  --grad: linear-gradient(115deg, #6a4bff 0%, #9b5af0 45%, #cb6ce6 100%);
  --grad-text: linear-gradient(100deg, #b9a6ff 0%, #cb6ce6 70%);
  --hot: rgba(106,75,255,.07);
  --hot-line: rgba(160,110,245,.38);
  --disp: 'Space Grotesk', 'IBM Plex Sans', 'Noto Sans JP', system-ui, sans-serif;
  --sans: 'IBM Plex Sans', 'Noto Sans JP', system-ui, -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --maxw: 1200px;
  --r: 4px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; color-scheme: dark; }
body { font-family: var(--sans); font-size: 16.5px; background: var(--bg); color: var(--ink); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
::selection { background: rgba(150,100,255,.35); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--disp); font-weight: 600; letter-spacing: -.015em; line-height: 1.12; text-wrap: balance; }
p { text-wrap: pretty; }
section[id], .sol { scroll-margin-top: 86px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

.ic { flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(129,90,255,.13); color: var(--accent); }
.ic svg, .i svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.i { display: inline-grid; place-items: center; flex: none; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 6px; font-weight: 600; font-size: 14px; transition: top .15s; }
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--sans); font-weight: 600; border-radius: 6px; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: transform .15s, box-shadow .15s, background .15s; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 28px rgba(106,75,255,.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(106,75,255,.5); }
.btn-ghost { background: rgba(255,255,255,.03); border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { background: rgba(255,255,255,.08); transform: translateY(-2px); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn .i svg { width: 18px; height: 18px; }

/* ---------- labels ---------- */
.eyebrow { font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.eyebrow b { font-weight: 500; color: var(--brand-2); }
.flabel { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.tag { font-family: var(--mono); font-size: 12px; color: var(--body-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 3px 11px; white-space: nowrap; }
.tag.prod { color: var(--accent); border-color: var(--hot-line); }

/* ---------- nav ---------- */
body > nav { position: sticky; top: 0; z-index: 50; background: rgba(10,10,12,.78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 70px; }
.nav-logo img { height: 36px; width: auto; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--body); font-size: 14.5px; font-weight: 500; transition: color .18s; }
.nav-links a:hover { color: var(--ink); }
.lang-switch { display: flex; gap: 2px; background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang-switch[hidden] { display: none; }
.lang-btn { border: 0; background: transparent; color: var(--body); font-size: 12.5px; font-weight: 600; padding: 6px 11px; border-radius: 999px; cursor: pointer; }
.lang-btn[aria-pressed="true"] { background: var(--grad); color: #fff; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 26px; height: 26px; }
.menu-book { display: none; }

/* ---------- sections ---------- */
section { padding: 104px 0; position: relative; }
.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { display: flex; flex-direction: column; gap: 16px; max-width: 840px; margin-bottom: 48px; }
.sec-head h2 { font-size: clamp(30px, 3.6vw, 46px); }
.sec-head p { font-size: clamp(17px, 1.5vw, 19.5px); color: var(--body-2); max-width: 780px; }
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 30px; display: flex; flex-direction: column; gap: 10px; }
.card.hot { background: linear-gradient(var(--hot), var(--hot)), var(--card); border-color: var(--hot-line); }
.card .num { font-family: var(--mono); font-size: 13px; letter-spacing: .1em; color: var(--brand-2); }
.card h3 { font-size: 21px; }
.card p { color: var(--body); font-size: 15.5px; }
.footrow { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; gap: 28px; align-items: baseline; }
.footrow p { color: var(--body-2); font-size: 16.5px; }
.footrow.accent { border-top: 2px solid transparent; border-image: var(--grad) 1; }

/* ---------- hero ---------- */
.hero { padding: 96px 0 84px; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 900px; height: 700px; top: -360px; left: -260px; background: radial-gradient(closest-side, rgba(106,75,255,.30), transparent); pointer-events: none; }
.hero::after { content: ""; position: absolute; width: 700px; height: 600px; top: 40px; right: -280px; background: radial-gradient(closest-side, rgba(203,108,230,.16), transparent); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.12fr .88fr; gap: 64px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; }
.hero h1 { font-size: clamp(38px, 5.2vw, 66px); line-height: 1.06; letter-spacing: -.025em; }
.hero .lead { font-size: clamp(17.5px, 1.6vw, 20px); color: var(--body-2); max-width: 600px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-loc { font-family: var(--mono); font-size: 13px; color: var(--dim); letter-spacing: .04em; }

.crew { position: relative; display: flex; flex-direction: column; gap: 14px; }
.agent { background: rgba(21,20,26,.92); border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 18px 50px rgba(0,0,0,.35); }
.agent:nth-child(1) { margin-right: 56px; }
.agent:nth-child(2) { margin: 0 28px; border-color: var(--hot-line); }
.agent:nth-child(3) { margin-left: 56px; }
.ag-top { display: flex; align-items: center; gap: 12px; }
.av { width: 40px; height: 40px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-family: var(--disp); font-weight: 700; font-size: 17px; color: #fff; flex: none; }
.ag-top b { font-family: var(--disp); font-size: 16.5px; font-weight: 600; display: block; line-height: 1.2; }
.ag-top small { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.ag-ex { margin-left: auto; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; color: var(--dim); border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; }
.ag-ev { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink); line-height: 1.45; }
.ag-ev .i { width: 22px; height: 22px; border-radius: 50%; background: rgba(120,220,170,.14); color: #8ee6b8; margin-top: 1px; }
.ag-ev .i svg { width: 13px; height: 13px; stroke-width: 2.4; }
.ag-meta { font-family: var(--mono); font-size: 12px; color: var(--dim); padding-left: 32px; }
.crew-note { text-align: right; font-family: var(--mono); font-size: 11.5px; color: var(--dim); margin-top: 2px; }

/* ---------- trusted ---------- */
.trusted { padding: 40px 0 56px; border-bottom: 1px solid var(--line); }
.trusted .kick { text-align: center; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 28px; }
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 22px 52px; }
.logos img { width: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: .7; transition: opacity .2s; }
.logos img:hover { opacity: 1; }

/* ---------- solutions ---------- */
.tabs { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--card); }
.tab { appearance: none; background: transparent; border: 0; border-right: 1px solid var(--line); padding: 18px 20px; text-align: left; cursor: pointer; display: flex; gap: 14px; align-items: center; position: relative; transition: background .15s; }
.tab:last-child { border-right: 0; }
.tab:hover { background: rgba(255,255,255,.025); }
.tab b { display: block; font-family: var(--disp); font-size: 16px; font-weight: 600; line-height: 1.25; color: var(--body-2); }
.tab small { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.tab .ic { width: 36px; height: 36px; background: rgba(255,255,255,.04); color: var(--body); }
.tab[aria-selected="true"] { background: var(--card-2); }
.tab[aria-selected="true"] b { color: var(--ink); }
.tab[aria-selected="true"] .ic { background: rgba(129,90,255,.16); color: var(--accent); }
.tab[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--grad); }
.names-note { margin-top: 14px; font-size: 14px; color: var(--dim); }

.sol { display: none; margin-top: 22px; }
.sol.active { display: block; animation: solin .35s ease; }
@keyframes solin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.sol-acc { display: none; }
.sol-body { display: grid; grid-template-columns: 5fr 7fr; gap: 18px; }
.sol-intro { border: 1px solid var(--hot-line); background: linear-gradient(var(--hot), var(--hot)), var(--card); border-radius: var(--r); padding: 30px; display: flex; flex-direction: column; gap: 18px; }
.agent-chip { display: flex; align-items: center; gap: 12px; }
.agent-chip .av { width: 46px; height: 46px; font-size: 19px; }
.agent-chip b { font-family: var(--disp); font-size: 17px; font-weight: 600; display: block; line-height: 1.2; }
.agent-chip small { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.sol-intro h3 { font-size: clamp(23px, 2.3vw, 29px); }
.sol-intro p { color: var(--body-2); }
.sol-tags { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.caps { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cap { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.cap .num { font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; color: var(--brand-2); }
.cap h4 { font-size: 18px; }
.cap p { color: var(--body); font-size: 15px; }
.sol-foot { grid-column: 1 / -1; display: flex; gap: 24px; align-items: baseline; padding-top: 16px; border-top: 1px solid var(--line); margin-top: 4px; }
.sol-foot p { color: var(--body-2); font-size: 15.5px; }
.sol-foot a { color: var(--accent); white-space: nowrap; }
.sol-foot a:hover { color: var(--ink); }

/* ---------- collections ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.fstep { padding: 28px 26px; border-right: 1px solid var(--line); position: relative; display: flex; flex-direction: column; gap: 10px; }
.fstep:last-child { border-right: 0; }
.fstep:not(:last-child)::after { content: ""; position: absolute; right: -9px; top: 34px; width: 16px; height: 16px; background: var(--bg-2); border-top: 1px solid var(--line); border-right: 1px solid var(--line); transform: rotate(45deg); z-index: 1; }
.fstep .k { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--accent); }
.fstep h4 { font-size: 19px; }
.fstep p { color: var(--body); font-size: 15px; }
.coll-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.checks { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--body-2); font-size: 15.5px; }
.checks .i { width: 22px; height: 22px; border-radius: 50%; background: rgba(129,90,255,.14); color: var(--accent); margin-top: 1px; }
.checks .i svg { width: 13px; height: 13px; stroke-width: 2.4; }
.ai-badge { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-2); border: 1px solid var(--hot-line); border-radius: 999px; padding: 4px 12px; }
.ai-badge .i svg { width: 14px; height: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 500; margin-top: auto; }
.text-link:hover { color: var(--ink); }
.text-link .i svg { width: 16px; height: 16px; }

/* ---------- results ---------- */
.stat-card { gap: 14px; }
.stat-card .big { font-family: var(--disp); font-size: clamp(56px, 7vw, 88px); font-weight: 600; letter-spacing: -.035em; line-height: .95; }
.stat-card .what { font-family: var(--disp); font-size: 22px; font-weight: 600; }
.stories { margin-top: 18px; }
.story .flabel { margin-bottom: 4px; }
.story h3 { font-size: 19px; }
.fineprint { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12.5px; line-height: 1.7; color: var(--dim); }

/* ---------- rules ---------- */
.rule-card .ic { margin-bottom: 8px; }

/* ---------- industries ---------- */
.ind { padding: 32px; gap: 0; }
.ind-head { display: flex; gap: 16px; align-items: flex-start; padding-bottom: 22px; }
.ind-head h3 { font-size: 24px; margin-bottom: 6px; }
.ind-head p { color: var(--body); font-size: 15.5px; }
.irow { display: grid; grid-template-columns: 112px 1fr; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
.irow .flabel { padding-top: 3px; }
.irow b { font-family: var(--disp); font-weight: 600; font-size: 16.5px; display: block; margin-bottom: 2px; }
.irow p { color: var(--body); font-size: 15px; }
.irow a { color: inherit; }
.irow a:hover b { color: var(--accent); }
.ind-start { margin-top: 6px; padding: 18px 20px; border-radius: var(--r); background: rgba(255,255,255,.025); border: 1px dashed var(--line-2); }
.ind-start .flabel { display: block; margin-bottom: 6px; }
.ind-start p { color: var(--body-2); font-size: 15px; }

/* ---------- start + final ---------- */
.step .num { font-size: 13px; }
.start-note { margin-top: 18px; color: var(--dim); font-size: 14.5px; }
.final-sec { padding-top: 104px; }
.final { position: relative; border-radius: 8px; padding: 64px 48px; text-align: center; background: radial-gradient(ellipse 70% 90% at 50% 0%, rgba(106,75,255,.22), transparent 70%), var(--card); border: 1px solid var(--hot-line); overflow: hidden; }
.final h2 { font-size: clamp(28px, 3.6vw, 44px); max-width: 820px; margin: 0 auto 16px; }
.final p { color: var(--body-2); font-size: 18px; max-width: 640px; margin: 0 auto 30px; }
.final .hero-cta { justify-content: center; }
.final .mail { color: var(--body); font-size: 15px; }
.final .mail:hover { color: var(--ink); }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); max-width: 920px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 22px 4px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 19px; font-weight: 600; flex: 1; }
.faq-item summary:hover h3 { color: var(--accent); }
.faq-item .chev { color: var(--dim); transition: transform .2s; }
.faq-item[open] .chev { transform: rotate(180deg); }
.faq-item p { color: var(--body-2); padding: 0 40px 24px 4px; max-width: 820px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 72px 0 40px; background: var(--bg-2); position: relative; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; }
.foot-brand img { height: 34px; width: auto; margin-bottom: 18px; }
.foot-brand p { color: var(--body); font-size: 15px; max-width: 380px; }
.foot-contact { margin-top: 22px; display: flex; flex-direction: column; gap: 8px; }
.foot-contact a { color: var(--body); font-size: 14.5px; }
.foot-contact a:hover { color: var(--ink); }
.map-card { border: 1px solid var(--line); border-radius: 8px; padding: 22px; background: var(--card); }
.map-card .map-title { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.map-card .map-sub { font-family: var(--disp); font-size: 18px; font-weight: 600; margin-bottom: 14px; }
.office-map { width: 100%; height: auto; }
.office-map .city-label { font-family: var(--sans); font-size: 12px; fill: #d9d6e6; font-weight: 500; }
.office-map .city-hq { font-family: var(--mono); font-size: 9px; fill: var(--brand-2); letter-spacing: .1em; }
.node-dot { animation: blink 2.8s ease-in-out infinite; }
.node-dot.d2 { animation-delay: .5s; } .node-dot.d3 { animation-delay: 1s; } .node-dot.d4 { animation-delay: 1.5s; }
@keyframes blink { 0%,100% { opacity: .55; } 50% { opacity: 1; } }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot-bottom p { color: var(--dim); font-size: 13.5px; }
.foot-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-nav a { color: var(--dim); font-size: 13.5px; }
.foot-nav a:hover { color: var(--ink); }

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

/* ---------- booking modal (Google Calendar appointment embed) ---------- */
.bk-overlay { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(6,6,10,.78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.bk-overlay.open { display: flex; }
.bk-panel { display: flex; flex-direction: column; width: min(780px, 100%); height: min(720px, 90vh); height: min(720px, 92dvh); background: var(--card); border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; box-shadow: 0 30px 90px rgba(0,0,0,.6); }
.bk-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.bk-head h3 { font-size: 17px; margin-right: auto; }
.bk-x { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); cursor: pointer; display: grid; place-items: center; transition: background .15s; }
.bk-x:hover { background: rgba(255,255,255,.1); }
.bk-x svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.bk-body { position: relative; flex: 1; background: #fff; }
.bk-spin { position: absolute; top: 50%; left: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 3px solid rgba(106,75,255,.18); border-top-color: var(--brand); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.bk-body iframe { position: relative; width: 100%; height: 100%; border: 0; }
.bk-foot { padding: 10px 18px; border-top: 1px solid var(--line); text-align: center; }
.bk-foot a { font-size: 13px; color: var(--body); }
.bk-foot a:hover { color: var(--ink); }
body.bk-lock { overflow: hidden; }

/* ---------- mobile sticky CTA ---------- */
.mcta { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { gap: 20px; }
  .tab { padding: 16px; gap: 10px; }
  .tab .ic { display: none; }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .crew { max-width: 520px; }
  .sol-body { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .fstep:nth-child(2) { border-right: 0; }
  .fstep:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .fstep:nth-child(2)::after { display: none; }
  .coll-grid, .foot-grid { grid-template-columns: 1fr; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .ind-grid { grid-template-columns: 1fr; }
  .stories { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .tabs, .names-note.desk { display: none; }
  .sol { display: block; margin-top: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
  .sol + .sol { margin-top: 10px; }
  .sol.active { animation: none; border-color: var(--hot-line); }
  .sol-acc { display: flex; width: 100%; align-items: center; gap: 12px; padding: 16px; background: none; border: 0; cursor: pointer; text-align: left; }
  .sol-acc .ic { width: 36px; height: 36px; }
  .sol-acc b { display: block; font-family: var(--disp); font-size: 17px; font-weight: 600; line-height: 1.25; }
  .sol-acc small { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
  .sol-acc .chev { margin-left: auto; color: var(--dim); transition: transform .2s; }
  .sol.active .sol-acc .chev { transform: rotate(180deg); }
  .sol .sol-body { display: none; padding: 0 12px 14px; }
  .sol.active .sol-body { display: grid; }
  .sol-intro { padding: 22px; }
  .caps { grid-template-columns: 1fr; }
  .sol-foot { flex-direction: column; gap: 6px; }
  .g2, .g3 { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .fstep { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .fstep:last-child { border-bottom: 0; }
  .fstep::after { display: none; }
  .footrow { flex-direction: column; gap: 8px; }
}
@media (max-width: 680px) {
  section { padding: 72px 0; }
  .faq-item summary h3 { font-size: 17px; }
  .faq-item p { padding-right: 4px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 56px 0 64px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links.open { display: flex; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 8px 16px 20px; }
  .nav-links.open a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav-links.open .menu-book { display: block; color: var(--brand-2); font-weight: 600; }
  .agent:nth-child(n) { margin: 0; }
  .crew-note { text-align: left; }
  .logos { gap: 20px 32px; }
  .logos img { transform: scale(.82); }
  .g4 { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .ind { padding: 22px; }
  .irow { grid-template-columns: 1fr; gap: 6px; }
  .final { padding: 44px 22px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .mcta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(10,10,12,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s ease; }
  .mcta.show { transform: none; }
  .mcta .btn { width: 100%; }
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ======================================================================
   Multi-page additions: language switcher, solution pages, breadcrumbs,
   footer solutions column, Japanese typography
   ====================================================================== */

/* language switcher — real links to the same page in each language */
.lang-switch { margin-left: 4px; }
a.lang-btn { display: inline-block; line-height: 1; }
a.lang-btn:hover { color: var(--ink); }
a.lang-btn[aria-current="page"] { background: var(--grad); color: #fff; }

/* "learn more" link inside a solution tab */
.sol-more { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 600; font-size: 15px; }
.sol-more:hover { color: var(--ink); }
.sol-more .i svg { width: 16px; height: 16px; }

/* footer: brand | solutions | offices */
.foot-grid { grid-template-columns: 1.1fr .7fr 1fr; }
.foot-sol h4 { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.foot-sol ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot-sol a { color: var(--body); font-size: 14.5px; }
.foot-sol a:hover { color: var(--ink); }

/* breadcrumbs */
.crumbs { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--dim); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.crumbs a { color: var(--body); }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { opacity: .6; }

/* solution page hero */
.sp-hero { padding: 72px 0 80px; overflow: hidden; }
.sp-hero::before { content: ""; position: absolute; width: 900px; height: 700px; top: -380px; left: -260px; background: radial-gradient(closest-side, rgba(106,75,255,.28), transparent); pointer-events: none; }
.sp-hero .hero-grid { grid-template-columns: 1.15fr .85fr; }
.sp-hero h1 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.08; letter-spacing: -.025em; }
.sp-agent { background: rgba(21,20,26,.92); border: 1px solid var(--hot-line); border-radius: 8px; padding: 22px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 18px 50px rgba(0,0,0,.35); }
.sp-agent .ag-ev { padding: 12px 0 0; border-top: 1px solid var(--line); }
.sp-agent .ag-meta { padding-left: 32px; margin-top: -6px; }

/* numbered steps */
.steps4 { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.steps4 .fstep { border-right: 1px solid var(--line); }
.steps4 .fstep:last-child { border-right: 0; }

/* controls + highlight row */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }

/* other solutions */
.others .card { transition: border-color .2s, transform .2s; }
.others .card:hover { border-color: var(--hot-line); transform: translateY(-2px); }
.others .card h3 { display: flex; align-items: center; gap: 12px; }
.others .card .ic { width: 36px; height: 36px; }
.others .card .text-link { margin-top: 8px; }

@media (max-width: 960px) {
  .sp-hero .hero-grid { grid-template-columns: 1fr; }
  .steps4 { grid-template-columns: repeat(2, 1fr); }
  .steps4 .fstep:nth-child(2) { border-right: 0; }
  .steps4 .fstep:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .steps4 .fstep:nth-child(2)::after { display: none; }
  .two, .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .steps4 { grid-template-columns: 1fr; }
  .steps4 .fstep { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .steps4 .fstep:last-child { border-bottom: 0; }
  .steps4 .fstep::after { display: none; }
}
@media (max-width: 680px) {
  .sp-hero { padding: 40px 0 56px; }
  .lang-switch { margin-left: auto; }
  .lang-switch + .nav-cta + .nav-toggle { margin-left: 4px; }
  .lang-btn { padding: 6px 8px; font-size: 12px; }
}

/* Japanese: no negative tracking, roomier lines, phrase-aware breaks */
:lang(ja) body, body:lang(ja) { line-height: 1.85; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3, :lang(ja) h4 { letter-spacing: 0; line-height: 1.4; word-break: auto-phrase; }
:lang(ja) .hero h1, :lang(ja) .sp-hero h1 { line-height: 1.3; letter-spacing: 0; }
:lang(ja) .eyebrow, :lang(ja) .flabel, :lang(ja) .fstep .k { letter-spacing: .06em; }
:lang(ja) p { word-break: auto-phrase; }
.side-text { font-family: var(--disp); font-size: clamp(19px, 1.8vw, 23px) !important; line-height: 1.4; color: var(--ink) !important; font-weight: 500; }
:lang(ja) .side-text { line-height: 1.6; }
:lang(ja) .hero h1 { font-size: clamp(30px, 4vw, 52px); }
:lang(ja) .sp-hero h1 { font-size: clamp(28px, 3.6vw, 46px); }
:lang(ja) .sec-head h2 { font-size: clamp(26px, 3vw, 38px); }
