@font-face {
  font-family: 'Vazirmatn NL';
  src: url("./assets/fonts/vazirmatn-nl.woff2") format('woff2 supports variations'),
       url("./assets/fonts/vazirmatn-nl.woff2") format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --brand-primary: #0AA47F;
  --brand-primary-hover: #078B6C;
  --brand-primary-active: #056B54;
  --brand-primary-soft: #E7F7F2;
  --brand-primary-subtle: rgba(10, 164, 127, 0.12);
  --ink: #17191D;
  --muted-text: #6B707A;
  --font-family-base: 'Vazirmatn NL', 'Segoe UI', Tahoma, sans-serif;
  --shell-width: 930px;
  --page-gutter-block: 12px;
  --section-gap: clamp(64px, 6vw, 104px);
  --page-gutter-inline: 12px;
  --visual-edge-gap: 24px;
  --dialog-edge-gap: 40px;
  --mobile-image-ratio: 422 / 783;
  --iphone-frame-width: clamp(4px, 0.45vw, 6px);
  --mobile-frame-radius: clamp(12px, 1.25vw, 18px);
  --desktop-image-ratio: 1440 / 964;
  --macbook-window-radius: clamp(12px, 1.2vw, 16px);
  --space-2xs: 6px;
  --space-xs: 8px;
  --space-s: clamp(12px, 1.8vh, 16px);
  --space-m: clamp(20px, 2.5vh, 24px);
  --space-l: clamp(28px, 3.3vh, 36px);
  --space-xl: clamp(36px, 4.5vh, 52px);
  --background: #0b0c0e;
  --background-secondary: #101113;
  --surface: #151619;
  --surface-hover: #1c1d21;
  --text: #f2f2f3;
  --text-secondary: #929399;
  --text-muted: #68696f;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.14);
  --button-text: #ffffff;
  --shadow: rgba(0, 0, 0, 0.35);
  --shadow-floating: 0 0 20px 4px rgba(0, 0, 0, 0.48);
  --shadow-icon: 0 0 10px 2px rgba(0, 0, 0, 0.38);
  --shadow-device: 0 0 28px 6px rgba(0, 0, 0, 0.42);
  --capsule-bg: #1b1c1f;
  --capsule-hover: #25262a;
  --control-active: #f2f2f3;
  --control-active-text: #101113;
  --device-edge: #222327;
}

:root[data-theme="light"] {
  color-scheme: light;
  --background: #F5F6F7;
  --background-secondary: #F5F6F7;
  --surface: #FFFFFF;
  --surface-hover: var(--brand-primary-soft);
  --text: var(--ink);
  --text-secondary: var(--muted-text);
  --text-muted: var(--muted-text);
  --border: #E1E4E6;
  --border-strong: #E1E4E6;
  --button-text: #ffffff;
  --shadow: rgba(22, 27, 29, 0.16);
  --shadow-floating: 0 0 18px 3px rgba(0, 0, 0, 0.18);
  --shadow-icon: 0 0 9px 2px rgba(0, 0, 0, 0.16);
  --shadow-device: 0 0 24px 5px rgba(22, 27, 29, 0.16);
  --capsule-bg: var(--border);
  --capsule-hover: var(--brand-primary-soft);
  --control-active: var(--ink);
  --control-active-text: #ffffff;
  --device-edge: var(--surface);
}

* { box-sizing: border-box; }

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  overscroll-behavior: none;
  background: var(--background);
}

html {
  font-family: var(--font-family-base);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: inherit;
  color: var(--text);
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button,
a { font-family: inherit; }
button,
a { color: inherit; }
button { border: 0; }
a { text-decoration: none; }
img { display: block; max-width: 100%; }

button:focus-visible,
a:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 3px;
}

.page-shell {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(100%, var(--shell-width)) minmax(0, 1fr);
  grid-template-rows: 40px minmax(0, 1fr) 40px;
  row-gap: 0;
  overflow: hidden;
  padding:
    max(var(--page-gutter-block), env(safe-area-inset-top))
    max(var(--page-gutter-inline), env(safe-area-inset-right))
    max(var(--page-gutter-block), env(safe-area-inset-bottom))
    max(var(--page-gutter-inline), env(safe-area-inset-left));
  background: var(--background);
  transition: background-color 180ms ease, color 180ms ease;
}

.site-header,
.hero,
.bottom-bar {
  grid-column: 2;
  width: 100%;
  justify-self: center;
}

.site-header {
  position: relative;
  z-index: 10;
  grid-row: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  direction: ltr;
  align-items: center;
  gap: 20px;
  width: 100%;
  margin-inline: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(
    calc(100vw - var(--page-gutter-inline) - var(--page-gutter-inline)),
    calc(100% + var(--section-gap))
  );
  border-bottom: 1px solid var(--border);
  transform: translateX(-50%);
  pointer-events: none;
}

.site-header > * {
  transform: translateY(-6px);
}

.theme-control {
  position: relative;
  z-index: 30;
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  display: flex;
  flex-direction: row;
  direction: rtl;
  align-items: center;
  height: 34px;
  gap: 2px;
  padding: 3px;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--capsule-bg) 92%, transparent);
  box-shadow: none;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.theme-control::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: var(--theme-thumb-y, 0px);
  left: 0;
  width: var(--theme-thumb-width, 0px);
  height: var(--theme-thumb-height, 0px);
  border-radius: 999px;
  background: var(--control-active);
  opacity: 0;
  transform: translateX(var(--theme-thumb-x, 0px));
  transition: none;
  pointer-events: none;
}

