/* ══════════════════════════════════════════════════════════════
   ATSHack | dark / refined / cool
   Host Grotesk (UI) · Instrument Serif (display italic) · JetBrains Mono (meta)
   Lime accent against deep obsidian. Built for speed, priced for one dollar.
   ══════════════════════════════════════════════════════════════ */

:root {
    /* Background stack */
    --bg-0:         #07080a;
    --bg-1:         #0c0e12;
    --bg-2:         #12151b;
    --bg-3:         #1a1e26;
    --bg-4:         #232832;

    /* Text */
    --ink-0:        #f5f6f8;
    --ink-1:        #d1d5dc;
    --ink-2:        #9097a3;
    --ink-3:        #61697a;
    --ink-4:        #3a4150;

    /* Accent | electric lime */
    --accent:       #c5ff4a;
    --accent-2:     #a8e635;
    --accent-dim:   rgba(197, 255, 74, 0.12);
    --accent-glow:  rgba(197, 255, 74, 0.35);

    /* Lines */
    --line:         #1c2028;
    --line-strong:  #2a303c;

    /* Status */
    --success:      #7bdf8a;
    --danger:       #ff6a5a;

    /* Type */
    --f-ui:         'Host Grotesk', -apple-system, 'Helvetica Neue', Arial, sans-serif;
    --f-display:    'Instrument Serif', 'Times New Roman', serif;
    --f-mono:       'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;

    /* Motion */
    --ease:         cubic-bezier(0.2, 0.8, 0.2, 1);
    --easeOut:      cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    padding: 0;
    background: var(--bg-0);
    color: var(--ink-1);
    font-family: var(--f-ui);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}
a { color: inherit; }
button, input, textarea { font: inherit; }
img, svg { max-width: 100%; display: block; }

::selection { background: var(--accent); color: var(--bg-0); }

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 2px;
}

/* ── BACKGROUND LAYERS ──────────────────────────────────────── */
.bg-grid {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        linear-gradient(to right,  rgba(255,255,255,0.018) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.018) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 100% 80% at 50% 0%, #000 40%, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse 100% 80% at 50% 0%, #000 40%, transparent 85%);
}
.bg-glow {
    position: fixed;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    max-width: 1200px;
    aspect-ratio: 1 / 0.55;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(
        ellipse at center,
        var(--accent-glow) 0%,
        rgba(197, 255, 74, 0.08) 30%,
        transparent 70%
    );
    filter: blur(60px);
    opacity: 0.55;
}
.bg-noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.06;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='3'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
    background-size: 180px 180px;
}

/* All content sits above bg layers */
.nav, main, .footer { position: relative; z-index: 2; }

/* ══════════════════════════════ NAV ══════════════════════════════ */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    background: rgba(7, 8, 10, 0.65);
    border-bottom: 1px solid var(--line);
}
.nav-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0.85rem clamp(1rem, 3vw, 2rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    color: var(--ink-0);
    font-family: var(--f-ui);
    font-weight: 600;
    font-size: 1.02rem;
    letter-spacing: -0.01em;
}
.brand-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(197, 255, 74, 0.18), 0 0 14px var(--accent-glow);
    flex-shrink: 0;
    animation: brand-pulse 2.4s ease-in-out infinite;
}
@keyframes brand-pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(197, 255, 74, 0.18), 0 0 14px var(--accent-glow); }
    50%      { box-shadow: 0 0 0 5px rgba(197, 255, 74, 0.08), 0 0 22px var(--accent-glow); }
}
.brand-name em {
    font-style: normal;
    color: var(--accent);
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.92rem;
    color: var(--ink-2);
}
.nav-links a {
    text-decoration: none;
    padding: 0.55rem 0.9rem;
    color: var(--ink-2);
    transition: color 0.15s var(--ease);
    border-radius: 6px;
}
.nav-links a:not(.nav-cta):hover { color: var(--ink-0); }
.nav-cta {
    background: var(--accent);
    color: var(--bg-0) !important;
    font-weight: 600;
    padding: 0.55rem 0.95rem !important;
    margin-left: 0.4rem;
    transition: all 0.18s var(--ease);
}
.nav-cta:hover {
    background: var(--accent-2);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(197, 255, 74, 0.24);
}
.mobile-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--line-strong);
    padding: 0.5rem 0.6rem;
    cursor: pointer;
    border-radius: 6px;
}
.mobile-toggle span {
    display: block; width: 18px; height: 2px;
    background: var(--ink-1);
    margin: 3px 0;
    border-radius: 2px;
}
@media (max-width: 860px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        right: 1rem;
        flex-direction: column;
        align-items: stretch;
        gap: 0.1rem;
        padding: 0.6rem;
        background: var(--bg-1);
        border: 1px solid var(--line);
        border-radius: 10px;
        min-width: 200px;
    }
    .nav-links.open { display: flex; }
    .nav-cta { margin-left: 0; margin-top: 0.3rem; text-align: center; }
    .mobile-toggle { display: block; }
}

/* ══════════════════════════════ HERO ══════════════════════════════ */
.hero {
    padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 4vw, 2rem) clamp(3rem, 6vw, 5rem);
    position: relative;
}
.hero-grid {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 5vw, 4rem);
    align-items: start;
}
@media (max-width: 940px) {
    .hero-grid { grid-template-columns: 1fr; }
}

.hero-copy > * {
    animation: rise 0.9s both var(--easeOut);
}
.hero-copy .hero-tag   { animation-delay: 0.05s; }
.hero-copy .hero-title { animation-delay: 0.15s; }
.hero-copy .hero-lede  { animation-delay: 0.3s;  }
.hero-copy .hero-points{ animation-delay: 0.45s; }

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.4rem 0.75rem 0.4rem 0.55rem;
    background: var(--bg-1);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-family: var(--f-mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--ink-2);
    margin-bottom: 1.5rem;
}
.hero-tag__sep { color: var(--ink-4); }
.live-dot {
    width: 7px; height: 7px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-glow);
    animation: brand-pulse 1.8s ease-in-out infinite;
}

.hero-title {
    font-family: var(--f-display);
    font-weight: 400;
    font-size: clamp(2.8rem, 7.5vw, 6.2rem);
    line-height: 0.98;
    letter-spacing: -0.022em;
    margin: 0 0 1.5rem;
    color: var(--ink-0);
    text-wrap: balance;
}
.hero-title em {
    font-style: italic;
    color: var(--ink-2);
}
.hero-title-line {
    display: block;
    margin-top: 0.1em;
}
.dollar {
    color: var(--accent);
    font-style: normal;
    position: relative;
    display: inline-block;
    padding: 0 0.08em;
    text-shadow: 0 0 40px var(--accent-glow);
}
.dollar::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    bottom: 0.08em;
    height: 0.08em;
    background: var(--accent);
    border-radius: 1px;
    opacity: 0.5;
}

.hero-lede {
    font-size: 1.12rem;
    line-height: 1.6;
    color: var(--ink-1);
    max-width: 34em;
    margin: 0 0 1.5rem;
}

.hero-points {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.8rem;
    font-family: var(--f-mono);
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    color: var(--ink-2);
}
.hero-points li {
    position: relative;
    padding-left: 1.2rem;
}
.hero-points li::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    width: 10px; height: 10px;
    border: 1.5px solid var(--accent);
    background: transparent;
    transform: translateY(-50%) rotate(45deg);
    box-shadow: 0 0 10px var(--accent-glow);
}

.hero-grader-cta {
    margin: 1.4rem 0 0;
    font-size: 0.92rem;
    color: var(--ink-2);
}
.hero-grader-cta a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
    padding-bottom: 1px;
    transition: border-color 0.15s ease;
}
.hero-grader-cta a:hover {
    border-bottom-color: var(--accent);
}

/* ══════════════════════════ FORM CARD ══════════════════════════ */
.form-card {
    position: relative;
    background: linear-gradient(180deg, var(--bg-1), var(--bg-2));
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    padding: 1.5rem clamp(1.2rem, 2.5vw, 2rem) 1.8rem;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.04) inset,
        0 30px 60px -20px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255,255,255,0.02);
    overflow: hidden;
    animation: rise 0.9s both 0.25s var(--easeOut);
}
.form-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}
.form-card__stripe {
    position: absolute;
    top: 0; left: 1.8rem;
    width: 3rem;
    height: 3px;
    background: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
    border-radius: 0 0 2px 2px;
}

.form-card__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 1.4rem;
    border-bottom: 1px solid var(--line);
    font-family: var(--f-mono);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    color: var(--ink-2);
}
.form-card__label {
    color: var(--accent);
    font-weight: 600;
}

.field { margin-bottom: 1.2rem; }
.field-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.55rem;
    font-size: 0.9rem;
    color: var(--ink-1);
    font-weight: 500;
}
.field-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem; height: 1.35rem;
    font-family: var(--f-mono);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--bg-0);
    background: var(--accent);
    border-radius: 5px;
    flex-shrink: 0;
}
.field-name {
    font-family: var(--f-ui);
    text-transform: none;
    letter-spacing: 0;
}
.field-hint {
    display: inline-block;
    font-family: var(--f-ui);
    font-style: italic;
    color: var(--ink-3);
    font-size: 0.78rem;
    margin-left: auto;
    text-transform: none;
    letter-spacing: 0;
}

/* Tabs */
.ri-tabs {
    display: inline-flex;
    padding: 3px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 8px;
    margin-bottom: 0.75rem;
}
.ri-tab {
    background: none;
    border: none;
    padding: 0.4rem 0.9rem;
    font-size: 0.82rem;
    color: var(--ink-2);
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.15s var(--ease);
}
.ri-tab:hover { color: var(--ink-0); }
.ri-tab.active {
    background: var(--bg-3);
    color: var(--ink-0);
    box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset;
}

/* Applications tracker */
.apps-paywall__card {
    text-align: center;
    padding: 2rem 1.4rem;
    max-width: 560px;
    margin: 0.4rem auto 0;
}
.apps-paywall__title {
    font-family: var(--f-display);
    font-style: italic;
    font-weight: 400;
    color: var(--accent);
    margin: 0.4rem 0 0.5rem;
    font-size: 1.7rem;
    line-height: 1.1;
}
.apps-paywall__btn { margin-top: 0.8rem; }

