/* =========================================================================
   Photo Studio Bot — Sales Landing
   Aesthetic: "Editorial Darkroom / Warm Studio"
   Warm paper · deep teal ink · terracotta clay accent · contact-sheet motifs
   Self-contained. No remote dependencies at runtime.
   ========================================================================= */

/* ---------- Fonts (self-hosted, Cyrillic + Latin subsets) ---------- */

/* Unbounded — display */
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url("fonts/unbounded-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url("fonts/unbounded-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

/* Spectral — editorial serif body */
@font-face {
  font-family: "Spectral";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/spectral-300-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Spectral";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/spectral-300-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122,
    U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Spectral";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/spectral-400-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Spectral";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/spectral-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122,
    U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Spectral";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/spectral-400i-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Spectral";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/spectral-400i-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122,
    U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Spectral";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/spectral-600-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Spectral";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/spectral-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122,
    U+2212, U+FEFF, U+FFFD;
}

/* JetBrains Mono — technical labels */
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/jbmono-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/jbmono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122,
    U+2212, U+FEFF, U+FFFD;
}

/* ---------- Design tokens ---------- */
:root {
  /* Warm Studio palette (anchored to the real product brand) */
  --paper: #f5f0e7;
  --paper-2: #efe8dc;
  --paper-card: #fcfaf5;
  --ink: #181512;
  --ink-soft: #4b463f;
  --hint: #8a8377;
  --line: #ddd4c4;
  --line-soft: #e7e0d2;

  --teal: #0f7a66;
  --teal-deep: #0a5547;
  --teal-ink: #093b32;
  --teal-tint: #e2f1ed;
  --teal-bright: #16a085;

  --clay: #c2603a;
  --clay-deep: #a84a28;
  --clay-tint: #f7e7dc;
  --clay-bright: #d97043;

  --gold: #c79a3e;

  /* Type */
  --font-display: "Unbounded", "Hoefler Text", Georgia, serif;
  --font-serif: "Spectral", "Hoefler Text", Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", ui-monospace, Menlo, monospace;

  /* Rhythm */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 4px;
  --radius-lg: 10px;

  --shadow-sm: 0 1px 2px rgba(24, 21, 18, 0.06),
    0 6px 18px -10px rgba(24, 21, 18, 0.18);
  --shadow-md: 0 2px 6px rgba(24, 21, 18, 0.07),
    0 24px 48px -28px rgba(24, 21, 18, 0.32);
  --shadow-lg: 0 30px 80px -40px rgba(10, 59, 50, 0.45);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1rem, 0.97rem + 0.18vw, 1.075rem);
  line-height: 1.62;
  color: var(--ink);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