.theme-control.is-thumb-ready::before {
  opacity: 1;
  transition:
    transform 520ms cubic-bezier(0.65, 0, 0.35, 1),
    width 520ms cubic-bezier(0.65, 0, 0.35, 1),
    height 320ms ease-in-out,
    top 320ms ease-in-out,
    background-color 280ms ease-in-out,
    opacity 180ms ease-in-out;
}

.theme-control button {
  position: relative;
  z-index: 1;
  width: auto;
  min-width: 0;
  height: 26px;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 7px;
  border-radius: 999px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 8px;
  font-weight: 720;
  cursor: pointer;
  transition: color 200ms ease, background-color 200ms ease, opacity 180ms ease, visibility 0s linear 180ms;
}

.theme-control button:hover:not([aria-pressed="true"]),
.theme-control button:focus-visible:not([aria-pressed="true"]) {
  background: var(--capsule-hover);
  color: var(--text);
}

.theme-control button[aria-pressed="true"] {
  background: transparent;
  color: var(--control-active-text);
}

.theme-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: currentColor;
}

.theme-icon::before {
  content: "";
  display: block;
}

.theme-icon--moon::before {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: currentColor;
  -webkit-mask: radial-gradient(circle at 68% 32%, transparent 0 43%, #000 45%);
  mask: radial-gradient(circle at 68% 32%, transparent 0 43%, #000 45%);
  transform: rotate(-8deg);
}

.theme-icon--sun {
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1;
}

.theme-icon--sun::before {
  content: none;
}

.theme-label {
  color: currentColor;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.header-actions {
  grid-column: 3;
  grid-row: 1;
  display: flex;
  direction: rtl;
  align-items: center;
  justify-self: end;
  gap: 18px;
}

.header-actions button {
  width: auto;
  min-width: 0;
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  line-height: 1;
  box-shadow: none;
  cursor: pointer;
  transition: color 200ms ease;
}

.header-actions button:hover,
.header-actions button:focus-visible {
  background: transparent;
  color: var(--brand-primary);
  box-shadow: none;
}

.source-marquee.source-marquee--hero {
  width: 100%;
  height: 44px;
  margin-top: var(--space-s);
  border: 0;
  border-block: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
}

.hero {
  --desktop-content-scale: 1;
  grid-row: 2;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  grid-template-rows: max-content;
  direction: ltr;
  align-items: center;
  align-content: center;
  column-gap: var(--section-gap);
  width: min(
    calc(100vw - var(--page-gutter-inline) - var(--page-gutter-inline)),
    calc(var(--shell-width) + var(--section-gap) + var(--section-gap))
  );
  margin: 0;
}

@media (min-width: 700px) {
  .hero {
    padding-block: var(--visual-edge-gap);
  }

  .hero-copy,
  .product-visual {
    scale: var(--desktop-content-scale);
    transform-origin: center;
  }
}

.hero-copy {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  direction: rtl;
  align-self: center;
  padding-top: 0;
  container-type: inline-size;
}

.copy-top {
  width: 100%;
  min-width: 0;
}

h1 {
  width: 100%;
  max-width: 100%;
  margin: 0;
  color: var(--text);
  font-size: clamp(27px, 12.75cqi, 44px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.065em;
  text-align: justify;
  text-align-last: justify;
  white-space: nowrap;
}

h1 span { color: var(--brand-primary); }

.hero-description {
  width: 100%;
  max-width: 100%;
  margin: var(--space-s) 0 0;
  color: var(--text-secondary);
  font-size: clamp(12px, 5.85cqi, 20px);
  font-weight: 480;
  line-height: 1.65;
  text-align: justify;
  text-align-last: justify;
  white-space: nowrap;
}

.source-marquee {
  position: relative;
  width: 100%;
  height: clamp(54px, 6.3vh, 62px);
  margin-top: var(--space-m);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 18%, transparent);
  direction: ltr;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  --marquee-distance: -50%;
  width: max-content;
  height: 100%;
  display: flex;
  direction: ltr;
  animation: marquee 110s linear infinite;
  opacity: 1;
  will-change: transform, opacity;
  transform: translate3d(var(--marquee-distance), 0, 0);
  backface-visibility: hidden;
  transition: opacity 180ms ease;
}

.source-disclaimer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 14px;
  direction: rtl;
  color: #EF3E3E;
  font-size: clamp(7.5px, 2.65cqi, 9px);
  font-weight: 520;
  line-height: 1.45;
  text-align: center;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.marquee-group {
  flex: 0 0 auto;
  height: 100%;
  display: flex;
  direction: rtl;
  align-items: center;
  gap: clamp(23px, 2vw, 31px);
  padding: 0 15px;
}

.source-pill {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 620;
  white-space: nowrap;
  transition: color 200ms ease;
}

.source-pill img {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  object-fit: cover;
  filter: saturate(0.72);
  opacity: 0.88;
  box-shadow: none;
  transition: transform 200ms ease, filter 200ms ease, opacity 200ms ease;
}

.source-pill:hover { color: var(--text); }

.source-pill:hover img {
  filter: saturate(1);
  opacity: 1;
}

.source-marquee.is-disclaimer-visible .marquee-track {
  opacity: 0;
  animation-play-state: paused;
}

.source-marquee.is-disclaimer-visible .source-disclaimer { opacity: 1; }

@media (hover: hover) {
  .source-marquee:hover .marquee-track {
    opacity: 0;
    animation-play-state: paused;
  }

  .source-marquee:hover .source-disclaimer { opacity: 1; }
}

@keyframes marquee {
  from { transform: translate3d(var(--marquee-distance), 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

.feature-timeline {
  position: relative;
  display: grid;
  gap: 0;
  width: 100%;
  margin-top: 12px;
  direction: rtl;
}

.feature-item:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: calc(50% + 20px);
  right: 17px;
  width: 2px;
  height: 2px;
  border-radius: 999px;
  --feature-dot-color: color-mix(in srgb, var(--text-muted) 58%, transparent);
  background: var(--feature-dot-color);
  box-shadow:
    0 4px 0 var(--feature-dot-color);
  pointer-events: none;
}

.feature-item {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 46px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text-secondary);
  font-size: clamp(13px, 4.2cqi, 15px);
  font-weight: 650;
  line-height: 1.35;
  text-align: right;
}

.feature-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--capsule-bg);
  color: var(--text-muted);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  display: block;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cta-stack {
  --cta-height: 68px;
  --cta-circle: 60px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  direction: rtl;
}

.primary-cta {
  min-width: 0;
  height: var(--cta-height);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding-inline: clamp(16px, 1.7vw, 22px);
  border-radius: 999px;
  background: var(--brand-primary);
  color: var(--button-text);
  font-size: clamp(16px, 1.2vw, 19px);
  font-weight: 850;
  white-space: nowrap;
  box-shadow: none;
  transition: background-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.primary-cta:hover {
  background: var(--brand-primary-hover);
  box-shadow: none;
}

.primary-cta:active { background: var(--brand-primary-active); transform: scale(0.99); }

.primary-cta[aria-disabled="true"] { cursor: default; }

.web-icon {
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.secondary-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.secondary-cta {
  position: relative;
  width: var(--cta-circle);
  height: var(--cta-circle);
  flex: 0 0 var(--cta-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--capsule-bg);
  color: var(--text-secondary);
  box-shadow: none;
  transition: color 200ms ease, background-color 200ms ease;
}

.secondary-cta:hover,
.secondary-cta:focus-visible {
  background: var(--capsule-hover);
  color: var(--brand-primary);
  box-shadow: none;
}

.secondary-cta img {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  object-fit: contain;
  color: currentColor;
  filter: brightness(0) saturate(100%) invert(62%) sepia(7%) saturate(281%) hue-rotate(202deg) brightness(91%) contrast(87%);
}

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

.product-visual {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  min-width: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  align-self: stretch;
  direction: ltr;
  container-type: inline-size;
}

.desktop-device {
  position: absolute;
  top: 0;
  right: 0;
  /* Preserve the original total height after inserting the ticker. */
  width: 85.934%;
  aspect-ratio: auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: var(--macbook-window-radius);
  background: var(--background-secondary);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--border-strong) 72%, transparent),
    var(--shadow-device);
  translate: none;
  transform: none;
}

.browser-bar {
  height: clamp(24px, 2.8vh, 31px);
  flex: 0 0 clamp(24px, 2.8vh, 31px);
  display: flex;
  direction: ltr;
  align-items: center;
  gap: 6px;
  padding: 0 11px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.browser-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: 0.6;
}

.device-screen {
  position: relative;
  width: 100%;
  overflow: hidden;
  container-type: inline-size;
}

.desktop-device .device-screen {
  flex: 0 0 auto;
}

.device-screen > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: fill;
}

.desktop-device .device-screen > img {
  object-position: center top;
}

.product-ticker {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  flex: 0 0 auto;
  align-items: center;
  overflow: hidden;
  direction: rtl;
  color: rgba(255, 255, 255, 0.76);
  background: #000;
  white-space: nowrap;
  user-select: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}

.product-ticker--desktop {
  /* The app ticker is 48px tall on an 861px-wide desktop capture. */
  height: 5.0175cqi;
  min-height: 0;
  font-size: 1.858cqi;
}

.product-ticker--mobile {
  /* Display the ticker at 36px on the 281px-wide mobile capture. */
  height: 12.8114cqi;
  min-height: 0;
  font-size: 4.2705cqi;
}

.product-ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  min-width: max-content;
  line-height: 1.45;
  animation: productTickerScroll 42s linear infinite;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.product-ticker--mobile .product-ticker-track {
  animation-duration: 34s;
}

.product-ticker-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
}

.product-ticker-group span {
  display: block;
  flex: 0 0 auto;
  margin-inline: 1.15em;
}

@keyframes productTickerScroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(50%, 0, 0); }
}

