/*
 * legal.css — shared styling for the policy pages.
 *
 * Deliberately NOT reusing styles.css: that file is a compiled Tailwind build
 * containing only the utilities index.html happens to use, so a class written
 * here that the landing page never used would silently render as nothing. These
 * pages carry their own small stylesheet built from the same tokens the site
 * already ships — black ground, Barlow body, Instrument Serif headings, the
 * #25d366 accent — so they read as the same product without depending on which
 * utilities survived the Tailwind purge.
 */

:root {
    --ground: #000000;
    --surface: #0a0a0a;
    --rule: #ffffff1a;
    --ink: #ffffff;
    --ink-2: #ffffffb3;
    --ink-3: #ffffff73;
    --accent: #25d366;
    --font-body: "Barlow", sans-serif;
    --font-heading: "Instrument Serif", serif;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--ground);
    color: var(--ink-2);
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); }
a:hover { border-bottom-color: var(--accent); }

.wrap { max-width: 780px; margin: 0 auto; padding: 0 24px; }

/* ── header ── */
.site-head {
    border-bottom: 1px solid var(--rule);
    position: sticky; top: 0;
    background: #000000e6;
    backdrop-filter: blur(12px);
    z-index: 10;
}
.site-head .wrap {
    max-width: 1100px;
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 16px; padding-bottom: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; border: 0; }
.brand img { height: 26px; width: 26px; object-fit: contain; }
.brand span { color: var(--ink); font-size: 15px; font-weight: 500; }
.back-link { font-size: 13px; color: var(--ink-3); border: 0; }
.back-link:hover { color: var(--ink); }

/* ── document ── */
.doc { padding: 64px 0 96px; }
.eyebrow {
    font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
    color: var(--accent); font-weight: 500; margin: 0 0 14px;
}
h1 {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(34px, 6vw, 52px);
    line-height: 1.1;
    color: var(--ink);
    margin: 0 0 12px;
    text-wrap: balance;
}
.updated { font-size: 13px; color: var(--ink-3); margin: 0 0 44px; }
h2 {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 26px;
    color: var(--ink);
    margin: 44px 0 14px;
    text-wrap: balance;
}
h3 { font-size: 16px; font-weight: 600; color: var(--ink); margin: 28px 0 8px; }
p { margin: 0 0 16px; }
ul { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 9px; }
strong { color: var(--ink); font-weight: 600; }

/* The entity block — the thing a payment gateway reviewer looks for first. */
.entity {
    border: 1px solid var(--rule);
    border-left: 2px solid var(--accent);
    border-radius: 8px;
    background: var(--surface);
    padding: 22px 24px;
    margin: 0 0 40px;
}
.entity dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; }
.entity dt { color: var(--ink-3); font-size: 13px; }
.entity dd { margin: 0; color: var(--ink); font-size: 14px; }

.note {
    border: 1px solid var(--rule);
    border-radius: 8px;
    padding: 16px 20px;
    background: #ffffff05;
    font-size: 14px;
    margin: 0 0 28px;
}

/* ── footer ── */
.site-foot { border-top: 1px solid var(--rule); padding: 32px 0 56px; }
.site-foot .wrap {
    max-width: 1100px;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.site-foot .copy { font-size: 12px; color: var(--ink-3); font-weight: 300; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 22px; }
.site-foot nav a { font-size: 12px; color: var(--ink-3); font-weight: 300; border: 0; }
.site-foot nav a:hover { color: var(--ink); }

@media (max-width: 620px) {
    .doc { padding: 44px 0 72px; }
    .entity dl { grid-template-columns: 1fr; gap: 2px 0; }
    .entity dd { margin-bottom: 10px; }
}

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
