/* =========================================================
   LingoLens — preview shell
   ========================================================= */
:root {
  --ink: #07090b;
  --ink-2: #0a0d10;
  --panel: rgba(255, 255, 255, 0.042);
  --panel-2: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eef3f2;
  --muted: #93a2a4;
  --dim: #6c7a7d;
  --mint: #7cf5d5;
  --mint-dim: rgba(124, 245, 213, 0.16);
  --amber: #ffc46b;
  --coral: #ff8a7a;
  --blue: #8ab4ff;
  --radius: 20px;
  --radius-sm: 12px;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --shadow: 0 40px 120px rgba(0, 0, 0, 0.65);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(124, 245, 213, 0.28); color: #fff; }

a { color: var(--mint); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

code {
  font-family: var(--mono);
  font-size: 0.88em;
  color: #cfe9e3;
  background: rgba(124, 245, 213, 0.07);
  border: 1px solid rgba(124, 245, 213, 0.13);
  border-radius: 5px;
  padding: 1px 5px;
  white-space: nowrap;
}

h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; }

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 20%, transparent 80%);
  opacity: 0.7;
}

.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(700px 420px at 18% 2%, rgba(124, 245, 213, 0.1), transparent 70%),
    radial-gradient(760px 460px at 84% 10%, rgba(255, 196, 107, 0.07), transparent 72%),
    radial-gradient(900px 600px at 50% 100%, rgba(138, 180, 255, 0.05), transparent 75%);
}

/* ---------------- top bar ---------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 30px;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 9, 11, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 10px;
  color: var(--mint);
  background: linear-gradient(150deg, rgba(124, 245, 213, 0.18), rgba(124, 245, 213, 0.02));
  border: 1px solid rgba(124, 245, 213, 0.28);
}
.brand-name { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; font-size: 16px; }
.brand-tag { font-size: 11.5px; color: var(--dim); padding-left: 10px; border-left: 1px solid var(--line); }

.topnav { display: flex; gap: 22px; margin-left: auto; }
.topnav a { color: var(--muted); font-size: 13px; }
.topnav a:hover { color: var(--text); text-decoration: none; }
.mobile-translate-link { display: none; }

.topbar-right { display: flex; align-items: center; gap: 12px; }
.live-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11.5px; color: #cdf7eb;
  border: 1px solid rgba(124, 245, 213, 0.26);
  background: rgba(124, 245, 213, 0.07);
  padding: 5px 11px; border-radius: 999px;
}
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px rgba(124, 245, 213, 0.15); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.ghost-btn {
  font-size: 12.5px; color: var(--text);
  border: 1px solid var(--line-strong);
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}
.ghost-btn:hover { background: rgba(255, 255, 255, 0.07); text-decoration: none; }

/* ---------------- stage ---------------- */
.stage {
  display: grid;
  grid-template-columns: 318px minmax(0, 392px) 318px;
  gap: 30px;
  justify-content: center;
  align-items: start;
  max-width: 1380px;
  margin: 0 auto;
  padding: 30px 30px 44px;
}

.rail { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

.card {
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.022));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  position: relative;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.card-title { margin: 0; font-size: 13px; letter-spacing: 0.01em; font-family: var(--sans); font-weight: 600; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }

.eyebrow {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mint);
  margin: 0 0 12px;
}

