/* ClearLink mobile — отдельная вёрстка, десктоп не затрагивается */

:root {
  --bg: #f6f4f1;
  --ink: #1a1816;
  --header-tint: rgba(0, 0, 0, 0.85);
  --header-tint-border: #fff;
  --muted: #5f5a55;
  --line: rgba(26, 24, 22, 0.1);
  --green: #003f35;
  --green-soft: #e8f2ef;
  --header-h: 56px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --font: var(--font-text);
  --font-display: var(--font-stack-brand, "Cormorant Garamond", "Times New Roman", "Noto Serif CJK SC", "Noto Serif CJK KR", "Noto Serif SC", Georgia, serif);
  --font-text: var(--font-stack-sans, "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans CJK SC", "Noto Sans CJK KR", "Noto Sans SC", "Noto Sans KR", "PingFang SC", "Microsoft YaHei", "Apple SD Gothic Neo", sans-serif);
  --radius: 16px;
  --shadow: 0 12px 40px rgba(26, 24, 22, 0.08);
  --brand-mark: 44px;
  --brand-inset-x: 16px;
  --band-seam-thick: clamp(1px, 0.45vh, 3px);
}

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

html {
  color-scheme: dark;
  scroll-behavior: auto;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: #141210;
}

body {
  margin: 0;
  font: 400 16px/1.5 var(--font);
  color: var(--ink);
  background: var(--bg);
  padding-bottom: var(--safe-bottom);
  overflow-x: clip;
}

input,
select,
textarea {
  font-size: max(16px, 1em);
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.08);
}

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

.m-photo-band img {
  max-width: none;
}

a {
  color: inherit;
}

.hidden {
  display: none !important;
}

.page-wrap {
  width: min(100% - 32px, 640px);
  margin-inline: auto;
}

/* Header — fixed glass overlay on hero, frosted on scroll */
.m-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  overflow: hidden;
  background: transparent;
  --header-glass: 0;
  --material-opacity: 0;
  --material-blur: 0px;
  --material-tint-r: 255;
  --material-tint-g: 255;
  --material-tint-b: 255;
  --material-tint-a: 0.14;
  --material-saturate: 210%;
}

.m-header__material {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: var(--material-opacity);
  background: rgba(
    var(--material-tint-r),
    var(--material-tint-g),
    var(--material-tint-b),
    calc(var(--material-tint-a) * var(--material-opacity))
  );
  -webkit-backdrop-filter:
    blur(var(--material-blur))
    saturate(var(--material-saturate))
    brightness(1.04);
  backdrop-filter:
    blur(var(--material-blur))
    saturate(var(--material-saturate))
    brightness(1.04);
  border-bottom: none;
  box-shadow: none;
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 88%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 88%,
    transparent 100%
  );
}

.m-header:not(.is-glass) .m-header__material {
  opacity: 0 !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  visibility: hidden;
}

.m-header.m-header--over-hero:not(.is-scrolled) .m-header__material {
  opacity: 1 !important;
  visibility: visible !important;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(18px) saturate(160%) brightness(1.05);
  backdrop-filter: blur(18px) saturate(160%) brightness(1.05);
}

.m-header__material::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, calc(0.16 * var(--material-opacity))) 0%,
    rgba(255, 255, 255, calc(0.04 * var(--material-opacity))) 20%,
    transparent 48%
  );
}

.m-header.m-header--over-hero {
  --material-tint-r: 255;
  --material-tint-g: 255;
  --material-tint-b: 255;
  --material-tint-a: 0.1;
  --material-saturate: 180%;
}

.m-header:not(.m-header--over-hero) {
  --material-tint-r: 246;
  --material-tint-g: 244;
  --material-tint-b: 241;
  --material-tint-a: 0.34;
  --material-saturate: 214%;
}

.m-header__bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: calc(var(--header-h) + var(--safe-top));
  padding: calc(12px + var(--safe-top)) max(16px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px));
}

.m-brand {
  display: inline-flex;
  align-items: center;
  width: var(--brand-mark);
  height: var(--brand-mark);
  min-width: var(--brand-mark);
  text-decoration: none;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.m-brand-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: var(--brand-mark);
  height: var(--brand-mark);
  min-width: var(--brand-mark);
  min-height: var(--brand-mark);
  padding: 0 3px;
  border: 2px solid var(--header-tint-border);
  border-radius: 13px;
  background: var(--header-tint);
  color: #fff;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}

.m-header.m-header--over-hero .m-brand--light {
  color: #fff;
  text-shadow: none;
}

.m-header.m-header--over-hero .m-brand-label,
.m-header:not(.m-header--over-hero) .m-brand-label,
.m-header.is-scrolled:not(.m-header--over-hero) .m-brand-label {
  background: var(--header-tint);
  border-color: var(--header-tint-border);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}

.m-header:not(.m-header--over-hero) .m-brand--light,
.m-header.is-scrolled:not(.m-header--over-hero) .m-brand--light {
  color: #fff;
  text-shadow: none;
}

.m-tg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  box-sizing: border-box;
  width: var(--brand-mark);
  height: var(--brand-mark);
  min-width: var(--brand-mark);
  min-height: var(--brand-mark);
  border: 2px solid var(--header-tint-border);
  border-radius: 50%;
  background: var(--header-tint);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.m-tg-btn:active {
  transform: scale(0.96);
}

.m-tg-btn__icon {
  display: block;
  width: 30px;
  height: 30px;
  transform: translateX(-1px);
}

.m-header__actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (prefers-reduced-transparency: reduce) {
  .m-header__material {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(246, 244, 241, calc(0.96 * var(--material-opacity)));
  }

  .m-header__material::before,
  .m-header__material::after {
    display: none;
  }

  .m-brand-label,
  .m-tg-btn {
    background: rgba(0, 0, 0, 0.72);
    border-color: #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

.m-nav {
  display: none;
  position: fixed;
  inset: calc(var(--header-h) + var(--safe-top)) 0 auto 0;
  z-index: 35;
  padding: 12px 16px 20px;
  background: rgba(246, 244, 241, 0.98);
  border-bottom: 1px solid var(--line);
  flex-direction: column;
  gap: 4px;
}

.m-nav.is-open,
body.menu-open .m-nav {
  display: flex;
}

.m-nav a {
  display: block;
  padding: 12px 10px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 12px;
}

.m-nav a:active {
  background: rgba(26, 24, 22, 0.06);
}

.m-nav a:focus-visible,
.menu-toggle:focus-visible,
.m-tg-btn:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 700 14px/1.1 var(--font);
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
}

.button-small {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 13px;
}

.button-block {
  width: 100%;
}

.button-dark {
  background: var(--ink);
  color: #fff;
}

.button-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.button-outline-light {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.menu-toggle {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.m-header.m-header--over-hero .menu-toggle {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(0, 0, 0, 0.34);
  color: #fff;
}

.button-plain {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
}

/* Hero — photo + lens-glass dock */
.m-hero {
  position: relative;
  min-height: min(100vh, 820px);
  min-height: min(calc(var(--m-vh, 1vh) * 100), 820px);
  min-height: min(100svh, 820px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: #fff;
  margin-top: 0;
  overflow-anchor: none;
  contain: layout paint;
}

.m-hero__frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.m-hero__frame picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.m-hero__bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 46% 20%;
  transform: none;
}

.m-hero__bg--blur,
.m-hero__veil {
  display: none;
}

.m-hero__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 78%,
    rgba(8, 8, 10, 0.06) 84%,
    rgba(6, 6, 8, 0.28) 90%,
    rgba(4, 4, 6, 0.62) 95%,
    rgba(2, 2, 4, 0.9) 100%
  );
}

.m-hero__inner {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
  padding:
    0
    max(20px, env(safe-area-inset-right, 0px))
    calc(24px + env(safe-area-inset-bottom, 0px))
    max(20px, env(safe-area-inset-left, 0px));
}

.m-hero__copy {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  color: #fff;
}

.m-hero__title {
  margin: 0;
  transform: none;
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(32px, 9vw, 48px);
  line-height: 0.98;
  letter-spacing: -0.042em;
  text-transform: none;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12),
    0 4px 18px rgba(0, 0, 0, 0.55),
    0 12px 40px rgba(0, 0, 0, 0.42);
  font-feature-settings: "kern" 1, "liga" 1;
}

.m-hero__title-line {
  display: block;
}

.m-hero__title-line--brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(12px, 3.2vw, 15px);
  line-height: 1.08;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: clamp(4px, 0.8vh, 8px);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18),
    0 3px 14px rgba(0, 0, 0, 0.45);
}