/* Paper grain + warm light wash, painted behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(
      120% 90% at 12% -10%,
      rgba(22, 160, 133, 0.1),
      transparent 55%
    ),
    radial-gradient(
      90% 80% at 100% 0%,
      rgba(194, 96, 58, 0.09),
      transparent 50%
    ),
    radial-gradient(
      120% 120% at 50% 120%,
      rgba(10, 85, 71, 0.07),
      transparent 60%
    );
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.42'/%3E%3C/svg%3E");
}

img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
ul {
  list-style: none;
  padding: 0;
}
:focus-visible {
  outline: 2.5px solid var(--teal);
  outline-offset: 3px;
  border-radius: 2px;
}
::selection {
  background: var(--teal);
  color: #fff;
}

/* Skip link (a11y) */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--teal-ink);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 0.7em 1.1em;
  border-radius: var(--radius);
  transition: top 0.2s var(--ease);
}
.skip-link:focus-visible {
  top: 12px;
}

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  position: relative;
  padding-block: clamp(72px, 10vw, 140px);
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--teal-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}
.eyebrow.is-clay {
  color: var(--clay-deep);
}
.section-head {
  max-width: 64ch;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-size: clamp(2rem, 1.3rem + 3.2vw, 3.5rem);
  margin-top: 0.5em;
  text-wrap: balance;
}
.section-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--clay-deep);
  letter-spacing: 0;
}
.lede {
  font-size: clamp(1.1rem, 1.02rem + 0.5vw, 1.32rem);
  line-height: 1.55;
  color: var(--ink-soft);
  margin-top: 1.1rem;
  max-width: 60ch;
}
.lede--center {
  margin-inline: auto;
  text-align: center;
}
.head--center {
  margin-inline: auto;
  text-align: center;
}
.head--center .eyebrow {
  justify-content: center;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--teal);
  --fg: #fdfcf9;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.95em 1.5em;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--fg);
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--bg) 80%, #000 20%);
  position: relative;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 10px 24px -14px color-mix(in srgb, var(--bg) 70%, #000);
  will-change: transform;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 18px 34px -16px color-mix(in srgb, var(--bg) 65%, #000);
}
.btn:active {
  transform: translateY(0);
}
.btn .arw {
  transition: transform 0.3s var(--ease);
}
.btn:hover .arw {
  transform: translateX(4px);
}
.btn--clay {
  --bg: var(--clay);
}
.btn--ghost {
  --fg: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn--ghost:hover {
  background: var(--paper-card);
  border-color: var(--teal);
  color: var(--teal-deep);
  box-shadow: var(--shadow-sm);
}
.btn--lg {
  padding: 1.1em 1.9em;
  font-size: 0.95rem;
}
.btn--block {
  width: 100%;
  justify-content: center;
}

/* ===================================================================
   HEADER / NAV
   =================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 8px 30px -24px rgba(24, 21, 18, 0.5);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.04rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand .mark {
  flex: none;
}
.brand .mark .ap {
  transition: transform 0.6s var(--ease);
  transform-origin: center;
}
.brand:hover .mark .ap {
  transform: rotate(40deg);
}
.brand b {
  font-weight: 700;
}
.brand .tld {
  color: var(--clay-deep);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2.1rem);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
.nav-links a {
  color: var(--ink-soft);
  position: relative;
  padding-block: 4px;
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1.5px;
  width: 0;
  background: var(--clay);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover {
  color: var(--ink);
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper-card) 70%, transparent);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.8px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6.8px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6.8px) rotate(-45deg);
}

/* mobile dropdown menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.5rem var(--gutter) 1.4rem;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--line-soft);
  box-shadow: 0 18px 30px -24px rgba(24, 21, 18, 0.5);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.mobile-menu.is-open {
  opacity: 1;
  transform: none;
}
.mobile-menu a {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: var(--ink-soft);
  padding: 0.7rem 0.2rem;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu a:last-child {
  border-bottom: none;
}
.mobile-menu a.btn {
  color: var(--fg, #fdfcf9);
  margin-top: 0.7rem;
  border-bottom: none;
}

@media (max-width: 880px) {
  .nav-links,
  /* hide both nav-bar buttons on mobile — the hamburger menu carries the CTA,
     and keeping the solid "Получить демо" button here pushed the toggle off-screen */
  .nav-cta .btn {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .mobile-menu {
    display: flex;
  }
}

/* ===================================================================
   HERO
   =================================================================== */
.hero {
  position: relative;
  padding-top: clamp(48px, 7vw, 88px);
  padding-bottom: clamp(56px, 8vw, 110px);
  overflow: hidden;
}
/* faint grid + framing crop marks behind hero */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: linear-gradient(
      to right,
      color-mix(in srgb, var(--ink) 5%, transparent) 1px,
      transparent 1px
    ),
    linear-gradient(
      to bottom,
      color-mix(in srgb, var(--ink) 5%, transparent) 1px,
      transparent 1px
    );
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(
    120% 85% at 70% 25%,
    #000 30%,
    transparent 78%
  );
  mask-image: radial-gradient(120% 85% at 70% 25%, #000 30%, transparent 78%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-copy {
  max-width: 38rem;
}
.tagband {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5em 0.9em 0.5em 0.55em;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: color-mix(in srgb, var(--paper-card) 75%, transparent);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.tagband .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(15, 122, 102, 0.5);
  animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(15, 122, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(15, 122, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(15, 122, 102, 0);
  }
}
.tagband b {
  color: var(--ink);
  font-weight: 600;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 1.3rem + 5.4vw, 4.85rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-top: 1.4rem;
  text-wrap: balance;
}
.hero h1 .accent {
  color: var(--teal-deep);
}
.hero h1 .swash {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--clay-deep);
}
.hero-sub {
  font-size: clamp(1.1rem, 1.02rem + 0.55vw, 1.34rem);
  line-height: 1.55;
  color: var(--ink-soft);
  margin-top: 1.5rem;
  max-width: 34rem;
}
.hero-sub b {
  color: var(--ink);
  font-weight: 600;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2rem;
  margin-top: 2.4rem;
  padding-top: 1.6rem;
  border-top: 1px dashed var(--line);
}
.hero-meta .stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.hero-meta .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--teal-deep);
  line-height: 1;
}
.hero-meta .lbl {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--hint);
}

