@font-face {
    font-family: Geist;
    src: url("geist-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

:root {
    color-scheme: dark;
    --paper: #080d12;
    --white: #111a20;
    --ink: #edf5f2;
    --muted: #b0c1c1;
    --line: #2e4046;
    --dark: #080d12;
    --mint: #bdf2dc;
    --focus: #bdf2dc;
    --width: 76rem;
    --shell-gap: clamp(1.15rem, 4vw, 3rem);
    font-family: Geist, system-ui, sans-serif;
    color: var(--ink);
    background: var(--paper);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
[hidden] { display: none !important; }
a { color: inherit; }
img, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
figure, h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.06; letter-spacing: -.055em; font-weight: 600; }
h1 { font-size: clamp(2.85rem, 6vw, 5.25rem); }
h2 { font-size: clamp(1.65rem, 3.8vw, 3.45rem); }
h3 { font-size: 1.25rem; letter-spacing: -.033em; }
p { line-height: 1.6; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
main:focus { outline: 0; }
.sr-only, .skip:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    clip-path: inset(50%);
    overflow: hidden;
    white-space: nowrap;
}
.skip:focus { position: fixed; top: .65rem; left: .65rem; z-index: 20; padding: .8rem 1rem; background: var(--white); }
.shell { width: min(var(--width), calc(100% - var(--shell-gap) * 2)); margin-inline: auto; }
.eyebrow {
    color: var(--muted);
    font-size: .8125rem;
    line-height: 1.4;
    font-weight: 620;
    letter-spacing: .075em;
    text-transform: uppercase;
}
.eyebrow-mint { color: var(--mint); }
.muted { color: var(--muted); font-weight: 400; }

.site-header { background: var(--paper); position: relative; z-index: 3; }
.header-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 4.65rem;
    gap: 2rem;
}
.brand-link { display: inline-flex; align-items: center; flex: 0 0 auto; border-radius: .2rem; }
.brand-link img { width: 10.6rem; height: auto; }
.main-nav, .footer-nav { display: flex; align-items: center; gap: clamp(1.2rem, 3.35vw, 3rem); }
.main-nav a, .footer-nav a, .footer-bottom a { text-decoration: none; font-size: .925rem; font-weight: 520; }
.main-nav a:hover, .footer-nav a:hover, .footer-bottom a:hover { text-decoration: underline; text-underline-offset: .27em; }
.main-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .28em; }
.main-nav .nav-support, .menu-toggle {
    border: 1px solid #425a5e;
    border-radius: .5rem;
    padding: .6rem 1.03rem;
    background: transparent;
}
.menu-toggle { cursor: pointer; min-height: 2.75rem; }
.site-footer { background: var(--dark); color: #e2eeed; padding-block: 2.75rem 1.6rem; }
.footer-top, .footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.footer-bottom { margin-top: 2rem; border-top: 1px solid #2b3c43; padding-top: 1.2rem; color: #a3b8b8; }
.footer-bottom a { font-size: .875rem; }
.site-footer :focus-visible { outline-color: var(--mint); }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 2.9rem;
    border: 1px solid transparent;
    border-radius: .53rem;
    padding: .74rem 1.12rem;
    text-decoration: none;
    line-height: 1.25;
    font-size: .94rem;
    font-weight: 610;
    cursor: pointer;
    transition: background-color .18s, border-color .18s, color .18s;
}
.button-mint { background: var(--mint); color: #112720; }
.button-mint:hover { background: #e0ffef; }
.button-solid { background: #bdf2dc; color: #142821; }
.button-solid:hover { background: #d7f9e9; }
.button-dark-outline { border-color: #4c635f; color: #edf4ed; background: #15282255; }
.button-dark-outline:hover { background: #263e38; border-color: #8ba299; }
.button-light-outline { border-color: #60746e; background: transparent; color: #d6eeea; }
.button-light-outline:hover { background: #1a2c2e; border-color: #8caba2; }
.button:disabled { opacity: .63; cursor: default; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.text-link { color: #b8e3d6; text-underline-offset: .23em; font-weight: 600; }
.text-link:hover { color: #e0fff3; }
.back-link { display: inline-block; margin-bottom: 1.2rem; font-size: .94rem; }


.page-intro { padding-top: clamp(3.4rem, 7vw, 6.8rem); margin-bottom: 2.15rem; }
.page-intro p, .page-description, .form-intro p { color: var(--muted); max-width: 36rem; font-size: 1.1rem; margin-top: .9rem; }
.support-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: .82rem; }
.support-option { padding: clamp(1.65rem, 4vw, 3rem); min-height: 20rem; display: flex; flex-direction: column; align-items: start; }
.support-option h2 { font-size: clamp(1.8rem, 3vw, 2.55rem); margin-top: 1rem; }
.support-option p { max-width: 28rem; color: var(--muted); margin: .85rem 0 1.5rem; }
.support-option .button { margin-top: auto; }
.support-primary { background: #11241f; border-color: #11241f; color: #eef8f3; }
.support-primary p { color: #c3d5d0; }
.support-primary :focus-visible { outline-color: var(--mint); }
.feature-icon { position: relative; width: 2.4rem; height: 2.4rem; border: 1px solid #455d63; border-radius: .65rem; color: #b9dcd4; }
.support-primary .feature-icon { color: #e4f2dc; border-color: #55786f; }
.feature-new::before, .feature-new::after { content: ""; width: .94rem; height: 1px; background: currentColor; position: absolute; inset: 50% auto auto 50%; transform: translate(-50%,-50%); }
.feature-new::after { transform: translate(-50%,-50%) rotate(90deg); }
.feature-search::before { content: ""; position: absolute; border: 1.5px solid currentColor; width: .66rem; height: .66rem; border-radius: 50%; left: .72rem; top: .65rem; }
.feature-search::after { content: ""; width: .4rem; height: 1.5px; background: currentColor; position: absolute; left: 1.29rem; top: 1.48rem; transform: rotate(45deg); }
.feature-check { display: inline-block; background: #162e27; border-color: #456e60; }
.feature-check::before { content: ""; width: .9rem; height: .5rem; position: absolute; left: .69rem; top: .76rem; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
.support-note { margin-block: 1.5rem clamp(3.5rem, 7vw, 6.3rem); color: var(--muted); }

.form-layout {
    display: grid;
    grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr);
    align-items: start;
    gap: clamp(2rem, 7vw, 6.5rem);
    padding-block: clamp(2.75rem, 6vw, 6rem);
}
.form-intro h1 { font-size: clamp(2.75rem, 5.6vw, 4.9rem); }
.form-intro p:last-child { margin-bottom: 0; }
.form-panel, .details-card, .result-panel, .timeline { padding: clamp(1.1rem, 3vw, 2.05rem); }
.request-form, .stack-form { display: grid; gap: 1.15rem; }
.field-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
.field { display: grid; grid-template-columns: minmax(0, 1fr); gap: .46rem; min-width: 0; }
.field label { font-size: .95rem; font-weight: 610; }
.field input, .field select, .field textarea {
    width: 100%;
    min-width: 0;
    min-height: 2.92rem;
    color: var(--ink);
    background: #0b141a;
    border: 1px solid #51656d;
    border-radius: .47rem;
    padding: .65rem .72rem;
    font-size: 1rem;
}
.field select {
    appearance: none;
    padding-right: 2rem;
    background-image: linear-gradient(45deg, transparent 50%, #bfd8d5 50%), linear-gradient(135deg, #bfd8d5 50%, transparent 50%);
    background-position: calc(100% - 1.05rem) 50%, calc(100% - .74rem) 50%;
    background-size: .32rem .32rem, .32rem .32rem;
    background-repeat: no-repeat;
}
.field input[type="file"] { padding: .46rem .58rem; }
.field input::file-selector-button { font: inherit; font-size: .875rem; color: #e4f0ed; background: #253840; border: 0; padding: .4rem .58rem; border-radius: .3rem; margin-right: .55rem; cursor: pointer; }
.field textarea { resize: vertical; min-height: 7rem; }
.field small, .form-note, .copy-feedback { font-size: .875rem; color: var(--muted); line-height: 1.5; }
.field .field-error { color: #ffb4b1; }
.field [aria-invalid="true"] { border-color: #ce8079; }
.challenge { min-width: 0; }
.verification-status { margin-top: 0; font-size: .9rem; color: var(--muted); }
.form-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .95rem; padding-top: .3rem; }
.form-note { max-width: 20rem; }
.alert { border-radius: .55rem; padding: .83rem .95rem; margin-block: 0 1rem; line-height: 1.55; }
.alert.success { background: #152d27; color: #d1f6e5; border: 1px solid #3e6659; }
.alert.error { background: #321d24; border: 1px solid #744951; color: #ffe1dc; }
.alert ul { margin-block: .4rem 0; padding-left: 1.2rem; }
.alert p { margin-bottom: .35rem; }
.alert code { display: inline-block; margin-right: .55rem; overflow-wrap: anywhere; }
.stack-form .alert { margin: 0; }
.stack-form .button { justify-self: start; }
.compact-section { max-width: 40rem; padding-block: clamp(3rem, 7vw, 6rem); }
.compact-section h1 { font-size: clamp(2.55rem, 5.2vw, 4.3rem); }
.compact-section .form-panel { margin-top: 1.45rem; }
.result-panel h1 { margin-top: .7rem; }
.result-panel > p { color: var(--muted); margin: .85rem 0 1.25rem; }
.receipt-data { border-block: 1px solid var(--line); margin-block: 1.1rem 1.45rem; padding-block: .9rem; display: grid; gap: .7rem; }
.receipt-data div { display: grid; grid-template-columns: minmax(7rem, .45fr) minmax(0, 1fr); align-items: center; gap: .4rem; }
.receipt-data dt { color: var(--muted); }
.receipt-data dd { margin: 0; overflow-wrap: anywhere; }
.receipt-data code { font-size: .96rem; font-weight: 650; color: #d6f1e8; }

.management, .ticket-section, .policy { padding-block: clamp(2.6rem, 5.5vw, 5rem); }
.management h1, .ticket-head h1, .policy h1 { font-size: clamp(2.45rem, 5.1vw, 4.6rem); }
.management-head, .ticket-head { display: flex; align-items: start; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.55rem; }
.queue-filter { display: flex; align-items: end; flex-wrap: wrap; gap: .85rem; padding: 1.15rem; margin-bottom: 1.3rem; }
.queue-filter .field { flex: 1 1 9rem; }
.queue-filter .text-link { align-self: center; }
.queue-total { color: var(--muted); margin: 0 0 .6rem; }
.queue-item { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(5rem, .4fr) minmax(8rem, .55fr) minmax(9rem, .65fr); align-items: center; column-gap: 1rem; padding: 1.05rem 1.15rem; }
.queue-item + .queue-item { border-top: 1px solid var(--line); }
.queue-item p, .queue-time, .queue-kind { color: var(--muted); font-size: .9rem; }
.queue-title { font-weight: 635; text-underline-offset: .19em; overflow-wrap: anywhere; }
.queue-title:hover { color: #bdf2dc; }
.state { border-radius: 1rem; padding: .31rem .66rem; font-size: .865rem; color: #caeee0; background: #294139; white-space: nowrap; justify-self: start; align-self: start; }
.state-review { color: #d4eaff; background: #203d56; }
.state-waiting { color: #ffe2ae; background: #4d3a1c; }
.state-closed { color: #e1e9e9; background: #314149; }
.state-resolved { color: #d5f8e4; background: #244638; }
.empty { padding: 1.25rem; color: var(--muted); }
.pagination { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 1.2rem; }
.ticket-head h1 { overflow-wrap: anywhere; margin-top: .35rem; }
.ticket-head .state { margin-top: .4rem; }
.ticket-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 1.2rem; align-items: start; }
.ticket-aside { display: grid; gap: .9rem; min-width: 0; }
.timeline h2, .ticket-aside h2 { font-size: 1.5rem; letter-spacing: -.045em; }
.timeline ol { padding: 0; list-style: none; margin-block: .85rem; }
.timeline-entry { padding-block: .9rem; border-bottom: 1px solid var(--line); }
.entry-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .35rem; }
.entry-head span, .attachments span { font-size: .87rem; color: var(--muted); }
.user-text { white-space: pre-wrap; overflow-wrap: anywhere; margin-top: .5rem; }
.attachments { padding-left: 1.1rem; line-height: 1.6; }
.attachments li { overflow-wrap: anywhere; }
.small-form { padding-top: .35rem; }
.details-card dl { display: grid; gap: .35rem; margin: .8rem 0 0; }
.details-card dt { color: var(--muted); font-size: .875rem; }
.details-card dd { margin: 0 0 .35rem; overflow-wrap: anywhere; }
.key-settings summary { cursor: pointer; font-weight: 610; }
.key-settings p { margin: .6rem 0 .75rem; color: var(--muted); }
.policy { max-width: 46rem; }
.policy h2 { font-size: 1.55rem; margin-top: 1.7rem; }
.policy p { margin-top: .7rem; color: var(--muted); }

@media (max-width: 47rem) {
    .form-layout, .ticket-grid { grid-template-columns: 1fr; }
    .header-layout { min-height: 4.05rem; gap: .6rem; flex-wrap: wrap; }
    .main-nav { flex: 1 0 100%; justify-content: space-between; gap: .3rem; flex-wrap: wrap; padding-bottom: .65rem; }
    .main-nav a { font-size: .9rem; padding-block: .45rem; }
    .menu-ready .main-nav { display: none; }
    .menu-ready .main-nav.menu-open { display: flex; }
    .form-layout { gap: 1.5rem; }
    .support-options { gap: .95rem; }
    .queue-item { grid-template-columns: minmax(0, 1fr) auto; gap: .45rem .7rem; }
    .queue-item > div { grid-column: 1 / -1; }
    .queue-time { grid-column: 1 / -1; }
    .queue-kind { align-self: center; }
    .management-head, .ticket-head { flex-wrap: wrap; }
    .footer-top { align-items: start; flex-direction: column; gap: 1rem; }
    .footer-nav { flex-wrap: wrap; gap: .55rem 1.1rem; }
}
@media (max-width: 34rem) {
    :root { --shell-gap: 1rem; }
    .field-pair, .support-options { grid-template-columns: 1fr; }
    .support-option { min-height: 0; }
    .receipt-data div { grid-template-columns: minmax(0, 1fr); }
    .brand-link img { width: 9.7rem; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; }
}


.footer-meta { display: flex; gap: 1rem; }
.contact-channel { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.55rem; }
.contact-channel a { display: inline-block; border: 1px solid var(--line); padding: .65rem .84rem; border-radius: .5rem; color: #d3e6e1; text-decoration: none; font-size: .92rem; font-weight: 590; }
.contact-channel a[aria-current="page"] { color: #142821; background: #bdf2dc; border-color: #bdf2dc; }
.contact-channel a:not([aria-current]):hover { background: #1f3334; }
.form-intro .contact-follow { font-size: .94rem; margin-top: 1rem; }


.portal-page main {
    background: radial-gradient(ellipse at 72% 5%, #12242a 0, #0b151b 35%, var(--paper) 73%);
}
.portal-page .site-header { border-bottom: 1px solid #2a3d43; }
.portal-page .site-footer { border-top: 1px solid #2a3d43; }
.portal-page .main-nav a { color: #dcebe8; }
.portal-page .main-nav .nav-support[aria-current="page"] {
    background: #19302c;
    border-color: #476b62;
    color: #ddfcef;
    text-decoration: none;
}
.form-layout.ticket-compose {
    grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
    gap: clamp(2.5rem, 6vw, 5.25rem);
}
.ticket-compose .form-intro { padding-top: .65rem; }
.ticket-compose .form-intro h1 { font-size: clamp(2.75rem, 5.35vw, 4.65rem); text-wrap: balance; }
.ticket-compose .form-intro > p { max-width: 24rem; }
.ticket-compose .form-panel, .result-panel {
    border-color: #344a50;
    background: linear-gradient(165deg, #152229, #101a21 60%);
    box-shadow: 0 18px 56px #05090c65;
}
.ticket-promises {
    display: grid;
    gap: 1.2rem;
    list-style: none;
    padding: 1.45rem 0 0;
    margin: 1.65rem 0 0;
    border-top: 1px solid #2c424a;
    max-width: 25rem;
}
.ticket-promises li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: .78rem; align-items: start; }
.ticket-promises strong { display: block; font-size: .99rem; font-weight: 625; }
.ticket-promises small { display: block; color: var(--muted); font-size: .9rem; line-height: 1.5; margin-top: .14rem; }
.promise-icon { display: grid; place-items: center; width: 2rem; height: 2rem; border: 1px solid #38585b; border-radius: .45rem; color: #bdf2dc; background: #193231; }
.promise-icon::before, .promise-icon::after { content: ""; grid-area: 1/1; }
.promise-mail::before { width: .89rem; height: .66rem; border: 1px solid currentColor; border-radius: .13rem; }
.promise-mail::after { width: .47rem; height: .47rem; border: solid currentColor; border-width: 0 1px 1px 0; transform: translateY(-.13rem) rotate(45deg); }
.promise-lock::before { width: .56rem; height: .50rem; border: 1px solid currentColor; border-radius: .24rem .24rem 0 0; transform: translateY(-.30rem); }
.promise-lock::after { width: .89rem; height: .65rem; border: 1px solid currentColor; border-radius: .13rem; background: #193231; transform: translateY(.19rem); }
.promise-history::before { border: 1px solid currentColor; width: .88rem; height: .88rem; border-radius: 50%; }
.promise-history::after { border: solid currentColor; border-width: 0 0 1px 1px; width: .27rem; height: .32rem; transform: translate(.09rem, -.14rem); }
.ticket-compose .contact-follow { margin-top: 1.55rem; }
.request-group { display: grid; grid-template-columns: minmax(0, 1fr); gap: .92rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.request-group legend { padding: 0; margin-bottom: .85rem; font-size: 1.14rem; font-weight: 640; letter-spacing: -.025em; color: #f0f8f6; }
.request-group + .request-group { margin-top: .32rem; }
.request-form .field textarea { min-height: 6.6rem; }
.field select:invalid { color: #a7bdc0; }
.form-panel .form-bottom { border-top: 1px solid #34494e; padding-top: .98rem; }
.verification-status:empty { display: none; }
.attachment-control { position: relative; min-width: 0; }
.attachment-control input.sr-only { width: 1px; min-height: 1px; padding: 0; border: 0; }
.attachment-picker {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: .75rem;
    padding: .32rem;
    background: #0b141a;
    border: 1px solid #51656d;
    border-radius: .47rem;
}
.attachment-picker .button {
    flex-shrink: 0;
    min-height: 2rem;
    padding: .39rem .7rem;
    border-color: #3e565c;
    background: #243941;
    font-size: .85rem;
}
.attachment-picker .button:hover { background: #304b51; }
.attachment-picker span {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--muted);
    font-size: .84rem;
}
.mail-entry h1 { margin-top: 0; }
.mail-entry form { display: grid; gap: 1rem; margin-top: .9rem; }
.mail-entry form p { color: var(--muted); }
.mail-entry form .button { justify-self: start; }
.mail-manual { display: inline-block; margin-top: 1.1rem; }
.result-panel .preview-mail { font-size: .875rem; color: #b4caca; }
.portal-page .timeline-entry:first-child { border-top: 1px solid var(--line); }
.portal-page .support-option { min-height: 16.9rem; }
.portal-page .field input::placeholder { color: #91a6ab; opacity: 1; }

@media (max-width: 54rem) {
    .form-layout.ticket-compose { grid-template-columns: 1fr; gap: 1.75rem; }
    .ticket-compose .form-intro { padding-top: 0; }
    .ticket-promises { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
}
@media (max-width: 47rem) {
    .portal-page .header-layout { min-height: 4.15rem; }
    .portal-page.menu-ready .header-layout { flex-wrap: nowrap; }
    .portal-page.menu-ready .main-nav.menu-open {
        position: absolute;
        inset: 100% 0 auto;
        padding: .8rem var(--shell-gap);
        gap: .65rem 1.35rem;
        justify-content: flex-start;
        background: #0c171c;
        border-bottom: 1px solid #435d5b;
    }
}
@media (max-width: 34rem) {
    .ticket-promises { grid-template-columns: 1fr; gap: 1rem; }
    .portal-page .support-option { min-height: 0; }
    .ticket-compose .form-bottom .button { width: 100%; }
}