.apps-toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0.8rem;
}
.apps-add-btn {
    background: transparent;
    border: 1px dashed var(--accent);
    color: var(--accent);
    padding: 0.55rem 1rem;
    border-radius: 8px;
    font-family: var(--f-mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.15s var(--ease);
}
.apps-add-btn:hover { background: rgba(197, 255, 74, 0.08); }
.apps-empty {
    border: 1px dashed var(--line-strong);
    border-radius: 12px;
    padding: 1.4rem;
    color: var(--ink-2);
    text-align: center;
    font-size: 0.92rem;
}
.apps-list { display: flex; flex-direction: column; gap: 0.55rem; }
.apps-row {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: 0.6rem;
    align-items: center;
    padding: 0.85rem 1rem;
    background: linear-gradient(180deg, var(--bg-1), var(--bg-2));
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    transition: border-color 0.15s var(--ease);
    cursor: pointer;
}
.apps-row:hover { border-color: rgba(197, 255, 74, 0.4); }
.apps-row__main { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
.apps-row__title { color: var(--ink-0); font-weight: 600; font-size: 0.96rem; }
.apps-row__sub { color: var(--ink-2); font-size: 0.8rem; }
.apps-row__url { color: var(--accent); text-decoration: none; }
.apps-row__url:hover { text-decoration: underline; }
.apps-row__due--alert { color: #d97706; font-weight: 600; }
.apps-row__status {
    font-family: var(--f-mono);
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: var(--bg-3);
    color: var(--ink-2);
    white-space: nowrap;
}
.apps-row__status--applied   { background: rgba(150, 165, 200, 0.15); color: #9eb0d4; }
.apps-row__status--interview { background: rgba(80, 165, 255, 0.18);  color: #6ab2ff; }
.apps-row__status--offer     { background: rgba(74, 222, 128, 0.18);  color: #4ade80; }
.apps-row__status--rejected  { background: rgba(220, 80, 80, 0.18);   color: #f87171; }
.apps-row__status--ghosted   { background: rgba(180, 140, 110, 0.18); color: #c4a484; }
.apps-row__status--withdrawn { background: rgba(120, 120, 120, 0.18); color: #a0a0a0; }
.apps-row__edit {
    background: transparent;
    border: 1px solid var(--line-strong);
    color: var(--ink-2);
    padding: 0.4rem 0.85rem;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--f-mono);
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: border-color 0.15s var(--ease), color 0.15s var(--ease);
}
.apps-row__edit:hover { border-color: var(--accent); color: var(--accent); }
.apps-row__delete {
    background: transparent;
    border: 1px solid var(--line-strong);
    color: var(--ink-3);
    width: 28px;
    height: 28px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s var(--ease), color 0.15s var(--ease), background 0.15s var(--ease);
}
.apps-row__delete:hover {
    border-color: #f87171;
    color: #f87171;
    background: rgba(248, 113, 113, 0.08);
}
.apps-row__delete:disabled { opacity: 0.5; cursor: wait; }
.apps-error {
    border: 1px dashed #d97706;
    border-radius: 10px;
    padding: 1rem;
    color: #d97706;
    background: rgba(217, 119, 6, 0.06);
    margin-top: 0.6rem;
}
.account-pill--alert {
    background: rgba(217, 119, 6, 0.18);
    color: #f59f0b;
    border-color: rgba(217, 119, 6, 0.4);
}

/* Apps modal panel | narrower than the resume preview modal */
.apps-modal__panel {
    max-width: 640px;
    width: calc(100vw - 2rem);
    max-height: 90vh;
}
.apps-modal__body { padding: 1.2rem 1.4rem 1.4rem; }
.apps-form { display: flex; flex-direction: column; gap: 0.9rem; }
.apps-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
}
@media (max-width: 600px) {
    .apps-form-row { grid-template-columns: 1fr; }
    .apps-row { grid-template-columns: 1fr auto auto; }
    .apps-row__status { grid-column: 1; justify-self: start; }
    .apps-row__edit { grid-column: 2; }
    .apps-row__delete { grid-column: 3; }
}
.apps-form__actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}
.apps-form__primary { display: flex; gap: 0.6rem; }
.apps-form__delete {
    background: transparent;
    border: 1px solid rgba(220, 80, 80, 0.4);
    color: #f87171;
    padding: 0.55rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--f-mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.apps-form__delete:hover { background: rgba(220, 80, 80, 0.08); }
.apps-form__cancel {
    background: transparent;
    border: 1px solid var(--line-strong);
    color: var(--ink-2);
    padding: 0.55rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--f-mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.apps-form__cancel:hover { border-color: var(--accent); color: var(--accent); }

/* Follow-up email tool */
.fu-email { display: flex; flex-direction: column; gap: 1rem; margin-top: 0.6rem; }
.fu-email__row {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 0.4rem 0.6rem;
    align-items: start;
}
.fu-email__label {
    grid-column: 1 / -1;
    font-family: var(--f-mono);
    font-size: 0.66rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-3);
}
.fu-email__row input,
.fu-email__row textarea {
    width: 100%;
}
.fu-copy {
    align-self: stretch;
    padding: 0 0.85rem;
    border-radius: 8px;
    border: 1px solid var(--line-strong);
    background: var(--bg-2);
    color: var(--ink-1);
    cursor: pointer;
    font-family: var(--f-mono);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: border-color 0.15s var(--ease), color 0.15s var(--ease);
}
.fu-copy:hover { border-color: var(--accent); color: var(--accent); }
.fu-email__row--body .fu-copy { align-self: start; padding: 0.5rem 0.85rem; }

/* Upload zone */
.upload-zone {
    border: 1.5px dashed var(--line-strong);
    background: rgba(197, 255, 74, 0.015);
    padding: 1.6rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.18s var(--ease);
    border-radius: 10px;
    position: relative;
}
.upload-zone:hover,
.upload-zone.drag-over {
    border-color: var(--accent);
    background: var(--accent-dim);
    transform: translateY(-1px);
}
.upload-zone.file-error {
    border-color: var(--danger);
    background: rgba(255, 106, 90, 0.06);
    animation: shake 0.35s;
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}
.upload-icon {
    display: block;
    margin: 0 auto 0.45rem;
    color: var(--accent);
    stroke-width: 1.5;
    filter: drop-shadow(0 0 6px var(--accent-glow));
}
.upload-text {
    margin: 0;
    font-size: 0.98rem;
    color: var(--ink-1);
}
.upload-link {
    color: var(--accent);
    border-bottom: 1px dashed var(--accent);
    font-weight: 500;
}
.upload-hint {
    margin: 0.35rem 0 0;
    font-family: var(--f-mono);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    color: var(--ink-3);
}
.upload-zone.has-file {
    border-style: solid;
    border-color: var(--accent);
    background: var(--accent-dim);
}
.upload-done {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    justify-content: center;
    flex-wrap: wrap;
    color: var(--ink-0);
    font-size: 0.93rem;
}
.upload-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px; height: 22px;
    background: var(--accent);
    color: var(--bg-0);
    border-radius: 50%;
    font-size: 0.72rem;
    font-weight: 700;
    box-shadow: 0 0 14px var(--accent-glow);
}
.upload-remove {
    background: transparent;
    border: 1px solid var(--line-strong);
    padding: 0.25rem 0.7rem;
    font-family: var(--f-mono);
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    cursor: pointer;
    color: var(--ink-2);
    border-radius: 5px;
    transition: all 0.15s var(--ease);
}
.upload-remove:hover {
    background: var(--bg-3);
    color: var(--ink-0);
    border-color: var(--ink-3);
}

/* Textarea + inputs */
textarea, .email-input {
    width: 100%;
    border: 1px solid var(--line-strong);
    background: var(--bg-2);
    padding: 0.75rem 0.85rem;
    font-family: var(--f-ui);
    font-size: 0.95rem;
    color: var(--ink-0);
    border-radius: 8px;
    resize: vertical;
    transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease), background 0.15s var(--ease);
}
textarea:focus, .email-input:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--bg-1);
    box-shadow: 0 0 0 3px rgba(197, 255, 74, 0.12);
}
textarea {
    min-height: 110px;
    line-height: 1.55;
    font-size: 0.92rem;
}
.email-input::placeholder,
textarea::placeholder {
    color: var(--ink-3);
}

/* Addon */
.addon {
    display: flex;
    gap: 0.8rem;
    padding: 0.85rem 0.95rem;
    border: 1px solid var(--line);
    background: var(--bg-2);
    margin-bottom: 1.1rem;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.15s var(--ease);
    align-items: flex-start;
}
.addon:hover {
    border-color: var(--line-strong);
    background: var(--bg-3);
}
.addon input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.check-box {
    display: inline-block;
    width: 18px; height: 18px;
    border: 1.5px solid var(--line-strong);
    background: var(--bg-1);
    flex-shrink: 0;
    margin-top: 2px;
    position: relative;
    border-radius: 4px;
    transition: all 0.15s var(--ease);
}
.addon input:checked + .check-box {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
}
.addon input:checked + .check-box::after {
    content: '✓';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-0);
    font-size: 0.78rem;
    font-weight: 700;
}
.addon__body { display: block; line-height: 1.4; }
.addon__title {
    display: block;
    font-size: 0.93rem;
    color: var(--ink-0);
    font-weight: 500;
}
.addon__price {
    display: inline-block;
    font-family: var(--f-mono);
    font-size: 0.72rem;
    background: var(--accent);
    color: var(--bg-0);
    padding: 0.1em 0.45em;
    border-radius: 3px;
    margin-left: 0.35rem;
    vertical-align: 1px;
    font-weight: 700;
    letter-spacing: 0;
}
.addon__desc {
    display: block;
    color: var(--ink-3);
    font-size: 0.84rem;
    margin-top: 0.15rem;
}

/* Promo code */
.promo-wrap {
    margin: 0 0 1rem;
}
.promo-toggle {
    background: none;
    border: 0;
    padding: 0.25rem 0;
    color: var(--ink-3);
    font: inherit;
    font-size: 0.82rem;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: var(--line-strong);
}
.promo-toggle:hover { color: var(--ink-0); }
.promo-input-wrap {
    margin-top: 0.55rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.promo-input-wrap[hidden] { display: none; }
.promo-input {
    flex: 1;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--line);
    background: var(--bg-2);
    color: var(--ink-0);
    border-radius: 8px;
    font-family: var(--f-mono);
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: border-color 0.15s var(--ease);
}
.promo-input:focus {
    outline: none;
    border-color: var(--accent);
}
.promo-input.is-valid { border-color: #16a34a; }
.promo-input.is-invalid { border-color: #dc2626; }
.promo-status {
    font-size: 0.78rem;
    font-weight: 600;
    min-width: 4rem;
}
.promo-status.is-valid { color: #16a34a; }
.promo-status.is-invalid { color: #dc2626; }

/* Submit button */
.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    background: var(--accent);
    color: var(--bg-0);
    border: 1px solid var(--accent);
    padding: 0.95rem 1.1rem;
    font-family: var(--f-ui);
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: -0.005em;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    text-decoration: none;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px -10px rgba(197, 255, 74, 0.45);
}
.submit-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.4) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.8s var(--easeOut);
    pointer-events: none;
}
.submit-btn:hover:not(:disabled) {
    background: var(--accent-2);
    border-color: var(--accent-2);
    transform: translateY(-1px);
    box-shadow: 0 14px 40px -10px rgba(197, 255, 74, 0.55);
}
.submit-btn:hover:not(:disabled)::before {
    transform: translateX(120%);
}
.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
}
.submit-btn[hidden] { display: none; }
.submit-btn__label { position: relative; z-index: 1; }
.submit-btn__price {
    font-family: var(--f-mono);
    font-size: 0.88rem;
    font-weight: 700;
    background: var(--bg-0);
    color: var(--accent);
    padding: 0.3rem 0.55rem;
    border-radius: 6px;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 1;
}
.submit-btn--inline {
    display: inline-flex;
    width: auto;
    margin-top: 1.2rem;
}
.submit-btn--light {
    background: var(--ink-0);
    border-color: var(--ink-0);
    color: var(--bg-0);
    box-shadow: 0 14px 40px -10px rgba(245, 246, 248, 0.3);
}
.submit-btn--light:hover:not(:disabled) {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg-0);
    box-shadow: 0 14px 40px -10px rgba(197, 255, 74, 0.55);
}
.submit-btn--light .submit-btn__price { display: none; }

.form-fine {
    margin: 1rem 0 0;
    font-size: 0.8rem;
    color: var(--ink-3);
    line-height: 1.5;
    text-align: center;
    padding-top: 0.9rem;
    border-top: 1px solid var(--line);
}

/* Spinner */
.spinner {
    display: inline-block;
    width: 12px; height: 12px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    vertical-align: -2px;
    margin-right: 0.4rem;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Result area (hidden by default, used if webhook returns text) */
.result-area {
    margin-top: 1.5rem;
    padding: 1.25rem;
    border: 1px solid var(--accent);
    background: var(--bg-1);
    border-radius: 10px;
}
.result-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    color: var(--accent);
}
.result-header h3 {
    margin: 0;
    font-family: var(--f-ui);
    font-size: 1.1rem;
    color: var(--ink-0);
    font-weight: 600;
}
.resume-preview {
    background: #fafafa;
    color: #1a1a1a;
    padding: 1.5rem 2rem;
    border-radius: 6px;
    font-family: Georgia, serif;
    font-size: 0.82rem;
    line-height: 1.55;
    max-height: 600px;
    overflow-y: auto;
}

/* ══════════════════════════ ATS BAR ══════════════════════════ */
.ats-bar {
    padding: clamp(2rem, 5vw, 3rem) clamp(1rem, 4vw, 2rem);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--bg-1);
    position: relative;
    z-index: 2;
    text-align: center;
}
.ats-label {
    font-family: var(--f-mono);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    color: var(--ink-3);
    text-transform: uppercase;
    margin: 0 0 1.25rem;
}
.ats-logos {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: clamp(1.25rem, 4vw, 3.5rem);
    justify-content: center;
    font-family: var(--f-ui);
    font-weight: 600;
    font-size: clamp(1rem, 1.8vw, 1.35rem);
    letter-spacing: -0.015em;
    color: var(--ink-2);
}
.ats-logos li {
    transition: color 0.15s var(--ease), transform 0.15s var(--ease);
    cursor: default;
}
.ats-logos li:hover {
    color: var(--ink-0);
    transform: translateY(-1px);
}

/* ══════════════════════════ SECTION SHELL ══════════════════════════ */
.section {
    padding: clamp(3.5rem, 8vw, 7rem) clamp(1rem, 4vw, 2rem);
    position: relative;
    z-index: 2;
}
.section-head {
    text-align: center;
    max-width: 44rem;
    margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}
.section-eyebrow {
    display: inline-block;
    font-family: var(--f-mono);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    color: var(--accent);
    text-transform: uppercase;
    padding: 0.3rem 0.7rem;
    border: 1px solid var(--accent);
    border-radius: 999px;
    margin-bottom: 1.25rem;
    background: var(--accent-dim);
}
.section-title {
    font-family: var(--f-display);
    font-weight: 400;
    font-size: clamp(2rem, 5.2vw, 3.8rem);
    line-height: 1.02;
    letter-spacing: -0.02em;
    margin: 0 0 0.55rem;
    color: var(--ink-0);
    text-wrap: balance;
}
.section-dek {
    font-size: clamp(0.98rem, 1.5vw, 1.12rem);
    color: var(--ink-2);
    margin: 0;
    max-width: 32em;
    margin-inline: auto;
}

/* ══════════════════════════ STEPS ══════════════════════════ */
.section--steps { background: var(--bg-0); }
.steps {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.step {
    background: var(--bg-1);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: clamp(1.5rem, 2.5vw, 2.2rem);
    position: relative;
    overflow: hidden;
    transition: all 0.25s var(--ease);
}
.step::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}
.step:hover {
    transform: translateY(-3px);
    border-color: var(--line-strong);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
}
.step-num {
    display: block;
    font-family: var(--f-display);
    font-style: italic;
    font-weight: 400;
    font-size: 5rem;
    line-height: 0.85;
    margin-bottom: 0.6rem;
    -webkit-text-stroke: 1.5px var(--accent);
    color: transparent;
    letter-spacing: -0.02em;
    transition: color 0.3s var(--ease);
}
.step:hover .step-num {
    color: var(--accent);
    text-shadow: 0 0 30px var(--accent-glow);
}
.step h3 {
    font-family: var(--f-ui);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--ink-0);
    margin: 0 0 0.5rem;
}
.step p {
    margin: 0;
    color: var(--ink-2);
    font-size: 0.98rem;
    line-height: 1.6;
}
@media (max-width: 820px) {
    .steps { grid-template-columns: 1fr; }
}