/* Hero visual — phone with a live Telegram booking flow */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.crop {
  position: absolute;
  width: 26px;
  height: 26px;
  border: 2px solid var(--clay);
  opacity: 0.65;
  z-index: 5;
}
.crop.tl {
  top: -10px;
  left: 4%;
  border-right: 0;
  border-bottom: 0;
}
.crop.tr {
  top: -10px;
  right: 4%;
  border-left: 0;
  border-bottom: 0;
}
.crop.bl {
  bottom: -10px;
  left: 4%;
  border-right: 0;
  border-top: 0;
}
.crop.br {
  bottom: -10px;
  right: 4%;
  border-left: 0;
  border-top: 0;
}

.phone {
  position: relative;
  width: min(330px, 78vw);
  aspect-ratio: 320 / 660;
  background: linear-gradient(160deg, #1c1916, #0f0d0b);
  border-radius: 42px;
  padding: 11px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 2px 4px rgba(255, 255, 255, 0.12) inset;
  z-index: 3;
  transform: rotate(1.5deg);
  transition: transform 0.6s var(--ease-out);
}
.hero-visual:hover .phone {
  transform: rotate(0deg) translateY(-4px);
}
.phone::after {
  /* notch */
  content: "";
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 22px;
  background: #0f0d0b;
  border-radius: 0 0 14px 14px;
  z-index: 4;
}
.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: #e9e3d7;
  display: flex;
  flex-direction: column;
}
.tg-bar {
  flex: none;
  background: linear-gradient(180deg, #117a66, #0c6151);
  color: #fff;
  padding: 26px 16px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tg-bar .ava {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--clay);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  flex: none;
}
.tg-bar .who {
  line-height: 1.2;
  min-width: 0;
}
.tg-bar .who b {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.82rem;
  display: block;
}
.tg-bar .who span {
  font-size: 0.66rem;
  opacity: 0.82;
  font-family: var(--font-mono);
}
.tg-feed {
  flex: 1;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  overflow: hidden;
  background-image: radial-gradient(
      circle at 20% 10%,
      rgba(15, 122, 102, 0.06),
      transparent 40%
    ),
    radial-gradient(circle at 90% 80%, rgba(194, 96, 58, 0.06), transparent 45%);
}
.bub {
  max-width: 86%;
  padding: 8px 11px;
  border-radius: 14px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  line-height: 1.42;
  opacity: 0;
  transform: translateY(8px);
  animation: bubIn 0.5s var(--ease-out) forwards;
}
.bub.bot {
  align-self: flex-start;
  background: #fff;
  color: #20211f;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.bub.me {
  align-self: flex-end;
  background: #d8f3ea;
  color: #0c4034;
  border-bottom-right-radius: 4px;
}
.bub.bot b {
  color: var(--teal-deep);
}
.bub .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
}
.bub .chip {
  background: var(--teal-tint);
  color: var(--teal-deep);
  border: 1px solid color-mix(in srgb, var(--teal) 25%, transparent);
  border-radius: 7px;
  padding: 4px 7px;
  font-size: 0.62rem;
  font-weight: 600;
}
.bub .chip.on {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.bub.pay {
  background: var(--clay-tint);
  color: var(--clay-deep);
  font-weight: 600;
  border: 1px dashed color-mix(in srgb, var(--clay) 45%, transparent);
}
@keyframes bubIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.tg-input {
  flex: none;
  padding: 9px 12px 12px;
  display: flex;
  gap: 8px;
  align-items: center;
  background: #e9e3d7;
}
.tg-input .field {
  flex: 1;
  height: 30px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #d6cfc1;
  display: flex;
  align-items: center;
  padding-inline: 12px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--hint);
}
.tg-input .send {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--teal);
  display: grid;
  place-items: center;
  flex: none;
}

/* floating receipt card overlapping the phone */
.float-card {
  position: absolute;
  z-index: 6;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 13px 15px;
  font-family: var(--font-mono);
}
.float-card.receipt {
  right: -6px;
  bottom: 8%;
  width: 188px;
  transform: rotate(-3deg);
  animation: floaty 6s ease-in-out infinite;
}
.float-card.badge {
  left: -14px;
  top: 12%;
  transform: rotate(2.5deg);
  animation: floaty 7s ease-in-out infinite reverse;
  padding: 11px 13px;
}
@keyframes floaty {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -9px;
  }
}
.float-card .fc-head {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hint);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.float-card .fc-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  margin-top: 7px;
  color: var(--ink-soft);
}
.float-card .fc-row b {
  color: var(--ink);
}
.float-card .fc-total {
  margin-top: 9px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.float-card .fc-total .amt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--teal-deep);
}
.float-card.badge .fc-icon {
  color: var(--teal);
  margin-bottom: 4px;
}
.float-card.badge b {
  font-size: 0.74rem;
  color: var(--ink);
  display: block;
}
.float-card.badge span {
  font-size: 0.62rem;
  color: var(--hint);
}
.paid-stamp {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--teal);
  font-weight: 700;
}

