/* Inlay marketing/legal site — shared styles.
   Plain CSS, no build step. Light theme, calm typography.
   Colour palette echoes the Inlay app accent without mimicking the dark UI. */

:root {
    --bg:          #fafafa;
    --surface:     #ffffff;
    --text:        #1a1a1a;
    --text-muted:  #555555;
    --accent:      #6d4aff;
    --accent-soft: rgba(109, 74, 255, 0.08);
    --border:      #e7e7e7;
    --max-width:   720px;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                 "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 48px 24px 64px;
}

/* ─── Brand header ──────────────────────────────────────────────── */
header.site {
    text-align: center;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
}

.brand {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
    text-decoration: none;
    display: inline-block;
}

.tagline {
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 16px;
}

/* ─── Typography ────────────────────────────────────────────────── */
h1 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 24px 0 8px;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 40px 0 12px;
}

p, li {
    font-size: 16px;
    color: var(--text);
}

ul {
    padding-left: 22px;
}

li {
    margin-bottom: 6px;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}

.updated {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 4px;
}

.muted {
    color: var(--text-muted);
}

/* ─── Hero (landing page) ───────────────────────────────────────── */
.hero {
    text-align: center;
    padding: 24px 0 16px;
}

.hero h1 {
    margin-bottom: 12px;
}

.hero p {
    color: var(--text-muted);
    max-width: 540px;
    margin: 0 auto 24px;
}

.cta-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 16px;
}

.cta {
    display: inline-block;
    padding: 10px 20px;
    background: var(--accent);
    color: #ffffff;
    border-radius: 8px;
    font-weight: 500;
}

.cta.secondary {
    background: var(--accent-soft);
    color: var(--accent);
}

.cta:hover,
.cta:focus {
    text-decoration: none;
    opacity: 0.92;
}

/* ─── Feature / body blocks ─────────────────────────────────────── */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px 24px;
    margin-top: 24px;
}

/* ─── Privacy-policy table ──────────────────────────────────────── */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 24px;
    font-size: 15px;
}

th, td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

th {
    font-weight: 600;
    background: var(--surface);
}

hr {
    border: 0;
    border-top: 1px solid var(--border);
    margin: 32px 0;
}

/* ─── Footer ────────────────────────────────────────────────────── */
footer.site {
    margin-top: 64px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
}

footer.site a {
    margin: 0 10px;
    color: var(--text-muted);
}

footer.site a:hover {
    color: var(--accent);
}

/* ─── Mobile ────────────────────────────────────────────────────── */
@media (max-width: 540px) {
    .container {
        padding: 32px 16px 48px;
    }

    h1 { font-size: 26px; }
    h2 { font-size: 18px; }

    table {
        font-size: 14px;
    }

    th, td {
        padding: 8px 10px;
    }
}
