@font-face {
    font-family: Manrope;
    src: url("manrope.woff2") format("woff2");
    font-display: swap;
    font-weight: 200 800;
}

:root {
    color-scheme: dark;
    --canvas: #080808;
    --surface: #161616;
    --surface-raised: #1e1d1f;
    --line: #323133;
    --control: #5b585d;
    --ink: #f1f0ed;
    --muted: #b8b7b9;
    --subtle: #9d9b9f;
    --accent: #d1c6da;
    --paper: #e4e4e0;
    --danger: #f4afb0;
    --warning: #e8c891;
    --radius: 8px;
    --sidebar-width: 236px;
    --sans: Manrope, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--canvas); color: var(--ink); font: 400 15px/1.6 var(--sans); }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .58; }
:focus-visible { outline: 2px solid var(--paper); outline-offset: 4px; }
::selection { background: #504957; color: var(--ink); }
[hidden] { display: none !important; }

.sw-skip { position: fixed; left: 16px; top: 16px; z-index: 20; padding: 10px 16px; background: var(--paper); color: var(--canvas); transform: translateY(-150%); }
.sw-skip:focus { transform: none; }
.sw-wrap { width: min(100% - 96px, 1240px); margin-inline: auto; }
.sw-site-header { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.sw-wordmark { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 750; letter-spacing: -.045em; white-space: nowrap; }
.sw-mark { position: relative; display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; color: var(--ink); }
.sw-mark::before { content: ""; width: 13px; height: 13px; border: 1.5px solid currentColor; border-radius: 2px; transform: rotate(45deg); }
.sw-mark::after { position: absolute; content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.sw-site-nav, .sw-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.sw-site-nav { justify-content: flex-end; }
.sw-site-section-link, .sw-text-link { color: var(--muted); font-size: 14px; }
.sw-site-section-link:hover, .sw-text-link:hover { color: var(--ink); }
.sw-text-link span { margin-left: 5px; }
.sw-button {
    display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px;
    padding: 10px 17px; border: 1px solid transparent; border-radius: var(--radius);
    font: 650 14px/1.35 var(--sans); transition: background-color 150ms, border-color 150ms, color 150ms;
}
.sw-button-primary { background: var(--paper); border-color: var(--paper); color: var(--canvas); }
.sw-button-primary:hover { background: #fcfbf8; border-color: #fcfbf8; color: var(--canvas); }
.sw-button-secondary { background: #151515; border-color: #444; color: var(--ink); }
.sw-button-secondary:hover { background: #252427; border-color: #777378; color: var(--ink); }

.sw-public { display: flex; flex-direction: column; }
.sw-site-main { flex: 1; }
.sw-site-footer { display: flex; justify-content: space-between; align-items: center; padding-block: 30px; gap: 16px; border-top: 1px solid var(--line); color: var(--subtle); font-size: 13px; }
.sw-site-footer .sw-wordmark { color: var(--ink); font-size: 15px; }

.sw-hero { position: relative; min-height: clamp(540px, 66vw, 695px); display: grid; align-items: start; isolation: isolate; overflow: hidden; }
.sw-hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; z-index: -2; }
.sw-road-frame { --road-anchor: 56%; position: absolute; inset: 0; z-index: -2; container-type: size; overflow: hidden; }
/* Put the lights and image on the same plane so the road stays aligned as it crops. */
.sw-road-scene {
    position: absolute; top: 50%; left: var(--road-anchor);
    width: max(100cqw, calc(100cqh * 1672 / 941)); aspect-ratio: 1672 / 941;
    transform: translate(calc(-1 * var(--road-anchor)), -50%);
}
.sw-road-scene .sw-hero-art { inset: 0; height: 100%; object-fit: fill; z-index: auto; mask-image: none; }
.sw-road-lights {
    position: absolute; width: 7px; height: 2.5px; opacity: 0;
    pointer-events: none; animation: sw-road-drive 4.8s linear .7s both;
}
.sw-road-lights::before, .sw-road-lights::after {
    content: ""; position: absolute; width: 2.5px; height: 2.5px; border-radius: 50%;
    background: #ffc0a8; box-shadow: 0 0 4px 1px rgb(217 91 66 / .52);
}
.sw-road-lights::before { left: 0; }
.sw-road-lights::after { right: 0; }
@keyframes sw-road-drive {
    0%   { left: 56.9%; top: 92%;   opacity: 0;   transform: translate(-50%, -50%) scale(1) rotate(13deg); }
    6%   { left: 57.9%; top: 89.7%; opacity: .8;  transform: translate(-50%, -50%) scale(.96) rotate(11deg); }
    15%  { left: 59.1%; top: 85%;   transform: translate(-50%, -50%) scale(.88) rotate(4deg); }
    23%  { left: 58.8%; top: 81%;   transform: translate(-50%, -50%) scale(.80) rotate(-10deg); }
    32%  { left: 57.6%; top: 77.4%; transform: translate(-50%, -50%) scale(.73) rotate(-24deg); }
    40%  { left: 55.5%; top: 74.7%; transform: translate(-50%, -50%) scale(.67) rotate(-36deg); }
    48%  { left: 52.6%; top: 72%;   transform: translate(-50%, -50%) scale(.61) rotate(-47deg); }
    55%  { left: 50.8%; top: 68.8%; transform: translate(-50%, -50%) scale(.56) rotate(-33deg); }
    61%  { left: 50.3%; top: 66.4%; transform: translate(-50%, -50%) scale(.52) rotate(0deg); }
    67%  { left: 51.6%; top: 63.9%; transform: translate(-50%, -50%) scale(.48) rotate(34deg); }
    74%  { left: 54.5%; top: 61%;   transform: translate(-50%, -50%) scale(.44) rotate(55deg); }
    81%  { left: 58.5%; top: 58.3%; transform: translate(-50%, -50%) scale(.38) rotate(67deg); }
    89%  { left: 64.3%; top: 55.9%; opacity: .45; transform: translate(-50%, -50%) scale(.32) rotate(75deg); }
    100% { left: 73.5%; top: 52.9%; opacity: 0;   transform: translate(-50%, -50%) scale(.24) rotate(77deg); }
}
.sw-hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, var(--canvas), rgb(8 8 8 / .08) 25%, transparent 65%, var(--canvas)),
                linear-gradient(90deg, rgb(8 8 8 / .38), rgb(8 8 8 / .23) 62%, transparent);
}
.sw-hero-content { padding-block: clamp(88px, 11vw, 160px) 125px; text-align: center; }
.sw-hero h1 { color: var(--ink); font-size: clamp(44px, 6.35vw, 90px); font-weight: 500; letter-spacing: -.067em; line-height: 1.04; }
.sw-hero h1 span { color: #d5d4d1; }
.sw-hero p { max-width: 495px; margin: 25px auto 29px; color: #cdcbce; font-size: clamp(15px, 1.5vw, 17px); }
.sw-hero .sw-actions { justify-content: center; }
.sw-features { border-top: 1px solid var(--line); padding-block: 69px 90px; }
.sw-section-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 24px; margin-bottom: 30px; }
.sw-section-intro h2 { font-size: clamp(28px, 4vw, 43px); line-height: 1.15; font-weight: 550; letter-spacing: -.05em; }
.sw-section-intro p, .sw-feature p { color: var(--muted); max-width: 410px; }
.sw-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sw-feature { padding: 26px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.sw-feature h3 { font-size: 19px; font-weight: 650; letter-spacing: -.026em; margin: 22px 0 7px; }
.sw-feature p { font-size: 14px; }
.sw-feature-icon, .sw-empty-icon { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 20px; color: var(--accent); }

.sw-auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 430px); align-items: start; gap: clamp(40px, 10vw, 135px); padding-block: clamp(72px, 12vw, 157px); max-width: 1080px; }
.sw-auth-intro h1, .sw-public-message h1 { font-size: clamp(39px, 6vw, 67px); font-weight: 500; letter-spacing: -.065em; line-height: 1.1; }
.sw-auth-intro p, .sw-public-message p { color: var(--muted); margin-top: 18px; max-width: 420px; }
.sw-auth-form { display: grid; gap: 21px; padding: 30px; }
.sw-auth-form .sw-button { width: 100%; justify-content: space-between; }
.sw-form-field label { display: block; margin-bottom: 7px; color: var(--ink); font-weight: 600; }
.sw-form-field input { display: block; width: 100%; min-height: 47px; border: 1px solid var(--control); border-radius: var(--radius); background: var(--canvas); color: var(--ink); padding: 9px 12px; }
.sw-field-error, .sw-notice-error { color: var(--danger); }
.sw-notice-warning { color: var(--warning); }
.sw-field-error ul, .sw-notice ul { list-style: none; padding: 0; margin: 0; }
.sw-field-error { margin-top: 5px; font-size: 13px; }
.sw-public-message { padding-block: 85px 110px; max-width: 810px; }
.sw-public-message .sw-actions { margin-top: 25px; }
.sw-public-message dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin: 26px 0; gap: 15px; color: var(--muted); }
.sw-public-message dd { margin: 4px 0 0; color: var(--ink); overflow-wrap: anywhere; }

.sw-console { display: grid; grid-template-columns: var(--sidebar-width) minmax(0, 1fr); }
.sw-sidebar { position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; background: #101010; border-right: 1px solid var(--line); }
.sw-sidebar-heading { display: flex; align-items: center; justify-content: space-between; min-height: 72px; padding: 0 19px; }
.sw-sidebar-heading .sw-wordmark { font-size: 16px; }
.sw-sidebar-nav { min-height: 0; flex: 1; overflow-y: auto; padding: 0 13px 18px; }
.sw-sidebar-nav p { padding: 16px 11px 5px; color: var(--subtle); font-size: 11px; font-weight: 650; letter-spacing: .045em; }
.sw-sidebar-nav a { display: block; padding: 7px 11px; margin-top: 2px; border: 1px solid transparent; border-radius: 6px; color: var(--muted); font-size: 13px; }
.sw-sidebar-nav a:hover { background: #1c1c1e; color: var(--ink); }
.sw-sidebar-nav [aria-current] { background: #272529; border-color: #3d3940; color: var(--ink); font-weight: 650; }
.sw-account { display: grid; gap: 5px; padding: 12px 13px; border-top: 1px solid var(--line); }
.sw-account-link { display: flex; gap: 9px; align-items: center; padding: 6px; min-width: 0; border-radius: 6px; }
.sw-account-link:hover, .sw-signout:hover { background: #232223; }
.sw-account-name { min-width: 0; overflow-wrap: anywhere; font-size: 12px; font-weight: 650; }
.sw-account-name small { display: block; color: var(--subtle); font-weight: 500; }
.sw-avatar { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 7px; overflow: hidden; background: #252426; color: var(--accent); }
.sw-avatar img { width: 100%; height: 100%; object-fit: cover; }
.sw-signout { width: 100%; border: none; border-radius: 6px; padding: 6px 9px; background: transparent; color: var(--muted); font-size: 12px; text-align: left; }
.sw-menu-close, .sw-menu-toggle { display: none; }
.sw-workspace { min-width: 0; }
.sw-topbar { min-height: 63px; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 0 clamp(20px, 4vw, 55px); border-bottom: 1px solid var(--line); color: var(--subtle); font-size: 13px; }
.sw-topbar a { color: var(--ink); }
.sw-topbar a:hover { text-decoration: underline; text-underline-offset: 4px; }
.sw-workspace-main { width: min(100%, 1520px); margin-inline: auto; padding: 33px clamp(20px, 4vw, 55px) 65px; }
.sw-page-title { font-size: clamp(30px, 3.3vw, 45px); font-weight: 550; line-height: 1.14; letter-spacing: -.048em; margin-bottom: 25px; }
.sw-content { min-width: 0; }
.sw-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; min-width: 0; }
.sw-notices { display: grid; gap: 8px; margin-bottom: 22px; }
.sw-notice { padding: 12px 15px; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; }
.sw-notices .sw-notice { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.sw-dashboard-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.sw-dashboard-toolbar p, .sw-dashboard-empty p { color: var(--muted); }
.sw-dashboard-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding: 16px 22px; }
.sw-dashboard-heading h2 { font-size: 16px; font-weight: 650; }
.sw-dashboard-heading .sw-button { min-height: 35px; font-size: 12px; }
.sw-dashboard-empty { display: grid; justify-items: center; gap: 8px; padding: 52px 24px; text-align: center; }
.sw-dashboard-empty h3 { margin-top: 5px; font-size: 18px; font-weight: 650; }
.sw-dashboard-empty p { font-size: 14px; }
.sw-table-wrap { overflow-x: auto; }
.sw-dashboard-table { width: 100%; min-width: 440px; border-collapse: collapse; text-align: left; font-variant-numeric: tabular-nums; }
.sw-dashboard-table th, .sw-dashboard-table td { padding: 13px 22px; }
.sw-dashboard-table th { font-weight: 650; }
.sw-dashboard-table thead { color: var(--muted); font-size: 12px; background: #141414; }
.sw-dashboard-table tbody tr { border-top: 1px solid var(--line); }
.sw-dashboard-table small { display: block; color: var(--subtle); font-weight: 500; }

@media (max-width: 879px) {
    .sw-console { display: block; }
    .sw-sidebar { position: fixed; z-index: 11; inset: 0 auto 0 0; width: min(325px, 90vw); transform: translateX(-100%); visibility: hidden; transition: transform 180ms ease, visibility 180ms; }
    .sw-sidebar.is-open { transform: none; visibility: visible; }
    .sw-nav-scrim { position: fixed; z-index: 10; inset: 0; border: 0; background: rgb(0 0 0 / .65); }
    .sw-menu-toggle, .sw-menu-close { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; border: 0; border-radius: 6px; padding: 4px 8px; color: var(--ink); background: transparent; }
    .sw-menu-toggle { margin-left: -8px; }
    .sw-menu-close { font-size: 25px; }
    .sw-topbar > span { display: none; }
    .sw-wrap { width: calc(100% - 48px); }
    .sw-auth { padding-block: 75px; gap: 32px; }
}

@media (max-width: 680px) {
    .sw-wrap { width: calc(100% - 40px); }
    .sw-site-header { min-height: 69px; }
    .sw-site-header .sw-wordmark { font-size: 16px; gap: 6px; }
    .sw-site-nav { gap: 14px; }
    .sw-site-nav .sw-button { min-height: 39px; padding-inline: 11px; font-size: 12px; }
    .sw-site-section-link { display: none; }
    .sw-hero { min-height: 505px; }
    .sw-hero-content { padding-block: 92px 72px; }
    .sw-hero h1 { font-size: clamp(36px, 9.7vw, 52px); }
    .sw-hero-art { inset: auto 0 0; height: 72%; object-position: center bottom; mask-image: linear-gradient(transparent, #000 22%); }
    .sw-road-frame { --road-anchor: 62%; }
    .sw-hero p { margin: 19px auto 22px; }
    .sw-hero .sw-actions { gap: 12px 16px; }
    .sw-section-intro, .sw-feature-grid, .sw-auth { grid-template-columns: 1fr; }
    .sw-section-intro { gap: 8px; margin-bottom: 22px; }
    .sw-features { padding-block: 38px 49px; }
    .sw-feature { padding: 19px; }
    .sw-feature h3 { margin-top: 15px; }
    .sw-auth { padding-block: 43px 63px; }
    .sw-auth-form { padding: 21px; }
    .sw-site-footer { padding-block: 22px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
    .sw-road-lights { display: none; animation: none; }
}

.sw-content .sw-panel { border-color: var(--line); background: var(--surface); border-radius: 10px; }
.sw-content .sw-panel:hover { border-color: var(--control); }
.sw-content .sw-button-primary,
.sw-content .sw-button-primary:hover { color: var(--canvas); }
.sw-content .sw-button-primary { border-radius: var(--radius); letter-spacing: 0; text-transform: none; }
.sw-content :is(input:not([type=checkbox],[type=radio],[type=hidden],[type=submit]), textarea, select) {
    min-height: 42px; border: 1px solid var(--control); background-color: #101010;
    border-radius: var(--radius); color: var(--ink); font-size: 14px;
}
.sw-content :is(input, textarea, select):focus-visible { outline: 2px solid var(--paper); outline-offset: 2px; }
.sw-content :is(input, textarea)::placeholder { color: var(--subtle); }
.sw-content :is(input[type=checkbox], input[type=radio]) { accent-color: var(--accent); }
.sw-content table { border-color: var(--line); }
.sw-content :is(th, td) { font-variant-numeric: tabular-nums; }
.sw-content .sw-utility-link { color: var(--accent); }

@media (max-width: 540px) {
    .sw-content > .flex { flex-wrap: wrap; row-gap: 14px; }
    .sw-content .sw-panel.p-20 { padding: 28px 18px; }
    .sw-content .sw-panel.p-12, .sw-content .sw-panel.p-10 { padding: 25px 17px; }
    .sw-content .sw-panel.p-8 { padding: 20px 14px; }
    .sw-content .sw-panel:has(> table) { overflow-x: auto; }
}

.sw-content :is(h2, h3, h4, label, th) { text-transform: none; letter-spacing: 0; }
.sw-content form h3 { font-size: 17px; font-weight: 650; }
.sw-content form label { font-size: 13px; font-weight: 650; }
.sw-content table :is(th, td) { padding-block: 13px; }
.sw-content a:not(.sw-button):hover { text-underline-offset: 3px; }
.sw-auth .sw-notice, .sw-content .sw-notice { overflow-wrap: anywhere; }