/* ══════════════════════════ EXAMPLES ══════════════════════════ */
.section--examples { background: var(--bg-0); }

.doc-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1rem, 3vw, 2.5rem);
    max-width: 1120px;
    margin: 0 auto;
    transition: opacity 0.3s;
}
.doc-col {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.doc-col-label {
    font-family: var(--f-mono);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    color: var(--ink-3);
    text-transform: uppercase;
    text-align: center;
}
.doc-col:last-child .doc-col-label {
    color: var(--accent);
}
.doc-preview {
    background: #fbf8f0;
    color: #1a1a1a;
    padding: 1.7rem 2rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-family: Georgia, 'Times New Roman', serif;
    aspect-ratio: 8.5 / 11;
    min-height: 0;
    overflow: hidden;
    position: relative;
    cursor: zoom-in;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
    font-size: 0.78rem;
    line-height: 1.55;
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.7);
}
.doc-preview:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.75);
}
.doc-col:first-child .doc-preview {
    filter: saturate(0.7) brightness(0.98);
}
.doc-col:last-child .doc-preview {
    border-color: var(--accent);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--accent), 0 0 30px -5px var(--accent-glow);
}
.doc-col:last-child .doc-preview:hover {
    box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.75), 0 0 0 1px var(--accent), 0 0 40px -5px var(--accent-glow);
}
.enlarge-hint {
    position: absolute;
    top: 10px; right: 10px;
    font-family: var(--f-mono);
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    color: #888;
    opacity: 0.6;
    text-transform: uppercase;
}
.doc-enlarged {
    transform: none;
    aspect-ratio: auto;
    width: 90vw;
    max-width: 760px;
    height: auto;
    max-height: none;
    overflow: visible;
    padding: 2.5rem 3rem;
    font-size: 1rem;
    cursor: default;
}
.doc-enlarged:hover {
    transform: none;
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.7);
}
.doc-score {
    font-family: var(--f-mono);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-align: center;
    padding: 0.65rem;
    border: 1px solid var(--line-strong);
    background: var(--bg-1);
    color: var(--ink-2);
    border-radius: 8px;
    text-transform: uppercase;
}
.doc-col:last-child .doc-score {
    background: var(--accent);
    color: var(--bg-0);
    border-color: var(--accent);
    font-weight: 700;
    box-shadow: 0 0 20px var(--accent-glow);
}

/* Styles for content app.js renders into doc-preview | mirrors success.html
   .rp-* classes so the homepage example matches what the user actually
   downloads. */
.dp-name {
    text-align: center;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    font-size: 1.18em;
    letter-spacing: 0.06em;
    color: #1a1a1a;
    margin-bottom: 0.15rem;
}
.dp-contact {
    text-align: center;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.78em;
    color: #666;
    padding-bottom: 0.6rem;
    margin-bottom: 0.6rem;
    border-bottom: 1px solid #d8d2c2;
}
.dp-section {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.86em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #1a1a1a;
    border-bottom: 1.5px solid #000;
    padding-bottom: 2px;
    margin: 0.85rem 0 0.4rem;
}
.dp-line {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.9em;
    color: #333;
    line-height: 1.5;
    margin: 0.15rem 0;
}
.dp-role {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.6rem;
    margin: 0.45rem 0 0.15rem;
    font-family: Georgia, 'Times New Roman', serif;
}
.dp-role-left {
    flex: 1;
    font-size: 0.9em;
    color: #1a1a1a;
    line-height: 1.35;
}
.dp-role-left strong { font-weight: 700; }
.dp-role-date {
    font-style: italic;
    font-size: 0.8em;
    color: #555;
    white-space: nowrap;
    flex-shrink: 0;
}
.dp-bullet {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.84em;
    margin: 0.12rem 0 0.12rem 1rem;
    text-indent: -0.6rem;
    padding-left: 0.6rem;
    color: #333;
    line-height: 1.45;
}
.dp-bullet::before { content: '• '; color: #1a1a1a; }
.dp-kw {
    background: rgba(168, 230, 53, 0.28);
    border-bottom: 1.5px solid rgba(168, 230, 53, 0.8);
    padding: 0 2px;
    color: #1a2a00;
    font-weight: 500;
}

/* After card matches the actual /success.html output: white paper, no
   tan contact divider, sizing aligned with .rp-* */
.doc-col:last-child .doc-preview {
    background: #ffffff;
    font-size: 0.82rem;
}
.doc-col:last-child .dp-contact {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0.8rem;
    font-size: 0.72rem;
}
.doc-col:last-child .dp-name { font-size: 1.15rem; }
.doc-col:last-child .dp-section { font-size: 0.78rem; }
.doc-col:last-child .dp-line,
.doc-col:last-child .dp-role-left { font-size: 0.78rem; }
.doc-col:last-child .dp-role-date { font-size: 0.7rem; }
.doc-col:last-child .dp-bullet { font-size: 0.72rem; }

@media (max-width: 720px) {
    .doc-compare { grid-template-columns: 1fr; }
}

/* ══════════════════════════ FAQ ══════════════════════════ */
.section--faq { background: var(--bg-0); }
.faq-list {
    max-width: 54rem;
    margin: 0 auto;
    border-top: 1px solid var(--line);
}
.faq-item {
    border-bottom: 1px solid var(--line);
    transition: background 0.2s var(--ease);
}
.faq-item:hover { background: var(--bg-1); }
.faq-q {
    width: 100%;
    background: none;
    border: none;
    padding: 1.35rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-family: var(--f-ui);
    font-size: 1.08rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    text-align: left;
    cursor: pointer;
    color: var(--ink-0);
    transition: color 0.15s var(--ease);
    line-height: 1.4;
}
.faq-q:hover { color: var(--accent); }
.faq-q span {
    font-family: var(--f-mono);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--accent);
    transition: transform 0.3s var(--ease);
    flex-shrink: 0;
    line-height: 1;
    width: 1.5rem;
    text-align: center;
}
.faq-item.open .faq-q span { transform: rotate(45deg); }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease), padding 0.35s var(--ease);
    padding: 0 1rem;
    font-size: 1rem;
    color: var(--ink-1);
    line-height: 1.68;
}
.faq-item.open .faq-a {
    max-height: 800px;
    padding: 0 1rem 1.5rem;
}

/* ══════════════════════════ COMPARE ══════════════════════════ */
.section--compare { background: var(--bg-1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.compare-wrap {
    max-width: 1100px;
    margin: 0 auto;
    overflow-x: auto;
    border: 1px solid var(--line);
    background: var(--bg-0);
    border-radius: 14px;
}
.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}
.compare-table th,
.compare-table td {
    padding: 0.95rem 1.15rem;
    text-align: left;
    border-bottom: 1px solid var(--line);
}
.compare-table thead tr {
    background: var(--bg-1);
    border-bottom: 1px solid var(--line-strong);
}
.compare-table th {
    font-family: var(--f-mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    color: var(--ink-3);
    padding-top: 1.1rem;
    padding-bottom: 1.1rem;
    text-transform: uppercase;
}
.compare-table th.compare-highlight {
    color: var(--accent);
    font-weight: 700;
    background: var(--accent-dim);
    border-left: 1px solid var(--accent);
    border-right: 1px solid var(--accent);
}
.compare-table td { color: var(--ink-1); }
.compare-table td:first-child { color: var(--ink-2); font-family: var(--f-mono); font-size: 0.84rem; letter-spacing: 0.04em; }
.compare-table td.compare-highlight {
    background: var(--accent-dim);
    color: var(--ink-0);
    font-weight: 600;
    border-left: 1px solid var(--accent);
    border-right: 1px solid var(--accent);
}
.compare-table tbody tr:last-child td {
    border-bottom: none;
}
.compare-table tbody tr:last-child td.compare-highlight {
    border-bottom: 1px solid var(--accent);
}
.compare-table tbody tr:hover td:not(.compare-highlight) {
    background: var(--bg-2);
}

/* ══════════════════════════ PRICING ══════════════════════════ */
.section--pricing { background: var(--bg-0); }
.pricing-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.25rem, 3vw, 2rem);
    align-items: stretch;
}
@media (max-width: 900px) {
    .pricing-grid { grid-template-columns: 1fr; }
}
.pricing-card {
    padding: clamp(1.75rem, 3vw, 2.5rem);
    background: linear-gradient(180deg, var(--bg-1), var(--bg-2));
    border: 1px solid var(--line-strong);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: stretch;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
}
.pricing-card::before {
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 320px; height: 320px;
    background: radial-gradient(circle, var(--accent-glow), transparent 65%);
    filter: blur(40px);
    opacity: 0.45;
    pointer-events: none;
}
.pricing-card--featured {
    border-color: var(--accent);
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5), 0 0 0 1px var(--accent) inset, 0 0 50px -10px var(--accent-glow);
}
.pricing-card--featured::before {
    opacity: 0.85;
}
.pricing-card__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    font-family: var(--f-mono);
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--bg-0);
    background: var(--accent);
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-weight: 600;
}
.pricing-figure {
    display: flex;
    align-items: baseline;
    gap: 0.1rem;
    font-family: var(--f-display);
    line-height: 0.82;
    color: var(--accent);
    text-shadow: 0 0 50px var(--accent-glow);
    position: relative;
    z-index: 1;
}
.pricing-currency {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    align-self: flex-start;
    margin-top: 0.3em;
    font-style: italic;
}
.pricing-amount {
    font-size: clamp(5.5rem, 13vw, 9rem);
    letter-spacing: -0.04em;
    font-weight: 400;
}
.pricing-per {
    display: block;
    font-family: var(--f-mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    color: var(--ink-2);
    margin-left: 0.85rem;
    align-self: center;
    text-transform: uppercase;
}
.pricing-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    flex: 1;
}
.pricing-copy p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    color: var(--ink-1);
}
.pricing-copy .submit-btn {
    margin-top: auto;
}
.pricing-addon {
    color: var(--ink-2) !important;
    font-size: 0.92rem !important;
    padding-top: 0.9rem;
    border-top: 1px solid var(--line);
}
.pricing-toggle {
    display: inline-flex;
    align-self: flex-start;
    background: var(--bg-2);
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    padding: 4px;
    margin-bottom: 0.6rem;
    position: relative;
    z-index: 2;
}
.pricing-toggle__btn {
    background: none;
    border: 0;
    color: var(--ink-2);
    font-family: var(--f-ui);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.15s var(--ease), color 0.15s var(--ease);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.pricing-toggle__btn--active {
    background: var(--accent);
    color: #07080a;
}
.pricing-toggle__save {
    background: rgba(0,0,0,0.18);
    color: inherit;
    font-size: 0.65rem;
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.pricing-toggle__btn:not(.pricing-toggle__btn--active) .pricing-toggle__save {
    background: var(--accent);
    color: #07080a;
}
.pricing-addon strong {
    color: var(--accent);
}

@media (max-width: 780px) {
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-figure { justify-content: flex-start; }
}

/* ══════════════════════════ FINAL CTA ══════════════════════════ */
.final-cta {
    text-align: center;
    padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1rem, 4vw, 2rem);
    background: radial-gradient(ellipse at center, rgba(197, 255, 74, 0.05), transparent 60%), var(--bg-0);
    border-top: 1px solid var(--line);
    position: relative;
    z-index: 2;
}
.final-cta h2 {
    font-family: var(--f-display);
    font-weight: 400;
    font-size: clamp(2rem, 5.5vw, 3.8rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    max-width: 22ch;
    margin: 0 auto 0.7em;
    color: var(--ink-0);
    text-wrap: balance;
}
.final-cta h2 em {
    font-style: italic;
    color: var(--accent);
}
.final-cta p {
    font-size: 1.12rem;
    color: var(--ink-2);
    margin: 0 auto 2rem;
    max-width: 32rem;
}

/* ══════════════════════════ FOOTER ══════════════════════════ */
.footer {
    padding: 2.5rem clamp(1rem, 4vw, 2rem) 2.2rem;
    background: var(--bg-1);
    border-top: 1px solid var(--line);
}
.footer-inner {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 3rem;
    align-items: center;
    justify-content: space-between;
}
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--f-ui);
    font-weight: 600;
    color: var(--ink-0);
    font-size: 1rem;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.4rem;
    font-size: 0.88rem;
    color: var(--ink-2);
}
.footer-links a {
    text-decoration: none;
    transition: color 0.15s var(--ease);
}
.footer-links a:hover { color: var(--accent); }
.footer-meta {
    margin: 0;
    font-family: var(--f-mono);
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    color: var(--ink-3);
    flex-basis: 100%;
    text-align: left;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
    margin-top: 0.5rem;
}
.footer-meta a {
    color: var(--accent);
    text-decoration: none;
}

@media (max-width: 720px) {
    .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ══════════════════════════ TESTIMONIAL MARQUEE ══════════════════════════ */
.marquee {
    overflow: hidden;
    background: var(--bg-1);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 0.95rem 0;
    position: relative;
    z-index: 2;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
            mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: marquee-scroll 40s linear infinite;
    will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
    display: inline-flex;
    align-items: baseline;
    gap: 0.7rem;
    white-space: nowrap;
    flex-shrink: 0;
}
.marquee-quote {
    color: var(--ink-0);
    font-style: italic;
    font-size: 0.98rem;
}
.marquee-name {
    color: var(--accent);
    font-family: var(--f-mono);
    font-size: 0.78rem;
    letter-spacing: 0.05em;
}
@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none; }
}

