/* ── Yaply site pages: /lander, /features, /security, /privacy ───────────────
   One look for every public page: the same top bar (with "Open Yaply"), the same
   footer, the same type. Everything is a `ys-` class so the lander (which brings
   its own styles) and the static pages can both link this file safely.

   /assets/* is served with a one-year immutable cache (public/_headers), so the
   pages link it as yaply-site.css?v=<date>. Change this file → bump that ?v in
   lander.html and in public/{features,security,privacy}/index.html. */

:root {
  --ys-bg: #05070a;
  --ys-bg-2: #0b0e14;
  --ys-surface: rgba(255, 255, 255, .045);
  --ys-surface-2: rgba(255, 255, 255, .07);
  --ys-line: rgba(255, 255, 255, .09);
  --ys-line-2: rgba(255, 255, 255, .16);
  --ys-text: #f4f5f8;
  --ys-muted: #a3a8b8;
  --ys-dim: #757b8e;
  --ys-blue: #2f7bff;
  --ys-violet: #8b6cff;
  --ys-accent: #a99bff;
  --ys-good: #48d597;
  --ys-warn: #f5b94d;
  --ys-grad: linear-gradient(135deg, #2f7bff 0%, #7a5cff 100%);
  --ys-grad-text: linear-gradient(92deg, #8fb6ff 0%, #c4a8ff 45%, #ffb3c7 100%);
  --ys-radius: 20px;
  --ys-max: 1120px;
  --ys-font: Inter, Roboto, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

/* ── Page base (static pages only; the lander keeps its own body styles) ───── */
body.ys-page {
  margin: 0;
  background: var(--ys-bg);
  color: var(--ys-text);
  font: 16px/1.65 var(--ys-font);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}
body.ys-page *, body.ys-page *::before, body.ys-page *::after { box-sizing: border-box; }
.ys-page a { color: var(--ys-accent); text-decoration: none; }
.ys-page a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ys-page :focus-visible { outline: 2px solid var(--ys-accent); outline-offset: 3px; border-radius: 6px; }
.ys-page code {
  font: .88em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: rgba(169, 155, 255, .12);
  color: #d9d2ff;
  padding: .12em .42em;
  border-radius: 6px;
}
.ys-skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  padding: 10px 14px; border-radius: 10px; background: var(--ys-text); color: var(--ys-bg) !important;
  font-weight: 600;
}
.ys-skip:focus { top: 12px; }

/* ── Top bar ──────────────────────────────────────────────────────────────── */
.ys-top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(5, 7, 10, .72);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--ys-line);
  font-family: var(--ys-font);
}
.ys-top__in {
  max-width: var(--ys-max);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.ys-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ys-text) !important;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
  text-decoration: none !important;
  flex: 0 0 auto;
}
.ys-brand img { width: 34px; height: 34px; border-radius: 50%; display: block; }
.ys-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.ys-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ys-muted) !important;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none !important;
  white-space: nowrap;
  transition: color .15s, background-color .15s;
}
.ys-nav a:hover { color: var(--ys-text) !important; background: var(--ys-surface); }
.ys-nav a[aria-current="page"] { color: var(--ys-text) !important; background: var(--ys-surface-2); box-shadow: inset 0 0 0 1px var(--ys-line); }

/* The one button that matters on every page. */
.ys-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--ys-grad);
  color: #fff !important;
  font: 600 15px/1 var(--ys-font);
  letter-spacing: .01em;
  white-space: nowrap;
  text-decoration: none !important;
  box-shadow: 0 8px 24px -10px rgba(76, 110, 255, .85), inset 0 1px 0 rgba(255, 255, 255, .22);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  flex: 0 0 auto;
}
.ys-open svg { width: 18px; height: 18px; transition: transform .18s ease; }
.ys-open:hover { transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 12px 30px -10px rgba(98, 112, 255, .95), inset 0 1px 0 rgba(255, 255, 255, .25); }
.ys-open:hover svg { transform: translateX(3px); }
.ys-open:active { transform: translateY(0) scale(.98); }
.ys-open--lg { min-height: 52px; padding: 0 26px; font-size: 16px; }
.ys-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 22px; border-radius: 999px;
  color: var(--ys-text) !important; font: 600 16px/1 var(--ys-font); text-decoration: none !important;
  background: var(--ys-surface); box-shadow: inset 0 0 0 1px var(--ys-line-2);
  transition: background-color .15s;
}
.ys-ghost:hover { background: var(--ys-surface-2); }

