@font-face {
  font-family: "Onest";
  src: url("/assets/fonts/Onest-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ice-canvas: #f2f9fc;
  --ice-deep: #e4f4f9;
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.72);
  --ink: #102b3c;
  --body: #365568;
  --muted: #6b8291;
  --line: #d5e5ec;
  --line-strong: #bfd7e2;
  --cyan: #16b9dc;
  --cyan-strong: #079cbe;
  --cyan-soft: #dff7fc;
  --success: #13996a;
  --success-soft: #e5f8f1;
  --warning: #9a6308;
  --warning-soft: #fff5d9;
  --danger: #c34a55;
  --danger-soft: #fff0f1;
  --shadow-raised: 0 24px 70px rgba(34, 83, 105, 0.12);
  --shadow-soft: 0 14px 38px rgba(34, 83, 105, 0.08);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --container: 1180px;
  --reading: 748px;
  --duration-fast: 160ms;
  --duration-base: 220ms;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  font-family: "Onest", ui-sans-serif, system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--ice-canvas);
  font-size: 16px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 15% -10%, rgba(88, 206, 232, 0.13), transparent 34rem),
    radial-gradient(circle at 90% 18%, rgba(110, 190, 236, 0.10), transparent 30rem);
}

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

a {
  color: var(--cyan-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #087e9a;
}

:focus-visible {
  outline: 3px solid rgba(22, 185, 220, 0.32);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transform: translateY(-150%);
  transition: transform var(--duration-fast) var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(191, 215, 226, 0.78);
  background: rgba(246, 252, 254, 0.97);
}

.header-inner {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.brand-copy {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  letter-spacing: -0.025em;
}

.brand-modeus {
  font-weight: 780;
}

.brand-companion {
  color: var(--body);
  font-weight: 520;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a {
  color: var(--body);
  font-size: 14px;
  font-weight: 620;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--ink);
}

.nav-action,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 720;
  transition:
    background-color var(--duration-fast) ease,
    border-color var(--duration-fast) ease,
    transform var(--duration-fast) var(--ease-out);
}

.nav-action,
.button-primary {
  color: #073343;
  background: var(--cyan);
}

.nav-action:hover,
.button-primary:hover {
  color: #052c3a;
  background: #36c5e3;
  transform: translateY(-1px);
}

.button-secondary {
  color: var(--ink);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.68);
}

.button-secondary:hover {
  color: var(--ink);
  border-color: #9dc9d9;
  background: var(--surface);
  transform: translateY(-1px);
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--cyan-strong);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 760;
  line-height: 0.99;
  letter-spacing: -0.055em;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 730;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.018em;
}

p {
  margin: 0 0 16px;
}

.lede {
  color: var(--body);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.58;
}

.draft-banner {
  position: relative;
  z-index: 30;
  padding: 8px 16px;
  border-bottom: 1px solid #ead28e;
  color: #6f4806;
  background: var(--warning-soft);
  text-align: center;
  font-size: 12px;
  font-weight: 760;
}

.home-main {
  overflow: hidden;
}

.home-hero {
  position: relative;
  min-height: 780px;
  padding: clamp(78px, 10vw, 126px) 0 0;
  isolation: isolate;
}

.ice-aurora {
  position: absolute;
  inset: -80px 0 auto;
  z-index: -1;
  height: 700px;
  pointer-events: none;
  background:
    radial-gradient(ellipse 42% 38% at 50% 34%, rgba(62, 209, 232, 0.28), transparent 72%),
    radial-gradient(ellipse 35% 32% at 24% 22%, rgba(77, 166, 224, 0.18), transparent 70%),
    radial-gradient(ellipse 32% 34% at 80% 26%, rgba(94, 224, 210, 0.14), transparent 70%);
  filter: blur(8px);
}

