/* ==========================================================================
   Autopublish AI — "v2" interface.
   No build step, by design: this file is served exactly as written.

   Covers every class the classic stylesheet defines, so switching themes
   never leaves an element unstyled. Revert by setting UI_THEME=classic.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    /* Surfaces — warm-tinted neutrals rather than pure grey, which reads as
       cheap on a white screen. */
    --bg: #f7f8fb;
    --bg-sunk: #eef0f6;
    --surface: #ffffff;
    --surface-2: #fbfcfe;
    --border: #e6e9f0;
    --border-strong: #d4d9e4;

    --text: #11141a;
    --text-soft: #414855;
    --muted: #6b7280;

    /* One accent, used sparingly. The gradient is the only flourish, so it
       has to earn its place: primary buttons, the featured plan, headings. */
    --brand: #5b4bf5;
    --brand-dark: #4436e0;
    --brand-soft: #eeecff;
    --brand-2: #9b4bf5;
    --gradient: linear-gradient(135deg, #5b4bf5 0%, #9b4bf5 55%, #d946a8 100%);

    --good: #047857;
    --good-bg: #e8f8f1;
    --warn: #b45309;
    --warn-bg: #fdf5e6;
    --bad: #be123c;
    --bad-bg: #fdeef1;

    --radius: 14px;
    --radius-sm: 9px;
    --radius-lg: 20px;

    /* Layered rather than a single blur — the cheap giveaway of an amateur
       interface is one flat drop shadow everywhere. */
    --shadow-sm: 0 1px 2px rgba(17, 20, 26, .04), 0 1px 3px rgba(17, 20, 26, .06);
    --shadow: 0 2px 4px rgba(17, 20, 26, .03), 0 6px 16px -4px rgba(17, 20, 26, .08);
    --shadow-lg: 0 8px 20px -6px rgba(17, 20, 26, .12), 0 20px 48px -12px rgba(17, 20, 26, .14);
    --shadow-brand: 0 6px 18px -4px rgba(91, 75, 245, .35);

    --ease: cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'cv11', 'ss01';
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

h1, h2, h3 {
    line-height: 1.2;
    margin: 0 0 .5em;
    letter-spacing: -.021em;
    font-weight: 700;
}

h1 { font-size: 1.75rem; }
h2 { font-size: 1.2rem; }
h3 { font-size: 1.02rem; }

code {
    font-family: ui-monospace, 'SF Mono', Consolas, Monaco, monospace;
    font-size: .88em;
    background: var(--bg-sunk);
    padding: .12em .42em;
    border-radius: 5px;
    border: 1px solid var(--border);
}

::selection { background: var(--brand-soft); color: var(--brand-dark); }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 22px; }
.wrap--narrow { max-width: 560px; }

/* ---------------------------------------------------------------- Top bar */

.topbar {
    background: rgba(255, 255, 255, .82);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 30;
}

.topbar__inner {
    display: flex;
    align-items: center;
    gap: 26px;
    height: 64px;
}

.brand {
    font-weight: 800;
    font-size: 1.06rem;
    color: var(--text);
    letter-spacing: -.03em;
    white-space: nowrap;
}

.brand span {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav { display: flex; gap: 4px; flex: 1; flex-wrap: wrap; }

.nav a {
    color: var(--muted);
    font-weight: 500;
    font-size: .92rem;
    padding: 7px 12px;
    border-radius: var(--radius-sm);
    transition: background .15s var(--ease), color .15s var(--ease);
}

.nav a:hover { color: var(--text); background: var(--bg-sunk); }

.nav a.is-active {
    color: var(--brand-dark);
    background: var(--brand-soft);
    font-weight: 600;
}

/* ----------------------------------------------------------------- Layout */

.page { padding: 34px 0 72px; }

.page__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.page__head h1 { margin-bottom: 2px; }
.page__head p { margin: 0; color: var(--muted); }

.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }

/* ------------------------------------------------------------------ Cards */

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 22px;
    transition: box-shadow .2s var(--ease), border-color .2s var(--ease);
}

.card:hover { box-shadow: var(--shadow); }

.card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.card__head h2, .card__head h3 { margin: 0; }

.stat__label {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--muted);
    font-weight: 700;
}

.stat__value {
    font-size: 2rem;
    font-weight: 750;
    margin-top: 6px;
    letter-spacing: -.03em;
    font-variant-numeric: tabular-nums;
}

.stat__hint { color: var(--muted); font-size: .84rem; margin-top: 2px; }

.empty {
    color: var(--muted);
    text-align: center;
    padding: 34px 20px;
    font-size: .93rem;
}

/* ----------------------------------------------------------------- Tables */

