/* FuelU — Terms, Privacy and Delete account in the 1.1 site's look.
   The site's frame (header, footer, night, type) around a light reading sheet: long legal
   text and the delete form stay dark-on-light and easy to read. Wording is untouched. */
:root {
  --purple: #7B2FF7; --pink: #F72F7B;
  --grad: linear-gradient(90deg, #7B2FF7, #F72F7B);
  --grad-soft: linear-gradient(90deg, #B98BFF, #FF7FAF);
  --night: #0D0A14; --ink: #15121C;
  --mute: rgba(255,255,255,.64); --faint: rgba(255,255,255,.4); --rule: rgba(255,255,255,.1);
  --display: "Familjen Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
  /* names the policy pages' existing inline overrides already use */
  --font-display: var(--display); --font-body: var(--body);
  --ink-900: #15121C; --ink-500: #67677A;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.lg { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: radial-gradient(70% 50% at 50% 0%, rgba(123,47,247,.28), transparent 70%) no-repeat, var(--night); color: #fff; font: 400 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
body.lg > main { flex: 1; }
.lg a { color: inherit; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.soft { background: var(--grad-soft); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lg :focus-visible { outline: 3px solid #B98BFF; outline-offset: 3px; border-radius: 6px; }

.top { position: sticky; top: 0; z-index: 60; background: rgba(13,10,20,.8); backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%); border-bottom: 1px solid var(--rule); }
.top-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.lg .logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.lg .logo img { width: 32px; height: 32px; border-radius: 8px; display: block; }
.lg .logo span { font: 700 25px/1 var(--display); letter-spacing: -0.03em; }
.top nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--mute); }
.top nav a:hover { color: #fff; }
.top nav .get { color: var(--ink); background: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 600; }
@media (max-width: 760px) { .top nav a:not(.get) { display: none; } }

/* page head */
.lg-head { padding: clamp(48px, 8vw, 96px) 0 clamp(28px, 4vw, 44px); }
.lg-back { display: inline-flex; gap: 8px; color: var(--mute); text-decoration: none; font-size: 15px; margin-bottom: 28px; }
.lg-back:hover { color: #fff; }
.lg-head h1 { font: 700 clamp(44px, 6.4vw, 92px)/.95 var(--display); letter-spacing: -0.04em; margin: 0; }
.lg-head p { color: var(--mute); margin: 18px 0 0; max-width: 40em; }

/* the reading sheet */
.sheet { background: #fff; color: #15121C; border-radius: 32px; padding: clamp(24px, 5vw, 72px); margin-bottom: 12vh; box-shadow: 0 40px 100px rgba(0,0,0,.45); }
.sheet a { color: #6A1FE0; }
.sheet h1 { font-size: clamp(26px, 3vw, 36px) !important; }
@media (max-width: 600px) { .wrap { width: calc(100% - 32px); } .sheet { border-radius: 22px; } }

.foot { color: var(--mute); padding: 48px 0 40px; font-size: 15px; border-top: 1px solid var(--rule); }
.foot-row { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: #fff; }
.foot-small { margin: 28px 0 0; font-size: 13px; color: var(--faint); }
.lg-narrow { width: min(920px, 100% - 48px); }
.sheet.termly-policy { padding-top: clamp(16px, 3vw, 40px); }
@media (max-width: 600px) { .lg-narrow { width: calc(100% - 32px); } }

/* Room to breathe: more padding in the sheet, bigger type, taller lines, clear gaps between
   sections. Overrides the policy's built-in 14px Arial; the words themselves are untouched. */
.sheet.termly-policy { padding: clamp(36px, 6vw, 88px) clamp(24px, 7vw, 104px) clamp(48px, 7vw, 104px); }
.sheet.termly-policy [data-custom-class='body_text'], .sheet.termly-policy [data-custom-class='body_text'] *,
.sheet.termly-policy [data-custom-class='link'], .sheet.termly-policy [data-custom-class='link'] *,
.sheet.termly-policy li, .sheet.termly-policy td { font-family: var(--body) !important; font-size: 17px !important; line-height: 1.75 !important; color: #3E3B47 !important; }
.sheet.termly-policy [data-custom-class='link'], .sheet.termly-policy [data-custom-class='link'] *, .sheet.termly-policy a { color: #6A1FE0 !important; }
.sheet.termly-policy [data-custom-class='subtitle'], .sheet.termly-policy [data-custom-class='subtitle'] * { font-family: var(--body) !important; font-size: 15px !important; color: #67677A !important; }
.sheet.termly-policy [data-custom-class='title'], .sheet.termly-policy [data-custom-class='title'] * { font-family: var(--display) !important; font-size: clamp(30px, 3.4vw, 42px) !important; letter-spacing: -0.03em; line-height: 1.05 !important; color: #15121C !important; }
.sheet.termly-policy [data-custom-class='heading_1'], .sheet.termly-policy [data-custom-class='heading_1'] * { font-family: var(--display) !important; font-size: clamp(22px, 2.2vw, 27px) !important; letter-spacing: -0.02em; line-height: 1.2 !important; color: #15121C !important; }
.sheet.termly-policy [data-custom-class='heading_1'] { margin-top: 64px !important; padding-top: 40px; border-top: 1px solid #ECE8F2; }
.sheet.termly-policy [data-custom-class='heading_2'], .sheet.termly-policy [data-custom-class='heading_2'] * { font-family: var(--display) !important; font-size: 20px !important; line-height: 1.3 !important; color: #15121C !important; }
.sheet.termly-policy [data-custom-class='heading_2'] { margin-top: 32px !important; }
.sheet.termly-policy div[style*='line-height'] { line-height: 1.75 !important; }
.sheet.termly-policy li { margin-bottom: 10px; }
.sheet.termly-policy ul { padding-left: 1.4em; }
.sheet.termly-policy table { width: 100%; border-collapse: collapse; }
.sheet.termly-policy td, .sheet.termly-policy th { padding: 12px 14px !important; vertical-align: top; }
@media (max-width: 600px) {
  .sheet.termly-policy [data-custom-class='body_text'], .sheet.termly-policy [data-custom-class='body_text'] *,
  .sheet.termly-policy [data-custom-class='link'], .sheet.termly-policy [data-custom-class='link'] *, .sheet.termly-policy li, .sheet.termly-policy td { font-size: 16px !important; }
  .sheet.termly-policy [data-custom-class='heading_1'] { margin-top: 44px !important; padding-top: 28px; }
}
@media (max-width: 600px) { .lg-narrow { width: calc(100% - 20px); } .sheet.termly-policy { padding: 32px 20px 44px; } }