/* trusted-by strip */
.trust-strip {
  position: relative;
  z-index: 2;
  margin-top: clamp(48px, 6vw, 76px);
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.8rem;
}
.trust-strip .t-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hint);
}
.trust-strip .t-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
}
.trust-strip .t-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.trust-strip .t-item svg {
  color: var(--teal);
  flex: none;
}

/* ===================================================================
   PROBLEM
   =================================================================== */
.problem {
  background: var(--ink);
  color: #efe9df;
  position: relative;
  isolation: isolate;
}
.problem::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.5;
  mix-blend-mode: screen;
  background: radial-gradient(
      90% 70% at 8% 0%,
      rgba(22, 160, 133, 0.18),
      transparent 55%
    ),
    radial-gradient(80% 80% at 100% 100%, rgba(194, 96, 58, 0.16), transparent 55%);
}
.problem .eyebrow {
  color: var(--clay-bright);
}
.problem .section-title {
  color: #fdfaf4;
}
.problem .section-title em {
  color: var(--clay-bright);
}
.problem .lede {
  color: #cabfb0;
}
.leak-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  margin-top: clamp(36px, 5vw, 56px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.leak {
  background: #1d1a16;
  padding: 28px 26px 30px;
  position: relative;
  transition: background 0.4s var(--ease);
}
.leak:hover {
  background: #232019;
}
.leak .lk-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--clay-bright);
  letter-spacing: 0.1em;
}
.leak h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.22rem;
  margin-top: 1.1rem;
  color: #fdfaf4;
  letter-spacing: -0.01em;
}
.leak p {
  margin-top: 0.6rem;
  font-size: 0.97rem;
  color: #b6ab9c;
  line-height: 1.55;
}
.leak .lk-line {
  margin-top: 1.2rem;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(
    90deg,
    var(--clay) var(--w, 60%),
    rgba(255, 255, 255, 0.08) var(--w, 60%)
  );
}
.problem-note {
  margin-top: clamp(36px, 5vw, 52px);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius-lg);
  background: rgba(22, 160, 133, 0.1);
  border: 1px solid rgba(22, 160, 133, 0.25);
}
.problem-note svg {
  flex: none;
  color: var(--teal-bright);
  margin-top: 2px;
}
.problem-note p {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  color: #e7ddcf;
}
.problem-note b {
  color: #fff;
  font-weight: 600;
}

/* ===================================================================
   SOLUTION — split frame
   =================================================================== */