.hero-card { padding: 22px 20px 18px; }
.hero-card h1 { font-size: 30px; line-height: 1.1; margin: 0 0 12px; }
.hl {
  background: linear-gradient(100deg, var(--mint), #b9ffe9 55%, var(--amber));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { color: #c2cfcd; font-size: 13.5px; margin: 0 0 16px; }
.hero-points { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 9px; }
.hero-points li { display: flex; gap: 9px; font-size: 12.5px; color: #d7e2e0; }
.tick { color: var(--mint); font-weight: 700; }
.fineprint { font-size: 11px; color: var(--dim); margin: 12px 0 0; line-height: 1.6; }
.hero-translate { display: grid; gap: 4px; margin: 18px 0 0; }
.hero-translate a { display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 13px; border-radius: 10px; background: var(--mint); color: #07140f;
  font-weight: 700; font-size: 12px; text-decoration: none; }
.hero-translate a:hover { background: #a9ffe4; text-decoration: none; }
.hero-translate small { font-size: 10px; color: var(--muted); }

.pill-note {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.08em;
  color: var(--amber); border: 1px solid rgba(255, 196, 107, 0.3);
  background: rgba(255, 196, 107, 0.08);
  padding: 2px 6px; border-radius: 999px; margin-left: 6px;
  vertical-align: 2px;
}

.steps { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.steps li { display: flex; gap: 11px; font-size: 12.5px; color: #c7d3d1; }
.step-n {
  flex: none; width: 21px; height: 21px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 10.5px; color: var(--mint);
  border: 1px solid rgba(124, 245, 213, 0.3);
  background: rgba(124, 245, 213, 0.07);
}
.hint { font-size: 11px; color: var(--dim); margin: 14px 0 0; padding-top: 12px; border-top: 1px dashed var(--line); }

.status-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em;
  color: var(--muted); border: 1px solid var(--line);
  padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.03);
  text-transform: uppercase;
}
.status-chip .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--dim); }
.status-chip.is-live { color: var(--mint); border-color: rgba(124, 245, 213, 0.3); background: rgba(124, 245, 213, 0.07); }
.status-chip.is-live .dot { background: var(--mint); box-shadow: 0 0 0 3px rgba(124, 245, 213, 0.14); }

.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.stat { background: #0b0f12; padding: 10px 11px; display: flex; flex-direction: column; gap: 3px; }
.stat-label { font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.09em; color: var(--dim); }
.stat-value { font-family: var(--mono); font-size: 19px; color: var(--text); line-height: 1.1; }
.stat-value small { font-size: 10px; color: var(--dim); margin-left: 2px; }

.spark-wrap { margin-top: 14px; }
.spark-head { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--dim); margin-bottom: 4px; }
.spark { width: 100%; height: 52px; display: block; overflow: visible; }
.spark-sm { height: 34px; margin: 10px 0 4px; }
.mono { font-family: var(--mono); font-size: 10.5px; }

.chip-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chip {
  font-size: 10.5px; color: #b9c7c5;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  padding: 3px 8px; border-radius: 6px;
}

/* ---------------- device ---------------- */
.device-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; position: sticky; top: 84px; }

.device {
  width: 392px;
  /* Fits the phone in the viewport on laptops without shrinking the UI. */
  height: clamp(620px, calc(100dvh - 150px), 806px);
  padding: 10px;
  border-radius: 52px;
  background: linear-gradient(160deg, #2a3033, #101416 28%, #0b0e10 60%, #262b2e);
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.09), inset 0 0 0 1px rgba(0, 0, 0, 0.6);
  position: relative;
}
.device::before {
  content: "";
  position: absolute; inset: 4px;
  border-radius: 48px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}
.device-inner {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 43px;
  overflow: hidden;
  background: #05070a;
  display: flex; flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.8);
}

