/* =========================================================
   AGRODONRIELT — design system
   Light "editorial / fintech" theme · paper + ink + red
   Shared across index, privacy, terms
   ========================================================= */

:root {
  --accent: #E5341A;
  --accent-deep: #C32A12;
  --ink: #16140F;
  --paper: #F2EDE3;
  --paper-2: #FBF8F1;
  --white: #ffffff;
  --muted: #6E675A;
  --muted-d: #C9C2B4;     /* muted text on dark */
  --border: #E2DACB;
  --green: #1F8A4C;
  --amber: #C9821C;

  --f-display: "Bricolage Grotesque", system-ui, sans-serif;
  --f-body: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --wrap: 1240px;
}

/* ---------- reset / base ---------- */
* { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--ink); color: var(--paper); }

@keyframes adPulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes adRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; } }

/* ---------- language visibility (used on legal pages) ---------- */
html[data-lang="en"] .lng-ru { display: none !important; }
html[data-lang="ru"] .lng-en { display: none !important; }

/* ---------- layout ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.kicker {
  font-family: var(--f-mono); font-size: 12px; font-weight: 600;
  letter-spacing: .14em; color: var(--accent-deep);
}
.section-title {
  font-family: var(--f-display); font-weight: 800; letter-spacing: -.02em;
  font-size: clamp(30px, 4.4vw, 52px); line-height: 1.04; margin-top: 16px;
  text-wrap: balance;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 16px; padding: 15px 24px; border-radius: 11px;
  border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .25s;
}
.btn .arr { font-family: var(--f-mono); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 12px 26px -12px rgba(229,52,26,.75); }
.btn-primary:hover { background: var(--accent-deep); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: #fff; color: var(--ink); font-weight: 700; }
.btn-light:hover { background: var(--paper); }
.btn-glass { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.4); }
.btn-glass:hover { background: rgba(255,255,255,.24); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(242,237,227,.92);
  backdrop-filter: saturate(1.1) blur(6px); -webkit-backdrop-filter: saturate(1.1) blur(6px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 8px 24px -16px rgba(22,20,15,.3); }
.header-inner { max-width: var(--wrap); margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; color: inherit; }
.brand-mark { display: inline-flex; align-items: flex-end; gap: 3px; height: 26px; padding: 5px 6px; background: var(--ink); border-radius: 7px; }
.brand-mark i { width: 3px; border-radius: 1px; display: block; }
.brand-mark .b1 { height: 8px; background: var(--accent); }
.brand-mark .b2 { height: 15px; background: var(--paper); }
.brand-mark .b3 { height: 11px; background: var(--paper); }
.brand-mark .b4 { height: 18px; background: var(--accent); }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name b { font-family: var(--f-display); font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.brand-name small { font-family: var(--f-mono); font-size: 10px; letter-spacing: .16em; color: var(--muted); margin-top: 3px; }

.nav-desktop { display: flex; align-items: center; gap: 30px; }
.nav-desktop > a { font-weight: 500; font-size: 15px; transition: color .2s; }
.nav-desktop > a:hover { color: var(--accent-deep); }

/* language switcher */
.lang { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 7px; background: transparent;
  border: 1px solid var(--border); border-radius: 999px; padding: 7px 12px;
  font-family: var(--f-mono); font-weight: 600; font-size: 12px; letter-spacing: .06em; color: var(--ink);
  transition: border-color .2s;
}
.lang-btn:hover { border-color: var(--ink); }
.lang-btn .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.lang-btn .car { font-size: 9px; color: var(--muted); transition: transform .2s; }
.lang.open .lang-btn .car { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: 46px; right: 0; background: #fff; border: 1px solid var(--border);
  border-radius: 12px; box-shadow: 0 18px 40px -16px rgba(22,20,15,.28); padding: 6px; min-width: 132px; z-index: 70;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .16s ease;
}
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu button {
  width: 100%; text-align: left; background: transparent; border: none; border-radius: 8px;
  padding: 9px 11px; font-family: var(--f-mono); font-size: 12px; font-weight: 600; color: var(--ink);
  display: flex; justify-content: space-between; gap: 12px; transition: background .15s;
}
.lang-menu button:hover, .lang-menu button.active { background: var(--paper); }
.lang-menu button span { color: var(--muted); font-family: var(--f-body); }