/* Phones: brand + Open Yaply on top, the page links as a scrollable pill row. */
@media (max-width: 760px) {
  .ys-top__in { flex-wrap: wrap; gap: 10px 12px; padding: 10px 16px 8px; }
  .ys-brand { font-size: 19px; }
  .ys-brand img { width: 32px; height: 32px; }
  .ys-open { margin-left: auto; min-height: 40px; padding: 0 16px; font-size: 14px; }
  .ys-open--lg { margin-left: 0; min-height: 52px; padding: 0 24px; font-size: 16px; }
  .ys-nav {
    order: 3;
    width: calc(100% + 32px);
    margin: 0 -16px;
    padding: 2px 16px 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .ys-nav::-webkit-scrollbar { display: none; }
  .ys-nav a { padding: 7px 13px; font-size: 14px; }
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.ys-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--ys-line);
}
.ys-hero::before, .ys-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
}
.ys-hero::before { width: 520px; height: 420px; left: -120px; top: -180px; background: radial-gradient(closest-side, rgba(47, 123, 255, .55), transparent); }
.ys-hero::after { width: 520px; height: 420px; right: -160px; top: -120px; background: radial-gradient(closest-side, rgba(139, 108, 255, .5), transparent); }
.ys-hero__in {
  position: relative;
  z-index: 1;
  max-width: var(--ys-max);
  margin: 0 auto;
  padding: 72px 20px 56px;
}
.ys-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  background: var(--ys-surface);
  box-shadow: inset 0 0 0 1px var(--ys-line-2);
  color: var(--ys-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
}
.ys-chip svg { width: 18px; height: 18px; color: var(--ys-accent); }
.ys-hero h1 {
  margin: 18px 0 14px;
  max-width: 17ch;
  font-size: clamp(2.2rem, 5.6vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -.035em;
  font-weight: 800;
  text-wrap: balance;
}
.ys-grad {
  background: var(--ys-grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ys-lede {
  max-width: 62ch;
  margin: 0;
  color: var(--ys-muted);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.6;
}
.ys-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ys-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; color: var(--ys-dim); font-size: 14px; }
.ys-meta span { display: inline-flex; align-items: center; gap: 6px; }
.ys-meta svg { width: 16px; height: 16px; }

@media (max-width: 760px) {
  .ys-hero__in { padding: 44px 16px 36px; }
  .ys-hero__cta .ys-open, .ys-hero__cta .ys-ghost { flex: 1 1 100%; }
}

/* ── Layout ───────────────────────────────────────────────────────────────── */
.ys-main {
  max-width: var(--ys-max);
  margin: 0 auto;
  padding: 48px 20px 72px;
}
.ys-split { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 56px; align-items: start; }
.ys-toc { position: sticky; top: 92px; font-size: 14px; }
.ys-toc__title { margin: 0 0 10px; color: var(--ys-dim); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ys-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--ys-line); }
.ys-toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--ys-muted) !important; text-decoration: none !important; }
.ys-toc a:hover { color: var(--ys-text) !important; border-left-color: var(--ys-line-2); }
.ys-toc details summary { display: none; }
.ys-prose { min-width: 0; }
.ys-prose > section { scroll-margin-top: 110px; }
.ys-prose > section + section { margin-top: 48px; }
.ys-prose h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  line-height: 1.2;
  letter-spacing: -.02em;
  font-weight: 750;
  text-wrap: balance;
}
.ys-ico {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(47, 123, 255, .2), rgba(139, 108, 255, .2));
  box-shadow: inset 0 0 0 1px rgba(169, 155, 255, .25);
  color: #c9c0ff;
}
.ys-ico svg { width: 21px; height: 21px; }
.ys-prose p { margin: 0 0 14px; color: #d3d6df; }
.ys-prose strong { color: var(--ys-text); }
.ys-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ys-list li {
  position: relative;
  padding: 14px 16px 14px 46px;
  border-radius: 14px;
  background: var(--ys-surface);
  box-shadow: inset 0 0 0 1px var(--ys-line);
  color: #d3d6df;
}
.ys-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ys-grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm-1.3 14.3-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4-7 7Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm-1.3 14.3-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4-7 7Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media (max-width: 960px) {
  .ys-split { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ys-toc { position: static; }
  .ys-toc details { border-radius: 14px; background: var(--ys-surface); box-shadow: inset 0 0 0 1px var(--ys-line); }
  .ys-toc details summary {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 16px; cursor: pointer; list-style: none; color: var(--ys-text); font-weight: 600;
  }
  .ys-toc details summary::-webkit-details-marker { display: none; }
  .ys-toc details summary::after { content: "+"; color: var(--ys-accent); font-size: 20px; line-height: 1; }
  .ys-toc details[open] summary::after { content: "–"; }
  .ys-toc__title { display: none; }
  .ys-toc ol { border-left: 0; padding: 0 8px 10px; }
  .ys-toc a { border-left: 0; padding: 8px; border-radius: 8px; }
}
@media (max-width: 760px) {
  .ys-main { padding: 28px 16px 56px; }
}
@media (min-width: 961px) {
  .ys-toc details > ol { display: block; }
}

/* ── Cards ────────────────────────────────────────────────────────────────── */
.ys-card {
  position: relative;
  padding: 22px 24px;
  border-radius: var(--ys-radius);
  background: var(--ys-surface);
  box-shadow: inset 0 0 0 1px var(--ys-line);
}
.ys-card--glow {
  background:
    linear-gradient(var(--ys-bg-2), var(--ys-bg-2)) padding-box,
    linear-gradient(135deg, rgba(47, 123, 255, .7), rgba(139, 108, 255, .55), rgba(255, 179, 199, .35)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 20px 60px -30px rgba(90, 100, 255, .5);
}
.ys-card p:last-child { margin-bottom: 0; }
.ys-card__label { display: inline-block; margin-bottom: 8px; color: var(--ys-accent); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.ys-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; }
.ys-facts li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px; border-radius: 16px;
  background: var(--ys-surface); box-shadow: inset 0 0 0 1px var(--ys-line);
  font-size: 14.5px; line-height: 1.45; color: #d3d6df;
}
.ys-facts li strong { display: block; color: var(--ys-text); font-size: 15px; margin-bottom: 2px; }
.ys-facts .ys-ico { width: 36px; height: 36px; border-radius: 11px; }
.ys-facts .ys-ico svg { width: 19px; height: 19px; }
.ys-facts li.is-warn .ys-ico { background: rgba(245, 185, 77, .14); box-shadow: inset 0 0 0 1px rgba(245, 185, 77, .35); color: var(--ys-warn); }
@media (max-width: 960px) { .ys-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ys-facts { grid-template-columns: minmax(0, 1fr); } }

/* ── Highlights (features) ────────────────────────────────────────────────── */
.ys-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 56px; padding: 0; list-style: none; }
.ys-tile {
  padding: 22px;
  border-radius: var(--ys-radius);
  background: var(--ys-surface);
  box-shadow: inset 0 0 0 1px var(--ys-line);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.ys-tile:hover { transform: translateY(-2px); background: var(--ys-surface-2); box-shadow: inset 0 0 0 1px var(--ys-line-2); }
.ys-tile h3 { margin: 14px 0 6px; font-size: 17px; letter-spacing: -.01em; }
.ys-tile p { margin: 0; color: var(--ys-muted); font-size: 14.5px; line-height: 1.5; }
@media (max-width: 960px) { .ys-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .ys-tiles { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-bottom: 40px; }
  .ys-tile { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; padding: 16px; }
  .ys-tile .ys-ico { grid-row: span 2; }
  .ys-tile h3 { margin: 0 0 2px; font-size: 16px; }
  .ys-tile p { font-size: 14px; }
}

/* ── A–Z (features) ───────────────────────────────────────────────────────── */
.ys-section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.ys-section-head h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.025em; }
.ys-section-head p { margin: 0; color: var(--ys-muted); }
.ys-letters {
  position: sticky; top: 69px; z-index: 5;
  display: flex; gap: 6px; margin: 0 0 22px; padding: 10px 0;
  overflow-x: auto; scrollbar-width: none;
  background: rgba(5, 7, 10, .92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--ys-line);
}
.ys-letters::-webkit-scrollbar { display: none; }
.ys-letters a {
  flex: 0 0 auto; display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--ys-surface); box-shadow: inset 0 0 0 1px var(--ys-line);
  color: var(--ys-text) !important; font-weight: 700; font-size: 15px; text-decoration: none !important;
  transition: background-color .15s;
}
.ys-letters a:hover { background: var(--ys-grad); box-shadow: none; }
@media (max-width: 760px) { .ys-letters { top: 111px; } .ys-letters a { width: 36px; height: 36px; } }