.ice-aurora::after {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.22;
  background-image:
    linear-gradient(to bottom, transparent, rgba(242, 249, 252, 0.9)),
    radial-gradient(rgba(44, 116, 143, 0.2) 0.7px, transparent 0.7px);
  background-size: 12px 12px;
}

.hero-copy {
  width: min(850px, 100%);
  margin-inline: auto;
  text-align: center;
  min-width: 0;
}

.hero-copy .lede {
  width: min(690px, 100%);
  margin: 26px auto 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.trust-line {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 620;
}

.trust-line::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  content: "";
  background: var(--success);
  box-shadow: 0 0 0 5px var(--success-soft);
}

.product-stage {
  position: relative;
  width: min(1030px, 100%);
  min-height: 630px;
  margin: 80px auto 0;
}

.product-stage::before {
  position: absolute;
  inset: 12% 5% -12%;
  z-index: -1;
  border-radius: 50%;
  content: "";
  background: rgba(32, 181, 216, 0.18);
  filter: blur(70px);
}

.telegram-window {
  overflow: hidden;
  min-height: 430px;
  border: 1px solid rgba(183, 211, 221, 0.95);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-raised);
}

.window-bar {
  display: flex;
  height: 48px;
  align-items: center;
  gap: 7px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 251, 253, 0.94);
}

.window-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #bdd3dc;
}

.window-title {
  margin-left: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.telegram-body {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 382px;
}

.demo-sidebar {
  padding: 24px 18px;
  border-right: 1px solid var(--line);
  background: rgba(242, 249, 252, 0.75);
}

.demo-profile {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 25px;
}

.demo-avatar {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: #074052;
  background: var(--cyan-soft);
  font-weight: 780;
}

.demo-profile strong,
.demo-profile span {
  display: block;
}

.demo-profile strong {
  font-size: 13px;
}

.demo-profile span {
  color: var(--muted);
  font-size: 11px;
}

.demo-menu {
  display: grid;
  gap: 5px;
}

.demo-menu span {
  padding: 9px 11px;
  border-radius: 9px;
  color: var(--body);
  font-size: 12px;
  font-weight: 620;
}

.demo-menu .active {
  color: #07556b;
  background: var(--cyan-soft);
}

.demo-chat {
  padding: 25px 28px 30px;
  background:
    linear-gradient(rgba(248, 252, 253, 0.76), rgba(248, 252, 253, 0.76)),
    radial-gradient(circle at 50% 30%, var(--cyan-soft), transparent 44%);
}

.demo-date {
  width: fit-content;
  margin: 0 auto 18px;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--muted);
  background: #eaf3f6;
  font-size: 10px;
  font-weight: 700;
}

.demo-message {
  width: min(470px, 90%);
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 8px 18px 18px 18px;
  background: var(--surface);
  box-shadow: 0 9px 25px rgba(40, 80, 98, 0.06);
}

.demo-message + .demo-message {
  margin-top: 12px;
}

.demo-message.accent {
  margin-left: auto;
  border-radius: 18px 8px 18px 18px;
  background: #dff7fc;
}

.demo-message strong {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
}

.demo-message p {
  margin: 0;
  color: var(--body);
  font-size: 12px;
  line-height: 1.55;
}

.extension-float {
  position: absolute;
  top: 112px;
  right: -18px;
  bottom: auto;
  width: 294px;
  margin: 0;
  overflow: hidden;
  border: 6px solid #153244;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 28px 70px rgba(20, 57, 76, 0.22);
  transform: rotate(1.5deg);
}

.extension-float img {
  width: 100%;
  height: auto;
}

.section {
  padding: 110px 0;
}

.section-heading {
  width: min(720px, 100%);
  margin: 0 auto 52px;
  text-align: center;
}

.section-heading p:last-child {
  margin: 18px auto 0;
  color: var(--body);
  font-size: 18px;
}

.fact-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.fact {
  padding: 32px 30px;
}

.fact + .fact {
  border-left: 1px solid var(--line-strong);
}

