/* ============================================================
   Pile i Vile — landing page
   Desktop: horizontal snap "deck" (cards slide left→right)
   Mobile: vertical full-viewport cards
   Brand: Roboto Black lowercase + facade stripe motif
   ============================================================ */

:root {
  --suma:   #526832;
  --list:   #79A629;
  --trava:  #BBCF00;
  --sijeno: #F1ECAD;
  --plod:   #E84C05;
  --stablo: #5A422A;

  --ink:        #1b2410;
  --ink-soft:   #4a5540;
  --paper:      #ffffff;
  --cream:      #faf9ef;
  --line:       #e7e6d6;
  --suma-900:   #3c4d24;
  --suma-950:   #2c3a19;
  --cream-text: #edefd4;

  --shadow-sm: 0 2px 8px rgba(27, 36, 16, .06);
  --shadow-md: 0 14px 40px rgba(27, 36, 16, .12);
  --shadow-lg: 0 30px 70px rgba(27, 36, 16, .24);

  --radius:    14px;
  --radius-lg: 26px;
  --maxw:      min(1300px, 92vw);
  --nav-h:     72px;
  --ease: cubic-bezier(.16, 1, .3, 1);

  --stripes-v: url("images/stripes-vertical.webp");
  --stripes-h: url("images/stripes-horizontal.webp");
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }

body {
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink); background: var(--paper); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: "Roboto", sans-serif; font-weight: 900; line-height: 1.04; letter-spacing: -.022em; text-transform: lowercase; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  background: var(--suma); color: #fff; padding: 10px 16px; border-radius: 10px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--list); outline-offset: 3px; border-radius: 6px; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--trava); margin-bottom: 1rem;
}
.eyebrow--green { color: var(--suma); }
.eyebrow--lime  { color: var(--trava); }
.eyebrow__tick { width: 16px; height: 13px; flex: none; border-radius: 2px; background: var(--stripes-v) center/cover; }

