/* lp7: daylight (light rendition of lp6).
   Look tile (when registered in stash-themes.js):
     name  "Daylight"
     pitch "White, hairlines, one blue. Reads like your timeline."
     swatches ['#FFFFFF', '#0F1419', '#1D9BF0']
   The look of a social timeline for people who live in one: white,
   near-black text, light-grey hairline dividers, one blue, pill buttons,
   tight grotesque headlines. Geist for everything. No shadows, no rotation, no texture. Self-contained: no
   Bootstrap, no shared style.css.

   Token sheet (mirror into stash-persona.css / extension when this
   becomes a Look):
     bg #FFFFFF · panel #F7F9F9 · hover rgba(15,20,25,0.03)
     text #0F1419 · muted #536471 · line #EFF3F4 · line-strong #CFD9DE
     blue #1D9BF0 · blue-hover #1A8CD8 · error #F4212E · success #00BA7C
     radius 16px cards / 9999px controls · border 1px · shadows none */

:root {
    --bg: #FFFFFF;
    --panel: #F7F9F9;
    --hover: rgba(15, 20, 25, 0.03);
    --text: #0F1419;
    --muted: #536471;
    --line: #EFF3F4;
    --line-strong: #CFD9DE;
    --blue: #1D9BF0;
    --blue-hover: #1A8CD8;
    --blue-ring: rgba(29, 155, 240, 0.35);
    --error: #F4212E;
    --success: #00BA7C;
    --radius: 16px;
    --pill: 9999px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 15px;
    line-height: 1.35;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

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

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.display {
    font-family: 'Geist', sans-serif;
    font-weight: 800;
    line-height: 1.2;
}


.kicker {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    border: 1px solid var(--line);
    border-radius: var(--pill);
    padding: 0.3rem 0.75rem;
    margin: 0 0 1.25rem;
}

/* ===== shared atoms ===== */
.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--pill);
    font-weight: 700;
    font-size: 15px;
    padding: 0.45rem 1rem;
    white-space: nowrap;
}

.pill-follow {
    background: var(--text);
    color: var(--bg);
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--blue);
    color: #ffffff;
    font-weight: 800;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.avatar-lg {
    width: 72px;
    height: 72px;
    font-size: 1.85rem;
    border: 4px solid var(--bg);
}

/* ===== header ===== */
.lp-header {
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10;
}

.lp-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
}

.wordmark {
    font-family: 'Krona One', sans-serif;
    font-size: 1rem;
    color: var(--text);
}

.wordmark:hover { color: var(--text); text-decoration: none; }

.header-login {
    color: var(--text);
    font-size: 15px;
    font-weight: 700;
    border: 1px solid var(--line-strong);
    border-radius: var(--pill);
    padding: 0.45rem 1rem;
    transition: background-color 0.15s ease;
}

.header-login:hover { background: var(--hover); text-decoration: none; }

/* ===== hero ===== */
.hero { padding: 3.5rem 0 4rem; }

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: 4rem;
    align-items: center;
}

.hero h1 {
    font-size: clamp(31px, 3.6vw, 44px);
    margin: 0 0 1rem;
}

.hero h1 .accent { color: var(--blue); }
.hero h1 .nowrap { white-space: nowrap; }

.hero-sub {
    font-size: 17px;
    line-height: 1.45;
    color: var(--muted);
    max-width: 32rem;
    margin: 0;
}

/* profile hover card */
.hover-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.25rem;
    max-width: 340px;
    margin: 0 0 0 auto;
}

.hover-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.hover-name {
    margin: 0;
    font-weight: 700;
    font-size: 17px;
}

.hover-handle,
.feed-handle {
    margin: 0;
    font-size: 15px;
    color: var(--muted);
}

.hover-bio {
    margin: 0.75rem 0 0;
    font-size: 15px;
}

.hover-stats,
.feed-stats {
    display: flex;
    gap: 1.25rem;
    margin: 0.85rem 0 0;
    font-size: 15px;
    color: var(--muted);
}

