* { box-sizing: border-box; }
.auth-card .login-slider {
    min-inline-size: 0;
    margin: 20px 0 0;
    padding: 7px 12px 8px;
    border: 1px solid #d5dfe9;
    border-radius: 12px;
    background: #f7f9fc;
}
.slider-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.slider-header strong { color: #203750; font-size: 14px; font-weight: 650; }
.login-slider canvas { display: block; width: 100%; height: auto; border-radius: 6px; background: #16283c; }
.auth-card .slider-refresh {
    margin: 0;
    width: auto;
    min-width: 44px;
    min-height: 32px;
    padding: 2px 4px;
    color: #2457a6;
    border-radius: 4px;
    background: transparent;
    font-size: 12px;
}
.auth-card .slider-refresh:hover { background: #e7edf6; }
.auth-card .login-slider input[type="range"] {
    display: block;
    appearance: none;
    width: 100%;
    min-height: 44px;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 6px;
    background: transparent;
    touch-action: pan-y;
    cursor: ew-resize;
}
.login-slider input[type="range"]::-webkit-slider-runnable-track { height: 5px; border-radius: 8px; background: #91a3b7; }
.login-slider input[type="range"]::-moz-range-track { height: 5px; border-radius: 8px; background: #91a3b7; }
.login-slider input[type="range"] {
    --grip: linear-gradient(90deg, #fff 0 2px, transparent 2px 5px, #fff 5px 7px, transparent 7px 10px, #fff 10px) center / 12px 9px no-repeat #285ba6;
}
.login-slider input[type="range"]::-webkit-slider-thumb {
    appearance: none; width: 34px; height: 23px; margin-top: -9px; border: none; border-radius: 7px; background: var(--grip);
}
.login-slider input[type="range"]::-moz-range-thumb {
    width: 34px; height: 23px; border: none; border-radius: 7px; background: var(--grip);
}
.auth-card .login-slider input[type="range"]:focus:not(:focus-visible) { outline: none; }
.auth-card .login-slider input[type="range"]:focus-visible { outline: 2px solid #2860af; outline-offset: 1px; }
.login-slider input[type="range"]:disabled { opacity: .55; cursor: default; }
.slider-feedback { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: baseline; gap: 8px; min-height: calc(2.9em + 3px); padding-top: 3px; font-size: 12px; line-height: 1.45; }
.slider-readout, .slider-status, .login-slider noscript { color: #475c73; font-size: 12px; line-height: 1.45; }
.slider-readout { white-space: nowrap; font-variant-numeric: tabular-nums; }
.slider-readout b { color: #223c58; font-weight: 650; }
.slider-status[data-feedback] { color: #90451b; }
.login-slider [hidden] { display: none; }
@media (forced-colors: active) {
    .auth-card .login-slider input[type="range"], .login-slider input[type="range"]::-webkit-slider-thumb { appearance: auto; }
}
.slider-result { color: #285c45; font-size: 14px; }
.auth-card button[data-slider-blocked], .auth-card .slider-refresh:disabled { opacity: .6; cursor: default; }
.slider-resend { margin-top: 16px; }
.slider-resend summary { color: #2559bb; cursor: pointer; }
        body { margin: 0; background: #f3f5f8; color: #1d2939; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif; line-height: 1.65; }
        .shell { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 40px 20px; }
        .brand { margin: 0 auto 26px; text-align: center; }
        .brand a { color: #152b4b; font-size: 24px; font-weight: 750; text-decoration: none; letter-spacing: -.6px; }
        .do.auth-card { color: #637089; font-size: 13px; letter-spacing: .8px; }
        .auth-card { width: 100%; max-width: 440px; margin: 0 auto; padding: 36px; border: 1px solid #e1e6ed; border-radius: 18px; background: white; box-shadow: 0 12px 40px #152b4b08; }
        h1 { margin: 0 0 10px; font-size: 26px; line-height: 1.4; letter-spacing: -.5px; }
        p { margin: 0 0 24px; }
        .muted { color: #657187; font-size: 14px; }
        label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
        .field-label { margin-top: 18px; }
        input { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #bcc6d4; border-radius: 8px; background: #fff; color: inherit; font: inherit; }
        input:focus { border-color: #265dc8; outline: 3px solid #265dc820; }
        .code { font-size: 23px; letter-spacing: 9px; font-variant-numeric: tabular-nums; }
        button, .button { display: block; width: 100%; margin-top: 22px; padding: 13px 18px; border: 0; border-radius: 8px; background: #2559bb; color: white; text-align: center; text-decoration: none; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
        button:hover, .button:hover { background: #1d489a; }
        a { color: #2559bb; text-underline-offset: 3px; }
        button:focus-visible, a:focus-visible { outline: 3px solid #8bb6ff; outline-offset: 4px; }
        .error { padding: 12px 14px; border: 1px solid #f4c6c6; border-radius: 8px; background: #fff6f6; color: #a32929; font-size: 14px; margin-bottom: 20px; }
        .help { margin: 20px 0 0; color: #657187; font-size: 13px; }
        .email { display: block; margin: 8px 0; font-weight: 600; overflow-wrap: anywhere; }
        .secondary { margin-top: 12px; color: #2559bb; background: #edf2fc; }
        .secondary:hover { background: #e0e9fb; }
        .back { margin-top: 18px; text-align: center; font-size: 14px; }
        dl { margin: 24px 0 0; }
        dl div { padding: 14px 0; border-bottom: 1px solid #edf0f5; }
        dt { color: #657187; font-size: 13px; }
        dd { margin: 4px 0 0; overflow-wrap: anywhere; font-size: 15px; }
        .auth-footer { margin-top: 24px; text-align: center; font-size: 13px; }
        @media (max-width: 480px) { .auth-card { padding: 28px 24px; } .shell { padding: 28px 16px; } }

:root { --ink: #152b4b; --accent: #2559bb; --muted: #58677f; --line: #dce3ec; --paper: #f3f5f8; }
body { color: var(--ink); }
h2 { margin: 0 0 12px; font-size: 24px; line-height: 1.4; letter-spacing: -.4px; }
h3 { margin: 0 0 12px; font-size: 19px; }
.container { width: min(1160px, calc(100% - 64px)); margin: 0 auto; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { display: inline-flex; flex-direction: column; color: var(--ink); font-size: 23px; line-height: 1.4; font-weight: 750; letter-spacing: -.7px; text-decoration: none; }
.wordmark span { color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: .9px; }
.site-header nav { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.site-header nav a { color: var(--muted); font-size: 14px; text-decoration: none; padding: 12px 0; }
.site-header nav a[aria-current], .site-header nav a:hover { color: var(--accent); }
.site-header nav .nav-account { color: var(--accent); padding: 10px 16px; border: 1px solid var(--line); border-radius: 8px; }
.page-main { min-height: 62vh; padding-bottom: 72px; }
.hero { display: grid; grid-template-columns: 1.12fr 1fr; gap: 80px; align-items: center; padding: 92px 0 90px; }
.eyebrow { font-size: 12px; letter-spacing: 2px; font-weight: 650; color: var(--accent); margin-bottom: 18px; }
.hero h1 { font-size: clamp(40px, 4.8vw, 64px); line-height: 1.23; font-weight: 750; letter-spacing: -2.5px; margin-bottom: 26px; }
.accent { color: var(--accent); }
.lead { font-size: 19px; line-height: 1.85; color: #40536e; max-width: 680px; margin-bottom: 18px; }
.hero .muted { max-width: 480px; }
.site .button, .site button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; width: auto; min-height: 46px; margin: 0; font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.workflow { border: 1px solid #d6dfeb; background: #eaf0f8; border-radius: 24px; padding: 30px 34px; }
.workflow-title { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: 15px; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid #cfdaea; }
.workflow-title span { font-size: 12px; color: var(--muted); }
.workflow-step { display: flex; gap: 18px; position: relative; padding-bottom: 22px; }
.workflow-step:not(:nth-last-child(2))::before { content: ''; position: absolute; left: 7px; top: 19px; height: calc(100% - 12px); width: 1px; background: #b4c7e3; }
.workflow-dot { flex: 0 0 15px; height: 15px; border: 4px solid #c4d5ee; border-radius: 50%; background: var(--accent); margin-top: 6px; }
.workflow-step h2 { font-size: 18px; margin-bottom: 6px; }
.workflow-step p { color: #58677f; font-size: 14px; margin: 0; }
.workflow-note { color: var(--muted); margin: 0; font-size: 12px; }
.section-band { padding: 54px 0; border-top: 1px solid var(--line); }
.section-heading { margin-bottom: 36px; }
.section-heading p, .feature p, .closing p { color: var(--muted); font-size: 15px; }
.three-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.feature { padding-right: 28px; }
.feature a { font-size: 14px; }
.feature p { min-height: 76px; }
.closing { display: flex; justify-content: space-between; align-items: center; gap: 24px; background: #e8eef8; padding: 40px; border-radius: 18px; }
.closing p { margin: 0; }
.site-footer { border-top: 1px solid var(--line); margin: 0; text-align: left; padding: 36px 0; background: #fff; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-inner p { font-size: 12px; color: var(--muted); margin: 10px 0 0; }
.footer-inner nav { display: flex; gap: 24px; flex-wrap: wrap; font-size: 13px; }
.footer-inner nav a { color: var(--muted); }
.page-heading { padding: 60px 0 36px; }
.page-heading h1 { font-size: 38px; margin-bottom: 20px; }
.panel { padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: #fff; min-width: 0; }
.plan { padding: 30px; }
.plan h2 { font-size: 30px; }
.plan p { color: var(--muted); font-size: 14px; }
.plan-grid { margin-bottom: 48px; }
.reading { max-width: 780px; }
.prose h2 { margin-top: 32px; font-size: 22px; }
.prose p, .steps { color: #40536e; }
.steps { padding-left: 22px; margin: 24px 0; }
.steps li { padding: 8px 0 8px 4px; }
.help-list details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.help-list summary { cursor: pointer; font-weight: 650; font-size: 18px; }
.help-list details p { color: #40536e; margin: 20px 0 14px; }
.help-list summary:focus-visible { outline: 3px solid #8bb6ff; outline-offset: 4px; }
.filters { display: flex; flex-wrap: wrap; gap: 18px; align-items: end; margin: 0 0 28px; }
.filters label { font-size: 13px; }
select { min-height: 46px; font: inherit; color: inherit; padding: 8px 32px 8px 12px; background: #fff; border: 1px solid #bcc6d4; border-radius: 8px; }
.release { margin: 24px 0; }
.release-heading { display: flex; justify-content: space-between; gap: 24px; align-items: start; }
.release-notes { white-space: pre-wrap; overflow-wrap: anywhere; margin: 24px 0; }
.release-meta { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; }
.release-meta div { border: 0; }
.checksum { font-family: ui-monospace, monospace; font-size: 13px; }
.empty-state { padding: 48px; }
.empty-state p { color: var(--muted); max-width: 600px; }
.pagination { display: flex; justify-content: space-between; align-items: center; gap: 18px; font-size: 14px; padding: 24px 0 0; }
.pagination [aria-disabled] { color: #768398; }
.account-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.account-heading h1 { margin-bottom: 0; }
.account-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: start; }
.account-services { display: grid; gap: 24px; min-width: 0; }
.account-services .help { margin: 0; }
.broker-check { display: flex; align-items: flex-start; gap: 10px; }
.broker-check input[type="checkbox"] { flex: 0 0 1.2rem; width: 1.2rem; height: 1.2rem; min-height: 0; margin: 3px 0 0; padding: 0; }
.broker-workstation, .broker-accounts { overflow-wrap: anywhere; }
.broker-session-user { color: #d4deed; font-size: 14px; }
.broker-workstation select, .broker-accounts select { max-width: 100%; }
.broker-workstation form > label:not(:first-child), .broker-accounts form > label:not(:first-child) { margin-top: 16px; }
.account-identity .subheading { margin-top: 32px; font-size: 19px; }
.account-identity p { margin-top: 20px; }
.account-services dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin-top: 14px; }
.account-services dl + dl { margin-top: 24px; }
.account-services dl + .help { margin-top: 12px; }
.skip-link { position: absolute; left: 24px; top: -100px; z-index: 20; padding: 12px 18px; background: #fff; }
.skip-link:focus { top: 10px; }
@media (max-width: 900px) {
    .hero { gap: 36px; padding: 64px 0; }
    .header-inner { padding: 18px 0; align-items: start; }
    .site-header nav { gap: 16px; }
    .three-grid { gap: 16px; }
    .feature { padding-right: 0; }
    .account-grid { grid-template-columns: 250px minmax(0, 1fr); gap: 18px; }
}
@media (max-width: 680px) {
    .container { width: calc(100% - 36px); }
    .header-inner { flex-direction: column; gap: 14px; }
    .site-header nav { width: 100%; gap: 6px 18px; }
    .site-header nav a { font-size: 13px; }
    .site-header nav .nav-account { padding: 8px 10px; }
    .hero { grid-template-columns: 1fr; gap: 36px; padding: 46px 0; }
    .hero h1 { font-size: 43px; }
    .workflow { padding: 26px; }
    .three-grid, .account-grid { grid-template-columns: 1fr; }
    .feature { padding: 16px 0; }
    .feature p { min-height: 0; }
    .closing, .footer-inner { flex-direction: column; align-items: start; }
    .closing { padding: 28px; }
    .page-heading { padding-top: 38px; }
    .page-heading h1 { font-size: 30px; }
    .panel { padding: 22px; }
    .release-heading { flex-direction: column; }
    .release-meta, .account-services dl { grid-template-columns: 1fr; gap: 0; }
    .account-heading { align-items: center; }
    .page-main { padding-bottom: 48px; }
}
.terms-body { white-space: pre-wrap; overflow-wrap: anywhere; max-width: 78ch; line-height: 1.75; }

.site-header { background: #061524; border-color: #263746; }
.header-inner { min-height: 76px; }
.brandmark { display: inline-flex; align-items: center; gap: 12px; color: #f7f7f2; text-decoration: none; font-size: 23px; font-weight: 750; letter-spacing: -.7px; line-height: 1.1; }
.brandmark small { display: block; color: #b4c1ca; font-size: 11px; font-weight: 500; letter-spacing: .1em; margin-top: 4px; }
.site-header nav a { color: #d6dfe6; }
.site-header nav a:hover, .site-header nav a[aria-current] { color: #f2dba9; }
.site-header nav .nav-account { background: transparent; color: #fff; border: 1px solid #687680; border-radius: 5px; padding: 7px 14px; }
.language-links { display: inline-flex; gap: 7px; align-items: center; font-size: 13px; }
.language-links > :first-child { border-right: 1px solid #78838c; padding-right: 8px; }
.site-header .language-links [aria-current] { color: #f3d9a3; }
.site-header nav .language-links a { padding-block: 5px; }
.auth-languages { margin: 14px auto 0; }
.brand-hero { color: #f8f7f1; background: #02111f; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; position: relative; min-height: clamp(490px,42vw,660px); }
.hero-copy { position: relative; z-index: 1; padding: 68px 0; }
.hero-platform { display: flex; align-items: center; gap: 12px; color: #d8c195; font: 600 12px/1.3 Consolas, monospace; letter-spacing: .14em; margin: 0 0 24px; }
.hero-platform::before { content: ''; width: 30px; height: 1px; background: #c5a56b; }
.hero-platform span { color: #8c9aa3; }
.hero-copy h1 { font-size: clamp(44px,5.2vw,82px); line-height: 1.12; letter-spacing: -.06em; font-weight: 700; margin-bottom: 25px; }
.hero-copy h1 span, .hero-copy h1 strong { display: block; }
.hero-copy h1 strong { color: #dfc18b; font-weight: inherit; }
html[lang=en] .hero-copy h1 { font-family: Georgia, 'Times New Roman', serif; font-weight: 500; }
html[lang=en] .hero-copy h1 strong { font-style: italic; }
.hero-description { max-width: 46ch; font-size: clamp(16px,1.35vw,20px); color: #d3dee6; line-height: 1.75; margin-bottom: 15px; }
.development { color: #bdcbd4; display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; }
.development i { width: 7px; height: 7px; border-radius: 50%; background: #dfc18b; }
.brand-hero .actions { align-items: center; gap: 24px; margin-top: 25px; }
.site .hero-action { background: #e5cb9a; color: #102031; border-radius: 5px; }
.hero-login { color: #f2f3f2; font-size: 14px; text-decoration: none; }
.hero-action span, .hero-login span { display: inline-block; }
.portrait { position: relative; align-self: stretch; min-width: 0; margin-right: min(0px,calc((1160px - 100vw)/2)); }
.portrait picture, .portrait img { width: 100%; height: 100%; display: block; }
.portrait img { object-fit: cover; object-position: 54% center; }
.portrait::before { position: absolute; content: ''; inset: 0; background: linear-gradient(90deg,#02111f,transparent 20%); }
.portrait::after { position: absolute; content: ''; left: 59%; top: 72%; height: 12%; width: 9%; opacity: 0; pointer-events: none; background: linear-gradient(115deg,transparent 35%,#ffe9b199 50%,transparent 65%); border-radius: 50%; }
.home-content { padding: 0 0 70px; }
.story, .home-plans { display: grid; grid-template-columns: 1fr 1.35fr; align-items: baseline; gap: 40px; padding: 48px 0; }
.story { border-bottom: 1px solid var(--line); }
.home-content h2 { font-size: clamp(25px,2.4vw,37px); letter-spacing: -.045em; margin: 0; }
.story p, .research-steps p, .home-plans p { color: #465a6d; margin: 0; }
.research { padding: 58px 0; }
.research-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); list-style: none; gap: 35px; padding: 0; margin: 28px 0 0; }
.research-steps li { border-top: 2px solid #b3a27f; padding: 20px 0 0; }
.research-steps h3 { margin-bottom: 6px; }
.home-plans { background: #e7edf1; border-radius: 8px; padding: 30px; grid-template-columns: 2fr 1fr; }
.home-plans p { margin-top: 8px; }
.home-links { display: grid; gap: 10px; justify-content: end; }
@media (prefers-reduced-motion: no-preference) {
    .portrait::after { animation: tinman-glint 1.8s ease-out 1; }
    @keyframes tinman-glint { 0%,30%,100% { opacity: 0; } 60% { opacity: .55; } 30% { transform: translateX(-55%); } 100% { transform: translateX(55%); } }
    @media (hover:hover) { .hero-action span, .hero-login span { transition: transform 160ms; } .hero-action:hover span, .hero-login:hover span { transform: translateX(3px); } }
}
@media (max-width:900px) {
    .header-inner { align-items: center; }
    .hero-inner { min-height: 435px; grid-template-columns: 1.14fr 1fr; }
    .hero-copy { padding: 44px 0; }
    .hero-copy h1 { font-size: clamp(39px,5.5vw,52px); }
    .portrait { margin-right: -32px; }
}
@media (max-width:680px) {
    .header-inner { display: grid; grid-template-columns: auto auto auto 1fr; gap: 8px 14px; padding-block: 12px; }
    .site-header .brandmark { grid-column: 1 / 3; grid-row: 1; }
    .site-header nav { display: contents; }
    .site-header nav > a { grid-row: 2; padding-block: 7px; }
    .site-header nav .language-links { grid-column: 3 / 5; grid-row: 1; justify-self: end; }
    .site-header nav .nav-account { justify-self: end; }
    .hero-inner { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
    .hero-copy { padding: 32px 0 8px; }
    .hero-platform { margin-bottom: 14px; }
    .hero-copy h1 { font-size: clamp(40px,9.2vw,56px); margin-bottom: 15px; }
    .hero-description { margin-bottom: 10px; }
    .brand-hero .actions { margin: 18px 0 0; }
    .portrait { margin: 0 -18px; height: auto; }
    .portrait img { height: auto; }
    .portrait::before { background: linear-gradient(#02111f,transparent 12%); }
    .story, .home-plans { grid-template-columns: 1fr; gap: 13px; }
    .story, .research { padding: 30px 0; }
    .research-steps { grid-template-columns: 1fr; gap: 18px; }
    .home-links { justify-content: start; }
    .home-content { padding-bottom: 32px; }
}
