/* Shared site footer (index.html + pricing.html): a compact floating dark card. */

.xf {
  --xf-ink: #fff;
  --xf-dim: rgba(255, 255, 255, .8);
  --xf-faint: rgba(255, 255, 255, .62);
  --xf-line: rgba(255, 255, 255, .22);
  --xf-accent: #4e26e3;
  --xf-accent-soft: #b9a5ff;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: clamp(32px, 5vw, 64px) clamp(12px, 2.5vw, 32px) clamp(12px, 2.5vw, 28px);
  padding: clamp(28px, 3.6vw, 48px) clamp(20px, 3vw, 40px) 20px;
  border-radius: clamp(20px, 2.4vw, 28px);
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(255, 255, 255, .3), transparent 65%),
    linear-gradient(135deg, #8666fa 0%, #7655f3 50%, #6643e8 100%);
  color: var(--xf-dim);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.xf *, .xf *::before, .xf *::after { box-sizing: border-box; }
.xf-wrap { inline-size: min(1200px, 100%); margin-inline: auto; }

.xf a { color: inherit; text-decoration: none; transition: color .2s, background .2s, border-color .2s, transform .2s; }
.xf a:focus-visible { outline: 3px solid var(--xf-accent-soft); outline-offset: 3px; border-radius: 8px; }
.xf svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* top row: identity | product | account | contact */
.xf-main {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, .6fr)) minmax(0, 1fr);
  gap: 24px clamp(24px, 4vw, 56px);
  padding-block-end: 8px;
}
.xf a.xf-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--xf-ink); font-size: 22px; font-weight: 800; letter-spacing: -.04em; }
.xf-brand img { inline-size: 30px; block-size: 30px; }
.xf-id p { max-inline-size: 36ch; margin: 10px 0 0; }

.xf-socials { display: flex; flex-wrap: wrap; gap: 6px; margin-block-start: 14px; }
.xf-socials a {
  display: inline-flex; align-items: center; justify-content: center;
  inline-size: 34px; block-size: 34px;
  border: 1px solid var(--xf-line); border-radius: 50%;
  color: var(--xf-ink);
}
.xf-socials a:hover { transform: translateY(-2px); background: #fff; border-color: #fff; color: var(--xf-accent); }
.xf-socials svg { inline-size: 16px; block-size: 16px; stroke-width: 1.6; }

.xf h4 { margin: 0 0 12px; color: var(--xf-faint); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.xf ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.xf-col a { color: var(--xf-dim); }
.xf-col a:hover { color: var(--xf-ink); }
.xf-contact a { display: inline-flex; align-items: center; gap: 8px; }
.xf-contact a:hover { color: #fff; text-decoration: underline; }
.xf-contact svg { inline-size: 14px; block-size: 14px; flex: none; }
.xf-name { color: var(--xf-ink); font-weight: 700; }

/* bottom row: registered office | copyright */
.xf-base {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px;
  padding-block-start: 14px; border-block-start: 1px solid var(--xf-line);
  color: var(--xf-faint); font-size: 12.5px;
}
/* The company line is a full sentence now (number, registered office, VAT
   number), so it wraps: the pin stays on the first line and the text gets a
   sensible reading width instead of pushing the copyright off the row. */
.xf-base address { display: flex; align-items: flex-start; gap: 7px; flex: 1 1 320px; max-inline-size: 78ch; font-style: normal; }
.xf-base address svg { inline-size: 14px; block-size: 14px; flex: none; margin-block-start: 2px; color: #fff; }
.xf-base address b { color: var(--xf-dim); font-weight: 700; }

@media (max-width: 900px) {
  .xf-main { grid-template-columns: 1fr 1fr; }
  .xf-id { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .xf-base { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .xf a { transition: none; }
  .xf-socials a:hover { transform: none; }
}

/* faded wordmark between the columns and the base row */
.xf-mark {
  margin: 0 0 14px;
  text-align: center;
  font-size: clamp(64px, 12vw, 170px);
  font-weight: 900;
  letter-spacing: -.07em;
  line-height: 1.05;
  overflow: hidden;
  white-space: nowrap;
  user-select: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, .03) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
