/* ===========================================================================
   GhostedWatch landing page — zero-dependency static styles.
   Design tokens carry the extension's removal-orange accent (#d93a00).
   =========================================================================== */

:root {
    --ink: #16161a;
    --ink-soft: #50505c;
    --bg: #ffffff;
    --bg-alt: #f6f5f2;
    --line: #e7e4df;
    --accent: #d93a00; /* removal orange — matches the extension */
    --accent-hover: #bf3300;
    --ok: #2a7d2a; /* re-approved green — matches the extension */
    --hero: #0f0f12;
    --hero-soft: #b9b9c4;
    --radius: 12px;
    --radius-sm: 8px;
    --container: 1080px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.28);
    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 0.5em;
}
h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
}
h2 {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 800;
}
h3 {
    font-size: 1.18rem;
    font-weight: 700;
}
p {
    margin: 0 0 1rem;
}
a {
    color: var(--accent);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}
.narrow {
    max-width: 760px;
}

/* Accessibility helpers ---------------------------------------------------- */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--ink);
    color: #fff;
    padding: 10px 16px;
    border-radius: 0 0 8px 0;
    z-index: 100;
}
.skip-link:focus {
    left: 0;
}
:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Buttons ------------------------------------------------------------------ */
.btn {
    --btn-bg: var(--accent);
    --btn-fg: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font: inherit;
    font-weight: 700;
    line-height: 1;
    padding: 13px 22px;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.12s ease, background 0.12s ease, box-shadow 0.12s ease, color 0.12s ease;
    text-decoration: none;
    white-space: nowrap;
}
.btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}
.btn:active {
    transform: translateY(0);
}
.btn-sm {
    padding: 8px 16px;
    font-size: 0.92rem;
}
.btn-lg {
    padding: 16px 28px;
    font-size: 1.05rem;
}
.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 6px 18px rgba(217, 58, 0, 0.3);
}
.btn-primary:hover {
    background: var(--accent-hover);
}
.btn-outline {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent);
}
.btn-outline:hover {
    background: rgba(217, 58, 0, 0.07);
}
.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
}
.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
}
.btn-ico {
    width: 18px;
    height: 18px;
}

/* Header ------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--ink);
    font-weight: 800;
    letter-spacing: -0.02em;
}
.brand:hover {
    text-decoration: none;
}
.brand-mark {
    width: 26px;
    height: 26px;
}
.brand-mark path {
    fill: var(--accent);
}
.brand-mark .eye-white {
    fill: #fff;
}
.brand-mark .eye-pupil {
    fill: #15151a;
}
.brand-mark.sm {
    width: 18px;
    height: 18px;
}
.brand-name {
    font-size: 1.15rem;
}
.brand-name-accent {
    color: var(--accent);
}
.site-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}
.site-nav a {
    color: var(--ink-soft);
    font-weight: 600;
    font-size: 0.95rem;
}
.site-nav a:hover {
    color: var(--ink);
    text-decoration: none;
}
.site-nav .btn {
    color: #fff;
}

/* Hero --------------------------------------------------------------------- */
.hero {
    background: radial-gradient(1100px 480px at 78% -10%, #1d1d29 0%, var(--hero) 60%);
    color: #fff;
    padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 9vw, 104px);
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}
.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    margin: 0 0 16px;
}
.hero-copy h1 {
    color: #fff;
    margin-bottom: 18px;
}
.lede {
    font-size: 1.18rem;
    color: var(--hero-soft);
    max-width: 36ch;
}
.lede strong {
    color: #fff;
}
.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 28px 0 12px;
}
.cta-row.center {
    justify-content: center;
}
.cta-note {
    color: var(--hero-soft);
    font-size: 0.9rem;
    margin: 0;
}

