:root {
    --white: #ffffff;
    --ink: #060606;
    --ink-soft: #3a3a3a;
    --ink-muted: #5f5f5f;
    --line: rgba(6, 6, 6, 0.16);
    --line-strong: rgba(6, 6, 6, 0.28);
    --lemon: #d2fc00;
    --lemon-tint: rgba(210, 252, 0, 0.1);
    --danger: #c70f00;
    --surface-soft: #f5f5f5;
    --font-ui: "Segoe UI", sans-serif;
    --menu-line: var(--ink-soft);
    --menu-active: var(--ink-soft);
    --page-accent: var(--lemon);
    --paper-strong: var(--white);
    --site-header-height: 59px;
    --site-header-grid-gap: 1rem;
    --site-header-logo-height: 38px;
    --site-header-nav-font-size: 1.28rem;
    --site-header-nav-horizontal-padding: 0.9rem;
    --site-header-highlight-height: 4px;
    --site-header-avatar-size: 40px;
    --site-header-session-gap: 0.62rem;
    --viewport-scale-progress: 0.18;
    --page-padding: 25px;
    --section-padding: 25px;
    --heading-gap: 14px;
    --body-font-size: var(--site-header-nav-font-size);
    --h1-font-size: 3.05rem;
    --h2-font-size: 1.9rem;
    --h3-font-size: 1.45rem;
}

@media (min-width: 1800px) {
    :root {
        --page-padding: 35px;
        --section-padding: 35px;
        --heading-gap: 16px;
        --h1-font-size: 3.8rem;
        --h2-font-size: 2.1rem;
        --h3-font-size: 1.6rem;
    }
}

@media (min-width: 2400px) {
    :root {
        --page-padding: 45px;
        --section-padding: 45px;
        --heading-gap: 16px;
        --h1-font-size: 4.15rem;
        --h2-font-size: 2.22rem;
        --h3-font-size: 1.7rem;
    }
}

@media (min-width: 3600px) {
    :root {
        --page-padding: 60px;
        --section-padding: 60px;
        --heading-gap: 18px;
        --h1-font-size: 4.6rem;
        --h2-font-size: 2.5rem;
        --h3-font-size: 1.9rem;
    }
}

* {
    box-sizing: border-box;
}

html {
    min-width: 1200px;
    background: var(--white);
}

body {
    min-width: 1200px;
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--font-ui);
    font-size: var(--body-font-size);
    font-weight: 300;
    line-height: 1.5;
}

p,
li,
label,
input,
button,
select,
textarea,
th,
td {
    font-family: inherit;
    font-weight: 300;
}

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.16em;
}

img {
    display: block;
    max-width: 100%;
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-ui);
    font-weight: 300;
    line-height: 1;
}

h1 {
    font-size: var(--h1-font-size);
}

h2 {
    font-size: var(--h2-font-size);
}

h3 {
    font-size: var(--h3-font-size);
}

h4,
h5,
h6,
p {
    margin: 0;
}

main[hidden] {
    display: none !important;
}

.page-shell {
    min-height: 100vh;
    background: var(--white);
}

.content-card,
.page-footer,
.welcome-home-shell {
    padding: var(--page-padding);
}

.content-card {
    display: grid;
    gap: var(--section-padding);
}

.page-footer {
    color: var(--ink-muted);
}

.muted,
.eyebrow,
.status-line {
    color: var(--ink-muted);
}

.site-header {
    position: relative;
    z-index: 40;
    width: 100%;
    margin: 0;
    padding-left: 7px;
    background: rgba(6, 6, 6, 0.96);
}

.nav-wrapper {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: stretch;
    gap: var(--site-header-grid-gap);
    width: 100%;
    min-height: var(--site-header-height);
    height: var(--site-header-height);
    margin: 0;
    padding: 0;
    background: rgba(6, 6, 6, 0.96);
}

.nav-wrapper::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: var(--site-header-highlight-height);
    background: var(--menu-line);
    z-index: 0;
}

.brand-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    padding: 0;
}

.brand-logo {
    display: block;
    width: auto;
    height: var(--site-header-logo-height);
    max-width: min(22rem, 28vw);
}

.nav-mobile-toggle {
    display: none !important;
}