.table-scroll { overflow-x: auto; margin: 0 -4px; padding: 0 4px; }

table.data {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
}

table.data th, table.data td {
    text-align: left;
    padding: 12px 13px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

table.data th {
    font-size: .69rem;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--muted);
    font-weight: 700;
    background: var(--surface-2);
    white-space: nowrap;
    border-bottom-color: var(--border-strong);
}

table.data tbody tr { transition: background .12s var(--ease); }
table.data tbody tr:hover { background: var(--surface-2); }
table.data tr:last-child td { border-bottom: 0; }

/* ------------------------------------------------------------------ Pills */

.pill {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: .73rem;
    font-weight: 650;
    white-space: nowrap;
    border: 1px solid transparent;
}

.pill--good  { background: var(--good-bg); color: var(--good); border-color: rgba(4, 120, 87, .16); }
.pill--warn  { background: var(--warn-bg); color: var(--warn); border-color: rgba(180, 83, 9, .16); }
.pill--bad   { background: var(--bad-bg);  color: var(--bad);  border-color: rgba(190, 18, 60, .16); }
.pill--muted { background: var(--bg-sunk); color: var(--muted); border-color: var(--border); }

/* Used in the billing views but never defined in the classic stylesheet. */
.pill--paid { background: var(--good-bg); color: var(--good); border-color: rgba(4, 120, 87, .16); }
.pill--due  { background: var(--warn-bg); color: var(--warn); border-color: rgba(180, 83, 9, .16); }

/* ------------------------------------------------------------------ Forms */

label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: .86rem;
    color: var(--text-soft);
}

input[type=text], input[type=email], input[type=password], input[type=url],
input[type=number], input[type=time], input[type=date], select, textarea {
    width: 100%;
    padding: 10px 13px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    font: inherit;
    font-size: .92rem;
    background: var(--surface);
    color: var(--text);
    transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}

input::placeholder, textarea::placeholder { color: #a6acba; }

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3.5px rgba(91, 75, 245, .14);
}

select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M1.4 0 6 4.6 10.6 0 12 1.4 6 7.4 0 1.4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 34px;
}

textarea {
    min-height: 130px;
    resize: vertical;
    font-family: ui-monospace, 'SF Mono', Consolas, Monaco, monospace;
    font-size: .85rem;
    line-height: 1.6;
}

.field { margin-bottom: 17px; }
.field .hint { color: var(--muted); font-size: .8rem; margin-top: 5px; }
.field .error { color: var(--bad); font-size: .8rem; margin-top: 5px; font-weight: 500; }

.field-row { display: grid; gap: 15px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

.check { display: flex; align-items: center; gap: 9px; }
.check label { margin: 0; font-weight: 500; color: var(--text); }
.check input { width: auto; accent-color: var(--brand); }

/* ---------------------------------------------------------------- Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 17px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-strong);
    background: var(--surface);
    color: var(--text);
    font: inherit;
    font-size: .89rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: transform .12s var(--ease), box-shadow .15s var(--ease),
                background .15s var(--ease), border-color .15s var(--ease);
}

.btn:hover {
    background: var(--surface-2);
    color: var(--text);
    border-color: var(--muted);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn:active { transform: translateY(0); }

.btn--primary {
    background: var(--gradient);
    border-color: transparent;
    color: #fff;
    box-shadow: var(--shadow-brand);
}

.btn--primary:hover {
    /* The gradient has to be restated. Without it the base .btn:hover rule
       repaints the button with a near-white surface and the white label
       vanishes into it. */
    background: var(--gradient);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 24px -4px rgba(91, 75, 245, .48);
    filter: saturate(115%);
}

/* Same trap for the destructive variant. */
.btn--danger:hover { background: var(--bad-bg); }

.btn--danger { color: var(--bad); border-color: rgba(190, 18, 60, .28); background: var(--surface); }
.btn--danger:hover { background: var(--bad-bg); color: var(--bad); border-color: var(--bad); }

.btn--sm { padding: 6px 12px; font-size: .82rem; }

