/* ============ FLASH BAR ============ */
.flash-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: var(--accent); color: #fff; text-align: center;
    padding: .7rem 1.5rem; font-size: .9rem; font-weight: 500;
    animation: fadeUp .3s ease both; }

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

/* ============ THEME TOKENS ============ */
:root, html:not(.theme-dark) {
    --paper:     oklch(0.985 0.005 82);
    --surface:   oklch(1 0 0);
    --surface-2: oklch(0.972 0.006 82);
    --surface-3: oklch(0.95 0.008 82);
    --ink:       oklch(0.245 0.012 55);
    --ink-2:     oklch(0.43 0.012 55);
    --ink-3:     oklch(0.585 0.01 58);
    --line:      oklch(0.905 0.006 72);
    --line-2:    oklch(0.85 0.008 72);
    --ink-panel: oklch(0.235 0.014 56);
    --on-ink:    oklch(0.95 0.006 84);
    --on-ink-2:  oklch(0.74 0.01 78);
    --shadow:    0 1px 2px rgba(40,30,20,.04), 0 8px 30px -12px rgba(40,30,20,.16);
    --shadow-lift: 0 2px 6px rgba(40,30,20,.06), 0 18px 44px -16px rgba(40,30,20,.24);
    --accent:    #7c6fcd;
    --font-ui:   'Spline Sans', sans-serif;
    --font-serif:'Newsreader', serif;
    --font-mono: 'Spline Sans Mono', monospace;
    color-scheme: light;
}
html.theme-dark {
    --paper:     oklch(0.172 0.008 58);
    --surface:   oklch(0.208 0.009 58);
    --surface-2: oklch(0.238 0.01 58);
    --surface-3: oklch(0.275 0.012 58);
    --ink:       oklch(0.93 0.006 85);
    --ink-2:     oklch(0.75 0.008 80);
    --ink-3:     oklch(0.58 0.01 70);
    --line:      oklch(0.31 0.012 64);
    --line-2:    oklch(0.4 0.013 64);
    --ink-panel: oklch(0.13 0.008 58);
    --on-ink:    oklch(0.94 0.006 84);
    --on-ink-2:  oklch(0.72 0.01 78);
    --shadow:    0 1px 2px rgba(0,0,0,.3), 0 10px 34px -12px rgba(0,0,0,.5);
    --shadow-lift: 0 2px 6px rgba(0,0,0,.35), 0 22px 50px -16px rgba(0,0,0,.6);
    color-scheme: dark;
}