.m-hero__title-line:nth-child(2),
.m-hero__title-line:nth-child(3) {
  font-family: var(--font-text);
  font-weight: 800;
  letter-spacing: -0.044em;
  text-transform: none;
  font-synthesis: none;
}

.m-hero__promo {
  display: inline-flex;
  margin: clamp(10px, 1.5vh, 14px) 0 0;
  transform: none;
  padding: 6px 12px;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: clamp(11px, 2.8vw, 12px);
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
}

.m-hero__lead {
  margin: clamp(14px, 2.5vh, 20px) 0 0;
  transform: none;
  max-width: 34ch;
  font-family: var(--font-display);
  font-weight: 500;
  font-style: normal;
  font-size: clamp(15px, 3.9vw, 18px);
  line-height: 1.52;
  letter-spacing: 0.012em;
  color: rgba(255, 255, 255, 0.86);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08),
    0 3px 20px rgba(0, 0, 0, 0.5);
  font-synthesis: none;
}

.m-hero__lead-accent {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 0.88em;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.96);
}

.m-hero__cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  margin-top: 20px;
  width: 100%;
  max-width: none;
}

.m-hero__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: 100%;
}

.m-hero__actions .button {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 11px 18px;
  font-size: clamp(12px, 3.2vw, 14px);
  white-space: nowrap;
  text-align: center;
  justify-content: center;
}

.m-hero__actions .button-outline-light {
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
  color: #fff;
}

.m-hero__payments {
  width: min(100%, 248px);
  margin-inline: auto;
}

.m-hero__payments img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  opacity: 1;
  filter: brightness(0) invert(1) contrast(1.12) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

/* Sections */
.m-section {
  padding: 40px 0;
}

.m-section--tight {
  padding-top: 28px;
  padding-bottom: 32px;
}

.m-statement .m-eyebrow {
  margin-bottom: 8px;
}

.m-section--dark {
  background: var(--ink);
  color: #fff;
}

.m-eyebrow {
  margin: 0 0 10px;
  font: 600 11px/1.25 var(--font);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.m-section--dark .m-eyebrow {
  color: rgba(255, 255, 255, 0.55);
}

/* Statement blocks — как bento-statement на ПК */
.m-statement {
  text-align: center;
}

.m-statement h2,
.m-pricing-statement h2,
.m-cabinet-head h2,
.m-devices-head h2 {
  margin: 0 auto;
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(1.65rem, 6.8vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-transform: none;
  color: var(--ink);
}

.m-statement-lead,
.m-cabinet-head__lead,
.m-devices-head__lead {
  margin: 16px auto 0;
  max-width: 520px;
  font-family: var(--font);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.48;
  letter-spacing: -0.018em;
  color: var(--muted);
}

.m-devices-head__lead {
  max-width: 420px;
  margin-top: 12px;
  font-size: 14px;
}

.m-statement .button,
.m-cabinet-head + .m-auth-shell {
  margin-top: 20px;
}

.m-pricing-statement {
  text-align: center;
  margin-bottom: 16px;
}

.m-pricing-statement h2 {
  max-width: 22ch;
  margin-inline: auto;
}

.m-cabinet-head,
.m-devices-head {
  max-width: 560px;
  margin-inline: auto;
  text-align: center;
}

.m-cabinet-head .m-eyebrow,
.m-devices-head .m-eyebrow {
  margin-bottom: 12px;
}

.m-cabinet-head h2 {
  font-size: clamp(1.65rem, 5.8vw, 2.2rem);
}

.m-devices-head h2 {
  font-size: clamp(1.65rem, 5.5vw, 2.15rem);
}

.m-lead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
}

.m-section--dark .m-lead {
  color: rgba(255, 255, 255, 0.72);
}

/* Photo band — edge words slide in/out from sides (desktop motion) */
.m-photo-band {
  position: relative;
  min-height: min(76svh, 720px);
  min-height: min(calc(var(--m-vh, 1vh) * 76), 720px);
  height: min(76svh, 720px);
  height: min(calc(var(--m-vh, 1vh) * 76), 720px);
  max-height: 720px;
  border-radius: 0;
  overflow: hidden;
  background: #000;
  isolation: isolate;
  overflow-anchor: none;
}

/* Fixed edge stripes — only at top/bottom of photo, never scroll-linked mid-frame */
.m-photo-band::before,
.m-photo-band::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 4;
  height: var(--band-seam-thick);
  background: #000;
  pointer-events: none;
}

.m-photo-band::before {
  top: 0;
}

.m-photo-band::after {
  bottom: 0;
}

.m-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  height: var(--band-seam-thick);
  background: linear-gradient(180deg, rgba(2, 2, 4, 0) 0%, rgba(2, 2, 4, 0.82) 62%, #000 100%);
  pointer-events: none;
}

