/* IronDivi Wallet: browser.divi.domains */

:root {
  --bg-deep: #0f0f1a;
  --bg-primary: #1a1a2e;
  --bg-secondary: #242538;
  --bg-card: #2a2a3f;
  --text: #f8fafc;
  --text-2: #cbd5e1;
  --text-3: #94a3b8;
  --text-muted: #64748b;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.18);

  --main: #E94560;
  --main-hover: #D03A52;
  --main-glow: #f7889b;
  --main-soft: rgba(233, 69, 96, 0.15);
  --main-line: rgba(233, 69, 96, 0.3);

  --test: #6366f1;
  --test-hover: #5558e3;
  --test-glow: #a5b4fc;
  --test-soft: rgba(99, 102, 241, 0.15);
  --test-line: rgba(99, 102, 241, 0.3);

  --success: #22c55e;
  --warning: #facc15;
  --info: #3b82f6;

  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --focus: 0 0 0 3px var(--bg-deep), 0 0 0 5px var(--test-glow);
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--bg-deep);
  color: var(--text-2);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { color: var(--text); line-height: 1.2; margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--main-glow); text-underline-offset: 3px; }
a:hover { color: #fff; }
strong { color: var(--text); font-weight: 600; }

code, .mono {
  font-family: var(--mono);
  font-size: 0.875em;
}
code {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.05em 0.35em;
  color: var(--text);
  overflow-wrap: anywhere;
}
.mono { color: var(--text); overflow-wrap: anywhere; }

:focus { outline: none; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--text); color: var(--bg-deep);
  padding: 0.6rem 1rem; border-radius: var(--r-md); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }
.container--narrow { max-width: 820px; }

/* ---------- Beta banner ---------- */
.beta-banner {
  background: linear-gradient(90deg, rgba(250, 204, 21, 0.12), rgba(250, 204, 21, 0.04));
  border-bottom: 1px solid rgba(250, 204, 21, 0.25);
  font-size: 0.875rem;
  color: var(--text-2);
}
.beta-banner__inner { display: flex; gap: 0.75rem; align-items: flex-start; padding-top: 0.6rem; padding-bottom: 0.6rem; }
.beta-banner a { color: var(--warning); }

.pill {
  display: inline-flex; align-items: center; flex: none;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: 999px; padding: 0.15rem 0.55rem; line-height: 1.6;
}
.pill--beta { background: rgba(250, 204, 21, 0.15); color: var(--warning); border: 1px solid rgba(250, 204, 21, 0.35); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 15, 26, 0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner { display: flex; align-items: center; gap: 1rem; height: 60px; }
.site-nav { display: none; gap: 1.25rem; margin-left: auto; }
.site-nav a { color: var(--text-2); text-decoration: none; font-size: 0.9rem; font-weight: 500; }
.site-nav a:hover { color: var(--text); }
.site-header .btn { margin-left: auto; }
@media (min-width: 900px) {
  .site-nav { display: flex; }
  .site-header .btn { margin-left: 0.5rem; }
}

.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--text); }
.brand__tile {
  width: 32px; height: 32px; border-radius: 9px; flex: none;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--main), var(--main-hover));
  box-shadow: 0 4px 14px rgba(233, 69, 96, 0.3);
}
.brand__tile svg { width: 18px; height: 18px; }
.brand__word { font-weight: 800; font-size: 1.1rem; letter-spacing: -0.01em; }
.brand__word span { color: var(--main); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font: inherit; font-weight: 600; font-size: 0.95rem; line-height: 1.2;
  padding: 0.7rem 1.15rem; border-radius: var(--r-md);
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}
.btn--primary { background: var(--main); color: #fff; box-shadow: 0 6px 20px rgba(233, 69, 96, 0.28); }
.btn--primary:hover { background: var(--main-hover); color: #fff; }
.btn--ghost { background: rgba(255, 255, 255, 0.04); color: var(--text); border-color: var(--border-strong); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.09); color: var(--text); }
.btn--sm { padding: 0.45rem 0.8rem; font-size: 0.85rem; }
.btn--lg { padding: 0.9rem 1.4rem; font-size: 1rem; }
.btn:focus-visible { border-radius: var(--r-md); }
.btn__icon { width: 24px; height: 24px; flex: none; }
.btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; box-shadow: none; }

