* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { color: #121416; background: #fff; font: 400 16px/1.5 "Inter Tight", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 3px; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.kerna-access { display: grid; grid-template-columns: 5fr 7fr; min-height: 100svh; }
.kerna-access__entry { position: relative; display: grid; place-items: center; padding: 130px 40px 70px; }
.kerna-access__locale { position: absolute; top: 24px; right: 20px; z-index: 5; }
.kerna-access__back { position: absolute; top: 24px; left: 20px; display: grid; place-items: center; width: 40px; height: 40px; color: #121416; text-decoration: none; border-radius: 6px; transition: background-color .2s ease; }
.kerna-access__back:hover { background-color: #f3f4f5; }
.kerna-access__back:focus-visible { outline: 2px solid #315b92; outline-offset: 2px; }
.kerna-access__brand { position: absolute; top: 32px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; }
.kerna-access__brand img { width: 28px; height: 28px; }
.kerna-access__brand b { color: #788087; font-weight: 400; }
.kerna-access__form-wrap { width: min(360px, 100%); text-align: center; }
.kerna-access h1 { margin: 0; font: 400 36px/1.2 "Inter Tight", Arial, sans-serif; letter-spacing: -.035em; }
.kerna-access__intro { margin: 14px 0 32px; color: #66717a; font-size: 16px; }
.kerna-access__google { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 10px 16px; border: 1px solid #dedfdf; border-radius: 5px; background: #fff; text-decoration: none; font-weight: 500; box-shadow: 0 2px 3px #172c4008; }
.kerna-access__google:hover { background: #f8f9fa; }
.kerna-access__divider { display: flex; align-items: center; gap: 14px; margin: 23px 0; color: #92979b; font-size: 12px; }
.kerna-access__divider::before, .kerna-access__divider::after { content: ""; flex: 1; height: 1px; background: #e8eaeb; }
.kerna-access__email { display: block; text-align: left; }
.kerna-access__email span { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.kerna-access__email input { width: 100%; min-height: 48px; padding: 12px 15px; border: 1px solid #dce0e4; border-radius: 5px; outline: none; background: #fff; color: #121416; font-size: 16px; }
.kerna-access__email input:focus { border-color: #435c86; box-shadow: 0 0 0 3px #435c8612; }
.kerna-access__primary { width: 100%; min-height: 46px; margin-top: 10px; padding: 10px 16px; border: 1px solid #111; border-radius: 5px; background: #111; color: #fff; cursor: pointer; }
.kerna-access__primary:hover { background: #292929; }
.kerna-access__primary:disabled { opacity: .55; cursor: wait; }
.kerna-access__status { margin: 0; text-align: left; color: #2e5479; font-size: 13px; }
.kerna-access__status:not(:empty) { margin-top: 15px; }
.kerna-access__legal { margin: 22px 0; color: #92979b; font-size: 12px; line-height: 1.6; }
.kerna-access__demo { margin: 26px auto 0; color: #788087; font-size: 13px; line-height: 1.7; }
.kerna-access__demo a { color: #242b32; }
.kerna-access__visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 100svh; overflow: hidden; background: linear-gradient(180deg,#030a16 0%,#151dc0 25%,#287fe6 52%,#91bff3 100%); }
.kerna-access__visual canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.kerna-access__password { margin-top: 10px; }
.kerna-access__quant { position: relative; z-index: 1; width: min(700px, calc(100% - 96px)); padding: 100px 0 72px; display: grid; gap: 26px; animation: quant-enter 1.2s ease both; }
.kerna-access__quant figure { min-width: 0; margin: 0; }
.kerna-access__quant figcaption { color: #d8e6ff; font-size: 12px; line-height: 1.5; }
.kerna-access__trajectory { padding: 22px 22px 16px; border: 6px solid #ffffff80; border-radius: 16px; background: #27282c; background-clip: padding-box; box-shadow: 0 24px 48px #06123935, 0 6px 14px #06123924; }
.kerna-access__trajectory figcaption { color: #c9d2df; }
.kerna-access__trajectory figcaption { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 12px; }
.kerna-access__legend { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; color: #c1d4ee; font-size: 10px; }
.kerna-access__legend i { width: 6px; height: 6px; border-radius: 50%; background: #b1f4e9; }
.kerna-access__legend i:nth-of-type(2) { margin-left: 9px; background: #d6e2ff80; }
.kerna-access__quant svg { display: block; width: 100%; height: auto; overflow: visible; }
.kerna-access__trajectory svg { height: clamp(180px, 23vh, 230px); }
.quant-grid { fill: none; stroke: #d2e7ff26; stroke-width: .8; }
.quant-reference { fill: none; stroke: #e5efff80; stroke-width: 1.3; stroke-dasharray: 4 5; }
.quant-series { fill: none; stroke: #b1f4e9; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.quant-axis { fill: #d1e4ffb3; font: 10px "Inter Tight", Arial, sans-serif; }
.quant-draw { stroke-dasharray: var(--path-length); animation: quant-draw 2.5s .2s ease both; }
.kerna-access__quant-details { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.kerna-access__quant-details figure { padding: 18px; border: 1px solid #ffffffb3; border-radius: 12px; background: #ffffffed; box-shadow: 0 12px 30px #173f6b24, 0 3px 8px #173f6b0d; }
.kerna-access__quant-details figcaption { margin-bottom: 12px; color: #496079; }
.kerna-access__quant-details svg { height: 100px; }
.kerna-access__quant-details .quant-series { stroke: #174e76; }
.kerna-access__quant-details .quant-reference { stroke: #2a5d8d80; }
.kerna-access__quant-details .quant-grid { stroke: #315f862b; }
.kerna-access__quant-details circle { fill: #244e79; }
#kernaDensityArea { fill: #244e79; fill-opacity: .08; }
.kerna-access__visual-foot { margin: 8px 0 0; color: #9ba6b5; font-size: 10px; }
button:focus-visible, a:focus-visible { outline: 2px solid #3469ad; outline-offset: 4px; }
@keyframes quant-enter { from { opacity: 0; translate: 0 20px; } to { opacity: 1; translate: 0 0; } }
@keyframes quant-draw { from { stroke-dashoffset: var(--path-length); } to { stroke-dashoffset: 0; } }
@media (max-width: 1024px) { .kerna-access { grid-template-columns: 1fr; }.kerna-access__entry { min-height: 100svh; padding: 120px 28px 56px; }.kerna-access__visual { display: none; } }
@media (max-height: 800px) and (min-width: 1025px) {
  .kerna-access__entry { padding-block: 110px 42px; }
  .kerna-access__quant { padding-block: 90px 66px; gap: 22px; }
  .kerna-access__trajectory svg { max-height: 220px; }
  .kerna-access__quant-details svg { max-height: 100px; }
}
@media (prefers-reduced-motion: reduce) { .kerna-access__quant, .quant-draw { animation: none; }.quant-draw { stroke-dashoffset: 0; } }