.phone-device {
  position: absolute;
  z-index: 3;
  left: 0;
  bottom: 0;
  width: 30.8655%;
  aspect-ratio: auto;
  overflow: hidden;
  border: var(--iphone-frame-width) solid var(--device-edge);
  border-radius: var(--mobile-frame-radius);
  background: var(--background-secondary);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--device-edge) 68%, var(--text) 32%),
    var(--shadow-device),
    inset 0 0 0 1px var(--border-strong);
}

.phone-device .device-screen > img {
  object-position: center;
}

:root[data-theme="dark"] .phone-device {
  border-color: #151619;
  background: #08090b;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.055),
    var(--shadow-device),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

:root[data-theme="light"] .phone-device {
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--device-edge) 90%, var(--text-muted) 10%),
    var(--shadow-device),
    inset 0 0 0 1px var(--border-strong);
}

.desktop-device,
.phone-device {
  transition: opacity 250ms ease, transform 250ms ease;
  will-change: opacity, transform;
}

.product-visual[data-preview-state="qr-ios"] .desktop-device,
.product-visual[data-preview-state="qr-ios"] .phone-device,
.product-visual[data-preview-state="qr-android"] .desktop-device,
.product-visual[data-preview-state="qr-android"] .phone-device {
  opacity: 0;
  transform: none;
  pointer-events: none;
}

.qr-preview {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: var(--visual-edge-gap) 4%;
  direction: rtl;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 250ms ease,
    visibility 0s linear 250ms;
  will-change: opacity;
}