/* ══════════════════════════ TRUST STRIP ══════════════════════════ */
.trust-strip {
    padding: clamp(2rem, 4vw, 3rem) clamp(1rem, 4vw, 2rem);
    background: var(--bg-1);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    position: relative;
    z-index: 2;
}
.trust-strip-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.25rem, 3vw, 2.5rem);
    align-items: start;
}
@media (max-width: 820px) {
    .trust-strip-inner { grid-template-columns: 1fr; gap: 1.25rem; }
}
.trust-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 0.25rem 0;
    position: relative;
}
.trust-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: calc(-1 * clamp(0.6rem, 1.5vw, 1.25rem));
    top: 15%;
    bottom: 15%;
    width: 1px;
    background: var(--line);
}
@media (max-width: 820px) {
    .trust-item:not(:last-child)::after { display: none; }
}
.trust-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--accent);
    background: var(--accent-dim);
    border-radius: 10px;
    color: var(--accent);
    box-shadow: inset 0 0 12px -6px var(--accent-glow);
}
.trust-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}
.trust-text strong {
    font-family: var(--f-ui);
    font-size: 1.02rem;
    color: var(--ink-0);
    font-weight: 600;
    letter-spacing: -0.005em;
}
.trust-text em {
    font-style: normal;
    font-size: 0.88rem;
    color: var(--ink-2);
    line-height: 1.5;
}

/* ══════════════════════════ GRADER (free tool) ══════════════════════════ */
.grader {
    padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 2rem);
    background: var(--bg-0);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    position: relative;
    z-index: 2;
}
.grader-inner {
    max-width: 1080px;
    margin: 0 auto;
}
.grader-head { margin-bottom: clamp(2rem, 4vw, 3rem); }

.grader-shell {
    background: linear-gradient(180deg, var(--bg-1), var(--bg-2));
    border: 1px solid var(--line-strong);
    border-radius: 18px;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    box-shadow: 0 30px 60px -30px rgba(0,0,0,0.55);
    position: relative;
    overflow: hidden;
}
.grader-shell::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(197,255,74,0.35), transparent);
}

.grader-input {
    max-width: 560px;
    margin: 0 auto;
}
.grader-tabs {
    display: inline-flex;
    padding: 3px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 8px;
    margin-bottom: 1rem;
}
.grader-note {
    margin: 1rem 0 0;
    font-family: var(--f-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: var(--ink-3);
    text-align: center;
    text-transform: uppercase;
}

/* Loading state */
.grader-loading {
    text-align: center;
    padding: 3.5rem 1rem;
    animation: fade 0.4s both;
}
.spinner-large {
    display: inline-block;
    width: 48px; height: 48px;
    border: 3px solid var(--bg-3);
    border-right-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    filter: drop-shadow(0 0 12px var(--accent-glow));
}
.grader-loading-title {
    margin: 1.2rem 0 0;
    font-family: var(--f-display);
    font-size: 1.35rem;
    font-style: italic;
    color: var(--ink-0);
    letter-spacing: -0.01em;
}
.grader-loading-hint {
    margin: 0.4rem 0 0;
    font-family: var(--f-mono);
    font-size: 0.74rem;
    color: var(--ink-3);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* Result */
.grader-result { animation: rise 0.5s var(--easeOut) both; }
.grader-result-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr);
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: start;
}
@media (max-width: 820px) {
    .grader-result-grid { grid-template-columns: 1fr; }
}

/* Gauge */
.grader-gauge-col {
    text-align: center;
    padding: 0.5rem 0;
}
.gauge {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 0 auto;
}
.gauge-svg {
    width: 100%; height: 100%;
    transform: rotate(-90deg);
}
.gauge-track {
    fill: none;
    stroke: var(--bg-3);
    stroke-width: 10;
}
.gauge-fill {
    fill: none;
    stroke: var(--accent);
    stroke-width: 10;
    stroke-linecap: round;
    transition: stroke-dashoffset 1.4s var(--easeOut), stroke 0.6s var(--ease);
    filter: drop-shadow(0 0 12px var(--accent-glow));
}
.gauge-fill.grade--A { stroke: var(--accent); }
.gauge-fill.grade--B { stroke: #9adc3d; filter: drop-shadow(0 0 10px rgba(154,220,61,0.5)); }
.gauge-fill.grade--C { stroke: #ffbb33; filter: drop-shadow(0 0 10px rgba(255,187,51,0.4)); }
.gauge-fill.grade--D { stroke: #ff8c42; filter: drop-shadow(0 0 10px rgba(255,140,66,0.45)); }
.gauge-fill.grade--F { stroke: #ff6a5a; filter: drop-shadow(0 0 10px rgba(255,106,90,0.45)); }
.gauge-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.gauge-score {
    font-family: var(--f-display);
    font-style: italic;
    font-size: 4rem;
    line-height: 1;
    color: var(--ink-0);
    font-weight: 400;
    letter-spacing: -0.03em;
}
.gauge-label {
    font-family: var(--f-mono);
    font-size: 0.68rem;
    color: var(--ink-3);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-top: 0.35rem;
}
.gauge-grade-badge {
    display: inline-block;
    margin-top: 1.1rem;
    padding: 0.35rem 1rem;
    font-family: var(--f-mono);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    background: var(--accent);
    color: var(--bg-0);
    border-radius: 999px;
    text-transform: uppercase;
    box-shadow: 0 8px 22px -6px var(--accent-glow);
}
.gauge-summary {
    margin: 1.2rem auto 0;
    font-family: var(--f-display);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--ink-1);
    line-height: 1.5;
    max-width: 22rem;
}

/* Details column */
.grader-ats {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.6rem;
    padding: 1rem 1.25rem;
    background: var(--bg-0);
    border: 1px solid var(--line);
    border-radius: 10px;
    margin-bottom: 1.5rem;
}
.grader-ats-label {
    font-family: var(--f-mono);
    font-size: 0.66rem;
    letter-spacing: 0.18em;
    color: var(--ink-3);
    text-transform: uppercase;
}
.grader-ats-score {
    font-family: var(--f-display);
    font-size: 1.9rem;
    color: var(--accent);
    font-weight: 400;
    line-height: 1;
}
.grader-ats p {
    flex-basis: 100%;
    margin: 0.3rem 0 0;
    color: var(--ink-2);
    font-size: 0.92rem;
}

.grader-strengths h3,
.grader-issues h3 {
    font-family: var(--f-ui);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ink-0);
    margin: 1.5rem 0 0.75rem;
    letter-spacing: -0.005em;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: var(--f-mono);
    color: var(--ink-2);
    font-size: 0.72rem;
}
.grader-strengths ul {
    list-style: none;
    padding: 0;
    margin: 0;
    background: var(--bg-0);
    border: 1px solid var(--line);
    border-radius: 10px;
}
.grader-strengths li {
    padding: 0.65rem 1.1rem 0.65rem 2.2rem;
    position: relative;
    color: var(--ink-1);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--line);
}
.grader-strengths li:last-child { border-bottom: none; }
.grader-strengths li::before {
    content: '';
    position: absolute;
    left: 1.1rem; top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 7px; height: 7px;
    border: 1.5px solid var(--accent);
    box-shadow: 0 0 6px var(--accent-glow);
}

.grader-issue {
    padding: 0.9rem 1.15rem;
    background: var(--bg-0);
    border: 1px solid var(--line);
    border-radius: 10px;
    margin-bottom: 0.65rem;
    border-left-width: 3px;
    transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.grader-issue:hover { background: var(--bg-1); transform: translateX(2px); }
.grader-issue--high { border-left-color: #ff6a5a; }
.grader-issue--medium { border-left-color: #ffbb33; }
.grader-issue--low { border-left-color: var(--accent); }
.grader-issue-head {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.35rem;
}
.issue-severity {
    font-family: var(--f-mono);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    padding: 0.18rem 0.5rem;
    border-radius: 3px;
    text-transform: uppercase;
}
.grader-issue--high .issue-severity { background: rgba(255,106,90,0.18); color: #ff8a7c; }
.grader-issue--medium .issue-severity { background: rgba(255,187,51,0.18); color: #ffcc66; }
.grader-issue--low .issue-severity { background: var(--accent-dim); color: var(--accent); }
.grader-issue-head h4 {
    margin: 0;
    font-family: var(--f-ui);
    font-size: 0.98rem;
    color: var(--ink-0);
    font-weight: 600;
    flex: 1;
    line-height: 1.3;
}
.grader-issue p {
    margin: 0;
    color: var(--ink-2);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Upsell */
.grader-upsell {
    margin-top: 1.75rem;
    padding: 1.5rem;
    background: linear-gradient(145deg, var(--accent-dim), transparent 65%);
    border: 1px solid var(--accent);
    border-radius: 14px;
    position: relative;
    overflow: hidden;
}
.grader-upsell::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 180px; height: 180px;
    background: radial-gradient(circle, var(--accent-glow), transparent 65%);
    filter: blur(30px);
    opacity: 0.55;
    pointer-events: none;
}
.grader-upsell h3 {
    margin: 0 0 0.5rem;
    font-family: var(--f-display);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--ink-0);
    line-height: 1.2;
    position: relative;
    letter-spacing: -0.01em;
}
.grader-upsell h3 em {
    font-style: italic;
    color: var(--accent);
}
.grader-upsell p {
    margin: 0 0 1.1rem;
    color: var(--ink-1);
    font-size: 0.96rem;
    position: relative;
    max-width: 32em;
}
.grader-upsell .submit-btn {
    width: 100%;
    position: relative;
}
.grader-reset-wrap {
    text-align: center;
    margin-top: 2rem;
}
.grader-reset {
    background: transparent;
    border: 1px solid var(--line-strong);
    padding: 0.55rem 1.15rem;
    font-family: var(--f-mono);
    font-size: 0.76rem;
    letter-spacing: 0.14em;
    color: var(--ink-2);
    border-radius: 999px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.15s var(--ease);
}
.grader-reset:hover {
    background: var(--bg-2);
    color: var(--ink-0);
    border-color: var(--ink-3);
}

/* Nav chip for "Free" tag */
.nav-chip {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0.08em 0.45em;
    background: var(--accent);
    color: var(--bg-0);
    font-family: var(--f-mono);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    border-radius: 3px;
    vertical-align: 1px;
    text-transform: uppercase;
}

/* ═══════════ Toast (replaces alert()) ═══════════ */
.toast {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(140%);
    background: var(--bg-1);
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    padding: 0.85rem 1.2rem;
    color: var(--ink-0);
    font-size: 0.92rem;
    box-shadow: 0 18px 50px rgba(0,0,0,0.55);
    z-index: 1000;
    max-width: min(90vw, 420px);
    transition: transform 0.4s var(--easeOut);
    display: flex;
    align-items: center;
    gap: 0.7rem;
    pointer-events: none;
    line-height: 1.45;
}
.toast.show {
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}
.toast--error { border-color: #ff6a5a; }
.toast--error::before {
    content: '!';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px; height: 22px;
    background: #ff6a5a;
    color: var(--bg-0);
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.82rem;
    flex-shrink: 0;
}
.toast--success { border-color: var(--accent); }
.toast--success::before {
    content: '\2713';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px; height: 22px;
    background: var(--accent);
    color: var(--bg-0);
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.82rem;
    flex-shrink: 0;
}

/* ══════════════════════════ BLOG ══════════════════════════ */

/* Blog index hero */
.blog-hero {
    padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1rem, 4vw, 2rem) clamp(2rem, 3vw, 3rem);
    text-align: center;
    position: relative;
    z-index: 2;
}
.blog-hero-inner { max-width: 46rem; margin: 0 auto; }
.blog-hero__eyebrow {
    display: inline-block;
    font-family: var(--f-mono);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    color: var(--accent);
    text-transform: uppercase;
    padding: 0.3rem 0.7rem;
    border: 1px solid var(--accent);
    border-radius: 999px;
    margin-bottom: 1.25rem;
    background: var(--accent-dim);
}
.blog-hero h1 {
    font-family: var(--f-display);
    font-weight: 400;
    font-size: clamp(2.2rem, 6vw, 4rem);
    line-height: 1.02;
    letter-spacing: -0.02em;
    margin: 0 0 0.6rem;
    color: var(--ink-0);
    text-wrap: balance;
}
.blog-hero h1 em {
    font-style: italic;
    color: var(--accent);
}
.blog-hero p {
    font-size: clamp(1rem, 1.4vw, 1.1rem);
    color: var(--ink-2);
    max-width: 34em;
    margin: 0 auto;
    line-height: 1.6;
}

/* Featured post */
.blog-featured-section {
    padding: 0 clamp(1rem, 4vw, 2rem) clamp(2rem, 3vw, 3rem);
    position: relative;
    z-index: 2;
}
.blog-featured-inner { max-width: 1180px; margin: 0 auto; }
.blog-featured {
    display: block;
    position: relative;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    background: linear-gradient(180deg, var(--bg-1), var(--bg-2));
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.blog-featured::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 260px; height: 260px;
    background: radial-gradient(circle, var(--accent-glow), transparent 65%);
    filter: blur(36px);
    opacity: 0.45;
    pointer-events: none;
    transition: opacity 0.3s var(--ease);
}
.blog-featured:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.6), 0 0 30px -5px var(--accent-glow);
}
.blog-featured:hover::before { opacity: 0.75; }
.bf-marker {
    display: inline-block;
    font-family: var(--f-mono);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.1rem;
}
.bf-marker::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-glow);
    animation: brand-pulse 2.2s ease-in-out infinite;
}
.bf-body { max-width: 38rem; position: relative; }
.bf-body .blog-tag { margin-bottom: 0.9rem; }
.bf-body h2 {
    font-family: var(--f-display);
    font-weight: 400;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    line-height: 1.1;
    letter-spacing: -0.015em;
    margin: 0 0 0.8rem;
    color: var(--ink-0);
    text-wrap: balance;
}
.bf-body p {
    font-size: 1.02rem;
    color: var(--ink-2);
    line-height: 1.6;
    margin: 0 0 1rem;
}
.bf-body .blog-meta {
    font-family: var(--f-mono);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    color: var(--accent);
    text-transform: uppercase;
}

/* Blog grid */
.blog-grid-section {
    padding: 0 clamp(1rem, 4vw, 2rem) clamp(3rem, 5vw, 5rem);
    position: relative;
    z-index: 2;
}
.blog-grid-inner { max-width: 1180px; margin: 0 auto; }
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
}
.blog-card {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1.6rem;
    background: var(--bg-1);
    border: 1px solid var(--line);
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
    position: relative;
    overflow: hidden;
}
.blog-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}
.blog-card:hover {
    transform: translateY(-3px);
    border-color: var(--line-strong);
    background: var(--bg-2);
    box-shadow: 0 25px 50px -25px rgba(0,0,0,0.5);
}
.blog-card h3 {
    font-family: var(--f-ui);
    font-weight: 600;
    font-size: 1.08rem;
    line-height: 1.35;
    letter-spacing: -0.01em;
    color: var(--ink-0);
    margin: 0;
}
.blog-card p {
    font-size: 0.93rem;
    color: var(--ink-2);
    line-height: 1.55;
    margin: 0;
    flex: 1;
}
.blog-card .blog-meta {
    font-family: var(--f-mono);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    color: var(--ink-3);
    text-transform: uppercase;
    margin-top: auto;
    padding-top: 0.4rem;
    transition: color 0.2s var(--ease);
}
.blog-card:hover .blog-meta { color: var(--accent); }