.solution {
  position: relative;
}
.sol-inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.sol-copy .pillars {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.pillar {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.pillar:hover {
  border-color: var(--line);
  background: var(--paper-card);
  transform: translateX(4px);
}
.pillar .p-ico {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--teal-tint);
  color: var(--teal-deep);
  border: 1px solid color-mix(in srgb, var(--teal) 20%, transparent);
}
.pillar:nth-child(even) .p-ico {
  background: var(--clay-tint);
  color: var(--clay-deep);
  border-color: color-mix(in srgb, var(--clay) 22%, transparent);
}
.pillar h3 {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.pillar p {
  margin-top: 0.25rem;
  font-size: 0.98rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* admin panel mock */
.admin-mock {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--paper-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.6s var(--ease-out);
}
.solution:hover .admin-mock {
  transform: perspective(1400px) rotateY(-2deg) rotateX(1deg);
}
.am-top {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--paper-2);
}
.am-top .dots {
  display: flex;
  gap: 6px;
}
.am-top .dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}
.am-top .dots i:first-child {
  background: var(--clay);
}
.am-top .dots i:nth-child(2) {
  background: var(--gold);
}
.am-top .dots i:nth-child(3) {
  background: var(--teal);
}
.am-top .url {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--hint);
  display: flex;
  align-items: center;
  gap: 5px;
}
.am-body {
  display: grid;
  grid-template-columns: 96px 1fr;
  min-height: 320px;
}
.am-side {
  border-right: 1px solid var(--line-soft);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: linear-gradient(180deg, var(--paper-card), var(--paper-2));
}
.am-side .si {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--ink-soft);
  padding: 6px 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.am-side .si.on {
  background: var(--teal);
  color: #fff;
}
.am-side .si .sd {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.6;
}
.am-main {
  padding: 16px 18px;
}
.am-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.am-h b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}
.am-h .pill {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-deep);
  background: var(--teal-tint);
  padding: 3px 8px;
  border-radius: 100px;
}
.am-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.am-card {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 11px 12px;
  background: var(--paper);
}
.am-card .ac-t {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--hint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.am-card .ac-v {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin-top: 4px;
  color: var(--ink);
}
.am-card .ac-v.teal {
  color: var(--teal-deep);
}
.am-card .ac-bar {
  margin-top: 8px;
  height: 5px;
  border-radius: 5px;
  background: var(--line);
  overflow: hidden;
}
.am-card .ac-bar i {
  display: block;
  height: 100%;
  background: var(--teal);
  border-radius: 5px;
}
.am-timeline {
  margin-top: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 11px 12px;
  background: var(--paper);
}
.am-timeline .tl-h {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--hint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.am-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.am-row .rl {
  width: 52px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--hint);
  flex: none;
}
.am-row .rb {
  height: 18px;
  border-radius: 4px;
  flex: none;
}
.am-row .rb.teal {
  background: linear-gradient(90deg, var(--teal), var(--teal-bright));
}
.am-row .rb.clay {
  background: linear-gradient(90deg, var(--clay), var(--clay-bright));
}
.am-row .rb.ghost {
  background: var(--line);
}

/* ===================================================================
   FEATURES — contact sheet
   =================================================================== */
.features {
  background: linear-gradient(180deg, var(--paper), var(--paper-2));
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.feat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(14px, 1.6vw, 20px);
}
.fcard {
  position: relative;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px 28px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
  grid-column: span 2;
}
.fcard::after {
  /* contact-sheet frame number, corner */
  content: attr(data-frame);
  position: absolute;
  top: 12px;
  right: 14px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--hint);
  opacity: 0.7;
}
.fcard.wide {
  grid-column: span 3;
}
.fcard.tall {
  grid-row: span 2;
}
.fcard:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--teal) 35%, var(--line));
}
.fcard .f-ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--teal);
  color: #fff;
  box-shadow: 0 8px 18px -10px var(--teal-deep);
  margin-bottom: 1.1rem;
}
.fcard.clay .f-ico {
  background: var(--clay);
  box-shadow: 0 8px 18px -10px var(--clay-deep);
}
.fcard.ink .f-ico {
  background: var(--ink);
}
.fcard h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.fcard p {
  margin-top: 0.6rem;
  color: var(--ink-soft);
  font-size: 0.99rem;
  line-height: 1.55;
  max-width: 46ch;
}
.fcard .f-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 1.1rem;
}
.fcard .f-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--teal-deep);
  background: var(--teal-tint);
  border: 1px solid color-mix(in srgb, var(--teal) 18%, transparent);
  padding: 4px 9px;
  border-radius: 100px;
}
.fcard.clay .f-tag {
  color: var(--clay-deep);
  background: var(--clay-tint);
  border-color: color-mix(in srgb, var(--clay) 20%, transparent);
}
/* mini visual inside the tall white-label card */
.swatches {
  display: flex;
  gap: 8px;
  margin-top: 1.3rem;
}
.swatches .sw {
  flex: 1;
  height: 46px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}
.swatches .sw span {
  position: absolute;
  left: 6px;
  bottom: 5px;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.promo-strip {
  margin-top: 1.2rem;
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  background: var(--paper);
}
.promo-strip .code {
  color: var(--clay-deep);
  font-weight: 700;
  letter-spacing: 0.08em;
}
.promo-strip .off {
  background: var(--clay);
  color: #fff;
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 0.68rem;
}

/* ===================================================================
   HOW IT WORKS
   =================================================================== */
.how {
  position: relative;
}
.steps {
  margin-top: clamp(36px, 5vw, 56px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 26px);
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 2.4rem;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.6rem;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--teal);
  display: block;
  line-height: 0.8;
}
.step:nth-child(2)::before {
  -webkit-text-stroke-color: var(--clay);
}
.step .s-line {
  position: absolute;
  top: 2.4rem;
  left: 3.6rem;
  right: -1.3rem;
  height: 1.5px;
  background: repeating-linear-gradient(
    90deg,
    var(--line) 0 6px,
    transparent 6px 12px
  );
}
.step:last-child .s-line {
  display: none;
}
.step h3 {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1rem;
  margin-top: 1.4rem;
  letter-spacing: 0.01em;
}
.step p {
  margin-top: 0.5rem;
  color: var(--ink-soft);
  font-size: 0.97rem;
  line-height: 1.55;
}
.step .s-tag {
  display: inline-block;
  margin-top: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--teal-deep);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 3px 10px;
}
.install-cmd {
  margin-top: clamp(40px, 5vw, 56px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  background: var(--ink);
  color: #e9e3d7;
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.6rem;
  box-shadow: var(--shadow-md);
}
.install-cmd .ic-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}
.install-cmd .ic-ico {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: rgba(22, 160, 133, 0.18);
  color: var(--teal-bright);
  display: grid;
  place-items: center;
}
.install-cmd code {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: #f3ece0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.install-cmd code .pr {
  color: var(--teal-bright);
  user-select: none;
}
.install-cmd .ic-note {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #a99e8e;
}
.copy-btn {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: #e9e3d7;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 0.6em 1em;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
  flex: none;
}
.copy-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--teal-bright);
}
.copy-btn.copied {
  color: var(--teal-bright);
  border-color: var(--teal-bright);
}

