/* --- Reset + base ---
 * Palette mirrors the extension UI:
 *   #d9534f  primary red (overlay header, accent)
 *   #ffb300 / #ffd54f / #fff8e1  warm gold/cream accents
 *   #f8f9fa  neutral surface
 */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #2b2b2b;
    background-color: #fff;
}
h1, h2, h3 { margin-top: 0; line-height: 1.25; }
a { color: #d9534f; text-decoration: none; }
a:hover { text-decoration: underline; }
code {
    background: #f1f3f5;
    padding: 0.1em 0.35em;
    border-radius: 3px;
    font-family: 'SF Mono', Menlo, Consolas, monospace;
    font-size: 0.9em;
}

/* --- Layout --- */
.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.band { padding: 4rem 0; }
.band-light { background-color: #fff8e1; }

/* --- Age banner --- */
.age-banner {
    background-color: #1a1a1a;
    color: #fff8e1;
    font-size: 0.9rem;
    line-height: 1.45;
    border-bottom: 3px solid #ffb300;
}
.age-banner-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    flex-wrap: wrap;
}
.age-banner strong { color: #ffd54f; }
.age-banner-dismiss {
    flex-shrink: 0;
    margin-left: auto;
    background-color: #ffb300;
    color: #1a1a1a;
    border: none;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.15s;
}
.age-banner-dismiss:hover { background-color: #ffc933; }

/* --- Header / nav --- */
.site-header {
    border-bottom: 1px solid #ececec;
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 50;
}
.site-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: #2b2b2b;
}
.brand-logo {
    width: 32px;
    height: 32px;
    display: block;
}
.brand:hover { text-decoration: none; color: #d9534f; }
.site-header nav { display: flex; gap: 1.5rem; }
.site-header nav a {
    color: #555;
    font-size: 0.95rem;
}

/* --- Hero --- */
.hero {
    padding: 5rem 0 4rem;
    background:
        radial-gradient(ellipse at top, #fff8e1 0%, transparent 60%),
        linear-gradient(180deg, #fff 0%, #fff8e1 100%);
    text-align: center;
}
.hero-logo {
    width: 96px;
    height: 96px;
    margin: 0 auto 1.25rem;
    display: block;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.12));
}
.hero h1 {
    font-size: 2.6rem;
    max-width: 720px;
    margin: 0 auto 1rem;
    letter-spacing: -0.02em;
}
.hero-sub {
    font-size: 1.15rem;
    color: #555;
    max-width: 680px;
    margin: 0 auto 2rem;
}
.cta-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.hero-foot {
    font-size: 0.9rem;
    color: #888;
    margin: 0;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn-primary {
    background-color: #d9534f;
    color: #fff;
    border-color: #d9534f;
}
.btn-primary:hover {
    background-color: #c0413d;
    border-color: #c0413d;
    text-decoration: none;
}
.btn-ghost {
    background-color: transparent;
    color: #d9534f;
    border-color: #d9534f;
}
.btn-ghost:hover {
    background-color: #d9534f;
    color: #fff;
    text-decoration: none;
}
.btn-disabled {
    background-color: #f1f3f5;
    color: #6c757d;
    border-color: #dee2e6;
    cursor: not-allowed;
    pointer-events: none;
}

/* --- Privacy section --- */
.privacy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
.privacy-grid h2 {
    font-size: 2rem;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
}
.privacy-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.privacy-card h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
    margin: 0 0 0.5rem;
}
.privacy-card h3 + ul { margin-top: 0; }
.privacy-card ul { margin-bottom: 1.25rem; padding-left: 1.25rem; }
.privacy-card ul:last-child { margin-bottom: 0; }
.privacy-card li { margin-bottom: 0.25rem; }

/* --- Features --- */
.band h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.feature {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 8px;
    padding: 1.5rem;
}
.feature h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #d9534f;
}
.feature p {
    margin: 0;
    color: #555;
    font-size: 0.95rem;
}

/* --- Supported sites --- */
.site-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.5rem;
    text-align: center;
}
.site-list li {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-family: 'SF Mono', Menlo, Consolas, monospace;
    font-size: 0.95rem;
    color: #555;
}
.site-note {
    text-align: center;
    color: #777;
    font-size: 0.9rem;
    max-width: 640px;
    margin: 0 auto;
}

/* --- Install band --- */
.install-band { text-align: center; }
.install-band p { margin-bottom: 1rem; color: #555; }
.coming-soon-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #fff8e1;
    color: #5b4500;
    border: 1px solid #ffd54f;
    border-radius: 999px;
    padding: 0.6rem 1.25rem;
    font-weight: 600;
    font-size: 0.95rem;
}
.coming-soon-pill::before {
    content: "";
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background-color: #ffb300;
    box-shadow: 0 0 0 4px rgba(255, 179, 0, 0.2);
}

/* --- Roadmap --- */
.roadmap-lede {
    text-align: center;
    color: #555;
    margin-bottom: 2rem;
}
.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}
.roadmap-item {
    padding: 1.25rem 1.5rem;
    background: #fff;
    border: 1px dashed #ffd54f;
    border-radius: 8px;
}
.roadmap-item h3 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
}
.roadmap-item p {
    margin: 0;
    color: #555;
    font-size: 0.95rem;
}

/* --- Privacy page --- */
.privacy-page {
    padding: 3rem 1.5rem 5rem;
    max-width: 720px;
}
.privacy-page h1 { font-size: 2.2rem; margin-bottom: 1.5rem; }
.privacy-page h2 {
    margin-top: 2.5rem;
    font-size: 1.4rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid #ececec;
}
.privacy-page ul { padding-left: 1.25rem; }
.privacy-page li { margin-bottom: 0.4rem; }
.privacy-updated { color: #888; margin-top: 3rem; }

/* --- Footer --- */
.site-footer {
    border-top: 1px solid #ececec;
    padding: 2rem 0;
    text-align: center;
    color: #777;
    font-size: 0.9rem;
}
.site-footer a { color: #555; }
.footer-fine {
    max-width: 640px;
    margin: 0.75rem auto 0;
    font-size: 0.8rem;
    color: #999;
}

/* --- Responsive --- */
@media (max-width: 720px) {
    .hero { padding: 3rem 0; }
    .hero h1 { font-size: 2rem; }
    .privacy-grid { grid-template-columns: 1fr; gap: 2rem; }
    .site-header-inner { flex-direction: column; gap: 0.75rem; align-items: flex-start; }
    .site-header nav { flex-wrap: wrap; gap: 1rem; }
    .band { padding: 3rem 0; }
}