/* Tag chip */
.blog-tag {
    display: inline-block;
    font-family: var(--f-mono);
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    color: var(--accent);
    text-transform: uppercase;
    padding: 0.28rem 0.62rem;
    border: 1px solid var(--accent);
    background: var(--accent-dim);
    border-radius: 999px;
    align-self: flex-start;
    width: fit-content;
}

/* Pagination */
.blog-pagination {
    display: flex;
    gap: 0.35rem;
    justify-content: center;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}
.blog-pagination button {
    background: var(--bg-1);
    border: 1px solid var(--line);
    padding: 0.5rem 0.95rem;
    font-family: var(--f-mono);
    font-size: 0.82rem;
    color: var(--ink-1);
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.15s var(--ease);
}
.blog-pagination button:hover {
    background: var(--bg-2);
    border-color: var(--line-strong);
}
.blog-pagination button.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg-0);
    font-weight: 700;
    box-shadow: 0 0 18px var(--accent-glow);
}

/* ─────── Article (individual blog post) ─────── */
.article {
    padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 4vw, 2rem) clamp(2.5rem, 4vw, 4rem);
    position: relative;
    z-index: 2;
}
.article-shell {
    max-width: 44rem;
    margin: 0 auto;
}
.blog-back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--f-mono);
    font-size: 0.76rem;
    letter-spacing: 0.1em;
    color: var(--ink-2);
    text-decoration: none;
    text-transform: uppercase;
    margin-bottom: 2rem;
    padding: 0.45rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    transition: all 0.18s var(--ease);
}
.blog-back:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-dim);
    transform: translateX(-3px);
}
.article-meta {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.blog-title {
    font-family: var(--f-display);
    font-weight: 400;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--ink-0);
    margin: 0 0 0.7rem;
    text-wrap: balance;
}
.blog-date {
    display: inline-block;
    font-family: var(--f-mono);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    color: var(--ink-3);
    margin: 0;
    text-transform: uppercase;
}

/* Article body content */
.blog-content {
    font-family: var(--f-ui);
    font-size: 1.08rem;
    color: var(--ink-1);
    line-height: 1.75;
    margin-top: 2rem;
}
.blog-content > p:first-of-type {
    font-size: 1.18rem;
    color: var(--ink-0);
    line-height: 1.6;
    font-family: var(--f-display);
    font-style: italic;
    padding-left: 1rem;
    border-left: 2px solid var(--accent);
    margin: 0 0 2rem;
}
.blog-content h2 {
    font-family: var(--f-ui);
    font-weight: 600;
    font-size: 1.5rem;
    letter-spacing: -0.01em;
    color: var(--ink-0);
    margin: 2.5rem 0 1rem;
    line-height: 1.25;
    position: relative;
}
.blog-content h2::before {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: var(--accent);
    margin-bottom: 0.8rem;
    box-shadow: 0 0 8px var(--accent-glow);
}
.blog-content h3 {
    font-family: var(--f-ui);
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--ink-0);
    margin: 1.8rem 0 0.55rem;
    line-height: 1.3;
}
.blog-content p {
    margin: 0 0 1.2rem;
}
.blog-content ul, .blog-content ol {
    margin: 0 0 1.4rem;
    padding-left: 0;
    list-style: none;
}
.blog-content ul li, .blog-content ol li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.7rem;
    line-height: 1.65;
}
.blog-content ul li::before {
    content: '';
    position: absolute;
    left: 0; top: 0.7em;
    width: 7px; height: 7px;
    border: 1.5px solid var(--accent);
    background: transparent;
    transform: rotate(45deg);
    box-shadow: 0 0 6px var(--accent-glow);
}
.blog-content ol { counter-reset: list-num; }
.blog-content ol li { counter-increment: list-num; }
.blog-content ol li::before {
    content: counter(list-num, decimal-leading-zero);
    position: absolute;
    left: 0; top: 0.05em;
    font-family: var(--f-mono);
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0;
}
.blog-content strong {
    color: var(--ink-0);
    font-weight: 600;
}
.blog-content em {
    font-style: italic;
    color: var(--ink-1);
}
.blog-content a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid rgba(197, 255, 74, 0.5);
    transition: border-color 0.15s var(--ease);
}
.blog-content a:hover {
    border-bottom-color: var(--accent);
}
.blog-content blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.4rem;
    background: var(--bg-1);
    border-left: 3px solid var(--accent);
    border-radius: 0 10px 10px 0;
    color: var(--ink-1);
    font-style: italic;
}
.blog-content code {
    font-family: var(--f-mono);
    font-size: 0.9em;
    background: var(--bg-2);
    border: 1px solid var(--line);
    padding: 0.1em 0.4em;
    border-radius: 4px;
    color: var(--accent);
}
.blog-content hr {
    border: none;
    border-top: 1px solid var(--line);
    margin: 2.5rem 0;
}

/* Post CTA */
.blog-cta {
    margin: 3rem 0 0;
    padding: 2rem 1.8rem;
    background: linear-gradient(180deg, var(--bg-1), var(--bg-2));
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.blog-cta::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, var(--accent-glow), transparent 65%);
    filter: blur(36px);
    opacity: 0.4;
    pointer-events: none;
}
.blog-cta__title {
    font-family: var(--f-display);
    font-weight: 400;
    font-size: 1.45rem;
    color: var(--ink-0);
    margin: 0 0 0.5rem;
    position: relative;
    line-height: 1.3;
}
.blog-cta__body {
    font-size: 0.98rem;
    color: var(--ink-2);
    margin: 0 0 1.4rem;
    line-height: 1.55;
    position: relative;
}
.blog-cta .submit-btn {
    width: auto;
    display: inline-flex;
    position: relative;
}

@media (max-width: 720px) {
    .blog-featured { padding: 1.5rem; }
    .bf-body h2 { font-size: 1.4rem; }
    .blog-content { font-size: 1rem; }
    .blog-content > p:first-of-type { font-size: 1.08rem; }
}

/* ══════════════════════════ SUCCESS PAGE ══════════════════════════ */
.success-main {
    padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 4vw, 2rem);
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}
.success-shell {
    max-width: 780px;
    width: 100%;
    margin: 0 auto;
}

.success-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.6rem;
    animation: rise 0.5s var(--easeOut);
}
.success-h {
    font-family: var(--f-display);
    font-weight: 400;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0.5rem 0 0.2rem;
    color: var(--ink-0);
    max-width: 24ch;
    text-wrap: balance;
}
.success-sub {
    font-size: 1rem;
    color: var(--ink-2);
    max-width: 36em;
    margin: 0 0 1.25rem;
    line-height: 1.55;
}

/* Loading variant */
.success-state--loading .spinner-large {
    margin-bottom: 0.5rem;
}
.success-steps {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-family: var(--f-mono);
    font-size: 0.82rem;
    color: var(--ink-3);
    text-align: left;
    max-width: 20rem;
    width: 100%;
    letter-spacing: 0.02em;
}
.success-steps li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    transition: color 0.3s var(--ease);
    padding: 0.3rem 0.5rem;
    border-radius: 8px;
}
.success-steps li.active {
    color: var(--ink-0);
    background: var(--bg-1);
}
.success-step-dot {
    width: 8px; height: 8px;
    background: var(--bg-3);
    border-radius: 50%;
    flex-shrink: 0;
    transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.success-steps li.active .success-step-dot {
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow);
}

/* Success check */
.success-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 84px; height: 84px;
    border-radius: 50%;
    background: var(--accent-dim);
    border: 1.5px solid var(--accent);
    color: var(--accent);
    box-shadow: 0 0 40px -5px var(--accent-glow);
    margin-bottom: 0.3rem;
    animation: pop 0.45s var(--easeOut);
}
.success-x {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 84px; height: 84px;
    border-radius: 50%;
    background: rgba(255, 106, 90, 0.12);
    border: 1.5px solid #ff6a5a;
    color: #ff8a7c;
    margin-bottom: 0.3rem;
}
@keyframes pop {
    from { transform: scale(0.6); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.success-buttons {
    display: flex;
    gap: 0.7rem;
    margin: 0.5rem 0 0.25rem;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}
.success-buttons .submit-btn {
    width: auto;
    flex: 0 1 auto;
}

.pack-code-box {
    width: 100%;
    max-width: 480px;
    margin: 1.25rem auto 0;
    padding: 1.5rem 1.5rem 1.25rem;
    background: linear-gradient(180deg, var(--bg-1), var(--bg-2));
    border: 1px solid var(--accent);
    border-radius: 16px;
    box-shadow: 0 0 50px -10px var(--accent-glow);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}
.pack-code-label {
    font-family: var(--f-mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-3);
}
.pack-code {
    font-family: var(--f-mono);
    font-size: clamp(1.4rem, 4vw, 2rem);
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--accent);
    text-shadow: 0 0 20px var(--accent-glow);
    user-select: all;
    word-break: break-all;
    text-align: center;
}
.pack-code-meta {
    font-family: var(--f-mono);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    color: var(--ink-2);
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.pack-banner {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0.25rem auto 0.75rem;
    padding: 0.45rem 0.9rem;
    background: rgba(197, 255, 74, 0.08);
    border: 1px solid var(--accent);
    border-radius: 999px;
    font-family: var(--f-mono);
    font-size: 0.78rem;
    color: var(--accent);
    box-shadow: 0 0 24px -8px var(--accent-glow);
}
.pack-banner__label {
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-3);
}
.pack-banner__code {
    letter-spacing: 0.12em;
    font-weight: 600;
    color: var(--accent);
}
.pack-banner__sep {
    color: var(--ink-3);
    opacity: 0.6;
}
.pack-banner__uses {
    color: var(--ink-1);
    letter-spacing: 0.05em;
}
.pack-banner__uses strong {
    color: var(--accent);
    font-weight: 700;
    margin-right: 0.2em;
}

.success-preview {
    margin-top: 2rem;
    width: 100%;
    text-align: left;
}
.success-preview-label {
    font-family: var(--f-mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--ink-3);
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    text-align: center;
}
.success-preview .resume-preview {
    background: #fbf8f0;
    color: #1a1a1a;
    padding: 2rem 2.4rem;
    border-radius: 10px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.82rem;
    line-height: 1.55;
    max-height: 600px;
    overflow-y: auto;
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6), 0 0 0 1px var(--accent);
    position: relative;
}
.success-preview .resume-preview::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    box-shadow: 0 0 40px -6px var(--accent-glow);
    pointer-events: none;
}
.rp-name {
    text-align: center;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.04em;
    color: #1a1a1a;
}
.rp-contact {
    text-align: center;
    font-size: 0.72rem;
    color: #666;
    margin-bottom: 0.8rem;
}
.rp-section {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1.5px solid #000;
    padding-bottom: 2px;
    margin: 0.9rem 0 0.4rem;
}
.rp-line {
    font-size: 0.78rem;
    color: #333;
    margin: 0.1rem 0;
}
.rp-bullet {
    font-size: 0.72rem;
    color: #333;
    margin: 0.08rem 0 0.08rem 1rem;
    text-indent: -0.6rem;
    padding-left: 0.6rem;
}
.rp-bullet::before { content: '• '; color: #1a1a1a; }
.rp-role {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.6rem;
    margin: 0.35rem 0 0.1rem;
}
.rp-role-left {
    flex: 1;
    font-size: 0.78rem;
    color: #1a1a1a;
    line-height: 1.35;
}
.rp-role-date {
    font-style: italic;
    font-size: 0.7rem;
    color: #555;
    white-space: nowrap;
    flex-shrink: 0;
}

.success-cover {
    margin-top: 1.5rem;
}
.success-cover summary {
    cursor: pointer;
    font-family: var(--f-mono);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    color: var(--ink-2);
    text-transform: uppercase;
    padding: 0.6rem 1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    transition: all 0.15s var(--ease);
    list-style: none;
}
.success-cover summary::-webkit-details-marker { display: none; }
.success-cover summary:hover {
    color: var(--ink-0);
    border-color: var(--line-strong);
    background: var(--bg-1);
}
.success-cover[open] summary {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-dim);
}

