/* ==========================================================================
   The Skin Clarity Edit — legal pages (privacy.html, terms.html, refund.html)
   Uses the same palette and type as index.html.
   ========================================================================== */
:root {
  --ivory: #FAF6F0;
  --ivory-2: #F5EEE6;
  --blush: #E8C7C3;
  --blush-soft: #F3E3DF;
  --rose: #B87982;
  --rose-deep: #9B5E68;
  --berry: #593642;
  --sage: #A7B29A;
  --charcoal: #302A2A;
  --muted: #6B5F5F;
  --line: rgba(89, 54, 66, .14);
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.22, .8, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--charcoal); font-family: var(--sans); font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--rose-deep); text-underline-offset: 3px; }
a:hover { color: var(--berry); }
:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--berry); color: var(--ivory); padding: 10px 16px; border-radius: 10px; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(250,246,240,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--berry); }
.wordmark svg { width: 30px; height: 30px; flex: none; }
.wordmark span { font-family: var(--serif); font-size: 21px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1; }
.back { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--berry); text-decoration: none; white-space: nowrap; }
.back svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.back:hover svg { transform: translateX(-3px); }

/* Article */
.legal { padding: clamp(48px, 8vw, 96px) 0 clamp(70px, 9vw, 120px); background: linear-gradient(180deg, var(--blush-soft) 0, var(--ivory) 340px); }
.legal__inner { max-width: 760px; margin-inline: auto; }
.eyebrow { font-size: 12.5px; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; color: var(--rose-deep); margin: 0 0 16px; display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--berry); letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(44px, 7vw, 68px); line-height: 1.02; margin: 0 0 14px; }
h2 { font-size: clamp(27px, 3.4vw, 34px); line-height: 1.15; margin: 48px 0 12px; padding-top: 26px; border-top: 1px solid var(--line); }
h3 { font-size: 23px; margin: 28px 0 8px; }
p, ul, ol { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: .45em; }
li::marker { color: var(--rose); }
.meta { font-size: 14.5px; color: var(--muted); margin: 0; }
.intro { font-family: var(--serif); font-size: clamp(21px, 2.4vw, 25px); line-height: 1.45; color: var(--berry); margin: 26px 0 0; }

.support-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--rose-deep); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; box-shadow: 0 10px 24px -12px rgba(155,94,104,.7); transition: background .3s, transform .45s var(--ease); }
.support-btn:hover { background: var(--berry); color: #fff; transform: translateY(-2px); }
.support-btn svg { width: 18px; height: 18px; flex: none; }
.contact-box { margin: 18px 0 0; padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.contact-box p { font-size: 15.5px; color: var(--muted); }

/* Footer */
.site-footer { background: #2E1C23; color: rgba(250,246,240,.78); padding: 56px 0 36px; font-size: 15px; }
.site-footer .wordmark { color: var(--ivory); }
.footer__row { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; }
.footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer__links li { margin: 0; }
.footer__links a { color: rgba(250,246,240,.85); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.footer__links a:hover, .footer__links a[aria-current="page"] { color: var(--blush); }
.footer__links svg { width: 16px; height: 16px; }
.disclaimer { margin: 30px 0 0; padding-top: 22px; border-top: 1px solid rgba(250,246,240,.14); font-size: 13.5px; line-height: 1.6; color: rgba(250,246,240,.62); }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .wordmark span { font-size: 16px; }
  .wordmark svg { width: 26px; height: 26px; }
  .back span { display: none; }
  .back { min-width: 44px; min-height: 44px; justify-content: center; }
  .support-btn { width: 100%; justify-content: center; }
}
@media print {
  .site-header, .site-footer, .skip-link { display: none; }
  .legal { background: none; padding: 0; }
}
