:root {
    --navy: #0b1b33;
    --success: #16a34a;
    --navy-hover: #1b3156;
    --text: #0b1b33;
    --text-2: #475467;
    --text-3: #667085;
    --bg: #ffffff;
    --bg-alt: #f6f7f9;
    --tint: #eef0f3;
    --border: #e4e7ec;
    --border-strong: #d0d5dd;
    --on-navy-2: #b9c3d3;
    --on-navy-line: rgba(255, 255, 255, 0.14);
    --radius-sm: 8px;
    --radius: 12px;
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
    --shadow-md: 0 1px 3px rgba(16, 24, 40, 0.06), 0 16px 40px -16px rgba(16, 24, 40, 0.2);
    --maxw: 1200px;
    --header-h: 68px;
    --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16.5px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img, video { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--navy); }
h1, h2, h3, h4 { margin: 0; color: var(--text); font-weight: 600; line-height: 1.2; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 500; text-decoration: none; }
.skip-link:focus { top: 12px; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 44px; padding: 0 18px; border-radius: var(--radius-sm);
    font-size: 15px; font-weight: 500; line-height: 1;
    border: 1px solid transparent; cursor: pointer; white-space: nowrap; text-decoration: none;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn i { font-size: 15px; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-hover); color: #fff; }
.btn-secondary { background: #fff; color: var(--text); border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { background: var(--bg-alt); color: var(--text); }
.btn-inverse { background: #fff; color: var(--navy); }
.btn-inverse:hover { background: #e9edf4; color: var(--navy); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.32); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14.5px; }
.btn-block { width: 100%; }

.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: #ffffff; border-bottom: 1px solid var(--border); }
.site-header.is-scrolled { box-shadow: 0 1px 8px rgba(16, 24, 40, 0.06); }
.header-inner { display: flex; align-items: center; gap: 36px; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; text-decoration: none; }
.brand-mark { display: inline-block; flex-shrink: 0; width: 25px; height: 28px; background-color: currentColor; -webkit-mask: url('../img/logo-mark.png') center / contain no-repeat; mask: url('../img/logo-mark.png') center / contain no-repeat; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--text-2); font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 6px; text-decoration: none; }
.nav a:hover { color: var(--text); background: var(--bg-alt); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: var(--radius-sm); border: 1px solid var(--border-strong); background: #fff; color: var(--text); align-items: center; justify-content: center; font-size: 20px; cursor: pointer; }

.mobile-nav { position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99; background: #fff; border-bottom: 1px solid var(--border); box-shadow: 0 12px 24px -12px rgba(16, 24, 40, 0.18); padding: 8px 16px 20px; display: none; }
.mobile-nav.open { display: block; }
.mobile-nav a:not(.btn) { display: block; padding: 13px 4px; color: var(--text); font-weight: 500; border-bottom: 1px solid var(--border); text-decoration: none; }
.mobile-nav .btn { width: 100%; margin-top: 14px; }

.hero { padding: 80px 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr); gap: 56px; align-items: center; }
.hero-tag { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 20px; color: var(--text-2); font-size: 14.5px; font-weight: 500; }
.hero-tag i { width: 4px; height: 4px; border-radius: 50%; background: var(--border-strong); }
.hero h1 { font-size: clamp(34px, 4.2vw, 50px); line-height: 1.1; letter-spacing: -0.025em; margin-bottom: 22px; }
.hero-lead { font-size: 19px; line-height: 1.6; color: var(--text-2); max-width: 540px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-notes { display: grid; gap: 6px; margin-top: 20px; }
.hero-notes li { display: flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 14.5px; }
.hero-notes li i { color: var(--navy); font-size: 16px; }

.frame { border: 1px solid var(--border-strong); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-md); overflow: hidden; }
.frame-bar { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 14px; background: #f2f4f7; border-bottom: 1px solid var(--border); }
.frame-dots { display: inline-flex; gap: 6px; }
.frame-dots span { width: 10px; height: 10px; border-radius: 50%; background: #d0d5dd; }
.frame-url { flex: 1; max-width: 280px; margin: 0 auto; height: 24px; border-radius: 6px; background: #fff; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--text-3); }
.frame-url i { font-size: 11px; }
.frame-image { display: block; width: 100%; height: auto; }

.app { display: grid; grid-template-columns: 148px minmax(0, 1fr); font-size: 13px; color: var(--text); }
.app-side { border-right: 1px solid var(--border); background: #fbfbfc; padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; }
.app-brand { display: flex; align-items: center; gap: 8px; padding: 2px 8px 14px; font-weight: 600; font-size: 13.5px; color: var(--navy); }
.app-brand .brand-mark { width: 16px; height: 18px; }
.app-link { display: flex; align-items: center; gap: 9px; padding: 7px 8px; border-radius: 6px; color: var(--text-2); font-weight: 500; }
.app-link i { font-size: 14px; color: var(--text-3); }
.app-link.on { background: #fff; color: var(--text); box-shadow: inset 0 0 0 1px var(--border); }
.app-link.on i { color: var(--navy); }
.app-link em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 600; color: var(--text-2); background: var(--bg-alt); border: 1px solid var(--border); border-radius: 999px; padding: 0 7px; }
.app-main { padding: 18px 18px 16px; min-width: 0; }
.app-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.app-head b { font-size: 15px; font-weight: 600; }
.app-tabs { display: inline-flex; gap: 2px; padding: 2px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 7px; font-size: 12px; }
.app-tabs span { padding: 3px 9px; border-radius: 5px; color: var(--text-3); font-weight: 500; white-space: nowrap; }
.app-tabs span.on { background: #fff; color: var(--text); box-shadow: var(--shadow-sm); }
.app-table { border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.app-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) 58px 96px; gap: 10px; align-items: center; padding: 9px 12px; border-top: 1px solid var(--border); }
.app-row:first-child { border-top: 0; }
.app-row.head { background: var(--bg-alt); color: var(--text-3); font-size: 11.5px; font-weight: 500; padding-top: 7px; padding-bottom: 7px; }
.app-row .id { font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.app-row.head .id { font-family: inherit; font-size: inherit; }
.app-row .svc { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.app-row .amt { text-align: right; font-variant-numeric: tabular-nums; }
.app-row .st { justify-self: end; }
.app-foot { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.app-card { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 12px; display: flex; align-items: center; gap: 10px; min-width: 0; }
.app-card i { font-size: 16px; color: var(--navy); }
.app-card div { min-width: 0; }
.app-card b { display: block; font-size: 12.5px; font-weight: 600; }
.app-card small { display: block; color: var(--text-3); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 500; white-space: nowrap; background: var(--tint); color: var(--text); }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--navy); }
.badge-open { background: #fff; color: var(--text-2); box-shadow: inset 0 0 0 1px var(--border-strong); }
.badge-open::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--text-3); }
.badge-hold { color: var(--text-2); }
.badge-hold::before { border-radius: 1px; width: 6px; height: 6px; background: var(--text-3); }

.proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 80px; padding: 32px 0 56px; border-top: 1px solid var(--border); }
.proof-item h3 { display: flex; align-items: center; gap: 9px; font-size: 16px; margin-bottom: 6px; }
.proof-item h3 i { color: var(--navy); font-size: 17px; }
.proof-item p { color: var(--text-2); font-size: 14.5px; line-height: 1.55; }

.connects { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.connects-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding-top: 22px; padding-bottom: 22px; }
.connects-label { color: var(--text-3); font-size: 14px; }
.connects-list { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.connects-list span { color: var(--text); font-weight: 500; font-size: 15px; }

.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-navy { background: var(--navy); color: #fff; }
.section-head { max-width: 700px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(28px, 3vw, 38px); letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 14px; }
.section-head p { color: var(--text-2); font-size: 18px; line-height: 1.6; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy .section-head p { color: var(--on-navy-2); }

.who { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.who-item { border-top: 1px solid var(--border-strong); padding-top: 22px; }
.who-item i { display: block; font-size: 22px; color: var(--navy); margin-bottom: 14px; }
.who-item h3 { font-size: 17px; margin-bottom: 6px; }
.who-item p { color: var(--text-2); font-size: 15px; line-height: 1.55; }
.who.three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.trust-note { margin-top: 48px; }
.trust-note h3 { font-size: 18px; margin-bottom: 8px; }
.trust-note p { color: var(--text-2); font-size: 15.5px; line-height: 1.65; max-width: 880px; margin: 0; }

.about { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 72px; align-items: start; }
.about .section-head { margin-bottom: 28px; }
.acro { border-top: 1px solid var(--border); }
.acro-row { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--border); }
.acro-letter { width: 46px; height: 46px; border-radius: 10px; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 20px; font-weight: 500; }
.acro-letter.cloud { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 1px var(--border-strong); font-size: 20px; }
.acro-row dt { font-weight: 600; font-size: 16.5px; }
.acro-row dd { color: var(--text-2); font-size: 15px; line-height: 1.5; }
.company { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.company h3 { font-size: 19px; margin-bottom: 8px; }
.company > p { color: var(--text-2); font-size: 15px; line-height: 1.6; margin-bottom: 22px; }

.panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.panel-head { display: flex; align-items: flex-start; gap: 14px; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--border); }
.panel-head i { font-size: 22px; color: var(--navy); line-height: 1.2; }
.panel-head h3 { font-size: 20px; }
.panel-head p { color: var(--text-3); font-size: 14.5px; margin-top: 2px; }
.ticks { display: grid; gap: 11px; }
.ticks li { position: relative; padding-left: 28px; color: var(--text-2); font-size: 15.5px; line-height: 1.5; }
.ticks li i { position: absolute; left: 0; top: 1px; color: var(--navy); font-size: 17px; }
.ticks.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 28px; }

.panel-head.infra-head { align-items: center; }
.infra-logo { flex-shrink: 0; width: 120px; height: 88px; display: inline-flex; align-items: center; justify-content: center; padding: 10px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.infra-logo img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; }
.infra-note { display: flex; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); color: var(--text-3); font-size: 14px; line-height: 1.5; }
.infra-note i { color: var(--text-3); margin-top: 2px; }
.regions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.region { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.region-flag { flex-shrink: 0; display: block; width: 28px; height: 21px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px var(--border-strong); }
.region > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.region b { font-size: 15.5px; font-weight: 600; }
.region span { color: var(--text-3); font-size: 13.5px; }

.spec { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.spec-group h3 { font-size: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--navy); margin-bottom: 4px; }
.spec-item { padding: 16px 0; border-bottom: 1px solid var(--border); }
.spec-item dt { font-weight: 600; font-size: 15.5px; margin-bottom: 4px; }
.spec-item dd { color: var(--text-2); font-size: 14.5px; line-height: 1.55; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.split.center { align-items: center; }
.split + .split { margin-top: 96px; padding-top: 96px; border-top: 1px solid var(--border); }
.split-copy, .split-media { min-width: 0; }
.split-copy h2 { font-size: clamp(28px, 3vw, 38px); letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 14px; }
.split-copy > p { color: var(--text-2); font-size: 18px; line-height: 1.6; margin-bottom: 28px; }
.split-copy > p.api-compat { font-size: 15.5px; margin-top: -12px; padding-left: 14px; border-left: 2px solid var(--border-strong); }

.rules { border-top: 1px solid var(--border); }
.rules li { padding: 18px 0; border-bottom: 1px solid var(--border); }
.rules h3 { font-size: 16.5px; margin-bottom: 4px; }
.rules p { color: var(--text-2); font-size: 15px; line-height: 1.55; }

.timeline { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.timeline-title { font-size: 14px; font-weight: 500; color: var(--text-3); margin-bottom: 20px; }
.tl-step { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; position: relative; padding-bottom: 22px; }
.tl-step::after { content: ""; position: absolute; left: 14px; top: 32px; bottom: 4px; width: 1px; background: var(--border-strong); }
.tl-num { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border-strong); background: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: var(--navy); }
.tl-step h4 { font-size: 15.5px; margin: 4px 0 2px; }
.tl-step p { color: var(--text-2); font-size: 14.5px; line-height: 1.5; }
.tl-outcomes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-left: 44px; }
.tl-outcome { border-radius: var(--radius-sm); padding: 14px; font-size: 14px; line-height: 1.5; background: var(--bg-alt); border: 1px solid var(--border); color: var(--text-2); }
.tl-outcome b { display: flex; align-items: center; gap: 6px; font-size: 14.5px; margin-bottom: 2px; color: var(--text); }

.ledger { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.ledger-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.ledger-head b { font-size: 14.5px; font-weight: 600; }
.ledger-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 14px 18px; border-top: 1px solid var(--border); }
.ledger-head + .ledger-row { border-top: 0; }
.ledger-row b { font-size: 14.5px; font-weight: 500; }
.ledger-row .amt { font-weight: 600; font-size: 14.5px; font-variant-numeric: tabular-nums; text-align: right; }
.ledger-row code { grid-column: 1 / -1; font-family: var(--mono); font-size: 12px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.tasks { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.tasks-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.tasks-head b { font-size: 14.5px; font-weight: 600; }
.tasks-row { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 15px 18px; border-bottom: 1px solid var(--border); }
.tasks-row i { color: var(--navy); font-size: 17px; }
.tasks-row b { display: block; font-size: 14.5px; font-weight: 500; }
.tasks-row small { display: block; color: var(--text-3); font-size: 13.5px; line-height: 1.45; }
.tasks-state { font-size: 12.5px; color: var(--text); font-weight: 500; white-space: nowrap; font-family: var(--mono); background: var(--tint); border-radius: 6px; padding: 3px 8px; }
.tasks-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; }
.tasks-foot span { font-size: 14.5px; font-weight: 500; }
.tasks-foot b { font-family: var(--mono); font-size: 28px; font-weight: 500; line-height: 1; color: var(--navy); }

.sec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 48px; }
.sec-item { padding: 26px 0; border-top: 1px solid var(--on-navy-line); }
.sec-item i { display: block; font-size: 20px; color: var(--on-navy-2); margin-bottom: 12px; }
.sec-item h3 { font-size: 16.5px; margin-bottom: 6px; }
.sec-item p { color: var(--on-navy-2); font-size: 14.5px; line-height: 1.6; }

.kits { border-top: 1px solid var(--border); }
.kit { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.kit i { font-size: 18px; color: var(--navy); line-height: 1.4; }
.kit h3 { font-size: 15.5px; margin-bottom: 2px; }
.kit p { color: var(--text-2); font-size: 14.5px; line-height: 1.55; }

.code-card { background: #0d1626; border: 1px solid #1d2a40; border-radius: var(--radius); overflow: hidden; }
.code-tabs { display: flex; gap: 2px; padding: 0 10px; border-bottom: 1px solid #1d2a40; overflow-x: auto; }
.code-tab { background: transparent; border: 0; border-bottom: 2px solid transparent; color: #8a97ad; font-size: 13.5px; font-weight: 500; padding: 12px 12px 10px; cursor: pointer; white-space: nowrap; }
.code-tab:hover { color: #d7deea; }
.code-tab[aria-selected="true"] { color: #fff; border-bottom-color: #fff; }
.code-pane { display: none; margin: 0; padding: 22px 24px; overflow-x: auto; font-family: var(--mono); font-size: 13px; line-height: 1.75; color: #c9d2df; tab-size: 4; }
.code-pane.active { display: block; }
.code-pane .k { color: #ffffff; font-weight: 500; }
.code-pane .s { color: #93a1b7; }
.code-pane .v { color: #e6ebf2; }

.media-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { height: 36px; padding: 0 14px; border-radius: var(--radius-sm); border: 1px solid var(--border-strong); background: #fff; color: var(--text-2); font-size: 14.5px; font-weight: 500; cursor: pointer; }
.chip:hover { color: var(--text); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.shot-grid, .video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.shot, .video-card { display: block; width: 100%; padding: 0; text-align: left; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; color: inherit; box-shadow: var(--shadow-sm); transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.shot { cursor: zoom-in; }
.video-card { cursor: pointer; }
.shot:hover, .video-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.shot-img { display: block; aspect-ratio: 16 / 10; background: var(--bg-alt); border-bottom: 1px solid var(--border); overflow: hidden; }
.shot-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.shot-meta, .video-meta { display: block; padding: 14px 16px 16px; }
.shot-meta small, .video-meta small { display: block; color: var(--text-3); font-size: 13px; }
.shot-meta b, .video-meta b { display: block; font-size: 15.5px; font-weight: 600; margin-top: 2px; }
.shot-meta .desc, .video-meta .desc { display: block; color: var(--text-2); font-size: 14px; margin-top: 4px; line-height: 1.5; }
.shot[hidden], .video-card[hidden] { display: none; }
.videos-head { margin: 64px 0 24px; }
.videos-head.first { margin-top: 0; }
.videos-head h3 { font-size: 22px; letter-spacing: -0.01em; }
.videos-head p { color: var(--text-2); margin-top: 4px; }
.video-thumb { display: block; position: relative; aspect-ratio: 16 / 9; background: #e9edf3; border-bottom: 1px solid var(--border); overflow: hidden; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 54px; height: 54px; border-radius: 50%; background: rgba(11, 27, 51, 0.88); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 24px; }
.video-play i { margin-left: 3px; }
.video-card:hover .video-play { background: var(--navy); }
.video-dur { position: absolute; right: 10px; bottom: 10px; padding: 2px 7px; border-radius: 5px; background: rgba(11, 27, 51, 0.85); color: #fff; font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; }

.viewer { width: min(1200px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: var(--radius); background: #0b1220; color: #fff; overflow: hidden; }
.viewer::backdrop { background: rgba(11, 18, 32, 0.82); }
.viewer[open] { display: flex; flex-direction: column; }
.viewer-bar { display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.viewer-title { flex: 1; min-width: 0; }
.viewer-title b { display: block; font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.viewer-title small { display: block; color: #a3adbf; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.viewer-count { color: #a3adbf; font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.viewer-btn { width: 36px; height: 36px; border-radius: var(--radius-sm); border: 1px solid rgba(255, 255, 255, 0.18); background: transparent; color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-size: 15px; flex-shrink: 0; }
.viewer-btn:hover { background: rgba(255, 255, 255, 0.1); }
.viewer-stage { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; background: #0b1220; }
.viewer-stage img { max-width: 100%; max-height: calc(100vh - 110px); object-fit: contain; }
.viewer-stage video { width: 100%; max-height: calc(100vh - 110px); background: #000; }
.viewer-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border); background: #fff; color: var(--navy); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; cursor: pointer; }
.viewer-nav.prev { left: 14px; }
.viewer-nav.next { right: 14px; }
.viewer-nav[hidden] { display: none; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.steps.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.panel-lead { color: var(--text-2); font-size: 15.5px; line-height: 1.6; margin: 0 0 16px; }
.sub-head { margin: 64px 0 20px; max-width: 700px; }
.sub-head h3 { font-size: 22px; letter-spacing: -0.01em; }
.sub-head p { color: var(--text-2); margin-top: 6px; font-size: 16px; }
.outcomes { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.outcome { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 20px; align-items: start; padding: 18px 22px; border-top: 1px solid var(--border); }
.outcome:first-child { border-top: 0; }
.outcome .badge { justify-self: start; margin-top: 2px; font-size: 12.5px; padding: 3px 10px; }
.outcome h4 { font-size: 15.5px; margin-bottom: 4px; }
.outcome p { color: var(--text-2); font-size: 15px; line-height: 1.55; }
.section-note { color: var(--text-3); font-size: 14.5px; margin-top: 24px; max-width: 760px; }
.step { border-top: 2px solid var(--navy); padding-top: 18px; }
.step-num { display: block; font-family: var(--mono); font-size: 13px; color: var(--text-3); margin-bottom: 8px; }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { color: var(--text-2); font-size: 15px; line-height: 1.55; }

.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.plan { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm); }
.plan.best { border: 2px solid var(--navy); padding: 25px 23px; }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 24px; }
.plan-term { font-size: 15.5px; font-weight: 600; }
.plan-label { font-size: 12.5px; font-weight: 600; color: #fff; background: var(--navy); border-radius: 999px; padding: 2px 10px; }
.plan-price { font-size: 36px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; margin: 18px 0 8px; font-variant-numeric: tabular-nums; }
.plan-per { color: var(--text-3); font-size: 14px; }
.plan-save { margin-top: 6px; font-size: 14px; font-weight: 500; color: var(--text); min-height: 22px; }
.plan .btn { margin-top: 24px; }
.pricing-note { display: flex; align-items: center; gap: 10px; margin-top: 24px; color: var(--text-2); font-size: 15px; }
.pricing-note i { color: var(--navy); font-size: 17px; }

.deal { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.deal-main { padding: 32px; }
.deal-main h3, .deal-side h3 { font-size: 19px; margin-bottom: 6px; }
.deal-main > p, .deal-side > p { color: var(--text-2); font-size: 15px; margin-bottom: 22px; }
.deal-side { padding: 32px; background: var(--bg-alt); border-left: 1px solid var(--border); }
.contact-list { display: grid; gap: 10px; }
.contact-list a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--border); color: var(--text); font-weight: 500; font-size: 15px; text-decoration: none; }
.contact-list a:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.contact-list a i { font-size: 18px; color: var(--navy); width: 22px; text-align: center; }
.contact-list a span small { display: block; color: var(--text-3); font-weight: 400; font-size: 13.5px; }
.contact-list a .go { margin-left: auto; color: var(--text-3); font-size: 14px; }
.deal-side .btn { margin-top: 14px; }

.faq-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; align-items: start; }
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; font-weight: 500; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { color: var(--text-3); font-size: 16px; transition: transform 0.2s ease; flex-shrink: 0; }
.faq details[open] summary i { transform: rotate(45deg); color: var(--navy); }
.faq details p { padding: 0 32px 18px 0; color: var(--text-2); font-size: 15px; line-height: 1.6; }

.cta { background: var(--navy); color: #fff; border-radius: 16px; padding: 56px; display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px; align-items: center; }
.cta h2 { color: #fff; font-size: clamp(26px, 2.8vw, 34px); letter-spacing: -0.02em; margin-bottom: 10px; }
.cta p { color: var(--on-navy-2); font-size: 17px; max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.site-footer { padding: 56px 0 32px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-brand p { color: var(--text-2); font-size: 14.5px; margin-top: 14px; max-width: 320px; }
.footer-col h4 { font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.footer-col a { display: block; color: var(--text-2); font-size: 14.5px; padding: 4px 0; text-decoration: none; }
.footer-col a:hover { color: var(--text); }
.footer-legal { margin-top: 40px; max-width: 880px; color: var(--text-3); font-size: 13px; line-height: 1.65; }
.footer-legal strong { color: var(--text-2); font-weight: 600; }
.footer-legal + .footer-bottom { margin-top: 20px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--text-3); font-size: 13.5px; }

@media (max-width: 1080px) {
    .nav { display: none; }
    .menu-btn { display: inline-flex; }
    .header-actions .btn-secondary { display: none; }
    .hero { padding-top: 56px; }
    .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
    .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 64px; }
    .who, .who.three { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
    .about { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
    .split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .split + .split { margin-top: 72px; padding-top: 72px; }
    .sec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .shot-grid, .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .deal { grid-template-columns: minmax(0, 1fr); }
    .deal-side { border-left: 0; border-top: 1px solid var(--border); }
    .faq-cols { grid-template-columns: minmax(0, 1fr); }
    .faq-cols .faq + .faq { border-top: 0; }
    .cta { grid-template-columns: minmax(0, 1fr); padding: 44px; }
    .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
    :root { --header-h: 62px; }
    body { font-size: 16px; }
    .container { padding: 0 16px; }
    .section { padding: 64px 0; }
    .section-head { margin-bottom: 32px; }
    .section-head p, .split-copy > p { font-size: 16.5px; }
    .hero { padding-top: 40px; }
    .hero-lead { font-size: 17px; }
    .hero-ctas .btn { flex: 1 1 auto; }
    .header-actions .btn-primary { display: none; }
    .who, .who.three, .proof, .spec, .panels, .sec-grid, .shot-grid, .video-grid, .steps, .steps.three, .plans, .ticks.two, .tl-outcomes { grid-template-columns: minmax(0, 1fr); }
    .trust-note { padding: 22px 20px; margin-top: 36px; }
    .regions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .infra-logo { width: 96px; height: 72px; padding: 8px; }
    .outcome { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 16px; }
    .sub-head { margin-top: 48px; }
    .proof { gap: 24px; padding-bottom: 40px; }
    .panel, .deal-main, .deal-side, .timeline, .company { padding: 22px; }
    .app { grid-template-columns: minmax(0, 1fr); }
    .app-side { display: none; }
    .app-row { grid-template-columns: minmax(0, 1fr) 56px 92px; }
    .app-row .id { display: none; }
    .app-tabs span:not(.on) { display: none; }
    .app-foot { grid-template-columns: minmax(0, 1fr); }
    .tl-outcomes { margin-left: 0; }
    .cta { padding: 32px 22px; border-radius: 12px; }
    .cta-actions .btn { flex: 1 1 auto; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .faq details p { padding-right: 0; }
    .viewer { width: 100vw; max-height: 100vh; height: 100%; border-radius: 0; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0.01ms !important; }
}

.flow { border: 1px solid var(--on-navy-line); border-radius: var(--radius); padding: 24px; background: rgba(255, 255, 255, 0.02); }
.flow-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.flow-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.flow-tab { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; font: inherit; font-size: 14px; font-weight: 500; color: var(--on-navy-2); background: transparent; border: 1px solid var(--on-navy-line); border-radius: 999px; cursor: pointer; }
.flow-tab:hover { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.flow-tab.is-active { color: var(--navy); background: #fff; border-color: #fff; }
.flow-tab:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.flow-live { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--on-navy-2); }
.flow-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: flowPulse 1.6s ease-in-out infinite; }
@keyframes flowPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

.flow-board { display: grid; grid-template-columns: minmax(0, 0.9fr) 36px minmax(0, 1.25fr) 36px minmax(0, 1fr) 36px minmax(0, 1.15fr) 36px minmax(0, 1fr); align-items: center; }
.flow-node, .flow-routes { position: relative; border: 1px solid var(--on-navy-line); border-radius: var(--radius); background: rgba(255, 255, 255, 0.03); padding: 16px; color: var(--on-navy-2); transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease; }
.flow-node.is-active, .flow-routes.is-active { border-color: #fff; background: rgba(255, 255, 255, 0.07); color: #fff; }
.flow-node.is-done { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.flow-node-icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 12px; border-radius: 10px; border: 1px solid var(--on-navy-line); font-size: 18px; color: #fff; }
.flow-node.is-active .flow-node-icon, .flow-node.is-done .flow-node-icon { background: #fff; color: var(--navy); border-color: #fff; }
.flow-node-label { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--on-navy-2); margin-bottom: 4px; }
.flow-node-title { display: block; font-size: 15.5px; font-weight: 600; color: #fff; line-height: 1.35; }
.flow-node-meta { display: block; margin-top: 4px; font-size: 13px; color: var(--on-navy-2); }
.flow-engine { background: #fff; color: var(--navy); border-color: #fff; }
.flow-engine .flow-node-icon { background: var(--navy); color: #fff; border-color: var(--navy); }
.flow-engine .flow-node-label, .flow-engine .flow-node-meta { color: var(--text-2); }
.flow-engine .flow-node-title { color: var(--navy); }
.flow-engine.is-active, .flow-engine.is-done { background: #fff; color: var(--navy); border-color: #fff; }
.flow-engine.is-active .flow-node-icon, .flow-engine.is-done .flow-node-icon { background: var(--navy); color: #fff; border-color: var(--navy); }
.flow-block { display: block; margin-top: 10px; padding: 6px 8px; font-family: var(--mono); font-size: 11.5px; color: var(--text-2); background: var(--tint); border-radius: 6px; opacity: 0.35; transition: opacity 0.3s ease; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.flow-engine.is-done .flow-block, .flow-engine.is-active .flow-block.is-on { opacity: 1; }

.flow-checks ul { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.flow-checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; line-height: 1.4; color: var(--on-navy-2); opacity: 0.5; transition: opacity 0.25s ease; }
.flow-checks li b { display: block; font-size: 13.5px; font-weight: 600; color: #fff; }
.flow-checks li > i { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; border: 1px solid var(--on-navy-line); font-size: 12px; color: transparent; }
.flow-checks li.is-ok { opacity: 1; }
.flow-checks li.is-ok > i { background: var(--success); border-color: var(--success); color: #fff; }

.flow-routes { padding: 8px; display: flex; flex-direction: column; gap: 4px; }
.flow-route { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--radius-sm); font-size: 12.5px; color: var(--on-navy-2); opacity: 0.55; transition: background 0.25s ease, opacity 0.25s ease, color 0.25s ease; }
.flow-route > i { flex-shrink: 0; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid var(--on-navy-line); font-size: 14px; color: #fff; }
.flow-route b { display: block; font-size: 13.5px; font-weight: 600; color: #fff; }
.flow-route.is-picked { opacity: 1; }
.flow-route.is-picked.is-on { background: #fff; color: var(--text-2); }
.flow-route.is-picked.is-on b { color: var(--navy); }
.flow-route.is-picked.is-on > i { background: var(--navy); border-color: var(--navy); color: #fff; }

.flow-link { position: relative; height: 2px; margin: 0 4px; background: var(--on-navy-line); }
.flow-link i { position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left center; transition: transform 0.45s ease; }
.flow-link b { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: #fff; opacity: 0; }
.flow-link.is-done i { transform: scaleX(1); }
.flow-link.is-running b { animation: flowDot 0.45s linear forwards; }
@keyframes flowDot { 0% { left: 0; opacity: 1; } 100% { left: calc(100% - 8px); opacity: 1; } }

.flow-result .flow-notify { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; opacity: 0.35; transition: opacity 0.25s ease; }
.flow-result.is-done .flow-notify, .flow-result.is-active .flow-notify.is-on { opacity: 1; }
.flow-notify span { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; font-size: 12px; border: 1px solid var(--on-navy-line); border-radius: 999px; color: #fff; }
.flow-life { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.flow-life[hidden] { display: none; }
.flow-life span { display: flex; align-items: center; gap: 7px; padding: 4px 10px; font-size: 12px; border-radius: 999px; border: 1px dashed var(--on-navy-line); color: var(--on-navy-2); transition: background 0.25s ease, color 0.25s ease; }
.flow-life span i { font-size: 12px; }
.flow-notify[hidden] { display: none; }
.flow-life span.is-on { background: #fff; color: var(--navy); border: 1px solid #fff; }

.flow-status { display: flex; align-items: center; gap: 12px; margin-top: 28px; padding: 14px 16px; border-top: 1px solid var(--on-navy-line); font-size: 15.5px; color: #fff; min-height: 52px; }
.flow-status-step { flex-shrink: 0; font-family: var(--mono); font-size: 12.5px; color: var(--navy); background: #fff; border-radius: 6px; padding: 2px 8px; }
.flow-note { margin: 6px 0 0; padding: 0 16px; font-size: 14px; color: var(--on-navy-2); }
.flow-block { display: flex; align-items: center; gap: 6px; }
.flow-block i { flex-shrink: 0; font-size: 11px; color: var(--navy); }
.flow-block span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.flow-sig { margin-top: 28px; padding: 18px; border: 1px solid var(--on-navy-line); border-radius: var(--radius); background: rgba(255, 255, 255, 0.02); }
.flow-sig[hidden] { display: none; }
.flow-sig-head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.flow-sig-head .flow-node-label { margin: 0; }
.flow-sig-algo { font-family: var(--mono); font-size: 11.5px; padding: 2px 8px; border-radius: 6px; background: #fff; color: var(--navy); }
.flow-sig-link { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #fff; text-decoration: none; }
.flow-sig-link:hover { text-decoration: underline; }
.flow-sig-steps { display: grid; grid-template-columns: minmax(0, 1.25fr) 24px minmax(0, 1.05fr) 24px minmax(0, 1.15fr) 24px minmax(0, 1fr); align-items: stretch; }
.flow-sig-step { position: relative; padding: 14px; border: 1px solid var(--on-navy-line); border-radius: var(--radius-sm); color: var(--on-navy-2); opacity: 0.5; transition: opacity 0.25s ease, border-color 0.25s ease, background 0.25s ease; }
.flow-sig-step.is-active { opacity: 1; border-color: #fff; background: rgba(255, 255, 255, 0.07); }
.flow-sig-step.is-done { opacity: 1; border-color: rgba(255, 255, 255, 0.4); }
.flow-sig-step > b { display: block; font-size: 14.5px; font-weight: 600; color: #fff; }
.flow-sig-step > small { display: block; font-size: 12px; color: var(--on-navy-2); margin-top: 2px; }
.flow-sig-num { position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--on-navy-line); font-family: var(--mono); font-size: 11.5px; color: #fff; }
.flow-sig-step.is-active .flow-sig-num, .flow-sig-step.is-done .flow-sig-num { background: #fff; border-color: #fff; color: var(--navy); }
.flow-code { margin: 10px 0 0; padding: 9px 10px; font-family: var(--mono); font-size: 11.5px; line-height: 1.6; color: #fff; background: rgba(255, 255, 255, 0.05); border-radius: 6px; white-space: pre-wrap; word-break: break-word; }
.flow-sig-hash { display: flex; align-items: center; gap: 6px; margin-top: 8px; padding: 6px 9px; font-family: var(--mono); font-size: 11.5px; border-radius: 6px; background: #fff; color: var(--navy); white-space: nowrap; overflow: hidden; }
.flow-sig-hash span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.flow-sig-step ul { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.flow-sig-step li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--on-navy-2); }
.flow-sig-step li i { flex-shrink: 0; width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--on-navy-line); font-size: 11px; color: transparent; transition: background 0.2s ease, color 0.2s ease; }
.flow-sig-step li.is-ok { color: #fff; }
.flow-sig-step li.is-ok i { background: var(--success); border-color: var(--success); color: #fff; }
.flow-sig-arrow { display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--on-navy-2); }
.flow-sig-foot { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font-size: 13px; color: var(--on-navy-2); }
.flow-guard { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--on-navy-line); }
.flow-guard span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; font-size: 12.5px; color: #fff; border: 1px solid var(--on-navy-line); border-radius: 999px; }
.flow-guard span i { font-size: 13px; color: var(--on-navy-2); }
.flow-guard .flow-guard-label { padding: 5px 4px 5px 0; border: 0; font-size: 12px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--on-navy-2); }

@media (max-width: 1080px) {
    .flow-board { grid-template-columns: minmax(0, 1fr); }
    .flow-link { width: 2px; height: 26px; margin: 4px auto; }
    .flow-link i { transform: scaleY(0); transform-origin: center top; }
    .flow-link.is-done i { transform: scaleY(1); }
    .flow-link b { left: -3px; top: 0; }
    .flow-link.is-running b { animation-name: flowDotDown; }
    @keyframes flowDotDown { 0% { top: 0; opacity: 1; } 100% { top: calc(100% - 8px); opacity: 1; } }
    .flow-routes { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
    .flow-sig-steps { grid-template-columns: minmax(0, 1fr); }
    .flow-sig-arrow { height: 26px; transform: rotate(90deg); }
}
@media (max-width: 720px) {
    .flow { padding: 16px; }
    .flow-tab { padding: 7px 11px; font-size: 13px; }
    .flow-status { font-size: 14.5px; padding: 12px 4px; }
    .flow-note { padding: 0 4px; }
    .flow-sig { padding: 14px; }
    .flow-sig-link { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .flow-live-dot, .flow-link.is-running b { animation: none; }
    .flow-node, .flow-routes, .flow-route, .flow-link i, .flow-checks li, .flow-block, .flow-notify, .flow-life span, .flow-sig-step, .flow-sig-step li i { transition: none; }
}

@font-face { font-family: 'Twemoji Country Flags'; src: url('../fonts/TwemojiCountryFlags.woff2?v=1') format('woff2'); unicode-range: U+1F1E6-1F1FF; font-display: swap; }
.fx-flag { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 24px; font-size: 19px; line-height: 1; }
.flag-font .fx-flag { font-family: 'Twemoji Country Flags', 'IBM Plex Sans', sans-serif; }
.fx-flag .bi { font-size: 16px; color: var(--text-3); }
.fx-demo { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.fx-demo-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.fx-demo-head b { font-size: 14.5px; font-weight: 600; }
.fx-demo-row { display: grid; grid-template-columns: 24px 44px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.fx-demo-code { font-family: var(--mono); font-size: 13px; font-weight: 500; }
.fx-demo-name { color: var(--text-3); font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-demo-row b { font-size: 15.5px; font-weight: 600; white-space: nowrap; }
.fx-demo-row small { color: var(--text-3); font-size: 13px; white-space: nowrap; }
.fx-demo-foot { display: flex; align-items: center; gap: 8px; padding: 14px 18px; font-size: 14px; font-weight: 500; }
.fx-demo-foot i { color: var(--navy); }
.cur-all { margin-top: 72px; }
.cur-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.cur-head h3 { font-size: 22px; letter-spacing: -0.01em; }
.cur-search { display: flex; align-items: center; gap: 8px; width: min(320px, 100%); padding: 0 14px; height: 42px; background: #fff; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); }
.cur-search:focus-within { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(11, 27, 51, 0.08); }
.cur-search i { color: var(--text-3); font-size: 14px; }
.cur-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: inherit; font-size: 15px; color: var(--text); }
.cur-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.cur { display: flex; align-items: center; gap: 10px; padding: 11px 14px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); min-width: 0; }
.cur b { font-family: var(--mono); font-size: 13px; font-weight: 500; }
.cur span:last-child { color: var(--text-2); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.cur-grid.is-collapsed .cur:nth-child(n+21) { display: none; }
.cur[hidden] { display: none; }
.cur-empty { color: var(--text-3); font-size: 15px; padding: 12px 0; }
.cur-more { display: flex; justify-content: center; margin-top: 20px; }
.cur-more[hidden] { display: none; }
@media (max-width: 720px) {
    .cur-all { margin-top: 48px; }
    .cur-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .cur { display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: 8px; row-gap: 1px; padding: 10px; align-items: center; }
    .cur .fx-flag { grid-row: 1 / span 2; }
    .cur span:last-child { font-size: 12.5px; line-height: 1.35; white-space: normal; }
    .cur-grid.is-collapsed .cur:nth-child(n+17) { display: none; }
    .fx-demo-row { grid-template-columns: 24px 40px minmax(0, 1fr) auto; padding: 12px 14px; }
    .fx-demo-name { display: none; }
}