.success-footer-cta {
    margin-top: 2rem;
}

/* ══════════════════════════ Legacy success.html compatibility ══════════════════════════ */
/* Generic button classes in case success.html renders via app.js */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--accent);
    color: var(--bg-0);
    border: 1px solid var(--accent);
    padding: 0.7rem 1.1rem;
    font-family: var(--f-ui);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.18s var(--ease);
}
.btn:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn-sm { padding: 0.45rem 0.85rem; font-size: 0.82rem; }
.btn-lg { padding: 0.95rem 1.3rem; font-size: 1rem; }
.btn-outline {
    background: transparent;
    color: var(--ink-1);
    border-color: var(--line-strong);
}
.btn-outline:hover {
    background: var(--bg-2);
    border-color: var(--ink-3);
    color: var(--ink-0);
}

/* ══════════════════════════ MOTION ══════════════════════════ */
@keyframes rise {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .bg-glow, .bg-noise, .bg-grid { display: none; }
}

/* ══════════════════════════ RESPONSIVE FINE TUNE ══════════════════════════ */
@media (max-width: 600px) {
    .hero-title { font-size: clamp(2.4rem, 9.5vw, 4rem); }
    .nav-inner { padding: 0.7rem 1rem; }
    .hero-points { gap: 0.4rem 1.2rem; font-size: 0.72rem; }
    .submit-btn { padding: 0.85rem 1rem; }
}


/* ══════════════════════════ AUTH (login / signup) ══════════════════════════ */
.auth-main {
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(2rem, 6vw, 4rem) 1rem;
}
.auth-card {
    width: 100%;
    max-width: 460px;
    background: linear-gradient(180deg, var(--bg-1), var(--bg-2));
    border: 1px solid var(--line-strong);
    border-radius: 18px;
    padding: clamp(1.75rem, 3vw, 2.5rem);
    box-shadow: 0 30px 80px -30px rgba(0,0,0,0.7);
}
.auth-tabs {
    display: flex;
    gap: 0.25rem;
    background: var(--bg-2);
    border-radius: 10px;
    padding: 0.25rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--line);
}
.auth-tab {
    flex: 1;
    background: transparent;
    border: 0;
    color: var(--ink-2);
    font-family: var(--f-ui);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.55rem 0.9rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.auth-tab:hover { color: var(--ink-1); }
.auth-tab.active {
    background: var(--bg-3);
    color: var(--ink-0);
    box-shadow: 0 0 0 1px var(--line-strong);
}
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.auth-form[hidden] { display: none; }
.auth-h {
    font-family: var(--f-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.6rem, 4vw, 2rem);
    line-height: 1.1;
    margin: 0;
    color: var(--ink-0);
}
.auth-sub {
    color: var(--ink-2);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: -0.25rem 0 0.5rem;
}
.auth-label {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.auth-label > span {
    font-family: var(--f-mono);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-3);
}
.auth-label input {
    width: 100%;
    border: 1px solid var(--line-strong);
    background: var(--bg-2);
    padding: 0.7rem 0.85rem;
    font-family: var(--f-ui);
    font-size: 0.95rem;
    color: var(--ink-0);
    border-radius: 8px;
    transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease), background 0.15s var(--ease);
}
.auth-label input:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--bg-1);
    box-shadow: 0 0 0 3px rgba(197, 255, 74, 0.12);
}
.auth-hint {
    color: var(--ink-3);
    font-size: 0.78rem;
}
.auth-link-btn {
    align-self: flex-start;
    background: transparent;
    border: 0;
    color: var(--accent);
    font-family: var(--f-ui);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    text-decoration-color: rgba(197, 255, 74, 0.35);
    text-underline-offset: 3px;
    margin-bottom: 0.5rem;
}
.auth-link-btn:hover { text-decoration-color: var(--accent); }
.auth-msg {
    font-size: 0.85rem;
    line-height: 1.45;
    margin: 0;
    min-height: 1.2rem;
}
.auth-msg--error { color: #ff7066; }
.auth-msg--ok    { color: var(--accent); }


/* ══════════════════════════ ACCOUNT DASHBOARD ══════════════════════════ */
.account-main {
    padding: clamp(2rem, 5vw, 4rem) 1rem;
    min-height: calc(100vh - 60px);
}
.account-shell {
    max-width: 1080px;
    margin: 0 auto;
    width: 100%;
}
.account-loading {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--ink-2);
}
.account-loading p {
    margin-top: 1rem;
    font-family: var(--f-mono);
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.account-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--line);
}
.account-eyebrow {
    font-family: var(--f-mono);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    color: var(--ink-3);
    text-transform: uppercase;
    margin: 0 0 0.4rem;
}
.account-title {
    font-family: var(--f-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(2rem, 5vw, 2.8rem);
    line-height: 1.05;
    margin: 0;
    color: var(--ink-0);
}
.account-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
}
.account-card {
    background: linear-gradient(180deg, var(--bg-1), var(--bg-2));
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    padding: 1.25rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.account-card__label {
    font-family: var(--f-mono);
    font-size: 0.66rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin: 0;
}
.account-card__value {
    font-family: var(--f-display);
    font-style: italic;
    font-weight: 400;
    font-size: 2rem;
    line-height: 1;
    color: var(--accent);
    margin: 0.3rem 0 0;
}
.account-card__detail {
    font-size: 0.85rem;
    color: var(--ink-2);
    margin: 0;
}
.account-card__cta {
    margin-top: 0.6rem;
    align-self: flex-start;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    font-family: var(--f-mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    text-decoration: none;
    text-align: left;
}
.account-card__cta:hover:not(:disabled) { text-decoration: underline; text-underline-offset: 3px; }
.account-card__cta:disabled { opacity: 0.6; cursor: wait; }

.account-section {
    margin-bottom: 2.5rem;
}
.account-section-head {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--line);
}
.account-section-head h2 {
    font-family: var(--f-ui);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ink-0);
    margin: 0;
}
.account-pill {
    font-family: var(--f-mono);
    font-size: 0.65rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    background: var(--bg-3);
    color: var(--ink-2);
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
}
.account-soon {
    color: var(--ink-2);
    font-size: 0.95rem;
    line-height: 1.55;
}
.resume-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.resume-empty {
    color: var(--ink-2);
    font-size: 0.95rem;
}
.resume-empty a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.resume-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.6rem 0.5rem 0;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 10px;
    color: inherit;
    transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.resume-row:hover {
    border-color: var(--line-strong);
    background: var(--bg-3);
}
.resume-row__open {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.4rem 1rem;
    background: none;
    border: 0;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}
.resume-row__open:disabled { cursor: default; }
.resume-row__title {
    color: var(--ink-0);
    font-weight: 500;
    font-size: 0.95rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.resume-row__title-input {
    flex: 1;
    margin: 0 1rem;
    padding: 0.3rem 0.5rem;
    font-family: var(--f-ui);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--ink-0);
    background: var(--bg-3);
    border: 1px solid var(--accent);
    border-radius: 6px;
    outline: none;
}
.resume-row__date {
    color: var(--ink-3);
    font-family: var(--f-mono);
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}
.resume-row__actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}
.resume-row__btn {
    background: none;
    border: 1px solid var(--line-strong);
    color: var(--ink-2);
    font-family: var(--f-ui);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.15s var(--ease), color 0.15s var(--ease), background 0.15s var(--ease);
}
.resume-row__btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.resume-row__btn--danger:hover {
    border-color: #ef5a6b;
    color: #ef5a6b;
}
.resume-row__btn:disabled {
    opacity: 0.6;
    cursor: wait;
}
.resume-row__confirm {
    color: var(--ink-2);
    font-family: var(--f-ui);
    font-size: 0.78rem;
    margin-right: 0.2rem;
}
.account-settings {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.account-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 10px;
    flex-wrap: wrap;
}
.account-row__label {
    font-family: var(--f-mono);
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin: 0 0 0.25rem;
}
.account-row__value {
    color: var(--ink-0);
    font-size: 0.95rem;
    margin: 0;
}
.account-row .submit-btn { width: auto; flex: 0 0 auto; }

.nav-cta--ghost {
    background: transparent !important;
    color: var(--ink-1) !important;
    border: 1px solid var(--line-strong) !important;
}
.nav-cta--ghost:hover {
    background: var(--bg-3) !important;
    color: var(--ink-0) !important;
}


/* Cleanup-only toggle (lighter than the cover-letter add-on; same hit area) */
.cleanup-toggle {
    display: flex;
    gap: 0.8rem;
    padding: 0.75rem 0.95rem;
    border: 1px dashed var(--line-strong);
    background: transparent;
    border-radius: 10px;
    margin: 0.25rem 0 1.1rem;
    cursor: pointer;
    transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.cleanup-toggle:hover {
    border-color: var(--accent);
    background: rgba(197, 255, 74, 0.04);
}
.cleanup-toggle input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.cleanup-toggle input:checked + .check-box {
    background: var(--accent);
    border-color: var(--accent);
}
.cleanup-toggle input:checked + .check-box::after {
    content: '';
    position: absolute;
    left: 5px; top: 1px;
    width: 5px; height: 10px;
    border: solid var(--bg-0);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.cleanup-toggle__body {
    display: block;
    line-height: 1.4;
}
.cleanup-toggle__title {
    display: block;
    color: var(--ink-1);
    font-size: 0.92rem;
    font-weight: 500;
}
.cleanup-toggle__desc {
    display: block;
    color: var(--ink-2);
    font-size: 0.8rem;
    margin-top: 0.15rem;
}


/* Mode picker | radio cards at top of form (Option 2) */
.mode-picker {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
    margin: 0 0 1.4rem;
}
.mode-option {
    cursor: pointer;
}
.mode-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.mode-card {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--line-strong);
    background: var(--bg-2);
    border-radius: 10px;
    transition: border-color 0.15s var(--ease), background 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.mode-option:hover .mode-card {
    border-color: var(--ink-3);
    background: var(--bg-3);
}
.mode-option input:checked + .mode-card {
    border-color: var(--accent);
    background: rgba(197, 255, 74, 0.08);
    box-shadow: 0 0 0 1px var(--accent);
}
.mode-title {
    font-family: var(--f-ui);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ink-0);
}
.mode-option input:checked + .mode-card .mode-title {
    color: var(--accent);
}
.mode-desc {
    font-size: 0.78rem;
    color: var(--ink-2);
    line-height: 1.4;
}
@media (max-width: 480px) {
    .mode-picker { grid-template-columns: 1fr; }
}

/* STAR coach */
.star-progress {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.4rem;
}
.star-progress__label {
    font-family: var(--f-ui);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-2);
}
.star-progress__bar {
    height: 4px;
    background: var(--bg-3);
    border-radius: 999px;
    overflow: hidden;
}
.star-progress__fill {
    height: 100%;
    background: var(--accent);
    transition: width 0.25s var(--ease);
}
.star-question {
    font-family: var(--f-ui);
    font-size: 1.4rem;
    line-height: 1.4;
    color: var(--ink-0);
    margin: 0 0 1rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}
.star-tip {
    font-size: 0.85rem;
    color: var(--ink-2);
    background: var(--bg-2);
    border: 1px solid var(--line-strong);
    border-left: 2px solid var(--accent);
    border-radius: 8px;
    padding: 0.7rem 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.55;
}
.star-tip strong {
    color: var(--ink-0);
    font-weight: 600;
}
.star-tip em {
    font-style: normal;
    color: var(--accent);
    font-weight: 500;
}
.star-feedback {
    margin-top: 1.2rem;
    padding: 1.1rem 1.2rem;
    background: var(--bg-2);
    border: 1px solid var(--line-strong);
    border-radius: 12px;
}
.star-feedback__head {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
    margin-bottom: 0.7rem;
}
.star-score {
    font-family: var(--f-ui);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    letter-spacing: -0.02em;
}
.star-score__label {
    font-family: var(--f-ui);
    font-size: 1rem;
    color: var(--ink-2);
}
.star-feedback__text {
    color: var(--ink-0);
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0 0 0.9rem;
}
.star-structure {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}
.star-structure__chip {
    font-family: var(--f-ui);
    font-size: 0.78rem;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    text-transform: capitalize;
    letter-spacing: 0.01em;
}
.star-structure__chip.on {
    background: rgba(197, 255, 74, 0.1);
    border-color: var(--accent);
    color: var(--accent);
}
.star-structure__chip.off {
    background: var(--bg-3);
    color: var(--ink-3);
}

/* Dashboard hero ribbon */
.hero-ribbon {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    margin-bottom: 1.5rem;
    border: 1px solid var(--line-strong);
    border-radius: 18px;
    background:
        radial-gradient(circle at 0% 0%, rgba(197, 255, 74, 0.08), transparent 55%),
        linear-gradient(180deg, var(--bg-1), var(--bg-2));
    box-shadow: 0 30px 60px -30px rgba(0,0,0,0.5);
}
.hero-ribbon__copy { flex: 1 1 320px; min-width: 0; }
.hero-ribbon__sub {
    margin-top: 0.5rem;
    color: var(--ink-2);
    max-width: 560px;
    line-height: 1.55;
    font-size: 0.98rem;
}
.hero-ribbon__cta { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 0.4rem; }
.hero-ribbon__hint {
    margin: 0;
    font-size: 0.78rem;
    color: var(--ink-2);
    text-align: right;
    line-height: 1.4;
}
.hero-ribbon__hint[hidden] { display: none; }

