@charset "UTF-8";

:root {
    color-scheme: light;
    --page: #f3f6fc;
    --ink: #1d2433;
    --muted: #636e80;
    --accent: #0071e3;
    --line: #dbe2ee;
    --error: #b4232c;
    --glass: rgba(255, 255, 255, .78);
    --shadow: 0 16px 48px #253e7010, 0 2px 6px #253e7005, inset 0 1px 0 #fff;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: radial-gradient(ellipse at 12% 3%, #dceaff 0, transparent 42%), radial-gradient(ellipse at 92% 25%, #e9e2ff 0, transparent 42%), radial-gradient(ellipse at 45% 95%, #e2f2ff 0, transparent 45%), var(--page); color: var(--ink); font-size: 15px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; border: 0; }
button:disabled { cursor: wait; opacity: .65; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
h1, h2, h3, p { margin: 0; }
button:focus-visible, a:focus-visible, textarea:focus-visible { outline: 3px solid #3989ed; outline-offset: 4px; }
input:focus-visible, h2[tabindex]:focus { outline: none; }
[hidden] { display: none !important; }
.page-width { width: min(1080px, calc(100% - 64px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.copy-buffer { position: fixed; top: 0; left: 0; }
.skip-link { position: fixed; left: 20px; top: 0; transform: translateY(-150%); z-index: 20; background: var(--accent); color: #fff; padding: 12px 20px; border-radius: 14px; }
.skip-link:focus { transform: translateY(12px); }

/* Native CSS glass surfaces; no image assets or runtime dependencies. */
.site-header, .exchange-card, .guide-card, .service-link { background: var(--glass); border: 1px solid #ffffffd9; box-shadow: var(--shadow); -webkit-backdrop-filter: blur(20px) saturate(145%); backdrop-filter: blur(20px) saturate(145%); }
.site-header { margin-top: 24px; min-height: 78px; padding: 14px 22px; display: flex; align-items: center; justify-content: space-between; border-radius: 26px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: #fff; overflow: hidden; box-shadow: 0 3px 10px #30427213; flex-shrink: 0; }
.brand-logo img { width: 44px; height: 44px; object-fit: cover; }
.logo-fallback { color: var(--accent); font-size: 23px; font-weight: 700; }
.brand-name { font-size: 17px; font-weight: 650; letter-spacing: -.3px; line-height: 1.35; }
.brand-name > span { display: block; color: var(--muted); font-size: 11px; font-weight: 450; margin-top: 4px; }
.guide-link { font-size: 13px; font-weight: 550; padding: 10px 16px; border: 1px solid #fff; border-radius: 22px; background: #ffffffb3; color: #37455e; white-space: nowrap; }
.guide-link:hover { background: #fff; color: var(--accent); }
.guide-link span { margin-left: 5px; }
.intro { padding: 39px 4px 27px; }
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 2px; color: #566b90; margin-bottom: 10px; }
h1 { font-size: clamp(30px, 3.5vw, 42px); font-weight: 720; line-height: 1.4; letter-spacing: -1.5px; }
h1 span { color: #4375c8; }
.intro > p:last-child { color: var(--muted); font-size: 14px; margin-top: 10px; }

.safety-banner { display: flex; align-items: center; gap: 17px; margin: 0 0 24px; padding: 21px 24px; border-radius: 23px; background: #fff7f0; border: 1px solid #f2c9ac; box-shadow: 0 4px 18px #bc652507, inset 0 1px 0 #fff; }
.safety-banner > svg { width: 46px; height: 46px; padding: 10px; border-radius: 15px; background: #ffead9; color: #af4716; flex-shrink: 0; }
.safety-banner h2 { font-size: 20px; line-height: 1.4; font-weight: 750; color: #973b12; }
.safety-banner p { font-size: 14px; font-weight: 550; color: #8a4524; margin-top: 4px; }

.workspace { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.exchange-card, .guide-card { border-radius: 30px; padding: 29px; min-width: 0; }
.card-topline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.section-index { font-size: 11px; font-weight: 650; letter-spacing: 1.1px; color: #64748d; }
.card-symbol { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #eaf2ff; font-size: 21px; color: var(--accent); }
.exchange-card h2 { font-size: 25px; letter-spacing: -.8px; font-weight: 680; line-height: 1.4; }
.card-description { font-size: 13px; color: var(--muted); margin-top: 8px; }
form { margin-top: 27px; }
.field-heading { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 10px; }
.field-heading label { font-size: 14px; font-weight: 600; }
.field-heading > span { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.field-heading > span.complete { color: var(--accent); }
.field-heading > span.too-long { color: var(--error); }
#exchangeCode { display: block; width: 100%; border: 1px solid #cdd8e9; border-radius: 17px; background: #f4f7fcbd; color: var(--ink); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 20px; font-weight: 550; letter-spacing: 2px; padding: 18px; line-height: 1.4; transition: border-color .18s, box-shadow .18s, background .18s; box-shadow: inset 0 1px 3px #243d6a04; }
#exchangeCode::placeholder { font-size: 13px; font-weight: 400; letter-spacing: .8px; color: #69788f; }
#exchangeCode:focus { border-color: #3989ed; box-shadow: 0 0 0 4px #0071e312; background: #fff; }
#exchangeCode[aria-invalid=true] { border-color: #ce5762; }
#exchangeCode:disabled { cursor: wait; }
.field-help { font-size: 12px; color: var(--muted); margin-top: 9px; }
.primary-button, .copy-button { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 54px; padding: 14px 20px; border-radius: 18px; font-size: 16px; font-weight: 650; line-height: 1.4; transition: background .18s, box-shadow .18s, transform .18s; }
.primary-button, #copyPassword { background: linear-gradient(180deg, #1985f7, #0065d8); color: #fff; border: 1px solid #ffffff40; box-shadow: 0 5px 14px #0071e324, inset 0 1px 0 #ffffff30; }
.primary-button:hover:not(:disabled), #copyPassword:hover:not(:disabled) { background: linear-gradient(180deg, #0879ee, #005bc6); box-shadow: 0 7px 18px #0071e332; }
.primary-button:active:not(:disabled), .copy-button:active:not(:disabled) { transform: scale(.985); }
.button-arrow { font-size: 21px; font-weight: 400; margin-left: 7px; line-height: 1; }
#submitBtn { margin-top: 23px; }
.spinner { height: 18px; width: 18px; border-radius: 50%; border: 2px solid #ffffff50; border-top-color: #fff; animation: spin .8s linear infinite; }
.form-message { margin-top: 14px; border-radius: 13px; padding: 12px 14px; background: #fff0f0; color: var(--error); font-size: 13px; overflow-wrap: anywhere; }
.form-message.info { background: #edf3fd; color: #415d88; }
.entry-note { display: flex; align-items: flex-start; gap: 10px; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 24px; color: var(--muted); font-size: 12px; line-height: 1.85; }
.entry-note svg { width: 17px; height: 19px; flex-shrink: 0; margin-top: 3px; }

.guide-card { background: #ffffffa6; }
.guide-card h2 { font-size: 24px; font-weight: 650; letter-spacing: -.6px; margin-top: 12px; }
.guide-steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 0; }
.guide-steps li { display: flex; gap: 13px; padding: 19px 0; border-bottom: 1px solid #dce4f0b3; }
.guide-steps li:first-child { padding-top: 0; }
.guide-steps li:last-child { border: 0; padding-bottom: 0; }
.guide-steps li > div { min-width: 0; }
.step-number { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; background: #eaf2ff; box-shadow: inset 0 1px 0 #fff; flex-shrink: 0; color: #2669c5; font-size: 13px; font-weight: 650; font-variant-numeric: tabular-nums; }
.guide-steps h3 { font-size: 15px; font-weight: 650; line-height: 1.55; margin: 2px 0 7px; }
.guide-steps p { font-size: 13px; line-height: 1.85; color: #59667c; }
.guide-steps p + p { margin-top: 8px; }
.guide-steps strong { color: #2b405f; font-weight: 650; }
.choice-path { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 10px 0; }
.choice-path span { border: 1px solid #c8ddff; border-radius: 10px; padding: 6px 12px; color: #1257b6; background: #e8f1ff; font-size: 14px; font-weight: 650; }
.choice-path svg { width: 17px; height: 17px; color: #6b87ae; flex-shrink: 0; }
.guide-steps .step-caution { font-size: 12px; color: #8c4b28; background: #fff5e8; border-radius: 10px; padding: 9px 11px; margin-top: 10px; }
.guide-footnote { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 15px; color: var(--muted); font-size: 11px; }

.services { margin-top: 32px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 4px 14px; }
.section-heading h2 { font-size: 15px; font-weight: 650; }
.section-heading > span { font-size: 11px; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.service-link { display: flex; align-items: center; gap: 12px; border-radius: 22px; padding: 20px; transition: background .18s, transform .18s; }
.service-link:hover { background: #fff; transform: translateY(-2px); }
.service-icon { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: #eaf2ff; color: #266bd0; flex-shrink: 0; font-size: 16px; font-weight: 650; }
.service-icon svg { width: 22px; height: 22px; }
.service-copy { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.service-copy strong { font-size: 13px; font-weight: 650; }
.service-copy > span { font-size: 11px; color: var(--muted); }
.service-arrow { margin-left: auto; color: #7084a5; font-size: 20px; }
.site-footer { margin-top: 32px; min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 11px; }

.success-heading { display: flex; gap: 13px; align-items: center; margin-bottom: 18px; }
.success-icon { width: 43px; height: 43px; border-radius: 50%; background: #e3f5ec; color: #24865a; font-size: 22px; display: grid; place-items: center; flex-shrink: 0; }
.success-heading p { font-size: 13px; color: var(--muted); margin-top: 4px; }
.account-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.account-meta:empty { display: none; }
.meta-pill { font-size: 12px; border-radius: 20px; padding: 4px 11px; background: #e6f3eb; color: #276d4c; overflow-wrap: anywhere; max-width: 100%; }
.meta-pill.neutral { background: #edf1f8; color: #57657b; }
.credential { border: 1px solid #dbe5f4; border-radius: 21px; padding: 16px; margin-top: 14px; background: #f5f8fecc; }
.credential-heading { min-height: 28px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 550; color: #5e6c82; }
.text-button { min-height: 44px; padding: 9px 14px; border-radius: 14px; font-size: 14px; font-weight: 550; color: var(--accent); background: #e7f0ff; line-height: 1.4; }
.text-button:hover { background: #dce9ff; }
.credential-value { margin-top: 7px; overflow-wrap: anywhere; font-size: 17px; color: #253754; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; line-height: 1.65; white-space: pre-wrap; unicode-bidi: plaintext; }
.credential-value.masked { letter-spacing: 3px; }
.copy-button { margin-top: 16px; background: #e0edff; color: #0759bd; border: 1px solid #c8dfff; box-shadow: inset 0 1px 0 #ffffffb3; }
.copy-button:hover:not(:disabled) { background: #d3e6ff; }
.copy-button svg { width: 20px; height: 20px; flex-shrink: 0; }
.account-details { font-size: 12px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 5px 16px; margin: 20px 0 0; color: var(--muted); }
.account-details dt, .account-details dd { margin: 0; }
.account-details dd { text-align: right; overflow-wrap: anywhere; }
.revisit-note { color: var(--muted); font-size: 12px; line-height: 1.8; margin-top: 15px; font-variant-numeric: tabular-nums; }
.success-warning { background: #fff5eb; border: 1px solid #edc7a7; border-radius: 17px; padding: 16px; margin-top: 20px; color: #87421e; font-size: 14px; line-height: 1.8; }
.success-warning strong { display: block; font-size: 17px; font-weight: 750; color: #963b10; margin-bottom: 3px; }
.success-warning p, .success-warning span { display: block; }
.secondary-button { display: flex; align-items: center; justify-content: space-between; border: 1px solid #d4dfef; background: #ffffffad; color: #42658d; border-radius: 17px; width: 100%; min-height: 50px; padding: 12px 17px; margin-top: 20px; font-size: 14px; font-weight: 550; }
.secondary-button:hover { background: #fff; }
.secondary-button > span { font-size: 19px; }
.noscript-message { background: #fff0e8; padding: 14px; border-radius: 13px; color: var(--error); margin-top: 20px; font-size: 13px; }
.toast { position: fixed; left: 50%; bottom: max(28px, env(safe-area-inset-bottom)); transform: translateX(-50%); border: 1px solid #ffffff30; border-radius: 25px; background: #253750ed; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: #fff; padding: 13px 25px; font-size: 15px; z-index: 30; box-shadow: 0 8px 30px #1a35552b; max-width: calc(100% - 40px); text-align: center; }
dialog { padding: 0; border: 1px solid #fff; border-radius: 28px; width: min(440px, calc(100% - 36px)); color: var(--ink); background: #f9fbff; box-shadow: 0 24px 100px #18294d40; }
dialog::backdrop { background: #263c6159; -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.dialog-inner { padding: 28px; }
dialog h2 { font-size: 23px; }
dialog p { font-size: 14px; color: var(--muted); margin-top: 10px; }
dialog textarea { display: block; resize: vertical; width: 100%; min-height: 90px; margin: 20px 0; border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 13px; color: var(--ink); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; line-height: 1.7; overflow-wrap: anywhere; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
    .page-width { width: calc(100% - 44px); }
    .workspace { gap: 18px; }
    .exchange-card, .guide-card { padding: 23px; }
    .service-link { padding: 17px 14px; gap: 10px; }
    .service-icon { width: 34px; height: 34px; }
}
@media (max-width: 720px) {
    .page-width { width: calc(100% - 32px); }
    .site-header { margin-top: 16px; min-height: 72px; padding: 13px 15px; border-radius: 24px; }
    .brand-logo, .brand-logo img { height: 38px; width: 38px; }
    .brand-logo { border-radius: 12px; }
    .brand-name { font-size: 16px; }
    .brand-name > span { font-size: 10px; }
    .brand { gap: 10px; }
    .guide-link { font-size: 12px; padding: 9px 12px; }
    .intro { padding: 29px 4px 22px; }
    .eyebrow { font-size: 10px; letter-spacing: 1.5px; }
    h1 { font-size: 32px; letter-spacing: -1px; line-height: 1.35; }
    h1 span { display: block; }
    .intro > p:last-child { font-size: 13px; margin-top: 12px; max-width: 340px; }
    .safety-banner { align-items: flex-start; gap: 12px; padding: 18px 16px; border-radius: 21px; margin-bottom: 20px; }
    .safety-banner > svg { width: 36px; height: 36px; padding: 7px; border-radius: 12px; }
    .safety-banner h2 { font-size: 19px; }
    .safety-banner p { font-size: 13px; line-height: 1.8; }
    .workspace { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .exchange-card, .guide-card { padding: 24px 21px; border-radius: 27px; }
    .exchange-card h2 { font-size: 24px; }
    .guide-card h2 { font-size: 23px; }
    .guide-steps li { padding-block: 18px; }
    .guide-steps p { font-size: 14px; }
    #exchangeCode { padding: 17px 14px; }
    .services { margin-top: 28px; }
    .service-grid { grid-template-columns: 1fr; gap: 11px; }
    .service-link { padding: 17px 19px; }
    .service-icon { width: 40px; height: 40px; }
    .service-copy strong { font-size: 14px; }
    .service-copy > span { font-size: 12px; }
    .site-footer { margin-top: 20px; min-height: 82px; font-size: 10px; gap: 8px; }
    .credential { padding: 15px; }
    .credential-value { font-size: 16px; }
    .primary-button, .copy-button { min-height: 56px; }
}
@media (max-width: 360px) {
    .brand-name { font-size: 14px; }
    .guide-link { padding-inline: 9px; }
    .guide-link span { display: none; }
    .exchange-card, .guide-card { padding: 21px 18px; }
    .safety-banner { gap: 10px; }
    .safety-banner h2 { font-size: 17px; }
    .safety-banner > svg { width: 30px; height: 34px; }
}
@media (prefers-reduced-transparency: reduce) {
    .site-header, .exchange-card, .guide-card, .service-link, .toast { -webkit-backdrop-filter: none; backdrop-filter: none; }
    .site-header, .exchange-card, .guide-card, .service-link { background: #fff; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
