/* StarProfits AI — footer (legal) pages
   Deliberately plain: one column of readable text, brand header, nothing else.
   Same structure as the ProfitMaps / Local Media Empire legal pages, in the StarProfits jet, gold and coral theme.
   This file is identical in every footer/<slug>/ folder, so each folder can be zipped on its own. */
:root {
    --jet: #0E0E13;
    --ink: #16131C;
    --body: #3A3542;
    --muted: #6B6775;
    --line: #EFE4D6;
    --link: #C2412D;
    --link-h: #9E2F1E;
    --gold: #FFC21A;
    --gold-deep: #E98400;
    --cream: #FFF8F1;
    --paper: #FFFFFF;
    --g-gold: linear-gradient(135deg, #FFE793 0%, #FFC21A 48%, #F39A0A 100%);
    --f-head: "Gabarito", system-ui, sans-serif;
    --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.8l2.75 5.7 6.25.85-4.55 4.35 1.12 6.2L12 16.9l-5.57 3 1.12-6.2L3 9.35l6.25-.85z'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    background: var(--cream);
    color: var(--body);
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 16.5px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

/* header: jet band with faint gold halftone at the edges; its bottom edge sags into a coral and gold cord */
.lg-top { position: relative; z-index: 1; padding: 26px 0 14px; background: var(--jet); }
.lg-top::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(rgba(255, 194, 26, .16) 1.1px, transparent 1.7px) 0 0 / 14px 14px;
    -webkit-mask: linear-gradient(90deg, #000, transparent 28%, transparent 72%, #000);
    mask: linear-gradient(90deg, #000, transparent 28%, transparent 72%, #000);
}
.lg-top .wrap { position: relative; display: flex; align-items: center; justify-content: center; }
.lg-top a { display: block; }
.lg-logo { display: block; width: 230px; height: auto; }
.lg-cord { position: absolute; left: 0; top: calc(100% - 1px); display: block; width: 100%; height: 36px; overflow: visible; }

/* page body */
.wrap { width: 100%; max-width: 860px; margin: 0 auto; padding: 0 20px; }
main { padding: 64px 0 60px; }
.lg-card { padding: 44px 48px 48px; border-radius: 20px; background: var(--paper); box-shadow: 0 22px 48px -34px rgba(60, 34, 8, .45), inset 0 0 0 1px var(--line); }

h1 { margin: 0; color: var(--ink); font-family: var(--f-head); font-size: clamp(32px, 4.8vw, 46px); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; }

/* hairline led in by five small gold stars (87px fits five 15px stars with 3px gaps; 90px would fit six) */
.lg-rule { position: relative; height: 15px; margin: 20px 0 28px; border: 0; background: linear-gradient(var(--line), var(--line)) 102px 50% / calc(100% - 102px) 1px no-repeat; overflow: visible; }
.lg-rule::before {
    content: ""; position: absolute; left: 0; top: 0; width: 87px; height: 15px; background: var(--g-gold);
    -webkit-mask: var(--star) 0 0 / 15px 15px space no-repeat;
    mask: var(--star) 0 0 / 15px 15px space no-repeat;
}

h2 { margin: 34px 0 10px; color: var(--ink); font-family: var(--f-head); font-size: clamp(20px, 2.4vw, 23px); font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
p { margin: 0 0 14px; }
ul { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 8px; }
li::marker { color: var(--gold-deep); }
strong, b { color: var(--ink); font-weight: 700; }
a { color: var(--link); text-decoration: underline; text-decoration-color: rgba(194, 65, 45, .4); text-underline-offset: 2px; }
a:hover { color: var(--link-h); text-decoration-color: currentColor; }

.lg-note { margin: 26px 0 0; padding: 16px 18px; border-radius: 12px; background: #FFF6E0; color: var(--ink); font-size: 15.5px; box-shadow: inset 3px 0 0 var(--gold), inset 0 0 0 1px #F6E3B8; }

/* footer */
.lg-foot { padding: 6px 0 46px; text-align: center; }
.lg-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 0; margin: 0 0 14px; }
.lg-links a { position: relative; padding: 0 16px; color: var(--ink); font-size: 14.5px; font-weight: 600; text-decoration: none; }
.lg-links a:hover { color: var(--link); text-decoration: underline; }
.lg-links a + a::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 13px; background: #DCCFBE; transform: translateY(-50%); }
.lg-links a[aria-current="page"] { color: var(--muted); }
.lg-copy { margin: 0; color: var(--muted); font-size: 13.5px; }

@media (max-width: 767.98px) {
    body { font-size: 16px; }
    .lg-top { padding: 22px 0 10px; }
    .lg-logo { width: 190px; }
    .lg-cord { height: 24px; }
    main { padding: 44px 0 40px; }
    .lg-card { padding: 28px 20px 32px; border-radius: 16px; }
    .lg-links { gap: 0 4px; }
    .lg-links a { padding: 10px 11px; font-size: 13.5px; }
    .lg-links a + a::before { display: none; }
}