/* Avatar + greeting layout in the hero ribbon head */
.hero-ribbon__head {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.hero-ribbon__head-text { min-width: 0; flex: 1 1 auto; }
.profile-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--f-display, 'Host Grotesk', sans-serif);
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    background: var(--accent, #8aff3f);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06), 0 6px 18px -6px rgba(0, 0, 0, 0.45);
    user-select: none;
    line-height: 1;
    border: 0;
    padding: 0;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    background-clip: padding-box;
}
.profile-avatar:hover {
    transform: scale(1.04);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1), 0 8px 22px -6px rgba(0, 0, 0, 0.5);
}
.profile-avatar:focus-visible { outline: 2px solid var(--accent, #8aff3f); outline-offset: 3px; }
.profile-avatar--image { color: transparent; }
.profile-avatar--preset { font-size: 1.7rem; }

/* Avatar picker modal */
.modal__panel--narrow { max-width: 32rem; }
.avatar-modal-body {
    padding: 0.5rem 1.5rem 1.5rem;
}
.avatar-section-label {
    margin: 1.2rem 0 0.6rem;
    font-family: var(--f-mono, 'JetBrains Mono', monospace);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-3);
}
.avatar-preset-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.7rem;
}
.avatar-preset {
    aspect-ratio: 1;
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    color: #fff;
    line-height: 1;
}
.avatar-preset:hover {
    transform: scale(1.06);
    box-shadow: 0 8px 18px -6px rgba(0, 0, 0, 0.4);
}
.avatar-preset:focus-visible { outline: 2px solid var(--accent, #8aff3f); outline-offset: 2px; }

.avatar-upload {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    align-items: flex-start;
}
.avatar-upload-hint {
    margin: 0;
    font-size: 0.78rem;
    color: var(--ink-3);
}
.avatar-current {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line, rgba(255,255,255,0.08));
}
.avatar-msg {
    margin-top: 1rem;
    min-height: 1em;
    font-size: 0.85rem;
    color: var(--ink-2);
}
.avatar-msg--err { color: #ef4444; }
@media (max-width: 540px) {
    .avatar-preset-grid { grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
    .avatar-preset { font-size: 1.4rem; border-radius: 10px; }
}

/* Looking-for target role pill below the heroSub */
.target-role { margin-top: 0.85rem; }
.target-role__pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.75rem 0.4rem 0.55rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--line, rgba(255,255,255,0.08));
    border-radius: 999px;
    font-family: var(--f-mono, 'JetBrains Mono', monospace);
    font-size: 0.78rem;
    color: var(--ink-2);
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.target-role__pill:hover {
    border-color: var(--ink-3);
    background: rgba(255,255,255,0.06);
}
.target-role__pill[hidden] { display: none; }
.target-role__icon {
    display: inline-flex;
    color: var(--accent, #8aff3f);
    line-height: 0;
}
.target-role__label {
    color: var(--ink-3);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.68rem;
}
.target-role__value {
    color: var(--ink-0);
    letter-spacing: 0.01em;
    font-family: var(--f-sans, 'Host Grotesk', sans-serif);
    font-size: 0.88rem;
}
.target-role__value--empty {
    color: var(--ink-3);
    font-style: italic;
}
.target-role__form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin-top: 0.25rem;
}
.target-role__form[hidden] { display: none; }
.target-role__input { max-width: 22rem; margin: 0; }
.target-role__clear[hidden] { display: none; }

@media (max-width: 540px) {
    .hero-ribbon__head { gap: 0.8rem; }
    .profile-avatar { width: 46px; height: 46px; font-size: 1.3rem; }
}

/* Inline display-name edit on the dashboard welcome heading */
.name-display { display: inline-flex; align-items: baseline; gap: 0.4rem; }
.name-display[hidden] { display: none; }
.name-edit-btn {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 0.2rem 0.3rem;
    margin-left: 0.15rem;
    cursor: pointer;
    color: var(--ink-3);
    line-height: 0;
    opacity: 0.55;
    transform: translateY(-0.18em);
    transition: opacity 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.name-edit-btn:hover, .name-edit-btn:focus-visible {
    opacity: 1;
    color: var(--accent);
    border-color: var(--line);
    outline: none;
}
.name-edit-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin: 0.5rem 0 0.25rem;
}
.name-edit-form[hidden] { display: none; }
.name-edit-input { max-width: 18rem; margin: 0; }
.name-edit-msg {
    font-size: 0.82rem;
    color: var(--ink-2);
    flex-basis: 100%;
}

/* Inline Pro status hint above the form's submit button */
.pro-hint {
    margin: 0 0 0.6rem;
    padding: 0.55rem 0.85rem;
    background: rgba(197, 255, 74, 0.08);
    border: 1px solid rgba(197, 255, 74, 0.35);
    border-radius: 8px;
    font-size: 0.82rem;
    color: var(--accent);
    line-height: 1.4;
}
.pro-hint--cap {
    background: rgba(255, 193, 7, 0.08);
    border-color: rgba(255, 193, 7, 0.4);
    color: #ffd86b;
}
.pro-hint[hidden] { display: none; }

/* "View all 49 resumes" button under the recent list */
.resume-list__more {
    margin-top: 0.8rem;
    width: 100%;
    background: var(--bg-2);
    border: 1px dashed var(--line-strong);
    color: var(--ink-2);
    font-family: var(--f-ui);
    font-size: 0.85rem;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.15s var(--ease), color 0.15s var(--ease);
}
.resume-list__more:hover:not(:disabled) {
    border-color: var(--accent);
    color: var(--accent);
    border-style: solid;
}
.resume-list__more:disabled { opacity: 0.6; cursor: wait; }
.resume-list__more[hidden] { display: none; }

/* Stats strip */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}
.stat-cell {
    padding: 1rem 1.1rem;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    background: var(--bg-2);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.stat-cell__label {
    font-family: var(--f-ui);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-2);
}
.stat-cell__value {
    font-family: var(--f-ui);
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--ink-0);
    letter-spacing: -0.02em;
    line-height: 1.05;
}
.stat-cell__value--small { font-size: 1.15rem; font-weight: 600; }
.stat-cell__sub { font-size: 0.8rem; color: var(--ink-2); }
@media (max-width: 720px) {
    .stats-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Tip card variant */
.account-card--tip {
    background:
        radial-gradient(circle at 100% 0%, rgba(197, 255, 74, 0.1), transparent 60%),
        var(--bg-2);
    border-color: var(--accent);
}
.account-card__value--tip {
    font-family: var(--f-ui) !important;
    font-style: normal !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    line-height: 1.4;
    margin: 0.3rem 0 0.4rem !important;
    color: var(--ink-1) !important;
}

/* Toolkit grid */
.toolkit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}
@media (max-width: 720px) {
    .toolkit-grid { grid-template-columns: 1fr; }
}
.toolkit-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.25rem 1.4rem;
    background: var(--bg-2);
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    text-decoration: none;
    color: var(--ink-0);
    transition: border-color 0.15s var(--ease), transform 0.15s var(--ease), background 0.15s var(--ease);
}
.toolkit-card:hover {
    border-color: var(--accent);
    background: var(--bg-3);
    transform: translateY(-2px);
}
.toolkit-card h3 {
    font-family: var(--f-ui);
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
    color: var(--ink-0);
}
.toolkit-card p {
    font-size: 0.88rem;
    color: var(--ink-2);
    line-height: 1.5;
    margin: 0;
}
.toolkit-card__pill {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    font-family: var(--f-ui);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(197, 255, 74, 0.12);
    color: var(--accent);
    border: 1px solid var(--accent);
}
.toolkit-card__pill--free {
    background: var(--bg-3);
    color: var(--ink-2);
    border-color: var(--line-strong);
}
.toolkit-card__more {
    margin-top: auto;
    font-family: var(--f-ui);
    font-size: 0.82rem;
    color: var(--accent);
    padding-top: 0.5rem;
}

/* Playbook (blog feed) grid */
.playbook-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}
@media (max-width: 900px) {
    .playbook-grid { grid-template-columns: 1fr; }
}
.playbook-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.1rem 1.25rem;
    background: var(--bg-2);
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    text-decoration: none;
    color: var(--ink-0);
    transition: border-color 0.15s var(--ease), transform 0.15s var(--ease);
}
.playbook-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.playbook-card h3 {
    font-family: var(--f-ui);
    font-size: 0.98rem;
    font-weight: 600;
    margin: 0.2rem 0 0;
    line-height: 1.35;
}
.playbook-card p {
    font-size: 0.82rem;
    color: var(--ink-2);
    line-height: 1.5;
    margin: 0;
}

/* Section helpers */
.account-pill--quiet {
    background: var(--bg-3);
    color: var(--ink-2);
    border-color: var(--line-strong);
}
.account-section-link {
    font-family: var(--f-ui);
    font-size: 0.85rem;
    color: var(--accent);
    text-decoration: none;
}
.account-section-link:hover { text-decoration: underline; }

/* Legal document body (privacy, ToS) */
.legal-doc { color: var(--ink-1); line-height: 1.65; font-size: 0.96rem; }
.legal-doc h2 {
    font-family: var(--f-ui);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ink-0);
    margin: 2rem 0 0.6rem;
    letter-spacing: -0.01em;
}
.legal-doc h3 {
    font-family: var(--f-ui);
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink-0);
    margin: 1.2rem 0 0.4rem;
}
.legal-doc p { margin: 0 0 0.8rem; color: var(--ink-1); }
.legal-doc ul {
    margin: 0 0 0.9rem;
    padding-left: 1.2rem;
    color: var(--ink-1);
}
.legal-doc li { margin-bottom: 0.3rem; }
.legal-doc a { color: var(--accent); text-decoration: none; }
.legal-doc a:hover { text-decoration: underline; }
.legal-doc strong { color: var(--ink-0); }

/* Resource page (behavioral, follow-up, salary) */
.resource-main { padding: clamp(2rem, 5vw, 4rem) 1.5rem 4rem; }
.resource-shell { max-width: 880px; margin: 0 auto; }
.resource-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--f-ui);
    font-size: 0.85rem;
    color: var(--ink-2);
    text-decoration: none;
    margin-bottom: 1.5rem;
}
.resource-back:hover { color: var(--accent); }
.resource-eyebrow {
    font-family: var(--f-ui);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 0.6rem;
}
.resource-title {
    font-family: var(--f-ui);
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 0.8rem;
}
.resource-lede {
    font-size: 1.05rem;
    color: var(--ink-2);
    line-height: 1.55;
    max-width: 640px;
    margin-bottom: 2.5rem;
}
.resource-section { margin-bottom: 2.5rem; }
.resource-section h2 {
    font-family: var(--f-ui);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--line-strong);
}
.resource-q-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.resource-q {
    padding: 0.85rem 1.1rem;
    background: var(--bg-2);
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    color: var(--ink-0);
    line-height: 1.5;
    font-size: 0.95rem;
}
.resource-q span {
    display: inline-block;
    font-family: var(--f-mono, monospace);
    font-size: 0.78rem;
    color: var(--accent);
    margin-right: 0.5rem;
}
.template-card {
    padding: 1.4rem 1.5rem;
    background: var(--bg-2);
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    margin-bottom: 1.25rem;
}
.template-card__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.4rem;
    flex-wrap: wrap;
}
.template-card__title {
    font-family: var(--f-ui);
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}
.template-card__sub {
    color: var(--ink-2);
    font-size: 0.85rem;
    margin: 0 0 1rem;
    line-height: 1.5;
}
.template-card__body {
    background: var(--bg-1);
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    padding: 1rem 1.15rem;
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--ink-0);
    white-space: pre-wrap;
    font-family: var(--f-ui);
}
.copy-btn {
    background: var(--bg-3);
    border: 1px solid var(--line-strong);
    color: var(--ink-0);
    font-family: var(--f-ui);
    font-size: 0.78rem;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s var(--ease), border-color 0.15s var(--ease);
}
.copy-btn:hover { background: var(--accent); color: var(--bg-0); border-color: var(--accent); }
.copy-btn.copied { background: var(--accent); color: var(--bg-0); border-color: var(--accent); }
.resource-cta {
    margin-top: 3rem;
    padding: 1.6rem 1.8rem;
    background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
    border: 1px solid var(--accent);
    border-radius: 16px;
    text-align: center;
}
.resource-cta h3 {
    font-family: var(--f-ui);
    font-size: 1.15rem;
    margin: 0 0 0.4rem;
}
.resource-cta p { color: var(--ink-2); margin: 0 0 1rem; font-size: 0.92rem; }

