/* Shared styles for the public pages (pricing, terms, refunds, privacy).
   Plain static HTML outside the React app, so anyone — and Paddle's reviewers,
   and crawlers — can read them without signing in. Colours match src/index.css. */

:root {
    --bg: #0a0b10;
    --panel: #14161f;
    --primary: #00d4ff;
    --text: #e0e6ed;
    --muted: #94a3b8;
    --border: #2d3748;
    --brand: #f2f5f8;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-underline-offset: 3px; }

.site-header {
    max-width: 52rem;
    margin: 0 auto;
    padding: 1.5rem 1rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--brand);
    text-decoration: none;
    font-family: 'Spectral', Georgia, 'Times New Roman', serif;
    font-weight: 300;
    font-size: 1.7rem;
    letter-spacing: 0.055em;
    line-height: 1;
}

.site-nav { display: flex; gap: 1.2rem; font-size: 0.9rem; flex-wrap: wrap; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }

main {
    max-width: 52rem;
    margin: 0 auto;
    padding: 2.5rem 1rem 3rem;
}

h1 { font-size: 2rem; font-weight: 500; margin: 0 0 0.4rem; letter-spacing: -0.01em; }
h2 { font-size: 1.2rem; font-weight: 500; margin: 2.4rem 0 0.6rem; }
h3 { font-size: 1rem; font-weight: 500; margin: 1.6rem 0 0.4rem; }
p, li { color: var(--muted); }
strong { color: var(--text); font-weight: 500; }
ul { padding-left: 1.3rem; }
li { margin: 0.3rem 0; }
.updated { font-size: 0.85rem; color: var(--muted); margin: 0 0 2rem; }
.lede { font-size: 1.1rem; }

.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 0.9rem; margin: 1rem 0; }
th, td { text-align: left; vertical-align: top; padding: 0.6rem 0.7rem; border-bottom: 1px solid var(--border); color: var(--muted); }
th { color: var(--text); font-weight: 500; }

/* Pricing */
.plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 1rem;
    margin: 2rem 0 1rem;
}

.plan {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
}

.plan-featured { border-color: rgba(0, 212, 255, 0.45); }
.plan h2 { margin: 0 0 0.2rem; font-size: 1.3rem; }
.price { font-size: 2rem; color: var(--text); margin: 0.6rem 0 0; line-height: 1.2; }
.price small { font-size: 0.9rem; color: var(--muted); }
.price-alt { margin: 0.2rem 0 0; font-size: 0.9rem; }
.plan ul { margin: 1.2rem 0 1.6rem; flex: 1; }

.button {
    display: inline-block;
    text-align: center;
    padding: 0.7rem 1.2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
}

.button-primary {
    background: linear-gradient(135deg, #00d4ff, #0090c0);
    border-color: transparent;
    color: #04121a;
}

.fine { font-size: 0.85rem; }

.site-footer {
    max-width: 52rem;
    margin: 0 auto;
    padding: 1.5rem 1rem 2.5rem;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.site-footer a { color: var(--muted); }