.m-photo-band + .m-pricing {
  position: relative;
  z-index: 2;
  padding-top: clamp(20px, 4.5vw, 32px);
  background: #fff;
}

.m-edge-scene {
  --edge-travel: min(40vw, 180px);
  --edge-shift-left: min(40vw, var(--edge-travel), 180px);
  --edge-shift-right: min(40vw, var(--edge-travel), 180px);
  --edge-scroll-travel: min(16vh, 148px);
  --edge-rise: clamp(10px, 2vh, 20px);
  --edge-split-rise: clamp(8px, 1.4vh, 14px);
  --edge-scroll-y: 0;
  --edge-in: 0;
  --edge-out: 0;
  --edge-opacity: 0;
}

.m-photo-band img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  transform: none;
}

#flow.m-photo-band img {
  object-position: center 50%;
}

#cabinet-banner.m-photo-band img {
  object-position: center 48%;
}

.m-photo-band__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.22) 42%, rgba(0, 0, 0, 0.42) 100%);
}

.m-photo-band__frame {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding:
    calc(var(--header-h) + var(--safe-top) + 20px)
    max(16px, env(safe-area-inset-right, 0px))
    max(24px, env(safe-area-inset-bottom, 0px))
    max(16px, env(safe-area-inset-left, 0px));
  pointer-events: none;
  overflow: hidden;
}

.m-edge-pair {
  position: relative;
  display: grid;
  grid-template-rows: repeat(2, min-content);
  align-content: center;
  justify-content: stretch;
  gap: clamp(4px, 1vh, 10px);
  width: min(100%, 1320px);
  margin-inline: auto;
  overflow: visible;
  transform: translate3d(
    0,
    calc(var(--edge-scroll-y, 0) * var(--edge-scroll-travel)),
    0
  );
}

.m-edge-word {
  display: block;
  position: relative;
  width: max-content;
  max-width: none;
  margin: 0;
  font-family: var(--font);
  font-size: clamp(32px, 15vw, 80px);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.06em;
  text-transform: lowercase;
  color: rgba(255, 255, 255, 0.98);
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.28);
  white-space: nowrap;
  --edge-travel-amount: calc(
    (1 - var(--edge-in, 0)) + var(--edge-out, 0)
  );
  opacity: var(--edge-opacity, 0);
  transform: translate3d(0, 0, 0);
  transition: none;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.m-edge-lite .m-edge-word,
.m-edge-lite .m-edge-pair {
  text-shadow: none;
}

.m-touch-view .m-edge-pair,
.m-touch-view .m-edge-word {
  will-change: transform, opacity;
}

.m-edge-lite .m-photo-band img {
  will-change: auto;
}

.m-edge-word--left {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  align-self: center;
  z-index: 2;
  transform: translate3d(
    calc(var(--edge-travel-amount) * var(--edge-shift-left) * -1),
    calc(
      (1 - var(--edge-in, 0)) * var(--edge-rise) * -1
      + var(--edge-out, 0) * var(--edge-split-rise) * -1
    ),
    0
  );
}

.m-edge-word--right {
  grid-column: 1;
  grid-row: 2;
  justify-self: end;
  align-self: center;
  z-index: 1;
  transform: translate3d(
    calc(var(--edge-travel-amount) * var(--edge-shift-right)),
    calc(
      (1 - var(--edge-in, 0)) * var(--edge-rise)
      + var(--edge-out, 0) * var(--edge-split-rise)
    ),
    0
  );
}

.m-devices {
  padding: 44px 0 clamp(18px, 5mm, 24px);
  background: #fff;
}

.m-devices-panel-wrap {
  margin-top: 22px;
}

.m-devices-panel {
  padding: 14px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(26, 24, 22, 0.06);
  box-shadow:
    0 24px 56px rgba(26, 24, 22, 0.07),
    0 2px 10px rgba(26, 24, 22, 0.04);
}

.m-devices-os {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.m-device-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 112px;
  padding: 20px 12px 16px;
  border-radius: 22px;
  text-align: center;
  background: #faf9f7;
  border: 1px solid rgba(26, 24, 22, 0.05);
}