/* Modal (resume viewer) */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}
.modal[hidden] { display: none; }
.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.modal__panel {
    position: relative;
    width: 100%;
    max-width: 820px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    background: var(--bg-1);
    border: 1px solid var(--line-strong);
    border-radius: 18px;
    box-shadow: 0 40px 80px -20px rgba(0,0,0,0.7);
    overflow: hidden;
}
.modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.4rem 1.6rem 1rem;
    border-bottom: 1px solid var(--line-strong);
}
.modal__head-info { flex: 1; min-width: 0; }
.modal__nav {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}
.modal__nav-btn {
    background: var(--bg-2);
    border: 1px solid var(--line-strong);
    color: var(--ink-0);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s var(--ease), color 0.15s var(--ease), background 0.15s var(--ease);
}
.modal__nav-btn:hover:not(:disabled) {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--bg-3);
}
.modal__nav-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.modal__counter {
    font-family: var(--f-ui);
    font-size: 0.78rem;
    color: var(--ink-2);
    padding: 0 0.5rem;
    white-space: nowrap;
}
.modal__eyebrow {
    font-family: var(--f-ui);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-2);
    margin: 0 0 0.3rem;
}
.modal__title {
    font-family: var(--f-ui);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
    color: var(--ink-0);
}
.modal__title-input {
    font-family: var(--f-ui);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--ink-0);
    background: var(--bg-2);
    border: 1px solid var(--accent);
    border-radius: 6px;
    padding: 0.2rem 0.5rem;
    width: 100%;
    max-width: 420px;
    outline: none;
}
.modal__rename {
    background: none;
    border: 1px solid var(--line-strong);
    color: var(--ink-2);
    font-family: var(--f-ui);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 0.4rem;
    transition: border-color 0.15s var(--ease), color 0.15s var(--ease);
}
.modal__rename:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.modal__close {
    background: none;
    border: 0;
    color: var(--ink-2);
    font-size: 1.6rem;
    line-height: 1;
    padding: 0.2rem 0.6rem;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.modal__close:hover { background: var(--bg-3); color: var(--ink-0); }
.modal__body {
    overflow-y: auto;
    padding: 1.4rem 1.6rem 1.6rem;
    flex: 1;
}
.modal__downloads {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--line-strong);
}
.modal__dl {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1rem;
    background: var(--bg-2);
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    color: var(--ink-0);
    font-family: var(--f-ui);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: border-color 0.15s var(--ease), color 0.15s var(--ease), background 0.15s var(--ease);
}
.modal__dl:hover { border-color: var(--accent); color: var(--accent); background: var(--bg-3); }
.modal__dl--pending {
    color: var(--ink-3);
    cursor: default;
    opacity: 0.7;
    font-style: italic;
}
.modal__dl--pending:hover { border-color: var(--line-strong); color: var(--ink-3); background: var(--bg-2); }
.modal__dl--empty { color: var(--ink-3); }
.modal__retention {
    flex-basis: 100%;
    margin: 0.4rem 0 0;
    color: var(--ink-3);
    font-family: var(--f-ui);
    font-size: 0.78rem;
}
.resume-list__retention {
    margin: 0 0 1rem;
    color: var(--ink-3);
    font-family: var(--f-ui);
    font-size: 0.82rem;
    line-height: 1.5;
}

.plan-picker {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-top: 0.8rem;
}
.plan-picker[hidden] {
    display: none;
}
.plan-picker__opt {
    position: relative;
    background: var(--bg-2);
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    padding: 0.85rem 0.7rem;
    color: var(--ink-0);
    font-family: var(--f-ui);
    cursor: pointer;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    transition: border-color 0.15s var(--ease), background 0.15s var(--ease);
}
.plan-picker__opt:hover { border-color: var(--accent); background: var(--bg-3); }
.plan-picker__opt:disabled { opacity: 0.6; cursor: wait; }
.plan-picker__opt--featured { border-color: var(--accent); }
.plan-picker__badge {
    position: absolute;
    top: -8px;
    right: 8px;
    background: var(--accent);
    color: #07080a;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 2px 7px;
    border-radius: 4px;
    text-transform: uppercase;
}
.plan-picker__label {
    font-size: 0.72rem;
    color: var(--ink-2);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}
.plan-picker__price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--ink-0);
    line-height: 1;
}
.plan-picker__price span {
    font-size: 0.78rem;
    color: var(--ink-2);
    font-weight: 500;
    margin-left: 2px;
}
.plan-picker__sub {
    font-size: 0.7rem;
    color: var(--ink-3);
}

/* ============================================================
   ATS gap report card | used in modal preview + success page
   ============================================================ */
.ats-card {
    background: var(--bg-2);
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    padding: 1.1rem 1.2rem;
    margin: 0 0 1.4rem;
}
.ats-card__head {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 0.9rem;
    margin-bottom: 0.9rem;
    border-bottom: 1px solid var(--line);
}
.ats-card__score {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--line-strong);
    background: var(--bg-3);
}
.ats-card__score--good { border-color: #c5ff4a; box-shadow: 0 0 24px -8px #c5ff4a; }
.ats-card__score--ok   { border-color: #f5c451; }
.ats-card__score--low  { border-color: #ef5a6b; }
.ats-card__score--loading { opacity: 0.6; }
.ats-card__score-value {
    font-family: var(--f-ui);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ink-0);
    line-height: 1;
}
.ats-card__score-label {
    font-family: var(--f-ui);
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-2);
    margin-top: 2px;
}
.ats-card__summary {
    flex: 1;
    margin: 0;
    font-size: 0.92rem;
    color: var(--ink-1);
    line-height: 1.4;
}
.ats-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.ats-card__row h5 {
    font-family: var(--f-ui);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-2);
    margin: 0 0 0.4rem;
}
.ats-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}
.ats-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    font-family: var(--f-ui);
    font-size: 0.78rem;
    font-weight: 500;
    border: 1px solid transparent;
}
.ats-chip--good { background: rgba(197,255,74,0.12); color: #a8e83b; border-color: rgba(197,255,74,0.3); }
.ats-chip--bad  { background: rgba(239,90,107,0.12); color: #ef7c89; border-color: rgba(239,90,107,0.3); }
.ats-chip--warn { background: rgba(245,196,81,0.12); color: #f5c451; border-color: rgba(245,196,81,0.3); }
.ats-chip--empty { background: transparent; color: var(--ink-3); }
.ats-chip__count {
    font-size: 0.7rem;
    color: inherit;
    opacity: 0.7;
    margin-left: 0.2rem;
}
.ats-card__recs {
    margin-top: 0.9rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--line);
}
.ats-card__recs h5 {
    font-family: var(--f-ui);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-2);
    margin: 0 0 0.5rem;
}
.ats-card__recs ol {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--ink-1);
    font-size: 0.88rem;
    line-height: 1.5;
}
.ats-card__recs li { margin-bottom: 0.3rem; }

/* On the success page, the card sits over the dark hero | make it pop */
.success-preview .ats-card {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.12);
    margin-bottom: 1.2rem;
}

.modal__paper { margin: 0 0 1.4rem; }
.modal__paper .resume-preview {
    background: #fbf8f0;
    color: #1a1a1a;
    padding: 2rem 2.4rem;
    border-radius: 10px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.86rem;
    line-height: 1.55;
    box-shadow: 0 16px 40px -16px rgba(0,0,0,0.7), 0 0 0 1px var(--line-strong);
}
.modal__danger {
    margin-top: 1.8rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--line-strong);
    text-align: right;
}
.modal__delete {
    background: transparent;
    border: 1px solid #4a2329;
    color: #ef6c75;
    font-family: var(--f-ui);
    font-size: 0.85rem;
    padding: 0.55rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease);
}
.modal__delete:hover:not(:disabled) {
    background: rgba(239, 108, 117, 0.1);
    border-color: #ef6c75;
    color: #ff8b91;
}
.modal__delete:disabled { opacity: 0.6; cursor: wait; }

/* Inline delete confirmation inside the modal */
.modal__confirm {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1rem 1.1rem;
    background: rgba(239, 108, 117, 0.06);
    border: 1px solid rgba(239, 108, 117, 0.35);
    border-radius: 10px;
}
.modal__confirm-text {
    color: #ff8b91;
    font-size: 0.92rem;
    margin: 0;
    font-weight: 500;
}
.modal__confirm-actions {
    display: flex;
    gap: 0.6rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}
.modal__cancel {
    background: var(--bg-3);
    border: 1px solid var(--line-strong);
    color: var(--ink-0);
    font-family: var(--f-ui);
    font-size: 0.85rem;
    padding: 0.55rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s var(--ease), border-color 0.15s var(--ease);
}
.modal__cancel:hover:not(:disabled) { border-color: var(--ink-2); }
.modal__cancel:disabled { opacity: 0.5; cursor: not-allowed; }

/* Upgrade-fulfill-failed banner */
.upgrade-banner {
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(180deg, rgba(255, 193, 7, 0.08), rgba(255, 193, 7, 0.04));
    border: 1px solid rgba(255, 193, 7, 0.4);
    border-radius: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}
.upgrade-banner[hidden] { display: none; }
.upgrade-banner__head {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    flex: 1 1 280px;
    min-width: 0;
}
.upgrade-banner__head strong { color: var(--ink-0); font-family: var(--f-ui); font-weight: 600; }
.upgrade-banner__head span { color: var(--ink-2); font-size: 0.88rem; }
.upgrade-banner__actions {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-wrap: wrap;
}
.upgrade-banner__id {
    font-size: 0.78rem;
    color: var(--ink-2);
    line-height: 1.4;
}
.upgrade-banner__id code {
    background: var(--bg-3);
    border: 1px solid var(--line-strong);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-family: var(--f-mono, monospace);
    font-size: 0.72rem;
    color: var(--ink-0);
}
.upgrade-banner__id a { color: var(--accent); }

/* Clickable account card variant (e.g., pack credits with codes) */
.account-card--clickable {
    cursor: pointer;
    transition: border-color 0.15s var(--ease), transform 0.15s var(--ease);
}
.account-card--clickable:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* Modal hint paragraph (used by packs view) */
.modal__hint {
    color: var(--ink-2);
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0 0 1.2rem;
}

/* Pack codes list (inside modal) */
.pack-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.pack-list__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.85rem 1rem;
    background: var(--bg-2);
    border: 1px solid var(--line-strong);
    border-radius: 10px;
}
.pack-list__main {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}
.pack-list__code {
    font-family: var(--f-mono, 'JetBrains Mono', monospace);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--ink-0);
    background: transparent;
}
.pack-list__uses {
    font-size: 0.8rem;
    color: var(--ink-2);
}
.pack-list__copy {
    background: var(--bg-3);
    border: 1px solid var(--line-strong);
    color: var(--ink-0);
    font-family: var(--f-ui);
    font-size: 0.78rem;
    padding: 0.4rem 0.85rem;
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease);
}
.pack-list__copy:hover { border-color: var(--accent); color: var(--accent); }
.pack-list__copy.copied { background: var(--accent); color: var(--bg-0); border-color: var(--accent); }
.modal__section-title {
    font-family: var(--f-ui);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-2);
    margin: 1.5rem 0 0.7rem;
}
.modal__section-title:first-of-type { margin-top: 0; }
.modal__pre {
    background: var(--bg-2);
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    padding: 1.1rem 1.3rem;
    color: var(--ink-0);
    font-family: var(--f-ui);
    font-size: 0.92rem;
    line-height: 1.6;
    white-space: pre-wrap;
    word-wrap: break-word;
    margin: 0;
}

/* Application insights modal */
.insights-meta {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.85rem;
    color: var(--ink-2);
    margin-bottom: 1.1rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--line);
}
.insights-section { margin-bottom: 1.2rem; }
.insights-section:last-child { margin-bottom: 0; }
.insights-section__label {
    font-family: var(--f-mono);
    font-size: 0.66rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-bottom: 0.45rem;
}
.insights-action {
    color: var(--ink-0);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 0.5rem;
}
.insights-why { color: var(--ink-1); font-size: 0.92rem; line-height: 1.55; margin: 0 0 0.85rem; }
.insights-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--accent);
    color: var(--bg-0);
    padding: 0.55rem 0.95rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    transition: background 0.15s var(--ease);
}
.insights-cta:hover { background: var(--accent-2); }
.insights-also {
    margin-top: 1.1rem;
    padding: 0.85rem 1rem;
    background: var(--bg-2);
    border-left: 2px solid var(--accent);
    border-radius: 6px;
    color: var(--ink-1);
    font-size: 0.88rem;
    line-height: 1.5;
}

/* ══════════════════════════════════════════════════════════════
   Maintenance banner (shown when n8n backend is unreachable)
   ══════════════════════════════════════════════════════════════ */
.maintenance-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #2a1a08;
    color: #ffd17a;
    border-bottom: 1px solid #5c3a0d;
    padding: 0.75rem 1rem;
    text-align: center;
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.4;
    box-shadow: 0 2px 12px rgba(0,0,0,0.4);
    transform: translateY(-100%);
    transition: transform 0.25s var(--ease, ease);
}
.maintenance-banner.show { transform: translateY(0); }
.maintenance-banner strong { color: #ffb84a; }
body.has-maintenance-banner { padding-top: 3rem; }

/* ══════════════════════════════════════════════════════════════
   Follow-up draft button on application rows
   ══════════════════════════════════════════════════════════════ */
.apps-row__followup {
    background: rgba(197, 255, 74, 0.10);
    border: 1px solid rgba(197, 255, 74, 0.45);
    color: var(--accent);
    padding: 0.4rem 0.9rem;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--f-mono);
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
    transition: background 0.15s var(--ease), border-color 0.15s var(--ease);
    white-space: nowrap;
}
.apps-row__followup:hover {
    background: rgba(197, 255, 74, 0.20);
    border-color: var(--accent);
}
.apps-row__followup--alert {
    background: rgba(255, 184, 74, 0.12);
    border-color: rgba(255, 184, 74, 0.55);
    color: #ffb84a;
}
.apps-row__followup--alert:hover {
    background: rgba(255, 184, 74, 0.22);
    border-color: #ffb84a;
}
.modal__sub {
    margin: 0.25rem 0 0;
    font-size: 0.85rem;
    color: var(--ink-2);
    font-family: var(--f-mono);
}