/* ---------- Hero ---------- */
.hero {
  padding: 3rem 0 3.5rem;
  background:
    radial-gradient(600px 380px at 85% 10%, rgba(99, 102, 241, 0.18), transparent 70%),
    radial-gradient(520px 360px at 5% 0%, rgba(233, 69, 96, 0.14), transparent 70%),
    linear-gradient(135deg, var(--bg-deep), var(--bg-primary));
  border-bottom: 1px solid var(--border);
}
.hero__grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) {
  .hero { padding: 5rem 0; }
  .hero__grid { grid-template-columns: 1.15fr 0.85fr; gap: 3.5rem; }
}
.eyebrow {
  color: var(--main-glow); font-weight: 600; font-size: 0.8rem;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.75rem;
}
.hero h1 { font-size: clamp(2.3rem, 7vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 1rem; }
.hero__lead { font-size: 1.1rem; color: var(--text-2); max-width: 36em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.75rem 0 1rem; }
.hero__meta { font-size: 0.9rem; color: var(--text-3); max-width: 36em; }
.works-with { margin-top: 1.5rem; font-size: 0.9rem; color: var(--text-3); }
.works-with a { color: var(--text); }
.hero__visual { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.hero__visual figcaption { font-size: 0.8rem; color: var(--text-muted); }

/* ---------- Notices ---------- */
.notice {
  border-radius: var(--r-md); padding: 0.75rem 1rem; font-size: 0.9rem;
  border: 1px solid var(--border); background: rgba(255, 255, 255, 0.04); color: var(--text-2);
}
.notice--info { border-color: rgba(59, 130, 246, 0.35); background: rgba(59, 130, 246, 0.1); }
.notice--warn { border-color: rgba(250, 204, 21, 0.3); background: rgba(250, 204, 21, 0.08); }
.notice a { color: var(--text); }
.notice[hidden] { display: none; }
#mobile-notice { margin-top: 1rem; }

/* ---------- Popup mock ---------- */
.mock {
  --acc: var(--main);
  --acc-hover: var(--main-hover);
  --acc-glow: var(--main-glow);
  --acc-soft: var(--main-soft);
  --acc-line: var(--main-line);
  width: 100%; max-width: 340px;
  background: #0f0f1a;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.4), 0 0 70px -10px var(--acc-soft);
  font-size: 13px; line-height: 1.4; color: #cbd5e1;
  user-select: none;
}
.mock--testnet {
  --acc: var(--test);
  --acc-hover: var(--test-hover);
  --acc-glow: var(--test-glow);
  --acc-soft: var(--test-soft);
  --acc-line: var(--test-line);
}
.mock__header {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 14px;
  background: #161628;
  border-bottom: 1px solid var(--acc-line);
  box-shadow: inset 0 2px 0 var(--acc);
}
.mock__logo {
  width: 28px; height: 28px; border-radius: 8px; flex: none;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--acc), var(--acc-hover));
}
.mock__logo svg { width: 16px; height: 16px; }
.mock__brand { font-weight: 800; font-size: 16px; color: #f8fafc; }
.mock__brand span { color: var(--acc); }
.mock__gear {
  margin-left: auto; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid #64748b; box-shadow: inset 0 0 0 3px #161628, inset 0 0 0 8px #64748b;
}
.mock__account { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px 0; }
.mock__acct {
  display: inline-flex; align-items: center; gap: 6px;
  background: #1e1e36; border: 1px solid var(--border); border-radius: 8px;
  padding: 5px 9px; color: #f8fafc; font-weight: 500; font-size: 12px;
}
.mock__caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid #94a3b8; }
.mock__net {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--acc-soft); border: 1px solid var(--acc-line); color: var(--acc-glow);
  border-radius: 999px; padding: 3px 10px; font-size: 11px; font-weight: 600;
}
.mock__net::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 8px var(--acc); }
.mock__balance { text-align: center; padding: 22px 14px 18px; }
.mock__amount {
  display: block; font-size: 36px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1;
  background: linear-gradient(180deg, #ffffff, var(--acc-glow));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mock__unit { display: block; margin-top: 4px; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; color: #94a3b8; }
.mock__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 14px 14px; }
.mock__action {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: #1e1e36; border: 1px solid var(--border); border-radius: 10px;
  padding: 10px; font-weight: 600; color: #f8fafc;
}
.mock__arrow {
  display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
  background: var(--acc-soft); color: var(--acc-glow); font-size: 12px; line-height: 1;
}
.mock__tabs { display: flex; gap: 16px; padding: 0 14px; border-bottom: 1px solid var(--border); font-size: 12px; font-weight: 600; color: #64748b; }
.mock__tabs span { padding: 8px 0; }
.mock__tabs .is-on { color: #f8fafc; box-shadow: inset 0 -2px 0 var(--acc); }
.mock__tx { list-style: none; padding: 4px 0 8px; }
.mock__tx li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.mock__tx li:last-child { border-bottom: 0; }
.mock__txname, .mock__txamt { display: flex; flex-direction: column; font-weight: 600; color: #f8fafc; }
.mock__txamt { text-align: right; font-family: var(--mono); font-weight: 500; }
.mock__txamt.is-in { color: #4ade80; }
.mock__tx small { font-family: var(--font); font-weight: 400; font-size: 11px; color: #64748b; }
.mock--compact { max-width: none; }
.mock--compact .mock__balance { padding-bottom: 20px; }

/* ---------- Sections ---------- */
.section { padding: 3.5rem 0; }
@media (min-width: 900px) { .section { padding: 5rem 0; } }
.section--alt { background: var(--bg-primary); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section h2 { font-size: clamp(1.6rem, 4.5vw, 2.25rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.75rem; }
.section__lead { font-size: 1.05rem; color: var(--text-3); max-width: 46em; margin-bottom: 2rem; }

.card {
  background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 1.35rem;
}
.card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.card p { font-size: 0.95rem; color: var(--text-3); }

.feature-grid, .security-grid { list-style: none; display: grid; gap: 1rem; }
@media (min-width: 640px) { .feature-grid, .security-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature__icon {
  width: 40px; height: 40px; padding: 9px; margin-bottom: 0.9rem; border-radius: 10px;
  background: var(--main-soft); border: 1px solid var(--main-line);
  fill: none; stroke: var(--main-glow); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Networks ---------- */
.networks { display: grid; gap: 1.25rem; }
@media (min-width: 820px) { .networks { grid-template-columns: 1fr 1fr; } }
.network {
  border-radius: var(--r-xl); padding: 1.25rem; display: grid; gap: 1.25rem;
  background: var(--bg-secondary); border: 1px solid var(--border);
}
.network--mainnet { border-color: var(--main-line); background: linear-gradient(160deg, rgba(233, 69, 96, 0.1), var(--bg-secondary) 55%); }
.network--testnet { border-color: var(--test-line); background: linear-gradient(160deg, rgba(99, 102, 241, 0.12), var(--bg-secondary) 55%); }
.network h3 { display: flex; align-items: center; gap: 0.55rem; font-size: 1.15rem; margin-bottom: 0.6rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot--mainnet { background: var(--main); box-shadow: 0 0 10px var(--main); }
.dot--testnet { background: var(--test); box-shadow: 0 0 10px var(--test); }
.ticks { list-style: none; display: grid; gap: 0.4rem; font-size: 0.95rem; }
.ticks li { position: relative; padding-left: 1.2rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted); }
.network--mainnet .ticks li::before { background: var(--main); }
.network--testnet .ticks li::before { background: var(--test); }
.network-notes { list-style: none; display: grid; gap: 0.75rem; margin-top: 1.5rem; font-size: 0.95rem; }
@media (min-width: 820px) { .network-notes { grid-template-columns: 1fr 1fr; } }
.network-notes li { padding: 0.9rem 1rem; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border); }

/* ---------- Install tabs ---------- */
.release-status { font-size: 0.9rem; color: var(--text-3); margin: -1rem 0 1rem; }
#browser-note { margin-bottom: 1rem; }
.tablist {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem;
  margin-bottom: 1rem;
}
@media (min-width: 720px) { .tablist { grid-template-columns: repeat(6, 1fr); } }
.tab {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  padding: 0.8rem 0.4rem 0.7rem;
  font: inherit; font-size: 0.875rem; font-weight: 600; color: var(--text-2);
  background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--r-lg);
  cursor: pointer; transition: border-color 0.15s, background-color 0.15s;
}
.tab img { width: 28px; height: 28px; }
.tab:hover { border-color: var(--border-strong); color: var(--text); }
.tab[aria-selected="true"] {
  color: var(--text); background: var(--bg-card);
  border-color: var(--main); box-shadow: inset 0 0 0 1px var(--main);
}
.tab:focus-visible { border-radius: var(--r-lg); }
.tab.is-detected::after {
  content: "Your browser";
  position: absolute; top: -0.55rem; left: 50%; transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  background: var(--main); color: #fff; border-radius: 999px; padding: 0.05rem 0.45rem;
}
.panel {
  background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 1.25rem;
}
@media (min-width: 640px) { .panel { padding: 1.75rem; } }
.panel[hidden] { display: none; }
.panel:focus-visible { border-radius: var(--r-xl); }
.panel__head {
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 1rem;
  padding-bottom: 1.25rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--border);
}
.panel__head > div { min-width: 0; flex: 1 1 16rem; }
.panel h3 { font-size: 1.3rem; margin-bottom: 0.35rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem; }
.req { font-size: 0.8rem; font-weight: 500; color: var(--text-3); }
.panel__file { font-size: 0.875rem; color: var(--text-3); overflow-wrap: anywhere; }
.panel > p { color: var(--text-2); }
.steps-title { font-size: 1rem; margin: 1.5rem 0 0.75rem; }
.steps { list-style: none; counter-reset: step; display: grid; gap: 0.85rem; margin: 0 0 1.25rem; }
.steps li { counter-increment: step; position: relative; padding-left: 2.4rem; min-height: 1.75rem; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 1.75rem; height: 1.75rem; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.8rem; font-weight: 700; color: #fff;
  background: var(--main-soft); border: 1px solid var(--main-line);
}
.callout {
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border); border-left: 3px solid var(--test);
  border-radius: var(--r-md); padding: 1rem 1.1rem; font-size: 0.925rem;
}
.callout h4 { font-size: 0.95rem; margin-bottom: 0.35rem; }

/* ---------- Verify ---------- */
.verify-cmds { display: grid; gap: 1rem; margin-bottom: 0.75rem; }
@media (min-width: 900px) { .verify-cmds { grid-template-columns: 1fr 1fr; } }
.cmd { min-width: 0; }
.cmd__label { font-size: 0.85rem; font-weight: 600; color: var(--text-3); margin-bottom: 0.4rem; }
.cmd__row {
  display: flex; align-items: center; gap: 0.6rem;
  background: var(--bg-deep); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 0.6rem 0.6rem 0.6rem 0.9rem;
}
.cmd__code {
  flex: 1; min-width: 0; background: none; border: 0; padding: 0;
  font-size: 0.85rem; color: var(--text); overflow-wrap: anywhere;
}
.copy { flex: none; min-width: 4.6rem; }
.hint { font-size: 0.875rem; color: var(--text-3); margin-bottom: 1.5rem; }

.table-wrap { border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--bg-secondary); }
.sums { width: 100%; border-collapse: collapse; font-size: 0.9rem; table-layout: fixed; }
.sums th, .sums td { text-align: left; padding: 0.8rem 1rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.sums thead th { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); background: rgba(255, 255, 255, 0.03); }
.sums tbody tr:last-child td { border-bottom: 0; }
.sums th:nth-child(1) { width: 8.5rem; }
.sums th:nth-child(2) { width: 30%; }
.sums th:nth-child(3) { width: 6rem; }
.sums td { overflow-wrap: anywhere; }
.sums__browser { color: var(--text); font-weight: 600; }
.sums__file a { font-family: var(--mono); font-size: 0.82rem; }
.sums__hash { font-family: var(--mono); font-size: 0.8rem; color: var(--text); }
.sums__empty { color: var(--text-3); text-align: center; }
.sums tr.is-current td { background: rgba(233, 69, 96, 0.06); }
#downloads-fallback { margin-top: 1rem; }

/* Stack the table into cards on narrow screens. */
@media (max-width: 719px) {
  .sums thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .sums, .sums tbody, .sums tr, .sums td { display: block; width: 100%; }
  .sums tr { padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); }
  .sums tbody tr:last-child { border-bottom: 0; }
  .sums td { border: 0; padding: 0.15rem 0; }
  .sums td[data-label]::before {
    content: attr(data-label);
    display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--text-muted); margin-top: 0.4rem;
  }
  .sums td.sums__browser::before { display: none; }
}

/* ---------- Security ---------- */
.status-card {
  display: flex; gap: 1rem; align-items: flex-start;
  background: rgba(250, 204, 21, 0.06); border: 1px solid rgba(250, 204, 21, 0.25);
  border-radius: var(--r-lg); padding: 1.1rem 1.25rem; margin: 1.25rem 0 1.5rem;
}
.status-card a { color: var(--warning); font-weight: 600; }
.security-grid .card h3 { color: var(--text); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.6rem; margin-top: 1.5rem; }
.faq details { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--r-lg); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1rem 2.75rem 1rem 1.15rem; position: relative;
  font-weight: 600; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 1.2rem; top: 50%;
  width: 8px; height: 8px; margin-top: -6px;
  border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3);
  transform: rotate(45deg); transition: transform 0.15s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:focus-visible { border-radius: var(--r-lg); }
.faq details p { padding: 0 1.15rem 1.1rem; color: var(--text-3); }

/* ---------- Footer ---------- */
.site-footer { padding: 2.5rem 0; border-top: 1px solid var(--border); background: var(--bg-deep); }
.site-footer__inner { display: grid; gap: 1.5rem; }
@media (min-width: 820px) { .site-footer__inner { grid-template-columns: 1fr auto; align-items: center; } }
.site-footer__note { margin-top: 0.6rem; font-size: 0.85rem; color: var(--text-muted); }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.site-footer__links a { color: var(--text-2); text-decoration: none; font-size: 0.9rem; }
.site-footer__links a:hover { color: var(--text); text-decoration: underline; }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 4rem 0; }
.notfound .brand__tile { width: 64px; height: 64px; border-radius: 18px; margin: 0 auto 1.5rem; }
.notfound .brand__tile svg { width: 36px; height: 36px; }
.notfound h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); font-weight: 800; margin-bottom: 0.75rem; }
.notfound p { color: var(--text-3); margin-bottom: 1.75rem; }
.notfound__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