.nav-cta { background: var(--accent); color: #fff; font-weight: 600; font-size: 15px; padding: 11px 18px; border-radius: 10px; box-shadow: 0 8px 18px -10px rgba(229,52,26,.7); transition: background .2s; }
.nav-cta:hover { background: var(--accent-deep); }

/* mobile header controls */
.nav-mobile { display: none; align-items: center; gap: 10px; }
.lang-btn-m { background: transparent; border: 1px solid var(--border); border-radius: 999px; padding: 8px 12px; font-family: var(--f-mono); font-weight: 600; font-size: 12px; color: var(--ink); }
.hamburger { width: 42px; height: 42px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; background: var(--ink); border: none; border-radius: 10px; }
.hamburger i { width: 18px; height: 2px; border-radius: 2px; display: block; }
.hamburger i:nth-child(1), .hamburger i:nth-child(2) { background: var(--paper); }
.hamburger i:nth-child(3) { background: var(--accent); }

/* mobile fullscreen menu */
.mobile-menu { position: fixed; inset: 0; z-index: 90; background: var(--ink); color: var(--paper); padding: 24px; display: none; flex-direction: column; animation: adRise .25s ease; }
.mobile-menu.open { display: flex; }
.mobile-menu-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 38px; }
.mobile-menu-top b { font-family: var(--f-display); font-weight: 800; font-size: 18px; }
.mobile-close { width: 42px; height: 42px; background: rgba(242,237,227,.12); border: none; border-radius: 10px; color: var(--paper); font-size: 20px; }
.mobile-menu a.m-link { color: var(--paper); font-family: var(--f-display); font-weight: 700; font-size: 30px; padding: 14px 0; border-bottom: 1px solid rgba(242,237,227,.14); }
.mobile-menu a.m-cta { margin-top: auto; text-align: center; justify-content: center; background: var(--accent); color: #fff; font-weight: 600; font-size: 17px; padding: 16px; border-radius: 12px; }

/* ---------- hero ---------- */
.hero { max-width: var(--wrap); margin: 0 auto; padding: clamp(40px,6vw,84px) 24px clamp(30px,4vw,56px); }
.hero-grid { display: flex; flex-wrap: wrap; gap: clamp(32px,5vw,64px); align-items: center; }
.hero-copy { flex: 1 1 440px; min-width: 300px; }
.pill-kicker {
  display: inline-flex; align-items: center; gap: 9px; font-family: var(--f-mono);
  font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--accent-deep);
  background: rgba(229,52,26,.08); border: 1px solid rgba(229,52,26,.2); padding: 7px 13px; border-radius: 999px;
}
.pill-kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: adPulse 1.6s infinite; }
.hero h1 { font-family: var(--f-display); font-weight: 800; font-size: clamp(38px,6vw,70px); line-height: 1.02; letter-spacing: -.025em; margin-top: 22px; text-wrap: balance; }
.hero .lead { font-size: clamp(17px,1.5vw,20px); color: var(--muted); max-width: 540px; margin-top: 22px; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { display: flex; align-items: center; gap: 9px; margin-top: 24px; font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.hero-note .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

/* dashboard visual */
.hero-visual { flex: 1 1 460px; min-width: 300px; }
.dash { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 30px 70px -34px rgba(22,20,15,.4), 0 2px 6px rgba(22,20,15,.05); overflow: hidden; }
.dash-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--border); background: var(--paper-2); }
.dash-head .ttl { display: flex; align-items: center; gap: 9px; }
.mini-bars { display: inline-flex; align-items: flex-end; gap: 2px; }
.mini-bars i { width: 3px; border-radius: 1px; display: block; }
.dash-head b { font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; }
.live { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 11px; color: var(--green); }
.live .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: adPulse 1.4s infinite; }
.dash-body { padding: 18px; }
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px,1fr)); gap: 10px; }
.metric { background: var(--paper); border-radius: 12px; padding: 12px 13px; }
.metric .k { font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; color: var(--muted); }
.metric .v { font-family: var(--f-display); font-weight: 700; font-size: 22px; margin-top: 4px; }
.metric .v.accent { color: var(--accent-deep); }
.metric .d { font-family: var(--f-mono); font-size: 11px; }
.metric .d.up { color: var(--green); } .metric .d.down { color: var(--amber); }
.chart-box { margin-top: 14px; border: 1px solid var(--border); border-radius: 12px; padding: 14px 14px 6px; background: #fff; }
.chart-box .ch-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.chart-box .ch-head small { font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; color: var(--muted); }
.chart-box .ch-head .scal { color: var(--accent-deep); letter-spacing: 0; }
.ai-note { margin-top: 12px; display: flex; gap: 10px; align-items: flex-start; background: var(--ink); color: var(--paper); border-radius: 12px; padding: 13px 14px; }
.ai-badge { flex: none; font-family: var(--f-mono); font-size: 10px; font-weight: 700; letter-spacing: .08em; background: var(--accent); color: #fff; padding: 4px 7px; border-radius: 6px; margin-top: 1px; }
.ai-note p { font-size: 13px; line-height: 1.5; }

/* ---------- trust ---------- */
.trust { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--paper-2); }
.trust-inner { max-width: var(--wrap); margin: 0 auto; padding: 22px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 40px; justify-content: space-between; }
.trust-inner .lbl { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; color: var(--muted); max-width: 230px; }
.trust-items { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.trust-items span { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15px; }
.trust-items .sq { width: 9px; height: 9px; border-radius: 2px; }
.trust-items .ci { width: 9px; height: 9px; border-radius: 50%; }

/* ---------- features ---------- */
.features { max-width: var(--wrap); margin: 0 auto; padding: clamp(56px,8vw,104px) 24px; }
.features .head { max-width: 680px; }
.feat-hero { margin-top: 40px; background: var(--ink); color: var(--paper); border-radius: 20px; padding: clamp(24px,3.5vw,40px); display: flex; flex-wrap: wrap; gap: 32px; align-items: center; overflow: hidden; }
.feat-hero .col { flex: 1 1 320px; }
.feat-hero .tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; }
.feat-hero .tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: adPulse 1.6s infinite; }
.feat-hero h3 { font-family: var(--f-display); font-weight: 700; font-size: clamp(24px,3vw,34px); letter-spacing: -.01em; margin-top: 14px; }
.feat-hero p { color: var(--muted-d); font-size: 16px; max-width: 420px; margin-top: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips span { font-family: var(--f-mono); font-size: 12px; background: rgba(242,237,227,.1); border: 1px solid rgba(242,237,227,.18); padding: 6px 11px; border-radius: 8px; }
.chips span.hot { background: rgba(229,52,26,.18); border-color: rgba(229,52,26,.4); color: #fff; }
.feat-bars { flex: 1 1 280px; display: flex; align-items: flex-end; gap: 9px; height: 170px; padding: 18px; background: rgba(242,237,227,.05); border: 1px solid rgba(242,237,227,.12); border-radius: 14px; }
.feat-bars i { flex: 1; border-radius: 4px 4px 0 0; background: rgba(242,237,227,.5); }
.feat-bars i.hot { background: var(--accent); }

.feat-grid { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; }
.fcard { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 26px; box-shadow: 0 1px 2px rgba(22,20,15,.04); transition: transform .2s, box-shadow .2s; }
.fcard:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(22,20,15,.25); }
.fcard.c-md { flex: 1 1 340px; }
.fcard.c-sm { flex: 1 1 240px; }
.fcard.c-wide { flex: 1 1 520px; background: var(--paper); display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.fcard .tag { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; color: var(--muted); }
.fcard h3 { font-family: var(--f-display); font-weight: 700; font-size: 23px; margin-top: 12px; letter-spacing: -.01em; }
.fcard.c-sm h3 { font-size: 21px; }
.fcard p { color: var(--muted); font-size: 15px; margin-top: 10px; }
.ai-inline { margin-top: 16px; background: var(--paper); border-radius: 10px; padding: 11px 13px; display: flex; gap: 9px; align-items: flex-start; }
.ai-inline .ai-badge { padding: 3px 6px; border-radius: 5px; }
.ai-inline span.tx { font-size: 13px; line-height: 1.45; color: var(--ink); }
.act-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.act-chips span { font-family: var(--f-mono); font-size: 12px; border: 1px solid var(--border); padding: 6px 10px; border-radius: 8px; }
.feat-alert { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-family: var(--f-mono); font-size: 12px; color: var(--accent-deep); }
.feat-alert .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: adPulse 1.5s infinite; }
.fcard .wcol { flex: 1 1 260px; }
.checks { flex: 1 1 180px; display: flex; flex-direction: column; gap: 8px; }
.checks span { display: flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--border); border-radius: 9px; padding: 9px 12px; font-size: 14px; font-weight: 500; }
.checks span .ok { color: var(--green); }

