  /* ---- Aquamarine landing — single dark "neo" world, by choice.
         Layout: fixed glass nav · aurora hero with a live chat mockup ·
         feature grid · per-platform download rack · self-host · footer. ---- */
  :root {
    /* Color — pulled straight from the app's Aquamarine palette */
    --void:      #06070C;
    --ink:       #0C0F17;   /* raised surface */
    --ink-2:     #121622;   /* card */
    --line:      rgba(255,255,255,0.08);
    --line-str:  rgba(255,255,255,0.16);
    --fg:        #EAF0F6;
    --fg-muted:  #9BA6B6;
    --fg-dim:    #67707F;
    --accent:    #00E5C7;   /* teal */
    --accent-2:  #7B5CFF;   /* violet */
    --accent-soft: rgba(0,229,199,0.12);
    --accent-glow: rgba(0,229,199,0.45);
    --violet-glow: rgba(123,92,255,0.40);
    --good:      #37E29A;

    /* Type */
    --display: "Sora", system-ui, sans-serif;
    --body:    "IBM Plex Sans", system-ui, sans-serif;
    --mono:    "JetBrains Mono", ui-monospace, monospace;

    color-scheme: dark;
  }

  * { box-sizing: border-box; }
  html, body { margin: 0; }
  body {
    background:
      radial-gradient(1100px 620px at 12% -8%, rgba(0,229,199,0.10), transparent 58%),
      radial-gradient(1000px 640px at 92% 4%, rgba(123,92,255,0.12), transparent 56%),
      var(--void);
    color: var(--fg);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    /* clip, not hidden: "hidden" turns <body> into a scroll box and every
       position: sticky (the nav, the docs sidebars) stops sticking. */
    overflow-x: clip;
  }
  a { color: inherit; text-decoration: none; }
  h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
  p { margin: 0; }

  .wrap { width: min(1120px, 100%); margin: 0 auto; padding-inline: 24px; }

  /* ---------- Nav ---------- */
  nav {
    position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
    backdrop-filter: blur(14px);
    background: color-mix(in srgb, var(--void) 72%, transparent);
    border-bottom: 1px solid var(--line);
  }
  .nav-in { display: flex; align-items: center; gap: 20px; height: 64px; }
  .brand { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 700; font-size: 18px; }
  .logo {
    width: 34px; height: 34px; border-radius: 10px;
    display: block;
    box-shadow: 0 0 22px -4px var(--accent-glow);
  }
  .nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 14.5px; color: var(--fg-muted); }
  .nav-links a:hover { color: var(--fg); }
  .nav-cta {
    padding: 8px 16px; border-radius: 10px; font-size: 14px; font-weight: 600;
    background: var(--accent-soft); color: var(--accent);
    border: 1px solid rgba(0,229,199,0.28);
  }
  .nav-cta:hover { background: rgba(0,229,199,0.2); }
  @media (max-width: 720px) { .nav-links { display: none; } }

  /* ---------- Hero ---------- */
  .hero { padding-block: 86px 72px; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 54px; align-items: center; }
  @media (max-width: 900px) { .hero { grid-template-columns: 1fr; gap: 40px; padding-block: 58px 44px; } }

  .eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--accent); background: var(--accent-soft);
    border: 1px solid rgba(0,229,199,0.22); border-radius: 999px; padding: 5px 12px;
  }
  .hero h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.02; margin: 20px 0 0; }
  .hero h1 .grad {
    background: linear-gradient(110deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  .hero .lede { margin-top: 20px; font-size: 18px; color: var(--fg-muted); max-width: 42ch; }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; align-items: center; }
  .btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 13px 22px; border-radius: 13px; font-weight: 600; font-size: 15px;
    cursor: pointer; border: 1px solid transparent; transition: transform .14s ease, box-shadow .14s ease;
  }
  .btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #04060b; box-shadow: 0 14px 34px -12px var(--accent-glow);
  }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px var(--accent-glow); }
  .btn-ghost { background: transparent; border-color: var(--line-str); color: var(--fg); }
  .btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
  .btn small { font-weight: 400; opacity: .72; font-size: 12.5px; }
  .os-note { font-size: 13px; color: var(--fg-dim); }
  .os-note b { color: var(--fg-muted); font-weight: 600; }

  .trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 30px; font-size: 13px; color: var(--fg-dim); }
  .trust span { display: inline-flex; align-items: center; gap: 7px; }
  .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent-glow); }

  /* ---------- Hero chat mockup ---------- */
  .mock {
    position: relative; border-radius: 22px; overflow: hidden;
    border: 1px solid var(--line-str);
    background:
      radial-gradient(600px 300px at 80% -10%, rgba(123,92,255,0.18), transparent 60%),
      linear-gradient(170deg, var(--ink), var(--void));
    box-shadow: 0 40px 90px -36px rgba(0,0,0,0.8), 0 0 60px -30px var(--violet-glow);
  }
  .mock-bar { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
  .mock-ava { width: 36px; height: 36px; border-radius: 11px; background: linear-gradient(135deg, #7B5CFF, #00E5C7); flex-shrink: 0; }
  .mock-name { font-weight: 600; font-size: 14.5px; }
  .mock-sub { font-size: 12px; color: var(--accent); display: flex; align-items: center; gap: 6px; }
  .mock-lock { margin-left: auto; font-size: 11px; color: var(--fg-dim); display: inline-flex; gap: 6px; align-items: center; }
  .mock-body { padding: 20px 16px 22px; display: flex; flex-direction: column; gap: 12px; }
  .bubble { max-width: 78%; padding: 10px 13px; border-radius: 15px; font-size: 14px; line-height: 1.45; }
  .b-in  { align-self: flex-start; background: var(--ink-2); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
  .b-out { align-self: flex-end; color: #04060b; border-bottom-right-radius: 5px;
           background: linear-gradient(135deg, var(--accent), #35ecd3); box-shadow: 0 8px 20px -10px var(--accent-glow); }
  .b-meta { display: block; font-size: 10.5px; opacity: .6; margin-top: 4px; text-align: right; }
  .react { display: inline-flex; gap: 4px; align-items: center; margin-top: 2px; font-size: 12px;
           background: var(--accent-soft); border: 1px solid rgba(0,229,199,0.25); color: var(--accent);
           border-radius: 999px; padding: 2px 8px; align-self: flex-start; }
  .fpr { margin: 4px 16px 16px; padding: 10px 12px; border: 1px dashed var(--line-str); border-radius: 12px;
         font-family: var(--mono); font-size: 11.5px; color: var(--fg-muted); line-height: 1.5; }
  .fpr b { color: var(--accent); font-weight: 600; }

  /* ---------- Section frame ---------- */
  section.band { padding-block: 72px; }
  .sec-head { max-width: 60ch; margin-bottom: 42px; }
  .sec-head .eyebrow { margin-bottom: 14px; }
  .sec-head h2 { font-size: clamp(27px, 3.4vw, 38px); }
  .sec-head p { margin-top: 14px; color: var(--fg-muted); font-size: 16.5px; }

  /* ---------- Features ---------- */
  .feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  @media (max-width: 860px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 560px) { .feat-grid { grid-template-columns: 1fr; } }
  .card {
    background: linear-gradient(180deg, var(--ink-2), var(--ink));
    border: 1px solid var(--line); border-radius: 18px; padding: 24px;
    transition: border-color .16s ease, transform .16s ease;
  }
  .card:hover { border-color: var(--line-str); transform: translateY(-3px); }
  .ficon {
    width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
    background: var(--accent-soft); border: 1px solid rgba(0,229,199,0.22); color: var(--accent);
  }
  .ficon svg { width: 21px; height: 21px; }
  .card h3 { font-size: 17.5px; }
  .card p { margin-top: 8px; color: var(--fg-muted); font-size: 14.5px; }

  /* ---------- Downloads ---------- */
  .dl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
  @media (max-width: 860px) { .dl-grid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 480px) { .dl-grid { grid-template-columns: 1fr; } }
  .dl {
    position: relative; display: flex; flex-direction: column; gap: 4px;
    background: linear-gradient(180deg, var(--ink-2), var(--ink));
    border: 1px solid var(--line); border-radius: 18px; padding: 22px;
  }
  .dl.rec { border-color: rgba(0,229,199,0.5); box-shadow: 0 0 0 1px rgba(0,229,199,0.18), 0 22px 46px -26px var(--accent-glow); }
  .dl-plat { display: flex; align-items: center; gap: 10px; }
  .dl-plat svg { width: 26px; height: 26px; color: var(--fg); flex-shrink: 0; }
  .dl-plat h3 { font-size: 17px; }
  .dl-sub { font-size: 12.5px; color: var(--fg-dim); }
  .dl-file { font-family: var(--mono); font-size: 11px; color: var(--fg-muted); margin-top: 8px; word-break: break-all; }
  .dl-btn {
    margin-top: 16px; text-align: center; padding: 10px 14px; border-radius: 11px;
    font-weight: 600; font-size: 14px; background: var(--accent-soft); color: var(--accent);
    border: 1px solid rgba(0,229,199,0.3);
  }
  .dl-btn:hover { background: rgba(0,229,199,0.2); }
  .dl.rec .dl-btn { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #04060b; border-color: transparent; }
  .tag {
    position: absolute; top: 16px; right: 16px; font-size: 10px; font-weight: 700; letter-spacing: .05em;
    text-transform: uppercase; padding: 3px 8px; border-radius: 999px;
  }
  .tag.rec  { background: var(--accent); color: #04060b; }
  .tag.beta { background: rgba(123,92,255,0.18); color: #b7a3ff; border: 1px solid rgba(123,92,255,0.4); }
  .dl-foot { margin-top: 22px; font-size: 13.5px; color: var(--fg-dim); }
  .dl-foot a { color: var(--accent); }
  .dl-foot a:hover { text-decoration: underline; }

  /* ---------- Self-host ---------- */
  .host { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
  @media (max-width: 820px) { .host { grid-template-columns: 1fr; gap: 28px; } }
  .steps { display: flex; flex-direction: column; gap: 18px; margin-top: 6px; }
  .step { display: flex; gap: 14px; }
  .step-n { flex-shrink: 0; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center;
            font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--accent);
            background: var(--accent-soft); border: 1px solid rgba(0,229,199,0.25); }
  .step h3 { font-size: 15.5px; font-family: var(--body); font-weight: 600; }
  .step p { font-size: 14px; color: var(--fg-muted); margin-top: 2px; }
  .step p code { font-family: var(--mono); font-size: 12.5px; color: var(--accent); }
  .code {
    background: #04060b; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px;
    font-family: var(--mono); font-size: 13px; line-height: 1.8; overflow-x: auto; white-space: pre; color: var(--fg-muted);
  }
  .code .c { color: var(--fg-dim); }
  .code .p { color: var(--accent); }
  .code .v { color: #b7a3ff; }

  /* ---------- Privacy note ---------- */
  .note {
    display: flex; gap: 16px; align-items: flex-start;
    background: linear-gradient(135deg, rgba(123,92,255,0.08), rgba(0,229,199,0.05));
    border: 1px solid var(--line); border-radius: 18px; padding: 24px 26px;
  }
  .note svg { width: 24px; height: 24px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
  .note h3 { font-size: 17px; }
  .note p { margin-top: 7px; color: var(--fg-muted); font-size: 14.5px; max-width: 72ch; }

  /* ---------- Footer ---------- */
  footer { border-top: 1px solid var(--line); padding-block: 36px 48px; margin-top: 40px; }
  .foot-in { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
  .foot-in .brand { font-size: 16px; }
  .foot-links { margin-left: auto; display: flex; gap: 22px; font-size: 13.5px; color: var(--fg-dim); }
  .foot-links a:hover { color: var(--fg); }
  .foot-copy { width: 100%; font-size: 12.5px; color: var(--fg-dim); margin-top: 6px; }

  @media (prefers-reduced-motion: no-preference) {
    .aura { animation: drift 16s ease-in-out infinite alternate; }
    @keyframes drift { to { transform: translate(18px, -14px) scale(1.06); } }
  }
  .aura { position: absolute; inset: -20% -10% auto -10%; height: 520px; z-index: -1; pointer-events: none;
          background: radial-gradient(600px 300px at 30% 30%, rgba(0,229,199,0.12), transparent 60%),
                      radial-gradient(520px 280px at 72% 20%, rgba(123,92,255,0.14), transparent 60%);
          filter: blur(8px); }

/* ---------- Shared additions: language switch, docs band ---------- */
.lang-btn {
  border: 1px solid var(--line-str); background: transparent; color: var(--fg-muted);
  border-radius: 9px; padding: 6px 10px; font: 600 12.5px var(--body); cursor: pointer;
}
.lang-btn:hover { color: var(--fg); border-color: var(--accent); }
.nav-links a.on { color: var(--fg); }
.docs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .docs-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .docs-grid { grid-template-columns: 1fr; } }
a.card { display: block; }
a.card .more { display: inline-block; margin-top: 12px; font-size: 13.5px; font-weight: 600; color: var(--accent); }
.feat-grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1040px) { .feat-grid.four { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .feat-grid.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feat-grid.four { grid-template-columns: 1fr; } }
.ver-chip { font-family: var(--mono); font-size: 12px; color: var(--fg-dim); margin-left: 6px; }

/* ---------- Docs viewer (docs.html, api.html) ---------- */
.doc-shell { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 44px; padding-block: 36px 80px; align-items: start; }
.doc-shell > main { max-width: 900px; }
@media (max-width: 1180px) { .doc-shell { grid-template-columns: 250px minmax(0, 1fr); gap: 32px; } }
@media (max-width: 820px) { .doc-shell { grid-template-columns: 1fr; gap: 18px; } .doc-side { position: static !important; max-height: none !important; } }
.doc-side { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow-y: auto; font-size: 14px; padding-right: 6px; }
.doc-side h4 { margin: 18px 0 8px; font: 700 11px var(--body); letter-spacing: .07em; text-transform: uppercase; color: var(--fg-dim); }
.doc-side h4:first-child { margin-top: 0; }
.doc-side a { display: block; padding: 6px 10px; border-radius: 9px; color: var(--fg-muted); }
.doc-side a:hover { color: var(--fg); background: rgba(255,255,255,0.03); }
.doc-side a.on { color: var(--accent); background: var(--accent-soft); }
.doc-side input { width: 100%; margin-bottom: 14px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line-str); background: var(--ink); color: var(--fg); font: 14px var(--body); outline: none; }
.doc-side input:focus { border-color: var(--accent); }
/* The page's outline: sections, the current one open with its subsections. */
.doc-outline { margin: 2px 0 8px 10px; padding-left: 8px; border-left: 1px solid var(--line); }
.doc-side .doc-outline a { padding: 5px 10px; border-radius: 8px; }
.doc-outline .o2 { font-size: 13.5px; }
.doc-outline .o3 { font-size: 12.5px; padding-left: 20px; color: var(--fg-dim); }
.doc-outline .o3s { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .3s cubic-bezier(.22,1,.36,1), opacity .25s ease; }
.doc-outline .o3s > div { overflow: hidden; min-height: 0; }
.doc-outline .og.open .o3s { grid-template-rows: 1fr; opacity: 1; }
.doc-outline .og.open > .o2 { color: var(--fg); }
#api-nav.doc-outline { margin-left: 0; padding-left: 0; border-left: none; }
.doc-note { margin-bottom: 18px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--ink); color: var(--fg-muted); font-size: 13.5px; }

.md { min-width: 0; font-size: 15.5px; line-height: 1.7; }
.md h1 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 18px; }
.md h2 { font-size: 24px; margin: 44px 0 14px; padding-top: 8px; border-top: 1px solid var(--line); }
.md h3 { font-size: 18.5px; margin: 30px 0 10px; }
.md h4 { font-size: 16px; margin: 22px 0 8px; }
.md h2, .md h3, .md h4 { scroll-margin-top: 80px; }
.md p, .md ul, .md ol, .md table, .md pre, .md blockquote { margin: 0 0 16px; }
.md ul, .md ol { padding-left: 22px; }
.md li { margin: 4px 0; }
.md a { color: var(--accent); }
.md a:hover { text-decoration: underline; }
.md strong { color: #fff; }
.md code { font-family: var(--mono); font-size: .86em; padding: 2px 6px; border-radius: 6px; background: rgba(255,255,255,0.06); color: #c7f5ec; }
.md pre { background: #04060b; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; overflow-x: auto; }
.md pre code { padding: 0; background: none; color: var(--fg-muted); font-size: 13px; line-height: 1.65; }
.md blockquote { padding: 10px 16px; border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 0 12px 12px 0; color: var(--fg-muted); }
.md blockquote p { margin: 0; }
.md table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 14px; }
.md th, .md td { padding: 9px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.md th { background: var(--ink-2); font-weight: 600; white-space: nowrap; }
.md tr:nth-child(even) td { background: rgba(255,255,255,0.015); }
.md hr { border: none; border-top: 1px solid var(--line); margin: 32px 0; }
.md .anchor { margin-left: 8px; opacity: 0; color: var(--fg-dim); font-weight: 400; }
.md h2:hover .anchor, .md h3:hover .anchor { opacity: 1; }
.md .loading { color: var(--fg-dim); }

/* HTTP method badges (API page) */
.mth { display: inline-block; min-width: 54px; text-align: center; font: 700 11px var(--mono); padding: 3px 7px; border-radius: 6px; letter-spacing: .03em; margin-right: 2px; }
.mth.get { background: rgba(55,226,154,0.14); color: #5ff0b0; }
.mth.post { background: rgba(0,229,199,0.14); color: var(--accent); }
.mth.put { background: rgba(255,184,77,0.14); color: #ffc46b; }
.mth.delete { background: rgba(255,92,92,0.14); color: #ff8a8a; }
.mth.any { background: rgba(123,92,255,0.18); color: #b7a3ff; }
.api-hero { padding-block: 54px 10px; }
.api-hero h1 { font-size: clamp(34px, 5vw, 54px); margin-top: 16px; }
.api-hero p { margin-top: 14px; color: var(--fg-muted); max-width: 70ch; font-size: 16.5px; }
.api-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.api-facts span { font: 500 12.5px var(--mono); padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line-str); color: var(--fg-muted); }
.api-facts b { color: var(--accent); font-weight: 600; }
.hit-row td { box-shadow: inset 3px 0 0 var(--accent); }
.dim-row { opacity: .28; }
.doc-shell > main, .host > * , .hero > * { min-width: 0; }
@media (max-width: 480px) { .nav-cta { display: none; } }
html { overflow-x: clip; } .hero { position: relative; }

/* ======================================================================
   Motion (motion.js): living background, reveal on scroll, glowing cards,
   a chat mock that types. Off for prefers-reduced-motion.
   ====================================================================== */
.fx-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.fx-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,229,199,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,199,0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000 0%, transparent 72%);
          mask-image: radial-gradient(ellipse at 50% 20%, #000 0%, transparent 72%);
}
.fx-glow { position: absolute; border-radius: 50%; opacity: 0.32; will-change: transform; }
/* Soft gradients instead of filter: blur(110px): the same glow, without
   repainting a huge blur on every scroll frame. */
.fx-glow.g1 { width: 900px; height: 900px; background: radial-gradient(circle, var(--accent) 0%, transparent 62%); top: -420px; left: -400px; }
.fx-glow.g2 { width: 820px; height: 820px; background: radial-gradient(circle, var(--accent-2) 0%, transparent 62%); bottom: -420px; right: -380px; }
.fx-glow.g3 { width: 560px; height: 560px; background: radial-gradient(circle, #1fc7e0 0%, transparent 62%); top: 30%; left: 48%; opacity: 0.16; }
.fx-particles { position: absolute; inset: 0; }

nav { transition: background .3s ease, border-color .3s ease, box-shadow .3s ease; }
nav.scrolled { box-shadow: 0 10px 30px -18px rgba(0,0,0,.9); }

@media (prefers-reduced-motion: no-preference) {
  .fx-glow { animation: fx-float 16s ease-in-out infinite; }
  .fx-glow.g2 { animation-delay: -8s; }
  .fx-glow.g3 { animation-duration: 22s; animation-delay: -4s; }
  @keyframes fx-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(46px, 34px) scale(1.15); }
  }

  /* sections rise in */
  .js-motion .rv { opacity: 0; transform: translateY(16px); transition: opacity .38s cubic-bezier(.2,.7,.2,1), transform .38s cubic-bezier(.2,.7,.2,1); transition-delay: var(--rv-delay, 0ms); }
  .js-motion .rv.in { opacity: 1; transform: none; }

  /* hero */
  .hero h1 .grad { background-size: 220% 100%; animation: fx-shine 7s ease-in-out infinite; }
  @keyframes fx-shine { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
  .brand .logo { animation: fx-pulse 4.5s ease-in-out infinite; }
  @keyframes fx-pulse { 0%, 100% { box-shadow: 0 0 18px -4px var(--accent-glow); } 50% { box-shadow: 0 0 34px 0 var(--accent-glow); } }
  .mock { animation: fx-phone 6s ease-in-out infinite; }
  @keyframes fx-phone { 0%, 100% { transform: translateY(0) rotate(-.4deg); } 50% { transform: translateY(-14px) rotate(.4deg); } }
  .js-motion .mock-body > * { opacity: 0; transform: translateY(10px) scale(.96); transition: opacity .45s ease, transform .45s cubic-bezier(.2,.9,.3,1.2); }
  .js-motion .mock-body > .show { opacity: 1; transform: none; }
  .eyebrow .dot, .trust .dot { animation: fx-blip 2.4s ease-in-out infinite; }
  @keyframes fx-blip { 50% { opacity: .35; transform: scale(.7); } }

  /* buttons: lift + a sheen that sweeps across */
  .btn, .dl-btn, .nav-cta { position: relative; overflow: hidden; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease; }
  .btn:hover, .dl-btn:hover { transform: translateY(-2px); }
  .btn:active, .dl-btn:active { transform: translateY(0) scale(.98); }
  .btn-primary::after, .dl-btn::after {
    content: ""; position: absolute; inset: 0; transform: translateX(-120%);
    background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  }
  .btn-primary:hover::after, .dl-btn:hover::after { transform: translateX(120%); transition: transform .8s ease; }
}

/* the typing bubble of the mock */
.typing { display: flex; gap: 4px; align-self: flex-start; padding: 11px 13px; border-radius: 15px; border-bottom-left-radius: 5px; background: var(--ink-2); border: 1px solid var(--line); }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: fx-dots 1.3s infinite; }
.typing span:nth-child(2) { animation-delay: .18s; } .typing span:nth-child(3) { animation-delay: .36s; }
@keyframes fx-dots { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

/* cards: lift, glow and a spotlight that follows the cursor */
.card, .dl, .code, .note { position: relative; isolation: isolate; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.card::before, .dl::before, .code::before, .note::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(0,229,199,.12), transparent 60%);
}
.card:hover::before, .dl:hover::before, .code:hover::before, .note:hover::before { opacity: 1; }
.card:hover, .dl:hover { box-shadow: 0 0 0 1px rgba(0,229,199,.18), 0 18px 46px -22px var(--accent-glow); }
.dl:hover { transform: translateY(-4px); border-color: rgba(0,229,199,.35); }

/* ---------- Section rail (index): stays beside the page while it scrolls ---------- */
.sec-rail { position: fixed; left: max(14px, calc((100vw - 1120px) / 2 - 190px)); top: 50%; transform: translateY(-50%); z-index: 40;
  display: none; flex-direction: column; gap: 2px; padding: 10px 8px; border-radius: 16px;
  background: color-mix(in srgb, var(--void) 78%, transparent); border: 1px solid var(--line); }
@media (min-width: 1460px) { .sec-rail { display: flex; } }
.sec-rail a { display: flex; align-items: center; gap: 10px; padding: 7px 12px 7px 10px; border-radius: 10px; font-size: 13.5px; color: var(--fg-dim); white-space: nowrap; transition: color .2s, background .2s; }
.sec-rail a::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--line-str); transition: background .2s, box-shadow .2s, transform .2s; flex-shrink: 0; }
.sec-rail a:hover { color: var(--fg); background: rgba(255,255,255,0.03); }
.sec-rail a.on { color: var(--accent); }
.sec-rail a.on::before { background: var(--accent); box-shadow: 0 0 10px var(--accent); transform: scale(1.25); }

/* Selected text in Aquamarine's teal, not the system blue. */
::selection { background: rgba(0,229,199,.28); color: #fff; }

/* ======================================================================
   Tour: a carousel — arrows on both sides, dots, keys, swipe (index.html#tour)
   ====================================================================== */
.tour { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) 360px 56px; gap: 28px; align-items: center; outline: none; }
.tour-text { position: relative; display: grid; min-height: 260px; align-content: center; }
.tour-card { grid-area: 1 / 1; padding: 30px 30px 28px; border-radius: 22px; border: 1px solid rgba(0,229,199,.32); background: color-mix(in srgb, var(--ink) 86%, transparent);
  box-shadow: 0 24px 60px -36px var(--accent-glow); opacity: 0; transform: translateX(var(--from, 30px)); pointer-events: none;
  transition: opacity .35s ease, transform .45s cubic-bezier(.2,.8,.2,1); }
.tour-card.on { opacity: 1; transform: none; pointer-events: auto; }
.tour-n { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: .08em; }
.tour-card h3 { font-size: 26px; margin: 6px 0 10px; }
.tour-card p { color: var(--fg-muted); font-size: 16px; }
.tour-dots { grid-area: 2 / 1; display: flex; gap: 8px; justify-content: center; margin-top: 22px; }
.tour-dots button { width: 9px; height: 9px; padding: 0; border-radius: 99px; border: none; background: var(--line-str); cursor: pointer; transition: width .3s, background .3s; }
.tour-dots button.on { width: 28px; background: var(--accent); }
.tour-arrow { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-str); background: color-mix(in srgb, var(--ink) 80%, transparent);
  color: var(--fg); display: grid; place-items: center; cursor: pointer; transition: border-color .2s, transform .2s, background .2s; z-index: 6; }
.tour-arrow svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tour-arrow:hover { border-color: var(--accent); background: var(--accent-soft); transform: scale(1.06); }
.tour-arrow:active { transform: scale(.94); }
.tour-stage { position: relative; }
.tour-phone { position: relative; height: 580px; border-radius: 34px; overflow: hidden; border: 1px solid var(--line-str); cursor: grab; touch-action: pan-y;
  background: radial-gradient(500px 260px at 80% -10%, rgba(123,92,255,.18), transparent 60%), linear-gradient(170deg, var(--ink), var(--void));
  box-shadow: 0 50px 100px -40px rgba(0,0,0,.85), 0 0 70px -34px var(--violet-glow); }
.tour-phone .tp-progress { position: absolute; left: 0; top: 0; height: 2px; background: var(--accent); z-index: 3; width: 0; }
.tour.playing .tour-phone .tp-progress { animation: tp-prog var(--auto, 7s) linear forwards; }
@keyframes tp-prog { to { width: 100%; } }
.tp-bar { display: flex; align-items: center; gap: 12px; padding: 16px 18px 13px; border-bottom: 1px solid var(--line); }
.tp-screen { position: absolute; inset: 66px 0 0; display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .4s ease, transform .45s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.tour-phone[data-on="gif"] [data-screen="gif"],
.tour-phone[data-on="emoji"] [data-screen="emoji"],
.tour-phone[data-on="stickers"] [data-screen="stickers"],
.tour-phone[data-on="rooms"] [data-screen="rooms"],
.tour-phone[data-on="profile"] [data-screen="profile"],
.tour-phone[data-on="calls"] [data-screen="calls"],
.tour-phone[data-on="storage"] [data-screen="storage"],
.tour-phone[data-on="new"] [data-screen="new"],
.tour-phone[data-on="whatsnew"] [data-screen="whatsnew"] { opacity: 1; transform: none; }
.tp-msgs { display: flex; flex-direction: column; gap: 10px; padding: 18px 16px; }
img.ae { width: 20px; height: 20px; vertical-align: -4px; margin: 0 1px; }
img.ae.sm { width: 16px; height: 16px; vertical-align: -3px; }
img.es { width: 17px; height: 17px; vertical-align: -3px; margin-left: 3px; }
.tp-ava.img { background: #1b2030; object-fit: cover; }
.tp-bar .tp-ava, .tp-bar img.tp-ava { width: 38px; height: 38px; border-radius: 50%; }
/* GIFs */
.gif { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: #10141f; display: grid; place-items: center; }
.gif img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gif.emo img { width: 70%; height: 70%; object-fit: contain; }
.gif span { position: absolute; left: 8px; bottom: 6px; font: 700 10px var(--mono); color: #fff; background: rgba(0,0,0,.45); padding: 2px 6px; border-radius: 6px; }
.tp-gif-sent { align-self: flex-end; width: 62%; }
.tp-picker { margin: 0 10px 12px; padding: 10px; border-radius: 16px; border: 1px solid var(--line); background: rgba(8,10,16,.85); }
.tp-search { font-size: 13px; color: var(--fg-dim); padding: 7px 10px; border-radius: 10px; background: var(--ink-2); margin-bottom: 8px; }
.tp-typed::after { content: attr(data-text); color: var(--fg); }
.tp-gifs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.tp-big { align-self: flex-start; } .tp-big img { width: 72px; height: 72px; }
.tp-reacts { display: flex; gap: 6px; align-self: flex-end; }
.rx { font-size: 12.5px; padding: 3px 9px 3px 5px; border-radius: 999px; background: var(--accent-soft); border: 1px solid rgba(0,229,199,.25); color: var(--fg); display: inline-flex; align-items: center; gap: 3px; }
.tp-emoji-bar { display: flex; justify-content: space-around; margin: 0 10px 12px; padding: 10px 6px; border-radius: 16px; border: 1px solid var(--line); background: rgba(8,10,16,.85); }
.tp-emoji-bar img { width: 30px; height: 30px; object-fit: contain; }
.tp-sticker-sent { align-self: flex-end; filter: drop-shadow(0 10px 18px rgba(0,0,0,.5)); }
.tp-sticker-sent img, .tp-sticker-sent video { width: 130px; height: 130px; object-fit: contain; display: block; }
.tp-stickers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0 10px 12px; padding: 12px; border-radius: 16px; border: 1px solid var(--line); background: rgba(8,10,16,.85); }
.tp-stickers .st { aspect-ratio: 1; display: grid; place-items: center; border-radius: 12px; padding: 4px; }
.tp-stickers .st img, .tp-stickers .st video { width: 100%; height: 100%; object-fit: contain; }
.tp-stickers .st:first-child { background: var(--accent-soft); }
/* rooms */
.tp-rooms { display: flex; height: 100%; }
.tp-rail { display: flex; flex-direction: column; gap: 10px; padding: 14px 10px; border-right: 1px solid var(--line); }
.srv { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; font: 700 13px var(--body); font-style: normal; background: var(--ink-2); color: var(--fg-muted); }
.srv.on { background: linear-gradient(135deg, #00E5C7, #7B5CFF); color: #04060b; box-shadow: 0 0 0 3px var(--accent-soft); }
.srv.add { color: var(--accent); border: 1px dashed var(--line-str); background: none; }
.tp-roomlist { flex: 1; padding: 14px 10px; display: flex; flex-direction: column; gap: 4px; }
.tp-roomlist small { color: var(--fg-dim); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; margin: 0 6px 6px; }
.room { padding: 9px 10px; border-radius: 10px; font-size: 14px; color: var(--fg-muted); display: flex; align-items: center; gap: 6px; }
.room.on { background: var(--accent-soft); color: var(--fg); }
.room b { margin-left: auto; font-size: 11px; background: var(--accent); color: #04060b; border-radius: 99px; padding: 1px 7px; }
.room em { margin-left: auto; display: flex; } .room em img { width: 20px; height: 20px; border-radius: 50%; margin-left: -6px; border: 2px solid var(--ink); }
/* profile */
.tp-prof { margin: 14px; border-radius: 22px; overflow: hidden; background: linear-gradient(160deg, #2a1f4f, #0f2b33); padding-bottom: 18px; text-align: center; }
.tp-banner { height: 92px; background: linear-gradient(120deg, #7B5CFF, #00E5C7); display: flex; justify-content: space-around; align-items: center; opacity: .95; }
.tp-banner img { width: 26px; height: 26px; opacity: .55; }
.tp-pava { position: relative; z-index: 1; width: 86px; height: 86px; margin: -43px auto 0; display: block; border: 4px solid #1d1838; background: #b6e3f4; border-radius: var(--pr, 50%); transition: border-radius .6s; }
.tp-pname { font: 800 20px var(--display); margin-top: 8px; } .tp-pname img.es { width: 22px; height: 22px; vertical-align: -4px; }
.tp-psub { color: var(--fg-muted); font-size: 12.5px; margin-top: 2px; }
.tp-shapes { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 16px; }
.tp-shapes img { width: 40px; height: 40px; border-radius: var(--pr, 50%); transition: border-radius .6s; background: #ffd5dc; }
.tp-slider { width: 90px; height: 4px; border-radius: 4px; background: var(--line-str); position: relative; }
.tp-slider i { position: absolute; top: -6px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); left: var(--sx, 0%); transition: left .6s; }
/* calls */
.tp-call { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px; height: 100%; align-content: start; }
.tile { aspect-ratio: 1; border-radius: 16px; background: #141a28; display: grid; place-items: center; position: relative; }
.tile img.tp-ava { width: 64px; height: 64px; border-radius: 50%; }
.tile small { position: absolute; left: 8px; bottom: 6px; font-size: 11.5px; color: var(--fg-muted); }
.tile.talk img.tp-ava, .tile.talk2 img.tp-ava { box-shadow: 0 0 0 3px var(--accent); }
.tile.screen { background: linear-gradient(135deg, #1d2440, #0d1a22); color: var(--fg-dim); font-size: 13px; }
.tp-callbar { grid-column: 1 / -1; display: flex; justify-content: center; gap: 12px; margin-top: 8px; }
.tp-callbar i { width: 46px; height: 46px; border-radius: 50%; background: var(--ink-2); display: grid; place-items: center; font-style: normal; }
.tp-callbar i.end { background: #ff4d5e; color: #fff; font-weight: 800; }
/* storage */
.tp-store { padding: 20px 16px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.donut { width: 190px; height: 190px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(#00E5C7 0 52%, transparent 52% 52.6%, #7B5CFF 52.6% 73%, transparent 73% 73.6%, #ff6bd6 73.6% 85%, transparent 85% 85.6%, #ffb347 85.6% 100%); }
.donut .hole { width: 120px; height: 120px; border-radius: 50%; background: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.donut b { font: 800 20px var(--display); } .donut small { color: var(--fg-dim); font-size: 11px; }
.legend { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; font-size: 13px; color: var(--fg-muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }
.from { font-size: 12.5px; color: var(--fg-dim); } .from b { color: var(--fg); }
/* chats */
.tp-list { display: flex; flex-direction: column; padding: 10px 8px; gap: 2px; }
.tp-row { display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 14px; }
.tp-row.alt { background: rgba(0,0,0,.28); }
.tp-row.sel { background: var(--accent-soft); }
.tp-ava { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #06070c; flex-shrink: 0; }
.tp-stack { position: relative; width: 40px; height: 40px; flex-shrink: 0; }
.tp-stack i { position: absolute; width: 28px; height: 28px; border-radius: 30%; border: 2px solid var(--ink); background: linear-gradient(135deg, #00E5C7, #7B5CFF); }
.tp-stack i:first-child { left: 0; top: 0; } .tp-stack i:last-child { right: 0; bottom: 0; background: linear-gradient(135deg, #7B5CFF, #ff6bd6); }
.tp-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tp-txt b { font-size: 14px; } .tp-txt b em { font-style: normal; font-size: 11px; padding: 0 6px; border-radius: 999px; background: var(--line); color: var(--fg-muted); margin-left: 4px; }
.tp-txt small { font-size: 12.5px; color: var(--fg-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: #04060b; font: 700 11.5px var(--body); display: grid; place-items: center; }
.tp-check { width: 18px; height: 18px; border-radius: 50%; background: var(--accent); color: #04060b; font-size: 11px; font-weight: 800; display: grid; place-items: center; flex-shrink: 0; }
/* what's new */
.tp-wn { margin: 14px; border-radius: 18px; border: 1px solid var(--line-str); background: var(--ink); overflow: hidden; }
.wn-h { display: flex; flex-direction: column; align-items: center; padding: 12px; border-bottom: 1px solid var(--line); } .wn-h small { color: var(--fg-dim); font-size: 11.5px; }
.wn-art { margin: 12px; height: 110px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff;
  background: radial-gradient(120% 140% at 0% 0%, #00E5C7 0%, transparent 55%), radial-gradient(120% 140% at 100% 100%, #7B5CFF 0%, transparent 60%), #0b1020; }
.wn-art b { font: 900 38px var(--display); } .wn-art span { font-size: 10px; letter-spacing: .3em; opacity: .85; }
.tp-wn ul { margin: 4px 16px 10px 34px; font-size: 13px; color: var(--fg-muted); display: grid; gap: 5px; }
.wn-foot { font-size: 11.5px; color: var(--fg-dim); border-top: 1px solid var(--line); padding: 10px 16px; }
@media (prefers-reduced-motion: no-preference) {
  .tour-phone[data-on="gif"] .tp-gif-sent { animation: tp-fly .7s 1.2s cubic-bezier(.2,.9,.25,1.15) both; }
  .tour-phone[data-on="emoji"] .rx-new { animation: tp-pop .5s .9s cubic-bezier(.2,.9,.25,1.4) both; }
  .tour-phone[data-on="stickers"] .tp-sticker-sent { animation: tp-fly .7s .8s cubic-bezier(.2,.9,.25,1.15) both, tp-wiggle 2.4s 1.6s ease-in-out infinite; }
  .tour-phone[data-on="new"] .tp-row, .tour-phone[data-on="rooms"] .room { animation: tp-rise .45s cubic-bezier(.2,.8,.2,1) both; }
  .tour-phone[data-on="new"] .tp-row:nth-child(2), .tour-phone[data-on="rooms"] .room:nth-child(3) { animation-delay: .07s; }
  .tour-phone[data-on="new"] .tp-row:nth-child(3), .tour-phone[data-on="rooms"] .room:nth-child(4) { animation-delay: .14s; }
  .tour-phone[data-on="new"] .tp-row:nth-child(4), .tour-phone[data-on="rooms"] .room:nth-child(5) { animation-delay: .21s; }
  .tour-phone[data-on="new"] .tp-row:nth-child(5), .tour-phone[data-on="rooms"] .room:nth-child(6) { animation-delay: .28s; }
  .tour-phone[data-on="new"] .tp-row:nth-child(6), .tour-phone[data-on="rooms"] .room:nth-child(7) { animation-delay: .35s; }
  .tour-phone[data-on="profile"] .tp-prof { animation: shape 4s ease-in-out infinite; }
  .tour-phone[data-on="calls"] .tile.talk img.tp-ava { animation: talk 1.2s ease-in-out infinite; }
  .tour-phone[data-on="calls"] .tile.talk2 img.tp-ava { animation: talk 1.2s .5s ease-in-out infinite; }
  .tour-phone[data-on="storage"] .donut { animation: tp-spin-in .9s cubic-bezier(.2,.8,.2,1) both; }
  .tour-phone[data-on="whatsnew"] .tp-wn { animation: tp-fly .6s .2s cubic-bezier(.2,.9,.25,1.15) both; }
}
@keyframes shape { 0%, 100% { --pr: 50%; --sx: 0%; } 45%, 55% { --pr: 18%; --sx: 80%; } }
@property --pr { syntax: "<percentage>"; inherits: true; initial-value: 50%; }
@property --sx { syntax: "<percentage>"; inherits: true; initial-value: 0%; }
@keyframes talk { 50% { box-shadow: 0 0 0 6px rgba(0,229,199,.35); } }
@keyframes tp-spin-in { from { opacity: 0; transform: rotate(-90deg) scale(.7); } }
@keyframes tp-fly { from { opacity: 0; transform: translateY(80px) scale(.7); } }
@keyframes tp-pop { from { opacity: 0; transform: scale(.3); } }
@keyframes tp-wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-7deg); } 75% { transform: rotate(7deg); } }
@keyframes tp-rise { from { opacity: 0; transform: translateY(14px); } }
@media (max-width: 900px) {
  /* Phone: the phone on top, its card under it, arrows over the phone's sides. */
  .tour { grid-template-columns: 1fr; gap: 18px; }
  .tour-stage { order: -1; display: flex; justify-content: center; }
  .tour-phone { width: min(330px, 100%); height: 470px; }
  .tour-phone .tp-screen { inset: 60px 0 0; }
  .tour-arrow { position: absolute; top: 215px; width: 44px; height: 44px; }
  .tour-arrow.prev { left: 0; } .tour-arrow.next { right: 0; }
  .tour-card { padding: 22px; }
  .tour-card h3 { font-size: 22px; }
  .tour-text { min-height: 230px; align-content: start; }
}

/* Cursor (motion.js): a small translucent teal dot instead of the arrow,
   a thin comet tail behind it; the normal cursor comes back over fields and
   while text is selected. */
.fx-trail { position: fixed; inset: 0; z-index: 70; pointer-events: none; }
html.fx-cursor, html.fx-cursor * { cursor: none !important; }
.fx-dot { position: fixed; left: 0; top: 0; z-index: 71; pointer-events: none; width: 0; height: 0; opacity: 0; transition: opacity .15s ease; }
.fx-dot::before { content: ""; position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%;
  background: rgba(0,229,199,.32); box-shadow: 0 0 0 1px rgba(0,229,199,.55) inset, 0 0 12px rgba(0,229,199,.35);
  transition: transform .18s cubic-bezier(.22,1,.36,1), background .18s ease; }
.fx-dot.on { opacity: 1; }
.fx-dot.big::before { transform: scale(1.6); background: rgba(0,229,199,.18); }
.fx-dot.press::before { transform: scale(.8); }
.fx-toggle { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border-radius: 9px; border: 1px solid var(--line-str);
  background: transparent; color: var(--accent); cursor: pointer; flex-shrink: 0; }
.fx-toggle svg { width: 17px; height: 17px; }
.fx-toggle.off { color: var(--fg-dim); }
.fx-toggle:hover { border-color: var(--accent); }

/* footer contacts */
.foot-contacts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; flex-basis: 100%; }
.foot-contacts .fc-h { color: var(--fg-dim); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin-right: 4px; }
.foot-contacts a { display: inline-flex; align-items: center; gap: 7px; color: var(--fg-muted); font-size: 14px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); transition: color .2s, border-color .2s; }
.foot-contacts a:hover { color: var(--accent); border-color: var(--accent); }
.foot-contacts svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }
.foot-credits { display: block; margin-top: 6px; font-size: 12px; opacity: .75; }
