:root {
    --bg: #f8f7f3;
    --surface: #ffffff;
    --ink: #18161f;
    --ink-soft: #5f5b68;
    --ink-muted: #888390;
    --purple: #6d4df5;
    --purple-light: #eeeaff;
    --border: #e7e4dd;
    --container: 900px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--purple); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
    border-bottom: 1px solid rgba(231, 228, 221, .8);
    background: rgba(248, 247, 243, .94);
}

.header-inner,
.footer-inner,
.legal-container {
    width: min(calc(100% - 40px), var(--container));
    margin: 0 auto;
}

.header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    color: var(--ink);
    font-weight: 800;
    font-size: 21px;
    letter-spacing: -.04em;
    text-decoration: none;
}

.logo:hover { text-decoration: none; }

.back-link {
    font-size: 13px;
    font-weight: 700;
}

.legal-main {
    padding: 70px 0 90px;
}

.eyebrow {
    display: inline-flex;
    padding: 7px 12px;
    border: 1px solid rgba(109, 77, 245, .16);
    border-radius: 999px;
    background: var(--purple-light);
    color: #5335dc;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 18px;
}

h1 {
    margin: 0 0 14px;
    font-size: clamp(38px, 6vw, 58px);
    line-height: 1;
    letter-spacing: -.055em;
}

.intro {
    margin: 0 0 45px;
    color: var(--ink-soft);
    font-size: 16px;
}

.legal-card {
    margin-bottom: 18px;
    padding: 28px 30px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--surface);
}

h2 {
    margin: 0 0 14px;
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: -.03em;
}

h3 {
    margin: 22px 0 8px;
    font-size: 17px;
}

p { margin: 0 0 12px; }
p:last-child { margin-bottom: 0; }

ul { margin: 10px 0 0; padding-left: 20px; }
li + li { margin-top: 6px; }

.placeholder {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 6px;
    background: #fff4cf;
    color: #594500;
    font-weight: 700;
}

.info-note {
    padding: 14px 16px;
    border-left: 3px solid var(--purple);
    background: #faf9ff;
    color: var(--ink-soft);
}

.site-footer {
    padding: 28px 0 32px;
    border-top: 1px solid var(--border);
    background: var(--surface);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 12px;
    font-weight: 700;
}

.footer-copy {
    width: 100%;
    color: var(--ink-muted);
    font-size: 11px;
}

.amazon-disclosure {
    margin-top: 8px;
    color: var(--ink-muted);
    font-size: 11px;
}

@media (max-width: 640px) {
    .legal-main { padding: 48px 0 65px; }
    .legal-card { padding: 22px 20px; }
    .header-inner { min-height: 64px; }
    .legal-container,
    .header-inner,
    .footer-inner { width: min(calc(100% - 30px), var(--container)); }
}


.logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 21px;
    font-weight: 700;
    white-space: nowrap;
    color: var(--ink);
}

.logo-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: var(--ink);
    box-shadow: var(--shadow-sm);
}

.logo-mark {
    width: 22px;
    height: 22px;
    display: block;
    object-fit: contain;
}

.logo-text {
    letter-spacing: -.04em;
}

@media (max-width: 760px) {
    .logo-mark {
        width: 20px;
        height: 20px;
    }
}