.m-device-card__glyph {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-top: 4px;
  border-radius: 18px;
  background: #fff;
  box-shadow:
    0 8px 20px rgba(26, 24, 22, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.m-device-card__glyph img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.m-device-card--ios .m-device-card__glyph img {
  width: 26px;
  height: 26px;
}

.m-device-card--windows .m-device-card__glyph {
  background: linear-gradient(145deg, #f4f9ff 0%, #e7f2fb 100%);
}

.m-device-card--macos .m-device-card__glyph,
.m-device-card--ios .m-device-card__glyph {
  background: linear-gradient(145deg, #f7f7f8 0%, #ececee 100%);
}

.m-device-card--android .m-device-card__glyph {
  background: linear-gradient(145deg, #f1faf4 0%, #e4f4ea 100%);
}

.m-device-card__copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.m-device-card__name {
  display: block;
  font: 800 15px/1.15 var(--font);
  letter-spacing: -0.02em;
  color: var(--ink);
}

.m-device-card__meta {
  display: none;
}

.m-devices-download {
  margin-top: 16px;
  padding: 18px 4px clamp(10px, 2.5mm, 14px);
  border-top: 1px solid rgba(26, 24, 22, 0.08);
  text-align: center;
  background: transparent;
  color: var(--ink);
}

.m-devices-download__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.m-devices-download__eyebrow {
  margin: 0;
}

.m-devices-download__marks {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.m-devices-download__sep {
  width: 1px;
  height: 22px;
  background: rgba(26, 24, 22, 0.12);
}

.m-devices-download__mark {
  display: block;
  width: auto;
  object-fit: contain;
  filter: brightness(0);
  opacity: 0.78;
}

.m-devices-download__mark--happ {
  height: 30px;
}

.m-devices-download__mark--incy {
  height: 20px;
}

.m-devices-download__note {
  margin: 12px 0 0;
  font: 500 13px/1.45 var(--font);
  color: var(--muted);
}

.m-devices-download__stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.m-devices-store {
  display: block;
  line-height: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(26, 24, 22, 0.1);
  background: #fff;
  box-shadow: 0 4px 14px rgba(26, 24, 22, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.m-devices-store:active {
  transform: scale(0.98);
  box-shadow: 0 2px 8px rgba(26, 24, 22, 0.05);
}

.m-devices-store img {
  display: block;
  height: 38px;
  width: auto;
}

/* PayPal Personal/Business pill toggle */
.term-filter {
  display: flex;
  width: min(100%, 360px);
  margin: 0 auto 22px;
  padding: 4px;
  border-radius: 999px;
  background: var(--ink);
  gap: 0;
  position: relative;
}

.term-filter button {
  flex: 1 1 0;
  min-width: 0;
  min-height: 40px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  font: 700 14px/1.1 var(--font);
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
  position: relative;
  z-index: 1;
}

.term-filter button.is-active {
  background: #fff;
  color: var(--ink);
}

/* PayPal-style horizontal carousel */
.m-hscroll {
  --m-card-w: min(88vw, 360px);
  --m-card-gap: 14px;
  --m-peek: calc((100vw - var(--m-card-w)) / 2 - 6px);
  margin-top: 4px;
  overflow-x: clip;
  overflow-y: visible;
  overflow-anchor: none;
}

.m-hscroll__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-scroll-snap-type: x proximity;
  scroll-snap-type: x proximity;
  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: auto;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
}

.m-hscroll[data-hscroll="tariffs"] .m-hscroll__viewport,
.m-hscroll[data-hscroll="features"] .m-hscroll__viewport {
  -webkit-scroll-snap-type: x mandatory;
  scroll-snap-type: x mandatory;
}

.m-hscroll__viewport.is-scroll-y {
  overflow-x: hidden;
  touch-action: pan-y pinch-zoom;
}

.m-hscroll__viewport.is-scroll-x {
  touch-action: pan-x pinch-zoom;
}

.m-hscroll__viewport::-webkit-scrollbar {
  display: none;
}

.m-hscroll__track {
  display: flex;
  align-items: stretch;
  gap: var(--m-card-gap);
  width: max-content;
  padding: 0 max(16px, var(--m-peek));
}

.m-hscroll__track::after {
  content: "";
  flex: 0 0 max(16px, calc(var(--m-peek) - var(--m-card-gap)));
}

.m-hscroll__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 16px 0 0;
  padding-bottom: 2px;
}

.m-hscroll__dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(26, 24, 22, 0.18);
  transition: width 0.25s ease, background 0.25s ease;
}

.m-hscroll__dot.is-active {
  width: 28px;
  background: var(--ink);
}

.m-pricing .m-hscroll__page {
  display: none;
}

.m-hscroll__page {
  margin: 10px 0 0;
  text-align: center;
  font: 600 12px/1.2 var(--font);
  letter-spacing: 0.04em;
  color: var(--muted);
}

.m-features .m-hscroll__page--features {
  display: none;
}

.m-features .m-hscroll__dot {
  background: rgba(255, 255, 255, 0.24);
}

.m-features .m-hscroll__dot.is-active {
  background: #fff;
}

/* Tariffs in carousel */
.m-pricing {
  padding: 0 0 36px;
  background: #fff;
}

.m-pricing-intro {
  padding: 0 0 8px;
  text-align: center;
}

.m-hscroll .tariff-card-slide {
  position: relative;
  flex: 0 0 var(--m-card-w);
  aspect-ratio: 9 / 16;
  border-radius: 24px;
  overflow: hidden;
  background: #eceae6;
  box-shadow: 0 16px 40px rgba(26, 24, 22, 0.1);
  scroll-snap-align: center;
  scroll-snap-stop: always;
  -webkit-scroll-snap-align: center;
  -webkit-scroll-snap-stop: always;
  isolation: isolate;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.m-hscroll .tariff-card-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 62%, rgba(0, 0, 0, 0.16) 100%);
}

.m-hscroll .tariff-card-slide:active,
.m-hscroll .tariff-card-slide:focus-within {
  transform: scale(0.985);
  box-shadow: 0 18px 46px rgba(26, 24, 22, 0.18);
}

.m-hscroll .tariff-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.m-hscroll .tariff-card-fallback {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
  color: #fff;
}

.tariff-card-slide:not(.tariff-card-slide--no-img) .tariff-card-fallback {
  display: none;
}

.m-hscroll .tariff-card-fallback__label,
.m-hscroll .tariff-card-fallback__price {
  margin: 0;
}

.m-hscroll .tariff-card-fallback__price {
  font-size: 1.25rem;
  font-weight: 800;
}

.m-hscroll .tariff-card-buy {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  /* Near-invisible fill: pure transparent often fails hit-testing on iOS Safari. */
  background: rgba(0, 0, 0, 0.001);
  color: transparent;
  cursor: pointer;
  z-index: 4;
  border-radius: inherit;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
}

.m-hscroll .tariff-card-buy:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -8px;
}

.m-hscroll .tariff-card-slide::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 12, 20, 0.08) 40%, rgba(8, 12, 20, 0.28) 100%);
}

.m-hscroll .tariff-card-stickers {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.m-hscroll .tariff-sticker {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  font-size: 22px;
  line-height: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.28));
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 10px 22px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px) saturate(1.6);
  -webkit-backdrop-filter: blur(14px) saturate(1.6);
}

.m-hscroll .tariff-sticker--a {
  top: 12px;
  left: 12px;
  transform: rotate(-8deg);
}

.m-hscroll .tariff-sticker--b {
  top: 18px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  font-size: 18px;
  transform: rotate(9deg);
}

.m-hscroll .tariff-card-slide[data-layout="tr"] .tariff-sticker--a {
  left: auto;
  right: 12px;
}

.m-hscroll .tariff-card-slide[data-layout="tr"] .tariff-sticker--b {
  right: auto;
  left: 12px;
  top: 68px;
}

.m-hscroll .tariff-card-slide[data-layout="mid"] .tariff-sticker--a {
  top: 18%;
  left: 10px;
}

.m-hscroll .tariff-card-slide[data-layout="mid"] .tariff-sticker--b {
  top: 12px;
  right: 10px;
}

.m-hscroll .tariff-card-slide[data-layout="spread"] .tariff-sticker--a {
  top: 12px;
  left: 12px;
}

.m-hscroll .tariff-card-slide[data-layout="spread"] .tariff-sticker--b {
  top: 12px;
  right: 12px;
}

.m-hscroll .tariff-card-sheet {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 13px 13px 12px;
  overflow: hidden;
  border-radius: 20px;
  color: #fff;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.46) 0%, rgba(255, 255, 255, 0.16) 36%, rgba(16, 20, 30, 0.2) 100%);
  border: 1px solid rgba(255, 255, 255, 0.66);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -16px 28px rgba(255, 255, 255, 0.05),
    0 16px 36px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(28px) saturate(1.85);
  -webkit-backdrop-filter: blur(28px) saturate(1.85);
  pointer-events: none;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.28);
}

.m-hscroll .tariff-card-sheet::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
  pointer-events: none;
}