/* ---------- Buttons ---------- */
.btn {
  --btn-pad: .85em 1.4em;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: var(--btn-pad);
  font-family: "Roboto", sans-serif; font-weight: 700; font-size: 1rem;
  border-radius: 100px; border: 2px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn__arrow { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--shop { background: var(--stablo); color: #fff; box-shadow: 0 8px 22px rgba(90, 66, 42, .34); }
.btn--shop:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(90, 66, 42, .5); }

.btn--ghost { background: transparent; color: var(--suma); border-color: color-mix(in srgb, var(--suma) 35%, transparent); }
.btn--ghost:hover { background: var(--suma); color: #fff; border-color: var(--suma); transform: translateY(-2px); }

.btn--ghost-light { background: transparent; color: #fff; border-color: color-mix(in srgb, #fff 55%, transparent); }
.btn--ghost-light:hover { background: #fff; color: var(--suma); border-color: #fff; transform: translateY(-2px); }

.btn--lg { font-size: 1.06rem; --btn-pad: 1em 1.7em; }
.btn--xl { font-size: 1.2rem; --btn-pad: 1.05em 2rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: var(--maxw); margin-inline: auto;
  display: flex; align-items: center; gap: 1rem;
  padding: .7rem clamp(1rem, 4vw, 2rem);
}
.brand { display: inline-flex; align-items: center; margin-right: auto; }
.brand__logo { height: 34px; width: auto; transition: transform .3s var(--ease); }
.brand:hover .brand__logo { transform: scale(1.03); }
.nav__links { display: none; list-style: none; padding: 0; gap: 1.8rem; }
.nav__links a { font-weight: 500; color: var(--ink-soft); position: relative; padding: .3rem 0; cursor: pointer; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--plod); transition: width .25s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }
.nav__cta { padding: .6em 1.1em; font-size: .95rem; }
@media (min-width: 860px) { .nav__links { display: flex; } }

/* Horizontal scroll progress (desktop deck only) */
.scroll-progress { display: none; height: 3px; background: color-mix(in srgb, var(--suma) 15%, transparent); }
.scroll-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--list), var(--trava)); transition: width .15s linear; }

/* ---------- Deck & cards (base = mobile vertical) ---------- */
.deck { display: block; }
.card {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(2.2rem, 6vw, 4rem) clamp(1rem, 4vw, 2rem);
  overflow: hidden;
}
.hero__inner, .feature__inner, .contact__inner, .end__inner { width: 100%; max-width: var(--maxw); margin-inline: auto; }

/* Mobile: natural vertical flow (no forced full-screen), clear of the fixed CTA bar */
@media (max-width: 859px) {
  .card { min-height: 0; display: block; padding: clamp(2.3rem, 7vw, 3.4rem) clamp(1rem, 4vw, 2rem); }
  .card--end { padding-bottom: calc(clamp(2.3rem, 7vw, 3.4rem) + 84px); }
}

/* ---------- Hero ---------- */
.hero {
  background-color: var(--suma);
  background-image: linear-gradient(rgba(82,104,50,.90), rgba(82,104,50,.90)), var(--stripes-v);
  background-size: cover; background-position: center;
  color: #fff;
}
.hero__inner { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.hero__title { font-size: clamp(2.7rem, 9vw, 4.4rem); color: #fff; margin-bottom: 1.2rem; text-shadow: 0 2px 20px rgba(18,26,10,.35); }
.hero__title em { font-style: normal; color: var(--trava); }
.hero__lead { font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: var(--cream-text); max-width: 46ch; text-shadow: 0 1px 10px rgba(18,26,10,.45); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero__trust { list-style: none; padding: 0; margin: 1.8rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
.hero__trust li { display: inline-flex; align-items: center; gap: .5em; color: var(--cream-text); font-weight: 500; font-size: .95rem; }
.hero__trust span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--trava); color: var(--suma-900); font-size: .72rem; font-weight: 900; }

.hero__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 4px solid #fff; line-height: 0; }
.hero__media img { width: 100%; height: auto; transition: transform .7s var(--ease); }
.hero__media:hover img { transform: scale(1.045); }

.scroll-hint { display: none; }

@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1.05fr .95fr; }
  .hero { background-image: linear-gradient(90deg, rgba(82,104,50,.94) 0%, rgba(82,104,50,.86) 42%, rgba(82,104,50,.5) 100%), var(--stripes-v); }
  .hero__title { font-size: clamp(3rem, 5vw, 5.4rem); }
  .hero__media img { max-height: 70vh; object-fit: cover; }
}

/* ---------- Feature (Trgovina / Servis) ---------- */
.feature--dark {
  background-color: var(--suma); color: var(--cream-text);
  background-image: linear-gradient(rgba(82,104,50,.88), rgba(82,104,50,.88)), var(--stripes-v);
  background-size: cover; background-position: center;
}
.feature__inner { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.feature__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); line-height: 0; }
.feature--dark .feature__media { border: 4px solid #fff; }
.feature__media img { width: 100%; height: auto; transition: transform .7s var(--ease); }
.feature__media:hover img { transform: scale(1.045); }
.feature__copy h2 { font-size: clamp(1.9rem, 5vw, 2.7rem); margin-bottom: 1rem; }
.feature--dark .feature__copy h2 { color: #fff; text-shadow: 0 2px 18px rgba(18,26,10,.35); }
.feature__copy p { color: var(--ink-soft); font-size: 1.1rem; max-width: 52ch; }
.feature--dark .feature__copy p { color: var(--cream-text); text-shadow: 0 1px 10px rgba(18,26,10,.4); }
.feature__copy .btn { margin-top: 1.8rem; }

.chips { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; gap: .55rem; }
.chips li {
  font-size: .92rem; font-weight: 500; color: var(--suma-900);
  background: color-mix(in srgb, var(--trava) 26%, var(--paper));
  border: 1px solid color-mix(in srgb, var(--list) 40%, transparent);
  padding: .45em .9em; border-radius: 100px;
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.chips li:hover { transform: translateY(-2px); background: color-mix(in srgb, var(--trava) 42%, var(--paper)); }
.chips--on-dark li { color: var(--sijeno); background: color-mix(in srgb, var(--sijeno) 12%, transparent); border-color: color-mix(in srgb, var(--sijeno) 32%, transparent); }
.chips--on-dark li:hover { background: color-mix(in srgb, var(--sijeno) 22%, transparent); }

@media (min-width: 900px) {
  .feature__inner { grid-template-columns: 1.05fr .95fr; }
  .feature__inner--reverse .feature__media { order: 2; }
  .feature--dark { background-image: linear-gradient(90deg, rgba(82,104,50,.93) 0%, rgba(82,104,50,.86) 45%, rgba(82,104,50,.55) 100%), var(--stripes-v); }
  .feature__copy h2 { font-size: clamp(2.2rem, 3.6vw, 3.4rem); }
  .feature__copy p { font-size: clamp(1.1rem, 1.5vw, 1.32rem); }
  .feature__media img { max-height: 72vh; object-fit: cover; }
}

/* ---------- Contact ---------- */
.contact {
  background: radial-gradient(70% 60% at 100% 0%, color-mix(in srgb, var(--sijeno) 55%, transparent), transparent 70%), var(--paper);
}
.contact__inner { display: grid; gap: clamp(2rem, 5vw, 3rem); align-items: center; }
.contact__info h2 { font-size: clamp(1.9rem, 5vw, 3rem); margin-bottom: 1.8rem; }
.contact__list { list-style: none; padding: 0; display: grid; gap: 1.1rem; }
.contact__list li { display: grid; gap: .15rem; }
.contact__label { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--list); }
.contact__list a { font-size: 1.18rem; font-weight: 500; color: var(--ink); transition: color .2s var(--ease); width: fit-content; }
.contact__list a:hover { color: var(--plod); }

/* Working hours */
.contact__hours { margin-top: 1.6rem; display: grid; gap: .55rem; }
.contact__hours .contact__label { margin-bottom: .2rem; }
.contact__hours dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .3rem 1.2rem; }
.contact__hours dt { font-weight: 600; color: var(--ink); }
.contact__hours dd { margin: 0; color: var(--ink-soft); font-variant-numeric: tabular-nums; }

/* Service card call-to-action buttons */
.feature__actions { margin-top: 1.7rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.feature__actions .btn svg { width: 20px; height: 20px; }

.contact__map { min-height: 320px; }
.map { position: relative; width: 100%; height: 100%; min-height: 320px; border: 4px solid #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: var(--cream); }
.map__frame { width: 100%; height: 100%; min-height: 320px; border: 0; }
.map__consent { position: absolute; inset: 0; display: grid; place-content: center; gap: .9rem; text-align: center; padding: 1.5rem; background: linear-gradient(color-mix(in srgb, var(--cream) 92%, transparent), color-mix(in srgb, var(--cream) 92%, transparent)), var(--stripes-v) center/cover; }
.map__consent p { color: var(--ink-soft); max-width: 34ch; margin-inline: auto; }
.map__consent .btn { justify-self: center; }
.map__link { color: var(--suma); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.map.is-loaded .map__consent { display: none; }
@media (min-width: 900px) {
  .contact__inner { grid-template-columns: .95fr 1.05fr; }
  .contact__info h2 { font-size: clamp(2.4rem, 4vw, 3.4rem); }
  .contact__map, .map, .map__frame { height: 64vh; }
}

/* ---------- End / footer card ---------- */
.card--end {
  background-color: var(--suma-950); color: #fff; text-align: center;
  background-image: linear-gradient(rgba(44,58,25,.90), rgba(44,58,25,.90)), var(--stripes-v);
  background-size: cover; background-position: center;
}
.end__inner { display: grid; justify-items: center; gap: 1.1rem; max-width: 720px; }
.end__logo { height: 46px; width: auto; }
.end__title { font-size: clamp(2.4rem, 8vw, 4rem); color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.35); }
.end__lead { color: var(--cream-text); font-size: clamp(1.05rem, 2.4vw, 1.3rem); max-width: 40ch; }
.end__inner .btn { margin-top: .6rem; }
.end__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 1.6rem; margin-top: 1.6rem; }
.end__nav a { color: color-mix(in srgb, #fff 82%, transparent); font-weight: 500; cursor: pointer; }
.end__nav a:hover { color: var(--trava); }
.end__legal { margin-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.14); padding-top: 1.3rem; display: grid; gap: .5rem; }
.end__company { color: color-mix(in srgb, #fff 66%, transparent); font-size: .82rem; }
.end__legal-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.3rem; }
.end__legal-nav a { color: color-mix(in srgb, #fff 82%, transparent); font-size: .82rem; text-decoration: underline; text-underline-offset: 3px; }
.end__legal-nav a:hover { color: var(--trava); }
.end__copy { color: color-mix(in srgb, #fff 50%, transparent); font-size: .8rem; }

/* ---------- Deck dots ---------- */
.deck-dots { display: none; }

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; gap: .6rem; padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(27,36,16,.08);
}
.mobile-cta .btn { flex: 1; padding: .8em 1em; }
.mobile-cta__call svg { width: 1.15em; height: 1.15em; }
.mobile-cta__shop { flex: 1.4; }
@media (min-width: 860px) { .mobile-cta { display: none; } }

/* ---------- Cookie consent ---------- */
.cookiebar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 130;
  background: var(--suma-950); color: #fff; box-shadow: 0 -12px 34px rgba(0,0,0,.28);
  border-top: 5px solid transparent; border-image: var(--stripes-h) 26 repeat;
}
.cookiebar[hidden] { display: none; }
.cookiebar__inner { max-width: var(--maxw); margin-inline: auto; padding: 1rem clamp(1rem, 4vw, 2rem); display: flex; align-items: center; justify-content: space-between; gap: 1rem 1.4rem; flex-wrap: wrap; }
.cookiebar__text { font-size: .92rem; color: color-mix(in srgb, #fff 85%, transparent); max-width: 62ch; }
.cookiebar__text a { color: var(--trava); text-decoration: underline; text-underline-offset: 3px; }
.cookiebar__actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.cookiebar .btn--ghost { color: #fff; border-color: color-mix(in srgb, #fff 50%, transparent); }
.cookiebar .btn--ghost:hover { background: #fff; color: var(--suma); border-color: #fff; }
@media (max-width: 520px) { .cookiebar__actions { width: 100%; } .cookiebar__actions .btn { flex: 1; } }

/* ---------- Reveal animation (uses `translate` so it composes with layout transforms) ---------- */
.reveal { opacity: 0; translate: 42px 0; transition: opacity .7s var(--ease), translate .8s var(--ease); }
.card.is-active .reveal { opacity: 1; translate: none; }
.card.is-active .feature__copy.reveal, .card.is-active .hero__media.reveal, .card.is-active .contact__map.reveal { transition-delay: .12s; }

/* =====================================================================
   DESKTOP HORIZONTAL DECK (only when motion is allowed)
   ===================================================================== */
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  /* lock scroll only on the landing page (the deck); legal pages must scroll */
  html:has(.deck), body:has(.deck) { height: 100%; overflow: hidden; }
  .site-header { position: fixed; inset: 0 0 auto 0; }

  .deck {
    height: 100vh; display: flex; flex-wrap: nowrap;
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .deck::-webkit-scrollbar { display: none; }
  .card {
    flex: 0 0 100vw; width: 100vw; height: 100vh; min-height: 0;
    scroll-snap-align: start; scroll-snap-stop: always;
    padding: calc(var(--nav-h) + .5rem) clamp(1rem, 4vw, 2rem) 1rem;
    overflow: hidden auto; scrollbar-width: none;
  }
  .card::-webkit-scrollbar { display: none; }

  .scroll-progress { display: block; }

  /* Scroll hint on hero */
  .scroll-hint {
    position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
    display: inline-flex; align-items: center; gap: .5em;
    color: var(--cream-text); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
    opacity: .85;
  }
  .scroll-hint svg { width: 22px; height: 22px; animation: hintPulse 1.4s var(--ease) infinite; }
  .hero.hint-hidden .scroll-hint { opacity: 0; transition: opacity .4s; }

  /* Deck dots */
  .deck-dots {
    display: flex; flex-direction: column; gap: 14px;
    position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 95;
  }
  .deck-dots__dot { position: relative; width: 13px; height: 13px; padding: 0; border: 2px solid color-mix(in srgb, var(--suma) 45%, transparent); border-radius: 50%; background: transparent; cursor: pointer; transition: all .25s var(--ease); }
  .deck-dots__dot:hover { border-color: var(--suma); transform: scale(1.15); }
  .deck-dots__dot.is-active { background: var(--plod); border-color: var(--plod); }
  .deck-dots__dot span { position: absolute; right: 24px; top: 50%; transform: translateY(-50%) translateX(6px); white-space: nowrap; background: var(--suma-950); color: #fff; font-size: .72rem; padding: .25em .6em; border-radius: 6px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
  .deck-dots__dot:hover span { opacity: 1; transform: translateY(-50%) translateX(0); }
  /* dots over dark cards */
  .deck.on-dark ~ .deck-dots .deck-dots__dot { border-color: color-mix(in srgb, #fff 55%, transparent); }
  .deck.on-dark ~ .deck-dots .deck-dots__dot.is-active { background: var(--trava); border-color: var(--trava); }
}

/* ---------- Editorial big-image layout: large photo + overlapping frosted text panel ---------- */
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .hero__inner, .feature__inner {
    position: relative; display: flex; align-items: center; justify-content: center;
    height: 100%; max-width: none; gap: 0;
  }
  .hero__media, .feature__media {
    width: min(1400px, 95vw); margin: 0; position: relative; z-index: 1;
    max-height: calc(100vh - var(--nav-h) - 1.5rem);
  }
  .hero__media img, .feature__media img {
    width: 100%; height: auto;
    max-height: calc(100vh - var(--nav-h) - 1.5rem); object-fit: cover;
  }

  .hero__copy, .feature__copy {
    position: absolute; z-index: 3; top: 50%; left: 40%;
    transform: translate(-50%, -50%);
    width: min(560px, 54vw);
    max-height: calc(100vh - var(--nav-h) - 3.5rem); overflow: auto; scrollbar-width: none;
    padding: clamp(1.7rem, 2.3vw, 2.7rem);
    border-radius: 22px; box-shadow: 0 26px 64px rgba(0,0,0,.32);
  }
  .hero__copy::-webkit-scrollbar, .feature__copy::-webkit-scrollbar { display: none; }
  .feature__inner--reverse .feature__copy { left: 60%; }

  /* Panel surfaces */
  .feature__copy {
    background: color-mix(in srgb, #fff 88%, transparent);
    -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px);
    border: 1px solid rgba(255,255,255,.7);
  }
  .hero__copy, .feature--dark .feature__copy {
    background: linear-gradient(color-mix(in srgb, var(--suma-950) 68%, transparent), color-mix(in srgb, var(--suma-950) 68%, transparent));
    -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px);
    border: 1px solid rgba(255,255,255,.16);
  }

  /* Type sized for the panel */
  .hero__title { font-size: clamp(2rem, 2.9vw, 3rem); margin-bottom: .8rem; text-shadow: none; }
  .hero__lead { font-size: clamp(.98rem, 1.15vw, 1.1rem); text-shadow: none; }
  .hero__actions { margin-top: 1.3rem; }
  .hero__trust { margin-top: 1.3rem; gap: .5rem 1rem; }
  .hero__trust li { font-size: .84rem; }
  .feature__copy h2 { font-size: clamp(1.6rem, 2.15vw, 2.25rem); margin-bottom: .7rem; }
  .feature--dark .feature__copy h2 { text-shadow: none; }
  .feature__copy p { font-size: clamp(.96rem, 1.1vw, 1.08rem); }
  .feature--dark .feature__copy p { text-shadow: none; }
  .feature__copy .chips { margin-top: 1.1rem; }
  .feature__copy .chips li { font-size: .82rem; padding: .4em .8em; }
  .feature__copy .btn { margin-top: 1.3rem; }
}

@keyframes hintPulse { 0%,100% { transform: translateX(0); } 50% { transform: translateX(6px); } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; translate: none !important; transform: none !important; transition: none; }
  .hero__media img, .feature__media img, .chips li, .btn { transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Legal pages ---------- */
.legal-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 85%, transparent);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.legal-header__inner { max-width: 900px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem clamp(1rem, 4vw, 2rem); }
.legal-header__inner .brand__logo { height: 32px; width: auto; }
.legal-back { font-weight: 600; color: var(--suma); }
.legal-back:hover { color: var(--plod); }
.legal-wrap { max-width: 820px; margin-inline: auto; padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 4vw, 2rem) 4rem; }
.legal-wrap h1 { font-size: clamp(2rem, 5vw, 2.9rem); color: var(--suma); text-transform: none; letter-spacing: -.01em; margin-bottom: .4rem; }
.legal-updated { color: var(--ink-soft); font-size: .9rem; margin-bottom: 2rem; }
.legal-wrap h2 { font-size: 1.25rem; color: var(--suma); text-transform: none; letter-spacing: normal; font-weight: 700; margin: 2rem 0 .6rem; }
.legal-wrap p { color: var(--ink-soft); margin-bottom: .8rem; }
.legal-wrap ul { color: var(--ink-soft); padding-left: 1.2rem; display: grid; gap: .4rem; margin: 0 0 1rem; }
.legal-wrap a { color: var(--suma); text-decoration: underline; text-underline-offset: 3px; }
.legal-wrap a:hover { color: var(--plod); }
.legal-table { width: 100%; border-collapse: collapse; margin: .5rem 0 1.2rem; font-size: .95rem; }
.legal-table th, .legal-table td { text-align: left; padding: .6rem .7rem; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-soft); }
.legal-table th { color: var(--ink); font-weight: 700; }
.legal-footer { border-top: 1px solid var(--line); padding: 2rem clamp(1rem,4vw,2rem); text-align: center; color: var(--ink-soft); font-size: .85rem; }
.legal-footer a { color: var(--suma); text-decoration: underline; text-underline-offset: 3px; }