.statusbar {
  height: 44px; flex: none;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px;
  position: relative; z-index: 6;
  color: #e9f1f0;
  background: #05070a;
}
.sb-time { font-size: 12px; font-weight: 600; letter-spacing: 0.02em; }
.island {
  position: absolute; left: 50%; top: 9px; transform: translateX(-50%);
  width: 92px; height: 26px; border-radius: 999px;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.sb-right { display: flex; align-items: center; gap: 7px; color: #a9b8b6; }
.sb-icon.lens-on { color: var(--mint); }
.sb-icon.is-on { color: var(--mint); }
.sb-battery { width: 21px; height: 11px; border: 1px solid currentColor; border-radius: 3px; padding: 1.5px; display: block; opacity: 0.8; }
.sb-battery i { display: block; width: 72%; height: 100%; border-radius: 1px; background: currentColor; }

.viewport { position: relative; flex: 1; min-height: 0; overflow: hidden; background: #0a0d10; }
.app-layer { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; }
.app-layer::-webkit-scrollbar { display: none; }

.hud { position: absolute; inset: 0; pointer-events: none; z-index: 5; }

/* HUD detection boxes */
.hud-box {
  position: absolute;
  border: 1px solid rgba(124, 245, 213, 0.85);
  border-radius: 5px;
  background: rgba(124, 245, 213, 0.1);
  box-shadow: 0 0 0 1px rgba(124, 245, 213, 0.16), 0 0 18px rgba(124, 245, 213, 0.28);
  animation: boxIn 220ms ease-out both;
}
.hud-box::after {
  content: attr(data-lang);
  position: absolute; top: -15px; left: -1px;
  font-family: var(--mono); font-size: 8px; letter-spacing: 0.08em;
  color: #04110d; background: var(--mint);
  padding: 1px 4px; border-radius: 3px;
  text-transform: uppercase;
}
@keyframes boxIn { from { opacity: 0; transform: scale(0.98); } to { opacity: 1; transform: scale(1); } }
.hud-box.is-out { animation: boxOut 300ms ease-in both; }
@keyframes boxOut { to { opacity: 0; transform: scale(1.01); } }

.scan-line {
  position: absolute; left: 0; right: 0; height: 84px;
  background: linear-gradient(180deg, transparent, rgba(124, 245, 213, 0.12) 62%, rgba(124, 245, 213, 0.9));
  box-shadow: 0 0 24px rgba(124, 245, 213, 0.55);
  animation: sweep 700ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes sweep { 0% { top: -84px; opacity: 0; } 14% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

.flash {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04) 55%, transparent 75%);
  animation: flashOut 380ms ease-out forwards;
}
@keyframes flashOut { from { opacity: 1; } to { opacity: 0; } }

.hud-metrics {
  position: absolute; left: 12px; bottom: 12px;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 9px; color: #d5f7ee;
  background: rgba(6, 12, 12, 0.82);
  border: 1px solid rgba(124, 245, 213, 0.24);
  padding: 5px 9px; border-radius: 7px;
  backdrop-filter: blur(10px);
  animation: boxIn 200ms ease-out both;
}
.hud-metrics b { color: var(--mint); font-weight: 500; }
.hud-metrics .sep { width: 1px; height: 9px; background: rgba(255, 255, 255, 0.18); }

/* toast + banner */
.toast {
  position: absolute; left: 50%; bottom: 130px; transform: translateX(-50%);
  z-index: 8; max-width: calc(100% - 40px);
  font-size: 11px; color: #06120f;
  background: var(--mint);
  padding: 7px 13px; border-radius: 999px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  pointer-events: none;
  white-space: nowrap;
  animation: toastIn 220ms ease-out both;
}
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }

.banner {
  position: absolute; top: 8px; left: 10px; right: 10px; z-index: 9;
  display: flex; align-items: center; gap: 9px;
  padding: 8px 11px;
  border-radius: 13px;
  pointer-events: none;
  background: rgba(12, 18, 20, 0.9);
  border: 1px solid rgba(124, 245, 213, 0.22);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
  animation: bannerIn 260ms cubic-bezier(0.2, 0.9, 0.3, 1) both;
  text-align: left;
}
@keyframes bannerIn { from { opacity: 0; transform: translateY(-12px) scale(0.98); } to { opacity: 1; transform: none; } }
.banner .b-icon {
  width: 26px; height: 26px; border-radius: 8px; flex: none;
  display: grid; place-items: center;
  color: var(--mint); background: rgba(124, 245, 213, 0.12);
  font-size: 13px;
}
.banner b { display: block; font-size: 11px; color: #eaf6f3; font-weight: 600; }
.banner span { display: block; font-size: 9.5px; color: #8fa5a2; font-family: var(--mono); }

/* tab bar */
.tabbar {
  flex: none; height: 64px;
  display: flex; align-items: stretch; justify-content: space-around;
  padding: 6px 8px 8px;
  background: rgba(8, 11, 13, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  position: relative; z-index: 7;
}
.tab {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  border: 0; background: none; color: #6f8083;
  font-family: var(--sans); font-size: 9px; letter-spacing: 0.02em;
  border-radius: 12px; cursor: pointer;
  transition: color 160ms, background 160ms;
}
.tab:hover { color: #c6d6d3; }
.tab.is-active { color: var(--mint); background: rgba(124, 245, 213, 0.06); }

.lens-fab {
  position: absolute; right: 16px; bottom: 76px; z-index: 10;
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px 12px 14px;
  border: 0; border-radius: 999px;
  color: #04120f;
  background: linear-gradient(135deg, #9cffe8, #5fe4c4);
  box-shadow: 0 12px 32px rgba(80, 240, 205, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.28) inset;
  font-family: var(--display); font-weight: 600; font-size: 12.5px;
  cursor: pointer;
  transition: transform 160ms, box-shadow 160ms;
}
.lens-fab:hover { transform: translateY(-1px); box-shadow: 0 16px 36px rgba(80, 240, 205, 0.36), 0 0 0 1px rgba(255, 255, 255, 0.4) inset; }
.lens-fab:active { transform: scale(0.97); }
.lens-fab.is-busy { animation: fabPulse 900ms infinite; }
@keyframes fabPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(124, 245, 213, 0.45); } 50% { box-shadow: 0 0 0 10px rgba(124, 245, 213, 0); } }
.fab-label { pointer-events: none; }
body.is-panel .lens-fab { display: none; }

.device-caption { display: flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 9.5px; color: var(--dim); letter-spacing: 0.05em; }
.rec-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--coral); }

/* =========================================================
   Foreign app screens
   ========================================================= */
.app-shell { min-height: 100%; display: flex; flex-direction: column; font-family: var(--sans); }

/* app switcher strip */
.app-strip {
  position: sticky; top: 0; z-index: 4;
  display: flex; gap: 6px; padding: 8px 10px;
  background: linear-gradient(180deg, rgba(6, 9, 11, 0.92), rgba(6, 9, 11, 0.55) 70%, transparent);
  backdrop-filter: blur(10px);
}
.app-chip {
  display: flex; align-items: center; gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
  color: #cfdcda; font-size: 9.5px; font-family: var(--sans);
  padding: 5px 8px; border-radius: 999px; cursor: pointer;
  white-space: nowrap; max-width: 110px; overflow: hidden; text-overflow: ellipsis;
  transition: all 150ms;
}
.app-chip span.g { font-size: 10px; }
.app-chip:hover { background: rgba(255, 255, 255, 0.09); }
.app-chip.is-active { border-color: rgba(124, 245, 213, 0.4); background: rgba(124, 245, 213, 0.1); color: #dcfff6; }

/* lens status pill */
.lens-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.05em;
  padding: 3px 7px; border-radius: 999px;
  border: 1px solid rgba(124, 245, 213, 0.24);
  background: rgba(5, 10, 10, 0.6);
  color: #a9e8d9; backdrop-filter: blur(8px);
  white-space: nowrap;
}
.app-strip .lens-pill { margin-left: auto; flex: none; }
.lens-pill .lp-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--mint); }

/* ---- chat theme ---- */
.theme-chat { background: radial-gradient(120% 70% at 50% 0%, #16202a, #0a0e12 60%); color: #e8eef0; padding-bottom: 18px; }
.chat-head {
  display: flex; align-items: center; gap: 9px;
  padding: 10px 14px 9px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(10, 14, 18, 0.7);
}
.avatar {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--display); font-size: 11px; font-weight: 600;
  background: linear-gradient(140deg, #2e5b52, #173029); color: #9ff5dd;
  border: 1px solid rgba(124, 245, 213, 0.24);
}
.chat-who b { display: block; font-size: 11.5px; font-weight: 600; }
.chat-who span { display: block; font-size: 8.5px; color: #7f9490; font-family: var(--mono); }
.chat-body { padding: 14px 13px 6px; display: flex; flex-direction: column; gap: 8px; }
.msg { max-width: 82%; padding: 8px 11px; font-size: 13px; line-height: 1.4; }
.msg.them { align-self: flex-start; background: #182027; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 14px 14px 14px 4px; color: #e9f1f2; }
.msg.me { align-self: flex-end; background: linear-gradient(140deg, #1c4c40, #143029); border: 1px solid rgba(124, 245, 213, 0.18); border-radius: 14px 14px 4px 14px; color: #ddfff6; }
.msg .time { display: block; font-size: 8px; color: #7b8f8c; font-family: var(--mono); margin-top: 3px; text-align: right; }
.chat-meta { text-align: center; font-family: var(--mono); font-size: 8px; color: #6c7f7c; letter-spacing: 0.04em; margin: 4px 0; }
.chat-input {
  margin: 10px 12px 0; display: flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 999px;
  padding: 8px 12px; color: #708481; font-size: 10.5px;
  background: rgba(255, 255, 255, 0.035);
}
.chat-input .send { margin-left: auto; color: var(--mint); }

/* ---- menu theme ---- */
.theme-menu {
  background: #120e0b; color: #f2e6d4;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", Georgia, "Times New Roman", serif;
  padding-bottom: 20px;
}
.menu-hero {
  padding: 16px 16px 14px;
  background:
    radial-gradient(120% 120% at 80% 0%, rgba(255, 122, 89, 0.22), transparent 60%),
    linear-gradient(160deg, #241812, #150f0c 70%);
  border-bottom: 1px solid rgba(255, 200, 150, 0.12);
  position: relative;
}
.menu-hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 220, 180, 0.11) 1px, transparent 1px);
  background-size: 7px 7px; opacity: 0.35; pointer-events: none;
}
.menu-kicker { font-family: var(--mono); font-size: 8px; letter-spacing: 0.22em; text-transform: uppercase; color: #e0a07a; margin: 0 0 6px; }
.menu-title { margin: 0; font-size: 22px; line-height: 1.15; letter-spacing: 0.01em; color: #ffe9cf; font-weight: 500; }
.menu-sub { margin: 6px 0 0; font-size: 9.5px; color: #b5987f; font-family: var(--sans); }
.menu-tabs { display: flex; gap: 5px; padding: 9px 14px 0; font-family: var(--sans); }
.menu-tab { font-size: 9px; padding: 3px 8px; border-radius: 999px; border: 1px solid rgba(255, 210, 170, 0.16); color: #c2a88f; }
.menu-tab.on { background: rgba(255, 170, 120, 0.12); color: #ffcfaa; border-color: rgba(255, 180, 120, 0.35); }
.dish { display: flex; gap: 10px; padding: 11px 15px; border-bottom: 1px solid rgba(255, 220, 180, 0.075); align-items: flex-start; }
.dish-photo {
  width: 46px; height: 46px; border-radius: 9px; flex: none;
  display: grid; place-items: center; font-size: 19px;
  background: linear-gradient(150deg, #2c1d15, #1a120e);
  border: 1px solid rgba(255, 190, 140, 0.16);
  font-family: var(--sans);
}
.dish-main { flex: 1; min-width: 0; }
.dish-name { font-size: 13px; color: #ffeeda; line-height: 1.3; }
.dish-desc { font-family: var(--sans); font-size: 9px; color: #a98d75; margin-top: 3px; }
.dish-price { font-family: var(--mono); font-size: 10.5px; color: #ffc48f; white-space: nowrap; }
.menu-note {
  margin: 12px 14px 0; padding: 10px 12px;
  border: 1px dashed rgba(255, 180, 120, 0.28);
  border-radius: 10px; font-family: var(--sans); font-size: 10.5px; color: #e6c3a4;
  background: rgba(255, 160, 100, 0.05);
}

/* ---- shop theme ---- */
.theme-shop {
  background: #f6efe3; color: #26201a;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  padding-bottom: 20px;
}
.shop-hero {
  padding: 16px 16px 12px;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(214, 116, 60, 0.18), transparent 60%),
    linear-gradient(175deg, #fbf5ea, #efe4d2);
  border-bottom: 1px solid rgba(60, 40, 20, 0.1);
}
.shop-kicker { font-family: var(--sans); font-size: 8px; letter-spacing: 0.2em; text-transform: uppercase; color: #9a6b46; margin: 0 0 5px; }
.shop-title { margin: 0; font-size: 23px; line-height: 1.1; letter-spacing: -0.01em; color: #2b2119; }
.shop-sub { margin: 6px 0 0; font-family: var(--sans); font-size: 9.5px; color: #7a6656; }
.shop-badge {
  position: absolute; right: 16px; top: 18px;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background: #c65f36; color: #fff4e6;
  font-family: var(--sans); font-size: 8.5px; font-weight: 700; line-height: 1.1;
  transform: rotate(-11deg);
  box-shadow: 0 6px 14px rgba(150, 60, 30, 0.28);
  padding: 6px;
}
.shop-section { padding: 10px 16px 2px; font-family: var(--sans); font-size: 8.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #9a7f66; }
.shop-row { display: flex; gap: 11px; padding: 10px 16px; border-bottom: 1px solid rgba(70, 45, 20, 0.1); align-items: center; }
.shop-thumb {
  width: 42px; height: 42px; border-radius: 8px; flex: none;
  display: grid; place-items: center; font-size: 18px;
  background: #e9dcc6; border: 1px solid rgba(90, 60, 30, 0.12);
}
.shop-row-main { flex: 1; min-width: 0; }
.shop-name { font-size: 13px; color: #2a2119; line-height: 1.25; }
.shop-desc { font-family: var(--sans); font-size: 9px; color: #7e6a58; margin-top: 2px; }
.shop-price { font-family: var(--mono); font-size: 11px; color: #a94e28; white-space: nowrap; }
.shop-price small { font-family: var(--sans); font-size: 8px; color: #9b8571; display: block; text-align: right; }
.shop-note {
  margin: 12px 16px 0; padding: 9px 11px;
  background: rgba(198, 95, 54, 0.08);
  border-left: 2px solid #c65f36;
  font-family: var(--sans); font-size: 10px; color: #6b4a35;
}

/* ---- social theme ---- */
.theme-social { background: #0a1020; color: #e9eefb; font-family: var(--sans); padding-bottom: 20px; }
.social-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px 8px; }
.social-logo { font-family: var(--display); font-size: 15px; font-weight: 700; letter-spacing: 0.04em; color: #cfe0ff; }
.social-dots { color: #7d90b8; letter-spacing: 2px; font-size: 12px; }
.post {
  margin: 8px 12px 12px; border-radius: 14px;
  background: linear-gradient(170deg, #121a2e, #0d1424);
  border: 1px solid rgba(160, 190, 255, 0.12);
  overflow: hidden;
}
.post-head { display: flex; align-items: center; gap: 8px; padding: 10px 11px 6px; }
.post-av {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-size: 10px; font-weight: 700;
  background: linear-gradient(140deg, #37518f, #1b2a4d); color: #cfe0ff;
  border: 1px solid rgba(160, 190, 255, 0.2);
}
.post-name { font-size: 10.5px; font-weight: 600; color: #e6eeff; }
.post-handle { font-family: var(--mono); font-size: 8px; color: #7e91b8; }
.post-body { padding: 2px 12px 10px; font-size: 14px; line-height: 1.55; color: #e8eefc; }
.post-body[dir="rtl"] { font-family: "Geeza Pro", "Noto Naskh Arabic", "Segoe UI", Tahoma, sans-serif; font-size: 15px; line-height: 1.75; }
.post-actions { display: flex; gap: 14px; padding: 8px 12px 11px; border-top: 1px solid rgba(160, 190, 255, 0.09); color: #8fa3c9; font-size: 9px; font-family: var(--mono); }
.post-actions .act { display: flex; align-items: center; gap: 4px; }
.post-place {
  margin: 0 12px 12px; border-radius: 12px; padding: 10px 12px;
  background: linear-gradient(160deg, #1a2b4a, #101a2e);
  border: 1px solid rgba(160, 190, 255, 0.12);
  display: flex; align-items: center; gap: 9px;
}
.post-place .pin { font-size: 15px; }
.post-place .pp-name { display: block; font-size: 11px; color: #dbe8ff; }
.post-place .pp-meta { display: block; font-size: 8.5px; color: #8296bd; font-family: var(--mono); }

/* translated element treatment (replace mode) */
.tt {
  position: relative;
  display: inline;
  border-radius: 3px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  animation: ttIn 340ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  cursor: pointer;
}
@keyframes ttIn { from { opacity: 0; filter: blur(3px); } to { opacity: 1; filter: blur(0); } }
.tt::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, rgba(124, 245, 213, 0.85), rgba(124, 245, 213, 0));
  pointer-events: none;
}
.tt.is-peek {
  color: transparent !important;
  text-shadow: none !important;
  background: rgba(255, 255, 255, 0.03);
}
.tt.is-peek::before {
  content: attr(data-original);
  position: absolute; inset: 0; color: #ffd9a3;
  white-space: pre-wrap; overflow: hidden;
}

/* subtitle mode */
.subline {
  display: block;
  font-family: var(--sans) !important;
  font-size: 0.78em;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.35;
  color: var(--mint);
  opacity: 0.92;
  margin-top: 3px;
  animation: ttIn 320ms ease-out both;
}
.theme-shop .subline { color: #a0501f; }
.theme-menu .subline { color: #ffcb96; }

/* =========================================================
   In-device panels (VPN / settings / limits)
   ========================================================= */
.panel-layer {
  position: absolute; inset: 0; z-index: 6;
  overflow-y: auto; overflow-x: hidden;
  background: linear-gradient(180deg, #0a0e11, #080b0d 70%);
  padding: 14px 14px 24px;
  scrollbar-width: none;
  animation: panelIn 220ms ease-out both;
}
.panel-layer::-webkit-scrollbar { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.panel-head h2 { margin: 0; font-size: 19px; letter-spacing: -0.02em; }
.panel-head p { margin: 3px 0 0; font-size: 10px; color: var(--muted); }
.mini-badge {
  font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.06em;
  border: 1px solid var(--line); color: var(--muted);
  padding: 3px 7px; border-radius: 999px; white-space: nowrap;
}

.vpn-hero {
  border-radius: 18px; padding: 18px 16px;
  background:
    radial-gradient(100% 100% at 50% 0%, rgba(124, 245, 213, 0.12), transparent 62%),
    linear-gradient(170deg, #10171a, #0b1012);
  border: 1px solid rgba(124, 245, 213, 0.16);
  text-align: center; margin-bottom: 14px;
  transition: border-color 300ms;
}
.vpn-hero.is-on { border-color: rgba(124, 245, 213, 0.42); }
.vpn-orb {
  width: 76px; height: 76px; margin: 2px auto 12px;
  border-radius: 50%; display: grid; place-items: center;
  color: #6b8280;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.01));
  transition: all 320ms;
  position: relative;
}
.vpn-orb.is-on {
  color: var(--mint);
  border-color: rgba(124, 245, 213, 0.45);
  background: radial-gradient(circle at 50% 30%, rgba(124, 245, 213, 0.24), rgba(124, 245, 213, 0.03));
  box-shadow: 0 0 0 8px rgba(124, 245, 213, 0.045), 0 0 44px rgba(124, 245, 213, 0.22);
}
.vpn-orb.is-on::after {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  border: 1px solid rgba(124, 245, 213, 0.22);
  animation: orb 2.8s ease-out infinite;
}
@keyframes orb { 0% { transform: scale(0.9); opacity: 0.8; } 100% { transform: scale(1.28); opacity: 0; } }
.vpn-title { margin: 0; font-size: 16px; }
.vpn-sub { margin: 4px 0 14px; font-size: 10.5px; color: var(--muted); min-height: 15px; }
.vpn-toggle {
  width: 100%; padding: 11px; border-radius: 12px; border: 0; cursor: pointer;
  font-family: var(--display); font-size: 12.5px; font-weight: 600;
  color: #04120f; background: linear-gradient(135deg, #9cffe8, #5fe4c4);
}
.vpn-toggle.is-on { background: rgba(255, 255, 255, 0.06); color: var(--coral); border: 1px solid rgba(255, 138, 122, 0.28); }
.vpn-toggle:disabled { opacity: 0.7; cursor: progress; }

.vpn-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 14px; }
.vpn-stat { background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line); border-radius: 11px; padding: 8px 9px; }
.vpn-stat span { display: block; font-size: 8px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--dim); }
.vpn-stat b { font-family: var(--mono); font-size: 11.5px; font-weight: 500; color: #dcebe8; }

.section-label { font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); margin: 16px 0 8px; font-family: var(--mono); }

.node-list { display: grid; gap: 6px; }
.node {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 11px; border-radius: 11px; cursor: pointer;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025);
  transition: all 150ms;
}
.node:hover { background: rgba(255, 255, 255, 0.055); }
.node.is-active { border-color: rgba(124, 245, 213, 0.4); background: rgba(124, 245, 213, 0.08); }
.node .flag { font-size: 15px; }
.node .n-name { display: block; font-size: 11px; color: #e2ecea; }
.node .n-city { display: block; font-size: 8.5px; color: var(--dim); font-family: var(--mono); }
.node .n-ping { margin-left: auto; font-family: var(--mono); font-size: 9.5px; color: var(--mint); }
.node .n-load { width: 34px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.node .n-load i { display: block; height: 100%; background: var(--mint); }

.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.toggle-row:last-child { border-bottom: 0; }
.tr-text b { display: block; font-size: 11.5px; font-weight: 500; color: #e4edeb; }
.tr-text span { display: block; font-size: 9.5px; color: var(--dim); margin-top: 1px; line-height: 1.45; }

.switch {
  flex: none; width: 38px; height: 22px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative; cursor: pointer; transition: background 200ms;
  padding: 0;
}
.switch::after {
  content: ""; position: absolute; top: 2px; left: 2px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #a9b8b6; transition: transform 200ms, background 200ms;
}
.switch[aria-checked="true"] { background: rgba(124, 245, 213, 0.32); border-color: rgba(124, 245, 213, 0.5); }
.switch[aria-checked="true"]::after { transform: translateX(16px); background: var(--mint); }

.disclosure {
  margin-top: 14px; padding: 10px 11px; border-radius: 11px;
  border: 1px solid rgba(255, 196, 107, 0.22);
  background: rgba(255, 196, 107, 0.055);
  font-size: 9.5px; color: #d9c3a3; line-height: 1.55;
}
.disclosure b { color: var(--amber); }

/* settings panel */
.lang-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.lang-opt {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 10px; border-radius: 11px; cursor: pointer;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025);
  color: #dfe9e7; font-size: 11px; text-align: left;
}
.lang-opt:hover { background: rgba(255, 255, 255, 0.05); }
.lang-opt.is-active { border-color: rgba(124, 245, 213, 0.42); background: rgba(124, 245, 213, 0.09); color: #e8fff9; }
.lang-opt .flag { font-size: 14px; }
.lang-opt small { display: block; font-family: var(--mono); font-size: 8px; color: var(--dim); }
.lang-opt.is-active small { color: rgba(124, 245, 213, 0.75); }

.seg {
  display: flex; padding: 3px; border-radius: 10px; gap: 3px;
  background: rgba(255, 255, 255, 0.045); border: 1px solid var(--line);
}
.seg button {
  flex: 1; border: 0; background: none; color: var(--muted);
  font-family: var(--sans); font-size: 10px; padding: 6px 4px; border-radius: 7px; cursor: pointer;
}
.seg button.is-active { background: rgba(124, 245, 213, 0.16); color: #d9fff5; }

.pack-list { display: grid; gap: 6px; }
.pack {
  display: flex; align-items: center; gap: 9px; padding: 8px 10px;
  border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, 0.025);
}
.pack .flag { font-size: 13px; }
.pack .p-name { display: block; font-size: 10.5px; color: #dde8e6; }
.pack .p-size { display: block; font-family: var(--mono); font-size: 8px; color: var(--dim); }
.pack .p-state { margin-left: auto; font-family: var(--mono); font-size: 8.5px; color: var(--mint); }
.pack.is-downloading .p-state { color: var(--amber); }

/* limits panel */
.limit-card {
  border: 1px solid var(--line); border-radius: 13px; padding: 12px;
  background: rgba(255, 255, 255, 0.025); margin-bottom: 9px;
}
.limit-card h3 { margin: 0 0 4px; font-size: 12px; display: flex; align-items: center; gap: 6px; }
.limit-card p { margin: 0; font-size: 9.8px; color: #a9b9b6; line-height: 1.55; }
.limit-card .tagline { font-family: var(--mono); font-size: 8px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 6px; }
.tag-yes { color: var(--mint); }
.tag-partial { color: var(--amber); }
.tag-no { color: var(--coral); }
.limit-list { margin: 6px 0 0; padding-left: 14px; font-size: 9.5px; color: #a9b9b6; line-height: 1.6; }
.limit-list li { margin-bottom: 3px; }

.panel-cta {
  display: block; width: 100%; text-align: center; margin-top: 12px;
  padding: 10px; border-radius: 11px; font-size: 11px; font-weight: 600;
  color: #04120f; background: var(--mint); border: 0; cursor: pointer;
  font-family: var(--display);
}

/* =========================================================
   Sections below the fold
   ========================================================= */
.section { max-width: 1240px; margin: 0 auto; padding: 56px 30px 8px; }
.section-head { max-width: 640px; margin-bottom: 26px; }
.section-head h2 { font-size: clamp(24px, 3vw, 34px); margin: 0 0 10px; line-height: 1.15; }
.section-lede { color: var(--muted); font-size: 13.5px; margin: 0; }

.pipeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pipe-card {
  position: relative; padding: 18px 16px 14px;
  border: 1px solid var(--line); border-radius: 16px;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
}
.pipe-n { font-family: var(--mono); font-size: 10px; color: var(--mint); letter-spacing: 0.1em; }
.pipe-card h3 { font-size: 14px; margin: 8px 0 7px; }
.pipe-card p { font-size: 11.5px; color: #a9b7b5; margin: 0 0 14px; line-height: 1.6; }
.pipe-meta { font-family: var(--mono); font-size: 9px; color: var(--dim); border-top: 1px dashed var(--line); padding-top: 9px; }

.matrix-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, 0.02); }
.matrix { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 12px; }
.matrix th, .matrix td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.matrix thead th { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); font-weight: 500; }
.matrix tbody tr:last-child td { border-bottom: 0; }
.matrix td b { display: block; font-family: var(--display); font-size: 12.5px; font-weight: 600; color: #eef4f2; margin-bottom: 2px; }
.matrix td span { display: block; font-size: 10.5px; color: var(--dim); }
.matrix td { color: #b6c4c2; font-size: 11.5px; }
.matrix td b + span { margin-bottom: 5px; }
.matrix code { font-size: 9.5px; }
.yes, .partial, .no { display: inline-block !important; font-family: var(--mono); font-size: 8.5px !important; letter-spacing: 0.06em; text-transform: uppercase; padding: 2px 6px; border-radius: 5px; margin-bottom: 5px; }
.yes { color: #06140f; background: var(--mint); }
.partial { color: #1a1204; background: var(--amber); }
.no { color: #1a0503; background: var(--coral); }
.warn-cell { background: rgba(255, 196, 107, 0.05); }
.matrix .warn { color: var(--amber) !important; font-weight: 600; font-size: 11.5px !important; display: inline !important; }

.reality-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.rcard { padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255, 255, 255, 0.025); }
.rcard h3 { margin: 0 0 7px; font-size: 13.5px; }
.rcard p { font-size: 11.5px; color: #a9b7b5; margin: 0 0 12px; }
.rc-tag { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.05em; padding: 3px 7px; border-radius: 5px; border: 1px solid var(--line); display: inline-block; }
.rc-tag.ok { color: var(--mint); border-color: rgba(124, 245, 213, 0.28); background: rgba(124, 245, 213, 0.06); }
.rc-tag.partial { color: var(--amber); border-color: rgba(255, 196, 107, 0.28); background: rgba(255, 196, 107, 0.06); }
.rc-tag.warn { color: var(--coral); border-color: rgba(255, 138, 122, 0.28); background: rgba(255, 138, 122, 0.06); }

/* footer */
.footer {
  max-width: 1240px; margin: 48px auto 0; padding: 20px 30px 34px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  align-items: center;
}
.footer-left { display: flex; align-items: baseline; gap: 12px; }
.footer-copy { font-size: 10.5px; color: var(--dim); }
.footer-links { display: flex; gap: 18px; font-size: 11px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--mint); }

/* Shown above the mock phone on small screens so the demo cannot be mistaken for a live VPN. */
.mobile-demo-note { display: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1240px) {
  .stage { grid-template-columns: 300px minmax(0, 392px) 300px; gap: 20px; padding-inline: 20px; }
  .pipeline { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1080px) {
  .stage { grid-template-columns: minmax(0, 392px) 300px; }
  .rail-left { grid-column: 1 / -1; order: 3; display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .rail-left .stack-card { grid-column: 1 / -1; }
  .device-wrap { grid-column: 1; }
  .rail-right { grid-column: 2; }
  .topnav { display: none; }
}

@media (max-width: 820px) {
  .topbar { padding: 11px 16px; gap: 12px; }
  .brand-tag, .ghost-btn, .live-badge { display: none; }
  .mobile-translate-link { display: block; margin-left: auto; font-size: 11px; font-weight: 700;
    color: #091b14; background: var(--mint); padding: 7px 9px; border-radius: 8px; white-space: nowrap; }
  .stage { grid-template-columns: 1fr; padding: 14px 14px 30px; gap: 16px; }
  .device-wrap { grid-column: 1; position: static; order: 1; width: 100%; }
  .mobile-demo-note { display: block; margin: 0 0 10px; padding: 10px 13px; border: 1px solid rgba(255,196,107,.28); border-radius: 10px; background: rgba(255,196,107,.07); color: #e9d6b4; font-size: 12px; line-height: 1.5; }
  .mobile-demo-note strong { color: #ffc46b; }
  .rail-right { grid-column: 1; order: 2; display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .rail-left { grid-column: 1; order: 3; grid-template-columns: 1fr; }
  .rail-left .stack-card { grid-column: auto; }
  .honesty-card { grid-column: 1 / -1; }
  .device {
    width: 100%; max-width: 400px; height: min(812px, calc(100dvh - 130px)); min-height: 600px;
    border-radius: 44px; padding: 8px;
  }
  .device-inner { border-radius: 37px; }
  .section { padding: 44px 16px 4px; }
  .pipeline, .reality-cards { grid-template-columns: 1fr; }
  .footer { padding: 18px 16px 30px; }
  .footer-left { flex-direction: column; gap: 4px; }
}

@media (max-width: 520px) {
  .rail-right { grid-template-columns: 1fr; }
  .stage { padding-inline: 10px; }
  .device { max-width: none; height: calc(100dvh - 118px); min-height: 560px; }
  .topbar-right { display: none; }
  .topnav { display: none; }
  .lang-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}

.demo-vpn-alert { margin: 10px 0; padding: 9px 11px; color: #e9d6b4; background: rgba(255,196,107,.08); border: 1px solid rgba(255,196,107,.25); border-radius: 9px; font-size: 10px; line-height: 1.5; }