.hover-stats strong,
.feed-stats strong { color: var(--text); font-weight: 700; margin-right: 0.2em; }

/* ===== claim component ===== */
.claim { margin-top: 2rem; max-width: 34rem; }

.claim-label {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.claim-row {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
}

.claim-field {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    background: var(--bg);
    border: 1px solid var(--line-strong);
    border-radius: var(--pill);
    padding: 0 0.45rem 0 1.1rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.claim-field:focus-within {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px var(--blue-ring);
}

.claim-prefix {
    font-size: 17px;
    color: var(--muted);
    white-space: nowrap;
}

.claim input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 0.65rem 0.35rem;
    font-size: 17px;
    color: var(--text);
    caret-color: var(--blue);
}

.claim input::placeholder { color: var(--muted); opacity: 0.7; }
.claim input:focus { outline: none; }

.claim button {
    background: var(--blue);
    color: #ffffff;
    border: none;
    border-radius: var(--pill);
    padding: 0.65rem 1.4rem;
    font-family: 'Geist', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.15s ease;
    white-space: nowrap;
}

.claim button:hover,
.claim button:focus-visible { background: var(--blue-hover); }

.claim button:disabled { opacity: 0.5; cursor: wait; }

.claim-preview {
    font-size: 15px;
    margin: 0.75rem 0 0;
    color: var(--muted);
    overflow-wrap: anywhere;
}

.claim.is-live .claim-preview [data-claim-name] { color: var(--blue); }

.claim-error {
    margin: 0.5rem 0 0;
    font-size: 15px;
    font-weight: 500;
    color: var(--error);
}

.claim-trust {
    margin: 0.75rem 0 0;
    font-size: 13px;
    color: var(--muted);
}

/* ===== sections ===== */
.section {
    border-top: 1px solid var(--line);
    padding: 4rem 0;
}

.section-head { margin-bottom: 2rem; }

.section-head h2 {
    font-size: 23px;
    margin: 0;
    max-width: 40ch;
}

.section-sub {
    margin: 0.5rem 0 0;
    color: var(--muted);
    max-width: 36rem;
    font-size: 15px;
}

/* ===== profile demo (timeline) ===== */
.feed {
    max-width: 640px;
    margin: 0 auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg);
}

.feed-banner {
    height: 96px;
    background: linear-gradient(135deg, #CFD9DE 0%, #E7ECF0 55%, #D3E6F5 100%);
}

.feed-head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: end;
    padding: 0 1.25rem 1rem;
    margin-top: -36px;
}

.feed-id { padding-bottom: 0.15rem; }

.feed-name {
    margin: 0;
    font-weight: 700;
    font-size: 20px;
}

.feed-head .feed-stats { margin: 0; padding-bottom: 0.25rem; }

.feed-tabs {
    display: flex;
    border-bottom: 1px solid var(--line);
    padding: 0 0.5rem;
}

.feed-tabs span {
    padding: 0.85rem 1rem;
    font-size: 15px;
    font-weight: 500;
    color: var(--muted);
    position: relative;
}

.feed-tabs span.on { color: var(--text); font-weight: 700; }

.feed-tabs span.on::after {
    content: '';
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0;
    height: 3px;
    border-radius: 2px;
    background: var(--blue);
}

.rows { list-style: none; margin: 0; padding: 0; }

.row {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--line);
    transition: background-color 0.15s ease;
    min-width: 0;
}

.row:last-child { border-bottom: none; }
.rows .row:hover { background: var(--hover); }

