:root {
  color-scheme: dark;
  --ink: #f3f8ff;
  --muted: #c6d9f1;
  --blue: #a0ceff;
  --line: #8bbaff2f;
  --glass: linear-gradient(145deg, #347be41c 0%, #061b3f40 48%, #1167e41c 100%);
  --rim: linear-gradient(140deg, #c6eaffbb, #247bff30 38%, #167aff75 72%, #a5eaff90);
  font-family: Manrope, system-ui, sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { background: #010916; scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); min-height: 100vh; position: relative; isolation: isolate; background: radial-gradient(ellipse at 78% 27%, #0054db25, transparent 38%), linear-gradient(145deg, #010916, #051a3d 56%, #04265a); line-height: 1.55; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: #ecf8ff; }
button, input, select, textarea { font: inherit; }
button, a, summary, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid #b4e4ff; outline-offset: 5px; }
main:focus { outline: none; }
img { display: block; max-width: 100%; }
svg { flex-shrink: 0; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(34px, 3.5vw, 48px); line-height: 1.12; letter-spacing: -.035em; font-weight: 800; }
h2 { font-size: 25px; line-height: 1.3; letter-spacing: -.025em; font-weight: 800; }
h3 { font-size: 16px; font-weight: 700; }
ul, ol { margin: 0; padding: 0; }
code, pre { font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace; overflow-wrap: anywhere; }
code { color: #c4dfff; }
pre { white-space: pre-wrap; }
.shell { max-width: 1440px; margin: 0 auto; padding: 48px; }
main { display: grid; gap: 36px; margin-top: 36px; min-width: 0; }
.icon { width: 22px; height: 22px; color: var(--blue); }
.muted, .field-help { color: var(--muted); }
.small, .field-help { font-size: 13px; }
.eyebrow { color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.glass { position: relative; background: var(--glass); border: 1px solid #76b5ff65; border-radius: 26px; box-shadow: inset 0 1px 1px #ddf7ff65, inset 2px 3px 7px #3f92ff30, inset 0 -3px 6px #005bce39, inset 0 0 0 3px #03133340, 0 18px 32px #00040fa3, 0 0 12px #127dff14; -webkit-backdrop-filter: blur(8px) saturate(150%); backdrop-filter: blur(8px) saturate(150%); }
.glass::before { content: ''; position: absolute; inset: -1px; padding: 1px; border-radius: inherit; background: var(--rim); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.glass::after { content: ''; position: absolute; inset: 3px; border-radius: inherit; pointer-events: none; background: linear-gradient(145deg, transparent 15%, #a4d4ff06 40%, transparent 62%); box-shadow: inset 0 1px 5px #8acaff12; }
.ambient { position: absolute; z-index: -1; pointer-events: none; left: 0; top: 110px; width: 100%; height: min(1120px, calc(100% - 110px)); stroke: #34b6ff55; stroke-width: 1.5; }
.ambient-glow { stroke: #087eff45; stroke-width: 60; filter: blur(28px); }
.ambient-echo { stroke: #1c62f035; stroke-width: 18; filter: blur(8px); }
.panel { padding: 30px; display: grid; gap: 22px; min-width: 0; align-content: start; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; padding: 16px 24px; border-radius: 22px; z-index: 5; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 22px; font-weight: 800; text-decoration: none; white-space: nowrap; letter-spacing: -.025em; }
.brand .icon { width: 28px; height: 28px; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: 26px; }
.desktop-nav a { text-decoration: none; font-size: 14px; color: var(--muted); font-weight: 600; }
nav a[aria-current='page'] { color: var(--blue); font-weight: 800; }
.mobile-menu, .mobile-only { display: none; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 50px 0 4px; font-size: 12px; color: var(--muted); }
.site-footer a { text-decoration: none; font-weight: 700; color: inherit; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; }
.skip-link:focus { top: 16px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 22px; border-radius: 16px; border: 1px solid #69b9ff70; background: linear-gradient(155deg, #2867bd35, #08214f60 55%, #0a42a536); box-shadow: inset 0 1px 2px #d3f4ff7a, inset 0 0 5px 2px #3987e834, inset 0 -3px 5px #001a7180, 0 6px 16px #00071660; color: var(--blue); font-size: 15px; font-weight: 700; line-height: 1.4; text-align: center; text-decoration: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.button:hover { color: #fff; border-color: #aadfff; background-color: #2b6bc232; }
.button:active { box-shadow: inset 0 2px 7px #000c3990; }
.button.primary { background: linear-gradient(160deg, #1656b5a6, #073babdd 60%, #0647b8a3); color: #fff; box-shadow: inset 0 1px 2px #d3f4ffa3, inset 0 0 6px 2px #2a80ff6b, inset 0 -4px 6px #001a7180, 0 5px 20px #002fff35; }
.button.compact { min-height: 42px; padding: 9px 16px; font-size: 14px; }
.button.danger { color: #ffd0dc; border-color: #eb9ab658; background: #75284240; }
.button:disabled { color: #aac0dc; background: #8aa6d019; border-color: #98aecd35; box-shadow: none; cursor: not-allowed; -webkit-backdrop-filter: none; backdrop-filter: none; }
.full-width { width: 100%; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.hero { display: grid; grid-template-columns: 1.16fr 1fr; align-items: center; gap: 40px; padding: 24px 16px; }
.hero-copy { display: grid; gap: 26px; }
.hero h1 { font-size: clamp(38px, 4.32vw, 62px); letter-spacing: -.045em; line-height: 1.04; }
.hero-description { max-width: 560px; font-size: 19px; line-height: 1.55; color: var(--muted); }
.hero-art { position: relative; padding-bottom: 55px; min-width: 0; }
.hero-art img { width: 100%; height: auto; aspect-ratio: 532 / 414; object-fit: cover; border-radius: 32px; }
.connection-steps { position: absolute; bottom: 0; left: 22px; right: 22px; list-style: none; padding: 14px; display: grid; gap: 10px; counter-reset: steps; background-color: #061e4540; border-radius: 22px; }
.connection-steps li { counter-increment: steps; display: flex; gap: 14px; align-items: center; font-weight: 700; font-size: 14px; }
.connection-steps li::before { content: '0' counter(steps); color: var(--blue); font-family: monospace; font-weight: 600; }
.connection-steps .icon { width: 16px; height: 16px; margin-left: auto; }
.section-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.service-list { list-style: none; }
.service-row { display: grid; grid-template-columns: 42px 1fr 2.4fr auto; align-items: center; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.service-row code { font-size: 14px; }
.icon-tile { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 1px solid #479cf380; border-radius: 13px; background: #1049a333; box-shadow: inset 0 1px 3px #a1d9ff70, inset 0 -2px 5px #177fff45; }
.badge { display: inline-flex; gap: 7px; align-items: center; justify-content: center; width: fit-content; max-width: 100%; padding: 6px 10px; border-radius: 9px; font-size: 12px; font-weight: 700; background: #91b3e424; color: #d2e2fa; }
.badge .icon { width: 14px; height: 14px; color: inherit; }
.badge.success { background: #20b68d27; color: #b5f6dd; }
.badge.warning { background: #f7bb4826; color: #ffe0a0; }
.badge.danger { background: #d84d782d; color: #ffd0dc; }
.page-heading { display: grid; gap: 12px; padding: 8px 0; }
.auth-layout { display: grid; grid-template-columns: 1fr 1.12fr; gap: 72px; align-items: center; padding: 40px 80px; }
.auth-intro { display: grid; gap: 24px; }
.auth-intro h1 { font-size: 44px; }
.auth-image { width: 100%; height: auto; border-radius: 28px; }
.auth-panel { gap: 24px; }
.form-stack, .field { display: grid; gap: 8px; }
.form-stack { gap: 22px; }
label, legend { font-size: 14px; font-weight: 700; }
input:not([type='hidden']):not([type='checkbox']), select, textarea { width: 100%; min-height: 50px; padding: 12px 16px; color: var(--ink); background: linear-gradient(160deg, #04112470, #09295750); border: 1px solid #71b9f75c; border-radius: 13px; box-shadow: inset 0 2px 8px #00071688, inset 0 -1px 2px #78bfff2b; }
input::placeholder, textarea::placeholder { color: #b9cee9; opacity: 1; }
input:focus, select:focus, textarea:focus { border-color: #94d2ff; }
textarea { resize: vertical; min-height: 130px; }
select option { color: var(--ink); background: #09234d; }
input[type='checkbox'] { accent-color: #3586f6; width: 18px; height: 18px; margin: 0 8px 0 0; vertical-align: middle; }
.field-help { line-height: 1.55; }
.field-help a { font-weight: 700; }
.notice { display: flex; gap: 12px; padding: 18px; border-radius: 16px; background: #236ed51f; border: 1px solid #559ef039; box-shadow: inset 0 1px 1px #a7dfff25; font-size: 14px; min-width: 0; }
.notice p { min-width: 0; }
.notice.warning { background: #ecaa3c20; border-color: #ddad6145; }
.notice.warning .icon { color: #ffe0a0; }
.notice.danger { background: #6e1d3c38; border-color: #f19ab94d; }
.notice.danger .icon { color: #ffd0dc; }
.empty-state { display: grid; justify-items: start; gap: 18px; padding: 24px 0; color: var(--muted); }
.empty-state.panel { padding: 30px; }
.empty-state > .icon { width: 32px; height: 32px; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.plan-card { max-width: 440px; gap: 24px; }
.price { font-size: 40px; line-height: 1.2; font-weight: 800; letter-spacing: -.04em; }
.account-grid { display: grid; grid-template-columns: 1.65fr 1fr; gap: 24px; align-items: start; }
.ip-address { font-size: clamp(24px, 3vw, 36px); letter-spacing: .03em; }
.binding-list, .order-list { list-style: none; }
.binding-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.binding-row p + p, .order-list p + p { margin-top: 5px; }
.subscription { background-color: #1351c02c; }
.order-list li + li { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 20px; }
.password-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: end; }
.password-form .button { grid-column: 1 / -1; justify-self: start; }
.table-scroll { overflow-x: auto; min-width: 0; border-radius: 8px; }
table { border-collapse: collapse; width: 100%; text-align: left; font-size: 13px; }
caption { text-align: left; color: var(--muted); padding: 0 0 18px; font-size: 13px; }
th, td { padding: 16px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th:first-child, td:first-child { padding-left: 0; }
th:last-child, td:last-child { padding-right: 0; }
thead th { color: var(--muted); font-size: 12px; font-weight: 600; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
.history-table { min-width: 620px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; gap: 20px; counter-reset: setup; }
.steps-grid li { counter-increment: setup; display: grid; gap: 14px; align-content: start; padding: 24px; }
.steps-grid li::before { content: '0' counter(setup); color: var(--blue); font: 600 18px monospace; }
.setup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.address-box, .token-box { display: block; padding: 18px; border: 1px solid #71b9f75c; border-radius: 13px; background: #03132f55; box-shadow: inset 0 2px 8px #00071677; user-select: all; }
.address-list { list-style: none; display: grid; gap: 12px; }
.condition-list { padding-left: 20px; display: grid; gap: 16px; color: var(--muted); }
.admin-tabs { display: flex; gap: 8px; flex-wrap: wrap; padding: 12px; border-radius: 20px; }
.admin-tabs a { text-decoration: none; padding: 10px 16px; min-height: 44px; font-size: 14px; font-weight: 700; border-radius: 12px; }
.admin-tabs a:hover { background: #3078db24; }
.admin-section { display: grid; gap: 24px; scroll-margin-top: 24px; min-width: 0; }
.admin-section:target > h2 { color: #a0ceff; }
.admin-table { min-width: 940px; }
.admin-table th { overflow-wrap: anywhere; }
.admin-table td p { margin-bottom: 8px; }
.inline-form { display: flex; gap: 8px; align-items: end; }
.inline-form .field { width: 96px; flex-shrink: 0; }
.inline-form label { font-size: 12px; }
.admin-forms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-size: 23px; font-weight: 800; margin-bottom: 22px; letter-spacing: -.02em; }
fieldset > .field, fieldset > p { margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 22px; }
.plan-admin-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.plan-admin-row:last-child { border: 0; }
.audit-table { min-width: 600px; }
.audit-table td:last-child { overflow-wrap: anywhere; max-width: 600px; }
.message-layout { max-width: 780px; width: 100%; margin: 54px auto; }
.message-layout h1 { font-size: clamp(30px, 4vw, 42px); }
@media (min-width: 821px) { .mobile-only { display: none; } }
@media (max-width: 1200px) {
  .shell { padding: 32px; }
  .site-header { gap: 16px; padding-inline: 18px; }
  .desktop-nav { gap: 16px; }
  .brand { font-size: 19px; }
  .hero { gap: 24px; padding-inline: 0; }
  .auth-layout { padding: 30px 16px; gap: 36px; }
  .connection-steps { left: 12px; right: 12px; }
  .connection-steps li { gap: 8px; font-size: 12px; }
  .account-grid { grid-template-columns: 1.4fr 1fr; }
  .panel { padding: 24px; }
}
@media (max-width: 1000px) {
  .account-grid { grid-template-columns: 1fr; }
  .desktop-nav { gap: 12px; }
  .desktop-nav a { font-size: 12px; }
  .service-row { gap: 18px; grid-template-columns: 42px 1fr 1.6fr auto; }
}
@media (max-width: 820px) {
  .shell { padding: 24px; }
  .desktop-nav, .desktop-session { display: none; }
  .mobile-menu { display: block; }
  .mobile-only { display: inline-block; }
  .mobile-menu summary { list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary .icon { width: 16px; height: 16px; }
  .mobile-menu nav { position: absolute; right: 0; top: calc(100% + 10px); width: min(320px, calc(100vw - 48px)); display: grid; gap: 6px; padding: 16px; background-color: #041632ed; }
  .mobile-menu nav > a { text-decoration: none; min-height: 44px; padding: 10px; }
  .mobile-menu nav form .button { width: 100%; }
  .hero { grid-template-columns: 1fr; padding: 12px 0; gap: 30px; }
  .hero h1 { font-size: clamp(36px, 7vw, 54px); }
  .hero-art { max-width: 560px; width: 100%; justify-self: center; }
  .connection-steps li { font-size: 14px; }
  .auth-layout { grid-template-columns: 1fr; padding: 10px 0; }
  .auth-image { max-width: 560px; }
  .auth-intro h1 { font-size: 38px; }
  .service-row { grid-template-columns: 42px 1fr auto; }
  .service-row code { grid-column: 2 / -1; grid-row: 2; }
  .service-row .badge { grid-column: 3; grid-row: 1; }
  .setup-grid, .admin-forms { grid-template-columns: 1fr; }
  .steps-grid { gap: 12px; }
  .steps-grid li { padding: 18px; font-size: 14px; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .shell { padding: 16px; }
  main { margin-top: 24px; gap: 24px; }
  .site-header { min-height: 72px; padding: 12px 16px; gap: 10px; border-radius: 20px; }
  .brand { font-size: 17px; gap: 7px; }
  .brand .icon { width: 24px; height: 24px; }
  .mobile-menu .compact { font-size: 12px; min-height: 42px; padding: 9px 12px; }
  .mobile-menu nav { width: calc(100vw - 32px); }
  .hero-copy { gap: 22px; }
  .hero-description { font-size: 16px; }
  .actions { align-items: stretch; flex-direction: column; }
  .actions > * { width: 100%; }
  .actions .button, .actions form .button { width: 100%; }
  .hero-art img { border-radius: 24px; }
  .hero-art { padding-bottom: 80px; }
  .connection-steps { bottom: 0; left: 10px; right: 10px; padding: 14px; gap: 10px; }
  .connection-steps li { font-size: 12px; }
  .panel { padding: 22px; gap: 20px; }
  h2 { font-size: 23px; }
  .section-heading { align-items: start; flex-direction: column; }
  .service-row { grid-template-columns: 1fr auto; gap: 12px; }
  .service-row .icon-tile { display: none; }
  .service-row code { grid-column: 1 / -1; font-size: 12px; }
  .service-row .badge { grid-column: 2; }
  .service-row h3 { overflow-wrap: anywhere; }
  .binding-row { align-items: start; flex-direction: column; }
  .binding-row .button { width: 100%; }
  .binding-row form { width: 100%; }
  .password-form, .steps-grid { grid-template-columns: 1fr; }
  .password-form .button { width: 100%; }
  .steps-grid li { grid-template-columns: 28px 1fr; align-items: start; }
  .site-footer { padding-top: 32px; font-size: 11px; }
  .price { font-size: 34px; }
  .plan-card { max-width: none; }
  .plan-admin-row { align-items: start; flex-direction: column; }
  .notice { padding: 16px; font-size: 13px; }
  .message-layout { margin: 24px auto; }
  .admin-tabs { gap: 0; padding: 8px; }
  .admin-tabs a { padding: 10px 12px; font-size: 13px; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .glass, .button, .notice, input:not([type='hidden']), select, textarea { background: #09234d; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .button.primary { background: #1044a4; }
  .glass::after, .ambient { display: none; }
  .muted, .field-help { color: #e0ecff; }
  .badge { border: 1px solid currentColor; }
}
@media (forced-colors: active) {
  .glass, .button, .notice, .badge { border: 1px solid CanvasText; }
  .ambient, .glass::before, .glass::after { display: none; }
}
@media print {
  body { background: white; color: black; }
  .ambient, .site-header, .site-footer, .skip-link { display: none; }
  .shell { padding: 0; }
  .glass, .button, .notice { background: white; color: black; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .glass::before, .glass::after { display: none; }
  .muted, code, .field-help { color: #333; }
}