.qr-preview.is-visible {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.qr-card {
  width: min(340px, 100%);
  aspect-ratio: 1;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-device);
  overflow: hidden;
  margin-bottom: 24px;
}

.qr-card-title,
.qr-card-hint {
  margin: 0;
  text-align: center;
}

.qr-card-title {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 15px;
  font-weight: 760;
  line-height: 1.55;
}

.qr-card-hint {
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 480;
  line-height: 1.5;
}

.qr-code-shell {
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  flex: 0 0 auto;
  background: #ffffff;
}

.qr-code-shell svg {
  width: 100%;
  height: 100%;
  display: block;
}

.bottom-bar {
  position: relative;
  grid-row: 3;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  direction: ltr;
  align-items: center;
  gap: 20px;
  width: 100%;
  margin-inline: 0;
  padding-top: 0;
  border-top: 0;
}

.bottom-bar::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(
    calc(100vw - var(--page-gutter-inline) - var(--page-gutter-inline)),
    calc(100% + var(--section-gap))
  );
  border-top: 1px solid var(--border);
  transform: translateX(-50%);
  pointer-events: none;
}

.bottom-bar > * {
  transform: translateY(6px);
}

.bottom-bar p {
  direction: rtl;
  margin: 0;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 550;
}

.footer-meta {
  grid-column: 3;
  display: flex;
  direction: rtl;
  align-items: center;
  gap: 8px;
  justify-self: end;
}

.social-links {
  grid-column: 1;
  display: flex;
  direction: ltr;
  align-items: center;
  gap: 8px;
  justify-self: start;
}

.social-links a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--capsule-bg);
  color: var(--text-muted);
  box-shadow: none;
  transition: color 200ms ease, background-color 200ms ease, transform 200ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  background: var(--capsule-hover);
  color: var(--brand-primary);
  box-shadow: none;
}

.social-links img {
  width: 17px;
  height: 17px;
  filter: brightness(0) saturate(100%) invert(41%) sepia(5%) saturate(381%) hue-rotate(202deg) brightness(93%) contrast(86%);
}

.secondary-cta:hover img,
.secondary-cta:focus-visible img,
.social-links a:hover img,
.social-links a:focus-visible img {
  filter: brightness(0) saturate(100%) invert(38%) sepia(71%) saturate(2704%) hue-rotate(143deg) brightness(98%) contrast(92%);
}

[data-theme="light"] .secondary-cta img,
[data-theme="light"] .social-links img {
  filter: brightness(0) saturate(100%) invert(48%) sepia(5%) saturate(732%) hue-rotate(182deg) brightness(89%) contrast(87%);
}

[data-theme="light"] .secondary-cta:hover img,
[data-theme="light"] .secondary-cta:focus-visible img,
[data-theme="light"] .social-links a:hover img,
[data-theme="light"] .social-links a:focus-visible img {
  filter: brightness(0) saturate(100%) invert(38%) sepia(71%) saturate(2704%) hue-rotate(143deg) brightness(98%) contrast(92%);
}

.about-dialog {
  position: fixed;
  width: min(430px, calc(100vw - var(--dialog-edge-gap) - var(--dialog-edge-gap)));
  max-height: min(540px, calc(100dvh - var(--dialog-edge-gap) - var(--dialog-edge-gap)));
  overflow: auto;
  padding: 34px;
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  background: var(--background-secondary);
  color: var(--text);
  box-shadow: var(--shadow-floating);
  direction: rtl;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.about-dialog::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.about-dialog {
  opacity: 0;
  transition: opacity 180ms ease;
}

.about-dialog[open].is-dialog-visible {
  opacity: 1;
}

.about-dialog::backdrop {
  opacity: 0;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: opacity 180ms ease;
}

.about-dialog[open].is-dialog-visible::backdrop {
  opacity: 1;
}

.dialog-close {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--text-secondary);
  font-size: 22px;
  cursor: pointer;
  box-shadow: none;
  transition: background-color 200ms ease, transform 200ms ease;
}

.dialog-close:hover { background: var(--capsule-hover); }

.dialog-back {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--surface);
  color: var(--text-secondary);
  box-shadow: none;
  cursor: pointer;
  transition: background-color 200ms ease, transform 200ms ease;
}

.dialog-back:hover,
.dialog-back:focus-visible {
  background: var(--capsule-hover);
}

.dialog-back:active {
  transform: scale(0.96);
}