/* ---------- how it works ---------- */
.how { background: var(--ink); color: var(--paper); }
.how-inner { max-width: var(--wrap); margin: 0 auto; padding: clamp(56px,8vw,104px) 24px; }
.how .kicker { color: var(--accent); }
.how .head { max-width: 680px; }
.steps { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 44px; }
.step { flex: 1 1 280px; background: rgba(242,237,227,.05); border: 1px solid rgba(242,237,227,.14); border-radius: 18px; padding: 28px; }
.step .num { font-family: var(--f-display); font-weight: 800; font-size: 54px; color: var(--accent); line-height: 1; }
.step h3 { font-family: var(--f-display); font-weight: 700; font-size: 22px; margin-top: 10px; }
.step p { color: var(--muted-d); font-size: 15px; margin-top: 10px; }
.step .code { margin-top: 16px; font-family: var(--f-mono); font-size: 11px; background: rgba(242,237,227,.06); border-radius: 8px; padding: 8px 10px; color: var(--muted-d); }
.step .code.hot { background: rgba(229,52,26,.16); border: 1px solid rgba(229,52,26,.34); color: #fff; }

/* ---------- security ---------- */
.security { max-width: var(--wrap); margin: 0 auto; padding: clamp(56px,8vw,104px) 24px; }
.sec-grid { display: flex; flex-wrap: wrap; gap: 48px; }
.sec-left { flex: 1 1 320px; min-width: 280px; }
.sec-left .lead { color: var(--muted); font-size: 17px; margin-top: 18px; max-width: 420px; }
.dont { margin-top: 26px; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.dont .dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; color: var(--accent-deep); margin-bottom: 12px; }
.dont ul { display: flex; flex-direction: column; gap: 10px; }
.dont li { display: flex; gap: 10px; font-size: 15px; align-items: flex-start; }
.dont li .x { flex: none; color: var(--accent); font-weight: 700; }
.sec-right { flex: 1 1 380px; min-width: 280px; }
.perm-label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; color: var(--muted); margin-bottom: 14px; }
.perm-list { display: flex; flex-direction: column; gap: 12px; }
.perm { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; display: flex; gap: 16px; align-items: flex-start; }
.perm .key { flex: none; font-family: var(--f-mono); font-size: 12px; font-weight: 700; background: var(--ink); color: var(--paper); padding: 6px 9px; border-radius: 7px; }
.perm .key.accent { background: var(--accent); color: #fff; }
.perm b { font-size: 15px; }
.perm p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.sec-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 600; font-size: 15px; color: var(--ink); border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.sec-link .arr { font-family: var(--f-mono); }

/* ---------- FAQ ---------- */
.faq { background: var(--paper-2); border-top: 1px solid var(--border); }
.faq-inner { max-width: 880px; margin: 0 auto; padding: clamp(56px,8vw,104px) 24px; }
.faq h2 { margin-bottom: 36px; }
.qa-list { display: flex; flex-direction: column; gap: 12px; }
.qa { background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.qa-q { width: 100%; text-align: left; background: transparent; border: none; padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 18px; font-family: var(--f-display); font-weight: 700; font-size: clamp(16px,2vw,19px); color: var(--ink); }
.qa-ic { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--paper); color: var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--f-mono); font-size: 16px; transition: background .2s, color .2s; }
.qa.open .qa-ic { background: var(--accent); color: #fff; }
.qa-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.qa-a p { margin: 0; padding: 0 22px 22px; color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 680px; }

/* ---------- CTA ---------- */
.cta { max-width: var(--wrap); margin: 0 auto; padding: clamp(56px,8vw,100px) 24px; }
.cta-box { background: var(--accent); color: #fff; border-radius: 24px; padding: clamp(36px,6vw,72px); position: relative; overflow: hidden; }
.cta-deco { position: absolute; right: -30px; bottom: -30px; display: flex; align-items: flex-end; gap: 8px; opacity: .18; }
.cta-deco i { width: 14px; background: #fff; border-radius: 3px; display: block; }
.cta-box .inner { position: relative; max-width: 620px; }
.cta-box h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(30px,5vw,56px); line-height: 1.03; letter-spacing: -.02em; text-wrap: balance; }
.cta-box p { font-size: clamp(16px,1.6vw,19px); opacity: .92; margin-top: 18px; max-width: 480px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-d); }
.footer-top { max-width: var(--wrap); margin: 0 auto; padding: clamp(44px,6vw,72px) 24px 36px; display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.footer-brand { flex: 1 1 280px; max-width: 340px; }
.footer-brand .top { display: flex; align-items: center; gap: 12px; }
.footer-brand .mark { display: inline-flex; align-items: flex-end; gap: 3px; height: 26px; padding: 5px 6px; background: rgba(242,237,227,.1); border-radius: 7px; }
.footer-brand .mark i { width: 3px; border-radius: 1px; display: block; }
.footer-brand b { font-family: var(--f-display); font-weight: 800; font-size: 18px; color: var(--paper); }
.footer-brand p { font-size: 14px; margin-top: 16px; max-width: 300px; }
.footer-tags { display: flex; gap: 10px; margin-top: 18px; font-family: var(--f-mono); font-size: 11px; flex-wrap: wrap; }
.footer-tags span { border: 1px solid rgba(242,237,227,.18); border-radius: 7px; padding: 6px 9px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 40px; }
.footer-cols .h { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; color: #7d766a; margin-bottom: 14px; }
.footer-cols .col div.lnk { display: flex; flex-direction: column; gap: 10px; }
.footer-cols a, .footer-cols .lnk > span { color: var(--muted-d); font-size: 15px; transition: color .2s; }
.footer-address { line-height: 1.5; }
.footer-cols a:hover { color: var(--paper); }
.footer-bottom { border-top: 1px solid rgba(242,237,227,.12); }
.footer-bottom .inner { max-width: var(--wrap); margin: 0 auto; padding: 18px 24px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; font-family: var(--f-mono); font-size: 11px; color: #7d766a; }

/* ---------- responsive nav swap ---------- */
@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .nav-mobile { display: flex; }
}

/* ---------- legal pages ---------- */
.legal-hero { max-width: var(--wrap); margin: 0 auto; padding: clamp(44px,6vw,84px) 24px 22px; }
.legal-hero h1 { font-family: var(--f-display); font-weight: 800; font-size: clamp(32px,4.6vw,52px); letter-spacing: -.02em; margin-top: 16px; }
.legal-hero .upd { font-family: var(--f-mono); font-size: 12px; color: var(--muted); margin-top: 10px; }
.legal { max-width: 860px; margin: 0 auto; padding: 0 24px clamp(60px,8vw,96px); }
.toc { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 20px 22px; margin-bottom: 26px; }
.toc .h { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; color: var(--muted); margin-bottom: 12px; }
.toc ol { margin: 0; padding-left: 20px; color: var(--muted); }
.toc ol li { margin-bottom: 7px; }
.toc a:hover { color: var(--accent-deep); }
.legal-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: clamp(24px,4vw,44px); }
.legal-card h2 { font-family: var(--f-display); font-weight: 700; font-size: 22px; margin: 34px 0 12px; letter-spacing: -.01em; scroll-margin-top: 90px; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card h3 { font-family: var(--f-display); font-weight: 700; font-size: 17px; margin: 22px 0 8px; }
.legal-card p { color: var(--muted); margin-bottom: 14px; font-size: 15.5px; }
.legal-card strong { color: var(--ink); }
.legal-card a.ln { color: var(--accent-deep); border-bottom: 1px solid rgba(229,52,26,.4); }
.legal-card a.ln:hover { border-color: var(--accent); }
.legal-card ul.dotted { margin: 0 0 16px; }
.legal-card ul.dotted li { position: relative; padding-left: 22px; margin-bottom: 9px; color: var(--muted); font-size: 15.5px; }
.legal-card ul.dotted li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.legal-card .callout { background: var(--paper); border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: 10px; padding: 16px 18px; margin: 18px 0; }
.legal-card .callout p { color: var(--ink); margin: 0; }
.legal-card .perm-key { font-family: var(--f-mono); font-weight: 700; font-size: 13px; color: var(--accent-deep); }

/* small screens */
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap, .hero, .features, .how-inner, .security, .footer-top, .header-inner { padding-left: 18px; padding-right: 18px; }
}