.row-src {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--line-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.row-src img { width: 18px; height: 18px; object-fit: contain; }
.row-src img.wide { width: 24px; height: 10px; }

.row-body { min-width: 0; }

.row-meta {
    margin: 0 0 0.1rem;
    font-size: 13px;
    color: var(--muted);
}

.row-meta .dot { margin: 0 0.15rem; }

.row-title {
    margin: 0;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.35;
}

.row-note {
    margin: 0.2rem 0 0;
    font-size: 15px;
    color: var(--muted);
}

.feed-caption {
    text-align: center;
    font-size: 13px;
    color: var(--muted);
    margin: 1.25rem 0 0;
}

/* ===== how (thread) ===== */
.thread {
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 640px;
}

.thread li {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 1rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.thread li:last-child { padding-bottom: 0; }

.thread li::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 44px;
    bottom: 0;
    width: 2px;
    background: var(--line);
}

.thread li:last-child::before { display: none; }

.thread-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--panel);
    border: 1px solid var(--line);
    color: var(--text);
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thread h3 {
    margin: 0.55rem 0 0.2rem;
    font-size: 15px;
    font-weight: 700;
}

.thread p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

/* ===== sources ===== */
.sources-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.source {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border: 1px solid var(--line);
    border-radius: var(--pill);
    padding: 0.5rem 1rem 0.5rem 0.5rem;
    font-weight: 700;
    font-size: 15px;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.source:hover { border-color: var(--line-strong); background: var(--hover); }

.source-mark {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--line-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.source-mark img { width: 18px; height: 18px; object-fit: contain; }
.source-mark.wide img { width: 22px; height: 9px; }

.fallbacks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.25rem;
}

.fallback-chip {
    font-size: 13px;
    color: var(--muted);
    border: 1px dashed var(--line-strong);
    border-radius: var(--pill);
    padding: 0.4rem 0.9rem;
}

.sources-note {
    color: var(--muted);
    max-width: 40rem;
    margin: 1.25rem 0 0;
}

/* ===== public payoff ===== */
.public-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4rem;
    align-items: center;
}

.public-copy h2 {
    font-size: 23px;
    margin: 0 0 0.75rem;
}

.public-copy p { color: var(--muted); margin: 0 0 0.75rem; max-width: 32rem; font-size: 15px; }

.quote-post {
    margin: 1.25rem 0 0;
    max-width: 30rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.1rem 1.25rem;
}

.quote-post p {
    margin: 0;
    color: var(--text);
    font-size: 15px;
    font-weight: 400;
}

.quote-post footer {
    margin-top: 0.5rem;
    font-size: 13px;
    color: var(--muted);
}

.toggle-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg);
    max-width: 420px;
    margin: 0 auto;
    overflow: hidden;
}

.toggle-card .row { border-bottom: none; }

.toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding: 0.75rem 1rem;
}

.toggle-row .state {
    font-size: 15px;
    font-weight: 700;
    color: var(--blue);
}

.switch {
    width: 44px;
    height: 24px;
    border-radius: 12px;
    background: var(--blue);
    position: relative;
    flex-shrink: 0;
}

.switch::after {
    content: '';
    position: absolute;
    top: 2px;
    right: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
}

/* ===== final claim ===== */
.claim-final { text-align: center; }

.claim-final h2 {
    font-size: 31px;
    margin: 0 auto 0.5rem;
}

.claim-final .section-sub { margin: 0 auto; }

.claim-final .claim {
    margin: 2rem auto 0;
    text-align: left;
}

.fine-print {
    margin: 1.75rem auto 0;
    font-size: 13px;
    color: var(--muted);
    max-width: 40rem;
}

/* ===== footer ===== */
.lp-footer { border-top: 1px solid var(--line); }

.lp-footer .container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: baseline;
    justify-content: space-between;
    padding-top: 1.5rem;
    padding-bottom: 2rem;
    font-size: 13px;
    color: var(--muted);
}

.lp-footer a { color: var(--muted); margin-right: 1.25rem; }
.lp-footer a:hover { color: var(--text); }