.dialog-back svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dialog-kicker { color: var(--brand-primary); font-size: 12px; font-weight: 800; }
.about-dialog h2 { margin: 10px 0 12px; font-size: 28px; line-height: 1.35; }
.about-dialog p { margin: 0; color: var(--text-secondary); font-size: 15px; line-height: 2; }
.dialog-action { width: 100%; height: 48px; margin-top: 24px; border-radius: 999px; background: var(--brand-primary); color: #fff; font-weight: 800; cursor: pointer; box-shadow: var(--shadow-icon); transition: background-color 200ms ease, transform 200ms ease; }
.dialog-action:hover { background: var(--brand-primary-hover); }

@media (max-width: 1099px) {
  :root {
    --section-gap: 48px;
    --dialog-edge-gap: 38px;
  }

  .page-shell {
    grid-template-rows: 38px minmax(0, 1fr) 38px;
  }

  .hero {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    column-gap: var(--section-gap);
  }

  h1 {
    line-height: 1.12;
    white-space: nowrap;
  }

  .hero-description {
    white-space: nowrap;
  }

  .source-marquee { margin-top: 16px; }
  .cta-stack {
    --cta-height: 62px;
    --cta-circle: 54px;
    margin-top: 20px;
  }
  .product-visual { height: 100%; min-height: 0; }
  .desktop-device { width: 87.802%; right: 0; top: 0; }
  .phone-device { width: 33.573%; }
}

@media (max-width: 699px) {
  :root {
    --section-gap: 32px;
    --dialog-edge-gap: 34px;
    --mobile-content-gap: var(--visual-edge-gap);
    --mobile-control-size: calc(var(--visual-edge-gap) + var(--visual-edge-gap));
    --mobile-phone-side-gap: calc(var(--visual-edge-gap) + var(--visual-edge-gap) + var(--visual-edge-gap));
  }

  .page-shell {
    grid-template-rows: 34px minmax(0, 1fr) 34px;
  }

  .site-header { gap: 12px; }
  .theme-control { height: 29px; gap: 2px; padding: 1px; }
  .theme-control button { width: auto; min-width: 0; height: 25px; gap: 3px; padding: 0 5px; }
  .theme-icon { width: 16px; height: 16px; flex-basis: 16px; }
  .theme-label { font-size: 8px; }
  .theme-icon--sun { font-size: 14px; }
  .header-actions { gap: 13px; }
  .header-actions button { width: auto; min-width: 0; height: auto; padding: 0; font-size: 10px; }
  .source-marquee.source-marquee--hero {
    width: calc(100% - var(--mobile-control-size) - var(--mobile-control-size));
    height: 38px;
    margin: 8px auto 0;
  }
  .source-marquee--hero .source-pill { font-size: 10px; }
  .source-marquee--hero .source-pill img { width: 21px; height: 21px; }
  .source-marquee--hero .source-disclaimer {
    padding-inline: 6px;
    font-size: clamp(6px, 1.8vw, 7.5px);
  }

  .feature-timeline { display: none; }
  .feature-item:not(:last-child)::after {
    top: calc(50% + 15.75px);
    right: 14.25px;
    width: 1.5px;
    height: 1.5px;
    box-shadow:
      0 4.4px 0 var(--feature-dot-color);
  }
  .feature-item {
    min-height: 36px;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 9px;
    font-size: clamp(10.5px, 2.95vw, 12.5px);
  }
  .feature-icon { width: 30px; height: 30px; }
  .feature-icon svg { width: 17px; height: 17px; }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows:
      minmax(var(--mobile-content-gap), 1fr)
      auto
      minmax(var(--mobile-content-gap), 1fr)
      auto
      minmax(var(--mobile-content-gap), 1fr)
      auto
      minmax(var(--mobile-content-gap), 1fr);
    width: 100%;
    align-items: stretch;
    align-content: stretch;
    column-gap: 0;
    row-gap: 0;
    padding: 0;
  }

  .hero-copy { display: contents; }
  .copy-top {
    grid-column: 1;
    grid-row: 2;
    align-self: center;
    padding-top: 0;
    margin-block: 0;
    direction: rtl;
  }
  .cta-stack {
    --cta-height: 58px;
    --cta-circle: var(--mobile-control-size);
    grid-column: 1;
    grid-row: 6;
    justify-self: center;
    width: calc(100% - var(--mobile-control-size) - var(--mobile-control-size));
    direction: rtl;
    gap: 8px;
    align-self: center;
    margin: 0;
  }

  h1 {
    width: 100%;
    padding-inline: var(--mobile-control-size);
    font-size: clamp(29px, 8.35vw, 37px);
    line-height: 1.14;
    letter-spacing: -0.055em;
    text-align: center;
    text-align-last: center;
    white-space: nowrap;
  }

  .hero-description {
    width: 100%;
    padding-inline: var(--mobile-control-size);
    margin-top: 8px;
    font-size: clamp(12px, 3.55vw, 15px);
    line-height: 1.5;
    text-align: center;
    text-align-last: center;
    white-space: nowrap;
  }

  .source-marquee {
    height: 46px;
    margin-top: 12px;
  }

  .marquee-group { gap: 20px; padding-inline: 12px; }
  .source-pill { gap: 7px; font-size: 11px; }
  .source-pill img { width: 23px; height: 23px; border-radius: 50%; }

  .product-visual {
    grid-column: 1;
    grid-row: 4;
    height: auto;
    min-height: 0;
    display: grid;
    place-items: center;
    margin-top: 0;
    container-type: inline-size;
  }

  .desktop-device {
    display: flex;
    flex-direction: column;
    z-index: 1;
    top: 50%;
    right: auto;
    left: 50%;
    width: min(
      calc(100% - var(--visual-edge-gap) - var(--visual-edge-gap)),
      59dvh
    );
    translate: -50% -50%;
  }

  .desktop-device .browser-bar { height: 24px; flex-basis: 24px; }

  .phone-device {
    position: relative;
    inset: auto;
    width: min(
      calc(90.25% - 130px),
      283.746px,
      26dvh
    );
    height: auto;
    max-height: none;
    border-width: 4px;
    border-radius: 14px;
    box-shadow:
      0 0 0 1px color-mix(in srgb, var(--device-edge) 68%, var(--text) 32%),
      var(--shadow-device),
      inset 0 0 0 1px var(--border-strong);
  }

  .desktop-device,
  .phone-device {
    cursor: pointer;
    touch-action: manipulation;
    transition:
      opacity 250ms ease,
      transform 300ms ease,
      filter 300ms ease;
  }

  .product-visual:not([data-preview-state^="qr-"]):not(.is-desktop-front) .desktop-device {
    z-index: 1;
    filter: brightness(0.66) saturate(0.62);
    transform: scale(0.96);
  }

  .product-visual:not([data-preview-state^="qr-"]):not(.is-desktop-front) .phone-device {
    z-index: 3;
    filter: none;
    transform: scale(1);
  }

  .product-visual:not([data-preview-state^="qr-"]).is-desktop-front .desktop-device {
    z-index: 4;
    filter: none;
    transform: scale(1);
  }

  .product-visual:not([data-preview-state^="qr-"]).is-desktop-front .phone-device {
    z-index: 2;
    filter: brightness(0.66) saturate(0.62);
    transform: scale(0.96);
  }

  .qr-preview { padding: 0; }
  .qr-card {
    width: min(300px, 92%);
    padding: 0;
    border-radius: 15px;
  }
  .qr-card-title { font-size: 12px; }
  .qr-card-hint { font-size: 9px; }
  .qr-code-shell {
    width: 100%;
    aspect-ratio: 1;
    height: auto;
  }

  .primary-cta {
    height: var(--cta-height);
    gap: 7px;
    padding-inline: 14px;
    border-radius: 999px;
    font-size: clamp(13px, 3.8vw, 16px);
  }

  .web-icon,
  .secondary-cta img { width: 22px; height: 22px; flex-basis: 22px; }
  .secondary-row { gap: 7px; margin: 0; }
  .secondary-cta {
    width: var(--cta-circle);
    height: var(--cta-circle);
    flex-basis: var(--cta-circle);
    border-radius: 50%;
  }

  .bottom-bar { gap: 12px; align-items: center; padding-top: 0; }
  .bottom-bar p { margin: 0; font-size: 10px; }
  .footer-meta { gap: 6px; }
  .social-links { gap: 5px; }
  .social-links a { width: 29px; height: 29px; }
  .social-links img { width: 14px; height: 14px; }
  .about-dialog { padding: 28px 22px 22px; }
}