.ys-az { display: grid; gap: 14px; }
.ys-az__group {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 20px;
  padding: 22px 24px;
  border-radius: var(--ys-radius);
  background: var(--ys-surface);
  box-shadow: inset 0 0 0 1px var(--ys-line);
  scroll-margin-top: 170px;
}
.ys-az__letter {
  margin: 0;
  width: 60px; height: 60px; border-radius: 18px;
  display: grid; place-items: center;
  background: var(--ys-grad);
  color: #fff;
  font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1;
  box-shadow: 0 10px 26px -12px rgba(98, 112, 255, .9);
}
.ys-az dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; }
.ys-az dl > div { min-width: 0; }
.ys-az dt { font-weight: 700; color: var(--ys-text); font-size: 16px; letter-spacing: -.005em; }
.ys-az dd { margin: 4px 0 0; color: var(--ys-muted); font-size: 15px; line-height: 1.55; }
@media (max-width: 860px) { .ys-az dl { grid-template-columns: minmax(0, 1fr); gap: 14px; } }
@media (max-width: 560px) {
  .ys-az__group { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 18px; }
  .ys-az__letter { width: 46px; height: 46px; border-radius: 14px; font-size: 23px; }
}

/* ── Tables → cards on phones ─────────────────────────────────────────────── */
.ys-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--ys-radius);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--ys-line);
  background: var(--ys-surface);
  font-size: 15px;
}
.ys-table th, .ys-table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--ys-line); }
.ys-table tr:last-child td { border-bottom: 0; }
.ys-table th { background: rgba(255, 255, 255, .04); color: var(--ys-dim); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.ys-table td { color: #d3d6df; }
.ys-table td:first-child { color: var(--ys-text); font-weight: 600; }
.ys-no { color: var(--ys-warn); font-weight: 700; }
@media (max-width: 700px) {
  .ys-table, .ys-table tbody, .ys-table tr, .ys-table td { display: block; width: 100%; }
  .ys-table { background: none; box-shadow: none; border-radius: 0; overflow: visible; }
  .ys-table thead, .ys-table tr.ys-thead { display: none; }
  .ys-table tr { margin-bottom: 10px; padding: 6px 0; border-radius: 16px; background: var(--ys-surface); box-shadow: inset 0 0 0 1px var(--ys-line); }
  .ys-table td { border: 0; padding: 8px 16px; }
  .ys-table td::before { content: attr(data-label); display: block; margin-bottom: 2px; color: var(--ys-dim); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
  .ys-table td:first-child { font-size: 16px; padding-top: 12px; }
  .ys-table td:first-child::before { display: none; }
}

/* ── FAQ ──────────────────────────────────────────────────────────────────── */
.ys-faq { display: grid; gap: 10px; }
.ys-faq details {
  border-radius: 16px;
  background: var(--ys-surface);
  box-shadow: inset 0 0 0 1px var(--ys-line);
  transition: background-color .15s, box-shadow .15s;
}
.ys-faq details[open] { background: var(--ys-surface-2); box-shadow: inset 0 0 0 1px var(--ys-line-2); }
.ys-faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; cursor: pointer; list-style: none;
  color: var(--ys-text); font-weight: 650; font-size: 16px;
}
.ys-faq summary::-webkit-details-marker { display: none; }
.ys-faq summary::after {
  content: ""; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%;
  background: var(--ys-surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a99bff' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .2s ease;
}
.ys-faq details[open] summary::after { transform: rotate(45deg); }
.ys-faq details p { margin: 0; padding: 0 20px 18px; color: var(--ys-muted); }

/* ── Bottom call to action ────────────────────────────────────────────────── */
.ys-cta {
  position: relative;
  overflow: hidden;
  margin-top: 64px;
  padding: 44px 32px;
  border-radius: 28px;
  text-align: center;
  background: radial-gradient(120% 140% at 50% 0%, rgba(47, 123, 255, .35), rgba(139, 108, 255, .18) 45%, rgba(5, 7, 10, 0) 75%), var(--ys-bg-2);
  box-shadow: inset 0 0 0 1px var(--ys-line-2);
}
.ys-cta h2 { justify-content: center; margin: 0 0 8px; font-size: clamp(1.6rem, 3.6vw, 2.4rem); letter-spacing: -.03em; }
.ys-cta p { margin: 0 auto 24px; max-width: 46ch; color: var(--ys-muted); }
.ys-cta .ys-hero__cta { justify-content: center; margin-top: 0; }
@media (max-width: 760px) { .ys-cta { padding: 32px 18px; border-radius: 22px; } }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.ys-foot {
  border-top: 1px solid var(--ys-line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .015), rgba(255, 255, 255, 0));
  color: var(--ys-muted);
  font: 14.5px/1.6 var(--ys-font);
}
.ys-foot__in { max-width: var(--ys-max); margin: 0 auto; padding: 48px 20px 28px; }
.ys-foot__grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.ys-foot__brand p { margin: 12px 0 18px; max-width: 32ch; }
.ys-foot h3 { margin: 4px 0 12px; color: var(--ys-text); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ys-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ys-foot a { color: var(--ys-muted) !important; text-decoration: none !important; }
.ys-foot a:hover { color: var(--ys-text) !important; }
.ys-foot a.ys-brand { color: var(--ys-text) !important; }
.ys-foot a.ys-open { color: #fff !important; }
.ys-foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--ys-line); color: var(--ys-dim); font-size: 13.5px; }
.ys-foot__base span { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 860px) { .ys-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ys-foot__brand { grid-column: 1 / -1; } }
@media (max-width: 760px) { .ys-foot__in { padding: 36px 16px 24px; } }

@media (prefers-reduced-motion: reduce) {
  .ys-open, .ys-open svg, .ys-tile, .ys-faq summary::after { transition: none; }
}