/* ===================================================================
   EDITIONS / PRICING
   =================================================================== */
.editions {
  background: var(--paper-2);
  border-top: 1px solid var(--line-soft);
}
.ed-grid {
  margin-top: clamp(36px, 5vw, 54px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2.4vw, 30px);
  align-items: stretch;
}
.edition {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px 32px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.edition:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.edition.featured {
  border-color: var(--teal);
  box-shadow: 0 0 0 1px var(--teal), var(--shadow-md);
  background: linear-gradient(180deg, var(--paper-card), #fbfdfc);
}
.edition.featured::before {
  content: "Рекомендуем";
  position: absolute;
  top: -1px;
  right: 22px;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--teal);
  padding: 5px 12px;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
}
.ed-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hint);
}
.ed-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
  margin-top: 0.5rem;
}
.edition.featured .ed-name {
  color: var(--teal-deep);
}
.ed-desc {
  margin-top: 0.7rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.5;
}
.ed-price {
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  border-top: 1px dashed var(--line);
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}
.ed-price .from {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--hint);
}
.ed-price .amt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.ed-price .per {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ink-soft);
}
.ed-feats {
  margin-top: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}
.ed-feats li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.97rem;
  color: var(--ink-soft);
}
.ed-feats li svg {
  flex: none;
  margin-top: 3px;
  color: var(--teal);
}
.ed-feats li.muted {
  color: var(--hint);
}
.ed-feats li.muted svg {
  color: var(--hint);
}
.ed-feats li b {
  color: var(--ink);
  font-weight: 600;
}
.edition .btn {
  margin-top: 1.8rem;
}
.ed-foot {
  margin-top: clamp(28px, 4vw, 40px);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--hint);
}
.ed-foot b {
  color: var(--ink-soft);
}

/* ===================================================================
   TRUST
   =================================================================== */
.trust {
  position: relative;
}
.trust-grid {
  margin-top: clamp(36px, 5vw, 54px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.tcard {
  padding: 24px 22px 26px;
  border-radius: var(--radius-lg);
  background: var(--paper-card);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.tcard:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--teal) 30%, var(--line));
}
.tcard .tc-ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--teal-tint);
  color: var(--teal-deep);
  margin-bottom: 1rem;
}
.tcard h3 {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.95rem;
}
.tcard p {
  margin-top: 0.55rem;
  font-size: 0.96rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.tcard .tc-meta {
  margin-top: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--teal-deep);
  letter-spacing: 0.03em;
}
.host-note {
  margin-top: clamp(28px, 4vw, 40px);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem;
  align-items: center;
  padding: 1.5rem 1.7rem;
  border-radius: var(--radius-lg);
  background: var(--teal-tint);
  border: 1px solid color-mix(in srgb, var(--teal) 22%, transparent);
}
.host-note .hn-ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--teal);
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
}
.host-note h3 {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--teal-ink);
}
.host-note p {
  margin-top: 0.35rem;
  font-size: 0.98rem;
  color: var(--teal-ink);
  opacity: 0.9;
  line-height: 1.5;
}
.host-note b {
  font-weight: 600;
}

/* ===================================================================
   FAQ
   =================================================================== */