@media (max-width: 374px) {
  .web-icon,
  .secondary-cta img { width: 19px; height: 19px; flex-basis: 19px; }
  .bottom-bar p { font-size: 9px; }
}

@media (max-height: 720px) and (max-width: 699px) {
  :root {
    --section-gap: 24px;
    --dialog-edge-gap: 30px;
  }
  .page-shell { grid-template-rows: 30px minmax(0, 1fr) 30px; }
  .theme-control { height: 26px; }
  .theme-control button { width: auto; min-width: 0; height: 22px; padding-inline: 4px; }
  .theme-icon { width: 14px; height: 14px; flex-basis: 14px; }
  .theme-icon--sun { font-size: 12px; }
  .hero {
    column-gap: 0;
    row-gap: 0;
    padding: 0;
  }
  h1 { font-size: clamp(28px, 8.1vw, 31px); }
  .hero-description { margin-top: 2px; font-size: 12px; }
  .source-marquee { height: 40px; margin-top: 5px; }
  .source-pill img { width: 21px; height: 21px; }
  .feature-timeline { margin-top: 3px; }
  .feature-item:not(:last-child)::after {
    top: calc(50% + 9.9px);
    right: 9.7px;
    width: 0.6px;
    height: 0.6px;
    box-shadow:
      0 1.5px 0 var(--feature-dot-color);
  }
  .feature-item {
    min-height: 22px;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 6px;
    font-size: 9px;
  }
  .feature-icon { width: 20px; height: 20px; }
  .feature-icon svg { width: 12px; height: 12px; }
  .phone-device { height: auto; border-radius: 19px; }
  .qr-card { width: min(230px, 90%); padding: 0; border-radius: 12px; }
  .qr-card-title { font-size: 10px; line-height: 1.35; }
  .qr-card-hint { display: block; font-size: 8px; line-height: 1.45; }
  .qr-code-shell {
    width: 100%;
    aspect-ratio: 1;
    height: auto;
  }
  .cta-stack { --cta-height: 50px; --cta-circle: var(--mobile-control-size); gap: 6px; }
  .primary-cta { height: var(--cta-height); font-size: 13px; }
  .secondary-row { gap: 5px; margin: 0; }
  .secondary-cta { width: var(--cta-circle); height: var(--cta-circle); flex-basis: var(--cta-circle); }
  .bottom-bar p { font-size: 9px; }
  .social-links a { width: 26px; height: 26px; }
  .header-actions { gap: 11px; }
  .header-actions button { width: auto; min-width: 0; height: auto; padding: 0; font-size: 9px; }
}

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

  .marquee-track { animation: none; }
  .marquee-group[aria-hidden="true"] { display: none; }
}

.about-info-dialog {
  width: min(560px, calc(100vw - var(--dialog-edge-gap) - var(--dialog-edge-gap)));
  max-height: min(680px, calc(100dvh - var(--dialog-edge-gap) - var(--dialog-edge-gap)));
  padding: 38px 42px 34px;
  text-align: center;
}

.about-info-dialog__header {
  display: grid;
  justify-items: center;
}

.about-info-dialog .dialog-kicker {
  font-size: 13px;
  line-height: 1.5;
}

.about-info-dialog h2 {
  max-width: 440px;
  margin: 18px auto 16px;
  font-size: clamp(27px, 3vw, 34px);
  line-height: 1.5;
  letter-spacing: -0.025em;
}

.about-info-dialog__header > p {
  max-width: 455px;
  margin-inline: auto;
  font-size: 15px;
  line-height: 2.15;
}

.about-info-dialog__divider {
  height: 1px;
  margin: 30px 0 24px;
  background: var(--border);
}