.btn[disabled], .btn.is-disabled {
    opacity: .5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-row { display: flex; gap: 9px; flex-wrap: wrap; align-items: center; }

/* ----------------------------------------------------------------- Alerts */

.alert {
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 3px solid var(--brand);
    box-shadow: var(--shadow-sm);
    font-size: .92rem;
}

.alert--success { border-left-color: var(--good); background: var(--good-bg); border-color: rgba(4, 120, 87, .16); }
.alert--error   { border-left-color: var(--bad);  background: var(--bad-bg);  border-color: rgba(190, 18, 60, .16); }
.alert--warn    { border-left-color: var(--warn); background: var(--warn-bg); border-color: rgba(180, 83, 9, .16); }

/* ---------------------------------------------------------- Licence key box */

.keybox {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    background: linear-gradient(145deg, #171b26 0%, #0d1018 100%);
    color: #e6e9f2;
    padding: 15px 17px;
    border-radius: var(--radius-sm);
    font-family: ui-monospace, 'SF Mono', Consolas, Monaco, monospace;
    font-size: 1.02rem;
    letter-spacing: 1.1px;
    word-break: break-all;
    border: 1px solid #262c3a;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.keybox button {
    margin-left: auto;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .14);
    color: #fff;
    padding: 6px 13px;
    border-radius: 7px;
    cursor: pointer;
    font: inherit;
    font-size: .78rem;
    letter-spacing: 0;
    font-weight: 600;
    transition: background .15s var(--ease);
}

.keybox button:hover { background: rgba(255, 255, 255, .2); }

/* ------------------------------------------------------------------- Hero */

.hero {
    text-align: center;
    padding: 64px 20px 52px;
    position: relative;
    isolation: isolate;
}

/* Soft colour wash behind the headline. Pointer-events off so it can never
   swallow a click on the controls sitting above it. */
.hero::before {
    content: '';
    position: absolute;
    inset: -20% 50% auto 50%;
    width: min(760px, 92vw);
    height: 420px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center,
                rgba(91, 75, 245, .13) 0%,
                rgba(217, 70, 168, .08) 42%,
                transparent 70%);
    filter: blur(14px);
    z-index: -1;
    pointer-events: none;
}

.hero h1 {
    font-size: clamp(2rem, 5.2vw, 3.3rem);
    line-height: 1.08;
    letter-spacing: -.04em;
    font-weight: 800;
    max-width: 16ch;
    margin: 0 auto 18px;
}

.hero p {
    color: var(--text-soft);
    font-size: clamp(1rem, 1.7vw, 1.14rem);
    line-height: 1.65;
    max-width: 60ch;
    margin: 0 auto 26px;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 15px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    font-size: .8rem;
    font-weight: 600;
    color: var(--text-soft);
    margin-bottom: 22px;
}

.hero__eyebrow::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--good);
    box-shadow: 0 0 0 3px rgba(4, 120, 87, .16);
}

.hero__accent {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ------------------------------------------------------------ Plan cards */

.plan {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: var(--shadow-sm);
    transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}

.plan:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-strong);
}

.plan h2 { margin: 0; font-size: 1.1rem; letter-spacing: -.02em; }

.plan ul {
    list-style: none;
    padding: 0;
    margin: 4px 0 0;
    font-size: .9rem;
    color: var(--text-soft);
    flex: 1;
}

.plan li {
    padding: 7px 0 7px 26px;
    position: relative;
}

.plan li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='9' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%235b4bf5' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M2 6.3 4.8 9 10 3.2'/%3E%3C/svg%3E") no-repeat center;
}

.plan__price {
    font-size: 2.45rem;
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.05;
    margin: 6px 0 0;
    font-variant-numeric: tabular-nums;
}

.plan__price small {
    font-size: .88rem;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0;
}

.plan .btn { width: 100%; margin-top: 4px; padding: 12px 18px; }

/* The featured plan gets a gradient edge drawn with a mask, so the border
   itself is coloured rather than faking it with an outer glow. */
.plan--featured {
    position: relative;
    border-color: transparent;
    box-shadow: var(--shadow);
}

.plan--featured::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.6px;
    background: var(--gradient);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.plan--featured::after {
    content: 'Most popular';
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 4px 13px;
    border-radius: 999px;
    box-shadow: var(--shadow-brand);
    white-space: nowrap;
}

/* ------------------------------------------------------------------ Meter */

.meter {
    height: 8px;
    background: var(--bg-sunk);
    border-radius: 999px;
    overflow: hidden;
}

.meter__fill {
    height: 100%;
    background: var(--gradient);
    border-radius: 999px;
    transition: width .5s var(--ease);
}