.m-hscroll .tariff-card-kicker,
.m-hscroll .tariff-card-title,
.m-hscroll .tariff-card-price,
.m-hscroll .tariff-card-gift,
.m-hscroll .tariff-card-pay {
  margin: 0;
}

.m-hscroll .tariff-card-kicker {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.m-hscroll .tariff-card-title,
.m-hscroll .tariff-card-pay {
  font-size: 11px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.88);
}

.m-hscroll .tariff-card-gift {
  align-self: flex-start;
  margin-top: 1px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10px;
  line-height: 1.3;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.m-hscroll .tariff-card-pay {
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 650;
}

.m-hscroll .tariff-card-price {
  margin-top: 1px;
  font-size: 30px;
  font-weight: 560;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.m-hscroll .tariff-card-price span {
  margin-left: 2px;
  font-size: 0.62em;
}

/* Legacy horizontal slider */
.tariff-slider__stage {
  position: relative;
}

.tariff-slider__viewport {
  overflow: hidden;
  margin: 0 -16px;
  padding: 0 16px;
}

.tariff-slider__track {
  display: flex;
  gap: 12px;
  will-change: transform;
}

.tariff-card-slide {
  position: relative;
  flex: 0 0 min(78vw, 300px);
  aspect-ratio: 9 / 16;
  border-radius: 20px;
  overflow: hidden;
  background: #ddd;
  box-shadow: var(--shadow);
}

.tariff-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tariff-card-fallback {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
  color: #fff;
}

.tariff-card-fallback__label,
.tariff-card-fallback__price {
  margin: 0;
}

.tariff-card-fallback__price {
  font-size: 1.25rem;
  font-weight: 800;
}

.tariff-card-buy {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: transparent;
  cursor: pointer;
  border-radius: inherit;
  touch-action: manipulation;
}

.tariff-slider__arrow {
  display: none;
}

.tariff-slider__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.tariff-slider__dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: rgba(26, 24, 22, 0.2);
  padding: 0;
}

.tariff-slider__dot.is-active {
  background: var(--ink);
  transform: scale(1.15);
}

/* Features carousel — warm ink, not PayPal blue */
.m-features {
  --m-feature-inset: 16px;
  --m-feature-card-w: min(86vw, 340px);
  --m-feature-gap: 12px;
  --m-feature-peek: max(0px, calc((100vw - var(--m-feature-card-w)) / 2));
  padding: 48px 0 52px;
  background:
    linear-gradient(180deg, #141210 0%, #1a1816 38%, #12100e 100%);
  overflow-x: clip;
}

.m-features .m-eyebrow {
  margin-bottom: 10px;
  text-align: center;
  color: rgba(255, 255, 255, 0.46);
}

.m-features-statement {
  margin: 0 0 20px;
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(1.55rem, 6.4vw, 2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-align: center;
  color: #fff;
}

.m-features-intro {
  padding: 0 0 8px;
}

.m-feature-tabs {
  position: relative;
}

.m-feature-tabs__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: auto;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
}

.m-feature-tabs__viewport.is-scroll-y {
  overflow-x: hidden;
  touch-action: pan-y pinch-zoom;
}

.m-feature-tabs__viewport.is-scroll-x {
  touch-action: pan-x pinch-zoom;
}

.m-feature-tabs__viewport::-webkit-scrollbar {
  display: none;
}

.m-feature-tabs__track {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 8px;
  width: max-content;
  min-width: 100%;
  margin-inline: auto;
  padding: 0 2px 2px;
}

.m-feature-tabs__rail,
.m-feature-tabs__indicator {
  display: none;
}

.m-features .feature-tab {
  position: relative;
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: none;
  text-align: center;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.52);
  cursor: pointer;
  transition:
    background 0.24s ease,
    color 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease;
}

.m-features .feature-tab.is-active {
  border-color: rgba(255, 255, 255, 0.92);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.m-features .m-hscroll {
  --m-card-w: var(--m-feature-card-w);
  --m-card-gap: var(--m-feature-gap);
  --m-peek: var(--m-feature-peek);
  margin-top: 22px;
}

.m-features .m-hscroll__viewport {
  -webkit-scroll-snap-type: x mandatory;
  scroll-snap-type: x mandatory;
}

.m-features .m-hscroll__track {
  padding-inline: var(--m-feature-peek);
  gap: var(--m-feature-gap);
}

.m-features .m-hscroll__track::after {
  flex-basis: max(0px, calc(var(--m-feature-peek) - var(--m-feature-gap)));
}

.m-features .feature-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 0 var(--m-feature-card-w);
  width: var(--m-feature-card-w);
  height: min(600px, 82svh);
  min-height: 520px;
  border-radius: 30px;
  overflow: hidden;
  background: #fff;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  -webkit-scroll-snap-align: center;
  -webkit-scroll-snap-stop: always;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.12),
    0 28px 64px rgba(0, 0, 0, 0.34);
}

.m-features .feature-panel__media {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  min-height: 0;
  padding: 0 14px 14px;
  overflow: hidden;
  background: #0e0c0a;
}

.m-features .feature-panel[data-panel="friends"] .feature-panel__media {
  padding-bottom: 12px;
}

.m-features .feature-panel__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}

.m-touch-view .m-features .feature-panel__photo {
  transition: none;
}

.m-features .feature-panel.is-active .feature-panel__photo {
  transform: none;
}

.m-features .feature-panel__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(10, 8, 6, 0.04) 0%,
    rgba(10, 8, 6, 0.08) 42%,
    rgba(8, 6, 4, 0.34) 100%
  );
}

.m-features .feature-panel__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 104px;
  padding: 15px 18px 18px;
  background: #fff;
  text-align: center;
  pointer-events: auto;
  border-top: 1px solid rgba(26, 24, 22, 0.05);
}