.nav-menu {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: stretch;
    gap: 0;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-left {
    justify-content: flex-start;
    min-width: 0;
}

.nav-right {
    justify-content: flex-end;
    min-width: 0;
    margin-left: auto;
}

.nav-right > li:last-child > a {
    padding-right: 0;
}

.nav-menu > li {
    display: flex;
    align-items: stretch;
    height: 100%;
    background: transparent;
}

.nav-menu > li.nav-hidden {
    display: none;
}

.nav-menu a,
.session-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 100%;
    padding: 0 var(--site-header-nav-horizontal-padding);
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.86);
    font-family: var(--font-ui);
    font-size: var(--site-header-nav-font-size);
    font-weight: 300;
    letter-spacing: 0.08em;
    text-decoration: none;
    cursor: pointer;
}

.nav-left > li:hover,
.nav-left > li:focus-within,
.nav-right > li:not(.session-menu-item):hover,
.nav-right > li:not(.session-menu-item):focus-within,
.nav-menu > li:has(> a.current) {
    background: var(--menu-active);
}

.nav-left a:hover,
.nav-right > li:not(.session-menu-item) > a:hover,
.nav-menu a:focus-visible,
.nav-menu a.current,
.session-trigger:hover,
.session-trigger:focus-visible,
.session-dropdown.open .session-trigger {
    background: var(--menu-active);
    color: var(--white);
}

.nav-left a:hover::after,
.nav-right > li:not(.session-menu-item) > a:hover::after,
.nav-menu a:focus-visible::after,
.nav-menu a.current::after,
.session-dropdown.open .session-trigger::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: var(--site-header-highlight-height);
    background: var(--page-accent);
    z-index: 2;
}

.session-menu-item {
    display: none !important;
}

.nav-menu > li.session-menu-item.active {
    display: flex !important;
    margin-left: auto;
}

.nav-login-item,
.session-panel,
.session-dropdown {
    position: relative;
    display: flex;
    align-items: stretch;
    height: 100%;
}

.session-identity {
    display: inline-flex;
    align-items: center;
    gap: var(--site-header-session-gap);
    min-width: 0;
    height: 100%;
    white-space: nowrap;
}

.session-avatar-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--site-header-avatar-size);
    height: var(--site-header-avatar-size);
    flex: 0 0 auto;
    background: rgb(255 255 255 / 18%);
}

.session-avatar-image {
    width: var(--site-header-avatar-size);
    height: var(--site-header-avatar-size);
    object-fit: cover;
}

.session-avatar-fallback {
    color: var(--page-accent);
    font-family: var(--font-ui);
    font-size: calc(var(--site-header-avatar-size) * 0.42);
    font-weight: 300;
}

.session-user-name {
    display: inline-flex;
    align-items: center;
    height: 100%;
    color: var(--white);
    font-family: var(--font-ui);
    font-size: var(--site-header-nav-font-size);
    font-weight: 300;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.session-caret {
    width: 0;
    height: 0;
    border-top: 0.41rem solid var(--page-accent);
    border-right: 0.38rem solid transparent;
    border-left: 0.38rem solid transparent;
}

.session-dropdown-menu,
.login-popover {
    position: absolute;
    right: 0;
    z-index: 35;
    background: var(--paper-strong);
}

.session-dropdown-menu {
    top: calc(100% + var(--site-header-highlight-height));
    display: none;
    min-width: calc(11rem + 4rem * var(--viewport-scale-progress));
    padding: 0;
    border: 1px solid var(--ink);
    box-shadow: none;
}

.session-dropdown.open .session-dropdown-menu {
    display: grid;
}

.login-popover {
    top: calc(100% + var(--site-header-highlight-height) + 0.68rem);
    display: none;
    width: max-content;
    max-width: min(25.5rem, calc(100vw - 1rem));
    padding: calc(0.95rem + 0.35rem * var(--viewport-scale-progress)) calc(1.02rem + 0.34rem * var(--viewport-scale-progress)) calc(1.02rem + 0.34rem * var(--viewport-scale-progress));
    border: 1px solid var(--ink);
    box-shadow: none;
}

.login-popover.open {
    display: block;
}

.login-popover::before {
    content: "";
    position: absolute;
    top: -0.93rem;
    right: 1.73rem;
    border-right: 0.93rem solid transparent;
    border-bottom: 0.93rem solid var(--ink);
    border-left: 0.93rem solid transparent;
}

.login-popover::after {
    content: "";
    position: absolute;
    top: -0.78rem;
    right: 1.83rem;
    border-right: 0.78rem solid transparent;
    border-bottom: 0.78rem solid var(--paper-strong);
    border-left: 0.78rem solid transparent;
}

.session-dropdown-menu a,
.session-logout-button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: calc(2.35rem + 0.45rem * var(--viewport-scale-progress));
    padding: calc(0.48rem + 0.12rem * var(--viewport-scale-progress)) calc(0.82rem + 0.22rem * var(--viewport-scale-progress));
    border: 0;
    background: transparent;
    color: var(--ink);
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    font-family: var(--font-ui);
    font-size: var(--site-header-nav-font-size);
    font-weight: 300;
}