.faq {
  background: linear-gradient(180deg, var(--paper-2), var(--paper));
  border-top: 1px solid var(--line-soft);
}
.faq-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.faq-list {
  border-top: 1px solid var(--line);
}
.qa {
  border-bottom: 1px solid var(--line);
}
.qa summary {
  list-style: none;
  cursor: pointer;
  padding: 1.3rem 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--ink);
  transition: color 0.2s var(--ease);
}
.qa summary::-webkit-details-marker {
  display: none;
}
.qa summary:hover {
  color: var(--teal-deep);
}
.qa .qa-mark {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  position: relative;
  margin-top: 2px;
  transition: transform 0.35s var(--ease), border-color 0.3s var(--ease),
    background 0.3s var(--ease);
}
.qa .qa-mark::before,
.qa .qa-mark::after {
  content: "";
  position: absolute;
  background: var(--teal-deep);
  border-radius: 2px;
}
.qa .qa-mark::before {
  width: 11px;
  height: 1.6px;
}
.qa .qa-mark::after {
  width: 1.6px;
  height: 11px;
  transition: transform 0.35s var(--ease);
}
.qa[open] .qa-mark {
  background: var(--teal);
  border-color: var(--teal);
  transform: rotate(180deg);
}
.qa[open] .qa-mark::before,
.qa[open] .qa-mark::after {
  background: #fff;
}
.qa[open] .qa-mark::after {
  transform: scaleY(0);
}
.qa .qa-body {
  overflow: hidden;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}
.qa[open] .qa-body {
  grid-template-rows: 1fr;
}
.qa .qa-body > div {
  min-height: 0;
}
.qa .qa-body p {
  padding-bottom: 1.4rem;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 62ch;
}
.qa .qa-body p b {
  color: var(--ink);
  font-weight: 600;
}
.faq-aside {
  position: sticky;
  top: 100px;
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
}
.faq-aside .fa-q {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.faq-aside p {
  margin-top: 0.7rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.faq-aside .btn {
  margin-top: 1.3rem;
}

/* ===================================================================
   FINAL CTA
   =================================================================== */
.cta {
  position: relative;
  background: var(--teal-ink);
  color: #eafaf5;
  isolation: isolate;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
      70% 90% at 15% 0%,
      rgba(22, 160, 133, 0.35),
      transparent 55%
    ),
    radial-gradient(60% 80% at 100% 100%, rgba(194, 96, 58, 0.3), transparent 55%);
}
.cta::after {
  /* faint aperture motif */
  content: "";
  position: absolute;
  right: -120px;
  top: 50%;
  translate: 0 -50%;
  width: 460px;
  height: 460px;
  z-index: -1;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(255, 255, 255, 0.06) 0 30deg,
    transparent 30deg 60deg,
    rgba(255, 255, 255, 0.06) 60deg 90deg,
    transparent 90deg 120deg,
    rgba(255, 255, 255, 0.06) 120deg 150deg,
    transparent 150deg 180deg,
    rgba(255, 255, 255, 0.06) 180deg 210deg,
    transparent 210deg 240deg,
    rgba(255, 255, 255, 0.06) 240deg 270deg,
    transparent 270deg 300deg,
    rgba(255, 255, 255, 0.06) 300deg 330deg,
    transparent 330deg 360deg
  );
  -webkit-mask: radial-gradient(closest-side, transparent 38%, #000 39%, #000 70%, transparent 72%);
  mask: radial-gradient(closest-side, transparent 38%, #000 39%, #000 70%, transparent 72%);
  opacity: 0.7;
  animation: spin 60s linear infinite;
}
@keyframes spin {
  to {
    rotate: 360deg;
  }
}
.cta-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.cta .eyebrow {
  color: var(--clay-bright);
}
.cta h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 1.2rem + 3.6vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-top: 0.7rem;
  color: #fff;
  text-wrap: balance;
}
.cta h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--clay-bright);
  letter-spacing: 0;
}
.cta-sub {
  margin-top: 1.2rem;
  font-size: 1.12rem;
  color: #c4e7de;
  max-width: 44ch;
  line-height: 1.55;
}
.cta-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.cta .btn--ghost {
  --fg: #eafaf5;
  border-color: rgba(255, 255, 255, 0.25);
}
.cta .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
  color: #fff;
}

/* contact card / lead form */
.contact-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 1.7rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.contact-card .cc-h {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clay-bright);
}
.contact-card .cc-handle {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.9rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.contact-card .cc-handle svg {
  color: var(--teal-bright);
  flex: none;
}
.contact-card .cc-handle .h-name {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.02rem;
  color: #fff;
}
.contact-card .cc-handle .h-sub {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: #9fc6bc;
}
.field-row {
  margin-top: 0.9rem;
}
.field-row label,
.field-row .cselect-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #9fc6bc;
  margin-bottom: 0.4rem;
}
.field-row input {
  width: 100%;
  font-family: var(--font-serif);
  font-size: 0.98rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 0.7em 0.85em;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.field-row input::placeholder {
  color: #7fa79d;
}
.field-row input:focus {
  outline: none;
  border-color: var(--teal-bright);
  background: rgba(0, 0, 0, 0.32);
}

/* ---------- Custom on-brand dropdown (replaces native <select>) ---------- */
.cselect {
  position: relative;
}
.cselect-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6em;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 0.98rem;
  line-height: 1.3;
  color: #fff;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 0.7em 0.85em;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.cselect-trigger:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.3);
}
.cselect-trigger:focus-visible {
  outline: none;
  border-color: var(--teal-bright);
  background: rgba(0, 0, 0, 0.32);
  box-shadow: 0 0 0 3px rgba(22, 160, 133, 0.28);
}
.cselect.is-open .cselect-trigger {
  border-color: var(--teal-bright);
  background: rgba(0, 0, 0, 0.32);
}
.cselect-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cselect-chevron {
  flex: none;
  color: #9fc6bc;
  transition: transform 0.28s var(--ease), color 0.2s var(--ease);
}
.cselect.is-open .cselect-chevron {
  transform: rotate(180deg);
  color: var(--teal-bright);
}

