/* Void Neko public website — self-contained stylesheet (no external fonts, CDNs, or images). */
:root {
  /* Dark, VGen-adjacent palette: deep indigo-charcoal surfaces, citron accent, violet secondary. */
  --ink: #f4f2fa;
  --ink-soft: #d9d6e6;
  --ink-muted: #a39fb5;
  --ink-faint: #7a768c;
  --paper: #15141c;
  --paper-deep: #22212b;
  --card: #1d1c25;
  --card-deep: #14131b;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --coral: #d0f55a;
  --coral-deep: #d0f55a;
  --coral-soft: rgba(208, 245, 90, 0.16);
  --accent-ink: #141a00;
  --sage: rgba(139, 92, 246, 0.24);
  --sage-deep: #c9b8ff;
  --violet: #8b5cf6;
  --sans: "Inter", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --radius: 18px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 10px 28px rgba(0, 0, 0, 0.3);
  --content: 1180px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-width: 320px;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
img, svg { max-width: 100%; display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--coral-deep); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--coral-soft); color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Layout primitives ---------- */
.section-pad { width: min(var(--content), calc(100% - 48px)); margin-inline: auto; padding-block: clamp(64px, 9vw, 120px); }
.kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--coral-deep); }
.section-heading { max-width: 700px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-heading h2, .safety-copy h2, .final-cta h2 { margin-top: 14px; font-size: clamp(30px, 4.2vw, 46px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 700; }
.section-heading > p:last-child { margin-top: 18px; font-size: 17px; color: var(--ink-muted); max-width: 580px; }
.section-heading.light { color: var(--ink); }
.section-heading.light .kicker { color: var(--coral); }
.section-heading.light > p:last-child { color: var(--ink-muted); }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; line-height: 1; white-space: nowrap;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.button .arrow { font-size: 13px; opacity: 0.75; transition: transform 0.18s ease; }
.button:hover { transform: translateY(-1px); }
.button:hover .arrow { transform: translate(2px, -2px); }
.button-dark { background: var(--coral); color: var(--accent-ink); box-shadow: 0 10px 28px rgba(208, 245, 90, 0.22); }
.button-dark:hover { background: #e2ff7d; }
.button-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.button-ghost:hover { border-color: var(--ink-soft); background: var(--card); }
.button-light { background: #fff; color: #2a1a5e; }
.button-light:hover { background: #f3efff; }
.button-full { width: 100%; }
.button:disabled { opacity: 0.6; cursor: progress; transform: none; }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font-weight: 600; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
.text-link:hover { border-color: var(--coral); color: var(--coral); }
.text-link .arrow { font-size: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 28px;
  width: min(var(--content), calc(100% - 48px)); margin: 18px auto 0;
  padding: 10px 12px 10px 18px;
  background: rgba(21, 20, 28, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 999px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}
.site-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.01em; font-size: 17px; }
.brand-glyph { display: block; width: 34px; height: 34px; border-radius: 9px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav a { padding: 9px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-soft); transition: background 0.15s ease, color 0.15s ease; }
.site-nav a:hover { background: var(--paper-deep); color: var(--ink); }
.header-cta { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--coral); color: var(--accent-ink); font-size: 14px; font-weight: 600; white-space: nowrap; transition: background 0.15s ease; }
.header-cta:hover { background: #e2ff7d; }
.header-cta .arrow { font-size: 12px; opacity: 0.8; }
.lang-switch { position: relative; display: inline-flex; align-items: center; }
.lang-icon { font-size: 11px; font-weight: 700; letter-spacing: 0.02em; color: var(--coral); }
.lang-trigger { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); font-size: 13px; font-weight: 500; line-height: 1; transition: border-color 0.15s ease, background 0.15s ease; }
.lang-trigger:hover { background: var(--paper-deep); border-color: var(--line-strong); }
.lang-trigger[aria-expanded="true"] { border-color: var(--coral); background: var(--paper-deep); }
.lang-current { max-width: 132px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lang-caret { flex: none; width: 7px; height: 7px; margin-inline-start: 2px; border-right: 1.6px solid var(--ink-muted); border-bottom: 1.6px solid var(--ink-muted); transform: translateY(-2px) rotate(45deg); transition: transform 0.18s ease; }
.lang-trigger[aria-expanded="true"] .lang-caret { transform: translateY(1px) rotate(-135deg); }

.lang-menu { position: absolute; z-index: 60; top: calc(100% + 10px); inset-inline-end: 0; width: max-content; min-width: 208px; max-width: min(300px, calc(100vw - 32px)); max-height: var(--lang-menu-max, 340px); overflow-y: auto; overscroll-behavior: contain; padding: 6px; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--card-deep); box-shadow: var(--shadow); scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; animation: lang-menu-in 0.14s ease-out; }
.lang-menu.is-above { top: auto; bottom: calc(100% + 10px); }
.lang-menu::-webkit-scrollbar { width: 10px; }
.lang-menu::-webkit-scrollbar-track { background: transparent; }
.lang-menu::-webkit-scrollbar-thumb { background: var(--line-strong); background-clip: content-box; border: 3px solid transparent; border-radius: 999px; }
@keyframes lang-menu-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.lang-menu.is-above { animation-name: lang-menu-in-above; }
@keyframes lang-menu-in-above { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.lang-option { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border: 0; border-radius: 11px; background: transparent; color: var(--ink-soft); font-size: 13.5px; font-weight: 500; text-align: start; white-space: nowrap; transition: background 0.12s ease, color 0.12s ease; }
.lang-option:hover { background: var(--paper-deep); color: var(--ink); }
.lang-option:focus, .lang-option:focus-visible { outline: none; background: var(--paper-deep); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.lang-option[aria-selected="true"] { background: var(--coral-soft); color: var(--coral); }
.lang-option .lang-check { margin-inline-start: auto; font-size: 11px; opacity: 0; }
.lang-option[aria-selected="true"] .lang-check { opacity: 1; }
.legal-nav { margin-left: auto; }
.legal-nav + .lang-switch { margin-left: 4px; }
.site-header .lang-switch:first-of-type { margin-left: auto; }
.site-nav + .lang-switch, .menu-button ~ .lang-switch { margin-left: 0; }
.menu-button { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: var(--card); position: relative; }
.menu-button span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.2s ease, top 0.2s ease; }
.menu-button span:first-child { top: 16px; }
.menu-button span:last-child { top: 24px; }
.menu-button[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 72px); padding-top: clamp(48px, 7vw, 92px); }
.status-chip { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.status-chip > span:first-child { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px var(--coral-soft); }
.hero h1 { margin-top: 26px; font-size: clamp(40px, 6vw, 72px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 800; }
.hero h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--coral-deep); letter-spacing: -0.02em; }
.hero-lead { margin-top: 24px; max-width: 540px; font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 34px; list-style: none; font-size: 14px; color: var(--ink-muted); }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }

/* Product stage — Chrome-like extension preview */
.product-stage { position: relative; padding: 46px 24px 40px; min-width: 0; }
.stage-orbit { position: absolute; border-radius: 50%; border: 1px dashed var(--line-strong); pointer-events: none; }
.orbit-one { inset: 6% -4% 4% 8%; }
.orbit-two { inset: -2% 10% 14% -6%; opacity: 0.6; }
.browser-frame { position: relative; z-index: 1; background: #1c1b24; border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #24232d; border-bottom: 1px solid var(--line); }
.browser-dots { display: flex; gap: 6px; }
.browser-dots span { width: 10px; height: 10px; border-radius: 50%; background: #3a3945; }
.browser-dots span:first-child { background: #f2a094; }
.browser-dots span:nth-child(2) { background: #f0d08a; }
.browser-dots span:last-child { background: #a9d5b3; }
.browser-address { flex: 1; padding: 7px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 12px; color: var(--ink-muted); font-family: var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.neko-mini { display: block; width: 26px; height: 26px; border-radius: 7px; object-fit: contain; }
/* Chat mock — mirrors the extension inside VGen messages */
.chat-shell { display: grid; background: linear-gradient(180deg, #23222b 0%, #1c1b23 100%); color: #f1eef8; }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.chat-head > div { display: flex; align-items: center; gap: 10px; min-width: 0; }
.chat-head strong { display: block; font-size: 13.5px; }
.chat-head small { display: block; font-size: 11px; color: #9c98ab; }
.avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.avatar-coral { background: var(--sage); color: var(--sage-deep); }
.language-pill { padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); font-size: 11px; font-weight: 600; white-space: nowrap; }
.chat-body { display: grid; gap: 12px; padding: 16px 16px 8px; }
.chat-date { text-align: center; }
.chat-date span { display: block; font-size: 11px; color: #9c98ab; }
.chat-date small { display: block; font-size: 10px; color: #6f6c7c; }
.chat-row { display: flex; align-items: center; gap: 10px; }
.chat-row-out { justify-content: flex-end; }
.bubble { max-width: 82%; padding: 11px 13px 10px; border-radius: 16px; font-size: 13px; line-height: 1.5; }
.bubble p { margin: 0; }
.bubble-in { background: #34333e; border-bottom-left-radius: 4px; }
.bubble-out { background: #8b5cf6; border-bottom-right-radius: 4px; color: #fff; }
.bubble-translation { margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 12px; color: #d9d5e6; }
.bubble-out .bubble-translation { color: #efe8ff; border-top-color: rgba(255, 255, 255, 0.28); }
.bubble-loading { display: flex; align-items: center; gap: 6px; color: #9c98ab; }
.bubble-loading i, .mock-card .loading em { display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid currentColor; border-right-color: transparent; animation: spin 1s linear infinite; }
.ai-pill { flex-shrink: 0; padding: 5px 10px; border: 0; border-radius: 999px; background: #c8f542; color: #1a2200; font-size: 11px; font-weight: 700; pointer-events: none; }
.ai-pill-focus { box-shadow: 0 0 0 4px rgba(200, 245, 66, 0.25); }
.chat-input { display: flex; align-items: center; gap: 10px; margin: 8px 16px 16px; padding: 10px 14px; border-radius: 12px; background: #2b2a34; color: #7d7a8c; font-size: 12.5px; }
.chat-input i { margin-left: auto; width: 26px; height: 26px; border-radius: 50%; background: #c8f542; }
.floating-note { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.floating-note > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--paper-deep); font-weight: 800; font-size: 15px; }
.floating-note strong { display: block; font-size: 13px; }
.floating-note small { display: block; font-size: 11px; color: var(--ink-muted); }
.note-left { left: -12px; bottom: 6px; animation: float 7s ease-in-out infinite; }
.note-right { right: -8px; top: -4px; animation: float 8s ease-in-out infinite reverse; }
.stage-dialog { position: absolute; z-index: 3; right: -18px; bottom: 8px; width: min(282px, 78%); padding: 14px; border-radius: 16px; background: #1c1b24; border: 1px solid rgba(200, 245, 66, 0.35); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.04); color: #f1eef8; animation: float 9s ease-in-out infinite; }
.stage-dialog .mock-dialog-head small { display: block; margin-top: 4px; font-size: 10.5px; color: #a8a4b8; }
.stage-dialog .mock-field p { margin: 0; font-size: 12px; color: #f1eef8; line-height: 1.45; }
.note-right > span { background: var(--sage); color: var(--sage-deep); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ---------- Language band (inline SVG mascot + greetings) ---------- */
.language-band { width: min(var(--content), calc(100% - 48px)); margin: 0 auto; padding: 22px 0 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.language-band-label { margin-bottom: 8px; font-size: 13px; color: var(--ink-muted); }
.language-art { display: block; width: 100%; height: clamp(150px, 21vw, 250px); font-family: var(--sans); }
.language-art text { user-select: none; }
.lang-cat { filter: drop-shadow(0 12px 28px rgba(139, 92, 246, 0.35)); }
.lang-bubble { opacity: 0; animation: bubbleIn 0.7s ease-out forwards; transform-box: fill-box; transform-origin: center; }
.lang-bubble[data-i="0"] { animation-delay: 0.00s; }
.lang-bubble[data-i="1"] { animation-delay: 0.12s; }
.lang-bubble[data-i="2"] { animation-delay: 0.24s; }
.lang-bubble[data-i="3"] { animation-delay: 0.36s; }
.lang-bubble[data-i="4"] { animation-delay: 0.48s; }
.lang-bubble[data-i="5"] { animation-delay: 0.60s; }
.lang-bubble[data-i="6"] { animation-delay: 0.72s; }
.lang-bubble[data-i="7"] { animation-delay: 0.84s; }
.lang-bubble[data-i="8"] { animation-delay: 0.96s; }
.lang-bubble[data-i="9"] { animation-delay: 1.08s; }
.lang-bubble[data-i="10"] { animation-delay: 1.20s; }
.lang-bubble[data-i="11"] { animation-delay: 1.32s; }
.lang-bubble[data-i="12"] { animation-delay: 1.44s; }
.lang-bubble[data-i="13"] { animation-delay: 1.56s; }
.lang-bubble[data-i="14"] { animation-delay: 1.68s; }
.lang-bubble[data-i="15"] { animation-delay: 1.80s; }
.lang-bubble[data-i="16"] { animation-delay: 1.92s; }
.lang-bubble[data-i="17"] { animation-delay: 2.04s; }
.lang-bubble[data-i="18"] { animation-delay: 2.16s; }
.lang-bubble[data-i="19"] { animation-delay: 2.28s; }
.lang-bubble[data-i="20"] { animation-delay: 2.40s; }
@keyframes bubbleIn { from { opacity: 0; transform: translateY(8px) scale(0.92); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lang-bubble { opacity: 1; animation: none; } }

/* ---------- Features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature-card { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-soft); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-card h3 { font-size: 20px; letter-spacing: -0.02em; line-height: 1.2; }
.feature-card p { margin-top: 10px; font-size: 15px; color: var(--ink-muted); }
.feature-large { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); align-items: center; gap: 28px; }
.feature-large .feature-number { grid-column: 1 / -1; }
.feature-card:last-child { grid-column: span 2; }
.feature-number { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--coral-deep); }
.mock-chat, .mock-page, .mock-dialog { padding: 14px; border-radius: 14px; background: var(--card-deep); border: 1px solid var(--line); color: #f1eef8; }
.feature-card .mock-chat p, .feature-card .mock-page p, .feature-card .mock-dialog p, .feature-card .bubble p { margin-top: 0; color: inherit; font-size: inherit; }
.mock-chat { display: grid; gap: 10px; }
.mock-chat .bubble { max-width: 88%; font-size: 12.5px; }
.mock-page { display: grid; gap: 12px; }
.mock-nav { display: flex; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); overflow: hidden; white-space: nowrap; }
.mock-nav span { display: flex; align-items: baseline; gap: 5px; font-size: 12px; font-weight: 700; }
.mock-nav small, .mock-card small { font-size: 10px; font-weight: 500; color: #a8a4b8; }
.mock-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mock-card { position: relative; display: grid; gap: 4px; }
.mock-card .thumb { display: block; height: 58px; border-radius: 10px; }
.thumb-a { background: linear-gradient(135deg, #f7a6c1, #8b5cf6); }
.thumb-b { background: linear-gradient(135deg, #7dd3fc, #34d399); }
.mock-card b { position: absolute; top: 6px; left: 6px; display: flex; align-items: baseline; gap: 4px; padding: 3px 7px; border-radius: 6px; background: #c8f542; color: #1a2200; font-size: 9px; }
.mock-card b small { color: #1a2200; font-size: 8px; }
.feature-card .mock-card p { margin: 4px 0 0; display: grid; font-size: 11.5px; font-weight: 600; color: #f1eef8; }
.mock-card .loading { display: inline-flex; align-items: center; gap: 4px; }
.mock-dialog { display: grid; gap: 10px; }
.mock-dialog-head span { display: block; font-size: 9px; letter-spacing: 0.2em; font-weight: 700; color: #c8f542; }
.mock-dialog-head strong { display: block; font-size: 13.5px; }
.mock-field { padding: 8px 10px; border-radius: 9px; background: #2b2a34; }
.mock-field span { display: block; font-size: 10px; color: #a8a4b8; margin-bottom: 3px; }
.feature-card .mock-field p { margin: 0; font-size: 12px; color: #f1eef8; }
.mock-field-out { border: 1px solid rgba(200, 245, 66, 0.35); }
.mock-dialog-actions { display: flex; justify-content: flex-end; gap: 6px; }
.mock-dialog-actions em { font-style: normal; padding: 5px 10px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.2); font-size: 11px; font-weight: 600; }
.mock-dialog-actions .primary { background: #c8f542; color: #1a2200; border-color: #c8f542; }
.feature-icon { display: flex; align-items: center; gap: 8px; height: 76px; padding: 0 16px; border-radius: 14px; background: var(--paper-deep); font-weight: 700; }
.icon-cloud span { padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line-strong); font-size: 12px; }
.icon-cloud span:first-child { background: var(--coral); color: var(--accent-ink); border-color: var(--coral); }
.icon-cloud i { flex: 1; height: 1px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px); }

/* ---------- Workflow ---------- */
.workflow-section { width: min(var(--content), calc(100% - 48px)); margin-inline: auto; padding: clamp(56px, 7vw, 92px) clamp(24px, 5vw, 72px); border-radius: 30px; background: linear-gradient(180deg, #100f16 0%, #17161f 100%); border: 1px solid var(--line); color: var(--ink); }
.workflow-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.workflow-grid article { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 20px; background: rgba(255, 255, 255, 0.045); border: 1px solid rgba(255, 255, 255, 0.09); }
.step-index { font-family: var(--mono); font-size: 12px; color: var(--coral); }
.workflow-grid h3 { font-size: 19px; letter-spacing: -0.02em; margin-top: 4px; }
.workflow-grid article > p { font-size: 14.5px; color: var(--ink-muted); }
.step-visual { position: relative; padding: 16px; border-radius: 14px; background: var(--card-deep); border: 1px solid var(--line); color: #f1eef8; min-height: 118px; }
.step-visual .bubble { max-width: 100%; }
.visual-intent > span, .visual-review > span { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #a8a4b8; }
.visual-intent p { margin-top: 8px; padding: 10px 12px; border-radius: 10px; background: #0f0e14; border: 1px solid rgba(200, 245, 66, 0.5); font-size: 13.5px; }
.visual-intent small { display: block; margin-top: 8px; font-size: 10.5px; line-height: 1.45; color: #8f8b9e; }
.visual-review p { margin: 6px 0 10px; padding: 9px 12px; border-radius: 10px; background: #2b2a34; font-size: 13px; }
.visual-review .review-line { color: #d9d5e6; margin-bottom: 44px; }
.visual-review button { position: absolute; right: 14px; bottom: 14px; padding: 7px 12px; border-radius: 999px; border: 0; background: #c8f542; color: #1a2200; font-size: 12px; font-weight: 700; pointer-events: none; }

/* ---------- Safety ---------- */
.safety-section { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(32px, 5vw, 80px); }
.safety-visual { position: relative; aspect-ratio: 1; max-width: 420px; margin: 0 auto; width: 100%; }
.shield { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); z-index: 2; display: grid; place-items: center; width: 118px; height: 118px; border-radius: 32px; overflow: hidden; box-shadow: var(--shadow), 0 0 40px rgba(139, 92, 246, 0.35); }
.shield img { display: block; width: 118px; height: 118px; }
.safety-ring { position: absolute; border-radius: 50%; border: 1px solid var(--line-strong); }
.ring-a { inset: 12%; }
.ring-b { inset: 0; border-style: dashed; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.safe-label { position: absolute; z-index: 3; padding: 9px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-soft); font-size: 13px; font-weight: 600; white-space: nowrap; }
.label-a { top: 8%; left: 6%; }
.label-b { right: -4%; top: 22%; }
.label-c { bottom: 8%; left: 34%; }
.safety-copy > p:not(.kicker) { margin-top: 18px; font-size: 17px; color: var(--ink-muted); max-width: 540px; }
.check-list { list-style: none; display: grid; gap: 12px; margin-top: 26px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; }
.check-list em, .price-card li em, .faq-list summary em { font-style: normal; }
.check-list span { flex-shrink: 0; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--sage); color: var(--sage-deep); font-size: 12px; font-weight: 700; margin-top: 1px; }

/* ---------- Pricing ---------- */
.pricing-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 22px; align-items: start; }
.price-card { padding: 30px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.price-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: var(--ink-muted); }
.price-badge { padding: 5px 10px; border-radius: 999px; background: var(--sage); color: var(--sage-deep); letter-spacing: 0.02em; font-size: 12px; }
.price { display: flex; align-items: baseline; gap: 10px; margin-top: 22px; }
.price strong { font-size: 56px; line-height: 1; letter-spacing: -0.05em; }
.price span { color: var(--ink-muted); }
.price-card > p { margin-top: 14px; color: var(--ink-muted); }
.price-card > .price-alt { margin-top: 8px; color: var(--ink-soft); font-weight: 600; }
.price-card ul { list-style: none; display: grid; gap: 12px; margin: 26px 0 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.price-card li { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.price-card li span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--coral-soft); color: var(--coral-deep); font-size: 12px; font-weight: 700; }
.pricing-notes { display: grid; gap: 14px; }
.pricing-notes article { display: flex; gap: 18px; padding: 22px 24px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.note-icon { flex-shrink: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--paper-deep); font-size: 18px; }
.pricing-notes h3 { font-size: 17px; letter-spacing: -0.01em; }
.pricing-notes p { margin-top: 6px; font-size: 14.5px; color: var(--ink-muted); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 10px; max-width: 820px; }
.faq-list details { border-radius: 16px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; list-style: none; font-weight: 600; font-size: 17px; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { flex-shrink: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--paper-deep); font-size: 18px; font-weight: 400; transition: transform 0.2s ease, background 0.2s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); background: var(--coral-soft); color: var(--coral-deep); }
.faq-list details p { padding: 0 22px 22px; color: var(--ink-muted); max-width: 680px; }

/* ---------- Final CTA ---------- */
.final-cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(40px, 6vw, 72px) clamp(28px, 5vw, 64px); border-radius: 30px; background: linear-gradient(135deg, #5b34d6 0%, #8b5cf6 100%); color: #fff; margin-bottom: clamp(48px, 6vw, 80px); box-shadow: 0 30px 80px rgba(139, 92, 246, 0.25); }
.final-cta .kicker { color: var(--coral); }
.final-cta h2 { color: #fff; }
.final-cta p:last-child { margin-top: 14px; color: #e6dcff; max-width: 460px; }

/* ---------- Footer ---------- */
.site-footer { width: min(var(--content), calc(100% - 48px)); margin: 0 auto; padding: 0 0 40px; }
.footer-main { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; padding: 40px 0; border-top: 1px solid var(--line); }
.footer-main > div:first-child p { margin-top: 16px; max-width: 360px; font-size: 14.5px; color: var(--ink-muted); }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.footer-links > div { display: grid; gap: 10px; align-content: start; }
.footer-links strong { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 4px; }
.footer-links a { font-size: 14.5px; color: var(--ink-soft); }
.footer-links a:hover { color: var(--coral-deep); }
.footer-status { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 18px 22px; border-radius: 16px; background: var(--paper-deep); font-size: 13.5px; color: var(--ink-muted); }
.footer-status strong { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 22px; font-size: 13px; color: var(--ink-faint); }

/* ---------- Contact ---------- */
.contact-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: start; padding-top: clamp(40px, 6vw, 72px); }
.contact-intro h1, .legal-aside h1 { margin-top: 14px; font-size: clamp(34px, 4.5vw, 52px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 800; }
.contact-intro > p { margin-top: 18px; font-size: 17px; color: var(--ink-muted); max-width: 500px; }
.contact-facts { display: grid; gap: 12px; margin-top: 34px; }
.contact-facts article { display: flex; gap: 16px; padding: 18px 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.contact-facts article > span { flex-shrink: 0; font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--coral-deep); padding-top: 3px; }
.contact-facts strong { display: block; font-size: 15.5px; }
.contact-facts p { margin-top: 4px; font-size: 14px; color: var(--ink-muted); }
.contact-card { padding: clamp(22px, 3vw, 34px); border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact-card form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-card label { display: grid; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
.contact-card input, .contact-card select, .contact-card textarea {
  width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--paper);
  font-size: 15px; font-weight: 400; color: var(--ink); transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact-card select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-muted) 50%), linear-gradient(135deg, var(--ink-muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.contact-card textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.contact-card input:focus, .contact-card select:focus, .contact-card textarea:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 4px var(--coral-soft); }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.consent { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 12px !important; font-weight: 400 !important; font-size: 13.5px !important; color: var(--ink-muted) !important; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; padding: 0; flex-shrink: 0; accent-color: var(--coral-deep); }
.consent a { color: var(--coral); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.form-message { padding: 13px 16px; border-radius: 12px; font-size: 14.5px; line-height: 1.5; border: 1px solid transparent; }
.form-success { background: rgba(208, 245, 90, 0.12); border-color: rgba(208, 245, 90, 0.4); color: #e2ff7d; }
.form-error { background: rgba(255, 110, 110, 0.12); border-color: rgba(255, 110, 110, 0.4); color: #ffb3b3; }

/* ---------- Account page ---------- */
.account-card { display: grid; gap: 20px; align-content: start; }
.account-card-title { font-size: 24px; letter-spacing: -0.02em; }
.account-muted { color: var(--ink-muted); font-size: 14.5px; line-height: 1.55; margin-top: 6px; }
.account-identity { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.account-identity .account-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 4px; }
.account-identity strong { font-size: 15.5px; word-break: break-all; }
.account-signout { padding: 9px 16px; font-size: 13.5px; }
.account-plan { padding: 4px 0; }
#account-signed-in { display: grid; gap: 20px; }
#subscribe-block h3 { font-size: 17px; margin-bottom: 4px; }
.account-actions { display: grid; gap: 12px; margin-top: 16px; }
.account-fineprint { font-size: 13px; margin-top: 12px; }
.account-fineprint a { color: var(--coral-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.simple-footer { width: min(var(--content), calc(100% - 48px)); margin: 0 auto; padding: 28px 0 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-muted); }
.simple-footer div { display: flex; gap: 20px; }
.simple-footer a:hover { color: var(--coral-deep); }

/* ---------- Offline installation ---------- */
.offline-shell { padding-top: clamp(40px, 6vw, 72px); }
.offline-heading { max-width: 760px; }
.offline-heading h1 { margin-top: 14px; font-size: clamp(36px, 5vw, 58px); line-height: 1.03; letter-spacing: -0.04em; }
.offline-heading > p:last-child { margin-top: 20px; max-width: 680px; font-size: 17px; color: var(--ink-muted); }
.offline-store-card { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 42px; padding: 24px 28px; border: 1px solid rgba(208, 245, 90, 0.3); border-radius: 22px; background: linear-gradient(135deg, rgba(208, 245, 90, 0.1), rgba(139, 92, 246, 0.08)); }
.offline-store-card h2, .offline-card h2, .offline-warning-card h2 { font-size: 22px; letter-spacing: -0.02em; }
.offline-store-card p { margin-top: 6px; max-width: 650px; color: var(--ink-muted); }
.offline-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 20px; margin-top: 20px; }
.offline-card { min-width: 0; padding: clamp(24px, 3vw, 34px); border: 1px solid var(--line); border-radius: 22px; background: var(--card); }
.offline-card-label { display: inline-flex; margin-bottom: 18px; padding: 5px 9px; border-radius: 999px; background: var(--coral-soft); color: var(--coral); font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; }
.offline-package-card > p:not(.offline-card-label, .offline-release-status) { margin-top: 10px; color: var(--ink-muted); }
.offline-release-status { margin-top: 22px; color: var(--ink-muted); font-size: 14px; }
.offline-release-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.offline-release-details > div { padding: 14px 16px; border-radius: 14px; background: var(--paper-deep); }
.offline-release-details dt { font-size: 12px; color: var(--ink-muted); }
.offline-release-details dd { margin: 4px 0 0; font-weight: 650; }
.offline-release-details .offline-hash { grid-column: 1 / -1; }
.offline-hash dd { overflow-wrap: anywhere; font-family: var(--mono); font-size: 12px; color: var(--ink-soft); }
.offline-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.offline-steps { display: grid; gap: 18px; margin-top: 22px; padding: 0; list-style: none; counter-reset: offline-step; }
.offline-steps li { position: relative; min-height: 34px; padding-inline-start: 48px; color: var(--ink-soft); counter-increment: offline-step; }
.offline-steps li::before { content: counter(offline-step); position: absolute; inset-inline-start: 0; top: -3px; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line-strong); border-radius: 11px; color: var(--coral); font-family: var(--mono); font-size: 12px; font-weight: 700; }
.offline-warning-card { margin-top: 20px; padding: clamp(24px, 3vw, 34px); border: 1px solid rgba(255, 190, 92, 0.24); border-radius: 22px; background: rgba(255, 190, 92, 0.05); }
.offline-warning-card ul { display: grid; gap: 12px; margin-top: 18px; padding-inline-start: 20px; color: var(--ink-soft); }
.offline-warning-card p { margin-top: 22px; }
.offline-warning-card a { color: var(--coral); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Legal pages ---------- */
.legal-shell { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); width: min(var(--content), calc(100% - 48px)); margin: 0 auto; padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 7vw, 96px); align-items: start; }
.legal-aside { position: sticky; top: 96px; }
.legal-aside > p:not(.kicker) { margin-top: 12px; font-size: 14px; color: var(--ink-muted); }
.legal-notice { padding: 10px 12px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); font-size: 12.5px !important; line-height: 1.5; }
.legal-aside nav { display: grid; gap: 4px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.legal-aside nav a { padding: 7px 10px; border-radius: 8px; font-size: 14px; color: var(--ink-muted); }
.legal-aside nav a:hover { background: var(--card); color: var(--coral); }
.legal-content { max-width: 720px; font-size: 16.5px; line-height: 1.7; color: var(--ink-soft); }
.legal-content section { padding: 26px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.legal-content section:first-child { padding-top: 0; }
.legal-content section:last-child { border-bottom: 0; }
.legal-content h2 { font-size: 22px; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 12px; }
.legal-content h3 { font-size: 16.5px; color: var(--ink); margin: 18px 0 6px; }
.legal-content p + p { margin-top: 12px; }
.legal-content ul, .legal-content ol { margin: 12px 0 0; padding-left: 22px; display: grid; gap: 8px; }
.legal-content a { color: var(--coral-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-large { grid-column: span 2; }
  .feature-card:last-child { grid-column: span 1; }
  .workflow-grid { grid-template-columns: 1fr; }
  .workflow-grid article { display: grid; grid-template-columns: 40px minmax(0, 0.9fr) minmax(0, 1fr); align-items: start; column-gap: 20px; }
  .workflow-grid article .step-visual { grid-row: span 3; grid-column: 2; }
  .workflow-grid article h3, .workflow-grid article > p { grid-column: 3; }
  .legal-shell { grid-template-columns: 220px minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .site-header { gap: 12px; padding: 8px 8px 8px 14px; margin-top: 12px; }
  .site-nav:not(.legal-nav) { display: none; position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav.open a { padding: 12px 16px; font-size: 15px; }
  .menu-button { display: block; }
  .header-cta { padding: 9px 14px; font-size: 13px; }
  .legal-nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .product-stage { max-width: 560px; margin-inline: auto; padding: 16px 12px 40px; }
  .note-left { left: 0; }
  .note-right { right: 0; }
  .stage-dialog { right: 0; }
  .safety-section { grid-template-columns: 1fr; }
  .safety-visual { max-width: 340px; }
  .pricing-layout { grid-template-columns: 1fr; }
  .contact-shell { grid-template-columns: 1fr; }
  .offline-grid { grid-template-columns: 1fr; }
  .offline-store-card { align-items: flex-start; flex-direction: column; }
  .legal-shell { grid-template-columns: 1fr; gap: 24px; }
  .legal-aside { position: static; }
  .legal-aside nav { display: flex; flex-wrap: wrap; gap: 6px; }
  .legal-aside nav a { background: var(--card); border: 1px solid var(--line); border-radius: 999px; }
  .final-cta { flex-direction: column; align-items: flex-start; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; }
  .footer-status { grid-template-columns: 1fr; }
  .workflow-grid article { grid-template-columns: 1fr; }
  .workflow-grid article .step-visual, .workflow-grid article h3, .workflow-grid article > p { grid-column: auto; grid-row: auto; }
}

@media (max-width: 640px) {
  .section-pad, .site-header, .language-band, .site-footer, .simple-footer, .workflow-section, .legal-shell { width: calc(100% - 32px); }
  .section-pad { padding-block: 56px; }
  .site-header { border-radius: 26px; }
  .site-brand > span:last-child { display: none; }
  .header-cta .arrow { display: none; }
  .lang-trigger { height: 36px; padding: 0 10px; font-size: 12px; gap: 6px; }
  .lang-current { max-width: 92px; }
  .lang-menu { min-width: 190px; border-radius: 14px; }
  .lang-icon { display: none; }
  .hero { padding-top: 32px; }
  .hero h1 { font-size: clamp(36px, 11vw, 46px); }
  .hero-actions .button { width: 100%; }
  .product-stage { padding: 8px 0 44px; }
  .stage-orbit { display: none; }
  .chat-body { padding: 12px 12px 4px; }
  .bubble { max-width: 90%; }
  .floating-note { padding: 10px 12px 10px 10px; }
  .floating-note > span { width: 34px; height: 34px; }
  .note-right { display: none; }
  .note-left { bottom: 6px; left: 0; display: none; }
  .stage-dialog { position: relative; right: auto; bottom: auto; width: auto; margin-top: -28px; margin-inline: 10px; animation: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-large, .feature-card:last-child { grid-column: auto; grid-template-columns: 1fr; }
  .feature-card { padding: 22px; }
  .workflow-section { padding: 48px 20px; border-radius: 22px; }
  .safety-visual { max-width: 280px; }
  .safe-label { font-size: 12px; padding: 7px 11px; }
  .price-card { padding: 24px; }
  .price strong { font-size: 46px; }
  .pricing-notes article { flex-direction: column; gap: 12px; }
  .faq-list summary { padding: 16px 18px; font-size: 15.5px; }
  .faq-list details p { padding: 0 18px 18px; }
  .final-cta { border-radius: 22px; }
  .final-cta .button { width: 100%; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-card { padding: 20px; border-radius: 20px; }
  .offline-actions .button, .offline-store-card .button { width: 100%; }
  .offline-release-details { grid-template-columns: 1fr; }
  .offline-release-details .offline-hash { grid-column: auto; }
  .legal-content { font-size: 15.5px; }
}

/* ---------- RTL ---------- */
[dir="rtl"] .site-nav, [dir="rtl"] .legal-nav, [dir="rtl"] .menu-button, [dir="rtl"] .site-header .lang-switch:first-of-type { margin-left: 0; margin-right: auto; }
[dir="rtl"] .site-nav + .lang-switch, [dir="rtl"] .menu-button ~ .lang-switch, [dir="rtl"] .legal-nav + .lang-switch { margin-right: 0; }
[dir="rtl"] .bubble-in { border-bottom-left-radius: 16px; border-bottom-right-radius: 4px; }
[dir="rtl"] .bubble-out { border-bottom-right-radius: 16px; border-bottom-left-radius: 4px; }
[dir="rtl"] .chat-row-out { justify-content: flex-start; }
[dir="rtl"] .chat-row:not(.chat-row-out) { flex-direction: row-reverse; justify-content: flex-end; }
[dir="rtl"] .contact-card select { background-position: 20px 50%, 15px 50%; padding-right: 14px; padding-left: 40px; }
[dir="rtl"] .chat-input i { margin-left: 0; margin-right: auto; }
[dir="rtl"] .browser-address, [dir="rtl"] .bubble p, [dir="rtl"] .mock-nav { direction: ltr; text-align: left; }

/* Scripts without a natural italic: keep the accent color, drop the serif italic. */
:lang(ja) .hero h1 em, :lang(zh-CN) .hero h1 em, :lang(zh-TW) .hero h1 em, :lang(ko) .hero h1 em, :lang(th) .hero h1 em, :lang(hi) .hero h1 em, :lang(ar) .hero h1 em { font-family: inherit; font-style: normal; font-weight: 800; letter-spacing: -0.04em; }