.fact-index {
  display: block;
  margin-bottom: 32px;
  color: var(--cyan-strong);
  font-size: 12px;
  font-weight: 760;
}

.fact p {
  margin: 10px 0 0;
  color: var(--body);
  font-size: 14px;
}

.support-band {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 40px;
  align-items: center;
  padding: clamp(30px, 6vw, 58px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.75);
}

.support-band p {
  margin: 16px 0 0;
  color: var(--body);
}

.support-actions {
  display: grid;
  justify-items: start;
  gap: 12px;
}

.support-note {
  color: var(--muted);
  font-size: 13px;
}

.page-main {
  padding: 68px 0 90px;
}

.connect-layout {
  display: grid;
  grid-template-columns: minmax(0, 44fr) minmax(0, 56fr);
  gap: clamp(42px, 7vw, 82px);
  align-items: start;
}

.connect-intro {
  position: sticky;
  top: 42px;
  padding-top: 22px;
  min-width: 0;
}

.connect-intro h1 {
  font-size: clamp(42px, 5vw, 62px);
}

.connect-intro .lede {
  margin-top: 24px;
}

.security-list {
  display: grid;
  gap: 18px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.security-list li {
  position: relative;
  padding-left: 32px;
  color: var(--body);
}

.security-list li::before {
  position: absolute;
  top: 7px;
  left: 2px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  content: "✓";
  color: var(--success);
  background: var(--success-soft);
  font-size: 12px;
  font-weight: 800;
}

.connect-card,
.support-card {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
  min-width: 0;
}

.connect-card > div,
.connect-card select,
.connect-card button,
.connect-card a {
  min-width: 0;
  max-width: 100%;
}

.connect-card h2,
.support-card h1 {
  font-size: clamp(28px, 3vw, 38px);
}

.step-label {
  margin-bottom: 10px;
  color: var(--cyan-strong);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.connect-card > p {
  margin-top: 14px;
  color: var(--body);
}

.connect-progress {
  display: grid;
  grid-template-columns: auto minmax(30px, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 34px;
}

.progress-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 680;
}

.progress-step b {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
  font-size: 11px;
}

.progress-step.is-active {
  color: var(--ink);
}

.progress-step.is-active b {
  border-color: var(--cyan);
  color: #073343;
  background: var(--cyan);
}

.progress-step.is-complete b {
  border-color: var(--success);
  color: var(--success);
  background: var(--success-soft);
}

.progress-line {
  height: 1px;
  background: var(--line);
}

.browser-picker {
  display: grid;
  gap: 7px;
  margin: 24px 0 18px;
  color: var(--body);
  font-size: 13px;
  font-weight: 680;
}

.browser-picker select {
  width: 100%;
  min-height: 46px;
  padding: 0 42px 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: var(--surface);
  font: inherit;
}

.install-download {
  width: 100%;
  margin-bottom: 26px;
}

.install-download span {
  color: rgba(7, 51, 67, 0.64);
  font-size: 12px;
}

.install-steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: install;
}

.install-step {
  position: relative;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 14px;
  min-width: 0;
  padding: 0 0 24px;
}

.install-step:not(:last-child)::after {
  position: absolute;
  top: 30px;
  bottom: 0;
  left: 14px;
  width: 1px;
  content: "";
  background: var(--line-strong);
}

.install-index {
  position: relative;
  z-index: 1;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid #9dcfde;
  border-radius: 50%;
  color: #087b98;
  background: var(--cyan-soft);
  font-size: 11px;
  font-weight: 800;
}

.install-step h3 {
  padding-top: 3px;
  font-size: 16px;
}

.install-step p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.browser-address {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 11px;
}

.browser-address code {
  overflow: hidden;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--ice-canvas);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.browser-address button {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--ink);
  background: var(--surface);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.folder-warning {
  margin: 2px 0 22px;
  padding: 13px 14px;
  border-left: 3px solid var(--warning);
  border-radius: 8px;
  color: var(--body);
  background: var(--warning-soft);
  font-size: 13px;
}

.update-note {
  margin: 0 0 16px;
  padding: 14px 16px;
  border-left: 3px solid var(--cyan);
  background: var(--ice-strong);
  color: var(--text-soft);
}

.store-install {
  margin: 24px 0;
}

.store-install .button {
  width: 100%;
}

.store-install p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.mobile-install {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--cyan-soft);
}