/* Derived accent tokens */
html { --accent-ink: color-mix(in srgb, var(--accent) 100%, #000 14%); }
html { --accent-soft: color-mix(in srgb, var(--accent) 13%, var(--surface)); }
html { --accent-line: color-mix(in srgb, var(--accent) 38%, var(--line)); }
html { --mark: color-mix(in srgb, var(--accent) 22%, var(--paper)); }

body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-ui);
    -webkit-font-smoothing: antialiased;
    min-height: 100%;
    transition: background .3s ease, color .3s ease;
}
button { font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ============ LOGO ============ */
.logo { display: inline-flex; align-items: center; gap: .5em; line-height: 1; text-decoration: none; }
.logo-mark { width: .52em; height: .52em; border-radius: 50%; background: var(--accent);
    box-shadow: 0 0 0 .14em color-mix(in srgb, var(--accent) 22%, transparent); flex-shrink: 0; }
.logo-word { font-family: var(--font-serif); font-weight: 500; letter-spacing: -.01em; color: var(--ink); font-size: 1.2rem; }

/* ============ BUTTONS ============ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45em;
    font-weight: 550; border: 1px solid transparent; border-radius: 10px;
    white-space: nowrap; transition: background .16s, border-color .16s, color .16s, transform .12s, box-shadow .16s; }
.btn:active { transform: translateY(.5px); }
.btn-sm { padding: .4rem .7rem; font-size: .82rem; border-radius: 8px; }
.btn-md { padding: .56rem .9rem; font-size: .9rem; }
.btn-lg { padding: .76rem 1.15rem; font-size: 1rem; }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-ink); box-shadow: 0 6px 18px -8px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-ghost { background: transparent; color: var(--ink-2); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--surface-2); color: var(--ink); border-color: var(--line); }
.btn-soft { background: var(--accent-soft); color: var(--accent-ink); border-color: transparent; }
.btn-soft:hover { background: color-mix(in srgb, var(--accent) 20%, var(--surface)); }
.btn:disabled { opacity: .55; pointer-events: none; }

.iconbtn, .theme-toggle-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line);
    background: var(--surface); color: var(--ink-2);
    transition: background .16s, color .16s, border-color .16s; }
.iconbtn:hover, .theme-toggle-btn:hover { background: var(--surface-2); color: var(--ink); border-color: var(--line-2); }

/* ============ FORM FIELDS ============ */
.field { margin-bottom: 1.1rem; text-align: left; }
.field label { display: block; font-size: .82rem; font-weight: 550; color: var(--ink-2); margin-bottom: .4rem; }
.field input { width: 100%; padding: .66rem .85rem; border: 1px solid var(--line-2); border-radius: 10px;
    background: var(--surface); color: var(--ink); font-size: .95rem; outline: none;
    transition: border-color .15s, box-shadow .15s; }
.field input::placeholder { color: var(--ink-3); }
.field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.alert { background: color-mix(in srgb, #d4493a 12%, var(--surface));
    border: 1px solid color-mix(in srgb, #d4493a 30%, var(--line));
    color: color-mix(in srgb, #d4493a 70%, var(--ink));
    border-radius: 9px; padding: .6rem .8rem; font-size: .85rem; margin-bottom: 1rem; }

/* ============ LOGIN ============ */
.login-split { min-height: 100vh; display: grid; grid-template-columns: 1.08fr 1fr; }
.login-aside { background: var(--ink-panel); color: var(--on-ink);
    padding: clamp(2rem, 4vw, 3.4rem);
    display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; }
.login-aside .logo-word { color: var(--on-ink); }
.login-aside .logo-mark { background: var(--accent); }
.login-display { font-family: var(--font-serif); font-weight: 500;
    font-size: clamp(2.4rem, 4.4vw, 3.5rem); line-height: 1.02;
    letter-spacing: -.02em; color: var(--on-ink); margin-bottom: 1.3rem; }
.login-display em { font-style: italic; color: var(--accent); }
.login-display-sub { color: var(--on-ink-2); font-size: 1rem; line-height: 1.6; max-width: 30ch; }
.login-aside-foot { display: flex; align-items: stretch; gap: .9rem; color: var(--on-ink-2); }
.login-aside-foot svg { align-self: center; color: var(--accent); flex-shrink: 0; }
.ba { flex: 1; border: 1px solid color-mix(in srgb, var(--on-ink) 16%, transparent);
    border-radius: 10px; padding: .7rem .8rem; display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.ba-label { font-family: var(--font-mono); font-size: .62rem; text-transform: uppercase;
    letter-spacing: .14em; color: var(--on-ink-2); }
.ba-mono { font-family: var(--font-mono); font-size: .72rem; color: var(--on-ink-2);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ba-serif { font-family: var(--font-serif); font-size: .82rem; color: var(--on-ink);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.login-main { display: flex; align-items: center; justify-content: center; padding: 2.5rem 2rem; background: var(--paper); }
.login-card { width: 100%; max-width: 380px; }
.login-title { font-family: var(--font-serif); font-weight: 500; font-size: 1.95rem;
    letter-spacing: -.015em; margin-bottom: .4rem; }
.login-sub { color: var(--ink-3); font-size: .94rem; margin-bottom: 1.8rem; }
.login-hint { margin-top: 1rem; font-size: .8rem; color: var(--ink-3); text-align: center; }

/* ============ TOPBAR ============ */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    height: 64px; padding: 0 clamp(1.1rem, 3vw, 2rem);
    border-bottom: 1px solid var(--line);
    background: color-mix(in srgb, var(--paper) 86%, transparent);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    position: sticky; top: 0; z-index: 20; }
.topbar-left { display: flex; align-items: center; gap: .9rem; min-width: 0; }
.topbar-right { display: flex; align-items: center; gap: .65rem; flex-shrink: 0; }
.avatar { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2);
    background: var(--accent-soft); color: var(--accent-ink);
    display: flex; align-items: center; justify-content: center;
    font-size: .82rem; font-weight: 700; font-family: var(--font-ui); }

/* ============ HOME / DASHBOARD ============ */
.home-main { max-width: 1080px; margin: 0 auto;
    padding: clamp(1.6rem, 4vw, 3rem) clamp(1.1rem, 3vw, 2rem); }
.home-head { display: flex; align-items: flex-end; justify-content: space-between;
    gap: 1.5rem; margin-bottom: 2.2rem; flex-wrap: wrap; }
.eyebrow { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase;
    letter-spacing: .16em; color: var(--accent-ink); margin-bottom: .5rem; }
.home-title { font-family: var(--font-serif); font-weight: 500;
    font-size: clamp(1.8rem, 3.4vw, 2.4rem); letter-spacing: -.02em; }
.proj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.proj-new { display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
    gap: .55rem; min-height: 196px; padding: 1.5rem;
    border: 1.5px dashed var(--line-2); border-radius: 16px; background: transparent;
    cursor: pointer; text-align: left; width: 100%;
    transition: border-color .18s, background .18s, transform .12s; }
.proj-new:hover { border-color: var(--accent); background: var(--accent-soft); transform: translateY(-2px); }
.proj-new-plus { display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft);
    color: var(--accent-ink); margin-bottom: .4rem; transition: background .18s, color .18s; }
.proj-new:hover .proj-new-plus { background: var(--accent); color: #fff; }
.proj-new-label { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 500; color: var(--ink); }
.proj-new-sub { font-size: .84rem; color: var(--ink-3); }

/* hidden file input triggered by the new-project card */
#upload-input { display: none; }

/* Existing project cards */
.proj-card { position: relative; display: flex; flex-direction: column; gap: .45rem;
    min-height: 196px; padding: 1.25rem 1.25rem 1rem;
    background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
    transition: transform .14s, box-shadow .18s, border-color .18s; }
.proj-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift);
    border-color: var(--accent-line); }
.proj-card-link { display: contents; text-decoration: none; color: inherit; }
.proj-card-top { display: flex; align-items: center; justify-content: space-between; color: var(--ink-3); }
.proj-card-body { flex: 1; display: flex; flex-direction: column; gap: .3rem; margin-top: .35rem; }
.proj-title { font-family: var(--font-serif); font-weight: 500; font-size: 1.08rem;
    line-height: 1.25; color: var(--ink); }
.proj-file { font-family: var(--font-mono); font-size: .76rem; color: var(--ink-3); }
.proj-card-foot { display: flex; align-items: center; gap: .5rem;
    font-family: var(--font-mono); font-size: .74rem; color: var(--ink-3); margin-top: auto; }
.proj-dot { opacity: .6; }

/* Delete button on card */
.proj-delete-btn { position: absolute; top: .9rem; right: .9rem;
    display: none; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 7px; border: 1px solid var(--line);
    background: var(--surface-2); color: var(--ink-3);
    transition: background .14s, color .14s, border-color .14s; }
.proj-delete-btn:hover { background: color-mix(in srgb, #ef4444 12%, var(--surface));
    color: #ef4444; border-color: color-mix(in srgb, #ef4444 30%, var(--line)); }
.proj-card:hover .proj-delete-btn { display: inline-flex; }

/* Status pills */
.pill { font-size: .68rem; font-weight: 600; padding: .18rem .5rem;
    border-radius: 100px; letter-spacing: .02em; }
.pill-cleaned { background: var(--accent-soft); color: var(--accent-ink); }
.pill-draft   { background: color-mix(in srgb, #c98a2b 16%, var(--surface));
    color: color-mix(in srgb, #c98a2b 60%, var(--ink)); }
.pill-raw     { background: var(--surface-3); color: var(--ink-3); }

/* Trash page cards */
.proj-card-deleted { opacity: .85; }
.proj-days-left { font-family: var(--font-mono); font-size: .72rem;
    color: color-mix(in srgb, #ef4444 65%, var(--ink-3)); margin-top: .25rem; }
.proj-trash-actions { display: flex; align-items: center; gap: .5rem; margin-top: .6rem;
    padding-top: .6rem; border-top: 1px solid var(--line); }

/* ============ WORKSPACE TOPBAR ============ */
.ws-titlewrap { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.ws-title { font-family: var(--font-serif); font-weight: 500; font-size: 1.1rem;
    color: var(--ink); max-width: 46vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-file { display: inline-flex; align-items: center; gap: .35rem;
    font-family: var(--font-mono); font-size: .72rem; color: var(--ink-3); }
.ws-file svg { flex-shrink: 0; }
.saved-flag { display: inline-flex; align-items: center; gap: .35rem; font-size: .82rem; color: var(--ink-3); }

/* ============ PANELS ============ */
.ws-main { padding: clamp(1.4rem, 3.5vw, 2.4rem) clamp(1.1rem, 3vw, 2rem); }

.panel { display: flex; flex-direction: column; background: var(--surface);
    border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.panel-head { display: flex; align-items: center; justify-content: space-between;
    gap: .6rem; flex-wrap: wrap; padding: .7rem 1rem;
    border-bottom: 1px solid var(--line); background: var(--surface-2); }
.panel-head-l, .panel-head-r { display: flex; align-items: center; gap: .55rem; }
.panel-kicker { font-size: .72rem; text-transform: uppercase;
    letter-spacing: .12em; color: var(--ink-3); font-weight: 600; }
.panel-kicker.serif { font-family: var(--font-serif); text-transform: none;
    letter-spacing: 0; font-size: .92rem; color: var(--ink); font-weight: 500; font-style: italic; }
.panel-kicker.mono { font-family: var(--font-mono); }
.panel-meta { font-family: var(--font-mono); font-size: .72rem; color: var(--ink-3); }
.panel-body { padding: 1.3rem 1.4rem; overflow: auto; max-height: 62vh; }

/* Raw text panel */
.mono-pre { font-family: var(--font-mono); font-size: .8rem; line-height: 1.7;
    color: var(--ink-2); white-space: pre-wrap; word-break: break-word; }

/* Clean text panel */
.serif-prose { font-family: var(--font-serif); font-size: 1.04rem; line-height: 1.72;
    color: var(--ink); white-space: pre-wrap; word-break: break-word; }

/* ============ SINGLE PANEL / RAW VIEW ============ */
.ws-single { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.4rem; }
.ws-cta { display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; padding: .5rem; }
.ws-cta-text { font-family: var(--font-serif); font-size: 1.05rem; color: var(--ink-2); max-width: 42ch; line-height: 1.5; }

/* ============ SPLIT VIEW ============ */
.ws-split { max-width: 1240px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }

/* ============ HIGHLIGHT SEGMENTED CONTROL ============ */
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 9px; overflow: hidden; background: var(--surface); }
.seg-btn { padding: .32rem .58rem; font-size: .74rem; font-weight: 550; color: var(--ink-3);
    background: transparent; border: none; border-right: 1px solid var(--line); cursor: pointer;
    transition: background .14s, color .14s; font-family: var(--font-ui); }
.seg-btn:last-child { border-right: none; }
.seg-btn:hover { background: var(--surface-2); color: var(--ink); }
.seg-btn.active { background: var(--accent); color: #fff; }

/* Editing mode */
.editing-flag { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 550; color: var(--accent-ink); }
.rec-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1.4s ease-in-out infinite; }
.editable { outline: none; box-shadow: inset 0 0 0 2px var(--accent-line);
    border-radius: 8px; background: color-mix(in srgb, var(--accent) 4%, var(--surface)); }

/* ============ WORD HIGHLIGHTS ============ */
.wmark { background: color-mix(in srgb, #f87171 28%, var(--paper));
    border-radius: 3px; padding: 0 2px;
    box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ============ LEGEND ============ */
.legend { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap;
    padding: .7rem 1.4rem; border-top: 1px solid var(--line);
    font-size: .76rem; color: var(--ink-3); }
.legend-sw { font-size: .72rem; }

/* ============ UPLOAD / DROPZONE (home) ============ */
.dropzone { display: flex; flex-direction: column; align-items: center; gap: .7rem; cursor: pointer;
    border: 2px dashed var(--line-2); border-radius: 20px;
    padding: clamp(2.4rem, 5vw, 3.6rem) clamp(2.6rem, 6vw, 4.4rem);
    background: var(--surface); transition: border-color .18s, background .18s, transform .14s;
    text-align: center; }
.dropzone:hover { border-color: var(--accent); background: var(--accent-soft); transform: translateY(-2px); }
.dz-icon { display: inline-flex; align-items: center; justify-content: center;
    width: 60px; height: 60px; border-radius: 16px; background: var(--accent-soft);
    color: var(--accent-ink); margin-bottom: .3rem; }
.dz-title { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 500; color: var(--ink); }
.dz-sub { font-size: .86rem; color: var(--ink-3); }

/* ============ REORGANIZE PANEL ============ */
/* grid-column spans both columns when inside ws-split; ignored in flex/single */
.reorg-panel { border-color: var(--accent-line); grid-column: 1 / -1; }
.reorg-body { padding: 1.3rem 1.4rem; display: flex; flex-direction: column; gap: 1rem; }
.reorg-hint { font-size: .9rem; color: var(--ink-2); line-height: 1.6; }
.reorg-hint strong { color: var(--ink); font-weight: 600; }
.reorg-textarea { width: 100%; padding: .8rem 1rem; border: 1px solid var(--line-2);
    border-radius: 10px; background: var(--surface); color: var(--ink);
    font-family: var(--font-mono); font-size: .88rem; line-height: 1.7;
    resize: vertical; outline: none; min-height: 130px;
    transition: border-color .15s, box-shadow .15s; }
.reorg-textarea:focus { border-color: var(--accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.reorg-actions { display: flex; justify-content: flex-end; }

/* ============ ANIMATIONS ============ */
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fadeUp .42s cubic-bezier(.2,.7,.3,1) both; }

/* ============ LANDING PAGE ============ */
.land-nav { display: flex; align-items: center; justify-content: space-between;
    padding: 1.1rem clamp(1.5rem, 6vw, 5rem); border-bottom: 1px solid var(--line);
    background: color-mix(in srgb, var(--paper) 90%, transparent);
    backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 20; }
.land-nav-right { display: flex; align-items: center; gap: .65rem; }

.land-hero { padding: clamp(4rem, 10vw, 8rem) clamp(1.5rem, 6vw, 5rem) clamp(3rem, 8vw, 6rem);
    text-align: center; }
.land-hero-inner { max-width: 720px; margin: 0 auto; }
.land-headline { font-family: var(--font-serif); font-weight: 500;
    font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.08; letter-spacing: -.02em;
    color: var(--ink); margin-bottom: 1.4rem; }
.land-headline em { font-style: italic; color: var(--accent); }
.land-sub { font-size: clamp(1rem, 2vw, 1.15rem); color: var(--ink-2); line-height: 1.7;
    max-width: 52ch; margin: 0 auto 2.2rem; }
.land-cta { display: flex; align-items: center; justify-content: center; gap: .75rem; flex-wrap: wrap; }

.land-preview { background: var(--surface-2); border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 6vw, 5rem); }
.land-preview-inner { max-width: 1080px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.5rem; align-items: start; }
.land-panel { background: var(--surface); border: 1px solid var(--line);
    border-radius: 14px; padding: 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .9rem; }
.land-panel-clean { border-color: var(--accent-line); }
.land-panel-label { display: flex; align-items: center; gap: .5rem;
    font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase;
    letter-spacing: .12em; color: var(--ink-3); font-weight: 600; }
.land-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.land-dot-raw   { background: var(--ink-3); }
.land-dot-clean { background: var(--accent); }
.land-pre { font-family: var(--font-mono); font-size: .8rem; line-height: 1.7;
    color: var(--ink-2); white-space: pre-wrap; word-break: break-word; }
.land-prose { font-family: var(--font-serif); font-size: .95rem; line-height: 1.7; color: var(--ink); }
.land-prose p { margin-bottom: .7rem; }
.land-prose p:last-child { margin-bottom: 0; }
.land-arrow { display: flex; align-items: center; justify-content: center;
    color: var(--accent); padding-top: 2.5rem; flex-shrink: 0; }

.land-features { padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 6vw, 5rem); }
.land-features-inner { max-width: 1080px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2rem; }
.land-feature { display: flex; flex-direction: column; gap: .8rem; }
.land-feature-icon { display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--accent-soft); color: var(--accent-ink); }
.land-feature-title { font-family: var(--font-serif); font-weight: 500; font-size: 1.05rem; color: var(--ink); }
.land-feature-desc { font-size: .9rem; color: var(--ink-2); line-height: 1.65; }

.land-footer-cta { background: var(--ink-panel); padding: clamp(3rem, 8vw, 5rem) clamp(1.5rem, 6vw, 5rem);
    text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.8rem; }
.land-footer-headline { font-family: var(--font-serif); font-weight: 500;
    font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -.015em; color: var(--on-ink); }

.land-footer { display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: .75rem;
    padding: 1.2rem clamp(1.5rem, 6vw, 5rem);
    border-top: 1px solid var(--line); }
.land-footer .logo-word { color: var(--ink); font-size: 1rem; }
.land-footer-copy { font-size: .82rem; color: var(--ink-3); }

/* ============ RESPONSIVE ============ */
@media (max-width: 880px) {
    .login-split { grid-template-columns: 1fr; }
    .login-aside { display: none; }
    .login-main { min-height: 100vh; }
    .ws-split { grid-template-columns: 1fr; }
    .panel-body { max-height: none; }
}
@media (max-width: 600px) {
    .proj-grid { grid-template-columns: 1fr; }
    .ws-title { max-width: 60vw; }
}
