/* ═══════════════════════════════════════════════════════════════
   Seremo 2026 — v4 Premium Redesign
   Floating nav · Bento grid · Glassmorphism · Animated gradients
   ═══════════════════════════════════════════════════════════════ */

/* ── Tokens ──────────────────────────────────────────────────── */
:root {
  --bg:             #faf8f5;
  --bg-alt:         #f2ede7;
  --bg-dark:        #1c1714;
  --bg-dark-2:      #2a2320;
  --surface:        #ffffff;
  --surface-glass:  rgba(255,255,255,0.72);
  --surface-dark:   rgba(255,255,255,0.06);

  --text:           #1c1916;
  --text-2:         #645a52;
  --text-secondary: #645a52;
  --text-3:         #9a8f85;
  --muted:          #9a8f85;
  --heading:        #1c1916;
  --text-on-dark:   #f5f0eb;
  --text-on-dark-2: rgba(245,240,235,0.6);

  --brand:          #c4623a;
  --brand-light:    #e8a88e;
  --brand-pale:     #f5e6de;
  --brand-dark:     #8f3d22;
  --brand-glow:     rgba(196,98,58,0.4);

  --accent:         #d4982a;
  --accent-light:   #f0d68a;
  --accent-pale:    #fdf4e0;
  --accent-glow:    rgba(212,152,42,0.35);

  --lavender:       #9b8bc0;
  --sage:           #7a9e84;

  --ok:             #3d8b5a;
  --danger:         #c93030;

  --border-1:       rgba(26,22,20,0.06);
  --border-2:       rgba(26,22,20,0.10);
  --border-3:       rgba(26,22,20,0.18);
  --border-glow:    rgba(196,98,58,0.2);
  --border-dark:    rgba(255,255,255,0.08);
  --border-dark-2:  rgba(255,255,255,0.14);

  --r-xs: 4px; --r-sm: 6px; --r: 8px; --r-md: 12px;
  --r-lg: 16px; --r-xl: 20px; --r-2xl: 24px; --r-3xl: 32px;
  --r-pill: 9999px;

  --sh-1: 0 1px 2px rgba(0,0,0,0.04);
  --sh-2: 0 2px 8px -2px rgba(0,0,0,0.06);
  --sh-3: 0 8px 24px -6px rgba(0,0,0,0.1);
  --sh-4: 0 20px 48px -12px rgba(0,0,0,0.14);
  --sh-5: 0 32px 64px -16px rgba(0,0,0,0.18);
  --sh-glow: 0 0 20px rgba(196,98,58,0.15), 0 0 60px rgba(196,98,58,0.05);
  --sh-glow-accent: 0 0 20px rgba(212,152,42,0.15), 0 0 60px rgba(212,152,42,0.05);

  --ease:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-b: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  --ff:   "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --ff-d: "Outfit", var(--ff);

  --max: 72rem;
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--ff); font-size: 0.9375rem;
  line-height: 1.6; color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  display: flex; flex-direction: column; min-height: 100vh;
}
main { flex: 1; }
::selection { background: rgba(196,98,58,0.15); color: var(--brand-dark); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--ff-d); }
.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

/* ── Skip / SR ───────────────────────────────────────────────── */
.skip-link {
  position: absolute; left: -9999px; z-index: 999;
  padding: 0.5rem 1rem; background: var(--text); color: #fff;
  border-radius: var(--r-sm); font-weight: 700; font-size: 0.875rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* ══════════════════════════════════════════════════════════════
   HEADER — Floating centered pill nav
   ══════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: center;
  padding: 0.75rem 1rem;
  pointer-events: none;
  transition: padding 0.3s var(--ease);
}
.site-header--scrolled { padding: 0.5rem 1rem; }

.site-header__inner {
  pointer-events: auto;
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.35rem 0.5rem 0.35rem 0.85rem;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: var(--r-pill);
  box-shadow: 0 4px 24px -4px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.04);
  transition: box-shadow 0.3s, background 0.3s;
  width: auto; max-width: 100%;
}
.site-header--scrolled .site-header__inner {
  box-shadow: 0 8px 32px -4px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.88);
}

.logo {
  font-family: var(--ff-d); font-weight: 800; font-size: 1.1rem;
  letter-spacing: -0.04em; text-decoration: none; color: var(--brand);
  padding-right: 0.5rem; border-right: 1px solid var(--border-1);
  margin-right: 0.15rem;
  transition: opacity 0.15s;
}
.logo:hover { opacity: 0.7; }

/* Nav — desktop: inline flex row */
.nav--main {
  display: flex; flex-wrap: nowrap; gap: 0.1rem; align-items: center;
}
.nav--main > a {
  color: var(--text-2); text-decoration: none;
  font-weight: 600; font-size: 0.78rem;
  padding: 0.3rem 0.55rem; border-radius: var(--r-pill);
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.nav--main > a:hover { color: var(--text); background: rgba(0,0,0,0.04); }
.nav--main > a[aria-current="page"] {
  color: #fff; background: var(--brand); font-weight: 700;
}

/* Auth inside nav — visible inline on desktop */
.nav__auth-mobile {
  display: flex; align-items: center;
  margin-left: 0.15rem; padding-left: 0.35rem;
  border-left: 1px solid var(--border-1);
}

/* Hamburger toggle — hidden on desktop */
.nav-toggle {
  display: none; border: none; background: transparent; cursor: pointer;
  padding: 0.4rem; border-radius: var(--r); flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle__bar {
  display: block; width: 18px; height: 2px;
  background: var(--text); border-radius: 1px;
  margin: 3px 0; transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle--open .nav-toggle__bar:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle--open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle--open .nav-toggle__bar:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ── Mobile nav ── */
@media (max-width: 48rem) {
  .nav-toggle {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    order: 10;
  }

  .site-header__inner {
    position: relative;
    justify-content: space-between;
  }

  .nav--main {
    display: none; flex-direction: column; gap: 0.15rem;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0; right: 0;
    min-width: 220px;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    border: 1px solid var(--border-1);
    border-radius: var(--r-xl);
    box-shadow: var(--sh-4);
    padding: 0.5rem;
    animation: nav-slide-in 0.25s var(--ease) both;
  }
  .nav--main.nav--open { display: flex; }

  .nav--main > a {
    font-size: 0.9rem; padding: 0.65rem 0.9rem;
    border-radius: var(--r-md); white-space: normal;
  }
  .nav--main > a:hover { background: var(--bg-alt); }
  .nav--main > a[aria-current="page"] { background: var(--brand); color: #fff; }

  .nav__auth-mobile {
    display: flex; align-items: center;
    margin-left: 0; padding-left: 0;
    border-left: none;
    padding: 0.5rem 0.9rem 0.3rem;
    border-top: 1px solid var(--border-1); margin-top: 0.2rem;
  }
}

@keyframes nav-slide-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav-auth {
  font-size: 0.75rem; color: var(--text-2);
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.25rem;
  margin-left: 0.25rem;
}
.nav-auth a {
  color: var(--text-2); text-decoration: none; font-weight: 600;
  font-size: 0.75rem; padding: 0.25rem 0.5rem; border-radius: var(--r-pill);
  transition: color 0.15s, background 0.15s;
}
.nav-auth a:hover { color: var(--text); background: rgba(0,0,0,0.04); }
.nav-user {
  max-width: 8rem; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; color: var(--text); font-weight: 600;
}
.btn-logout {
  background: transparent; border: none; color: var(--brand);
  text-decoration: underline; text-underline-offset: 3px;
  cursor: pointer; font: inherit; font-weight: 600; padding: 0; font-size: 0.75rem;
}

/* ══════════════════════════════════════════════════════════════
   HERO — Legacy (non-home pages)
   ══════════════════════════════════════════════════════════════ */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(6rem, 12vw, 9rem) 0 clamp(3rem, 7vw, 5rem);
  background: var(--bg);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 70% 20%, rgba(196,98,58,0.08), transparent 60%),
    radial-gradient(ellipse 50% 60% at 30% 80%, rgba(212,152,42,0.06), transparent 60%);
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr; gap: 2rem;
}
.hero__text { max-width: 40rem; }
.hero h1 {
  font-family: var(--ff-d); font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw + 0.5rem, 2.8rem);
  line-height: 1.08; letter-spacing: -0.04em;
  margin: 0 0 1rem; color: var(--heading);
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lead {
  font-size: clamp(1rem, 1.2vw + 0.5rem, 1.15rem);
  color: var(--text-2); margin: 0 0 1.75rem; line-height: 1.7;
  font-weight: 450; max-width: 38ch;
}
.lead strong { color: var(--brand-dark); font-weight: 700; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.hero__deco { display: none; }
.hero .prose, .hero .prose a { color: var(--text); }
.hero .prose a { color: var(--brand-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.hero:not(.hero--home) { padding-top: clamp(5rem, 10vw, 7rem); padding-bottom: clamp(2rem, 4vw, 3rem); }
.hero:not(.hero--home) .hero__grid { display: block; }
@media (max-width: 55.99rem) {
  .hero__text { text-align: center; max-width: 100%; }
  .hero h1 { text-align: center; }
  .lead { margin-inline: auto; text-align: center; }
  .hero__cta { justify-content: center; }
}

/* ══════════════════════════════════════════════════════════════
   LANDING PAGE — Full redesign 2026
   ══════════════════════════════════════════════════════════════ */

/* ── LP Hero ── */
.lp-hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
}
.lp-hero__bg {
  position: absolute; inset: 0; z-index: 0;
}
.lp-hero__img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.45) saturate(1.1);
}
.lp-hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(28,23,20,0.3) 0%, rgba(28,23,20,0.15) 40%, rgba(28,23,20,0.6) 100%),
    radial-gradient(ellipse at 30% 50%, rgba(196,98,58,0.15) 0%, transparent 60%);
}
.lp-hero__inner {
  position: relative; z-index: 2;
  padding: clamp(7rem, 14vh, 10rem) 0 clamp(3rem, 6vh, 5rem);
  max-width: 42rem;
}
.lp-hero__eyebrow {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(255,255,255,0.6);
  margin: 0 0 1rem;
}
.lp-hero__h1 {
  font-family: var(--ff-d); font-weight: 900;
  font-size: clamp(2.8rem, 6vw + 0.5rem, 5rem);
  line-height: 1.02; letter-spacing: -0.05em;
  color: #fff; margin: 0 0 1.5rem;
}
.lp-hero__accent {
  background: linear-gradient(135deg, var(--brand-light) 0%, var(--accent-light) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lp-hero__sub {
  font-size: clamp(1rem, 1.3vw + 0.4rem, 1.2rem);
  color: rgba(255,255,255,0.8); line-height: 1.65;
  margin: 0 0 2rem; max-width: 36ch; font-weight: 450;
}
.lp-hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-bottom: 2.5rem; }
.lp-hero__btn-main {
  box-shadow: 0 4px 20px rgba(196,98,58,0.4), inset 0 1px 0 rgba(255,255,255,0.2);
  font-size: 1rem; padding: 0.85rem 2rem;
}
.btn--ghost-hero {
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.2); padding: 0.75rem 1.5rem;
  border-radius: var(--r-pill); font-weight: 650; font-size: 0.9rem;
  backdrop-filter: blur(8px);
  transition: all 0.25s var(--ease);
}
.btn--ghost-hero:hover {
  background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.35);
  transform: translateY(-1px);
}
.lp-hero__proof {
  display: flex; flex-wrap: wrap; gap: 1rem 1.5rem;
}
.lp-hero__proof-item {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.7);
}
.lp-hero__proof-item svg { color: var(--brand-light); flex-shrink: 0; }

/* ── LP Trust Bar ── */
.lp-trust {
  background: var(--surface);
  border-bottom: 1px solid var(--border-1);
  padding: 1.5rem 0;
  position: relative; z-index: 10;
}
.lp-trust__grid {
  display: flex; align-items: center; justify-content: center;
  gap: 1.5rem; flex-wrap: wrap;
}
.lp-trust__item { display: flex; align-items: center; gap: 0.5rem; text-align: center; flex-direction: column; }
.lp-trust__num {
  font-family: var(--ff-d); font-weight: 900; font-size: 1.5rem;
  color: var(--brand); line-height: 1; letter-spacing: -0.03em;
}
.lp-trust__label { font-size: 0.75rem; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em; }
.lp-trust__sep { width: 1px; height: 2.5rem; background: var(--border-2); flex-shrink: 0; }
@media (min-width: 48rem) {
  .lp-trust__item { flex-direction: row; gap: 0.6rem; }
  .lp-trust__grid { gap: 2.5rem; }
}
@media (max-width: 30rem) {
  .lp-trust__sep { display: none; }
  .lp-trust__grid { gap: 1rem; }
  .lp-trust__item { flex: 1; min-width: 6rem; }
}

/* ── LP Section headings ── */
.lp-section-head { text-align: center; max-width: 40rem; margin: 0 auto 2.5rem; }
.lp-eyebrow {
  display: inline-block; margin: 0 0 0.5rem;
  font-size: 0.65rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand);
}
.lp-eyebrow--brand { color: var(--brand); }
.lp-eyebrow--lavender { color: var(--lavender); }
.lp-h2 {
  font-family: var(--ff-d); font-weight: 900;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  line-height: 1.08; letter-spacing: -0.04em;
  color: var(--heading); margin: 0 0 0.6rem;
}
.lp-subtitle {
  font-size: 1rem; line-height: 1.6; color: var(--text-2); margin: 0;
  font-weight: 450;
}

