/* SeedFox: one stylesheet, no framework. Inline styles are blocked by the Content-Security-Policy. */
:root {
    --bg: #fffaf5;
    --surface: #ffffff;
    --text: #1c1917;
    --muted: #6b625c;
    --line: #ece4dc;
    --brand: #c2410c;
    --brand-strong: #9a3412;
    --brand-soft: #fff1e6;
    --danger: #b91c1c;
    --ok-bg: #ecfdf5;
    --ok-text: #065f46;
    --radius: 14px;
    --shadow: 0 1px 2px rgba(28, 25, 23, .05), 0 6px 20px rgba(28, 25, 23, .05);
    color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #14110f;
        --surface: #1d1916;
        --text: #f5efe9;
        --muted: #a8a09a;
        --line: #2f2925;
        --brand: #fb8a4c;
        --brand-strong: #fdba8c;
        --brand-soft: #2a1a10;
        --danger: #f87171;
        --ok-bg: #0c2a20;
        --ok-text: #a7f3d0;
        --shadow: none;
    }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-strong); }
h1, h2, h3 { line-height: 1.25; letter-spacing: -.01em; }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: .2em 0 .4em; }
h2 { font-size: 1.35rem; margin: 2rem 0 .6rem; }
h3 { font-size: 1.1rem; margin: 1.2rem 0 .4rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.main { padding-top: 24px; padding-bottom: 64px; min-height: 60vh; }
.narrow { max-width: 620px; margin: 0 auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 46rem; }
.center .lead, .hero .lead { margin-left: auto; margin-right: auto; }

/* Header and footer */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.25rem; color: var(--text); text-decoration: none; }
.nav { display: flex; align-items: center; gap: 4px 16px; flex-wrap: wrap; }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--brand); }
.nav .lang { color: var(--muted); font-size: .92rem; }
.nav .button { color: #fff; }
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: .92rem; }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer .links a { color: var(--muted); }

/* Buttons and forms */
.button {
    display: inline-block; border: 0; border-radius: 10px; padding: 12px 20px; cursor: pointer;
    background: var(--brand); color: #fff; font: inherit; font-weight: 600; text-decoration: none; text-align: center;
}
.button:hover { background: var(--brand-strong); color: #fff; }
.button.small { padding: 7px 14px; font-size: .95rem; }
.button.ghost { background: transparent; color: var(--brand); box-shadow: inset 0 0 0 2px var(--brand); }
.button.ghost:hover { background: var(--brand-soft); color: var(--brand-strong); }
.button.danger { background: var(--danger); }
.link { background: none; border: 0; padding: 0; color: var(--brand); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.4rem 0; }
.actions.center, .hero .actions { justify-content: center; }
input[type=text], input[type=email], input[type=search], select {
    width: 100%; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--line);
    background: var(--surface); color: var(--text); font: inherit;
}
input:focus, select:focus, .button:focus-visible, a:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 40%, transparent); outline-offset: 2px; }
.stack { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; margin: 1rem 0; }
.stack label { width: 100%; font-weight: 500; display: flex; flex-direction: column; gap: 6px; }
.stack label.inline, .checks label { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; }
input[type=checkbox] { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--brand); flex: none; }
.notice { background: var(--ok-bg); color: var(--ok-text); padding: 12px 16px; border-radius: 10px; }
.error { background: color-mix(in srgb, var(--danger) 12%, transparent); color: var(--danger); padding: 12px 16px; border-radius: 10px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }

