.kx { --g: #ffffff; --band: #f7f8fa; --line: #e4e8ed; --ink: #0b1224; --mute: #5a6675; --teal: #27408b; --tint: #eef2fb; --cry: #cfe3ff; --pad: clamp(20px, 4.5cqw, 96px);
  container-type: inline-size; container-name: kx; background: var(--g); color: var(--ink); font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.6; }
.kx * { box-sizing: border-box; }
:where(.kx) a { color: inherit; text-decoration: none; }
:where(.kx) :where(h1, h2, h3, p, ul, ol, dl, dd, pre) { margin: 0; padding: 0; }
:where(.kx) :where(ul, ol) { list-style: none; }
.kx :focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, "JetBrains Mono", monospace; }
.deep { position: relative; color: #f4f1e8; }
.deep::before { content: ""; position: absolute; inset: 0; background: rgba(3, 6, 15, 0.56); }
.deep > * { position: relative; }
.deep :focus-visible, .end :focus-visible { outline-color: var(--cry); }
.eco { display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; min-height: 44px; padding: 0 var(--pad); background: rgba(3, 6, 15, 0.8); }
.eco a { display: inline-flex; align-items: center; min-height: 44px; color: #b7c0d4; font-size: 13px; font-weight: 500; }
.eco a.me, .eco a.on { color: var(--cry); font-weight: 700; }
.eco a.on { box-shadow: inset 0 -2px 0 var(--cry); }
.nav { display: flex; align-items: center; gap: 26px; min-height: 72px; padding: 0 var(--pad); border-bottom: 1px solid rgba(234, 246, 250, 0.14); }
.brand { display: inline-flex; align-items: center; min-height: 44px; font-family: "DM Serif Display", serif; font-size: 26px; margin-right: auto; white-space: nowrap; }
.nav a.l { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; font-size: 15px; }
.nav a.l:hover, .nav a.l.on { color: var(--cry); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 9px; border: 1px solid #cfd6de; background: transparent; color: var(--ink); font-family: inherit; font-size: 16px; font-weight: 600; cursor: pointer; }
.btn:hover { border-color: var(--teal); color: var(--teal); }
.btn.teal { background: var(--teal); border-color: var(--teal); color: #ffffff; }
.btn.teal:hover { background: #1c2f68; border-color: #1c2f68; color: #ffffff; }
.deep .btn, .end .btn { color: #f4f1e8; border-color: #6d7a99; }
.deep .btn:hover, .end .btn:hover { color: var(--cry); border-color: var(--cry); }
.deep .btn.sig, .end .btn.sig { background: var(--cry); border-color: var(--cry); color: #070b18; }
.deep .btn.sig:hover, .end .btn.sig:hover { background: #f4f1e8; border-color: #f4f1e8; color: #070b18; }
.ph { padding: clamp(52px, 6cqw, 104px) var(--pad) clamp(52px, 6cqw, 96px); max-width: 1320px; }
.eye { font-family: ui-monospace, SFMono-Regular, Menlo, "JetBrains Mono", monospace; font-size: 13px; letter-spacing: 0.08em; color: var(--teal); margin-bottom: 14px; }
.deep .eye { color: var(--cry); }
.ph h1 { font-family: "DM Serif Display", serif; font-weight: 400; font-size: clamp(46px, 6cqw, 92px); line-height: 1.06; letter-spacing: -0.012em; }
.ph .lead { font-size: clamp(19px, 1.6cqw, 23px); line-height: 1.5; margin-top: 20px; max-width: 40em; }
.sec { padding: 84px var(--pad); }
.sec.band { background: var(--band); }
.sec h2 { font-family: "DM Serif Display", serif; font-weight: 400; font-size: clamp(34px, 3.7cqw, 56px); line-height: 1.08; letter-spacing: -0.01em; }
.sub { color: var(--mute); max-width: 40em; margin-top: 14px; font-size: 19px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: #ffffff; border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px; min-width: 0; }
.card h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin: 6px 0 8px; line-height: 1.3; }
.card p { color: var(--mute); }
.card .k { font-family: ui-monospace, SFMono-Regular, Menlo, "JetBrains Mono", monospace; font-size: 13px; color: var(--teal); }
.num { font-family: ui-monospace, SFMono-Regular, Menlo, "JetBrains Mono", monospace; font-size: clamp(32px, 3cqw, 50px); line-height: 1.1; color: var(--teal); letter-spacing: -0.02em; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.opt { min-height: 46px; padding: 0 16px; border-radius: 9px; border: 1px solid #cfd6de; background: #ffffff; color: var(--ink); font-family: inherit; font-size: 16px; font-weight: 500; cursor: pointer; }
.opt.on { background: var(--tint); border-color: var(--teal); color: var(--teal); }
.pane { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0; margin-top: 16px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #ffffff; }
.pane > div { padding: 30px; min-width: 0; }
.pane > div + div { background: #070b18; color: #f4f1e8; }
.big { font-family: "DM Serif Display", serif; font-size: clamp(34px, 3.4cqw, 52px); line-height: 1.08; }
.pane .tag { font-family: ui-monospace, SFMono-Regular, Menlo, "JetBrains Mono", monospace; font-size: 13px; color: var(--mute); margin-bottom: 10px; }
.pane > div + div .tag { color: #b7c0d4; }
.claim { font-size: clamp(22px, 2cqw, 30px); font-weight: 600; line-height: 1.28; letter-spacing: -0.01em; }
.code { background: #0b1224; color: #cfe3ff; border-radius: 12px; padding: 22px; overflow-x: auto; margin-top: 16px; }
.code pre { font-family: ui-monospace, SFMono-Regular, Menlo, "JetBrains Mono", monospace; font-size: 14.5px; line-height: 1.6; }
.rows .row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 24px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--line); }
.rows .row span.m { color: var(--mute); font-size: 15px; }
.rows .row strong { font-family: ui-monospace, SFMono-Regular, Menlo, "JetBrains Mono", monospace; font-weight: 500; font-size: 26px; color: var(--teal); }
.ticks { display: grid; grid-template-columns: repeat(84, 1fr); gap: 2px; height: 170px; margin-top: 34px; }
.t { position: relative; height: 100%; }
.t span { position: absolute; left: 0; right: 0; }
.t.up span { bottom: 50%; height: 44%; background: #27408b; }
.t.same span { top: calc(50% - 1px); height: 2px; background: #cfd6de; }
.t.down span { top: 50%; height: 44%; background: #b06f0c; }
.key { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 24px; margin-top: 10px; color: var(--mute); font-size: 15px; }
.ridge { height: clamp(150px, 20cqw, 300px); display: flex; align-items: flex-end; gap: 1px; padding: 0 var(--pad); border-bottom: 1px solid var(--cry); }
.b { flex: 1 1 0; min-width: 0; background: var(--cry); }
.b.off { background: #2a3350; }
.cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding: 12px var(--pad) 20px; font-size: 14px; color: #b7c0d4; }
.lvl { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.lvl b { display: block; font-size: 19px; font-weight: 600; }
.lvl span { color: var(--mute); }
.ico { width: 18px; height: 18px; display: block; color: var(--teal); margin-top: 4px; }
.end { position: relative; overflow: hidden; color: #f4f1e8; }
.end .in { position: relative; padding: clamp(84px, 9cqw, 170px) var(--pad); }
.end h2 { font-family: "DM Serif Display", serif; font-weight: 400; font-size: clamp(40px, 5cqw, 84px); line-height: 1.08; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.foot { display: flex; flex-wrap: wrap; gap: 6px 26px; padding: 16px var(--pad) 26px; font-size: 14px; color: var(--mute); }
.foot a, .foot span { display: inline-flex; align-items: center; min-height: 44px; }
.foot span { margin-right: auto; }
@container kx (max-width: 1320px) { .nav a.l { display: none; } }
@container kx (max-width: 980px) {
  .cards, .cards.four, .cards.two, .pane { grid-template-columns: minmax(0, 1fr); }
  .sec { padding-top: 60px; padding-bottom: 60px; }
}
@container kx (max-width: 640px) {
  .nav a.btn.line { display: none; }
  .brand { font-size: 23px; }
  .nav a.btn.sig { padding: 0 12px; font-size: 15px; white-space: nowrap; }
  .pane > div { padding: 22px 18px; }
  .ticks { gap: 1px; height: 130px; }
  .ridge { padding: 0; gap: 0; }
  .rows .row { grid-template-columns: minmax(0, 1fr) auto; }
  .rows .row span.m { grid-column: 1 / -1; grid-row: 2; }
}

.btn, .opt, .sc, .chip, .inp, .note { border-radius: 4px; }
.deep .btn.sig, .end .btn.sig, .end .btn.dark { background: #f4f1e8; border-color: #f4f1e8; color: #070b18; }
.eco a { font-weight: 400; letter-spacing: 0.02em; }
.eye { letter-spacing: 0.14em; }
.ridge { gap: 2px; border-bottom: 0; }
.b { height: 100% !important; transition: background 0.3s ease; }

.ridge { height: clamp(90px, 11cqw, 170px); padding: 0 var(--pad); }
.b { background: #f4f1e8; }
.ph { position: relative; }
.deep { overflow: hidden; }
.orbit { position: absolute; right: calc(var(--pad) * -1 - 120px); top: -20px; width: min(620px, 46cqw); height: auto; color: #cfe3ff; opacity: 0.32; pointer-events: none; }
.kx main > .sec:not(.band) { background: #ffffff; }
.sec.band { --line: #232e4a; --mute: #b7c0d4; --teal: #cfe3ff; --ink: #f4f1e8; background: #070b18; color: #f4f1e8; }
.sec.band .eye { color: #cfe3ff; }
.sec.band .sub { color: #b7c0d4; }
.cards { gap: 40px; }
.card { background: transparent; border: 0; border-top: 1px solid currentColor; border-radius: 0; padding: 14px 0 0; }
.num { font-family: "DM Serif Display", serif; letter-spacing: 0; color: #0b1224; }
.rows .row strong { font-family: "DM Serif Display", serif; font-weight: 400; color: #0b1224; }
.pane { border-radius: 6px; }
.code { border-radius: 6px; background: #0f1730; border: 1px solid #232e4a; color: #cfe3ff; }
.t.down span { background: #a65a2e; }
.end .in { padding-top: clamp(110px, 12cqw, 220px); padding-bottom: clamp(110px, 12cqw, 220px); }
@container kx (max-width: 980px) { .orbit { display: none; } .cards { gap: 26px; } }

.deep, .end { background-image: none; }
.deep::before { content: none; }
.deep > .sky, .end > .sky, .sky { position: absolute; inset: 0; overflow: hidden; }
.sky i { position: absolute; inset: 0; background-size: cover; background-position: center top; will-change: transform, opacity; animation: sky-in 80s linear infinite; }
.sky i + i { animation-delay: -40s; }
.sky::after { content: ""; position: absolute; inset: 0; background: rgba(3, 6, 15, 0.62); }
.end .sky::after { background: rgba(3, 6, 15, 0.3); }
.end .sky i { background-position: center; }
.sky.out i { animation-name: sky-out; }
.sky.side i { animation-name: sky-side; }
@keyframes sky-in { 0% { transform: scale(1); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes sky-out { 0% { transform: scale(1.35); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
@keyframes sky-side { 0% { transform: scale(1.2) translateX(6%); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { transform: scale(1.2) translateX(-6%); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .sky i { animation: none; opacity: 1; } .sky i + i { display: none; } }

.site { padding: 56px var(--pad) 24px; background: #03060f; color: #b7c0d4; font-size: 15px; }
.sg { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px; }
.sg .sh { color: #f4f1e8; font-weight: 600; margin: 0 0 6px; }
.sg a { display: flex; align-items: center; min-height: 44px; line-height: 1.25; color: #b7c0d4; text-decoration: none; }
.sg a:hover, .sb a:hover { color: #f4f1e8; }
.sb { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 30px 0 0; padding-top: 10px; border-top: 1px solid #232e4a; }
.sb a { display: inline-flex; align-items: center; min-height: 44px; color: #b7c0d4; text-decoration: none; }
@container kx (max-width: 1100px) { .sg { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@container kx (max-width: 640px) { .sg { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; } }

a.card { display: block; color: inherit; text-decoration: none; }
a.card:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.steps { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 40px; margin-top: 36px; }
.steps li { border-top: 1px solid currentColor; padding-top: 12px; }
.steps .sn { font-family: "DM Serif Display", serif; font-size: 34px; line-height: 1.1; }
.steps h3 { font-size: 19px; font-weight: 600; margin: 6px 0 6px; }
.steps p { color: var(--mute); }
.state { font-family: "DM Serif Display", serif; font-size: clamp(30px, 3.6cqw, 56px); line-height: 1.16; max-width: 22em; }
.cmp { margin-top: 32px; border-top: 1px solid currentColor; }
.cmp .r { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 4fr); gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cmp .h { font-weight: 600; }
.cmp .r span:first-child { color: var(--mute); }
details.q { border-top: 1px solid var(--line); }
details.q summary { display: flex; align-items: center; min-height: 56px; cursor: pointer; font-size: 19px; font-weight: 500; }
details.q p { color: var(--mute); padding-bottom: 16px; max-width: 46em; }
.faqs { margin-top: 28px; max-width: 980px; }
.toc { margin-top: 32px; }
.toc li { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.toc b { display: block; font-size: 19px; font-weight: 600; }
.toc span.d { color: var(--mute); }
.prose { max-width: 42em; margin-top: 18px; font-size: 19px; line-height: 1.65; }
.prose p + p { margin-top: 16px; }
.ph2 { display: inline-block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 15px; padding: 3px 8px; border: 1px dashed currentColor; }
.formx { max-width: 640px; margin-top: 30px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 500; margin-bottom: 8px; }
.inp { display: block; width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid #0b1224; border-radius: 4px; background: #ffffff; color: var(--ink); font-family: inherit; font-size: 17px; }
textarea.inp { min-height: 120px; resize: vertical; }
@container kx (max-width: 980px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; } }
@container kx (max-width: 640px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .cmp .r { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .cmp .h { display: none; }
  .cmp .r span:first-child { font-weight: 600; color: var(--ink); }
  .cmp .r span[data-l]::before { content: attr(data-l) ": "; color: var(--mute); }
}

.answer { font-family: "DM Serif Display", serif; font-size: clamp(22px, 2.1cqw, 30px); line-height: 1.36; max-width: 38em; }
.prose p { max-width: 44em; font-size: 18px; line-height: 1.68; margin-top: 14px; }
.prose p:first-child { margin-top: 18px; }
.tbl { overflow-x: auto; margin-top: 26px; }
.tbl table { border-collapse: collapse; width: 100%; min-width: 560px; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 12px 16px 12px 0; border-bottom: 1px solid rgba(127, 135, 150, 0.35); font-size: 16px; line-height: 1.5; }
.tbl thead th { font-weight: 600; border-bottom: 1px solid currentColor; }
.tbl tbody th { font-weight: 600; }
.bul { margin-top: 22px; max-width: 46em; }
.bul li { position: relative; padding: 10px 0 10px 22px; border-top: 1px solid rgba(127, 135, 150, 0.35); font-size: 17px; line-height: 1.55; }
.bul li::before { content: ""; position: absolute; left: 0; top: 20px; width: 8px; height: 1px; background: currentColor; }
.stp { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 36px; margin-top: 30px; }
.stp li { border-top: 1px solid currentColor; padding-top: 12px; }
.stp .sn { font-family: "DM Serif Display", serif; font-size: 32px; line-height: 1.1; }
.stp h3 { font-size: 18px; font-weight: 600; margin: 6px 0; }
.stp p { font-size: 16px; line-height: 1.55; opacity: 0.86; }
.qa { max-width: 50em; margin-top: 10px; }
.qa h3 { font-size: 20px; font-weight: 600; line-height: 1.35; margin-top: 28px; }
.qa p { font-size: 17px; line-height: 1.62; margin-top: 8px; opacity: 0.88; }
.srcs { margin-top: 18px; max-width: 56em; counter-reset: z; }
.srcs li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 8px; align-items: center; border-top: 1px solid rgba(127, 135, 150, 0.35); font-size: 15px; }
.srcs li span { font-family: ui-monospace, Menlo, monospace; opacity: 0.7; }
.srcs a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
sup.ct { font-size: 0.68em; line-height: 0; margin-left: 2px; }
sup.ct a { text-decoration: none; padding: 0 1px; }
.sec.ans { padding-bottom: 0; }
@container kx (max-width: 980px) { .stp { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container kx (max-width: 640px) { .stp { grid-template-columns: minmax(0, 1fr); } .tbl table { min-width: 0; } .tbl th, .tbl td { font-size: 15px; padding-right: 10px; } }
