﻿:root {
  color-scheme: dark;
  --background: #07121f;
  --panel: #0c1c2d;
  --panel-soft: #102639;
  --text: #edf9ff;
  --muted: #9cb3c6;
  --accent: #6de8ed;
  --accent-hover: #a4fbff;
  --line: #99c9e425;
  --sans: "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { min-width: 320px; background: var(--background); }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; font: 16px/1.6 var(--sans); color: var(--text); background: radial-gradient(ellipse at 85% 0, #10344b70, transparent 48%), var(--background); }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { color: #071b28; background: var(--accent); }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-weight: 500; }
h1 { font-size: clamp(40px, 5vw, 66px); line-height: 1.08; letter-spacing: -.055em; }
h2 { font-size: 30px; line-height: 1.2; letter-spacing: -.035em; }
h3 { font-weight: 600; font-size: 16px; line-height: 1.4; }
p { color: var(--muted); }
strong { color: var(--text); font-weight: 600; }
.site-header { position: relative; z-index: 2; width: min(1280px, 88%); margin: 0 auto; min-height: 100px; display: flex; align-items: center; gap: 48px; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: 13px; font-size: 25px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.wordmark-symbol { position: relative; display: block; width: 25px; height: 25px; border: 1px solid #6de8ed80; border-radius: 50%; box-shadow: 0 0 20px #6de8ed14; }
.wordmark-symbol::before, .wordmark-symbol::after { content: ""; position: absolute; background: var(--accent); top: 50%; left: 50%; transform: translate(-50%, -50%); }
.wordmark-symbol::before { width: 5px; height: 34px; clip-path: polygon(50% 0, 100% 43%, 100% 57%, 50% 100%, 0 57%, 0 43%); }
.wordmark-symbol::after { height: 5px; width: 34px; clip-path: polygon(0 50%, 43% 0, 57% 0, 100% 50%, 57% 100%, 43% 100%); }
.header-note { margin-left: auto; font-size: 12px; color: var(--muted); }
.main-nav { align-self: stretch; display: flex; gap: 32px; align-items: center; }
.main-nav a { position: relative; padding: 12px 0; color: var(--muted); font-size: 13px; }
.main-nav a:hover, .main-nav a[aria-current] { color: var(--text); }
.main-nav a[aria-current]::after { content: ""; position: absolute; bottom: -19px; left: 0; right: 0; height: 2px; background: var(--accent); box-shadow: 0 0 10px #6de8ed70; }
.account { margin-left: auto; display: flex; gap: 22px; align-items: center; font-size: 12px; }
.account-name { max-width: 180px; overflow-wrap: anywhere; color: var(--muted); }
.text-button { padding: 0; border: 0; background: transparent; color: var(--text); font-size: inherit; text-decoration: underline; text-underline-offset: 5px; }
.text-button:hover { color: var(--accent); }
.page-content { width: min(1120px, 88%); margin: 0 auto; padding: 58px 0 76px; }
.page-heading { margin-bottom: 36px; }
.page-heading > p:last-child:not(.eyebrow) { margin-top: 16px; max-width: 500px; font-size: 14px; }
.eyebrow { margin-bottom: 16px; color: var(--accent); font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .19em; }
.intro { margin-top: 23px; max-width: 360px; line-height: 1.75; font-size: 14px; }
.button { min-height: 52px; padding: 14px 23px; display: inline-flex; align-items: center; justify-content: center; gap: 32px; border: 1px solid transparent; font-size: 13px; font-weight: 600; line-height: 1.5; border-radius: 5px; transition: background-color .15s, box-shadow .15s; }
.button-primary { background: var(--accent); color: #082330; box-shadow: 0 3px 22px #41d9ea12; }
.button-primary:hover { background: var(--accent-hover); box-shadow: 0 4px 26px #41d9ea24; }
.button span { font-size: 21px; line-height: 1; font-weight: 400; }
.button-full { width: 100%; justify-content: space-between; }
.field { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.field label { font-size: 12px; font-weight: 500; color: #d3e6f4; }
input { width: 100%; min-width: 0; min-height: 51px; padding: 12px 14px; border: 1px solid #9bbbd036; border-radius: 4px; background: #071623c9; color: var(--text); }
input:hover { border-color: #9bbbd070; }
input:focus { border-color: var(--accent); }
input:-webkit-autofill { -webkit-text-fill-color: var(--text); box-shadow: inset 0 0 0 1000px #0b2031; }
.field-help { margin-top: 0; font-size: 11px; }
.form-note { margin-top: 26px; padding-top: 23px; border-top: 1px solid var(--line); max-width: 400px; font-size: 11px; line-height: 1.8; }
.notice { padding: 15px 18px; border: 1px solid var(--line); border-radius: 5px; margin-bottom: 26px; font-size: 13px; }
.notice-error { background: #351f2d; border-color: #9d5a77; color: #ffd2e2; }
.notice-success { background: #102d35; border-color: #39818a; color: #c6f7ed; }
.auth-page { background: radial-gradient(ellipse at 76% 38%, #17435c55, transparent 47%), var(--background); }
.auth-content { position: relative; width: min(1120px, 88%); margin: auto; padding: 56px 0 64px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; column-gap: 60px; }
.auth-content > .notice { grid-column: 1 / -1; max-width: 430px; }
.auth-panel { position: relative; z-index: 1; width: min(100%, 370px); padding: 16px 0; }
.auth-panel h1 { font-size: clamp(49px, 5vw, 70px); }
.auth-form { display: flex; flex-direction: column; gap: 20px; margin-top: 31px; }
.auth-form .button { margin-top: 7px; }
.auth-panel > .button { margin-top: 30px; }
.lokus-art { position: relative; display: grid; place-items: center; min-width: 0; align-self: stretch; isolation: isolate; }
.lokus-art::before { content: ""; position: absolute; z-index: -1; width: 440px; max-width: 110%; aspect-ratio: 1; border: 1px solid #6de8ed18; border-radius: 50%; background: radial-gradient(circle, #57e4f61f, transparent 68%); box-shadow: 0 0 0 45px #6de8ed03, 0 0 0 46px #6de8ed09; }
.lokus-art img { display: block; width: min(100%, 410px); height: auto; max-height: 580px; object-fit: contain; -webkit-mask-image: radial-gradient(ellipse 66% 66% at 50% 44%, #000 42%, transparent 79%); mask-image: radial-gradient(ellipse 66% 66% at 50% 44%, #000 42%, transparent 79%); }
.download-hero { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; min-height: 376px; overflow: hidden; border: 1px solid #8ccbe333; border-radius: 10px; background: radial-gradient(ellipse at 83% 42%, #1c59744a, transparent 65%), linear-gradient(120deg, #10293d, #0b1c2d 66%); }
.download-content { position: relative; z-index: 1; padding: 44px 48px; }
.download-content .eyebrow { margin-bottom: 19px; }
.download-content h2 { font-size: clamp(36px, 4vw, 46px); }
.download-content > p:not(.eyebrow) { margin-top: 17px; max-width: 330px; font-size: 13px; }
.download-content .button { margin-top: 28px; }
.download-content .download-meta { font-size: 11px; color: #9ebed0; }
.download-meta span { margin: 0 7px; }
.download-content .availability { padding: 14px 16px; border: 1px solid var(--line); background: #081b2a; border-radius: 4px; }
.download-art { height: 100%; min-height: 376px; }
.download-art::before { width: 300px; }
.download-art img { width: 310px; max-height: 385px; margin-top: -1px; margin-bottom: -8px; }
.setup-section { padding-top: 48px; }
.section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; margin-bottom: 30px; }
.section-heading h2 { font-size: 26px; }
.section-heading p { max-width: 350px; font-size: 12px; }
.setup-steps { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; list-style: none; counter-reset: setup; }
.setup-steps li { position: relative; padding-top: 41px; border-top: 1px solid var(--line); counter-increment: setup; }
.setup-steps li::before { content: counter(setup); position: absolute; top: 13px; color: var(--accent); font-size: 11px; font-weight: 600; }
.setup-steps h3 { margin-bottom: 9px; }
.setup-steps p { font-size: 12px; line-height: 1.8; }
.connection-details { margin-top: 36px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
summary { padding: 17px 0; cursor: pointer; font-size: 12px; color: #b4ccdd; }
summary:hover { color: var(--accent); }
.details-content { padding-bottom: 22px; }
.details-content p { font-size: 12px; }
code { font: 11px/1.7 Consolas, monospace; color: #c3e3f2; overflow-wrap: anywhere; }
pre { max-width: 100%; overflow: auto; padding: 15px 18px; margin: 14px 0 0; background: #050f1b; border: 1px solid var(--line); border-radius: 4px; }
pre code { overflow-wrap: normal; }
.invitation-create { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; padding: 32px; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(120deg, #112b3f, var(--panel)); }
.invitation-create h2 { font-size: 25px; }
.invitation-create p, .invitation-result p { margin-top: 12px; font-size: 12px; max-width: 330px; }
.invite-form { display: flex; align-items: flex-start; gap: 16px; min-width: 0; }
.invite-form .field { flex: 1; }
.invite-form .button { white-space: nowrap; margin-top: 28px; }
.invitation-result { margin-top: 24px; padding: 26px 30px; border: 1px solid #6de8ed55; border-radius: 8px; background: #6de8ed06; }
.invitation-result h2 { font-size: 24px; }
.invitation-result p { max-width: none; }
.invite-link { margin-top: 18px; font: 12px/1.6 Consolas, monospace; color: var(--accent); }
.invitations-section { margin-top: 44px; }
.invitations-section > h2 { font-size: 25px; margin-bottom: 23px; }
.table-scroll { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: 7px; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; }
thead { color: #a9c5d8; background: #102437; }
th, td { padding: 18px 22px; border-bottom: 1px solid var(--line); }
thead th { font-size: 10px; text-transform: uppercase; letter-spacing: .07em; font-weight: 500; }
tbody th { font-weight: 500; overflow-wrap: anywhere; }
tbody tr:last-child > * { border-bottom: 0; }
td { color: var(--muted); }
.status { color: #c8e8f4; }
.table-action { text-align: right; }
.revoke-button { color: #eab3c5; font-size: 11px; }
.empty-state { padding: 42px 24px; border: 1px solid var(--line); border-radius: 7px; text-align: center; background: #0a1a28; }
.empty-state h3 { font-size: 19px; font-weight: 500; }
.empty-state p { margin-top: 10px; font-size: 12px; }
.error-page { max-width: 650px; padding: 70px 0 90px; }
.error-page .button { margin-top: 32px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: 12px; left: 12px; z-index: 10; padding: 10px 18px; transform: translateY(-160%); background: var(--accent); color: #082330; }
.skip-link:focus { transform: none; }
@media (max-width: 1000px) {
  .site-header { gap: 28px; }
  .account { gap: 15px; }
  .account-name { max-width: 105px; }
  .auth-content { column-gap: 28px; }
  .invitation-create { grid-template-columns: 1fr; gap: 24px; }
  .download-content { padding: 34px; }
}
@media (max-width: 700px) {
  .site-header { min-height: 82px; width: 88%; padding: 24px 0; flex-wrap: wrap; gap: 22px; }
  .wordmark { font-size: 21px; gap: 11px; }
  .wordmark-symbol { width: 21px; height: 21px; }
  .wordmark-symbol::before { height: 28px; }
  .wordmark-symbol::after { width: 28px; }
  .header-note { font-size: 10px; }
  .account { font-size: 10px; gap: 12px; }
  .account-name { max-width: 90px; }
  .main-nav { order: 3; width: 100%; gap: 26px; }
  .main-nav a { font-size: 12px; padding: 0; }
  .main-nav a[aria-current]::after { bottom: -24px; }
  .page-content { padding-top: 35px; padding-bottom: 48px; }
  .page-heading { margin-bottom: 26px; }
  h1 { font-size: 40px; }
  .eyebrow { font-size: 9px; margin-bottom: 14px; }
  .auth-content { display: block; padding: 35px 0 43px; }
  .auth-panel { width: 100%; max-width: 400px; padding: 0; }
  .auth-panel h1 { font-size: 50px; }
  .auth-panel .intro { max-width: 290px; font-size: 13px; }
  .auth-page { position: relative; isolation: isolate; }
  .auth-page .lokus-art { position: absolute; top: -12px; right: -5vw; width: 48vw; height: 225px; opacity: .4; z-index: -1; overflow: hidden; }
  .auth-page .lokus-art::before { display: none; }
  .auth-page .lokus-art img { width: 100%; max-height: 250px; object-fit: contain; }
  .auth-form { margin-top: 28px; }
  .form-note { font-size: 11px; }
  .download-hero { display: block; min-height: 0; }
  .download-content { padding: 31px 25px; }
  .download-content h2 { font-size: 35px; }
  .download-content > p:not(.eyebrow) { max-width: 235px; }
  .download-content .button { padding: 13px 15px; gap: 15px; font-size: 12px; }
  .download-art { position: absolute; inset: 0 -95px 0 auto; width: 270px; min-height: 0; opacity: .2; }
  .download-art::before { display: none; }
  .download-art img { width: 270px; }
  .setup-section { padding-top: 36px; }
  .section-heading { display: block; margin-bottom: 26px; }
  .section-heading h2 { font-size: 25px; }
  .section-heading p { margin-top: 13px; }
  .setup-steps { grid-template-columns: 1fr; gap: 24px; }
  .setup-steps li { padding-top: 0; padding-left: 29px; border-top: 0; }
  .setup-steps li::before { top: 2px; left: 0; }
  .invitation-create { padding: 23px; }
  .invite-form { flex-direction: column; align-items: stretch; }
  .invite-form .button { margin-top: 0; }
  .invitation-result { padding: 23px; }
  .invitations-section { margin-top: 34px; }
  th, td { padding: 15px; }
  table { min-width: 540px; }
  .error-page { padding: 36px 0 60px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