/* ── LP Steps ── */
.lp-steps__grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 48rem) { .lp-steps__grid { grid-template-columns: repeat(3, 1fr); } }
.lp-step {
  text-align: center; padding: 2rem 1.5rem;
  background: var(--surface); border: 1px solid var(--border-1);
  border-radius: var(--r-2xl); position: relative;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease);
}
.lp-step:hover {
  border-color: var(--border-glow); box-shadow: var(--sh-glow); transform: translateY(-4px);
}
.lp-step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff; font-family: var(--ff-d); font-weight: 900; font-size: 1.2rem;
  margin-bottom: 1rem; box-shadow: 0 4px 16px rgba(196,98,58,0.25);
}
.lp-step__title {
  font-family: var(--ff-d); font-size: 1.1rem; font-weight: 800;
  color: var(--heading); margin: 0 0 0.5rem; letter-spacing: -0.02em;
}
.lp-step__text { font-size: 0.88rem; color: var(--text-2); line-height: 1.55; margin: 0; }

/* ── LP Features Grid ── */
.lp-feat-grid {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 40rem) { .lp-feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 56rem) {
  .lp-feat-grid { grid-template-columns: repeat(3, 1fr); }
  .lp-feat--wide { grid-column: span 2; }
}
.lp-feat {
  background: var(--surface); border: 1px solid var(--border-1);
  border-radius: var(--r-2xl); padding: 1.5rem; overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease);
  position: relative;
}
.lp-feat:hover {
  border-color: var(--border-glow); box-shadow: var(--sh-glow); transform: translateY(-3px);
}
.lp-feat--wide { display: flex; gap: 0; padding: 0; }
.lp-feat--wide .lp-feat__img-wrap {
  flex: 0 0 45%; max-width: 45%; overflow: hidden;
  border-radius: var(--r-2xl) 0 0 var(--r-2xl);
}
.lp-feat--wide .lp-feat__img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.5s var(--ease);
}
.lp-feat--wide:hover .lp-feat__img { transform: scale(1.05); }
.lp-feat--wide .lp-feat__body { flex: 1; padding: 1.75rem; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 39.99rem) {
  .lp-feat--wide { flex-direction: column; }
  .lp-feat--wide .lp-feat__img-wrap { flex: none; max-width: 100%; aspect-ratio: 16/9; border-radius: var(--r-2xl) var(--r-2xl) 0 0; }
  .lp-feat--wide .lp-feat__body { padding: 1.25rem; }
}
.lp-feat__icon {
  display: flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; border-radius: var(--r-lg);
  margin-bottom: 1rem; flex-shrink: 0;
  background: var(--brand-pale); color: var(--brand-dark);
}
.lp-feat__badge {
  display: inline-block; font-size: 0.62rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--brand-dark); background: var(--brand-pale);
  padding: 0.2rem 0.5rem; border-radius: var(--r-pill);
  margin-bottom: 0.6rem;
}
.lp-feat__title {
  font-family: var(--ff-d); font-size: 1.1rem; font-weight: 800;
  color: var(--heading); margin: 0 0 0.4rem; letter-spacing: -0.02em;
}
.lp-feat__desc { font-size: 0.85rem; color: var(--text-2); line-height: 1.55; margin: 0; }

/* ── LP Showcase (Wedding / Funeral split) ── */
.lp-showcase__split {
  display: grid; gap: 3rem; align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 56rem) {
  .lp-showcase__split { grid-template-columns: 1fr 1fr; }
  .lp-showcase__split--reverse .lp-showcase__media { order: 2; }
  .lp-showcase__split--reverse .lp-showcase__content { order: 1; }
}
.lp-showcase__media { position: relative; }
.lp-showcase__img {
  width: 100%; border-radius: var(--r-2xl);
  box-shadow: var(--sh-4);
  aspect-ratio: 4/3; object-fit: cover;
}
.lp-showcase__float-card {
  position: absolute; bottom: -1rem; right: 1rem;
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.75rem 1.1rem;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(16px);
  border: 1px solid var(--border-1); border-radius: var(--r-xl);
  box-shadow: var(--sh-4); font-size: 0.85rem;
}
.lp-showcase__float-card strong { font-weight: 800; color: var(--heading); display: block; line-height: 1.2; }
.lp-showcase__float-card span { font-size: 0.72rem; color: var(--text-3); font-weight: 600; }
.lp-showcase__float-card--memorial { background: rgba(255,255,255,0.92); }
.lp-showcase__float-icon { font-size: 1.4rem; }

.lp-showcase__content { max-width: 28rem; }
.lp-showcase__text { font-size: 0.95rem; color: var(--text-2); line-height: 1.65; margin: 0 0 1.5rem; }
.lp-showcase__list {
  list-style: none; padding: 0; margin: 0 0 1.75rem;
  display: flex; flex-direction: column; gap: 0.65rem;
}
.lp-showcase__list li {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.88rem; font-weight: 500; color: var(--text);
  line-height: 1.45;
}
.lp-showcase__list li svg { flex-shrink: 0; margin-top: 0.1rem; }

/* Dark variant for funeral */
.lp-showcase--dark {
  background: var(--bg-dark); color: var(--text-on-dark);
}
.lp-showcase--dark .lp-h2 { color: var(--text-on-dark); }
.lp-showcase--dark .lp-showcase__text { color: var(--text-on-dark-2); }
.lp-showcase--dark .lp-showcase__list li { color: var(--text-on-dark); }
.lp-showcase--dark .lp-showcase__float-card {
  background: rgba(40,34,30,0.92); border-color: var(--border-dark-2);
}
.lp-showcase--dark .lp-showcase__float-card strong { color: var(--text-on-dark); }
.lp-showcase--dark .lp-showcase__float-card span { color: var(--text-on-dark-2); }

/* ── LP Gallery Strip ── */
.lp-gallery { overflow: hidden; padding: 0; background: var(--bg-dark); }
.lp-gallery__track {
  display: flex; gap: 0.5rem;
  padding: 0.5rem 0;
}
.lp-gallery__img {
  flex: 0 0 36%; height: 16rem; object-fit: cover;
  border-radius: var(--r-lg);
  filter: brightness(0.9) saturate(1.1);
  transition: filter 0.3s, transform 0.3s;
}
.lp-gallery__img:hover { filter: brightness(1); transform: scale(1.02); }
@media (max-width: 48rem) {
  .lp-gallery__img { flex: 0 0 70%; height: 12rem; }
}

/* ── LP Pricing ── */
.lp-pricing { background: var(--bg-alt); }
.lp-pricing__card {
  max-width: 28rem; margin: 0 auto;
  background: var(--surface); border: 2px solid var(--border-2);
  border-radius: var(--r-3xl); overflow: hidden;
  box-shadow: var(--sh-4);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.lp-pricing__card:hover {
  border-color: var(--brand-light); box-shadow: var(--sh-glow), var(--sh-4);
}
.lp-pricing__top {
  text-align: center; padding: 2rem 1.5rem 1.5rem;
  background: linear-gradient(170deg, #fdf6ef 0%, #f7ede3 100%);
  border-bottom: 1px solid var(--border-1); position: relative;
}
.lp-pricing__badge {
  display: inline-block; font-size: 0.6rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.12em;
  background: var(--brand); color: #fff;
  padding: 0.25rem 0.65rem; border-radius: var(--r-pill);
  margin-bottom: 0.75rem;
  box-shadow: 0 2px 8px rgba(196,98,58,0.3);
}
.lp-pricing__name {
  font-family: var(--ff-d); font-size: 1.15rem; font-weight: 800;
  color: var(--heading); margin: 0 0 0.75rem; letter-spacing: -0.02em;
}
.lp-pricing__price { display: flex; align-items: baseline; justify-content: center; gap: 0.5rem; }
.lp-pricing__amount {
  font-family: var(--ff-d); font-size: 3rem; font-weight: 900;
  color: var(--brand); line-height: 1; letter-spacing: -0.04em;
}
.lp-pricing__period { font-size: 0.82rem; color: var(--text-3); font-weight: 600; }
.lp-pricing__alt { margin: 0.5rem 0 0; text-align: center; font-size: 0.9rem; color: var(--text-3); font-weight: 600; }
.lp-pricing__features {
  list-style: none; padding: 1.5rem 1.75rem; margin: 0;
  display: flex; flex-direction: column; gap: 0.75rem;
}
.lp-pricing__features li {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.9rem; font-weight: 500; color: var(--text);
}
.lp-pricing__features li svg { flex-shrink: 0; }
.lp-pricing__features + .lp-pricing__cta {
  display: flex; width: fit-content; margin: 0 auto 1.25rem;
  text-align: center; font-size: 1rem; padding: 0.85rem 2.5rem;
}
.lp-pricing__note {
  text-align: center; font-size: 0.72rem; color: var(--text-3);
  margin: 0; padding: 0 1.5rem 1.5rem; font-weight: 500;
}

/* ── LP Final CTA ── */
.lp-final-cta {
  position: relative; overflow: hidden;
  padding: clamp(4rem, 10vw, 7rem) 0;
  text-align: center;
}
.lp-final-cta__bg { position: absolute; inset: 0; z-index: 0; }
.lp-final-cta__img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.3) saturate(1.2);
}
.lp-final-cta__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,23,20,0.5), rgba(28,23,20,0.7));
}
.lp-final-cta__inner { position: relative; z-index: 2; max-width: 32rem; margin: 0 auto; }
.lp-final-cta__h2 {
  font-family: var(--ff-d); font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.08; letter-spacing: -0.04em;
  color: #fff; margin: 0 0 1rem;
}
.lp-final-cta__text {
  font-size: 1.05rem; color: rgba(255,255,255,0.75);
  margin: 0 0 2rem; line-height: 1.6;
}
.lp-final-cta__btns { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

/* ══════════════════════════════════════════════════════════════
   BUTTONS — Premium feel
   ══════════════════════════════════════════════════════════════ */
.cta-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem;
  padding: 0.55rem 1.2rem; border-radius: var(--r-pill);
  font-weight: 650; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  font-size: 0.85rem; font-family: inherit; letter-spacing: -0.01em;
  transition: all 0.25s var(--ease);
  position: relative;
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn--sm { padding: 0.35rem 0.75rem; font-size: 0.78rem; }
.btn--lg {
  padding: 0.75rem 1.75rem; font-size: 0.95rem; font-weight: 700;
}

.btn-primary {
  background: var(--brand); color: #fff; border-color: var(--brand);
  box-shadow: 0 2px 8px rgba(196,98,58,0.3), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:hover {
  background: var(--brand-dark); border-color: var(--brand-dark);
  box-shadow: var(--sh-glow), 0 4px 16px rgba(196,98,58,0.3);
  transform: translateY(-1px);
}
.btn-primary--accent {
  background: var(--accent); border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(212,152,42,0.3), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary--accent:hover {
  background: #c08820; border-color: #c08820;
  box-shadow: var(--sh-glow-accent);
}
.btn-primary.btn--funeral {
  background: var(--lavender); border-color: var(--lavender);
  box-shadow: 0 2px 8px rgba(155,139,192,0.3);
}
.btn-primary.btn--funeral:hover { background: #8674ad; border-color: #8674ad; }

.btn-secondary {
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border-2);
  box-shadow: var(--sh-1);
}
.btn-secondary:hover {
  border-color: var(--border-3); background: var(--bg-alt);
  box-shadow: var(--sh-2);
}

.btn--ghost {
  background: transparent; color: var(--text-2);
  border: 1px solid transparent; padding: 0.55rem 0.8rem;
  border-radius: var(--r-pill);
}
.btn--ghost:hover { color: var(--brand); background: var(--brand-pale); }

.btn--outline-light {
  background: var(--surface); border: 1px solid var(--border-2); color: var(--text);
}
.btn--outline-light:hover { background: var(--bg-alt); border-color: var(--border-3); }

.btn--on-dark { background: rgba(255,255,255,0.1); color: var(--text-on-dark); border: 1px solid var(--border-dark-2); }
.btn--on-dark:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.25); }

/* ══════════════════════════════════════════════════════════════
   SECTIONS
   ══════════════════════════════════════════════════════════════ */
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}
.section--dark h2, .section--dark h3, .section--dark strong { color: var(--text-on-dark); }
.section--dark p, .section--dark span { color: var(--text-on-dark-2); }
.section--dark .section__eyebrow { color: var(--brand-light); }

.section h2 {
  font-family: var(--ff-d);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  margin: 0 0 0.5rem; font-weight: 800;
  letter-spacing: -0.04em; color: var(--heading);
}
.section__eyebrow {
  display: inline-block; margin: 0 0 0.5rem;
  font-size: 0.65rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand);
}
.section__eyebrow--funeral { color: var(--lavender); }
.section__title {
  font-family: var(--ff-d);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin: 0 0 0.6rem; font-weight: 800;
  letter-spacing: -0.04em; line-height: 1.08;
  color: var(--heading);
}
.section--dark .section__title { color: var(--text-on-dark); }
.section__lede {
  margin: 0; font-size: 1rem; line-height: 1.65;
  color: var(--text-2); font-weight: 450;
}
.section--dark .section__lede { color: var(--text-on-dark-2); }
.section h3 {
  font-family: var(--ff-d);
  font-size: 1.05rem; margin: 1.25rem 0 0.4rem;
  color: var(--heading); font-weight: 700;
}