.m-features .feature-panel__headline {
  margin: 0;
  max-width: 15em;
  font-family: var(--font);
  font-size: clamp(14px, 3.8vw, 16px);
  font-weight: 600;
  line-height: 1.34;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.m-features .feature-panel__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  min-width: 148px;
  padding: 10px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: 700 13px/1.1 var(--font);
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(26, 24, 22, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.m-features .feature-panel__cta:active {
  transform: scale(0.98);
}

.feature-tabs {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(4px, 1vh, 10px);
  margin-bottom: 0;
}

.feature-tab {
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  font-family: var(--font);
  font-size: clamp(1.35rem, 6.2vw, 2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-transform: none;
  text-align: left;
  color: rgba(255, 255, 255, 0.28);
  transition: color 0.28s ease;
}

.feature-tab.is-active {
  background: none;
  color: #fff;
  font-weight: 800;
}

/* Cabinet */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.bot-panel {
  max-width: 100%;
}

.auth-grid {
  display: contents;
}

/* Unified auth card */
.m-auth-shell {
  margin-top: 8px;
}

.m-auth-panel {
  padding: 14px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(26, 24, 22, 0.06);
  box-shadow:
    0 20px 48px rgba(26, 24, 22, 0.07),
    0 2px 8px rgba(26, 24, 22, 0.04);
}

.m-auth-toggle {
  display: flex;
  width: 100%;
  margin-bottom: 14px;
  padding: 3px;
  border-radius: 999px;
  background: var(--ink);
  gap: 0;
}

.m-auth-toggle__btn {
  flex: 1 1 0;
  min-width: 0;
  min-height: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font: 700 13px/1.1 var(--font);
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.m-auth-toggle__btn.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.m-auth-panes {
  display: grid;
  align-items: start;
}

.m-auth-panes > .m-auth-form {
  grid-area: 1 / 1;
  width: 100%;
}

.m-auth-panes > .m-auth-form.is-idle {
  visibility: hidden;
  pointer-events: none;
  user-select: none;
}

.m-auth-form {
  display: grid;
  gap: 12px;
}

.m-auth-form__lead {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  text-align: center;
}

.m-auth-form__fields {
  display: grid;
  gap: 10px;
}

.m-auth-field {
  display: grid;
  gap: 5px;
}

.m-auth-field__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.m-auth-field input {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid rgba(26, 24, 22, 0.1);
  border-radius: 14px;
  background: #faf9f7;
  font: inherit;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.m-auth-field input:focus {
  outline: none;
  border-color: rgba(26, 24, 22, 0.22);
  background: #fff;
}


.password-field {
  display: grid;
  align-items: center;
}

.password-field > input {
  grid-area: 1 / 1;
  width: 100%;
  box-sizing: border-box;
  padding-right: 44px;
}

.password-field > input[type="password"]::-ms-reveal,
.password-field > input[type="password"]::-ms-clear {
  display: none;
}

.password-field > input::-webkit-credentials-auto-fill-button,
.password-field > input::-webkit-strong-password-auto-fill-button {
  display: none !important;
  visibility: hidden;
  pointer-events: none;
}

.password-field > .password-toggle {
  grid-area: 1 / 1;
  justify-self: end;
  align-self: center;
  z-index: 1;
  width: 36px;
  height: 36px;
  margin-right: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(26, 24, 22, 0.45);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none;
  font-size: 0;
  line-height: 0;
}

.password-field > .password-toggle:hover,
.password-field > .password-toggle.is-active {
  color: rgba(26, 24, 22, 0.82);
}

.password-field > .password-toggle:focus-visible {
  outline: none;
  color: rgba(26, 24, 22, 0.82);
  box-shadow: 0 0 0 2px rgba(26, 24, 22, 0.12);
}

.password-field > .password-toggle svg {
  display: block;
  width: 18px;
  height: 18px;
  pointer-events: none;
}

input[type="checkbox"],
input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  outline: none;
  box-shadow: none;
}

input[type="checkbox"]:focus,
input[type="checkbox"]:focus-visible,
input[type="checkbox"]:active,
input[type="radio"]:focus,
input[type="radio"]:focus-visible,
input[type="radio"]:active {
  outline: none !important;
  box-shadow: none !important;
}

.m-auth-consent,
.legal-consent {
  position: relative;
  display: block;
  padding-left: 28px;
  cursor: pointer;
}

.m-auth-consent input[type="checkbox"],
.legal-consent input[type="checkbox"] {
  position: absolute;
  top: 2px;
  left: 0;
  z-index: 1;
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  opacity: 0;
  cursor: pointer;
}

.m-auth-consent input[type="checkbox"]:focus,
.m-auth-consent input[type="checkbox"]:focus-visible,
.legal-consent input[type="checkbox"]:focus,
.legal-consent input[type="checkbox"]:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  border: 0 !important;
}

.m-auth-consent > span,
.legal-consent > span {
  display: block;
}

.m-auth-consent > span::before,
.legal-consent > span::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  box-sizing: border-box;
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 4px;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px #1a1816;
  pointer-events: none;
}

.m-auth-consent input[type="checkbox"]:checked + span::before,
.legal-consent input[type="checkbox"]:checked + span::before {
  background-color: #1a1816;
  box-shadow: none;
}

.m-auth-consent > span::after,
.legal-consent > span::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 4px;
  width: 10px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  opacity: 0;
  transform: rotate(-45deg);
  pointer-events: none;
}

.m-auth-consent input[type="checkbox"]:checked + span::after,
.legal-consent input[type="checkbox"]:checked + span::after {
  opacity: 1;
}

.m-auth-consent.legal-consent {
  border: 0;
  padding: 0 0 0 28px;
  background: transparent;
}

.m-auth-consent {
  display: block;
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
  color: var(--muted);
}

.m-auth-consent a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.m-auth-form__submit {
  min-height: 44px;
  margin-top: 2px;
}

.m-auth-form__meta {
  margin: -2px 0 0;
  text-align: center;
}

.auth-link {
  padding: 0;
  border: 0;
  background: none;
  color: rgba(26, 24, 22, 0.58);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.auth-link:hover,
.auth-link:focus-visible {
  color: var(--ink);
}

.m-auth-panel--link {
  margin-top: 8px;
}

.m-auth-panel__head h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
}

.m-auth-panel--link .m-auth-form__lead {
  margin-bottom: 4px;
}

.auth-card {
  padding: 18px;
}

.m-auth-panel--link .link-code-display {
  margin: 0 0 10px;
  font-size: 14px;
  text-align: center;
}

.m-auth-panel--link .muted {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.m-auth-panel--link .button-outline {
  margin-top: 4px;
}

.auth-card__head h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
}

.auth-card__lead {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.auth-card__fields {
  display: grid;
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
}

.field-label {
  font-size: 13px;
  font-weight: 600;
}

.field input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
}

.legal-consent {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

.legal-consent a {
  color: var(--green);
}

.auth-card__footer {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.link-code-display {
  margin: 0 0 12px;
  font-size: 15px;
}

.confirm-form {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}

.account-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  margin-bottom: 14px;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.subscription-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  margin-bottom: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.sub-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0;
}

.tag {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
}

.muted {
  color: var(--muted);
  font-size: 14px;
}

.label {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.notice {
  min-height: 1.25em;
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
}

.sub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.qr-url {
  word-break: break-all;
}

/* Footer — centered mark, even legal grid, pay + copyright on one axis */
.m-footer {
  margin-top: 0;
  padding: 22px 0 calc(16px + var(--safe-bottom));
  background: #12100e;
  color: rgba(255, 255, 255, 0.72);
  border-top: 0;
}

.m-footer__inner,
.m-footer .m-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: max(var(--brand-inset-x), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  text-align: center;
}

.m-footer__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
}

.m-footer-brand {
  flex: 0 0 auto;
  width: var(--brand-mark);
  height: var(--brand-mark);
  min-width: var(--brand-mark);
  margin: 0 auto;
  color: #fff;
}

.m-footer-brand .m-brand-label {
  background: var(--header-tint);
  border-color: var(--header-tint-border);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}

.m-footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-items: center;
  align-items: center;
  gap: 10px 12px;
  width: min(100%, 360px);
  margin: 0 auto;
  font: 400 12px/1.3 var(--font);
  letter-spacing: 0;
  text-transform: none;
}

.m-footer-nav a {
  color: rgba(255, 255, 255, 0.58);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.m-footer-nav a:last-child {
  grid-column: 1 / -1;
}

.m-footer-nav a:active {
  color: rgba(255, 255, 255, 0.92);
}

.m-footer__bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.m-footer__payments {
  display: flex;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 0;
}

.m-footer__payments img {
  display: block;
  width: min(168px, 52vw);
  height: auto;
  margin: 0 auto;
  opacity: 0.92;
  filter: brightness(0) invert(1) contrast(1.08);
}

.m-footer__copy {
  display: block;
  width: 100%;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  white-space: nowrap;
}

/* Cookie banner */
.cookie-banner[hidden],
html.cookie-consent-given .cookie-banner {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

html.cookie-consent-given body.cookie-banner-open::after {
  display: none !important;
  content: none !important;
  height: 0 !important;
}

body.cookie-banner-open::after {
  content: "";
  display: block;
  height: calc(120px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, #141210 0%, #1a1816 100%);
}

body.cookie-banner-open {
  padding-bottom: 0;
}

.cookie-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 120;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  background: rgba(26, 24, 22, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.28);
}

.cookie-banner__panel {
  display: grid;
  gap: 14px;
  width: min(100% - 32px, 640px);
  margin-inline: auto;
}

.cookie-banner__title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.cookie-banner__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

.cookie-banner__text a {
  color: #fff;
  font-weight: 600;
}

.cookie-banner__actions {
  display: grid;
  gap: 8px;
}

.cookie-banner__actions .button-small {
  width: 100%;
  min-height: 42px;
}

/* Dialog */
dialog {
  width: min(92vw, 360px);
  border: 0;
  border-radius: 16px;
  padding: 20px;
}

.dialog-close-form {
  margin: 0;
  padding: 0;
}

.dialog-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 24px;
  line-height: 1;
}

#qr-dialog.qr-dialog {
  position: relative;
  width: min(calc(100vw - 12px), 400px);
  max-height: calc(100vh - 8px);
  max-height: calc(100dvh - 8px);
  padding: 0;
  overflow: hidden;
  overscroll-behavior: contain;
}

.qr-dialog__inner {
  position: relative;
  max-height: calc(100vh - 8px);
  max-height: calc(100dvh - 8px);
  overflow: hidden;
  padding: 40px 12px 10px;
}

#qr-dialog .dialog-close {
  z-index: 5;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #eef0f3;
  color: #1a1a1a;
  pointer-events: auto;
}

