/* ==========================================================================
   Legal pages: privacypolicy, terms, cookies, refund (.lg).
   Hand-written source, linked after css/work.css (tokens, hero, the sticky
   contents list .wk-toc / .wk-layout driven by js/work.js).
   Design only: the wording is the original, checked word for word when the
   pages were rebuilt. Reading first: ~68 characters a line, clear headings,
   a light fade on desktop and nothing moving on phones.
   ========================================================================== */

.lg-hero__inner { padding: 88px 0 72px; max-width: 860px; }
.lg-title { font-size: clamp(42px, 5.4vw, 80px); margin-bottom: 22px; }
.lg-hero__sub { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: rgba(255, 255, 255, 0.88); max-width: 40em; }
.lg-hero__sub .lg-hl { color: #f3d891; font-weight: 600; }
.lg-hero__intro { margin-top: 14px; font-size: 16.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.76); max-width: 42em; }
.lg-hero__meta { display: inline-flex; gap: 8px; margin-top: 26px; padding: 8px 14px; border-radius: 999px; font-size: 14px; color: rgba(255, 255, 255, 0.78); background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
.lg-hero__meta b { color: #fff; font-weight: 600; }

.lg-layout { padding-top: 88px; padding-bottom: 96px; }
.lg-body { counter-reset: lg; max-width: 760px; }
.lg-body p, .lg-body li { font-size: 17px; line-height: 1.75; color: var(--text); }
.lg-body p, .lg-body .lg-list, .lg-body .lg-highlight, .lg-body .lg-info, .lg-body .lg-warning { max-width: 36em; } /* about 70 characters a line */
.lg-body p + p { margin-top: 14px; }
.lg-body strong { color: var(--ink); font-weight: 600; }
.lg-body a { color: var(--royal); font-weight: 550; text-underline-offset: 3px; overflow-wrap: anywhere; }

.lg-section { scroll-margin-top: 110px; padding-bottom: 48px; }
.lg-section + .lg-section { padding-top: 48px; border-top: 1px solid var(--line-2); }
.lg-section__header { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.lg-section:not(.lg-section--unnumbered) .lg-section__header::before {
  counter-increment: lg; content: counter(lg, decimal-leading-zero);
  align-self: flex-start; display: inline-grid; place-items: center; min-width: 38px; height: 26px; padding: 0 9px; border-radius: 999px;
  font-size: 12px; font-weight: 650; letter-spacing: 0.04em; color: #1d1404; background: var(--gold-grad); background-size: 220% 100%; box-shadow: var(--sh-gold);
}
.lg--rp .lg-section__header::before { display: none; }            /* refund labels its sections itself */
.lg-section__kicker { align-self: flex-start; font-size: 12.5px; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-text); }
.lg-section__title { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; letter-spacing: -0.03em; font-weight: 650; color: var(--ink); }
.lg-section__intro { font-size: 18px !important; color: var(--ink) !important; }
.lg-subsection { margin-top: 26px; }
.lg-subsection__title { font-size: 20px; letter-spacing: -0.015em; margin-bottom: 8px; color: var(--ink); }

/* lists: a small diamond, nothing else */
.lg-list { margin: 14px 0 6px; display: grid; gap: 8px; }
.lg-list > li { position: relative; padding-left: 24px; }
.lg-list > li::before { content: ''; position: absolute; left: 4px; top: 0.72em; width: 7px; height: 7px; border-radius: 2px; transform: rotate(45deg); background: var(--royal-hi); }

/* tinted notes (highlight, info, warning, disclaimer) */
.lg-highlight, .lg-info, .lg-warning, .lg-section__disclaimer, .lg-external {
  margin-top: 18px; padding: 16px 20px; border-radius: 16px; background: #f3f6fc; box-shadow: inset 0 0 0 1px var(--line), inset 3px 0 0 var(--royal-hi);
}
.lg-warning { background: #fdf6ea; box-shadow: inset 0 0 0 1px rgba(192, 138, 30, 0.25), inset 3px 0 0 var(--gold); }
.lg-highlight p, .lg-info p, .lg-warning p, .lg-external p { margin: 0; }
.lg-type { margin-top: 18px; padding: 18px 20px; border-radius: 18px; background: #fff; box-shadow: var(--sh-1), inset 0 0 0 1px var(--line); }
.lg-type__title { font-size: 18px; letter-spacing: -0.015em; color: var(--ink); margin-bottom: 6px; }

/* contact block */
.lg-contact, .lg-contact__items { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-top: 18px; }
.lg-contact__item { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 16px; background: #fff; box-shadow: var(--sh-1), inset 0 0 0 1px var(--line); text-decoration: none; }
a.lg-contact__item { font-weight: 600; color: var(--royal); }
.lg-contact__details { display: flex; flex-direction: column; gap: 4px; }
.lg-contact__label { font-size: 12px; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-text); }
.lg-contact__value, .lg-contact__link { font-size: 16px; color: var(--ink); }
.lg-contact__link { color: var(--royal); }
.lg-contact__sub { margin-top: 4px; }
.lg-closing { margin-top: 28px; padding: 22px 24px; border-radius: 20px; background: linear-gradient(180deg, #fff, #f3f6fc); box-shadow: inset 0 0 0 1px var(--line); }
.lg-closing__title { font-weight: 650; color: var(--ink) !important; margin-bottom: 4px; }
.lg-updated { margin-top: 32px; font-size: 14.5px !important; color: var(--muted) !important; }

/* a light fade only (desktop, motion allowed): no movement */
.wk-motion .lg-section.wk-pending { transform: none; }

@media (max-width: 900px) {
  .lg-layout { padding-top: 56px; }
  .lg-body { max-width: none; }
}
@media (max-width: 767px) {
  .lg-hero__inner { padding: 52px 0 48px; }
  .lg-title { font-size: clamp(36px, 10.5vw, 52px); }
  .lg-hero__sub { font-size: 17px; }
  .lg-hero__meta { margin-top: 20px; }
  .lg-layout { padding-top: 40px; padding-bottom: 64px; }
  .lg-body p, .lg-body li { font-size: 16.5px; }
  .lg-section { padding-bottom: 36px; }
  .lg-section + .lg-section { padding-top: 36px; }
}

/* Phones (2026-11-23): contact links are thumb-sized. */
@media (max-width: 767px) {
  .lg-contact__link { display: inline-flex; align-items: center; min-height: 44px; }
}