/* ══════════════════════════════════════════════════════════════
   BENTO INFO GRID — Asymmetric feature showcase
   ══════════════════════════════════════════════════════════════ */
.bento {
  display: grid; gap: 0.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 40rem) {
  .bento { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 56rem) {
  .bento { grid-template-columns: repeat(3, 1fr); }
  .bento__wide { grid-column: span 2; }
}
.bento__card {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--r-2xl);
  background: var(--surface);
  border: 1px solid var(--border-1);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease);
}
.bento__card::before {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(196,98,58,0.03), rgba(212,152,42,0.02), transparent);
  pointer-events: none; opacity: 0;
  transition: opacity 0.3s;
}
.bento__card:hover::before { opacity: 1; }
.bento__card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--sh-glow);
  transform: translateY(-2px);
}
.bento__card--hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #2d231e 100%);
  color: var(--text-on-dark); border-color: var(--border-dark);
  padding: 2rem;
}
.bento__card--hero::before { display: none; }
.bento__card--hero:hover {
  border-color: var(--border-dark-2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.bento__card--hero h2 { color: var(--text-on-dark); font-size: 1.4rem; margin-bottom: 0.4rem; }
.bento__card--hero p { color: var(--text-on-dark-2); }

.bento__icon {
  display: flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: var(--r-lg);
  margin-bottom: 0.85rem; flex-shrink: 0;
  background: var(--brand-pale); color: var(--brand-dark);
}
.bento__card--hero .bento__icon {
  background: rgba(196,98,58,0.2); color: var(--brand-light);
}
.bento__title {
  font-family: var(--ff-d); font-size: 1rem; font-weight: 750;
  margin: 0 0 0.35rem; color: var(--heading);
}
.bento__card--hero .bento__title { color: var(--text-on-dark); }
.bento__desc {
  font-size: 0.85rem; line-height: 1.5; color: var(--text-2); margin: 0;
}
.bento__card--hero .bento__desc { color: var(--text-on-dark-2); }
.bento__card .btn { margin-top: 1rem; }

/* ══════════════════════════════════════════════════════════════
   CARDS — Glassmorphism + animated border
   ══════════════════════════════════════════════════════════════ */
.grid-2 { display: grid; gap: 1.25rem; }
@media (min-width: 52rem) { .grid-2 { grid-template-columns: 1fr 1fr; } }

.card {
  position: relative; background: var(--surface);
  border: 1px solid var(--border-1);
  border-radius: var(--r-xl); padding: 1.25rem;
  box-shadow: var(--sh-1);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.card:hover { border-color: var(--border-2); box-shadow: var(--sh-2); }
.card--premium {
  border-color: var(--border-2); box-shadow: var(--sh-2);
  overflow: hidden;
}
.card__accent {
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px; border-radius: var(--r-xl) var(--r-xl) 0 0;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}
.section .card h3.card__title {
  font-family: var(--ff-d); font-size: 1rem; margin: 0 0 0.6rem;
  font-weight: 800; letter-spacing: -0.02em; color: var(--heading);
}
.card__footnote { margin: 1rem 0 0 !important; font-size: 0.82rem !important; color: var(--text-2) !important; font-style: italic; }

/* ══════════════════════════════════════════════════════════════
   TOC — Sticky horizontal tabs bar (glass)
   ══════════════════════════════════════════════════════════════ */
.toc-bar {
  position: relative; z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--border-1);
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.toc-bar__inner {
  display: flex; align-items: center; gap: 0;
  padding: 0; min-height: 42px;
}
.toc-bar__link {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.55rem 0.85rem; font-size: 0.78rem; font-weight: 650;
  color: var(--text-3); text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.toc-bar__link:hover { color: var(--text); background: rgba(0,0,0,0.02); border-bottom-color: var(--border-2); }
.toc-bar__link--active { color: var(--brand); border-bottom-color: var(--brand); }
.toc-bar__icon { flex-shrink: 0; opacity: 0.45; }
.toc-bar__link:hover .toc-bar__icon { opacity: 0.8; }

/* Legacy toc-nav */
.toc-nav {
  margin-top: 1.25rem; background: var(--surface-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-1); border-radius: var(--r-xl);
  padding: 0.75rem 0.85rem; box-shadow: var(--sh-2);
}
.toc-nav__label {
  display: block; font-size: 0.62rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 0.4rem;
}
.toc-nav__list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.25rem; }
.toc-nav__link {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.3rem 0.55rem; font-size: 0.78rem; font-weight: 600;
  color: var(--text-2); text-decoration: none;
  border-radius: var(--r-pill); border: 1px solid transparent;
  background: var(--bg); transition: all 0.2s;
}
.toc-nav__link:hover { color: var(--brand-dark); background: var(--brand-pale); border-color: var(--brand-light); }
.toc-nav__icon { flex-shrink: 0; opacity: 0.4; }
.toc-nav__link:hover .toc-nav__icon { opacity: 0.8; }

/* ══════════════════════════════════════════════════════════════
   PROSE
   ══════════════════════════════════════════════════════════════ */
.prose { max-width: 62ch; }
.prose p { margin: 0 0 0.75rem; }
.prose ul { margin: 0 0 0.75rem; padding-left: 1.2rem; }
.prose li { margin-bottom: 0.25rem; }
.prose a:not(.btn) {
  color: var(--brand); font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: 3px; transition: color 0.15s;
}
.prose a:not(.btn):hover { color: var(--brand-dark); }
.text-link {
  color: var(--brand); font-weight: 700; text-decoration: none;
  border-bottom: 1.5px solid var(--brand-light);
  transition: border-color 0.2s, color 0.15s;
}
.text-link:hover { border-bottom-color: var(--brand); color: var(--brand-dark); }

/* ══════════════════════════════════════════════════════════════
   SERVICE BLOCKS
   ══════════════════════════════════════════════════════════════ */
.service-block--wedding { background: var(--bg); }
.service-block--funeral { background: var(--bg-alt); }
.service-split { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 52rem) {
  .service-split { grid-template-columns: 3.5rem 1fr; gap: 1.5rem; }
  .service-split--reverse { grid-template-columns: 1fr 3.5rem; }
  .service-split--reverse .service-split__icon { order: 2; }
  .service-split--reverse .service-split__content { order: 1; }
}
.service-split__icon {
  display: flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; border-radius: var(--r-xl); flex-shrink: 0;
}
.service-block--wedding .service-split__icon { background: var(--brand-pale); color: var(--brand-dark); }
.service-block--funeral .service-split__icon { background: #e8e0f2; color: #7a5eaa; }
.service-split__content { min-width: 0; }
.service-split__text { font-size: 0.95rem; line-height: 1.65; color: var(--text-2); margin: 0 0 1.25rem; max-width: 56ch; }
.service-features { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.5rem; }
.service-features li {
  display: flex; flex-direction: column; gap: 0.15rem;
  padding: 0.75rem 0.85rem;
  background: var(--surface);
  border: 1px solid var(--border-1);
  border-radius: var(--r-lg);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.service-features li:hover {
  border-color: var(--border-glow);
  box-shadow: 0 0 12px rgba(196,98,58,0.06);
  transform: translateY(-1px);
}
.service-block--funeral .service-features li:hover { border-color: rgba(155,139,192,0.3); box-shadow: 0 0 12px rgba(155,139,192,0.06); }
.service-features li strong { font-size: 0.88rem; font-weight: 700; color: var(--heading); }
.service-features li span { font-size: 0.8rem; line-height: 1.45; color: var(--text-2); }
@media (min-width: 40rem) {
  .service-features { grid-template-columns: 1fr 1fr; }
  .service-features li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ══════════════════════════════════════════════════════════════
   FORMS
   ══════════════════════════════════════════════════════════════ */
.form-row { display: grid; gap: 0.3rem; margin-bottom: 0.75rem; }
label { font-weight: 700; font-size: 0.78rem; color: var(--text); }
input[type="text"], input[type="email"], input[type="password"],
input[type="number"], input[type="date"], select, textarea {
  width: 100%; max-width: 28rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--border-2); border-radius: var(--r-md);
  font: inherit; font-size: 0.875rem;
  background: var(--surface);
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(196,98,58,0.1), var(--sh-glow);
}
textarea { min-height: 4.5rem; max-width: 100%; }

/* ══════════════════════════════════════════════════════════════
   TOOL BLOCKS & BADGES
   ══════════════════════════════════════════════════════════════ */
.tool-block { margin-bottom: 1rem; scroll-margin-top: 7rem; }
.badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.6rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.1em;
  background: linear-gradient(135deg, var(--brand-pale), var(--accent-pale));
  color: var(--brand-dark);
  padding: 0.3rem 0.65rem; border-radius: var(--r-pill);
  margin-bottom: 0.5rem; border: 1px solid rgba(196,98,58,0.12);
  box-shadow: 0 0 12px rgba(196,98,58,0.05);
}

/* ══════════════════════════════════════════════════════════════
   BUDGET TOOL
   ══════════════════════════════════════════════════════════════ */
.table-scroll { overflow-x: auto; border-radius: var(--r-sm); }
.wb-card { padding: 0 !important; overflow: hidden; border-radius: var(--r-2xl) !important; }
.wb-header {
  padding: 1.1rem 1.35rem 0.9rem;
  background: linear-gradient(145deg, #f7f2ed 0%, #ede5db 100%);
  border-bottom: 1px solid var(--border-1);
}
.wb-header__inputs {
  display: flex; flex-wrap: wrap; gap: 0.5rem 0.65rem; align-items: flex-end;
}
.wb-header__inputs .form-row { margin: 0; flex: 1; min-width: 8rem; }
.wb-header__inputs .btn { flex-shrink: 0; align-self: flex-end; }
.wb-header .warn { margin: 0.5rem 0 0; }

.wb-overview {
  display: flex; gap: 1.5rem; padding: 1.35rem;
  align-items: center; flex-wrap: wrap; justify-content: center;
}
.wb-chart-wrap { position: relative; width: 170px; height: 170px; flex-shrink: 0; }
.wb-chart { width: 100%; height: 100%; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.06)); }
.wb-chart-center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); text-align: center;
}
.wb-chart-center__spent {
  font-family: var(--ff-d); font-size: 1.1rem; font-weight: 800;
  color: var(--heading); line-height: 1.1;
}
.wb-chart-center__label { font-size: 0.65rem; color: var(--text-3); }
.wb-legend { display: flex; flex-direction: column; gap: 0.3rem; flex: 1; min-width: 13rem; }
.wb-legend-item { display: flex; align-items: center; gap: 0.45rem; font-size: 0.8rem; }
.wb-legend-item--empty { opacity: 0.4; }
.wb-legend-dot { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }
.wb-legend-label { flex: 1; font-weight: 600; color: var(--heading); }
.wb-legend-val { font-weight: 700; color: var(--text); white-space: nowrap; font-family: var(--ff-d); }
.wb-legend-pct { font-size: 0.72rem; color: var(--text-3); white-space: nowrap; min-width: 2.5rem; text-align: right; font-weight: 600; }

table.budget-table { display: none; }
.wb-spent-total {
  font-weight: 800; font-size: 0.9rem; margin-bottom: 0.5rem;
  display: flex; align-items: center; gap: 0.4rem;
  color: var(--heading);
}
.wb-spent-total::before {
  content: ""; display: inline-block; width: 3px; height: 1em;
  border-radius: 2px; background: var(--brand); flex-shrink: 0;
}
.wb-exp-list { list-style: none; padding: 0; margin: 0 0 0.6rem; display: flex; flex-direction: column; gap: 0.35rem; }
.wb-exp-item {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.55rem 0.75rem; background: var(--surface);
  border: 1px solid var(--border-1); border-radius: var(--r-md);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.wb-exp-item:hover { border-color: var(--border-2); box-shadow: var(--sh-1); }
.wb-exp-item__label {
  flex: 1; min-width: 0; font-weight: 600; font-size: 0.85rem; color: var(--heading);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.wb-exp-item__amount {
  font-weight: 800; font-size: 0.88rem; color: var(--brand-dark);
  white-space: nowrap; font-family: var(--ff-d);
}
.wb-exp-item .wb-exp-del {
  flex-shrink: 0; font-size: 0.68rem; padding: 0.2rem 0.45rem;
  border-radius: var(--r-pill); border: 1px solid var(--border-1);
  background: var(--surface); color: var(--text-3); cursor: pointer;
  transition: all 0.15s;
}
.wb-exp-item .wb-exp-del:hover { background: rgba(201,48,48,0.06); border-color: var(--danger); color: var(--danger); }

.wb-exp-add {
  display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center;
  margin-top: 0.35rem; padding: 0.5rem 0.65rem;
  background: rgba(196,98,58,0.03); border: 1px dashed var(--border-2);
  border-radius: var(--r-md);
}
.wb-exp-label {
  flex: 1; min-width: 6rem; padding: 0.4rem 0.6rem; font: inherit; font-size: 0.82rem;
  border: 1px solid var(--border-2); border-radius: var(--r); background: var(--surface);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.wb-exp-label:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-glow); outline: none; }
.wb-exp-amount {
  width: 5.5rem; padding: 0.4rem 0.6rem; font: inherit; font-size: 0.82rem;
  border: 1px solid var(--border-2); border-radius: var(--r); background: var(--surface);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.wb-exp-amount:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-glow); outline: none; }
.wb-exp-add .wb-exp-add-btn { font-size: 0.78rem; padding: 0.4rem 0.75rem; }

.wb-cats { padding: 0 1.35rem 0.5rem; }
.wb-cat-card {
  border: 1px solid var(--border-1); border-radius: var(--r-md);
  margin-bottom: 0.5rem; overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.wb-cat-card:hover { box-shadow: var(--sh-1); border-color: var(--border-2); }
.wb-cat-header {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 0.85rem; cursor: pointer;
  background: var(--surface); border: none; width: 100%;
  font: inherit; text-align: left; transition: background 0.15s;
}
.wb-cat-header:hover { background: var(--bg); }
.wb-cat-dot { width: 8px; height: 8px; border-radius: 3px; flex-shrink: 0; }
.wb-cat-name { flex: 1; font-weight: 700; font-size: 0.85rem; color: var(--heading); }
.wb-cat-amounts { display: flex; gap: 0.5rem; align-items: center; font-size: 0.78rem; }
.wb-cat-alloc { color: var(--text-3); }
.wb-cat-spent { font-weight: 700; }
.wb-cat-bar-wrap { width: 48px; height: 4px; border-radius: 2px; background: var(--bg-alt); overflow: hidden; flex-shrink: 0; }
.wb-cat-bar { height: 100%; border-radius: 2px; transition: width 0.3s var(--ease); }
.wb-cat-bar--ok { background: var(--ok); }
.wb-cat-bar--over { background: var(--danger); }
.wb-cat-chevron { width: 14px; height: 14px; transition: transform 0.2s; color: var(--text-3); flex-shrink: 0; }
.wb-cat-card--open .wb-cat-chevron { transform: rotate(180deg); }
.wb-cat-body { display: none; padding: 0.6rem 0.85rem 0.85rem; border-top: 1px solid var(--border-1); background: var(--bg); }
.wb-cat-card--open .wb-cat-body { display: block; }

.wb-diff { font-size: 0.85rem; font-weight: 600; }
.wb-diff--ok { color: var(--ok); }
.wb-diff--over { color: var(--danger); }

.wb-summary {
  padding: 0.85rem 1.35rem;
  background: linear-gradient(135deg, #f7f2ed, #ede5db);
  border-top: 1px solid var(--border-1); border-bottom: 1px solid var(--border-1);
  font-size: 0.9rem;
}
.wb-summary p { margin: 0 0 0.3rem; }
.wb-summary p:last-child { margin-bottom: 0; }
.warn { color: var(--danger); font-weight: 700; font-size: 0.85rem; }

.wb-muut-kulut {
  margin: 0; padding: 0.9rem 1.35rem;
  border-top: 1px solid var(--border-1);
}
.wb-muut-kulut__title { font-family: var(--ff-d); font-size: 0.95rem; font-weight: 750; margin: 0 0 0.2rem; color: var(--heading); }
.wb-muut-kulut__desc { font-size: 0.8rem; color: var(--text-2); margin: 0 0 0.6rem; }
.wb-muut-kulut .wb-exp-list { margin-bottom: 0.5rem; }
.wb-muut-kulut .wb-spent-total { margin-top: 0.5rem; font-weight: 700; font-size: 0.88rem; color: var(--brand-dark); }

/* ══════════════════════════════════════════════════════════════
   WEDDING COUNTDOWN
   ══════════════════════════════════════════════════════════════ */
.wed-countdown-section { padding-top: 0; padding-bottom: 0; }
.wed-countdown-card {
  background: linear-gradient(145deg, #fdf5ef, #f7ede4);
  border: 1px solid var(--border-1); border-radius: var(--r-2xl);
  padding: clamp(1rem, 3vw, 1.8rem) clamp(1.2rem, 4vw, 2.4rem);
  text-align: center; box-shadow: var(--sh-2);
  position: relative; overflow: hidden;
}
.wed-countdown-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 20% 30%, rgba(196,98,58,0.06) 0%, transparent 50%),
              radial-gradient(circle at 80% 70%, rgba(212,152,42,0.05) 0%, transparent 50%);
}
.wed-countdown__setup { position: relative; z-index: 1; }
.wed-countdown__icon { color: var(--brand); margin-bottom: 0.3rem; }
.wed-countdown__title {
  font-family: var(--ff-d); font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 800; color: var(--heading); margin: 0 0 0.7rem;
  letter-spacing: -0.02em;
}
.wed-countdown__inputs {
  display: flex; justify-content: center; gap: 0.6rem; flex-wrap: wrap;
  margin-bottom: 0.2rem;
}
.wed-countdown__inputs .form-row { margin: 0; text-align: left; min-width: 8rem; }
.wed-countdown__inputs label { font-size: 0.72rem; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.04em; }
.wed-countdown__inputs input {
  padding: 0.45rem 0.6rem; border: 1.5px solid var(--border-2);
  border-radius: var(--r); background: var(--surface); font: inherit; font-size: 0.88rem;
  width: 100%; transition: border-color 0.15s, box-shadow 0.15s;
}
.wed-countdown__inputs input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-glow); outline: none; }

