/* Shared styles for the Terms and Privacy pages. */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #0f172a;
    background: #fff;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.legal-header {
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(10px);
    z-index: 10;
}

.wrap {
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 5vw, 1.5rem);
}

.legal-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.back-link {
    font-size: .88rem;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    white-space: nowrap;
}
.back-link:hover { color: #1a3ec8; }

main { padding: clamp(2rem, 7vw, 3.5rem) 0 4rem; }

h1 {
    font-size: clamp(1.6rem, 6vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.2;
    margin-bottom: .5rem;
}

.updated {
    font-size: .85rem;
    color: #64748b;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

h2 {
    font-size: clamp(1.1rem, 4vw, 1.3rem);
    font-weight: 700;
    letter-spacing: -.01em;
    margin: 2.25rem 0 .65rem;
}

p, li { color: #334155; font-size: clamp(.94rem, 3.4vw, 1rem); }
p { margin-bottom: 1rem; }

ul { margin: 0 0 1rem 1.15rem; }
li { margin-bottom: .45rem; }

strong { color: #0f172a; font-weight: 600; }

a { color: #1a3ec8; }

/* Used for the points a customer is most likely to be looking for — refunds,
   what we do with their data — so they are findable while skimming. */
.callout {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 3px solid #1a3ec8;
    border-radius: 10px;
    padding: 1rem 1.15rem;
    margin: 1.25rem 0;
}
.callout p:last-child { margin-bottom: 0; }

.legal-footer {
    border-top: 1px solid #e2e8f0;
    padding: 1.75rem 0;
    text-align: center;
    color: #64748b;
    font-size: .85rem;
}
.legal-footer a { text-decoration: none; }
