/* ============================================================
   Taskifo — shared styles for legal / content pages
   ============================================================ */
:root {
  --ink: #131417;
  --navy: #20303f;
  --slate: #6b7280;
  --white: #ffffff;
  --gold: #ffd23a;
  --hairline: #e6e8ec;
  --bg: #0a0a0b;
  --font-display: "Schibsted Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* , *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* persistent white fade + blur at the bottom of the viewport */
body::after {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(260px, 38vh, 460px);
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.18) 45%,
    rgba(255, 255, 255, 0.55) 70%,
    rgba(255, 255, 255, 0.88) 88%,
    #ffffff 100%);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.35) 50%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.35) 50%, #000 100%);
  pointer-events: none;
  z-index: 70;
}

/* circular arrow */
.arrow {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  flex: none;
}
.arrow svg { width: 12px; height: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  width: 100%;
  padding: 14px clamp(20px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.site-header.is-stuck {
  background: rgba(255, 255, 255, 0.78);
  border-bottom-color: rgba(20, 30, 55, 0.08);
  box-shadow: 0 10px 30px -16px rgba(20, 30, 55, 0.38);
}
.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}
.nav__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.02em;
  color: var(--navy);
  display: flex;
  align-items: center;
}
.nav__logo { height: 34px; width: auto; display: block; }
.nav__links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
}
.nav__links a { transition: opacity .15s ease; }
.nav__links a:hover { opacity: .6; }
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

/* ---------- Page head ---------- */
.legal-hero {
  padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 64px) clamp(28px, 4vw, 44px);
  max-width: 880px;
  margin-inline: auto;
}
.legal-hero__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 16px;
}
.legal-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.legal-hero__updated { margin: 16px 0 0; font-size: 14px; color: var(--slate); }

/* ---------- Content ---------- */
.legal {
  max-width: 880px;
  margin-inline: auto;
  padding: 0 clamp(24px, 5vw, 64px) clamp(64px, 9vw, 120px);
}
.legal__intro {
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.65;
  color: #33373d;
  margin: 0 0 8px;
}
.legal h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 26px);
  letter-spacing: -0.01em;
  margin: 44px 0 14px;
}
.legal h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  margin: 26px 0 8px;
}
.legal p { font-size: 15.5px; line-height: 1.7; color: #3a3f47; margin: 0 0 14px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal li { font-size: 15.5px; line-height: 1.7; color: #3a3f47; margin-bottom: 8px; }
.legal a:not(.legal__cta) { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.legal strong { font-weight: 600; color: var(--ink); }

.legal__note {
  margin-top: 40px;
  padding: 18px 20px;
  background: #f6f8fa;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--slate);
}

/* contact button */
.legal__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  padding: 13px 22px;
  border-radius: 999px;
  transition: transform .15s ease;
}
.legal__cta:hover { transform: translateY(-2px); }
.legal__cta .arrow { background: #fff; color: var(--ink); width: 28px; height: 28px; }
.legal__cta .arrow svg { width: 13px; height: 13px; }

/* ---------- Footer (light glassmorphism) ---------- */
.footer {
  position: relative;
  z-index: 71;
  width: 100%;
  padding: 10px;
  background:
    radial-gradient(70% 130% at 12% 0%, rgba(255, 210, 58, 0.20), rgba(255, 210, 58, 0) 60%),
    radial-gradient(70% 130% at 95% 20%, rgba(120, 160, 220, 0.16), rgba(120, 160, 220, 0) 55%),
    linear-gradient(180deg, #eef1f6 0%, #e6eaf1 100%);
}
.footer__glass {
  width: 100%;
  padding: clamp(28px, 4vw, 56px) clamp(24px, 5vw, 72px);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 30px 60px -34px rgba(20, 30, 55, 0.28);
  color: var(--ink);
}
.footer__top { display: flex; justify-content: space-between; gap: clamp(28px, 5vw, 72px); flex-wrap: wrap; }
.footer__brand-col { max-width: 320px; }
.footer__logo { height: 30px; width: auto; display: block; margin-bottom: 16px; }
.footer__tag { margin: 0 0 22px; font-size: 14px; line-height: 1.6; color: #44484f; }
.footer__cta {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink); color: #fff;
  font-size: 14px; font-weight: 600;
  padding: 12px 12px 12px 22px; border-radius: 999px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.footer__cta:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(0,0,0,0.4); }
.footer__cta .arrow { background: #fff; color: var(--ink); width: 28px; height: 28px; }
.footer__cta .arrow svg { width: 13px; height: 13px; }
.footer__links { display: flex; gap: clamp(32px, 6vw, 80px); flex-wrap: wrap; }
.fcol__head { margin: 0 0 18px; font-size: 13px; font-weight: 700; letter-spacing: 0.02em; color: var(--ink); }
.fcol__list { display: flex; flex-direction: column; gap: 12px; }
.fcol__list a, .fcol__list span { font-size: 14px; line-height: 1.4; color: #5a616b; }
.fcol__list a { transition: color .15s ease; }
.fcol__list a:hover { color: var(--ink); }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  margin-top: clamp(28px, 4vw, 40px); padding-top: 22px;
  border-top: 1px solid rgba(20, 30, 55, 0.12);
}
.footer__copy, .footer__note { font-size: 12.5px; color: #6b7280; }
@media (max-width: 760px) {
  .footer__top { flex-direction: column; gap: 32px; }
}

/* ---------- Floating buttons (WhatsApp + scroll to top) ---------- */
.fab {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.fab__btn {
  display: grid;
  place-items: center;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.45);
  transition: transform .2s ease, box-shadow .2s ease, opacity .25s ease;
}
.fab__btn:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -10px rgba(0, 0, 0, 0.55); opacity: 1; }
.fab__whatsapp { width: 56px; height: 56px; background: var(--ink); color: #fff; opacity: .55; }
.fab__whatsapp svg { width: 30px; height: 30px; }
.fab__top {
  width: 48px; height: 48px;
  background: var(--ink);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  pointer-events: none;
}
.fab__top svg { width: 20px; height: 20px; }
.fab__top.is-shown { opacity: .55; visibility: visible; transform: none; pointer-events: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav__links { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