.wed-countdown__display {
  display: flex; justify-content: center; align-items: flex-start;
  gap: clamp(0.4rem, 2vw, 1rem); margin-top: 1rem;
  position: relative; z-index: 1;
}
.wed-countdown__unit { display: flex; flex-direction: column; align-items: center; min-width: 3.5rem; }
.wed-countdown__num {
  font-family: var(--ff-d); font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900; line-height: 1; color: var(--heading);
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.wed-countdown__label {
  font-size: 0.68rem; font-weight: 700; color: var(--text-3);
  text-transform: uppercase; letter-spacing: 0.06em; margin-top: 0.15rem;
}
.wed-countdown__sep {
  font-family: var(--ff-d); font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 300; color: var(--brand-light); line-height: 1;
  margin-top: 0.2rem; user-select: none;
}
.wed-countdown__past {
  font-family: var(--ff-d); font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 800; color: var(--brand); margin: 1rem 0 0;
  position: relative; z-index: 1;
}

/* ══════════════════════════════════════════════════════════════
   CHECKLIST
   ══════════════════════════════════════════════════════════════ */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  display: flex; align-items: flex-start; gap: 0.5rem;
  padding: 0.5rem 0; border-bottom: 1px solid var(--border-1);
  transition: background 0.15s;
}
.checklist li:hover { background: rgba(196,98,58,0.02); }
.checklist input[type="checkbox"] {
  margin-top: 0.3rem; width: 1.1rem; height: 1.1rem;
  accent-color: var(--brand); cursor: pointer;
}