/* Hero mockup (faux extension popup) --------------------------------------- */
.hero-art {
    display: flex;
    justify-content: center;
}
.popup {
    width: 100%;
    max-width: 360px;
    background: #fff;
    color: var(--ink);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: rotate(-1.2deg);
}
.popup-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
}
.popup-id {
    flex: 1;
    min-width: 0;
}
.popup-name {
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.1;
}
.popup-sub {
    font-size: 0.72rem;
    color: var(--ink-soft);
}
.popup-ico {
    flex: none;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: var(--bg-alt);
    color: var(--ink-soft);
    font-size: 0.85rem;
}
.popup-band {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 14px;
    background: #fdeee6;
    color: var(--accent);
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.35;
}
.popup-band-ico {
    flex: none;
    font-size: 1rem;
}
.popup-body {
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.prow {
    display: flex;
    gap: 10px;
    padding: 10px;
    background: var(--bg-alt);
    border-radius: 9px;
}
.prow-bar {
    flex: none;
    width: 5px;
    border-radius: 3px;
    background: var(--accent);
}
.prow.reapproved .prow-bar {
    background: var(--ok);
}
.prow-main {
    flex: 1;
    min-width: 0;
}
.prow-head {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-bottom: 3px;
}
.prow-kind {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent);
}
.prow.reapproved .prow-kind {
    color: var(--ok);
}
.prow-sub {
    font-size: 0.72rem;
    color: var(--ink-soft);
}
.prow-reapp {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--ok);
}
.prow-ago {
    margin-left: auto;
    font-size: 0.72rem;
    color: var(--ink-soft);
}
.prow-text {
    font-size: 0.84rem;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.popup-nav {
    display: flex;
    gap: 2px;
    padding: 6px;
    border-top: 1px solid var(--line);
}
.pnav {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 7px 2px;
    color: var(--ink-soft);
    font-size: 0.66rem;
    font-weight: 500;
}
.pnav-ico {
    font-size: 0.85rem;
}

/* Sections ----------------------------------------------------------------- */
.section {
    padding: clamp(56px, 9vw, 96px) 0;
}
.section-alt {
    background: var(--bg-alt);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.section-title {
    text-align: center;
    margin-bottom: 40px;
}
.section .quote {
    color: var(--accent);
    font-weight: 600;
}
.lead-out {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ink);
    margin-top: 1.5rem;
}
#problem p {
    font-size: 1.08rem;
}

/* Feature grid ------------------------------------------------------------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}
.feature {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 24px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.feature:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}
.feature-ico {
    font-size: 1.6rem;
    line-height: 1;
    margin-bottom: 14px;
}
.feature h3 {
    margin-bottom: 8px;
}
.feature p {
    color: var(--ink-soft);
    margin: 0;
    font-size: 0.98rem;
}

/* Privacy check list ------------------------------------------------------- */
.check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: grid;
    gap: 12px;
}
.check-list li {
    position: relative;
    padding-left: 34px;
    font-size: 1.05rem;
}
.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(42, 125, 42, 0.12);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a7d2a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 13px;
}
.text-link {
    font-weight: 700;
}

/* FAQ ---------------------------------------------------------------------- */
.faq {
    border-top: 1px solid var(--line);
}
.faq details {
    border-bottom: 1px solid var(--line);
}
.faq summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 44px 20px 4px;
    position: relative;
    font-weight: 700;
    font-size: 1.05rem;
}
.faq summary::-webkit-details-marker {
    display: none;
}
.faq summary::after {
    content: '+';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--accent);
    transition: transform 0.2s ease;
}
.faq details[open] summary::after {
    content: '−';
}
.faq details p {
    margin: 0 4px 22px;
    color: var(--ink-soft);
    max-width: 68ch;
}

/* CTA band ----------------------------------------------------------------- */
.cta-band {
    background: var(--hero);
    color: #fff;
    padding: clamp(56px, 8vw, 88px) 0;
    text-align: center;
}
.cta-band h2 {
    color: #fff;
}
.cta-band p {
    color: var(--hero-soft);
    font-size: 1.1rem;
    margin-bottom: 28px;
}

/* Footer ------------------------------------------------------------------- */
.site-footer {
    background: #0b0b0d;
    color: #9a9aa6;
    padding: 48px 0 32px;
}
.footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: space-between;
    align-items: flex-start;
}
.site-footer .brand-name {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
}
.footer-tag {
    margin: 8px 0 0;
    font-size: 0.92rem;
    max-width: 30ch;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
}
.footer-links a {
    color: #c9c9d2;
    font-weight: 600;
    font-size: 0.95rem;
}
.footer-links a:hover {
    color: #fff;
}
.footer-fine {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-fine p {
    font-size: 0.82rem;
    color: #6f6f7b;
    margin: 0;
    max-width: 70ch;
}

/* Responsive --------------------------------------------------------------- */
@media (max-width: 860px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-art {
        order: -1;
    }
    .popup {
        transform: none;
        max-width: 360px;
    }
    .lede {
        max-width: none;
    }
}
@media (max-width: 620px) {
    .site-nav {
        gap: 16px;
    }
    .site-nav a:not(.btn) {
        display: none;
    }
    .cta-row .btn {
        flex: 1 1 auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    * {
        transition: none !important;
        animation: none !important;
    }
}