/* popover list — warm-tinted teal surface, on-brand (never the dark OS list) */
.cselect-list {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 5px;
  list-style: none;
  background: #0b463b;
  border: 1px solid color-mix(in srgb, var(--teal-bright) 38%, transparent);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 18px 40px -18px rgba(0, 0, 0, 0.7);
  transform-origin: top center;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
}
.cselect-list[hidden] {
  display: none;
}
.cselect-list.is-animating-in {
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
}
.cselect-option {
  font-family: var(--font-serif);
  font-size: 0.97rem;
  color: #d7ebe5;
  padding: 0.6em 0.7em;
  border-radius: 3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6em;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.cselect-option:hover,
.cselect-option.is-active {
  background: rgba(22, 160, 133, 0.16);
  color: #fff;
}
.cselect-option.is-selected {
  color: #fff;
}
.cselect-option.is-selected::after {
  content: "";
  flex: none;
  width: 15px;
  height: 15px;
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath d='M3 8.5 6.5 12 13 4.5' stroke='%2316a085' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.cselect-option.is-selected.is-active::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath d='M3 8.5 6.5 12 13 4.5' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
@media (prefers-reduced-motion: reduce) {
  .cselect-chevron,
  .cselect-list {
    transition: none;
  }
}
.contact-card .form-note {
  margin-top: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: #84aaa0;
  line-height: 1.5;
}
.form-status {
  margin-top: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--teal-bright);
  min-height: 1.1em;
}

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer {
  background: var(--ink);
  color: #cabfb0;
  padding-block: clamp(48px, 6vw, 72px) 2rem;
}
.foot-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.foot-brand .brand {
  color: #fbf7f1;
}
.foot-brand .tld {
  color: var(--clay-bright);
}
.foot-brand p {
  margin-top: 1rem;
  font-size: 0.95rem;
  max-width: 34ch;
  line-height: 1.6;
  color: #a99e8e;
}
.foot-col h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a8175;
  margin-bottom: 1rem;
}
.foot-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.foot-col a {
  font-size: 0.95rem;
  color: #cabfb0;
  transition: color 0.2s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.foot-col a:hover {
  color: var(--teal-bright);
}
.foot-bottom {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: #8a8175;
}
.foot-bottom .placeholder-flag {
  color: var(--clay-bright);
}

/* ===================================================================
   SCROLL REVEAL
   =================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
[data-reveal].in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .tagband .dot,
  .float-card,
  .cta::after {
    animation: none !important;
  }
  .bub {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 1080px) {
  .feat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .fcard,
  .fcard.wide {
    grid-column: span 2;
  }
  .fcard.tall {
    grid-row: auto;
  }
}
@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-copy {
    max-width: none;
  }
  .hero-visual {
    order: -1;
  }
  .sol-inner,
  .cta-inner,
  .faq-inner {
    grid-template-columns: 1fr;
  }
  .admin-mock {
    transform: none;
  }
  .solution:hover .admin-mock {
    transform: none;
  }
  .faq-aside {
    position: static;
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .step .s-line {
    display: none;
  }
}
@media (max-width: 680px) {
  .feat-grid {
    grid-template-columns: 1fr;
  }
  .fcard,
  .fcard.wide {
    grid-column: span 1;
  }
  .ed-grid {
    grid-template-columns: 1fr;
  }
  .leak-grid {
    grid-template-columns: 1fr;
  }
  .foot-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .install-cmd {
    flex-direction: column;
    align-items: stretch;
  }
  .install-cmd code {
    font-size: 0.8rem;
  }
  .hero-meta {
    gap: 1.2rem 1.6rem;
  }
}
@media (max-width: 440px) {
  .steps {
    grid-template-columns: 1fr;
  }
  .float-card.receipt {
    right: -4px;
    width: 168px;
  }
}