.wc-card { padding: 0 !important; overflow: hidden; border-radius: var(--r-2xl) !important; }
.wc-progress {
  padding: 0.9rem 1.35rem;
  background: linear-gradient(145deg, #f7f2ed, #ede5db);
  border-bottom: 1px solid var(--border-1);
}
.wc-progress__top {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 0.4rem; flex-wrap: wrap; gap: 0.2rem;
}
.wc-progress__pct {
  font-family: var(--ff-d); font-size: 1.4rem; font-weight: 800; color: var(--brand);
}
.wc-progress__count { font-size: 0.78rem; color: var(--text-3); }
.wc-progress__bar-wrap { height: 6px; border-radius: 3px; background: rgba(0,0,0,0.06); overflow: hidden; }
.wc-progress__bar {
  height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transition: width 0.4s var(--ease);
  box-shadow: 0 0 8px rgba(196,98,58,0.2);
}

.wc-filters {
  padding: 0.75rem 1.35rem; border-bottom: 1px solid var(--border-1);
  display: flex; flex-direction: column; gap: 0.45rem;
}
.wc-filter-group { display: flex; align-items: center; gap: 0.35rem; flex-wrap: wrap; }
.wc-filter-label {
  font-size: 0.68rem; font-weight: 700; color: var(--text-3);
  text-transform: uppercase; letter-spacing: 0.05em; min-width: 5rem;
}
.wc-filter-btns { display: flex; flex-wrap: wrap; gap: 0.2rem; }
.wc-filter-btn {
  font-size: 0.72rem; font-weight: 600; padding: 0.22rem 0.55rem;
  border-radius: var(--r-pill); border: 1px solid var(--border-1);
  background: var(--surface); color: var(--text); cursor: pointer;
  transition: all 0.2s;
}
.wc-filter-btn:hover { background: var(--bg-alt); border-color: var(--border-2); }
.wc-filter-btn--active {
  background: var(--brand); border-color: var(--brand); color: #fff;
  box-shadow: 0 1px 6px rgba(196,98,58,0.2);
}

.checklist-root { display: flex; flex-direction: column; gap: 0.5rem; padding: 0.65rem 1rem; }
.checklist-section {
  border: 1px solid var(--border-1); border-radius: var(--r-md);
  overflow: hidden; transition: border-color 0.2s, box-shadow 0.2s;
}
.checklist-section:hover { box-shadow: var(--sh-1); border-color: var(--border-2); }
.checklist-section__header {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 0.85rem; cursor: pointer;
  background: var(--surface); border: none; width: 100%;
  font: inherit; text-align: left; transition: background 0.15s;
}
.checklist-section__header:hover { background: var(--bg); }
.checklist-section__title {
  font-family: var(--ff-d);
  font-size: 0.85rem; font-weight: 800; color: var(--heading);
  margin: 0; padding: 0; letter-spacing: -0.02em; flex: 1;
}
.checklist-section__count {
  font-weight: 700; font-size: 0.72rem; color: var(--text-3); white-space: nowrap;
}
.checklist-section__minibar {
  width: 40px; height: 4px; border-radius: 2px; background: var(--bg-alt); overflow: hidden; flex-shrink: 0;
}
.checklist-section__minibar-fill {
  height: 100%; border-radius: 2px; transition: width 0.3s var(--ease);
  background: linear-gradient(90deg, var(--brand), var(--accent));
}
.checklist-section__minibar-fill--done { background: var(--ok); }
.checklist-section__chevron {
  width: 14px; height: 14px; transition: transform 0.2s; color: var(--text-3); flex-shrink: 0;
}
.checklist-section--open .checklist-section__chevron { transform: rotate(180deg); }
.checklist-section__body {
  display: none; padding: 0 0.85rem 0.65rem; border-top: 1px solid var(--border-1);
}
.checklist-section--open .checklist-section__body { display: block; }
.checklist-section--done .checklist-section__header { opacity: 0.55; }
.checklist-item__text { flex: 1; min-width: 0; font-size: 0.88rem; }
.checklist li.is-done .checklist-item__text { text-decoration: line-through; color: var(--text-3); opacity: 0.55; }
.checklist-empty { text-align: center; padding: 1.5rem 1rem; color: var(--text-3); font-style: italic; }

.wc-add-section { padding: 0.85rem 1.35rem; border-top: 1px solid var(--border-1); }
.wc-add-section .form-row { margin: 0; }
.wc-add-row { display: flex; gap: 0.35rem; flex-wrap: wrap; align-items: flex-end; }
.wc-add-row input { flex: 1; min-width: 8rem; }
.wc-add-row select { min-width: 7rem; }
.wc-actions { padding: 0.65rem 1.35rem; border-top: 1px solid var(--border-1); background: var(--bg); }

/* ══════════════════════════════════════════════════════════════
   GUEST LIST / FLOORPLAN
   ══════════════════════════════════════════════════════════════ */
.drag-list {
  min-height: 40px; border: 1.5px dashed var(--border-2);
  border-radius: var(--r-md); padding: 0.5rem;
  background: var(--bg); transition: border-color 0.2s;
}
.drag-list:hover { border-color: var(--brand-light); }

.fp-guest-section { margin-bottom: 1rem; padding-bottom: 0.85rem; border-bottom: 1px solid var(--border-1); }

.vg-summary { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.85rem; }
.vg-stat {
  display: flex; align-items: center; gap: 0.35rem;
  padding: 0.4rem 0.65rem; border-radius: var(--r-pill);
  font-size: 0.78rem; font-weight: 600;
  border: 1px solid var(--border-1); background: var(--surface);
  transition: transform 0.2s, box-shadow 0.2s;
}
.vg-stat:hover { transform: translateY(-1px); box-shadow: var(--sh-2); }
.vg-stat__num { font-family: var(--ff-d); font-size: 1.05rem; font-weight: 800; line-height: 1; }
.vg-stat--total .vg-stat__num { color: var(--heading); }
.vg-stat--yes { background: #ecf7ed; border-color: #b8e0bc; }
.vg-stat--yes .vg-stat__num { color: var(--ok); }
.vg-stat--no { background: #fce8e8; border-color: #f0b8b8; }
.vg-stat--no .vg-stat__num { color: var(--danger); }
.vg-stat--pending { background: var(--accent-pale); border-color: var(--accent-light); }
.vg-stat--pending .vg-stat__num { color: var(--accent); }

.fp-guest-form {
  display: flex; flex-wrap: wrap; gap: 0.4rem 0.6rem; align-items: flex-end; margin-bottom: 0.85rem;
}
.fp-guest-form .form-row { margin: 0; min-width: 7rem; flex: 1; }

.vg-list { display: flex; flex-direction: column; gap: 0.65rem; padding: 0.65rem; }

.vg-party-card {
  border: 1px solid var(--border-1); border-radius: var(--r-lg);
  overflow: hidden; background: var(--surface);
}
.vg-party-card__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.5rem 0.85rem;
  background: linear-gradient(135deg, rgba(196,98,58,0.04), rgba(212,152,42,0.03));
  border-bottom: 1px solid var(--border-1);
}
.vg-party-card__title {
  font-family: var(--ff-d); font-weight: 800; font-size: 0.88rem;
  color: var(--heading); letter-spacing: -0.01em;
}
.vg-party-card__count {
  font-size: 0.72rem; font-weight: 700; color: var(--text-3);
  padding: 0.1rem 0.4rem; border-radius: var(--r-pill);
  background: var(--bg-alt); border: 1px solid var(--border-1);
}
.vg-party-card__list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0.5rem;
  padding: 0.5rem;
}
.vg-party-card .vg-row { border-color: transparent; }
.vg-party-card .vg-row:hover { border-color: var(--border-2); }

.vg-row {
  display: flex; align-items: flex-start; gap: 0.7rem;
  padding: 0.85rem 1rem; background: var(--surface);
  border: 1px solid var(--border-1); border-radius: var(--r-lg);
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
  position: relative;
}
.vg-row:hover { box-shadow: var(--sh-3); border-color: var(--border-2); transform: translateY(-1px); }

.vg-row__avatar {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  text-transform: uppercase; letter-spacing: -0.02em;
}
.vg-row__avatar--perhe { background: linear-gradient(135deg, var(--sage), #a4c7ac); }
.vg-row__avatar--kaverit { background: linear-gradient(135deg, var(--lavender), #b8aad4); }
.vg-row__avatar--tyo { background: linear-gradient(135deg, var(--accent), var(--accent-light)); }

.vg-row__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.3rem; }
.vg-row__top { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.vg-row__name {
  font-weight: 700; font-size: 0.95rem; color: var(--heading);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.vg-row__group {
  font-size: 0.62rem; font-weight: 600; color: var(--text-3);
  padding: 0.12rem 0.45rem; border-radius: var(--r-pill);
  background: var(--bg-alt); border: 1px solid var(--border-1);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.vg-row__meta { display: flex; align-items: center; gap: 0.55rem; flex-wrap: wrap; }
.vg-row__table {
  font-size: 0.72rem; color: var(--brand); font-weight: 700; white-space: nowrap;
  padding: 0.1rem 0.4rem; border-radius: var(--r-sm);
  background: var(--brand-pale);
}

.vg-row__rsvp { display: flex; gap: 0.25rem; }
.vg-rsvp-btn {
  width: 30px; height: 30px; border-radius: var(--r);
  border: 1.5px solid var(--border-2); background: var(--surface);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem; line-height: 1; transition: all 0.2s; padding: 0; color: var(--text-3);
}
.vg-rsvp-btn:hover { transform: scale(1.08); box-shadow: var(--sh-2); border-color: var(--border-3); }
.vg-rsvp-btn--yes.vg-rsvp-btn--active {
  background: var(--ok); border-color: var(--ok); color: #fff;
  box-shadow: 0 2px 10px rgba(61,139,90,0.25);
}
.vg-rsvp-btn--no.vg-rsvp-btn--active {
  background: var(--danger); border-color: var(--danger); color: #fff;
  box-shadow: 0 2px 10px rgba(201,48,48,0.25);
}
.vg-rsvp-btn--pending.vg-rsvp-btn--active {
  background: var(--accent); border-color: var(--accent); color: #fff;
  box-shadow: 0 2px 10px rgba(212,152,42,0.25);
}

.vg-row__actions { display: flex; align-items: center; gap: 0.2rem; align-self: flex-start; margin-top: 0.1rem; }
.vg-row__rm {
  background: none; border: none; cursor: pointer; color: var(--text-3);
  font-size: 1.1rem; line-height: 1; padding: 0.2rem;
  border-radius: var(--r); transition: all 0.15s;
}
.vg-row__rm:hover { color: var(--danger); background: rgba(201,48,48,0.06); }

@media (max-width: 600px) {
  .vg-list { padding: 0.5rem; gap: 0.5rem; }
  .vg-party-card__list { grid-template-columns: 1fr; }
}

/* Floorplan */
.fp-toolbar {
  display: flex; flex-wrap: wrap; gap: 0.4rem 0.6rem; align-items: center;
  padding: 0.6rem 0.85rem;
  background: linear-gradient(135deg, #f7f2ed, #ede5db);
  border: 1px solid var(--border-1); border-radius: var(--r-lg);
  margin-bottom: 0.4rem; font-size: 0.78rem;
}
.fp-toolbar__group { display: flex; align-items: center; gap: 0.2rem; }
.fp-toolbar__label { font-size: 0.65rem; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.04em; }
.fp-toolbar__input { width: 3rem !important; padding: 0.2rem 0.35rem !important; font-size: 0.78rem !important; text-align: center; border-radius: var(--r) !important; }
.fp-toolbar__select { padding: 0.2rem 0.35rem !important; font-size: 0.78rem !important; border-radius: var(--r) !important; }
.fp-toolbar__sep { width: 1px; height: 1.2rem; background: var(--border-2); flex-shrink: 0; }

.fp-zoom-controls { display: flex; gap: 0.15rem; margin-left: auto; }
.fp-zoom-btn {
  width: 1.75rem; height: 1.75rem; display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border-2); border-radius: var(--r);
  background: var(--surface); color: var(--heading); font-size: 1rem; font-weight: 800;
  cursor: pointer; transition: all 0.15s;
}
.fp-zoom-btn:hover { background: var(--bg-alt); box-shadow: var(--sh-1); }

.fp-viewport {
  position: relative; width: 100%; height: 480px;
  overflow: hidden; border: 1px solid var(--border-3);
  border-radius: var(--r-xl);
  background:
    radial-gradient(circle at 50% 50%, rgba(196,98,58,0.02) 0%, transparent 70%),
    #f5f2ed;
  cursor: grab; touch-action: none; outline: none;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.03);
}
.fp-viewport:active { cursor: grabbing; }
.fp-viewport:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.fp-world { position: absolute; top: 0; left: 0; transform-origin: 0 0; will-change: transform; }
.fp-world__grid { position: absolute; top: 0; left: 0; pointer-events: none; border: 1px solid rgba(0,0,0,0.06); }

.fp-scalebar {
  position: absolute; bottom: 0.6rem; left: 0.7rem;
  display: flex; align-items: flex-end; gap: 0.35rem;
  pointer-events: none; z-index: 10;
  background: rgba(255,255,255,0.75); backdrop-filter: blur(4px);
  padding: 0.25rem 0.45rem; border-radius: var(--r-sm);
}
.fp-scalebar__line { display: block; height: 6px; border-left: 2px solid var(--heading); border-right: 2px solid var(--heading); border-bottom: 2px solid var(--heading); }
.fp-scalebar__text { font-size: 0.68rem; font-weight: 800; color: var(--heading); line-height: 1; }

.fp-table { position: absolute; cursor: grab; user-select: none; z-index: 2; transition: filter 0.15s; }
.fp-table:active { cursor: grabbing; }
.fp-table--selected { z-index: 5; }
.fp-table__surface {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 2px;
  background: linear-gradient(145deg, #ffffff, #f8f5f1);
  border: 2px solid var(--border-3);
  box-shadow: var(--sh-2); transition: all 0.2s; overflow: hidden;
}
.fp-table:hover .fp-table__surface {
  box-shadow: var(--sh-3); border-color: var(--brand-light);
}
.fp-table--selected .fp-table__surface {
  border-color: var(--brand); border-width: 2.5px;
  box-shadow: 0 0 0 4px rgba(196,98,58,0.12), var(--sh-3);
  background: linear-gradient(145deg, #fff, #fdf5ef);
}
.fp-table--round .fp-table__surface { border-radius: 50%; }
.fp-table--long .fp-table__surface { border-radius: var(--r-sm); }
.fp-table__label {
  font-size: 9px; font-weight: 800; color: var(--heading);
  text-transform: uppercase; letter-spacing: 0.03em;
  text-align: center; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; max-width: 90%; line-height: 1.1;
}
.fp-table__guests {
  font-size: 7px; color: var(--brand-dark); font-weight: 600;
  text-align: center; line-height: 1.2; max-width: 90%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.fp-seat {
  position: absolute; width: 18px; height: 18px; border-radius: 50%;
  background: var(--surface); border: 1.5px solid var(--border-3);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  display: flex; align-items: center; justify-content: center;
  z-index: 3; transform: translate(-50%,-50%);
  transition: border-color 0.15s, background 0.15s, transform 0.15s, box-shadow 0.15s;
  cursor: default;
}
.fp-table:hover .fp-seat { border-color: var(--brand-light); }
.fp-table--selected .fp-seat { border-color: var(--brand); background: var(--brand-pale); }
.fp-seat--drag-over {
  border-color: var(--brand) !important; background: var(--brand-pale) !important;
  transform: translate(-50%,-50%) scale(1.3) !important;
  box-shadow: 0 0 0 3px rgba(196,98,58,0.2), 0 2px 8px rgba(0,0,0,0.12) !important;
}
.fp-seat--occupied {
  background: var(--brand); border-color: var(--brand-dark);
  box-shadow: 0 1px 4px rgba(196,98,58,0.3);
}
.fp-seat--occupied .fp-seat__initial {
  font-size: 8px; font-weight: 800; color: #fff; line-height: 1;
  text-transform: uppercase; letter-spacing: -0.02em;
}
.fp-seat__icon { width: 9px; height: 9px; display: block; color: var(--text-2); opacity: 0.7; }
.fp-table--selected .fp-seat__icon { color: var(--brand-dark); opacity: 0.9; }

.fp-rotate-handle {
  position: absolute; width: 18px; height: 18px; border-radius: 50%;
  background: var(--surface); border: 1.5px solid var(--brand);
  box-shadow: 0 2px 8px rgba(196,98,58,0.2);
  display: none; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: var(--brand); cursor: grab; z-index: 6;
  transition: transform 0.15s, box-shadow 0.15s;
}
.fp-rotate-handle:hover { transform: scale(1.15); box-shadow: 0 2px 12px rgba(196,98,58,0.3); }
.fp-table--selected .fp-rotate-handle { display: flex; }

.fp-table-toolbar {
  display: flex; flex-direction: column;
  padding: 0.6rem 0.85rem;
  background: linear-gradient(135deg, #f7f2ed, #ede5db);
  border: 1px solid var(--border-1); border-radius: var(--r-lg);
  margin-top: 0.45rem; font-size: 0.78rem;
  box-shadow: var(--sh-1);
}
.fp-table-toolbar[hidden] { display: none; }
.fp-ttb-row {
  display: flex; flex-wrap: wrap; gap: 0.35rem 0.5rem; align-items: center;
}
.fp-table-toolbar__title { font-weight: 800; color: var(--heading); margin-right: 0.25rem; font-size: 0.82rem; }
.fp-ttb-name-input { width: 8rem !important; font-size: 0.78rem !important; }
.fp-table-toolbar__label { display: flex; align-items: center; gap: 0.25rem; font-size: 0.75rem; font-weight: 600; color: var(--text-2); }

.fp-ttb-guests { margin-top: 0.5rem; }
.fp-ttb-empty { font-size: 0.78rem; color: var(--text-3); font-style: italic; padding: 0.2rem 0; }
.fp-ttb-guests__header {
  font-size: 0.72rem; font-weight: 700; color: var(--text-3);
  text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.3rem;
}
.fp-ttb-guests__list { display: flex; flex-direction: column; gap: 0.25rem; }
.fp-ttb-guest-row {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.35rem 0.5rem; background: var(--surface);
  border: 1px solid var(--border-1); border-radius: var(--r);
  font-size: 0.78rem;
}
.fp-ttb-guest-row:hover { border-color: var(--border-2); }
.fp-ttb-guest-row__seat {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 800; font-size: 0.7rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.fp-ttb-guest-row__name { flex: 1; font-weight: 700; color: var(--heading); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fp-ttb-guest-row__party { font-size: 0.65rem; color: var(--text-3); padding: 0.08rem 0.3rem; border-radius: var(--r-pill); background: var(--bg-alt); border: 1px solid var(--border-1); white-space: nowrap; }
.fp-ttb-guest-row__select {
  font: inherit; font-size: 0.72rem; padding: 0.15rem 0.3rem;
  border: 1px solid var(--border-2); border-radius: var(--r); background: var(--surface);
  cursor: pointer;
}
.fp-ttb-guest-row__rm {
  background: none; border: none; cursor: pointer; color: var(--text-3);
  font-size: 1rem; line-height: 1; padding: 0.1rem; transition: color 0.15s;
}
.fp-ttb-guest-row__rm:hover { color: var(--danger); }

.fp-pool-title {
  font-size: 0.78rem; font-weight: 700; color: var(--text-3);
  margin: 0.75rem 0 0.35rem; text-transform: uppercase; letter-spacing: 0.05em;
}
.fp-pool {
  min-height: 44px; border: 2px dashed var(--border-2);
  border-radius: var(--r-lg); padding: 0.5rem;
  background: rgba(196,98,58,0.02); display: flex; flex-wrap: wrap; gap: 0.3rem;
  transition: border-color 0.2s;
}
.fp-pool:hover { border-color: var(--brand-light); background: rgba(196,98,58,0.04); }
.guest-chip {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.3rem 0.6rem; background: var(--surface); border: 1.5px solid var(--border-2);
  border-radius: var(--r-pill); font-size: 0.78rem; font-weight: 600;
  cursor: grab; box-shadow: var(--sh-1);
  transition: all 0.2s; color: var(--heading);
}
.guest-chip:hover { box-shadow: var(--sh-3); transform: translateY(-2px); border-color: var(--brand-light); }
.guest-chip:active { cursor: grabbing; box-shadow: var(--sh-1); transform: none; }

/* ══════════════════════════════════════════════════════════════
   INVITATION
   ══════════════════════════════════════════════════════════════ */
.inv-form-grid { display: grid; gap: 1.25rem; }
@media (min-width: 52rem) { .inv-form-grid { grid-template-columns: 1fr 1fr; } }
.inv-form-col { display: flex; flex-direction: column; gap: 0.4rem; }
.inv-preview-col { display: flex; flex-direction: column; gap: 0.6rem; }

.inv-theme-picker { border: none; padding: 0; margin: 0 0 0.4rem; }
.inv-theme-picker__legend { font-size: 0.75rem; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.4rem; }
.inv-theme-picker__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 0.35rem; }
.inv-theme-btn {
  display: flex; flex-direction: column; align-items: center; gap: 0.2rem;
  padding: 0.35rem; border: 2px solid var(--border-2);
  border-radius: var(--r-md); background: var(--surface);
  cursor: pointer; transition: all 0.2s;
}
.inv-theme-btn:hover { border-color: var(--border-3); transform: translateY(-1px); }
.inv-theme-btn--active { border-color: var(--brand); box-shadow: 0 0 0 2px rgba(196,98,58,0.1), var(--sh-glow); }
.inv-theme-btn__preview { width: 100%; aspect-ratio: 3/2; border-radius: calc(var(--r) - 2px); }
.inv-theme-btn__label { font-size: 0.62rem; font-weight: 700; color: var(--text-3); }

.inv-theme-btn__preview--klassinen { background: linear-gradient(145deg, #faf6f0, #e8dac6); }
.inv-theme-btn__preview--romanttinen { background: linear-gradient(145deg, #fdf0f3, #f0c4d0); }
.inv-theme-btn__preview--boho { background: linear-gradient(145deg, #f7f3ed, #d4c8b0); }
.inv-theme-btn__preview--minimalistinen { background: linear-gradient(145deg, #fff, #eee); }
.inv-theme-btn__preview--hauska { background: linear-gradient(145deg, #fef3e2, #fbd78a); }
.inv-theme-btn__preview--virallinen { background: linear-gradient(145deg, #f4f2f0, #c8c2b8); }

.inv-preview-frame {
  border: 1px solid var(--border-2); border-radius: var(--r-xl);
  padding: 0.4rem;
  background: repeating-conic-gradient(rgba(0,0,0,0.02) 0% 25%, transparent 0% 50%) 0 0 / 10px 10px;
  min-height: 280px; display: flex;
}
.inv-card {
  width: 100%; min-height: 260px; border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; transition: background 0.3s, color 0.2s; line-height: 1.6;
}
.inv-card__ornament { font-size: 1.4rem; margin-bottom: 0.5rem; opacity: 0.65; }
.inv-card__heading { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; margin: 0 0 0.7rem; opacity: 0.55; }
.inv-card__names { font-size: 1.4rem; font-weight: 300; margin: 0 0 0.6rem; line-height: 1.2; }
.inv-card__divider { width: 2.5rem; height: 1px; margin: 0.3rem auto 0.7rem; opacity: 0.3; }
.inv-card__body { font-size: 0.85rem; margin: 0 0 0.25rem; max-width: 30ch; }
.inv-card__detail { font-size: 0.78rem; margin: 0.1rem 0; opacity: 0.8; }
.inv-card__extra { font-size: 0.75rem; margin-top: 0.85rem; opacity: 0.5; font-style: italic; max-width: 28ch; }

.inv-card--klassinen { background: linear-gradient(170deg, #faf6f0, #f0e6d6); color: #4a3f2f; font-family: Georgia, serif; }
.inv-card--klassinen .inv-card__names { font-family: Georgia, serif; font-weight: 400; font-style: italic; }
.inv-card--klassinen .inv-card__divider { background: #b8a88a; }
.inv-card--romanttinen { background: linear-gradient(170deg, #fdf0f3, #f8d8e0); color: #6b3a4a; font-family: Georgia, serif; }
.inv-card--romanttinen .inv-card__names { font-size: 1.5rem; font-style: italic; }
.inv-card--romanttinen .inv-card__divider { background: #d4a0b0; }
.inv-card--romanttinen .inv-card__ornament { color: #d4a0b0; }
.inv-card--boho { background: linear-gradient(170deg, #f7f3ed, #e8dfd2); color: #5a4e3a; font-family: Georgia, serif; }
.inv-card--boho .inv-card__names { font-weight: 400; letter-spacing: 0.04em; }
.inv-card--boho .inv-card__divider { background: #b0a080; }
.inv-card--boho .inv-card__ornament { color: #8a7a5a; }
.inv-card--minimalistinen { background: #fff; color: #222; font-family: -apple-system, sans-serif; border: 1px solid #e0e0e0; }
.inv-card--minimalistinen .inv-card__names { font-weight: 600; font-size: 1.25rem; letter-spacing: -0.02em; }
.inv-card--minimalistinen .inv-card__divider { background: #ccc; }
.inv-card--minimalistinen .inv-card__heading { letter-spacing: 0.25em; }
.inv-card--hauska { background: linear-gradient(170deg, #fef3e2, #fde4b8); color: #5a4020; font-family: -apple-system, sans-serif; }
.inv-card--hauska .inv-card__names { font-weight: 700; font-size: 1.3rem; }
.inv-card--hauska .inv-card__divider { background: #e0b860; }
.inv-card--hauska .inv-card__ornament { color: #e0a030; }
.inv-card--virallinen { background: linear-gradient(170deg, #f4f2f0, #e0dcd6); color: #3a3630; font-family: Georgia, serif; border: 1px solid rgba(160,150,140,0.3); }
.inv-card--virallinen .inv-card__names { font-size: 1.3rem; font-weight: 400; text-transform: uppercase; letter-spacing: 0.1em; }
.inv-card--virallinen .inv-card__divider { background: #a09888; }
.inv-card--virallinen .inv-card__heading { letter-spacing: 0.22em; }

.inv-actions { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.inv-actions .btn { display: inline-flex; align-items: center; gap: 0.3rem; }
.inv-bodytext-hint { font-weight: 400; font-size: 0.72rem; color: var(--text-3); font-style: italic; }

/* ── PDF Export Card ── */
.pdf-export-card {
  display: flex; align-items: center; gap: 1.5rem;
  background: var(--surface); border: 2px solid var(--border-2);
  border-radius: var(--r-2xl); padding: 1.75rem 2rem;
  box-shadow: var(--sh-2); transition: border-color 0.2s, box-shadow 0.2s;
}
.pdf-export-card:hover { border-color: var(--brand-light); box-shadow: var(--sh-3); }
.pdf-export-card__icon {
  flex-shrink: 0; width: 64px; height: 64px; border-radius: var(--r-xl);
  background: var(--brand-pale); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
}
.pdf-export-card__content { flex: 1; }
.pdf-export-card__title {
  font-family: var(--ff-d); font-size: 1.15rem; font-weight: 700;
  color: var(--heading); margin: 0 0 0.3rem; letter-spacing: -0.02em;
}
.pdf-export-card__desc {
  font-size: 0.88rem; color: var(--text-2); line-height: 1.5; margin: 0;
}
@media (max-width: 600px) {
  .pdf-export-card { flex-direction: column; text-align: center; gap: 1rem; padding: 1.5rem; }
}

/* ══════════════════════════════════════════════════════════════
   FUNERAL: OPAS (VAIHE VAIHEELTA)
   ══════════════════════════════════════════════════════════════ */
.fo-phase-indicator { margin-bottom: 1rem; }
.fo-phase-badge {
  display: inline-block; padding: 0.35rem 0.85rem; border-radius: var(--r-full);
  font-size: 0.82rem; font-weight: 700; background: var(--brand-pale); color: var(--brand);
}
.fo-phase-badge--future { background: var(--bg-alt); color: var(--text-2); }

.fo-accordion { display: flex; flex-direction: column; gap: 0.35rem; }
.fo-phase { border: 1px solid var(--border-1); border-radius: var(--r-lg); overflow: hidden; }
.fo-phase--active { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-pale); }
.fo-phase--past { opacity: 0.6; }

.fo-phase__header {
  display: flex; align-items: center; gap: 0.6rem; width: 100%; padding: 0.75rem 1rem;
  background: none; border: none; cursor: pointer; font: inherit; text-align: left;
  color: var(--heading); font-weight: 600; font-size: 0.92rem;
}
.fo-phase__header:hover { background: var(--bg-alt); }

.fo-phase__dot {
  flex-shrink: 0; width: 10px; height: 10px; border-radius: 50%;
  background: var(--border-2);
}
.fo-phase--active .fo-phase__dot { background: var(--brand); }
.fo-phase--past .fo-phase__dot { background: var(--ok); }

.fo-phase__title { flex: 1; }
.fo-phase__chevron {
  width: 18px; height: 18px; flex-shrink: 0; color: var(--text-2);
  transition: transform 0.25s var(--ease);
}
.fo-phase--open .fo-phase__chevron { transform: rotate(180deg); }

.fo-phase__body {
  max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease);
}
.fo-phase--open .fo-phase__body { max-height: 60rem; }

.fo-phase__body ul {
  margin: 0; padding: 0.5rem 1rem 1rem 2.2rem; list-style: disc;
}
.fo-phase__body li {
  font-size: 0.88rem; color: var(--text); line-height: 1.55; margin-bottom: 0.3rem;
}

/* ══════════════════════════════════════════════════════════════
   FUNERAL: VIERASLISTA TAULUKKO
   ══════════════════════════════════════════════════════════════ */
.vg-summary {
  display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1rem;
  padding: 0.75rem 1rem; background: var(--bg-alt); border-radius: var(--r-lg);
  font-size: 0.88rem; color: var(--text);
}
.vg-table {
  width: 100%; border-collapse: collapse; font-size: 0.88rem;
}
.vg-table th, .vg-table td {
  text-align: left; padding: 0.5rem 0.65rem; border-bottom: 1px solid var(--border-1);
}
.vg-table th {
  font-weight: 700; font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--text-2);
}
.vg-table td:last-child { text-align: right; }
.fp-guest-form {
  display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: flex-end;
  margin-top: 0.75rem;
}
.fp-guest-form .form-row { flex: 1; min-width: 120px; margin-bottom: 0; }

/* ══════════════════════════════════════════════════════════════
   FUNERAL: YHTEYSTIEDOT
   ══════════════════════════════════════════════════════════════ */
.fcon-list { display: flex; flex-direction: column; gap: 0.4rem; }
.fcon-row {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.6rem 0.75rem; border: 1px solid var(--border-1);
  border-radius: var(--r-lg); background: var(--surface);
  transition: opacity 0.2s;
}
.fcon-row--done { opacity: 0.5; }
.fcon-row__check { flex-shrink: 0; width: 18px; height: 18px; cursor: pointer; }
.fcon-row__info {
  flex: 1; display: grid; grid-template-columns: 1fr 1fr 1fr 1.2fr;
  gap: 0.5rem; align-items: center;
}
@media (max-width: 700px) {
  .fcon-row__info { grid-template-columns: 1fr; }
}
.fcon-row__role { font-size: 0.85rem; white-space: nowrap; }
.fcon-row__input {
  font: inherit; font-size: 0.82rem; padding: 0.3rem 0.5rem;
  border: 1px solid var(--border-1); border-radius: var(--r-md);
  background: var(--bg); color: var(--text);
}
.fcon-row__input:focus { outline: 2px solid var(--brand); border-color: transparent; }
.fcon-row__del { flex-shrink: 0; }

/* ══════════════════════════════════════════════════════════════
   FUNERAL: SEREMONIA
   ══════════════════════════════════════════════════════════════ */
.fcer-summary {
  padding: 0.6rem 0.85rem; background: var(--bg-alt); border-radius: var(--r-lg);
  font-size: 0.88rem; color: var(--text); margin-bottom: 0.75rem;
}
.fcer-list { display: flex; flex-direction: column; gap: 0.35rem; }
.fcer-item {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 0.65rem; border: 1px solid var(--border-1);
  border-radius: var(--r-lg); background: var(--surface);
}
.fcer-item__num {
  flex-shrink: 0; width: 1.8rem; font-weight: 700; font-size: 0.82rem;
  color: var(--text-2); text-align: center;
}
.fcer-item__what {
  flex: 2; font: inherit; font-size: 0.85rem; padding: 0.3rem 0.5rem;
  border: 1px solid var(--border-1); border-radius: var(--r-md);
  background: var(--bg); color: var(--text);
}
.fcer-item__who {
  flex: 1; font: inherit; font-size: 0.85rem; padding: 0.3rem 0.5rem;
  border: 1px solid var(--border-1); border-radius: var(--r-md);
  background: var(--bg); color: var(--text);
}
.fcer-item__dur {
  width: 3.5rem; font: inherit; font-size: 0.85rem; padding: 0.3rem 0.35rem;
  border: 1px solid var(--border-1); border-radius: var(--r-md);
  background: var(--bg); color: var(--text); text-align: center;
}
.fcer-item__dur-label { font-size: 0.78rem; color: var(--text-2); flex-shrink: 0; }
.fcer-item__controls { display: flex; gap: 0.25rem; flex-shrink: 0; }
.fcer-btn { padding: 0.2rem 0.45rem !important; font-size: 0.7rem !important; line-height: 1; }
.fcer-item__what:focus, .fcer-item__who:focus, .fcer-item__dur:focus {
  outline: 2px solid var(--brand); border-color: transparent;
}

@media (max-width: 600px) {
  .fcer-item { flex-wrap: wrap; }
  .fcer-item__what { flex: 1 1 100%; order: 1; }
  .fcer-item__who { flex: 1 1 40%; order: 2; }
  .fcer-item__dur { order: 3; }
  .fcer-item__dur-label { order: 4; }
  .fcer-item__controls { order: 5; margin-left: auto; }
}

/* ══════════════════════════════════════════════════════════════
   IDEA CAROUSEL
   ══════════════════════════════════════════════════════════════ */
.idea-carousel { margin-top: 1.25rem; position: relative; }
.idea-carousel__viewport { overflow: hidden; border-radius: var(--r-2xl); }
.idea-carousel__track { display: flex; transition: transform 0.5s var(--ease); will-change: transform; }
.idea-card {
  min-width: 100%; flex: 0 0 100%;
  background: var(--surface); border: 1px solid var(--border-1);
  border-radius: var(--r-2xl); overflow: hidden;
  box-shadow: var(--sh-3); display: flex; flex-direction: row;
}
@media (max-width: 768px) { .idea-card { flex-direction: column; } }
.idea-card__img-wrap { flex: 0 0 40%; max-width: 40%; overflow: hidden; background: var(--bg-alt); }
@media (max-width: 768px) { .idea-card__img-wrap { flex: none; max-width: 100%; aspect-ratio: 16/10; } }
.idea-card__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s var(--ease); }
.idea-card:hover .idea-card__img { transform: scale(1.04); }
.idea-card__body { flex: 1; padding: 1.5rem 1.75rem; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 768px) { .idea-card__body { padding: 1rem 1.25rem 1.25rem; } }
.idea-card__title { font-family: var(--ff-d); font-size: clamp(1.1rem, 1.8vw, 1.35rem); font-weight: 700; color: var(--heading); margin: 0 0 0.6rem; }
.idea-card__desc { font-size: 0.88rem; color: var(--text); line-height: 1.55; margin: 0 0 0.45rem; }
.idea-card__tip { font-size: 0.82rem; color: var(--brand); font-weight: 600; font-style: italic; margin: 0; padding-top: 0.6rem; border-top: 1px solid var(--border-1); }

.idea-carousel__controls { display: flex; align-items: center; justify-content: center; gap: 0.8rem; margin-top: 1rem; }
.idea-carousel__btn {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--border-2); background: var(--surface);
  color: var(--heading); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.idea-carousel__btn:hover { background: var(--bg-alt); box-shadow: var(--sh-2); transform: scale(1.05); }
.idea-carousel__btn:disabled { opacity: 0.3; cursor: default; }
.idea-carousel__dots { display: flex; gap: 0.4rem; }
.idea-carousel__dot {
  width: 8px; height: 8px; border-radius: 50%; border: none;
  background: var(--border-2); cursor: pointer; padding: 0;
  transition: all 0.25s;
}
.idea-carousel__dot--active { background: var(--brand); transform: scale(1.3); box-shadow: 0 0 6px rgba(196,98,58,0.3); }

/* ══════════════════════════════════════════════════════════════
   TIMELINE
   ══════════════════════════════════════════════════════════════ */
.tl-card { padding: 0 !important; overflow: hidden; border-radius: var(--r-2xl) !important; }
.tl-header {
  display: flex; align-items: flex-end; gap: 0.75rem;
  padding: 1.1rem 1.35rem 0.9rem;
  background: linear-gradient(145deg, #f7f2ed, #ede5db);
  border-bottom: 1px solid var(--border-1); flex-wrap: wrap;
}
.tl-date-row { flex: 1; min-width: 150px; margin: 0; }
.tl-date-row label { font-weight: 600; font-size: 0.82rem; }
.tl-header .btn { flex-shrink: 0; align-self: flex-end; }

.tl-countdown { text-align: center; padding: 1.5rem 1.25rem 1rem; }
.tl-countdown__number {
  font-family: var(--ff-d); font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.tl-countdown__label { font-size: 0.92rem; color: var(--text-3); margin-top: 0.25rem; }
.tl-countdown__bar-wrap { max-width: 360px; margin: 0.85rem auto 0; height: 6px; border-radius: 3px; background: rgba(0,0,0,0.06); overflow: hidden; }
.tl-countdown__bar {
  height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transition: width 0.5s var(--ease);
  box-shadow: 0 0 10px rgba(196,98,58,0.2);
}

.tl-phases { padding: 0 1.35rem 0.4rem; }
.tl-phase { display: flex; gap: 0.85rem; padding: 0.85rem 0; border-bottom: 1px solid var(--border-1); align-items: flex-start; }
.tl-phase:last-child { border-bottom: none; }
.tl-phase__icon {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; font-weight: 700; color: #fff;
}
.tl-phase--done .tl-phase__icon { background: var(--brand); box-shadow: 0 0 8px rgba(196,98,58,0.15); }
.tl-phase--active .tl-phase__icon { background: var(--accent); animation: tl-pulse 2s ease-in-out infinite; box-shadow: 0 0 12px rgba(212,152,42,0.2); }
.tl-phase--future .tl-phase__icon { background: var(--border-2); color: var(--text-3); }
@keyframes tl-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(212,152,42,0.15); }
  50% { box-shadow: 0 0 0 8px rgba(212,152,42,0.05); }
}

.tl-phase__content { flex: 1; min-width: 0; }
.tl-phase__title { font-family: var(--ff-d); font-weight: 700; font-size: 0.95rem; color: var(--heading); margin: 0 0 0.2rem; }
.tl-phase--future .tl-phase__title { color: var(--text-3); }
.tl-phase__desc { font-size: 0.82rem; color: var(--text-2); line-height: 1.5; margin: 0 0 0.3rem; }
.tl-phase__tasks { display: flex; flex-wrap: wrap; gap: 0.25rem; margin-top: 0.3rem; }
.tl-phase__task { font-size: 0.72rem; padding: 0.15rem 0.5rem; border-radius: var(--r-pill); border: 1px solid var(--border-1); background: var(--bg); color: var(--text); white-space: nowrap; }
.tl-phase__task--done { background: var(--brand-pale); border-color: var(--brand-light); text-decoration: line-through; opacity: 0.55; }
.tl-phase__progress { font-size: 0.72rem; color: var(--text-3); margin-top: 0.3rem; font-style: italic; }

.tl-next { padding: 1rem 1.35rem; background: linear-gradient(135deg, #f7f2ed, #ede5db); border-top: 1px solid var(--border-1); }
.tl-next__label { font-size: 0.72rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 0.25rem; font-weight: 700; }
.tl-next__task { font-family: var(--ff-d); font-size: 1rem; font-weight: 700; color: var(--brand-dark); margin: 0; }
.tl-next__section { font-size: 0.78rem; color: var(--text-3); margin: 0.1rem 0 0; }

/* ══════════════════════════════════════════════════════════════
   ALT SURFACE
   ══════════════════════════════════════════════════════════════ */
.section.alt-surface { background: var(--bg-alt); }
.section.alt-surface > .wrap { position: relative; z-index: 1; }

/* ══════════════════════════════════════════════════════════════
   CHECKLIST FEATURES (landing)
   ══════════════════════════════════════════════════════════════ */
.checklist-features { list-style: none; margin: 0 0 0.85rem; padding: 0; }
.checklist-features li {
  position: relative; padding: 0.45rem 0 0.45rem 1.5rem;
  border-bottom: 1px solid var(--border-1); line-height: 1.5; font-size: 0.9rem;
}
.checklist-features li:last-child { border-bottom: none; }
.checklist-features li::before {
  content: ""; position: absolute; left: 0; top: 0.65rem;
  width: 6px; height: 6px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
}

/* ══════════════════════════════════════════════════════════════
   AUDIENCE PANEL
   ══════════════════════════════════════════════════════════════ */
.audience-panel {
  padding: clamp(1.75rem, 4vw, 3rem); border-radius: var(--r-2xl);
  background: var(--bg-alt); border: 1px solid var(--border-2);
  text-align: center; max-width: 44rem; margin-inline: auto;
}
.audience-panel__title { margin: 0 0 0.6rem; font-size: clamp(1.3rem, 2.5vw, 1.7rem); font-weight: 800; color: var(--heading); }
.audience-panel__text { margin: 0 0 1.25rem; font-size: 0.95rem; line-height: 1.6; color: var(--text-2); }
.audience-panel__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }

/* ══════════════════════════════════════════════════════════════
   GATE (paywall)
   ══════════════════════════════════════════════════════════════ */
.gate-banner {
  background: linear-gradient(135deg, var(--accent-pale), rgba(245,230,222,0.5));
  border: 1px solid rgba(212,152,42,0.15);
  color: var(--text); padding: 0.85rem 1.15rem;
  border-radius: var(--r-lg); margin-bottom: 1rem; font-size: 0.9rem;
  border-left: 3px solid var(--accent);
}
.gate-banner a { color: var(--brand-dark); font-weight: 700; }
.gate-blur-wrap { position: relative; margin-top: 0.5rem; min-height: 8rem; }
.gate-blur-wrap:has(.grid-2) { min-height: 12rem; }
.gate-blur-wrap > [data-gate].gate-locked {
  filter: blur(12px); pointer-events: none; user-select: none;
  opacity: 0.5; transition: filter 0.3s ease, opacity 0.3s ease;
}
.gate-blur-wrap > [data-gate]:not(.gate-locked) { filter: none; opacity: 1; }
.gate-blur-wrap .gate-overlay {
  position: absolute; inset: 0; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(1rem, 3vw, 2rem); pointer-events: none;
}
.gate-blur-wrap .gate-overlay-inner {
  pointer-events: auto; text-align: center;
  max-width: 22rem; padding: 1.5rem;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-2);
  border-radius: var(--r-2xl); box-shadow: var(--sh-5);
}
.gate-overlay-title { margin: 0 0 0.4rem; font-weight: 800; font-size: 1rem; color: var(--heading); }
.gate-overlay-text { margin: 0 0 0.85rem; font-size: 0.85rem; color: var(--text-2); line-height: 1.45; }
.gate-overlay-cta { width: 100%; }
.gate-overlay-links { margin: 0.75rem 0 0; font-size: 0.82rem; }
.gate-overlay-links a { font-weight: 700; color: var(--brand); }
.gate-blur-wrap .gate-overlay[hidden] { display: none !important; }

/* ══════════════════════════════════════════════════════════════
   FEATURE CARDS (legacy)
   ══════════════════════════════════════════════════════════════ */
.feature-grid { display: grid; gap: 0.85rem; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .feature-grid { grid-template-columns: repeat(3,1fr); } }
.feature-card {
  padding: 1.15rem; border-radius: var(--r-xl); background: var(--surface);
  border: 1px solid var(--border-1); box-shadow: var(--sh-1);
  transition: all 0.25s;
}
.feature-card:hover { border-color: var(--border-glow); box-shadow: var(--sh-glow); transform: translateY(-2px); }
.feature-card__icon {
  display: flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; margin-bottom: 0.65rem;
  border-radius: var(--r-lg); font-size: 1rem; color: var(--brand-dark);
  background: var(--brand-pale);
}
.feature-card__title { margin: 0 0 0.35rem; font-size: 0.95rem; font-weight: 700; color: var(--heading); }
.feature-card__text { margin: 0; font-size: 0.82rem; line-height: 1.5; color: var(--text-2); }

/* ══════════════════════════════════════════════════════════════
   COMPACT BUTTONS
   ══════════════════════════════════════════════════════════════ */
.checklist .btn,
.card > .btn + .btn,
#fv-list button,
#fun-checklist + .form-row + .btn {
  font-size: 0.75rem; padding: 0.28rem 0.55rem;
  border-radius: var(--r-pill); font-weight: 700;
}
.checklist .btn { border: 1px solid var(--border-2); background: var(--surface); color: var(--text-2); }
.checklist .btn:hover { background: var(--bg-alt); color: var(--text); transform: none; }

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-on-dark); padding: 3.5rem 0 1.5rem;
  margin-top: 0; font-size: 0.875rem;
}

.ft-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2rem 2.5rem;
}
@media (max-width: 900px) {
  .ft-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}
@media (max-width: 500px) {
  .ft-grid { grid-template-columns: 1fr; gap: 1.25rem; }
}

.ft-col__title {
  font-family: var(--ff-d); font-size: 0.82rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--text-on-dark); display: block; margin-bottom: 0.65rem;
}

.ft-col__text {
  margin: 0; font-size: 0.82rem; line-height: 1.6;
  color: var(--text-on-dark-2);
}

.ft-col__list {
  list-style: none; margin: 0; padding: 0;
}
.ft-col__list li {
  font-size: 0.82rem; line-height: 1.55; color: var(--text-on-dark-2);
  margin-bottom: 0.3rem;
}
.ft-col__list a {
  color: var(--text-on-dark-2); text-decoration: none;
  transition: color 0.15s;
}
.ft-col__list a:hover { color: var(--brand-light); }

.ft-payments {
  margin-top: 2.25rem;
  display: flex; align-items: center; justify-content: center;
  gap: 0.6rem; flex-wrap: wrap;
}
.ft-payments__label {
  font-family: var(--ff-d); font-size: 0.72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--text-on-dark-2); margin-right: 0.4rem;
}
.ft-payments svg {
  height: 26px; width: auto; display: block;
  border-radius: 4px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.ft-disclaimer {
  margin-top: 2rem; padding-top: 1.25rem;
  border-top: 1px solid var(--border-dark);
}
.ft-disclaimer p {
  margin: 0 auto; font-size: 0.72rem; line-height: 1.6;
  color: var(--text-on-dark-2); max-width: 52rem; text-align: center;
}

.copy {
  border-top: 1px solid var(--border-dark);
  margin: 1.25rem auto 0; padding-top: 1rem;
  font-size: 0.72rem; color: var(--text-on-dark-2); text-align: center; width: 100%;
}

/* Legacy footer */
.footer-grid { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .footer-grid { grid-template-columns: 2fr 1fr; } }
.footer-grid strong { font-family: var(--ff-d); font-size: 1rem; font-weight: 800; color: var(--text-on-dark); }
.footer-links { list-style: none; padding: 0; margin: 0.4rem 0 0; }
.footer-links a { color: var(--text-on-dark-2); text-decoration: none; font-weight: 500; transition: color 0.15s; }
.footer-links a:hover { color: var(--brand-light); }

/* ══════════════════════════════════════════════════════════════
   SCROLL TO TOP
   ══════════════════════════════════════════════════════════════ */
.scroll-top-btn {
  position: fixed; z-index: 60; right: 1.25rem; bottom: 1.5rem;
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border-2);
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  color: var(--text); font: inherit; font-size: 0.78rem; font-weight: 700;
  cursor: pointer; box-shadow: var(--sh-3);
  transition: all 0.2s;
}
.scroll-top-btn:hover { box-shadow: var(--sh-4); transform: translateY(-2px); }
.scroll-top-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.scroll-top-btn__icon { font-size: 0.9rem; line-height: 1; }
.scroll-top-btn__text { line-height: 1; }
@media (max-width: 28rem) {
  .scroll-top-btn__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .scroll-top-btn { padding: 0.5rem 0.6rem; }
}

/* ══════════════════════════════════════════════════════════════
   REVEAL
   ══════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }

/* ══════════════════════════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════════════════════════ */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes check-pop { 0% { transform: scale(1); } 30% { transform: scale(1.15); } 100% { transform: scale(1); } }
@keyframes pulse-ring { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.loading-spinner { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; }
.loading-spinner::before {
  content: ""; display: block; width: 1.4rem; height: 1.4rem;
  border: 2px solid var(--border-2); border-top-color: var(--brand);
  border-radius: 50%; animation: spin 0.7s linear infinite;
}
.loading-dots { display: inline-flex; gap: 0.25rem; align-items: center; }
.loading-dots span { width: 0.35rem; height: 0.35rem; border-radius: 50%; background: var(--brand-light); animation: pulse-ring 1.2s ease-in-out infinite; }
.loading-dots span:nth-child(2) { animation-delay: 0.15s; }
.loading-dots span:nth-child(3) { animation-delay: 0.3s; }
.animate-float { animation: float 5s ease-in-out infinite; }
.checklist input[type="checkbox"]:checked { animation: check-pop 0.2s var(--ease-b); }

/* ══════════════════════════════════════════════════════════════
   PAGE LOADER
   ══════════════════════════════════════════════════════════════ */
.page-loader {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.page-loader--done { opacity: 0; visibility: hidden; pointer-events: none; }
.page-loader__ring { width: 2.4rem; height: 2.4rem; position: relative; }
.page-loader__ring::before {
  content: ""; display: block; width: 100%; height: 100%;
  border: 2.5px solid var(--border-2); border-top-color: var(--brand);
  border-radius: 50%; animation: spin 0.8s linear infinite;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 39.99rem) {
  .wb-overview { flex-direction: column; gap: 1rem; }
  .wb-chart-wrap { width: 150px; height: 150px; }
  .inv-theme-picker__grid { grid-template-columns: repeat(2,1fr); }
  .toc-bar__link { font-size: 0.72rem; padding: 0.45rem 0.6rem; }
}

/* ══════════════════════════════════════════════════════════════
   REDUCED MOTION
   ══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .page-loader { display: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ══════════════════════════════════════════════════════════════
   LEGAL PAGES (tietosuoja, käyttöehdot)
   ══════════════════════════════════════════════════════════════ */
.legal-hero {
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg) 100%);
  padding: 3.5rem 0 2.5rem; text-align: center;
}
.legal-hero__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 80px; height: 80px; border-radius: var(--r-2xl);
  background: var(--brand-pale); color: var(--brand);
  margin-bottom: 1rem; box-shadow: var(--sh-2);
}
.legal-hero h1 {
  font-family: var(--ff-d); font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800; color: var(--heading); margin: 0 0 0.4rem;
  letter-spacing: -0.03em;
}
.legal-hero__updated {
  font-size: 0.85rem; color: var(--text-2); margin: 0;
}

.legal-wrap {
  display: grid; grid-template-columns: 200px 1fr;
  gap: 2.5rem; align-items: start; max-width: 56rem; margin: 0 auto;
}
@media (max-width: 800px) {
  .legal-wrap { grid-template-columns: 1fr; gap: 1.25rem; }
}

.legal-toc {
  position: sticky; top: 5rem;
}
@media (max-width: 800px) {
  .legal-toc { position: static; }
}
.legal-toc__title {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-2); margin: 0 0 0.6rem;
}
.legal-toc__list {
  list-style: none; padding: 0; margin: 0;
  counter-reset: toc;
}
.legal-toc__list li { counter-increment: toc; }
.legal-toc__list a {
  display: flex; align-items: baseline; gap: 0.5rem;
  font-size: 0.82rem; color: var(--text-2); text-decoration: none;
  padding: 0.3rem 0.6rem; border-radius: var(--r-md);
  transition: background 0.15s, color 0.15s;
}
.legal-toc__list a::before {
  content: counter(toc); font-size: 0.7rem; font-weight: 700;
  color: var(--brand); min-width: 1.1rem;
}
.legal-toc__list a:hover {
  background: var(--brand-pale); color: var(--brand);
}

.legal-body { min-width: 0; }

.legal-section {
  display: flex; gap: 1rem; margin-bottom: 2rem;
  padding-bottom: 2rem; border-bottom: 1px solid var(--border-1);
}
.legal-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.legal-section__num {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  background: var(--brand-pale); color: var(--brand);
  font-size: 0.82rem; font-weight: 800; display: flex;
  align-items: center; justify-content: center; margin-top: 0.15rem;
}

.legal-section__content { flex: 1; min-width: 0; }
.legal-section__content h2 {
  font-family: var(--ff-d); font-size: 1.1rem; font-weight: 700;
  color: var(--heading); margin: 0 0 0.6rem; letter-spacing: -0.02em;
}
.legal-section__content p {
  font-size: 0.9rem; line-height: 1.65; color: var(--text);
  margin: 0 0 0.6rem;
}
.legal-section__content ul {
  margin: 0.4rem 0 0.8rem; padding-left: 1.2rem;
}
.legal-section__content li {
  font-size: 0.88rem; line-height: 1.6; color: var(--text);
  margin-bottom: 0.3rem;
}
.legal-section__content a { color: var(--brand); text-decoration: underline; }
.legal-section__content a:hover { color: var(--brand-dark); }

.legal-info-card {
  background: var(--bg-alt); border: 1px solid var(--border-1);
  border-radius: var(--r-lg); padding: 1rem 1.25rem;
}
.legal-info-card p {
  margin: 0 0 0.2rem; font-size: 0.88rem;
}
.legal-info-card p:last-child { margin-bottom: 0; }

.legal-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem; margin: 0.6rem 0;
}
.legal-grid__item {
  background: var(--surface); border: 1px solid var(--border-1);
  border-radius: var(--r-lg); padding: 1rem 1.15rem;
}
.legal-grid__item h3 {
  font-size: 0.85rem; font-weight: 700; color: var(--heading);
  margin: 0 0 0.35rem;
}
.legal-grid__item p, .legal-grid__item li {
  font-size: 0.82rem; line-height: 1.55; color: var(--text-2);
}

.legal-highlight {
  background: var(--brand-pale); border-left: 3px solid var(--brand);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 0.85rem 1.1rem; margin: 0.6rem 0;
}
.legal-highlight p { margin: 0 0 0.2rem; font-size: 0.88rem; }
.legal-highlight p:last-child { margin-bottom: 0; }

@media (max-width: 600px) {
  .legal-section { flex-direction: column; gap: 0.5rem; }
  .legal-section__num { width: 28px; height: 28px; font-size: 0.75rem; }
}

/* ══════════════════════════════════════════════════════════════
   CONTACT PAGE
   ══════════════════════════════════════════════════════════════ */
.contact-wrap {
  display: grid; grid-template-columns: 1fr 320px;
  gap: 2rem; max-width: 56rem; margin: 0 auto; align-items: start;
}
@media (max-width: 800px) {
  .contact-wrap { grid-template-columns: 1fr; }
}

.contact-form-card {
  padding: 2rem !important;
}
.contact-form-card h2 {
  font-family: var(--ff-d); font-size: 1.25rem; font-weight: 700;
  margin: 0 0 0.3rem; color: var(--heading);
}
.contact-form-card .prose { margin-bottom: 1.25rem; }

.contact-form .form-row { margin-bottom: 1rem; }
.contact-form textarea {
  resize: vertical; min-height: 120px;
}

.contact-submit {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 0.25rem;
}

.contact-sidebar { display: flex; flex-direction: column; gap: 0.85rem; }

.contact-info-card {
  background: var(--surface); border: 1px solid var(--border-1);
  border-radius: var(--r-xl); padding: 1.25rem; text-align: center;
  box-shadow: var(--sh-1); transition: box-shadow 0.2s, border-color 0.2s;
}
.contact-info-card:hover {
  border-color: var(--brand-light); box-shadow: var(--sh-2);
}
.contact-info-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: var(--r-lg);
  background: var(--brand-pale); color: var(--brand); margin-bottom: 0.6rem;
}
.contact-info-card h3 {
  font-size: 0.88rem; font-weight: 700; color: var(--heading);
  margin: 0 0 0.25rem;
}
.contact-info-card p, .contact-info-card a {
  font-size: 0.85rem; color: var(--text-2); text-decoration: none;
}
.contact-info-card a { color: var(--brand); }
.contact-info-card a:hover { text-decoration: underline; }

.contact-faq {
  background: var(--surface); border: 1px solid var(--border-1);
  border-radius: var(--r-xl); padding: 1.25rem; box-shadow: var(--sh-1);
}
.contact-faq h3 {
  font-size: 0.88rem; font-weight: 700; color: var(--heading);
  margin: 0 0 0.75rem;
}
.contact-faq__item {
  border-bottom: 1px solid var(--border-1); padding: 0.6rem 0;
}
.contact-faq__item:last-child { border-bottom: none; }
.contact-faq__item summary {
  font-size: 0.85rem; font-weight: 600; color: var(--text);
  cursor: pointer; padding: 0.15rem 0; list-style: none;
  display: flex; align-items: center; gap: 0.5rem;
}
.contact-faq__item summary::before {
  content: "+"; font-size: 1rem; font-weight: 700; color: var(--brand);
  flex-shrink: 0; width: 1.2rem; text-align: center;
  transition: transform 0.2s;
}
.contact-faq__item[open] summary::before {
  content: "−";
}
.contact-faq__item summary::-webkit-details-marker { display: none; }
.contact-faq__item p {
  font-size: 0.82rem; line-height: 1.6; color: var(--text-2);
  margin: 0.4rem 0 0 1.7rem;
}

/* Tool UX helpers */
.tool-autosave {
  margin-top: 0.6rem; font-size: 0.78rem; color: var(--text-3);
  display: inline-flex; align-items: center; gap: 0.35rem;
}
.tool-autosave::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: #4a9d6b; flex-shrink: 0;
}
.fp-pool__empty {
  font-size: 0.78rem; color: var(--text-3); font-style: italic;
  padding: 0.35rem 0.5rem;
}
.btn-link {
  background: none; border: none; padding: 0; font: inherit;
  color: var(--brand); text-decoration: underline; cursor: pointer;
}