.about-info-dialog__notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 68px;
  padding: 12px 15px;
  border: 1px solid color-mix(in srgb, #EF3E3E 22%, transparent);
  border-radius: 13px;
  background: color-mix(in srgb, #EF3E3E 10%, var(--surface));
  text-align: right;
}

.about-info-dialog__notice-icon {
  display: grid;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, #EF3E3E 12%, transparent);
  color: #EF3E3E;
}

.about-info-dialog__notice h3 {
  margin: 0 0 7px;
  color: #EF3E3E;
  font-size: 20px;
  line-height: 1.6;
}

.about-info-dialog__notice p {
  max-width: 360px;
  font-size: 14px;
  line-height: 1.95;
}

.advertising-dialog {
  width: min(560px, calc(100vw - var(--dialog-edge-gap) - var(--dialog-edge-gap)));
  max-height: min(680px, calc(100dvh - var(--dialog-edge-gap) - var(--dialog-edge-gap)));
  padding: 38px 42px 34px;
  text-align: center;
}

.advertising-dialog__header {
  display: grid;
  justify-items: center;
}

.advertising-dialog .dialog-kicker {
  font-size: 13px;
  line-height: 1.5;
}

.advertising-dialog h2 {
  max-width: 440px;
  margin: 18px auto 16px;
  font-size: clamp(25px, 3vw, 32px);
  line-height: 1.55;
  letter-spacing: -0.025em;
}

.advertising-dialog__header > p {
  max-width: 450px;
  margin-inline: auto;
  font-size: 15px;
  line-height: 2.05;
}

.advertising-dialog__divider {
  height: 1px;
  margin: 28px 0 24px;
  background: var(--border);
}

.advertising-dialog__notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 68px;
  padding: 12px 15px;
  border: 1px solid color-mix(in srgb, var(--brand-primary) 22%, transparent);
  border-radius: 13px;
  background: color-mix(in srgb, var(--brand-primary) 10%, var(--surface));
  text-align: right;
}

.advertising-dialog__notice-icon {
  display: grid;
  flex: 0 0 auto;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--brand-primary) 10%, transparent);
  color: var(--brand-primary);
}

.advertising-dialog__notice h3 {
  margin: 0 0 7px;
  color: var(--brand-primary);
  font-size: 20px;
  line-height: 1.6;
}

.advertising-dialog__notice p {
  max-width: 360px;
  font-size: 14px;
  line-height: 1.95;
}

.advertising-dialog__actions {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.advertising-dialog__primary {
  margin-top: 0;
}


.advertising-flow-dialog {
  width: min(620px, calc(100vw - var(--dialog-edge-gap) - var(--dialog-edge-gap)));
  max-height: min(780px, calc(100dvh - var(--dialog-edge-gap) - var(--dialog-edge-gap)));
  padding: 34px 38px 30px;
  overflow-y: auto;
  text-align: right;
}

.advertising-flow-dialog__header {
  display: grid;
  justify-items: center;
  text-align: center;
}

.advertising-flow-dialog__header h2 {
  margin: 12px 0 8px;
  font-size: clamp(23px, 2.8vw, 29px);
  line-height: 1.55;
}

.advertising-flow-dialog__header p {
  max-width: 490px;
  font-size: 13px;
  line-height: 1.9;
}

.advertising-request-form {
  margin-top: 24px;
}

.advertising-request-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 30px;
}

.advertising-field {
  position: relative;
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
}

.advertising-field__label {
  color: var(--text);
  font-size: 12px;
  font-weight: 750;
}

.advertising-field b {
  color: #ef4444;
}

.advertising-field input,
.advertising-field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: color-mix(in srgb, var(--surface) 94%, var(--text) 6%);
  color: var(--text);
  font: inherit;
  font-size: 12px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.advertising-field input {
  height: 46px;
  padding: 0 13px;
}

.advertising-field textarea {
  min-height: 104px;
  padding: 12px 13px;
  resize: none;
  line-height: 1.8;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.advertising-field textarea::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.advertising-field input:focus,
.advertising-field textarea:focus {
  border-color: color-mix(in srgb, var(--brand-primary) 70%, var(--border));
  background: var(--surface);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-primary) 12%, transparent);
}

.advertising-field input[aria-invalid="true"],
.advertising-field textarea[aria-invalid="true"] {
  border-color: color-mix(in srgb, #ef4444 72%, var(--border));
  box-shadow: 0 0 0 3px color-mix(in srgb, #ef4444 10%, transparent);
}

.advertising-field__error {
  position: absolute;
  top: calc(100% + 4px);
  right: 2px;
  left: 2px;
  display: block;
  overflow: hidden;
  color: #ef4444;
  text-overflow: ellipsis;
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.65;
}

.advertising-field__error.is-visible {
  visibility: visible;
  opacity: 1;
}

.advertising-field--description {
  grid-column: 1 / -1;
}

@media (min-width: 900px) {
  .advertising-request-dialog {
    padding-bottom: 18px;
  }

  .advertising-request-form__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas:
      "brand website description"
      "email contact description";
    align-items: stretch;
    column-gap: 18px;
    row-gap: 30px;
  }

  .advertising-field--brand { grid-area: brand; }
  .advertising-field--website { grid-area: website; }
  .advertising-field--email { grid-area: email; }
  .advertising-field--contact { grid-area: contact; }

  .advertising-field--description {
    grid-area: description;
    grid-column: auto;
    grid-template-rows: auto minmax(0, 1fr);
    align-content: stretch;
  }

  .advertising-field--description textarea {
    height: 100%;
    min-height: 0;
  }
}

.advertising-request-form__submit {
  margin-top: 30px;
}

.advertising-request-form__submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.contact-dialog {
  width: min(500px, calc(100vw - var(--dialog-edge-gap) - var(--dialog-edge-gap)));
  max-height: min(650px, calc(100dvh - var(--dialog-edge-gap) - var(--dialog-edge-gap)));
  padding: 36px 38px 30px;
  text-align: right;
}

.contact-dialog__header {
  display: grid;
  justify-items: center;
  text-align: center;
}

.contact-dialog__header h2 {
  margin: 12px 0 8px;
  font-size: clamp(23px, 2.8vw, 29px);
  line-height: 1.55;
}

.contact-dialog__header p {
  max-width: 430px;
}


.contact-dialog .contact-support-text {
  margin: 0;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.9;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.contact-item {
  position: relative;
  display: flex;
  direction: rtl;
  align-items: center;
  gap: 12px;
  min-height: 70px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 13px;
  overflow: hidden;
  background: color-mix(in srgb, var(--surface) 92%, var(--text) 8%);
  color: var(--text);
}

.contact-item__link {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1 1 auto;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  transition: opacity 180ms ease, visibility 0s linear 180ms;
}

.contact-item:not(.contact-item--static):has(.contact-item__link:hover),
.contact-item:not(.contact-item--static):has(.contact-item__link:focus-visible) {
  border-color: transparent;
  background: var(--capsule-hover);
}


.contact-copy {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--capsule-bg);
  color: var(--text-muted);
  box-shadow: none;
  cursor: pointer;
  transition: color 200ms ease, background-color 200ms ease, transform 200ms ease;
}

.contact-copy:hover,
.contact-copy:focus-visible,
.contact-copy.is-copied {
  background: var(--capsule-hover);
  color: var(--brand-primary);
  box-shadow: none;
}

.contact-copy svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}