/* Home */
.hero { text-align: center; padding: 40px 0 20px; }
.hero h1 { max-width: 20em; margin-left: auto; margin-right: auto; }
.locked-count { display: inline-block; background: var(--brand-soft); color: var(--brand-strong); padding: 8px 14px; border-radius: 999px; font-weight: 500; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.grid1 { display: grid; max-width: 360px; margin: 0 auto; gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card h3 { margin-top: .4rem; }
.step { width: 32px; height: 32px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 700; display: grid; place-items: center; }
.how h2 { text-align: center; }

/* Idea cards */
.idea-list { display: grid; gap: 14px; }
.idea-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.idea-card h3 { margin: .3rem 0 .4rem; font-size: 1.2rem; }
.idea-card h3 a { color: var(--text); text-decoration: none; }
.idea-card h3 a:hover { color: var(--brand); }
.idea-card p { margin: .3rem 0; }
.idea-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.category { font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--brand); }
.badge { font-size: .75rem; font-weight: 700; background: var(--brand); color: #fff; border-radius: 999px; padding: 1px 9px; }
.score { margin-left: auto; font-weight: 800; font-size: 1.1rem; }
.score small { font-weight: 500; color: var(--muted); font-size: .8rem; }
.facts { display: flex; flex-wrap: wrap; gap: 4px 18px; color: var(--muted); font-size: .9rem; }
.filters { display: grid; grid-template-columns: 2fr 1.4fr 1fr auto; gap: 10px; margin: 1.2rem 0 1.6rem; }
.pager { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 2rem; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* Idea page */
.idea { max-width: 760px; margin: 0 auto; }
.crumbs { margin: 0 0 1rem; }
.key-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 1.6rem 0; }
.key-facts div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.key-facts span { color: var(--muted); font-size: .85rem; }
.key-facts strong { font-size: 1.25rem; }
.key-facts strong.small { font-size: .95rem; font-weight: 600; }
.two-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 28px; }
.list { padding-left: 1.3rem; }
.list li { margin: .35rem 0; }
.scores { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px 28px; }
.score-head { display: flex; justify-content: space-between; }
.bar { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; margin: 4px 0; }
.bar span { display: block; height: 100%; background: var(--brand); border-radius: 99px; }
.bar .w0 { width: 0; } .bar .w10 { width: 10%; } .bar .w20 { width: 20%; } .bar .w30 { width: 30%; }
.bar .w40 { width: 40%; } .bar .w50 { width: 50%; } .bar .w60 { width: 60%; } .bar .w70 { width: 70%; }
.bar .w80 { width: 80%; } .bar .w90 { width: 90%; } .bar .w100 { width: 100%; }
.sources { padding-left: 1.2rem; }
.sources li { margin: .3rem 0; overflow-wrap: anywhere; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { background: var(--brand-soft); color: var(--brand-strong); border-radius: 999px; padding: 2px 10px; font-size: .85rem; }
.locked { text-align: center; padding: 40px 0; }
.lock-icon { font-size: 3rem; }

/* Pricing */
.pricing { max-width: 760px; margin: 0 auto; text-align: center; }
.features { list-style: none; padding: 0; margin: 1.5rem auto; max-width: 34rem; text-align: left; }
.features li { padding: 6px 0 6px 30px; position: relative; }
.features li::before { content: "✓"; position: absolute; left: 4px; color: var(--brand); font-weight: 800; }
.currency a { margin: 0 6px; color: var(--muted); }
.currency a.active { color: var(--brand); font-weight: 700; text-decoration: none; }
.plans { text-align: left; }
.checks { display: flex; flex-direction: column; gap: 10px; margin: 1.2rem 0 1.4rem; }
.checks label { display: flex; }
.plan { text-align: center; }
.plan.featured { border: 2px solid var(--brand); }
.plan h2 { margin-top: 0; }
.price { font-size: 2rem; font-weight: 800; margin: .3rem 0; }
.price small { font-size: 1rem; font-weight: 500; color: var(--muted); }

/* Account, cancellation, legal */
.facts-list { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; }
.facts-list dt { color: var(--muted); }
.facts-list dd { margin: 0; overflow-wrap: anywhere; }
.legal h2 { font-size: 1.15rem; }

@media (max-width: 640px) {
    body { font-size: 16px; }
    .header-row { padding: 10px 0; }
    .header-row { justify-content: center; }
    .nav { gap: 4px 14px; font-size: .95rem; justify-content: center; }
    .nav .button { display: none; }
    .filters { grid-template-columns: 1fr; }
    .facts-list { grid-template-columns: 1fr; gap: 2px; }
    .facts-list dd { margin-bottom: 8px; }
    .score { margin-left: 0; }
}
