/* =========================================================
   Genox Security AI — Design System v3
   Ink + Emerald · photography-led · editorial whitespace
   ========================================================= */

:root {
  --bg: #ffffff;
  --bg-2: #f6f8fa;
  --bg-3: #eef1f4;
  --surface: #ffffff;
  --line: #e1e4e8;
  --line-2: #d0d7de;
  --text: #0d1117;
  --text-2: #57606a;
  --text-3: #656d76;
  --brand: #1e2a44;
  --brand-dark: #111a2e;
  --brand-2: #2a3a5e;
  --brand-soft: #eef0f4;
  --teal: #1e2a44;
  --danger: #d9363e;
  --warn: #c98a12;
  --ink: #0d1117;
  --navy: #0d1117;
  --grad: linear-gradient(120deg, #b8955a, #d7b97f);
  --overlay: linear-gradient(90deg, rgba(8, 12, 15, .88) 0%, rgba(8, 12, 15, .62) 45%, rgba(8, 12, 15, .15) 100%);
  --overlay-b: linear-gradient(180deg, rgba(8, 12, 15, .1) 0%, rgba(8, 12, 15, .72) 100%);
  --radius: 20px;
  --radius-m: 14px;
  --radius-s: 10px;
  --shadow-s: 0 1px 2px rgba(10, 15, 20, .05);
  --shadow: 0 12px 32px -16px rgba(10, 15, 20, .16);
  --shadow-l: 0 30px 70px -30px rgba(10, 15, 20, .3);
  --container: 1280px;
  --header-h: 76px;
  --font: "Wanted Sans Variable", "Wanted Sans", "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Noto Sans CJK KR", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --gold: #8a6a3a;
  --gold-light: #d7b97f;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.7; letter-spacing: -0.015em; word-break: keep-all; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.section { padding: 112px 0; position: relative; }
.section--tight { padding: 96px 0; }
.section--alt, .section--pastel { background: var(--bg-2); }
.section--line { border-top: 1px solid var(--line); }
.section--dark { background: var(--ink); color: #fff; }
.section--dark .lead, .section--dark .muted { color: rgba(255, 255, 255, .66); }

/* ---------- Typography ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--gold); letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 18px; height: 1.5px; background: currentColor; }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow, .promo .eyebrow { color: #d7b97f; }
.page-hero--light .eyebrow { color: var(--gold); }
.h-display { font-size: clamp(38px, 4.6vw, 64px); line-height: 1.1; letter-spacing: -0.045em; font-weight: 700; margin: 0; }
.h1 { font-size: clamp(36px, 4.3vw, 58px); line-height: 1.18; letter-spacing: -0.04em; font-weight: 700; margin: 0; }
.h2 { font-size: clamp(30px, 3.1vw, 44px); line-height: 1.26; letter-spacing: -0.035em; font-weight: 700; margin: 0; }
.h3 { font-size: clamp(20px, 1.6vw, 23px); line-height: 1.4; letter-spacing: -0.025em; font-weight: 650; margin: 0; }
.lead { font-size: clamp(17px, 1.2vw, 19px); color: var(--text-2); line-height: 1.75; margin: 0; }
.muted { color: var(--text-2); }
.dim { color: var(--text-3); }
.mono { font-family: var(--mono); }
.grad-text, .hl { color: var(--brand); }
.sec-head { max-width: 760px; margin-bottom: 72px; display: grid; gap: 18px; }
.sec-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.sec-head--center .eyebrow::before { display: none; }
.sec-head--split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 24px; border-radius: 12px; font-weight: 600; font-size: 16px; transition: transform .25s var(--ease), background .25s, box-shadow .25s, border-color .25s, color .25s; white-space: nowrap; letter-spacing: -0.015em; }
.btn svg { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #222b31; }
.btn--ghost { border: 1px solid var(--line-2); background: #fff; color: var(--text); }
.btn--ghost:hover { border-color: var(--text); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: #f3efe6; }
.btn--outline-w { border: 1px solid rgba(255, 255, 255, .35); color: #fff; background: rgba(255, 255, 255, .06); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--outline-w:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .6); }
.btn--danger { background: var(--danger); color: #fff; }
.btn--sm { height: 42px; padding: 0 18px; font-size: 15px; border-radius: 10px; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; font-size: 15.5px; }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); color: var(--gold); }
.link-arrow:hover { color: var(--brand-dark); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Tags ---------- */
.tag { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 7px; font-size: 13.5px; font-weight: 500; color: var(--text-2); background: var(--bg-3); }
.tag--mint, .tag--brand { color: var(--brand-dark); background: var(--brand-soft); }
.tag--violet { color: #3d4a55; background: #e9ecef; }
.tag--danger { color: var(--danger); background: #fbecec; }
.tag--warn { color: #8a5d00; background: #fbf2de; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.hash { font-size: 14.5px; color: var(--text-3); }
.hash::before { content: "#"; }

/* ---------- Icon (flat, refined) ---------- */
.ico3d { position: relative; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: var(--brand-dark); background: var(--brand-soft); flex: none; }
.ico3d svg { width: 24px; height: 24px; stroke-width: 1.7; }
.ico3d--sm { width: 44px; height: 44px; border-radius: 12px; } .ico3d--sm svg { width: 21px; height: 21px; }
.ico3d--lg { width: 72px; height: 72px; border-radius: 18px; } .ico3d--lg svg { width: 32px; height: 32px; }
.ico3d.r { color: var(--danger); background: #fbecec; }
.ico3d.n { color: var(--text); background: var(--bg-3); }
.page-hero .ico3d, .ind__visual .ico3d { background: rgba(255, 255, 255, .1); color: #d7b97f; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .14); }

/* ---------- Cards ---------- */
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; transition: border-color .3s, transform .4s var(--ease), box-shadow .4s var(--ease); }
.card--shadow { box-shadow: var(--shadow-s); }
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card--soft { background: var(--bg-2); border-color: transparent; }
.card h3 { margin: 0 0 10px; font-size: 20px; letter-spacing: -0.025em; line-height: 1.45; font-weight: 650; }
.card p { margin: 0; color: var(--text-2); font-size: 15.5px; line-height: 1.7; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .section { padding: 96px 0; } body { font-size: 16px; } }

/* photo card */
.pcard { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pcard__img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-3); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.05); }
.pcard__body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pcard__body h3 { margin: 0; font-size: 20px; font-weight: 650; letter-spacing: -0.025em; line-height: 1.45; }
.pcard__body p { margin: 0; color: var(--text-2); font-size: 15px; }
.pcard__body .tags { margin-top: auto; padding-top: 8px; }
.pcard .step, .pcard .meta { font-size: 12.5px; color: var(--brand); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; display: flex; justify-content: space-between; }
.pcard .meta span:last-child { color: var(--text-3); letter-spacing: .02em; }

/* media */
.media { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-3); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--tall { aspect-ratio: 4 / 3; } .media--wide { aspect-ratio: 16 / 10; } .media--sq { aspect-ratio: 1; }
.media__chip { position: absolute; left: 20px; bottom: 20px; right: 20px; padding: 18px 20px; border-radius: 14px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); display: grid; gap: 4px; box-shadow: var(--shadow); }
.media__chip small { font-size: 12px; color: var(--brand-dark); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.media__chip b { font-size: 16px; font-weight: 600; }
.split-ed { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: center; }
.split-ed--rev .media { order: 2; }
@media (max-width: 960px) { .split-ed { grid-template-columns: 1fr; gap: 48px; } .split-ed--rev .media { order: 0; } }

/* ---------- Topbar & Header ---------- */
.topbar { background: var(--ink); color: rgba(255, 255, 255, .7); font-size: 13.5px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 40px; gap: 16px; }
.topbar a:hover { color: #fff; }
.topbar__alert { display: flex; gap: 10px; align-items: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.topbar__alert b { color: #fff; font-weight: 600; }
.topbar__alert .tag { height: 22px; font-size: 12px; padding: 0 8px; background: rgba(215, 185, 127, .16); color: #d7b97f; }
.topbar__hot { display: flex; gap: 8px; align-items: center; color: #fff; font-weight: 600; white-space: nowrap; }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: #ff5a62; box-shadow: 0 0 0 0 rgba(255, 90, 98, .6); animation: pulse 1.8s infinite; flex: none; display: inline-block; }
.pulse-dot--mint { background: var(--gold-light); box-shadow: 0 0 0 0 rgba(30, 42, 68, .6); animation-name: pulseMint; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(255, 90, 98, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 90, 98, 0); } }
@keyframes pulseMint { 70% { box-shadow: 0 0 0 8px rgba(30, 42, 68, 0); } 100% { box-shadow: 0 0 0 0 rgba(30, 42, 68, 0); } }
@media (max-width: 760px) { .topbar__alert { display: none; } .topbar .container { justify-content: center; } }

.header { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.header.is-scrolled { box-shadow: 0 8px 30px -20px rgba(10, 15, 20, .3); }
.header .container { height: 100%; display: flex; align-items: center; gap: 56px; }
.logo { display: flex; align-items: center; gap: 12px; flex: none; }
.logo__mark { width: 48px; height: 32px; color: var(--text); }
.logo__text { display: grid; line-height: 1.05; }
.logo__text b { font-family: Poppins, var(--font); font-size: 25px; font-weight: 700; letter-spacing: .1em; color: var(--text); line-height: 1; }
.logo__text small { font-family: Poppins, var(--font); font-size: 10.5px; font-weight: 600; letter-spacing: .19em; color: var(--text); margin-top: 5px; }
.footer .logo__text b { color: #fff; }
.nav { display: flex; gap: 2px; height: 100%; }
.nav__item { position: static; display: flex; align-items: center; }
.nav__link { padding: 8px 16px; font-weight: 600; font-size: 16px; color: var(--text); transition: color .2s; display: flex; align-items: center; height: 100%; position: relative; }
.nav__link::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav__link:hover, .nav__item:hover > .nav__link, .nav__link.is-active { color: var(--brand-dark); }
.nav__item:hover > .nav__link::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link .caret { display: none; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 40px 60px -40px rgba(10, 15, 20, .25); padding: 44px 0 52px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
.nav__item:hover .mega, .nav__item:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega__grid { display: grid; grid-template-columns: 300px 1fr; gap: 56px; }
.mega__intro { padding-right: 40px; border-right: 1px solid var(--line); }
.mega__intro h4 { margin: 0 0 10px; font-size: 24px; letter-spacing: -0.035em; font-weight: 700; }
.mega__intro p { margin: 0 0 20px; color: var(--text-2); font-size: 15px; }
.mega__links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 24px; }
.mega__link { display: flex; gap: 14px; padding: 12px; border-radius: 12px; transition: background .2s; align-items: center; }
.mega__link:hover { background: var(--bg-2); }
.mega__link:hover b { color: var(--brand-dark); }
.mega__link i { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-2); color: var(--text-2); font-style: normal; font-size: 11px; font-weight: 700; transition: background .2s, color .2s; }
.mega__link:hover i { background: var(--brand-soft); color: var(--brand-dark); }
.mega__link b { display: block; font-size: 15.5px; font-weight: 600; transition: color .2s; }
.mega__link span { display: block; font-size: 13.5px; color: var(--text-3); line-height: 1.5; margin-top: 1px; }
.header__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.lang { font-size: 13.5px; color: var(--text-3); display: flex; gap: 6px; font-weight: 600; margin-right: 8px; }
.lang b { color: var(--text); }
.burger { display: none; width: 44px; height: 44px; border-radius: 10px; position: relative; }
.burger span, .burger::before, .burger::after { content: ""; position: absolute; left: 12px; right: 12px; height: 1.8px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger::before { top: 15px; } .burger span { top: 21px; } .burger::after { top: 27px; }
.header.is-open .burger::before { transform: translateY(6px) rotate(45deg); }
.header.is-open .burger span { opacity: 0; }
.header.is-open .burger::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav { display: none; }
@media (max-width: 1140px) {
  .nav, .header__actions .btn--ghost, .lang { display: none; }
  .burger { display: block; }
  .mobile-nav { display: block; position: fixed; inset: var(--header-h) 0 0 0; bottom: 0; background: #fff; overflow-y: auto; padding: 8px 24px 120px; transform: translateX(100%); transition: transform .4s var(--ease); z-index: 99; }
  .mobile-nav.is-open { transform: none; }
  .mobile-nav details { border-bottom: 1px solid var(--line); }
  .mobile-nav summary { list-style: none; padding: 20px 0; font-size: 19px; font-weight: 700; display: flex; justify-content: space-between; }
  .mobile-nav summary::after { content: "+"; color: var(--brand); font-weight: 400; }
  .mobile-nav details[open] summary::after { content: "–"; }
  .mobile-nav a { display: block; padding: 10px 0 10px 4px; color: var(--text-2); }
  .mobile-nav a.btn { display: flex; justify-content: center; align-items: center; margin-top: 12px; color: #fff; padding: 0 20px; }
}

/* ---------- Hero (photo) ---------- */
.hero { position: relative; min-height: 540px; height: min(72svh, 680px); display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); color: #fff; padding-bottom: 72px; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 18s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: var(--overlay), linear-gradient(180deg, rgba(8, 12, 15, .35), transparent 30%, rgba(8, 12, 15, .55)); }
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.3fr .7fr; gap: 64px; align-items: end; }
.hero__content { max-width: 760px; display: grid; gap: 26px; }
.hero__content .lead { color: rgba(255, 255, 255, .78); max-width: 560px; }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); font-size: 14px; color: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); width: fit-content; }
.hero__badge b { padding: 3px 10px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 600; }
.hero__cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero__rotator { display: inline-block; color: #d7b97f; }
.hero__rotator span { display: inline-block; animation: rotIn .7s var(--ease); }
@keyframes rotIn { from { opacity: 0; transform: translateY(20%); } to { opacity: 1; transform: none; } }
.hero__card { justify-self: end; width: 100%; max-width: 380px; padding: 22px; border-radius: 18px; background: rgba(12, 18, 22, .5); border: 1px solid rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); display: grid; gap: 12px; font-size: 14px; }
.hero__card header { display: flex; justify-content: space-between; align-items: center; color: rgba(255, 255, 255, .6); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.hero__card .row { display: grid; grid-template-columns: 18px 1fr; gap: 10px; color: rgba(255, 255, 255, .84); line-height: 1.5; animation: rotIn .6s var(--ease) both; }
.hero__card .row:nth-child(3) { animation-delay: .8s; } .hero__card .row:nth-child(4) { animation-delay: 1.6s; } .hero__card .verdict { animation: rotIn .6s var(--ease) 2.4s both; }
.hero__card .row i { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid rgba(215, 185, 127, .6); margin-top: 2px; position: relative; }
.hero__card .row i::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: #d7b97f; }
.hero__card .verdict { padding: 14px 16px; border-radius: 12px; background: rgba(255, 90, 98, .14); border: 1px solid rgba(255, 90, 98, .3); color: #ffd0d2; font-weight: 600; display: flex; justify-content: space-between; gap: 12px; }
.hero__meta { display: flex; gap: 36px; margin-top: 16px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .6); font-size: 14px; flex-wrap: wrap; }
.hero__meta b { display: block; color: #fff; font-size: 26px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.2; }
@media (max-width: 1000px) { .hero .container { grid-template-columns: 1fr; } .hero__card { display: none; } .hero { min-height: 680px; padding-bottom: 64px; } }

/* ---------- Page hero (photo) ---------- */
.page-hero { position: relative; padding: 88px 0 64px; overflow: hidden; background: var(--ink); color: #fff; }
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: var(--overlay); }
.page-hero__grid { display: none; }
.page-hero .container { position: relative; z-index: 1; display: grid; gap: 22px; }
.page-hero .lead { max-width: 660px; color: rgba(255, 255, 255, .78); }
.page-hero--light { background: var(--bg-2); color: var(--text); }
.page-hero--light .lead { color: var(--text-2); }
.page-hero--light .breadcrumb { color: var(--text-3); }
.page-hero--light .breadcrumb a:hover { color: var(--text); }
.page-hero__icon { position: absolute; right: max(24px, calc((100vw - var(--container)) / 2)); bottom: 100px; z-index: 1; }
@media (max-width: 1000px) { .page-hero__icon { display: none; } .page-hero { padding: 96px 0 76px; } }
.breadcrumb { display: flex; gap: 8px; font-size: 13.5px; color: rgba(255, 255, 255, .55); align-items: center; flex-wrap: wrap; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span::before { content: "/"; margin-right: 8px; opacity: .5; }
.page-hero__meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.page-hero .tag { background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .85); border: 1px solid rgba(255, 255, 255, .12); }
.page-hero .btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff; }
.page-hero .btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.page-hero--light .tag { background: var(--bg-3); color: var(--text-2); border: 0; }

.subnav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.subnav .container { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav a { padding: 18px 16px; font-weight: 600; font-size: 15px; color: var(--text-3); white-space: nowrap; border-bottom: 2px solid transparent; }
.subnav a:hover, .subnav a.is-active { color: var(--text); border-color: var(--brand); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 36px 32px 8px 0; display: grid; gap: 6px; align-content: start; }
.stat + .stat { padding-left: 32px; border-left: 1px solid var(--line); }
.stat__num { font-size: clamp(44px, 4.4vw, 62px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; display: flex; align-items: baseline; gap: 4px; color: var(--text); }
.stat__num small { font-size: .38em; color: var(--gold); font-weight: 600; letter-spacing: -0.01em; }
.stat__label { color: var(--text); font-size: 16px; font-weight: 600; margin-top: 10px; }
.stat__note { font-size: 14px; color: var(--text-3); }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(3) { border-left: 0; padding-left: 0; } }

.marquee { overflow: hidden; padding: 26px 0; border-bottom: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marquee 50s linear infinite; }
.marquee__track span { color: var(--text-3); font-size: 15px; font-weight: 600; white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.marquee__track span::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--line-2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Service explorer ---------- */
.explorer { display: grid; grid-template-columns: 400px 1fr; gap: 56px; align-items: stretch; }
.explorer__list { display: grid; align-content: start; border-top: 1px solid var(--line); }
.explorer__item { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 19px 4px; border-bottom: 1px solid var(--line); text-align: left; cursor: pointer; transition: padding .3s var(--ease), color .2s; color: var(--text-3); }
.explorer__item small { font-size: 12.5px; font-weight: 600; letter-spacing: .06em; }
.explorer__item b { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.explorer__item::after { content: "→"; opacity: 0; transform: translateX(-6px); transition: all .3s var(--ease); color: var(--brand); }
.explorer__item.is-active, .explorer__item:hover { color: var(--text); padding-left: 12px; }
.explorer__item.is-active small { color: var(--brand); }
.explorer__item.is-active::after { opacity: 1; transform: none; }
.explorer__stage { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 420px; background: var(--ink); color: #fff; }
.explorer__panel { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s; display: flex; align-items: flex-end; }
.explorer__panel.is-active { opacity: 1; visibility: visible; }
.explorer__panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); transition: transform 1.6s var(--ease); }
.explorer__panel.is-active img { transform: none; }
.explorer__panel::after { content: ""; position: absolute; inset: 0; background: var(--overlay-b); }
.explorer__body { position: relative; z-index: 1; padding: 44px; display: grid; gap: 14px; max-width: 640px; }
.explorer__body p { margin: 0; color: rgba(255, 255, 255, .82); }
.explorer__body .tags .tag { background: rgba(255, 255, 255, .14); color: #fff; }
.explorer__body .hotline { color: #ffb3b7; font-weight: 600; display: flex; gap: 8px; align-items: center; }
@media (max-width: 1000px) { .explorer { grid-template-columns: 1fr; } .explorer__stage { min-height: 440px; } }
.coverflow, .coverflow__nav, .cf-wrap { display: none; }

.threat-card { min-height: 280px; display: flex; flex-direction: column; gap: 6px; }
.threat-card .num { font-size: 13px; color: var(--brand); font-weight: 600; letter-spacing: .1em; margin-bottom: 20px; }
.threat-card h3 { margin-top: auto; }

/* ---------- Architecture ---------- */
.arch { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.arch__svg { width: 100%; aspect-ratio: 1 / 0.9; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 20px; }
.arch__svg .node { cursor: pointer; }
.arch__svg .node rect { fill: #fff; stroke: var(--line-2); stroke-width: 1.2; transition: stroke .3s, fill .3s; }
.arch__svg .node text { fill: var(--text); font-family: var(--font); font-weight: 650; font-size: 15px; }
.arch__svg .node .sub { fill: var(--text-3); font-size: 10.5px; font-weight: 500; }
.arch__svg .node.is-active rect, .arch__svg .node:hover rect { stroke: var(--brand); fill: var(--brand-soft); stroke-width: 1.6; }
.arch__svg .node.is-active text:not(.sub) { fill: var(--brand-dark); }
.arch__svg .flow { stroke: var(--line-2); stroke-width: 1.5; fill: none; stroke-dasharray: 4 6; }
.arch__svg .flow.is-active { stroke: var(--brand); animation: dash 1s linear infinite; }
.arch__svg .boundary { fill: rgba(30, 42, 68, .03); stroke: rgba(30, 42, 68, .4); stroke-dasharray: 3 5; }
.arch__svg .label { fill: var(--brand-dark); font-family: var(--font); font-size: 10.5px; font-weight: 600; letter-spacing: .06em; }
.arch__svg .io rect { fill: var(--bg-2); stroke: var(--line); }
.arch__svg .io text { fill: var(--text); font-weight: 650; font-size: 14px; }
.arch__svg .out rect { fill: var(--ink); stroke: none; }
.arch__svg .out text { fill: #fff; }
.arch__svg .out .label { fill: rgba(255, 255, 255, .6); }
@keyframes dash { to { stroke-dashoffset: -20; } }
.arch__panel .card { min-height: 400px; }
.arch__panel .tag { margin-bottom: 16px; }
.arch__panel ul { margin: 24px 0 28px; padding: 0; list-style: none; display: grid; gap: 12px; }
.arch__panel li, .check-list li { display: flex; gap: 12px; color: var(--text-2); font-size: 15.5px; }
.arch__panel li::before, .check-list li::before, .feature-row ul li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111a2e' stroke-width='3'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/11px no-repeat; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.arch__tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.arch__tab { padding: 8px 16px; border-radius: 10px; border: 1px solid var(--line); font-size: 14.5px; font-weight: 600; color: var(--text-2); background: #fff; transition: all .2s; }
.arch__tab.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }
@media (max-width: 960px) { .arch { grid-template-columns: 1fr; } }

/* ---------- XAI demo ---------- */
.xai { display: grid; grid-template-columns: 320px 1fr; gap: 24px; }
.xai__scenarios { display: grid; gap: 8px; align-content: start; }
.xai__scenario { text-align: left; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); background: #fff; transition: border-color .2s, background .2s; display: grid; gap: 3px; }
.xai__scenario b { font-size: 16px; font-weight: 600; }
.xai__scenario span { font-size: 14px; color: var(--text-3); }
.xai__scenario:hover { border-color: var(--line-2); }
.xai__scenario.is-active { border-color: var(--brand); background: var(--brand-soft); }
.xai__scenario.is-active b { color: var(--brand-dark); }
.console { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; min-height: 560px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.console__bar { display: flex; align-items: center; gap: 14px; padding: 16px 22px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--text-3); background: #fff; }
.console__bar i { display: none; }
.console__bar .ttl { font-weight: 650; color: var(--text); }
.console__bar .rec { margin-left: auto; display: flex; align-items: center; gap: 8px; color: var(--brand-dark); font-weight: 600; font-size: 13.5px; }
.console__body { padding: 20px 22px; font-size: 15px; line-height: 1.6; flex: 1; overflow-y: auto; max-height: 600px; display: grid; gap: 8px; align-content: start; }
.console__line { display: grid; grid-template-columns: 60px 1fr; gap: 14px; align-items: start; animation: rotIn .4s var(--ease); padding: 10px 12px; border-radius: 10px; }
.console__line .t { color: var(--text-3); font-size: 12px; font-family: var(--mono); padding-top: 3px; }
.console__line.step { color: var(--text-3); font-size: 14px; }
.console__line.ev { color: var(--text); background: var(--bg-2); }
.console__line.ev b { color: var(--brand-dark); font-weight: 650; margin-right: 4px; }
.console__line.reason { color: var(--text); border-left: 2px solid var(--brand); border-radius: 0 10px 10px 0; }
.console__line.verdict { padding: 16px 18px; border-radius: 12px; background: #fbecec; color: #a3222a; font-weight: 650; font-size: 16px; grid-template-columns: 1fr; }
.console__line.action { color: var(--brand-dark); font-weight: 550; }
.console__line .conf { display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: 999px; background: #fff; color: var(--danger); font-size: 13px; }
.caret-blink { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); margin: 8px 12px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.console__foot { border-top: 1px solid var(--line); padding: 14px 22px; display: flex; gap: 24px; flex-wrap: wrap; font-size: 13.5px; color: var(--text-3); }
.console__foot b { color: var(--text); font-weight: 600; }
@media (max-width: 960px) { .xai { grid-template-columns: 1fr; } .xai__scenarios { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Service grid ---------- */
.svc-tabs { display: flex; gap: 6px; margin-bottom: 40px; flex-wrap: wrap; }
.svc-tabs button { height: 42px; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--text-2); border: 1px solid var(--line); background: #fff; transition: all .2s; }
.svc-tabs button:hover { border-color: var(--line-2); }
.svc-tabs button.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.svc-card { display: flex; flex-direction: column; gap: 12px; min-height: 320px; }
.svc-card .step { font-size: 12.5px; color: var(--brand); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.svc-card .tags { margin-top: auto; }
.svc-card .hotline, .pcard .hotline { font-size: 14.5px; color: var(--danger); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.cycle { display: none; }

/* ---------- Split (AI for / of) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.split .card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.split .card .media { border-radius: 0; aspect-ratio: 21 / 9; }
.split__body { padding: 40px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.split .card ul { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; border-top: 1px solid var(--line); }
.split .card li { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.split .card li b { font-size: 16px; font-weight: 600; }
.split .card li span { font-size: 15px; color: var(--text-2); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split__body { padding: 28px 24px; } }

/* ---------- Industry tabs ---------- */
.ind { display: grid; grid-template-columns: 280px 1fr; gap: 48px; }
.ind__list { display: grid; align-content: start; border-top: 1px solid var(--line); }
.ind__btn { text-align: left; padding: 20px 4px; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 600; color: var(--text-3); transition: color .2s, padding .3s var(--ease); display: flex; justify-content: space-between; align-items: center; letter-spacing: -0.02em; }
.ind__btn:hover { color: var(--text); }
.ind__btn.is-active { color: var(--text); padding-left: 12px; }
.ind__btn.is-active small { color: var(--brand); }
.ind__btn small { font-size: 12px; font-weight: 600; letter-spacing: .08em; }
.ind__panel { display: none; }
.ind__panel.is-active { display: grid; gap: 28px; animation: rotIn .6s var(--ease); }
.ind__visual { height: 220px; border-radius: var(--radius); position: relative; overflow: hidden; background: var(--ink); display: flex; align-items: flex-end; padding: 36px; color: #fff; }
.ind__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ind__visual::after { content: ""; position: absolute; inset: 0; background: var(--overlay-b); }
.ind__visual > *:not(img) { position: relative; z-index: 1; }
.ind__visual .big { display: none; }
.ind__cols { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.ind__cols div { padding: 22px 22px 6px 0; }
.ind__cols div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.ind__cols h4 { margin: 0 0 8px; font-size: 12.5px; color: var(--brand); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.ind__cols p { margin: 0; font-size: 15px; color: var(--text-2); }
@media (max-width: 960px) { .ind { grid-template-columns: 1fr; } .ind__list { grid-auto-flow: column; overflow-x: auto; border: 0; } .ind__btn { white-space: nowrap; border: 0; padding: 12px 16px; } .ind__cols { grid-template-columns: 1fr; } .ind__cols div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } }

/* ---------- Promo ---------- */
.promo { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 56px; border-radius: 24px; background: var(--ink); color: #fff; overflow: hidden; position: relative; }
.promo__bg { position: absolute; inset: 0; opacity: .35; }
.promo__bg img { width: 100%; height: 100%; object-fit: cover; }
.promo > *:not(.promo__bg) { position: relative; z-index: 1; }
.promo .lead { color: rgba(255, 255, 255, .72); }
.promo__steps { display: grid; gap: 10px; }
.promo__step { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: center; padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.promo__step b { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: rgba(215, 185, 127, .14); color: #d7b97f; font-size: 12px; font-weight: 700; text-align: center; line-height: 1.15; }
.promo__step strong { display: block; font-size: 16.5px; font-weight: 600; }
.promo__step span { font-size: 14px; color: rgba(255, 255, 255, .6); }
@media (max-width: 960px) { .promo { grid-template-columns: 1fr; padding: 40px 24px; } }

/* ---------- Reports ---------- */
.report-card { display: flex; flex-direction: column; gap: 12px; padding: 30px; min-height: 240px; }
.report-card .meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-3); font-weight: 600; }
.report-card h3 { font-size: 19px; line-height: 1.5; }
.report-card .tags { margin-top: auto; }
.report-feature { display: grid; grid-template-columns: .8fr 1.2fr; padding: 0; min-height: 320px; overflow: hidden; }
.report-feature__cover { position: relative; background: var(--ink); color: #fff; display: flex; align-items: flex-end; overflow: hidden; padding: 40px; }
.report-feature__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.report-feature:hover .report-feature__cover img { transform: scale(1.04); }
.report-feature__cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 12, 15, .15), rgba(8, 12, 15, .8)); }
.report-feature__cover > *:not(img) { position: relative; z-index: 1; }
.report-feature__cover .issue { position: absolute; left: 40px; top: 36px; font-size: 12px; font-weight: 600; letter-spacing: .14em; color: rgba(255, 255, 255, .8); z-index: 1; }
.report-feature__cover .ttl { font-size: 40px; font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; }
.report-feature__cover .ttl small { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .2em; color: #d7b97f; margin-top: 12px; }
.report-feature__body { padding: 48px; display: flex; flex-direction: column; gap: 16px; }
.report-feature__body ol { margin: 0; padding-left: 18px; color: var(--text-2); display: grid; gap: 8px; font-size: 15.5px; }
@media (max-width: 900px) { .report-feature { grid-template-columns: 1fr; } .report-feature__cover { min-height: 280px; } .report-feature__body { padding: 32px 24px; } }

/* ---------- Video ---------- */
.video-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--ink); cursor: pointer; display: flex; align-items: flex-end; padding: 24px; color: #fff; }
.video-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.video-card:hover img { transform: scale(1.05); }
.video-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 12, 15, .05) 30%, rgba(8, 12, 15, .78)); }
.video-card > *:not(img) { position: relative; z-index: 1; }
.video-card .play { position: absolute; left: 24px; top: 24px; width: 50px; height: 50px; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--ink); display: grid; place-items: center; transition: transform .3s var(--ease); z-index: 2; }
.video-card:hover .play { transform: scale(1.08); }
.video-card .play svg { width: 17px; height: 17px; margin-left: 3px; }
.video-card .dur { position: absolute; right: 18px; top: 18px; font-size: 12.5px; font-weight: 600; padding: 3px 9px; border-radius: 7px; background: rgba(0, 0, 0, .45); z-index: 2; }
.video-card h4 { margin: 0; font-size: 18px; line-height: 1.4; font-weight: 600; }
.video-card p { margin: 4px 0 0; font-size: 13.5px; color: rgba(255, 255, 255, .72); }

/* ---------- Trust ---------- */
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-item { padding: 32px 28px; display: grid; gap: 6px; justify-items: start; background: transparent; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item .badge { width: 54px; height: 54px; border-radius: 50%; border: 1.5px dashed var(--line-2); display: grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--text-2); text-align: center; line-height: 1.15; margin-bottom: 10px; }
.trust-item b { font-size: 17px; font-weight: 600; }
.trust-item span { font-size: 14.5px; color: var(--text-3); }
@media (max-width: 900px) { .trust-row { grid-template-columns: repeat(2, 1fr); } .trust-item:nth-child(3) { border-left: 0; } .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); } }

.timeline { position: relative; display: grid; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: var(--line-2); }
.timeline__item { position: relative; padding: 0 0 40px 44px; }
.timeline__item::before { content: ""; position: absolute; left: 0; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 4px solid var(--gold); }
.timeline__item.is-future::before { border-color: var(--line-2); }
.timeline__item time { font-size: 14px; color: var(--brand-dark); font-weight: 600; }
.timeline__item h4 { margin: 4px 0 6px; font-size: 19px; letter-spacing: -0.025em; font-weight: 650; }
.timeline__item p { margin: 0; color: var(--text-2); font-size: 15.5px; }

/* ---------- Group platforms ---------- */
.platforms { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.platform { padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 6px; min-height: 160px; align-content: start; transition: background .3s; }
.platform:hover { background: #fff; }
.platform small { font-size: 12px; color: var(--text-3); font-weight: 600; letter-spacing: .1em; }
.platform b { font-size: 18px; letter-spacing: -0.025em; font-weight: 650; }
.platform span { font-size: 14.5px; color: var(--text-2); line-height: 1.55; }
.platform.is-self { background: var(--ink); color: #fff; }
.platform.is-self small { color: #d7b97f; }
.platform.is-self span { color: rgba(255, 255, 255, .7); }
@media (max-width: 900px) { .platforms { grid-template-columns: repeat(2, 1fr); } }

/* ---------- FAQ ---------- */
.faq { max-width: 920px; margin-inline: auto; display: grid; border-top: 1px solid var(--text); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 4px; font-size: 18px; font-weight: 600; display: flex; justify-content: space-between; gap: 20px; letter-spacing: -0.025em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 24px; font-weight: 300; line-height: 1; color: var(--brand); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 40px 28px 4px; color: var(--text-2); font-size: 16px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; padding: 72px 64px; border-radius: 28px; display: grid; justify-items: start; gap: 20px; background: var(--ink); color: #fff; }
.cta-band__bg { position: absolute; inset: 0; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__bg::after { content: ""; position: absolute; inset: 0; background: var(--overlay); }
.cta-band > *:not(.cta-band__bg) { position: relative; z-index: 1; }
.cta-band .lead { color: rgba(255, 255, 255, .78); }
.cta-band .btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
@media (max-width: 680px) { .cta-band { padding: 64px 24px; } }

.consult-band { background: var(--bg-2); border-top: 1px solid var(--line); }
.consult-band .container { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding: 56px 0; }
.consult-band h3 { margin: 0; font-size: 28px; letter-spacing: -0.035em; line-height: 1.35; font-weight: 700; }
.consult-band .btns { display: flex; gap: 8px; flex-wrap: wrap; }
.consult-band .btn--ghost b { margin-left: 6px; font-weight: 600; }
.consult-band .btn--hot { color: var(--danger); }
@media (max-width: 900px) { .consult-band .container { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .62); padding: 80px 0 40px; }
.footer__top { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer h5 { margin: 0 0 18px; font-size: 13px; color: #fff; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer ul a { color: rgba(255, 255, 255, .58); font-size: 14.5px; }
.footer ul a:hover { color: #fff; }
.footer__brand p { color: rgba(255, 255, 255, .5); font-size: 14.5px; margin: 20px 0 24px; max-width: 320px; }
.footer__brand .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .25); }
.footer__contact { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer__contact div { padding: 28px 0; display: grid; gap: 4px; }
.footer__contact div + div { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .1); }
.footer__contact div.hot b { color: #ff8a90 !important; }
.footer__contact small { color: rgba(255, 255, 255, .5); font-size: 13.5px; }
.footer__contact b { font-size: 21px; color: #fff; font-weight: 600; }
.footer__bottom { padding-top: 28px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 13.5px; color: rgba(255, 255, 255, .42); }
.footer__bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__bottom nav a:first-child { color: #fff; font-weight: 600; }
.footer__certs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.footer__certs span { font-size: 12px; padding: 3px 9px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 6px; }
@media (max-width: 1000px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } .footer__contact { grid-template-columns: 1fr; } .footer__contact div + div { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .1); } }

/* ---------- Quick menu ---------- */
.quick { position: fixed; right: 24px; bottom: 24px; z-index: 90; display: grid; gap: 8px; justify-items: end; }
.quick a, .quick button { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--text); box-shadow: 0 10px 30px -10px rgba(10, 15, 20, .3); transition: transform .25s var(--ease); position: relative; border: 1px solid var(--line); }
.quick a:hover, .quick button:hover { transform: translateY(-2px); }
.quick svg { width: 21px; height: 21px; }
.quick .q-hot { color: var(--danger); }
.quick .q-consult { width: auto; padding: 0 22px; border-radius: 999px; background: var(--ink); color: #fff; border: 0; font-weight: 600; font-size: 15px; display: flex; gap: 8px; }
.quick [data-tip]::before { content: attr(data-tip); position: absolute; right: 64px; white-space: nowrap; padding: 7px 12px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 500; opacity: 0; transform: translateX(6px); transition: opacity .2s, transform .2s; pointer-events: none; }
.quick [data-tip]:hover::before { opacity: 1; transform: none; }
.quick .q-consult[data-tip]::before { display: none; }
.quick .q-top { opacity: 0; pointer-events: none; }
.quick .q-top.is-visible { opacity: 1; pointer-events: auto; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; padding: 24px; background: rgba(8, 12, 15, .78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.modal.is-open { display: grid; animation: fadeIn .25s; }
@keyframes fadeIn { from { opacity: 0; } }
.modal__box { width: min(1080px, 100%); position: relative; }
.modal__close { position: absolute; right: 0; top: -54px; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--text); font-size: 16px; }
.modal__video { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; display: grid; place-items: center; text-align: center; }
.modal__video video, .modal__video iframe { width: 100%; height: 100%; border: 0; }
.film-placeholder { display: grid; gap: 14px; justify-items: center; padding: 20px; width: 100%; color: rgba(255, 255, 255, .6); }
.film-placeholder canvas { width: 100%; aspect-ratio: 16/9; border-radius: 12px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14.5px; font-weight: 600; color: var(--text); }
.field label em { color: var(--brand); font-style: normal; margin-left: 2px; }
.input, .select, .textarea { width: 100%; height: 52px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; transition: border-color .2s, box-shadow .2s; font-size: 16px; }
.textarea { height: auto; min-height: 150px; padding: 14px 16px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6470' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(30, 42, 68, .12); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--danger); }
.field .err { font-size: 13.5px; color: var(--danger); display: none; }
.field.has-error .err { display: block; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--line-2); font-size: 15px; cursor: pointer; transition: border-color .2s, background .2s; height: 100%; font-weight: 500; background: #fff; }
.choice span::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--line-2); transition: all .2s; }
.choice input[type=radio] + span::before { border-radius: 50%; }
.choice input:checked + span { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-dark); }
.choice input:checked + span::before { background: var(--brand); border-color: var(--brand); box-shadow: inset 0 0 0 3px #fff; }
.choice input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.consent { font-size: 14px; color: var(--text-2); display: flex; gap: 10px; align-items: flex-start; }
.consent input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--brand); }
.consent.has-error { color: var(--danger); }
.stepper { display: flex; gap: 6px; margin-bottom: 36px; }
.stepper span { flex: 1; height: 3px; border-radius: 3px; background: var(--line); position: relative; overflow: hidden; }
.stepper span.is-done::after, .stepper span.is-active::after { content: ""; position: absolute; inset: 0; background: var(--brand); }
.stepper span.is-active::after { animation: grow .5s ease-out; transform-origin: left; }
@keyframes grow { from { transform: scaleX(0); } }
.form-step { display: none; }
.form-step.is-active { display: grid; gap: 24px; animation: rotIn .4s var(--ease); }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; }

/* ---------- Article ---------- */
.prose { max-width: 760px; font-size: 18px; line-height: 1.9; color: #2a333b; }
.prose h2 { font-size: 28px; color: var(--text); margin: 64px 0 20px; letter-spacing: -0.035em; line-height: 1.35; font-weight: 700; }
.prose h3 { font-size: 21px; color: var(--text); margin: 40px 0 12px; letter-spacing: -0.025em; font-weight: 650; }
.prose p { margin: 0 0 20px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 24px; }
.prose li { margin-bottom: 8px; }
.prose code { font-family: var(--mono); font-size: .86em; background: var(--bg-3); padding: 2px 6px; border-radius: 6px; color: var(--brand-dark); }
.prose pre { background: var(--ink); border-radius: 12px; padding: 20px 22px; overflow-x: auto; font-family: var(--mono); font-size: 14px; line-height: 1.7; color: #d0d7de; }
.prose blockquote { margin: 32px 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--brand); color: var(--text); font-size: 20px; font-weight: 500; line-height: 1.6; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 28px; font-size: 15.5px; border-top: 1px solid var(--text); }
.prose th, .prose td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.prose th { color: var(--text); font-weight: 600; background: var(--bg-2); }
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 80px; align-items: start; }
.article-aside { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 16px; }
.toc a { display: block; padding: 7px 0 7px 16px; border-left: 1px solid var(--line); font-size: 14.5px; color: var(--text-3); font-weight: 500; }
.toc a.is-active, .toc a:hover { color: var(--brand-dark); border-color: var(--brand); }
.article-cover { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 1; margin-bottom: 48px; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1000px) { .article-layout { grid-template-columns: 1fr; } .article-aside { position: static; } }

/* ---------- Filter ---------- */
.filter-bar { display: flex; gap: 16px; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-bottom: 40px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14.5px; font-weight: 600; color: var(--text-2); background: #fff; transition: all .2s; }
.chip:hover { border-color: var(--line-2); color: var(--text); }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.search { position: relative; width: min(340px, 100%); }
.search input { height: 46px; border-radius: 999px; padding-left: 46px; }
.search svg { position: absolute; left: 17px; top: 14px; width: 18px; height: 18px; color: var(--text-3); }
.empty { padding: 72px; text-align: center; color: var(--text-3); border: 1px dashed var(--line-2); border-radius: var(--radius); display: none; }

/* ---------- Feature rows ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: center; padding: 72px 0; }
.feature-row + .feature-row { border-top: 1px solid var(--line); }
.feature-row:nth-child(even) .feature-row__visual { order: -1; }
.feature-row__visual { border-radius: var(--radius); background: var(--bg-2); min-height: 380px; padding: 32px; position: relative; overflow: hidden; display: grid; align-content: center; }
.feature-row ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.feature-row ul li { display: flex; gap: 12px; color: var(--text-2); }
@media (max-width: 900px) { .feature-row { grid-template-columns: 1fr; gap: 32px; padding: 48px 0; } .feature-row:nth-child(even) .feature-row__visual { order: 0; } }

.mock { font-size: 14px; display: grid; gap: 8px; background: #fff; border-radius: 16px; padding: 20px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.mock__row { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 11px 13px; border-radius: 10px; background: var(--bg-2); color: var(--text-2); }
.mock__row b { color: var(--text); font-weight: 600; }
.mock__bar { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.mock__bar i { display: block; height: 100%; background: var(--brand); border-radius: 6px; }
.mock__head { display: flex; justify-content: space-between; color: var(--text); font-weight: 650; padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.mock__head span:last-child { color: var(--text-3); font-weight: 500; font-size: 13px; }
.sev { font-weight: 650; font-size: 12px; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.sev--crit { color: var(--danger); background: #fbecec; } .sev--high { color: #8a5d00; background: #fbf2de; } .sev--med { color: #3d4a55; background: #e9ecef; } .sev--ok { color: var(--brand-dark); background: var(--brand-soft); }

/* ---------- Tables ---------- */
.ctable { width: 100%; border-collapse: collapse; font-size: 15.5px; border-top: 1px solid var(--text); }
.ctable th, .ctable td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.ctable thead th { font-size: 13px; color: var(--text-3); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.ctable thead th.us { color: var(--brand-dark); }
.ctable td.us { background: var(--brand-soft); color: var(--text); font-weight: 600; }
.ctable td { color: var(--text-2); }
.ctable td b { color: var(--text); font-weight: 600; }
.table-wrap { overflow-x: auto; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: p; border-top: 1px solid var(--line); }
.process > div { padding: 28px 24px 8px 0; position: relative; counter-increment: p; }
.process > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.process > div::before { content: "0" counter(p); font-size: 13px; color: var(--brand); font-weight: 600; display: block; margin-bottom: 14px; letter-spacing: .08em; }
.process h4 { margin: 0 0 8px; font-size: 18px; letter-spacing: -0.025em; font-weight: 650; }
.process p { margin: 0; font-size: 14.5px; color: var(--text-2); }
@media (max-width: 1000px) { .process { grid-template-columns: 1fr 1fr !important; } .process > div:nth-child(odd) { border-left: 0; padding-left: 0; } }

/* ---------- Misc ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; } .reveal-d4 { transition-delay: .32s; }
.notice { display: flex; gap: 12px; padding: 16px 20px; border-radius: 12px; background: #fbf6ea; font-size: 14.5px; color: #6f5208; align-items: flex-start; }
.notice b { color: #8a5d00; flex: none; }
.toast { position: fixed; left: 50%; bottom: 32px; transform: translate(-50%, 20px); padding: 14px 22px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 600; font-size: 14.5px; opacity: 0; transition: all .3s; z-index: 300; pointer-events: none; }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

@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; transform: none; }
}

/* hero copy animates on load, not on scroll (keeps LCP text visible) */
.hero .reveal, .page-hero .reveal { opacity: 1; transform: none; animation: rotIn .8s var(--ease) both; }
.hero .reveal-d1 { animation-delay: .08s; } .hero .reveal-d2 { animation-delay: .16s; } .hero .reveal-d3 { animation-delay: .24s; } .hero .reveal-d4 { animation-delay: .32s; }
.explorer__panel img { object-position: center 60%; }
.timeline__item h3 { margin: 4px 0 6px; font-size: 19px; letter-spacing: -0.025em; font-weight: 650; }
.process h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -0.025em; font-weight: 650; }
button.link-arrow { padding: 0; }

.footer .logo__mark { color: #fff; }

.footer .logo__text small { color: rgba(255, 255, 255, .75); }

/* premium type tuning */
body { letter-spacing: -0.01em; }
.h-display, .h1, .h2 { letter-spacing: -0.035em; }
.hero__badge b { background: var(--gold-light); color: #111a2e; }
.btn--primary { background: var(--ink); }
.btn--primary:hover { background: #222833; }

.mobile-lang { display: none; }
@media (max-width: 1140px) { .mobile-lang { display: block; padding: 18px 0 0; } .mobile-lang .lang { display: flex; font-size: 16px; } }

@media (max-width: 680px) { .header .container { gap: 12px; } .header__actions .btn--primary { display: none; } .logo__mark { width: 40px; height: 27px; } .logo__text b { font-size: 21px; } .logo__text small { font-size: 9.5px; } }

/* CJK languages */
html:lang(ja) body { font-family: "Wanted Sans Variable", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, "Noto Sans JP", sans-serif; word-break: normal; line-break: strict; }
html:lang(zh-CN) body, html:lang(zh) body { font-family: "Wanted Sans Variable", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif; word-break: normal; }
html:lang(ja) .h-display, html:lang(ja) .h1, html:lang(ja) .h2, html:lang(zh-CN) .h-display, html:lang(zh-CN) .h1, html:lang(zh-CN) .h2 { letter-spacing: -0.01em; }
.lang { gap: 4px; align-items: center; }
.lang i { font-style: normal; opacity: .4; }
.lang a:hover { color: var(--text); }

@media (max-width: 960px) { [style*="position:sticky"] { position: static !important; } }

/* ===== compact layout (shorter scroll) ===== */
.section { padding: 80px 0; }
.section--tight { padding: 64px 0; }
.sec-head { margin-bottom: 44px; gap: 14px; }
@media (max-width: 680px) { .section { padding: 60px 0; } .sec-head { margin-bottom: 32px; } }

.hero { min-height: 480px; height: min(62svh, 560px); align-items: center; padding: 40px 0; }
.hero .container { align-items: center; }
.hero__content { gap: 20px; }
@media (max-width: 1000px) { .hero { min-height: 520px; height: auto; padding: 72px 0 56px; } }

.media--tall { aspect-ratio: 16 / 10; max-height: 420px; }
.split-ed { gap: 64px; }
.explorer__stage { min-height: 340px; }
.explorer__item { padding: 14px 4px; }
.explorer__body { padding: 32px; }
.arch__svg { max-width: 520px; justify-self: center; }
.arch__panel .card { min-height: 0; }
.console { min-height: 420px; }
.console__body { max-height: 440px; }
.ind__visual { height: 180px; padding: 28px; }
.promo { padding: 44px; gap: 40px; }
.report-feature { min-height: 280px; }
.report-feature__body { padding: 36px; }
.faq summary { padding: 20px 4px; }
.cta-band { padding: 56px 56px; }
.consult-band .container { padding: 40px 0; }
.footer { padding: 60px 0 32px; }
.footer__top { padding-bottom: 40px; }
.page-hero { padding: 72px 0 56px; }
.feature-row { padding: 52px 0; gap: 64px; }
.feature-row__visual { min-height: 300px; }
.sub-block { margin-bottom: 64px; }

.split .card li { padding: 11px 0; }
.split__body { padding: 32px; gap: 12px; }

/* mobile: shorter home */
@media (max-width: 680px) {
  .split-ed > .media { display: none; }
  .explorer__stage { display: none; }
  .explorer__item b { font-size: 17px; }
  .arch__svg { display: none; }
  .promo__steps { display: none; }
  .promo { padding: 32px 22px; }
  .console { min-height: 340px; }
  .console__body { max-height: 360px; }
  .report-feature__cover { min-height: 170px; padding: 24px; }
  .report-feature__cover .issue { left: 24px; top: 20px; }
  .report-feature__cover .ttl { font-size: 30px; }
  .hero__cta [data-film] { display: none; }
  .ind__visual { height: 150px; }
}
@media (max-width: 680px) { .explorer__item { color: var(--text); } .explorer__item::after { opacity: 1; transform: none; } .explorer__item small { color: var(--gold); } }


/* ---------- Language menu (8 languages) ---------- */
.lang { position: relative; margin-right: 8px; font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.lang summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 10px; cursor: pointer; user-select: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { background: var(--bg-2); color: var(--text); }
.lang summary svg { width: 17px; height: 17px; }
.lang summary .caret { width: 12px; height: 12px; transition: transform .2s; }
.lang[open] summary .caret { transform: rotate(180deg); }
.lang__menu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; min-width: 168px; display: grid; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px rgba(13, 17, 23, .12); z-index: 60; }
.lang__menu a, .lang__menu b { padding: 9px 12px; border-radius: 9px; font-weight: 550; color: var(--text-2); white-space: nowrap; }
.lang__menu a:hover { background: var(--bg-2); color: var(--text); }
.lang__menu b { color: var(--text); background: var(--brand-soft); font-weight: 650; }
.lang-list { display: flex; flex-wrap: wrap; gap: 8px; }
.lang-list a, .lang-list b { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 14.5px; font-weight: 550; color: var(--text-2); }
.lang-list b { color: #fff; background: var(--ink); border-color: var(--ink); }
@media (max-width: 1140px) { .mobile-lang { display: block; padding: 18px 0 0; } }

/* ---------- Arabic / RTL ---------- */
html:lang(ar) body { font-family: "Noto Sans Arabic", "Wanted Sans Variable", "Segoe UI", Tahoma, sans-serif; letter-spacing: 0; }
html:lang(ar) .h-display, html:lang(ar) .h1, html:lang(ar) .h2, html:lang(ar) .h3, html:lang(ar) h1, html:lang(ar) h2, html:lang(ar) h3 { letter-spacing: 0; line-height: 1.35; }
html:lang(ar) .eyebrow, html:lang(ar) .step, html:lang(ar) small { letter-spacing: 0; text-transform: none; }
html:lang(ar) .logo, html:lang(ar) .mono, html:lang(ar) .tour__time { direction: ltr; }
[dir="rtl"] .btn svg, [dir="rtl"] .link-arrow svg, [dir="rtl"] .hero__badge svg { transform: scaleX(-1); }
[dir="rtl"] .link-arrow::after { content: "←"; }
[dir="rtl"] .link-arrow:hover::after { transform: translateX(-4px); }
[dir="rtl"] { --overlay: linear-gradient(270deg, rgba(8, 12, 15, .88) 0%, rgba(8, 12, 15, .62) 45%, rgba(8, 12, 15, .15) 100%); }
[dir="rtl"] .lang { margin-right: 0; margin-left: 8px; }
@media (max-width: 1140px) { [dir="rtl"] .mobile-nav { transform: translateX(-100%); } [dir="rtl"] .mobile-nav.is-open { transform: none; } [dir="rtl"] .mobile-nav a { padding: 10px 4px 10px 0; } .mobile-nav a.btn { white-space: normal; height: auto; min-height: 52px; padding: 12px 20px; text-align: center; line-height: 1.35; } }
@media (max-width: 680px) { .consult-band .btns { flex-wrap: wrap; } .consult-band .btn, .hero__cta .btn, .loop__cta .btn { white-space: normal; height: auto; min-height: 52px; padding-top: 12px; padding-bottom: 12px; text-align: center; line-height: 1.35; max-width: 100%; } }

/* ---------- line breaking: sentence breaks in leads, no orphan words ---------- */
p, li, .lead { text-wrap: pretty; }
h1, h2, h3, .h-display, .h1, .h2, .h3 { text-wrap: balance; }
@media (max-width: 680px) { .br-s { display: none; } }


/* =========================================================
   Cross-browser / OS compatibility
   ========================================================= */
/* svh fallback for Safari < 15.4, older Android WebView */
@supports not (height: 1svh) {
  .hero { height: min(62vh, 560px); }
  .tour { min-height: calc(100vh - 40px - var(--header-h)); }
}
/* hide scrollbars on horizontal strips in Chrome/Safari/Edge too (Firefox uses scrollbar-width) */
.subnav .container::-webkit-scrollbar, .tabbar::-webkit-scrollbar, .svc-tabs::-webkit-scrollbar, .tour__steps::-webkit-scrollbar { display: none; }
.subnav .container, .tabbar, .svc-tabs, .tour__steps { scrollbar-width: none; -webkit-overflow-scrolling: touch; }
/* touch screens: no sticky hover lift after a tap, no grey tap flash */
html { -webkit-tap-highlight-color: transparent; }
@media (hover: none) {
  .card--link:hover, .pcard:hover, .tour__engines a:hover, .heat__cell:hover, .quick a:hover, .quick button:hover { transform: none; }
  .pcard:hover .pcard__img img, .video-card:hover img, .report-feature:hover .report-feature__cover img { transform: none; }
}
/* keyboard focus visible on every browser (Safari does not show focus rings on links by default) */
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
/* Windows high-contrast / forced colors: keep buttons and badges outlined */
@media (forced-colors: active) { .btn, .tag, .sev, .heat__cell { border: 1px solid CanvasText; } }
/* reduce motion (OS setting on macOS, iOS, Windows, Android) */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
/* consistent font rendering across macOS / Windows */
body { text-rendering: optimizeLegibility; -moz-osx-font-smoothing: grayscale; }
/* long URLs / emails / IDs never push the layout wider than the screen */
.prose, .card p, td, .footer { overflow-wrap: anywhere; }

/* grid/flex children may shrink below their content (prevents tables/code from widening the page) */
.grid > *, .split-ed > *, .article-layout > *, .loop__panel > *, .promo > *, .hero .container > *, .feature-row > * { min-width: 0; }
@media (max-width: 680px) { .prose table { display: block; overflow-x: auto; } }
.prose > img { max-width: 100%; height: auto; }
.prose code { overflow-wrap: anywhere; }

/* ---------- phones: comfortable tap targets (WCAG 2.2 target size, Apple 44pt guidance) ---------- */
@media (max-width: 680px) {
  .breadcrumb a, .article-hero .breadcrumb a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 4px; margin: 0 -4px; }
  .topbar__hot { display: inline-flex; align-items: center; min-height: 40px; }
  .footer a { display: inline-flex; align-items: center; min-height: 40px; }
  .link-arrow { min-height: 44px; }
  .qty button, .est__qty button, [data-qty] button { min-width: 40px; }
  .console small, .console .dim, small.dim { font-size: 12px; }
  .trust-item .badge { font-size: 12px; }
}
@media (max-width: 680px) { .breadcrumb a { min-width: 40px; justify-content: center; } }

/* highlighted words on dark photo heroes / dark sections stay readable */
.page-hero .grad-text, .hero .grad-text, .section--dark .grad-text, .cta-band .grad-text, .promo .grad-text, .page-hero .hl, .hero .hl, .section--dark .hl, .cta-band .hl, .promo .hl { color: var(--gold-light); }

/* tables: on narrow screens keep columns readable and scroll sideways instead of squeezing words letter by letter */
.table-wrap { -webkit-overflow-scrolling: touch; }
@media (max-width: 760px) {
  .table-wrap > .ctable { min-width: 560px; }
  .table-wrap > .decision__table, .table-wrap > .compare-table { min-width: 760px; }
  .table-wrap { margin-inline: 0; padding-inline: 0; }
}

/* phones: quick menu as one compact row so it covers less content */
@media (max-width: 680px) {
  .quick { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); grid-auto-flow: column; align-items: center; gap: 8px; }
  .quick a:not(.q-hot):not(.q-consult) { display: none; }
  .quick a, .quick button { width: 46px; height: 46px; }
  .quick .q-consult { height: 46px; padding: 0 18px; font-size: 14.5px; }
}
@media (hover: none) { .quick [data-tip]::before { display: none; } }

/* full-width buttons may wrap (long labels in ES/DE/FR) instead of widening their column */
.btn--block { white-space: normal; height: auto; min-height: 52px; padding-top: 12px; padding-bottom: 12px; text-align: center; line-height: 1.35; }
.contact-grid > *, .contact-layout > *, .contact-side, .contact-side > * { min-width: 0; }

/* as-of date on evidence blocks */
.asof { display: inline-block; margin-inline-start: 10px; padding: 3px 10px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); color: var(--text-3); font-size: 12.5px; font-weight: 600; letter-spacing: 0; vertical-align: middle; }
.page-hero .asof, .section--dark .asof { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: rgba(255,255,255,.75); }

/* skip link: visible only when focused with the keyboard */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 700; transition: top .15s; }
.skip-link:focus { top: 12px; }
[dir="rtl"] .skip-link { left: auto; right: 12px; }
main:focus { outline: none; }

/* long words / Latin tokens in translated pages never widen the layout */
main h1, main h2, main h3, main p, main li, main td, main th, main summary, main .card, main .mock__row > * { overflow-wrap: anywhere; }
html:lang(de) main h1, html:lang(de) main h2, html:lang(de) main h3 { hyphens: auto; -webkit-hyphens: auto; }
.check-list li { flex-wrap: wrap; }
.check-list li > :not(:first-child) { min-width: 0; }
.mock__row { grid-template-columns: auto minmax(0, 1fr) auto; }
.mock__row > * { min-width: 0; }
@media (max-width: 680px) {
  main .btn { white-space: normal; height: auto; min-height: 48px; padding-top: 11px; padding-bottom: 11px; text-align: center; line-height: 1.35; max-width: 100%; }
  .mock__row { grid-template-columns: auto minmax(0, 1fr); }
  .mock__row > :nth-child(3) { grid-column: 2; }
}
html:lang(ja) main h3, html:lang(zh-CN) main h3, html:lang(ja) main h1, html:lang(zh-CN) main h1 { line-break: auto; word-break: break-word; }
.faq summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