.qr-dialog__title {
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 1.25;
}

.qr-dialog__lead {
  display: none;
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--m-muted, #667085);
}

.qr-dialog__marks {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.qr-dialog__marks img {
  height: 20px;
  width: auto;
  object-fit: contain;
}

.qr-dialog__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 8px;
}

.qr-dialog__tab {
  min-height: 36px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  background: #f7f8fa;
  font-size: 13px;
  font-weight: 600;
}

.qr-dialog__tab.is-active {
  background: #111;
  color: #fff;
  border-color: #111;
}

.qr-dialog__qr {
  text-align: center;
  padding: 8px;
  border-radius: 12px;
  background: #f7f8fa;
  margin-bottom: 6px;
}

.qr-dialog__copy {
  min-height: 36px;
  margin-top: 6px;
  width: 100%;
}

#qr-dialog #qr-img {
  display: block;
  width: min(42vw, 130px);
  height: auto;
  aspect-ratio: 1;
  margin: 0 auto;
}

.qr-platform-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 6px;
}

.qr-platform-switch__btn {
  min-height: 34px;
  padding: 5px 8px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 9px;
  background: #f7f8fa;
  color: #333;
  font-size: 12px;
  font-weight: 600;
}

.qr-platform-switch__btn.is-active {
  border-color: rgba(0, 0, 0, 0.18);
  background: #fff;
  color: #111;
  box-shadow: 0 2px 8px rgba(26, 24, 22, 0.07);
}

.qr-dialog__guide [hidden] {
  display: none !important;
}

.qr-guide-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 9px 10px;
  margin-top: 6px;
  background: #fff;
}

.qr-guide-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.qr-guide-card__head strong {
  font-size: 14px;
}

.qr-guide-card__app {
  margin-left: auto;
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.qr-guide-card__badge {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eef0f3;
  color: #555;
}

.qr-guide-steps {
  margin: 6px 0;
  padding-left: 1.15em;
  font-size: 12px;
  line-height: 1.3;
  color: #333;
}

.qr-guide-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.qr-guide-dl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 8px;
  background: #f0f2f5;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  color: inherit;
}