.contact-copy {
  position: relative;
}

.contact-copy__icon {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  transition: opacity 180ms ease;
}

.contact-copy__icon--copy {
  opacity: 1;
}

.contact-copy__icon--check {
  width: 28px;
  height: 28px;
  stroke-width: 2.35;
  opacity: 0;
}

.contact-copy.is-copied .contact-copy__icon--copy {
  opacity: 0;
}

.contact-copy.is-copied .contact-copy__icon--check {
  opacity: 1;
}

.contact-item__icon {
  display: grid;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--brand-primary) 10%, transparent);
  color: var(--brand-primary);
}

.contact-item__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.contact-item__icon .contact-item__telegram {
  fill: currentColor;
  stroke: none;
}

.contact-item__text {
  display: grid;
  min-width: 0;
  gap: 3px;
  text-align: right;
}

.contact-item strong {
  font-size: 13px;
  line-height: 1.45;
}

.contact-item small {
  min-width: 0;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.5;
  direction: ltr;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-item--static small {
  direction: rtl;
}

.advertising-dialog {
  box-sizing: border-box;
  padding: 0;
  overflow: auto;
  scrollbar-width: none;
}

.advertising-dialog[data-ad-view="request"] {
  max-height: min(780px, calc(100dvh - var(--dialog-edge-gap) - var(--dialog-edge-gap)));
}

.advertising-dialog__panel {
  box-sizing: border-box;
  width: 100%;
  display: none;
}

.advertising-dialog__panel--overview {
  padding: 38px 42px 34px;
}

.advertising-dialog__panel.advertising-flow-dialog {
  width: 100%;
  max-height: none;
}

.advertising-dialog__panel.is-active {
  display: block;
}

.advertising-dialog.is-morphing {
  overflow: hidden;
}

.advertising-dialog.is-morphing .advertising-dialog__panel {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
}

.advertising-dialog__panel.is-entering {
  display: block;
  animation: advertising-panel-in 480ms 70ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.advertising-dialog__panel.is-leaving {
  display: block;
  animation: advertising-panel-out 220ms ease both;
  pointer-events: none;
}

.advertising-dialog__panel.is-measuring {
  position: fixed;
  z-index: -1;
  top: 0;
  left: -10000px;
  display: block;
  visibility: hidden;
  height: auto;
  max-height: none;
  overflow: visible;
  pointer-events: none;
}

@keyframes advertising-panel-in {
  from { opacity: 0; transform: scale(0.985); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes advertising-panel-out {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(0.99); }
}

@media (max-width: 599px) {
  .about-info-dialog,
  .advertising-dialog,
  .advertising-flow-dialog,
  .contact-dialog {
    width: min(430px, calc(100vw - var(--dialog-edge-gap) - var(--dialog-edge-gap)));
    padding: 32px 22px 24px;
  }

  .about-info-dialog h2 {
    margin-top: 14px;
    font-size: 25px;
  }

  .about-info-dialog__header > p {
    font-size: 14px;
    line-height: 2.05;
  }

  .about-info-dialog__divider,
  .advertising-dialog__divider {
    margin: 22px 0 20px;
  }

  .about-info-dialog__notice,
  .advertising-dialog__notice {
    gap: 12px;
  }

  .about-info-dialog__notice {
    padding: 12px 14px;
  }

  .advertising-dialog__notice {
    padding: 12px 14px;
  }

  .about-info-dialog__notice-icon {
    width: 50px;
    height: 50px;
  }

  .about-info-dialog__notice h3,
  .advertising-dialog__notice h3 {
    font-size: 18px;
  }

  .advertising-dialog h2 {
    margin-top: 14px;
    font-size: 24px;
  }

  .advertising-dialog__header > p {
    font-size: 14px;
  }

  .advertising-dialog__notice-icon {
    width: 52px;
    height: 52px;
  }

  .advertising-flow-dialog,
  .contact-dialog {
    padding: 30px 20px 22px;
  }

  .advertising-dialog {
    padding: 0;
  }

  .advertising-dialog__panel--overview {
    padding: 32px 22px 24px;
  }

  .advertising-request-form__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .advertising-flow-dialog__header h2,
  .contact-dialog__header h2 {
    font-size: 22px;
  }

  .contact-item {
    min-height: 62px;
  }
}