/* ===== responsive ===== */
@media (max-width: 991px) {
    .hero { padding: 2.5rem 0 3rem; }
    .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
    .hover-card { margin: 0; }
    .hero-stash { margin: 0; max-width: 100%; }
    .public-grid { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
    .section { padding: 3rem 0; }
}

@media (max-width: 575px) {
    .claim-row { flex-direction: column; }
    .claim button { width: 100%; padding: 0.75rem; }
    .feed-head { grid-template-columns: auto 1fr; }
    .feed-head .feed-stats { grid-column: 1 / -1; padding: 0.25rem 0 0; }
    .feed-tabs span { padding: 0.75rem 0.75rem; }
    .source { flex: 1; min-width: 130px; }
}

/* ===== look chrome (shared pieces from /look.css, dressed for lp7) ===== */
:root {
    --mf-surface: var(--bg);
    --mf-ink: var(--text);
    --mf-muted: var(--muted);
    --mf-line: var(--line-strong);
    --mf-hairline: var(--line);
    --mf-bw: 1px;
    --mf-radius: 16px;
    --mf-pill: var(--pill);
    --mf-shadow: none;
    --mf-shadow-sm: none;
    --mf-accent: var(--blue);
    --mf-accent-ink: #ffffff;
    --mf-backdrop: rgba(0, 0, 0, 0.4);
    --mf-tilt: 0;
}

.header-nav { gap: 0.5rem; }

.header-why {
    font-size: 15px;
    font-weight: 700;
    color: var(--muted);
    background: transparent;
    border: 0;
    border-radius: var(--pill);
    padding: 0.45rem 0.75rem;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.header-why:hover { background: var(--hover); color: var(--text); }

.mf-palette { border-color: var(--line-strong); }
.mf-palette:hover { background: var(--hover); transform: none; }

.mf-look-dialog { border-color: var(--line); }
.mf-look-head h2 { font-size: 23px; }
.mf-look-head p, .mf-look-foot p { font-size: 15px; }
.mf-look-keep { border: none; font-size: 15px; }
.mf-look-keep:hover { background: var(--blue-hover); transform: none; }
.mf-look-close { border-color: var(--line); }
.mf-look-close:hover { background: var(--hover); }
.mf-tile { border-color: var(--line); }
.mf-tile:hover { border-color: var(--line-strong); }
.mf-tile[aria-checked="true"] { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--blue); }

.look-card { border-color: var(--line); }
.look-card:hover { border-color: var(--line-strong); }
.look-card[aria-pressed="true"] { border-color: var(--blue); }

.why-tilt { color: var(--blue); }
.why-inner h2 { font-size: 23px; }
.why-inner p { font-size: 15px; line-height: 1.5; }

@media (max-width: 575px) {
    .header-why, .header-login { font-size: 14px; padding: 0.4rem 0.6rem; }
}

/* ===== hero: compact stash illustration (replaces the old profile card) ===== */
.hero-stash {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    max-width: 400px;
    margin: 0 0 0 auto;
    overflow: hidden;
}

.hero-stash-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
}

.hero-stash-title { font-weight: 700; }
.hero-stash-count { font-size: 13px; color: var(--muted); }

.hero-stash-rows .row { align-items: center; padding: 0.7rem 1rem; }
.hero-stash-rows .row-body { flex: 1; }
.hero-stash-rows .row-meta { display: flex; align-items: center; gap: 0.3rem; }
.hero-stash-rows .row-meta svg { width: 13px; height: 13px; fill: var(--blue); flex-shrink: 0; }
.hero-stash-rows .row-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-stash-state {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
    border: 1px solid var(--line-strong);
    border-radius: var(--pill);
    padding: 0.15rem 0.55rem;
}

.hero-stash-state.on {
    background: var(--blue);
    border-color: var(--blue);
    color: #ffffff;
}

.hero-stash-foot {
    padding: 0.7rem 1rem;
    border-top: 1px solid var(--line);
    font-size: 13px;
    color: var(--muted);
}

.hero-stash-foot strong { color: var(--text); font-weight: 700; }
