:root {
  color-scheme: dark;
  --site-bg: #050b14;
  --site-bg-raised: #081321;
  --site-surface: #0b1628;
  --site-surface-soft: #0e1b30;
  --site-border: rgba(116, 164, 214, 0.2);
  --site-border-strong: rgba(24, 216, 240, 0.34);
  --site-text: #f4f7fd;
  --site-secondary: #a4b4cb;
  --site-muted: #70839e;
  --site-cyan: #18d8f0;
  --site-blue: #298bff;
  --site-green: #00d995;
  --site-purple: #775cff;
  --site-warning: #efc65a;
  --site-danger: #ff6b78;
  --site-font: "Cairo", "Segoe UI", Tahoma, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; background: var(--site-bg); }
body.public-site {
  min-width: 320px;
  margin: 0;
  color: var(--site-text);
  background: var(--site-bg);
  font-family: var(--site-font);
  font-size: 15px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--site-cyan);
}
body.public-site[dir="rtl"] { font-family: var(--site-font); }
body.public-site button, body.public-site input { font: inherit; }
body.public-site a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
body.public-site :focus-visible { outline: 2px solid var(--site-cyan); outline-offset: 3px; }
body.public-site ::selection { color: #00151a; background: var(--site-cyan); }

.skip-link {
  position: fixed; z-index: 50; inset-block-start: 10px; inset-inline-start: 10px;
  padding: 8px 12px; border-radius: 5px; color: #041019 !important; background: var(--site-cyan);
  transform: translateY(-160%); transition: transform 150ms ease-out;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky; z-index: 20; inset-block-start: 0;
  border-bottom: 1px solid rgba(124, 158, 199, 0.16);
  background: rgba(5, 11, 20, 0.95);
  transition: background-color 180ms ease-out, border-color 180ms ease-out;
}
.site-header.is-scrolled { border-bottom-color: rgba(24, 216, 240, 0.24); background: rgba(5, 11, 20, 0.98); }
.site-header-inner {
  width: min(1320px, calc(100% - 48px)); min-height: 76px; margin-inline: auto;
  display: grid; grid-template-columns: 220px minmax(320px, 1fr) 220px; align-items: center; gap: 24px;
}
.site-brand { display: inline-flex; width: fit-content; align-items: center; gap: 10px; color: var(--site-text); text-decoration: none; }
.site-brand img { display: block; width: 42px; height: 42px; object-fit: contain; border-radius: 50%; }
.site-brand span { display: grid; line-height: 1.15; }
.site-brand strong { color: var(--site-cyan); font-size: 16px; font-weight: 800; }
.site-brand small { margin-top: 3px; color: var(--site-secondary); font-size: 11px; font-weight: 600; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: 8px; }
.site-nav a { padding: 9px 12px; border-radius: 5px; color: var(--site-secondary); font-size: 13px; font-weight: 600; text-decoration: none; transition: color 160ms ease-out, background-color 160ms ease-out; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--site-text); background: #0d1b2f; }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -2px var(--site-cyan); }
.site-actions { display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.language-toggle, .login-button { min-height: 40px; border: 1px solid var(--site-border); border-radius: 6px; font-size: 13px; font-weight: 700; }
.language-toggle { padding: 0 12px; color: var(--site-secondary); background: transparent; cursor: pointer; }
.language-toggle:hover { border-color: var(--site-border-strong); color: var(--site-text); }
.login-button { display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; border-color: transparent; color: #03111b; background: linear-gradient(115deg, var(--site-cyan), #4b9fff); box-shadow: 0 5px 14px rgba(20, 166, 225, 0.14); text-decoration: none; }
.login-button:hover { filter: brightness(1.08); box-shadow: 0 7px 18px rgba(20, 166, 225, 0.2); }
.mobile-nav-toggle { display: none; }

.page-loading { min-height: 55vh; display: grid; place-content: center; justify-items: center; gap: 12px; color: var(--site-secondary); }
.loading-mark { width: 24px; height: 24px; border: 2px solid rgba(24, 216, 240, 0.24); border-top-color: var(--site-cyan); border-radius: 50%; animation: site-spin 800ms linear infinite; }
@keyframes site-spin { to { transform: rotate(360deg); } }
.noscript-note { max-width: 760px; margin: 40px auto; padding: 16px 20px; border: 1px solid var(--site-border); color: var(--site-secondary); }

.hero {
  position: relative; min-height: 660px; overflow: hidden; display: flex; align-items: center;
  background-color: #06101d;
  background-image: linear-gradient(90deg, rgba(4, 10, 18, 0.94) 0%, rgba(4, 10, 18, 0.82) 31%, rgba(4, 10, 18, 0.28) 66%, rgba(4, 10, 18, 0.12) 100%), linear-gradient(0deg, rgba(5, 11, 20, 0.75), transparent 36%), url("/assets/tokenify-public-hero.png");
  background-position: center, center, 58% 50%; background-size: cover;
  border-bottom: 1px solid rgba(81, 145, 197, 0.18);
}
.hero::after { position: absolute; inset: 0; content: ""; pointer-events: none; background: radial-gradient(ellipse at 15% 22%, rgba(24, 216, 240, 0.08), transparent 36%); }
.hero-inner { position: relative; z-index: 1; width: min(1320px, calc(100% - 48px)); margin: 0 auto; padding: 80px 0 100px; }
.hero-copy { max-width: 600px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 9px; color: var(--site-cyan); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.hero-kicker::before { width: 24px; height: 1px; content: ""; background: var(--site-cyan); box-shadow: 0 0 10px rgba(24, 216, 240, 0.45); }
.hero h1 { max-width: 620px; margin: 18px 0 16px; color: var(--site-text); font-size: 60px; font-weight: 800; line-height: 1.08; letter-spacing: 0; text-wrap: balance; }
.hero h1 span { display: block; color: var(--site-cyan); }
.hero-copy > p { max-width: 54ch; margin: 0; color: #bac8dc; font-size: 17px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.button-primary, .button-secondary { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 9px; padding: 0 19px; border: 1px solid transparent; border-radius: 6px; font-weight: 750; text-decoration: none; transition: transform 160ms ease-out, border-color 160ms ease-out, background-color 160ms ease-out; }
.button-primary { color: #03111b; background: linear-gradient(120deg, var(--site-cyan), #4b9fff); box-shadow: 0 7px 20px rgba(20, 166, 225, 0.15); }
.button-secondary { border-color: rgba(183, 207, 235, 0.28); color: var(--site-text); background: rgba(8, 19, 33, 0.58); }
.button-primary:hover, .button-secondary:hover { transform: translateY(-1px); }
.button-secondary:hover { border-color: rgba(24, 216, 240, 0.52); background: rgba(8, 19, 33, 0.8); }
.hero-assurance { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; color: #aabbd1; font-size: 12px; }
.hero-assurance span { display: inline-flex; align-items: center; gap: 7px; }
.hero-assurance svg { width: 15px; height: 15px; color: var(--site-cyan); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.page-section { position: relative; padding: 92px 24px; }
.section-inner { width: min(1200px, 100%); margin: 0 auto; }
.section-heading { max-width: 720px; margin-bottom: 36px; }
.section-heading h2 { margin: 0; color: var(--site-text); font-size: 32px; font-weight: 750; line-height: 1.2; letter-spacing: 0; text-wrap: balance; }
.section-heading p { max-width: 68ch; margin: 12px 0 0; color: var(--site-secondary); font-size: 15px; }
.section-heading .section-label { margin: 0 0 10px; color: var(--site-cyan); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.section-heading .section-label + h2 { margin-top: 0; }
.section-ruled { border-top: 1px solid var(--site-border); border-bottom: 1px solid var(--site-border); background: linear-gradient(105deg, rgba(10, 23, 40, 0.8), rgba(6, 15, 27, 0.55)); }

.workflow-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--site-border); }
.workflow-step { min-height: 210px; padding: 24px 25px 26px; border-inline-end: 1px solid var(--site-border); }
.workflow-step:last-child { border-inline-end: 0; }
.workflow-step span { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border: 1px solid var(--site-border-strong); border-radius: 50%; color: var(--site-cyan); font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums; }
.workflow-step h3 { margin: 19px 0 7px; color: var(--site-text); font-size: 17px; font-weight: 700; }
.workflow-step p { max-width: 36ch; margin: 0; color: var(--site-secondary); font-size: 13px; }

.capability-layout { display: grid; grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr); gap: 76px; align-items: start; }
.capability-layout .section-heading { margin: 0; }
.capability-list { border-top: 1px solid var(--site-border); }
.capability-row { display: grid; grid-template-columns: 42px minmax(140px, 0.65fr) minmax(0, 1.35fr); gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--site-border); }
.capability-row > span { color: var(--site-cyan); font-size: 12px; font-weight: 750; font-variant-numeric: tabular-nums; }
.capability-row h3 { margin: 0; color: var(--site-text); font-size: 15px; font-weight: 700; }
.capability-row p { margin: 0; color: var(--site-secondary); font-size: 13px; }

.rules-band { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 72px; align-items: center; }
.rules-band .section-heading { margin: 0; }
.rules-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin: 0; padding: 0; list-style: none; }
.rules-list li { position: relative; padding: 14px 24px 14px 0; border-bottom: 1px solid var(--site-border); color: var(--site-secondary); font-size: 14px; }
.rules-list li::before { position: absolute; inset-inline-start: 0; top: 24px; width: 7px; height: 7px; border-radius: 50%; content: ""; background: var(--site-cyan); box-shadow: 0 0 9px rgba(24, 216, 240, 0.26); }
.inline-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; color: var(--site-cyan) !important; font-size: 14px; font-weight: 750; text-decoration: none; }
.inline-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.faq-search { display: flex; max-width: 560px; align-items: center; gap: 10px; margin: 0 0 22px; padding: 0 14px; border: 1px solid var(--site-border); border-radius: 6px; background: #081321; }
.faq-search svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--site-muted); stroke-width: 1.8; }
.faq-search input { width: 100%; min-height: 46px; border: 0; outline: 0; color: var(--site-text); background: transparent; }
.faq-search input::placeholder { color: #8798af; opacity: 1; }
.faq-list { border-top: 1px solid var(--site-border); }
.faq-item { border-bottom: 1px solid var(--site-border); }
.faq-item summary { position: relative; padding: 20px 38px 20px 0; color: var(--site-text); font-size: 15px; font-weight: 700; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { position: absolute; inset-inline-start: 6px; top: 50%; content: "+"; color: var(--site-cyan); font-size: 22px; font-weight: 500; line-height: 1; transform: translateY(-50%); }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { max-width: 74ch; margin: -5px 0 22px; color: var(--site-secondary); font-size: 14px; }
.faq-empty { color: var(--site-secondary); }

.status-preview { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: 60px; align-items: center; padding-block: 72px; border-block: 1px solid var(--site-border); }
.status-preview h2 { margin: 0; font-size: 27px; }
.status-preview p { margin: 10px 0 0; color: var(--site-secondary); }
.status-overall { display: flex; align-items: center; gap: 12px; color: var(--site-secondary); }
.status-dot { display: inline-block; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--site-muted); }
.status-dot.operational { background: var(--site-green); box-shadow: 0 0 10px rgba(0, 217, 149, 0.4); }
.status-dot.degraded_performance, .status-dot.partial_outage { background: var(--site-warning); }
.status-dot.major_outage { background: var(--site-danger); }
.status-detail-list { display: grid; gap: 8px; margin-top: 16px; }
.status-service { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 10px 0; border-bottom: 1px solid rgba(116, 164, 214, 0.12); color: var(--site-secondary); font-size: 13px; }
.status-service strong { color: var(--site-text); font-weight: 650; }
.status-empty { color: var(--site-muted); font-size: 13px; }

.ad-slot-shell { width: min(1200px, calc(100% - 48px)); margin: 0 auto; padding-block: 22px; }
.ad-slot { min-height: 112px; display: grid; place-content: center; justify-items: center; gap: 4px; border: 1px dashed rgba(116, 164, 214, 0.18); color: #72859f; text-align: center; contain: layout style; }
.ad-slot-label { font-size: 10px; font-weight: 800; text-transform: uppercase; }
.ad-slot-name { color: #98a9c3; font-size: 12px; font-weight: 650; }
.ad-slot-note { max-width: 60ch; font-size: 11px; }
.ad-slot ins.adsbygoogle { display: block; min-height: 90px; width: 100%; }

.public-legal-head { padding: 68px 24px 40px; border-bottom: 1px solid var(--site-border); background: linear-gradient(110deg, rgba(9, 24, 41, 0.82), rgba(5, 11, 20, 0.35)); }
.public-legal-head-inner { width: min(1160px, 100%); margin: 0 auto; }
.public-legal-head .section-label { margin: 0 0 8px; color: var(--site-cyan); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.public-legal-head h1 { margin: 0; font-size: 38px; line-height: 1.2; }
.public-legal-summary { max-width: 75ch; margin: 13px 0 0; color: var(--site-secondary); }
.draft-notice { display: flex; align-items: flex-start; gap: 10px; max-width: 1160px; margin: 22px auto 0; padding: 13px 16px; border: 1px solid rgba(239, 198, 90, 0.27); border-radius: 6px; color: #e3ce95; background: rgba(59, 46, 13, 0.14); font-size: 12px; }
.draft-notice svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; color: var(--site-muted); font-size: 12px; }
.legal-meta strong { color: var(--site-secondary); font-weight: 650; }
.legal-layout { display: grid; grid-template-columns: 235px minmax(0, 760px); justify-content: center; gap: 70px; width: min(1160px, calc(100% - 48px)); margin: 0 auto; padding: 44px 0 92px; }
.legal-toc { position: sticky; top: 110px; align-self: start; padding-inline-start: 15px; border-inline-start: 1px solid var(--site-border); }
.legal-toc h2 { margin: 0 0 12px; color: var(--site-muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.legal-toc nav { display: grid; gap: 4px; }
.legal-toc a { padding: 5px 0; color: var(--site-secondary); font-size: 12px; text-decoration: none; }
.legal-toc a:hover { color: var(--site-cyan); }
.legal-content { min-width: 0; }
.legal-content h2 { margin: 34px 0 9px; color: var(--site-text); font-size: 20px; font-weight: 720; line-height: 1.35; scroll-margin-top: 100px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: #bdcadd; font-size: 15px; line-height: 1.85; }
.legal-content p { margin: 0 0 16px; }
.legal-content ul { margin: 0 0 18px; padding-inline-start: 22px; }
.legal-content li { margin: 7px 0; }
.legal-error { min-height: 32vh; display: grid; place-content: center; gap: 8px; padding: 48px 24px; color: var(--site-secondary); text-align: center; }
.legal-error h1 { margin: 0; color: var(--site-text); }

.faq-page-header, .status-page-header { padding: 68px 24px 36px; border-bottom: 1px solid var(--site-border); }
.faq-page-header .section-inner, .status-page-header .section-inner { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.faq-page-header h1, .status-page-header h1 { margin: 0; font-size: 38px; line-height: 1.2; }
.faq-page-header p, .status-page-header p { max-width: 62ch; margin: 12px 0 0; color: var(--site-secondary); }
.faq-page-body { padding-top: 38px; padding-bottom: 88px; }
.faq-page-body .faq-list { max-width: 900px; }
.status-page-body { padding-top: 40px; padding-bottom: 90px; }
.status-page-overall { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 17px 0; border-block: 1px solid var(--site-border); color: var(--site-text); font-size: 16px; font-weight: 700; }
.status-updated { margin-inline-start: auto; color: var(--site-muted); font-size: 12px; font-weight: 500; }
.status-group { margin-top: 34px; }
.status-group h2 { margin: 0 0 12px; font-size: 18px; }
.status-page-service { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--site-border); }
.status-page-service p { margin: 3px 0 0; color: var(--site-muted); font-size: 12px; }
.status-page-service span:last-child { color: var(--site-secondary); font-size: 13px; }
.incident-item { padding: 16px 0; border-bottom: 1px solid var(--site-border); }
.incident-item h3 { margin: 0; font-size: 15px; }
.incident-item p { margin: 5px 0; color: var(--site-secondary); font-size: 13px; }
.incident-item small { color: var(--site-muted); }

.site-footer { padding: 38px 24px 20px; border-top: 1px solid var(--site-border); background: #060d18; }
.site-footer-main, .footer-links, .site-footer-bottom { width: min(1200px, 100%); margin-inline: auto; }
.site-footer-main { display: grid; grid-template-columns: auto minmax(220px, 1fr) auto; align-items: center; gap: 20px; padding-bottom: 28px; }
.footer-brand img { width: 38px; height: 38px; }
.site-footer-main > p { margin: 0; color: var(--site-muted); font-size: 13px; }
.footer-status { display: flex; align-items: center; gap: 9px; color: var(--site-secondary); font-size: 12px; }
.footer-status a { margin-inline-start: 5px; color: var(--site-cyan); font-weight: 700; text-decoration: none; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 21px; padding: 17px 0; border-top: 1px solid var(--site-border); border-bottom: 1px solid var(--site-border); }
.footer-links a, .footer-preferences { padding: 0; border: 0; color: #93a5bd; background: transparent; font-size: 12px; text-decoration: none; cursor: pointer; }
.footer-links a:hover, .footer-preferences:hover { color: var(--site-cyan); }
.site-footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 17px; color: var(--site-muted); font-size: 11px; }

.consent-banner { position: fixed; z-index: 60; inset-inline: 22px; bottom: max(18px, env(safe-area-inset-bottom)); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; max-width: 1200px; margin-inline: auto; padding: 19px 22px; border: 1px solid rgba(116, 164, 214, 0.26); border-radius: 8px; background: rgba(8, 19, 33, 0.98); box-shadow: 0 14px 36px rgba(0, 0, 0, 0.38); }
.consent-banner[hidden] { display: none; }
.consent-copy h2 { margin: 0; font-size: 15px; }
.consent-copy p { max-width: 70ch; margin: 5px 0 0; color: var(--site-secondary); font-size: 12px; }
.consent-copy a { color: var(--site-cyan); }
.consent-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.consent-actions button, .consent-dialog-actions button { min-height: 38px; padding: 0 13px; border: 1px solid var(--site-border); border-radius: 5px; color: var(--site-text); background: #101d30; font-size: 12px; font-weight: 700; cursor: pointer; }
.consent-actions button:hover, .consent-dialog-actions button:hover { border-color: var(--site-border-strong); }
.consent-actions .consent-accept, .consent-dialog-actions .consent-save { border-color: transparent; color: #03111b; background: var(--site-cyan); }
.consent-dialog { width: min(520px, calc(100% - 32px)); max-width: 520px; padding: 0; border: 1px solid var(--site-border-strong); border-radius: 8px; color: var(--site-text); background: #0b1628; box-shadow: 0 22px 70px rgba(0, 0, 0, 0.55); }
.consent-dialog::backdrop { background: rgba(1, 6, 12, 0.76); }
.consent-dialog-inner { padding: 24px; }
.consent-dialog h2 { margin: 0; font-size: 20px; }
.consent-dialog > form p { margin: 8px 0 19px; color: var(--site-secondary); font-size: 13px; }
.consent-options { display: grid; }
.consent-option { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 13px 0; border-top: 1px solid var(--site-border); }
.consent-option span { display: grid; gap: 2px; }
.consent-option strong { font-size: 13px; }
.consent-option small { color: var(--site-muted); font-size: 11px; }
.consent-option input { width: 18px; height: 18px; accent-color: var(--site-cyan); }
.consent-dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; }
.consent-necessary-state { color: var(--site-green); font-size: 12px; font-weight: 700; }

body.public-site[dir="rtl"] .hero { background-image: linear-gradient(270deg, rgba(4, 10, 18, 0.94) 0%, rgba(4, 10, 18, 0.82) 31%, rgba(4, 10, 18, 0.28) 66%, rgba(4, 10, 18, 0.12) 100%), linear-gradient(0deg, rgba(5, 11, 20, 0.75), transparent 36%), url("/assets/tokenify-public-hero.png"); }
body.public-site[dir="rtl"] .hero { background-position: center, center, 58% 50%; }

@media (max-width: 1100px) {
  .site-header-inner { grid-template-columns: 185px minmax(0, 1fr) auto; gap: 14px; }
  .site-nav { gap: 2px; }
  .site-nav a { padding-inline: 9px; font-size: 12px; }
  .site-actions { gap: 8px; }
  .capability-layout { gap: 46px; }
  .rules-band { gap: 44px; }
  .legal-layout { grid-template-columns: 195px minmax(0, 700px); gap: 48px; }
}
@media (max-width: 800px) {
  .site-header-inner { position: relative; width: min(100% - 32px, 1320px); min-height: 68px; grid-template-columns: 1fr auto auto; gap: 11px; }
  .site-brand img { width: 38px; height: 38px; }
  .mobile-nav-toggle { display: inline-grid; width: 40px; height: 40px; place-items: center; border: 1px solid var(--site-border); border-radius: 6px; color: var(--site-text); background: #0a1627; cursor: pointer; }
  .mobile-nav-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
  .site-nav { position: absolute; inset-block-start: calc(100% + 1px); inset-inline: 0; display: none; align-items: stretch; padding: 10px; border: 1px solid var(--site-border); border-top: 0; background: #07111f; }
  .site-nav.is-open { display: grid; }
  .site-nav a { min-height: 43px; display: flex; align-items: center; padding-inline: 12px; font-size: 14px; }
  .site-actions { gap: 7px; }
  .language-toggle, .login-button { min-height: 38px; padding-inline: 10px; font-size: 12px; }
  .hero { min-height: 610px; background-position: center, center, 60% 50%; }
  body.public-site[dir="rtl"] .hero { background-position: center, center, 60% 50%; }
  .hero-inner { width: calc(100% - 40px); padding-block: 78px 88px; }
  .hero-copy { max-width: 540px; }
  .hero h1 { max-width: 520px; font-size: 50px; }
  .hero-copy > p { max-width: 47ch; font-size: 16px; }
  .page-section { padding: 72px 20px; }
  .workflow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workflow-step { min-height: 180px; }
  .workflow-step:nth-child(2) { border-inline-end: 0; }
  .workflow-step:nth-child(1), .workflow-step:nth-child(2) { border-bottom: 1px solid var(--site-border); }
  .capability-layout, .rules-band { grid-template-columns: 1fr; gap: 34px; }
  .status-preview { grid-template-columns: 1fr; gap: 22px; }
  .legal-layout { grid-template-columns: 1fr; gap: 30px; width: min(760px, calc(100% - 40px)); }
  .legal-toc { position: static; padding: 0; border: 0; }
  .legal-toc nav { display: flex; flex-wrap: wrap; gap: 5px 16px; }
  .site-footer-main { grid-template-columns: auto 1fr; }
  .footer-status { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .site-header-inner { width: calc(100% - 24px); grid-template-columns: minmax(0, 1fr) 40px auto; gap: 7px; }
  .site-brand { gap: 7px; }
  .site-brand img { width: 34px; height: 34px; }
  .site-brand strong { font-size: 14px; }
  .site-brand small { font-size: 10px; }
  .site-actions { gap: 6px; }
  .language-toggle { min-width: 43px; padding-inline: 7px; }
  .login-button { min-width: 64px; min-height: 36px; padding-inline: 9px; }
  .hero { min-height: 590px; align-items: end; background-image: linear-gradient(0deg, rgba(4, 10, 18, 0.98) 2%, rgba(4, 10, 18, 0.9) 42%, rgba(4, 10, 18, 0.28) 100%), url("/assets/tokenify-public-hero.png"); background-position: center, 57% 50%; }
  body.public-site[dir="rtl"] .hero { background-image: linear-gradient(0deg, rgba(4, 10, 18, 0.98) 2%, rgba(4, 10, 18, 0.9) 42%, rgba(4, 10, 18, 0.28) 100%), url("/assets/tokenify-public-hero.png"); background-position: center, 57% 50%; }
  .hero-inner { width: calc(100% - 32px); padding: 70px 0 40px; }
  .hero-kicker { font-size: 10px; }
  .hero h1 { margin-top: 14px; font-size: 40px; }
  .hero-copy > p { font-size: 14px; }
  .hero-actions { align-items: stretch; margin-top: 24px; }
  .button-primary, .button-secondary { min-height: 46px; flex: 1 1 auto; padding-inline: 13px; font-size: 13px; }
  .hero-assurance { gap: 10px 14px; margin-top: 20px; font-size: 11px; }
  .page-section { padding: 58px 16px; }
  .section-heading { margin-bottom: 26px; }
  .section-heading h2 { font-size: 27px; }
  .section-heading p { font-size: 14px; }
  .workflow-grid { grid-template-columns: 1fr; }
  .workflow-step { min-height: 0; padding: 18px 14px; border-inline-end: 0; border-bottom: 1px solid var(--site-border); }
  .workflow-step:last-child { border-bottom: 0; }
  .workflow-step h3 { margin-top: 12px; }
  .capability-row { grid-template-columns: 28px 1fr; gap: 4px 10px; padding: 15px 0; }
  .capability-row p { grid-column: 2; }
  .rules-list { grid-template-columns: 1fr; }
  .rules-list li { padding-block: 11px; }
  .faq-item summary { font-size: 14px; }
  .faq-item p { font-size: 13px; }
  .ad-slot-shell { width: calc(100% - 32px); padding-block: 14px; }
  .ad-slot { min-height: 86px; }
  .public-legal-head, .faq-page-header, .status-page-header { padding: 48px 16px 30px; }
  .public-legal-head h1, .faq-page-header h1, .status-page-header h1 { font-size: 31px; }
  .draft-notice { margin: 18px 16px 0; }
  .legal-layout { width: calc(100% - 32px); padding-block: 32px 60px; }
  .legal-content h2 { margin-top: 26px; font-size: 18px; }
  .legal-content p, .legal-content li { font-size: 14px; }
  .faq-page-header .section-inner, .status-page-header .section-inner { display: block; }
  .status-updated { width: 100%; margin: 5px 0 0; }
  .status-page-service { grid-template-columns: minmax(0, 1fr) auto; }
  .site-footer { padding: 28px 16px 16px; }
  .site-footer-main { grid-template-columns: 1fr; gap: 12px; padding-bottom: 20px; }
  .footer-status { grid-column: auto; }
  .footer-links { gap: 9px 15px; }
  .site-footer-bottom { display: grid; gap: 3px; }
  .consent-banner { inset-inline: 10px; bottom: max(10px, env(safe-area-inset-bottom)); grid-template-columns: 1fr; gap: 14px; padding: 16px; }
  .consent-actions { justify-content: stretch; }
  .consent-actions button { flex: 1 1 30%; min-height: 40px; padding-inline: 8px; font-size: 11px; }
  .consent-dialog-inner { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