.session-dropdown-menu a:hover,
.session-dropdown-menu a:focus-visible,
.session-logout-button:focus-visible {
    background: var(--surface-soft);
}

.session-logout-button:hover {
    background: #ffd100;
}

.session-dropdown-optin {
    gap: var(--site-header-session-gap);
}

.session-optin-warning {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    align-self: stretch;
    flex: 0 0 auto;
    min-width: var(--site-header-logo-height);
    margin-right: 1rem;
    padding: 0;
    color: var(--ink);
}

.session-optin-warning-icon {
    width: 1.3rem;
    height: 1.3rem;
    transform: translateY(-0.08em);
}

.session-optin-warning-label {
    display: inline-flex;
    align-items: center;
    color: #ffd100;
    font-family: var(--font-ui);
    font-size: var(--site-header-nav-font-size);
    font-weight: 300;
    letter-spacing: 0.08em;
    line-height: 1;
    white-space: nowrap;
}

.session-optin-warning-tooltip {
    display: none;
}

.login-popover-form {
    display: grid;
    width: max-content;
    gap: 0;
    padding: 0;
}

.login-popover-field {
    display: grid;
    width: max-content;
    gap: 0.35rem;
}

.login-popover-field + .login-popover-field {
    margin-top: calc(0.6rem + 0.28rem * var(--viewport-scale-progress));
    margin-bottom: calc(0.6rem + 0.28rem * var(--viewport-scale-progress));
}

.login-popover-field span {
    color: var(--ink-muted);
    font-family: var(--font-ui);
    font-size: calc(var(--site-header-nav-font-size) * 0.9);
    font-weight: 300;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.login-popover-input,
input,
select,
textarea {
    width: 100%;
    padding: 0.7rem 0.8rem;
    border: 1px solid var(--line-strong);
    background: var(--paper-strong);
    color: var(--ink);
}

.login-popover-input {
    border: 1px solid var(--ink);
}

.login-popover-input:focus {
    border-width: 2px;
    outline: 0;
}

.login-popover-input-invalid {
    border-color: var(--danger);
}

.login-popover-field-message {
    display: none;
    color: var(--danger);
    font-size: calc(var(--site-header-nav-font-size) * 0.72);
    line-height: 1.25;
}

.login-popover-field-message-visible {
    display: block;
}

.action-link,
.button-like,
button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.72rem 1rem;
    border: 1px solid var(--ink);
    background: var(--white);
    color: var(--ink);
    text-decoration: none;
    cursor: pointer;
}

.action-link.primary,
.button-like.primary {
    background: var(--ink);
    color: var(--white);
}

.action-link.primary.button-like.button-like-clicked {
    background: #2a2a2a;
}

.login-popover-submit {
    justify-self: start;
    width: auto;
    min-height: calc(2.35rem + 0.35rem * var(--viewport-scale-progress));
    margin-top: 0.42rem;
    padding: calc(0.52rem + 0.08rem * var(--viewport-scale-progress)) calc(0.9rem + 0.18rem * var(--viewport-scale-progress));
    font-family: var(--font-ui);
    font-size: var(--body-font-size);
    font-weight: 300;
    letter-spacing: 0;
    text-transform: none;
}

.welcome-home-shell {
    display: grid;
    gap: 0;
    background: var(--white);
}

.welcome-home-section {
    display: grid;
    gap: var(--heading-gap);
    padding: var(--section-padding) 0;
    background: var(--white);
}

.welcome-home-section:first-child {
    padding-top: 0;
}

.welcome-home-section-quick-start {
    background: var(--lemon-tint);
    box-shadow: 0 0 0 100vmax var(--lemon-tint);
    clip-path: inset(0 -100vmax);
}

.welcome-home-story {
    display: grid;
    gap: var(--section-padding);
}

.welcome-home-story-block {
    display: grid;
    gap: var(--heading-gap);
}