.mobile-install p {
  margin: 8px 0 0;
  color: var(--body);
}

.consent-list {
  display: grid;
  gap: 10px;
  margin: 25px 0;
}

.check-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fbfdfe;
  cursor: pointer;
}

.check-row:hover {
  border-color: var(--line-strong);
}

.check-row:focus-within {
  border-color: var(--cyan);
  outline: 3px solid rgba(22, 185, 220, 0.16);
}

.check-row input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--cyan-strong);
}

.primary {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: var(--radius-sm);
  color: #073343;
  background: var(--cyan);
  font-weight: 780;
  cursor: pointer;
  transition:
    background-color var(--duration-fast) ease,
    transform var(--duration-fast) var(--ease-out);
}

.primary:hover:not(:disabled) {
  background: #36c5e3;
  transform: translateY(-1px);
}

.primary:disabled {
  cursor: not-allowed;
  opacity: 0.44;
}

.connect-status {
  min-height: 26px;
  margin: 15px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

.connect-status[data-kind="success"] {
  color: var(--success);
}

.connect-status[data-kind="error"] {
  color: var(--danger);
}

.connect-status[data-kind="pending"] {
  color: var(--cyan-strong);
}

.fallback {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.fallback summary,
.legal-mobile-contents summary {
  color: var(--body);
  cursor: pointer;
  font-weight: 680;
}

.fallback p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.legal-page {
  padding: 70px 0 100px;
}

.legal-head {
  width: min(860px, 100%);
  margin: 0 auto 58px;
  text-align: center;
}

.legal-head h1 {
  font-size: clamp(38px, 5vw, 60px);
}

.meta {
  margin: 23px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, var(--reading));
  gap: 62px;
  justify-content: center;
  align-items: start;
}

.legal-contents {
  position: sticky;
  top: 32px;
}

.legal-contents strong {
  display: block;
  margin-bottom: 14px;
  font-size: 13px;
}

.legal-contents ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-contents a {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  text-decoration: none;
}

.legal-contents a:hover {
  color: var(--ink);
}

.legal-mobile-contents {
  display: none;
}

.legal-body {
  min-width: 0;
  padding: clamp(26px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
}

.legal-body h2 {
  margin: 52px 0 14px;
  scroll-margin-top: 30px;
  font-size: 25px;
  letter-spacing: -0.025em;
}

.legal-body h2:first-of-type {
  margin-top: 34px;
}

.legal-body p,
.legal-body li {
  color: var(--body);
}

.legal-body ul,
.legal-body ol {
  padding-left: 22px;
}

.legal-body li {
  margin: 7px 0;
}

.notice {
  margin: 0 0 30px;
  padding: 16px 18px;
  border-left: 3px solid var(--cyan);
  border-radius: var(--radius-sm);
  color: var(--body);
  background: var(--cyan-soft);
}

code {
  padding: 2px 5px;
  border-radius: 5px;
  background: var(--ice-deep);
  font-size: 0.9em;
}

.support-page {
  display: grid;
  min-height: 58vh;
  place-items: center;
}

.support-card {
  width: min(680px, 100%);
  text-align: center;
}

.support-card p {
  color: var(--body);
}

.site-footer {
  padding: 42px 0 48px;
  border-top: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.footer-copy {
  max-width: 440px;
}

.footer-copy strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 22px;
}

.footer-links a {
  color: var(--body);
  text-decoration: none;
}

@media (max-width: 900px) {
  .site-nav a:not(.nav-action) {
    display: none;
  }

  .home-hero {
    min-height: auto;
  }

  .product-stage {
    margin-top: 62px;
    min-height: 560px;
    padding-bottom: 0;
  }

  .extension-float {
    top: 132px;
    right: 18px;
    bottom: auto;
    width: 245px;
  }

  .fact-row {
    grid-template-columns: 1fr;
  }

  .fact + .fact {
    border-top: 1px solid var(--line-strong);
    border-left: 0;
  }

  .support-band,
  .connect-layout {
    grid-template-columns: 1fr;
  }

  .connect-intro {
    position: static;
  }

  .legal-layout {
    display: block;
  }

  .legal-contents {
    display: none;
  }

  .legal-mobile-contents {
    display: block;
    margin-bottom: 18px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.75);
  }

  .legal-mobile-contents ol {
    margin: 12px 0 0;
    padding-left: 22px;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(calc(100% - 28px), var(--container));
  }

  .header-inner {
    min-height: 66px;
  }

  .site-nav {
    display: none;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .brand-copy {
    display: grid;
    gap: 0;
    line-height: 1.05;
  }

  .brand-companion {
    font-size: 11px;
  }

  .nav-action {
    display: none;
  }

  .home-hero {
    padding-top: 70px;
  }

  h1 {
    font-size: clamp(40px, 13vw, 58px);
    text-wrap: wrap;
    overflow-wrap: break-word;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .product-stage {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding-bottom: 0;
  }

  .telegram-window {
    min-height: 410px;
    border-radius: var(--radius-lg);
  }

  .telegram-body {
    display: block;
  }

  .demo-sidebar {
    display: none;
  }

  .demo-chat {
    min-height: 362px;
    padding: 22px 16px;
  }

  .demo-message {
    width: 96%;
  }

  .extension-float {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    order: 2;
    width: 220px;
    margin: -78px auto 0;
    transform: rotate(1deg);
  }

  .section {
    padding: 78px 0;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .support-band {
    gap: 28px;
  }

  .page-main,
  .legal-page {
    padding: 46px 0 72px;
  }

  .connect-layout {
    gap: 36px;
  }

  .connect-intro {
    padding-top: 0;
  }

  .connect-intro h1 {
    font-size: 40px;
    overflow-wrap: anywhere;
    text-wrap: wrap;
  }

  .connect-card {
    padding: 24px 20px;
  }

  .connect-progress {
    grid-template-columns: minmax(0, auto) minmax(18px, 1fr) minmax(0, auto);
    gap: 6px;
    margin-bottom: 28px;
  }

  .progress-step {
    gap: 6px;
    font-size: 11px;
    white-space: nowrap;
  }

  .progress-step b {
    width: 24px;
    height: 24px;
  }

  .browser-address {
    grid-template-columns: 1fr;
  }

  .browser-address button {
    width: 100%;
  }

  .legal-head {
    margin-bottom: 34px;
  }

  .legal-head h1 {
    font-size: 38px;
  }

  .legal-body {
    padding: 24px 20px;
    border-radius: var(--radius-md);
  }

  .legal-body h2 {
    margin-top: 42px;
    font-size: 22px;
  }

  .footer-inner {
    display: grid;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  body {
    background: #fff;
    font-size: 11pt;
  }

  body::before,
  .site-header,
  .site-footer,
  .draft-banner,
  .skip-link,
  .legal-contents,
  .legal-mobile-contents {
    display: none !important;
  }

  .legal-page {
    padding: 0;
  }

  .legal-head {
    margin-bottom: 28px;
    text-align: left;
  }

  .legal-head h1 {
    font-size: 26pt;
  }

  .legal-layout {
    display: block;
  }

  .legal-body {
    max-width: none;
    padding: 0;
    border: 0;
    background: #fff;
  }

  .legal-body h2 {
    break-after: avoid;
  }

  .legal-body p,
  .legal-body li {
    orphans: 3;
    widows: 3;
  }
}