.meter__fill--warn { background: linear-gradient(90deg, #d97706, #f59e0b); }
.meter__fill--bad  { background: linear-gradient(90deg, #be123c, #f43f5e); }

/* ------------------------------------------------------------------- Logs */

.log--warning { color: var(--warn); }
.log--error { color: var(--bad); }

/* ------------------------------------------------------------ Auth screens */

.auth {
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background:
        radial-gradient(ellipse 620px 440px at 50% -8%, rgba(91, 75, 245, .12), transparent 62%),
        var(--bg);
}

.auth__card { width: 100%; max-width: 420px; }

.auth__card .card {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 28px;
}

/* ------------------------------------------------------------ Legal pages */

.legal { max-width: 760px; margin: 0 auto; line-height: 1.75; color: var(--text-soft); }

.legal h1 { margin: 0 0 6px; font-size: 2rem; letter-spacing: -.035em; color: var(--text); }
.legal h2 { margin: 38px 0 10px; font-size: 1.04rem; font-weight: 700; color: var(--text); }

.legal p, .legal ul { margin: 0 0 15px; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal strong { color: var(--text); font-weight: 650; }

.legal__updated { color: var(--muted); font-size: .86rem; margin-bottom: 26px !important; }

.legal__credit {
    font-size: .85rem;
    color: var(--muted);
    padding: 13px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

/* ----------------------------------------------------------------- Footer */

.site-footer {
    margin-top: 72px;
    padding: 26px 0 40px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: .85rem;
}

.site-footer__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 26px;
}

.site-footer p { margin: 0; }

.site-footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }

.site-footer a { color: inherit; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }

/* ----------------------------------------------------------------- Helpers */

.muted { color: var(--muted); }
.mono { font-family: ui-monospace, 'SF Mono', Consolas, Monaco, monospace; }
.nowrap { white-space: nowrap; }
.right { text-align: right; }

/* --------------------------------------------------------- Theme switcher */

.theme-switch {
    position: fixed;
    right: 16px;
    bottom: 16px;
    opacity: .45;
    transition: opacity .18s var(--ease);
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 6px 8px 6px 14px;
    box-shadow: var(--shadow-lg);
    font-size: .78rem;
    color: var(--muted);
}

.theme-switch a {
    padding: 4px 11px;
    border-radius: 999px;
    font-weight: 600;
    color: var(--muted);
}

.theme-switch:hover { opacity: 1; }

.theme-switch a.is-active { background: var(--brand-soft); color: var(--brand-dark); }

@media (max-width: 640px) {
    .theme-switch { right: 10px; bottom: 10px; font-size: .72rem; padding: 5px 6px 5px 11px; }
}

/* ------------------------------------------------------------ Small screens */

@media (max-width: 760px) {
    .topbar__inner { height: auto; padding: 12px 0; flex-wrap: wrap; gap: 12px; }
    /* flex:1 above beats width:100%, so the basis has to be set outright
       or the nav sits inline after the sign-up button. */
    .nav { order: 3; flex: 0 0 100%; gap: 2px; }
    .nav a { padding: 6px 10px; font-size: .88rem; }
    .page { padding: 24px 0 56px; }
    .hero { padding: 40px 12px 34px; }
    .plan { padding: 24px 20px; }
    .site-footer__inner { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}

/* -------------------------------------------------- Marketing sections */

.section { margin-top: 56px; }

.section__head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 28px;
}

.section__head h2 {
    font-size: clamp(1.35rem, 2.6vw, 1.85rem);
    letter-spacing: -.03em;
    margin-bottom: 8px;
}

.section__head p { margin: 0; font-size: .96rem; }

.usecase {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow-sm);
    transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}

.usecase:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.usecase h3 {
    margin: 0 0 7px;
    font-size: 1rem;
    letter-spacing: -.015em;
}

.usecase p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.62; }

.feature h3 {
    margin: 0 0 7px;
    font-size: 1rem;
    letter-spacing: -.015em;
}

.feature p { margin: 0; font-size: .9rem; line-height: 1.62; }

/* ------------------------------------------------------- Support page */

.support {
    display: grid;
    grid-template-columns: minmax(280px, 380px) 1fr;
    gap: 26px;
    align-items: start;
}

.support__intro h1 {
    font-size: clamp(1.7rem, 3.4vw, 2.2rem);
    letter-spacing: -.035em;
    margin-bottom: 8px;
}

.support__intro > p { font-size: .96rem; margin-bottom: 22px; }

.support__aside h2 { font-size: .95rem; margin-bottom: 12px; }

.support__links {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    font-size: .88rem;
    color: var(--muted);
    line-height: 1.6;
}

.support__links li { padding: 0 0 13px; }
.support__links li:last-child { padding-bottom: 0; }
.support__links strong { display: block; color: var(--text); font-weight: 650; margin-bottom: 2px; }

.support__form { padding: 26px; }

.support__challenge {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 15px 16px;
}

.support__challenge label { font-size: .92rem; color: var(--text); }

/* The honeypot must be unreachable for people and assistive technology, but
   still a real, fillable field in the DOM for a bot to take the bait.
   display:none is avoided because some bots skip hidden inputs. */
.hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 820px) {
    .support { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------- Auth screens */

.auth__aside {
    text-align: center;
    margin-top: 16px;
    font-size: .88rem;
    color: var(--muted);
}