.qr-guide-dl img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* Tablet */
@media (min-width: 768px) {
  .page-wrap {
    width: min(100% - 48px, 720px);
  }

  .m-hero__title {
    transform: none;
  }

  .m-hero__promo {
    transform: none;
  }

  .m-hero__lead {
    margin-top: clamp(14px, 2.2vh, 20px);
    transform: none;
  }

  .m-hero__copy {
    max-width: 440px;
  }

  .m-hero__cta {
    align-items: center;
    max-width: 320px;
  }

  .m-hero {
    min-height: min(100vh, 900px);
    min-height: min(calc(var(--m-vh, 1vh) * 100), 900px);
    min-height: min(100svh, 900px);
  }

  .m-hero__copy {
    max-width: 440px;
  }

  .m-hero__title {
    font-size: clamp(40px, 7vw, 56px);
  }

  .m-hero__title-line--brand {
    font-size: clamp(13px, 2.2vw, 15px);
  }

  .m-hero__lead {
    max-width: 38ch;
    font-size: clamp(16px, 2.3vw, 18px);
  }

  .m-hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .m-hero__actions .button {
    width: auto;
    flex: 1 1 auto;
    min-height: 44px;
    padding: 11px 20px;
    font-size: 14px;
  }

  .m-photo-band {
    min-height: min(72vh, 680px);
    min-height: min(calc(var(--m-vh, 1vh) * 72), 680px);
    min-height: min(72svh, 680px);
  }

  .m-photo-band__frame {
    justify-content: flex-start;
    align-items: stretch;
    padding:
      clamp(96px, 18vh, 148px)
      24px
      clamp(48px, 12vh, 96px);
  }

  .m-edge-pair {
    display: grid;
    grid-template-rows: repeat(2, min-content);
    align-content: start;
    justify-content: center;
    gap: clamp(2px, 0.65vw, 8px);
  }

  .m-edge-word--left {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    align-self: start;
  }

  .m-edge-word--right {
    grid-column: 1;
    grid-row: 2;
    justify-self: end;
    align-self: end;
  }

  .m-edge-scene {
    --edge-travel: min(44vw, 420px);
    --edge-shift-left: min(44vw, var(--edge-travel), 420px);
    --edge-shift-right: min(44vw, var(--edge-travel), 420px);
    --edge-scroll-travel: min(20vh, 176px);
  }

  .m-photo-band__frame {
    padding-top: clamp(96px, 18vh, 148px);
  }

  .m-edge-word {
    font-size: clamp(44px, 9vw, 88px);
  }

  .m-hscroll {
    --m-card-w: min(68vw, 420px);
    --m-card-gap: 16px;
  }

  .m-features {
    --m-feature-card-w: min(68vw, 420px);
    --m-feature-gap: 14px;
  }

  .m-features .feature-panel {
    height: min(640px, 78svh);
    min-height: 520px;
  }

  .m-devices-os {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }

  .m-device-card {
    min-height: 120px;
    padding: 16px 10px 14px;
  }

  .m-auth-shell {
    max-width: 520px;
    margin-inline: auto;
  }

  .m-statement h2,
  .m-pricing-statement h2,
  .m-devices-head h2,
  .m-features-statement {
    font-size: clamp(1.85rem, 4vw, 2.35rem);
  }

  .term-filter {
    width: min(100%, 440px);
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .m-tablet .m-hero__title,
  .m-touch-view .m-hero__title {
    font-size: clamp(44px, 6.5vw, 58px);
  }

  .m-tablet .m-statement h2,
  .m-tablet .m-pricing-statement h2,
  .m-tablet .m-devices-head h2,
  .m-tablet .m-features-statement,
  .m-touch-view .m-statement h2,
  .m-touch-view .m-pricing-statement h2,
  .m-touch-view .m-devices-head h2,
  .m-touch-view .m-features-statement {
    font-size: clamp(2rem, 4.2vw, 2.5rem);
  }

  .m-header__bar {
    padding-inline: 24px;
  }

  .m-pricing-intro,
  .m-features-intro,
  .m-cabinet-head {
    padding-inline: 24px;
  }
}

@media (max-width: 767px) {
  .m-edge-scene {
    --edge-travel: min(48vw, 210px);
    --edge-shift-left: min(48vw, var(--edge-travel), 210px);
    --edge-shift-right: min(48vw, var(--edge-travel), 210px);
    --edge-scroll-travel: clamp(170px, 29vh, 250px);
    --edge-rise: clamp(8px, 1.5vh, 16px);
    --edge-split-rise: clamp(8px, 1.25vh, 14px);
  }

  .m-photo-band {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 100 / 112;
  }

  .m-photo-band img {
    inset: 0;
    width: 100%;
    height: 100%;
    transform: none;
    object-fit: cover;
    object-position: center center;
  }

  #flow.m-photo-band img,
  #cabinet-banner.m-photo-band img,
  .m-edge-lite #flow.m-photo-band img,
  .m-edge-lite #cabinet-banner.m-photo-band img {
    transform: scale3d(1.06, 1.06, 1);
    transform-origin: center center;
  }

  .m-edge-word {
    font-size: clamp(24px, 8.8vw, 38px);
    letter-spacing: -0.045em;
  }

  .m-edge-pair {
    width: 100%;
    padding-inline: clamp(14px, 5vw, 24px);
  }

  .m-photo-band__frame {
    justify-content: flex-start;
    padding:
      clamp(28px, 9vw, 44px)
      max(10px, env(safe-area-inset-right, 0px))
      clamp(24px, 7vw, 42px)
      max(10px, env(safe-area-inset-left, 0px));
  }

  .m-edge-pair {
    align-content: start;
    margin-top: 0;
  }

  #flow.m-photo-band {
    aspect-ratio: 100 / 112;
  }

  #flow.m-photo-band img {
    object-position: center 53%;
  }

  #cabinet-banner.m-photo-band {
    aspect-ratio: 100 / 112;
  }

  #cabinet-banner.m-photo-band img {
    object-position: 64% 47%;
  }
}

@media (max-width: 360px) {
  .m-hero__title {
    font-size: clamp(28px, 8.4vw, 34px);
  }

  .m-hero__title-line--brand {
    font-size: clamp(11px, 3vw, 13px);
  }

  .m-hero__actions .button {
    min-height: 42px;
    padding: 10px 14px;
    font-size: 12px;
  }
}

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

  .m-hscroll__viewport {
    scroll-behavior: auto;
  }

  .m-edge-word {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
}

/* Scroll-linked black seams — desktop only; mobile uses fixed photo edges */
.band-seam-host {
  --band-seam: 0;
  position: relative;
}

html:not(.m-touch-view):not(.m-phone):not(.m-tablet) .band-seam-host--top::before,
html:not(.m-touch-view):not(.m-phone):not(.m-tablet) .band-seam-host--bottom.band-seam-host--into-below::before,
html:not(.m-touch-view):not(.m-phone):not(.m-tablet) .band-seam-host--top.band-seam-host--into-above::before {
  content: "";
  position: absolute;
  z-index: 30;
  left: 0;
  right: 0;
  width: 100%;
  margin: 0;
  height: calc(1px + var(--band-seam, 0) * var(--band-seam-thick));
  background-color: #000;
  opacity: 1;
  pointer-events: none;
}

.band-seam-host--top:not(.band-seam-host--into-above)::before {
  top: 0;
  bottom: auto;
}

.band-seam-host--top.band-seam-host--into-above::before {
  top: auto;
  bottom: 100%;
}

.band-seam-host--bottom.band-seam-host--into-below::before {
  top: 100%;
  bottom: auto;
}

.m-hero.band-seam-host--into-below,
.m-photo-band.band-seam-host--into-above,
.m-photo-band.band-seam-host--top,
.m-photo-band__frame.band-seam-host--into-below,
.m-pricing.band-seam-host--into-above,
.m-devices.band-seam-host--into-above {
  overflow: hidden;
}
