:root {
  --bg: #ebebeb;
  --bg-soft: #f5f5f2;
  --surface: #ffffff;
  --surface-strong: #fbfbfb;
  --text: #0a0a0a;
  --muted: #555555;
  --line: rgba(10, 10, 10, 0.08);
  --accent: #ff6432;
  --accent-dark: #0a0a0a;
  --radius-page: 40px;
  --radius-card: 32px;
  --radius-pill: 999px;
  --shadow-soft: 0 24px 70px rgba(21, 21, 21, 0.08);
  --container: 1280px;
  --space-xs: 12px;
  --space-sm: 20px;
  --space-md: 32px;
  --space-lg: 48px;
  --space-xl: 80px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #dcdcdc;
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
}

body.is-modal-open {
  overflow: hidden;
}

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

button,
a {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(255, 100, 50, 0.45);
  outline-offset: 4px;
}

.page-shell {
  width: min(100% - 16px, 1440px);
  margin: 0 auto;
  background:
    radial-gradient(circle at 68% 11%, rgba(255, 255, 255, 0.95), transparent 24%),
    radial-gradient(circle at 20% 4%, rgba(255, 255, 255, 0.55), transparent 22%),
    var(--bg);
  border-radius: var(--radius-page);
  overflow: clip;
}

.container {
  width: min(100% - 80px, var(--container));
  margin: 0 auto;
}

.section {
  padding: 0 0 32px;
}

.section-hidden {
  display: none;
}

#problem-solution {
  position: relative;
  z-index: 2;
}

.surface-card,
.surface-panel {
  background: var(--surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}

.site-header {
  padding: 20px 0 32px;
}

.header-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 88px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.brand-text {
  display: grid;
  font-size: 18px;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.brand-text strong {
  font-weight: 800;
}

.brand-text span {
  font-weight: 500;
}

.site-nav {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 14px 32px;
  min-height: 52px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
}

.site-nav a {
  font-size: 16px;
  font-weight: 600;
  transition: color 180ms ease;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 154px;
  min-height: 48px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

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

.button-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 18px 36px rgba(255, 100, 50, 0.25);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  align-items: end;
  gap: 8px;
  min-height: 680px;
  padding-top: 48px;
}

.hero-copy {
  padding: 120px 0 80px;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.hero-copy h1,
.info-card h2,
.section-heading h2,
.audience-copy h2,
.channel-card h2,
.cta-panel h2,
.faq-intro h2 {
  margin: 0;
  letter-spacing: -0.06em;
}

.hero-copy h1 {
  max-width: 640px;
  font-size: clamp(48px, 6vw, 74px);
  line-height: 0.98;
}

.lead {
  max-width: 560px;
  margin: 30px 0 38px;
  color: #262626;
  font-size: 18px;
  line-height: 1.5;
}

.hero-visual {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: end;
  justify-content: flex-end;
  overflow: visible;
}

.hero-visual-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
}

.hero-visual-glow-left {
  inset: 8% auto auto 3%;
  width: 280px;
  height: 280px;
  background: rgba(255, 255, 255, 0.72);
}

.hero-visual-glow-right {
  right: 6%;
  top: 16%;
  width: 360px;
  height: 360px;
  background: rgba(255, 255, 255, 0.78);
}

.hero-phone {
  position: absolute;
  z-index: 1;
  top: calc(50% + 30px);
  right: -20px;
  width: min(576px, 100%);
  height: auto;
  max-width: none;
  transform: translateY(-50%);
}

.cards-grid {
  display: grid;
  gap: 18px;
}

.cards-grid-split,
.audience-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.audience-grid {
  width: min(100% - 64px, 1360px);
  display: grid;
  gap: 4px;
}

.info-card {
  padding: 50px 52px;
}

.section-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0 0 26px;
  padding: 0 12px;
  border: 1.5px solid var(--text);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.info-card h2,
.section-heading h2,
.audience-copy h2,
.channel-card h2,
.cta-panel h2,
.faq-intro h2 {
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1;
}

.info-card p,
.audience-copy p,
.channel-card p,
.cta-panel p,
.faq-content p,
.step-card p,
.qr-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.steps-panel {
  width: min(100vw - 80px, 1360px);
  margin-left: 50%;
  padding: 52px;
  border-radius: 40px;
  transform: translateX(-50%);
}

.section-heading {
  text-align: center;
}

.section-heading h2 {
  margin: 0 0 40px;
  font-size: 52px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
}

.step-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 40px;
  border-radius: 24px;
  background: linear-gradient(180deg, #f5f5f5 0%, #ededed 100%);
  height: 550px;
  min-height: 550px;
}

.step-card h3 {
  margin: 0 0 12px;
  text-align: center;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.step-card p {
  max-width: 300px;
  margin: 0 auto;
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
}

.device-frame {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 320px;
  width: 100%;
}

.device-frame img {
  width: 100%;
  max-width: 380px;
  height: auto;
}

.device-frame-list {
  margin-top: 0;
}

.device-frame-visit {
  margin-top: 0;
}

.visit-modal {
  display: none;
}

.visit-modal strong {
  display: block;
  margin-bottom: 16px;
  font-size: 15px;
}

.visit-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.visit-actions button {
  min-height: 42px;
  border-radius: 999px;
  background: #efefef;
  font-size: 14px;
  font-weight: 800;
}

.visit-actions .visit-yes {
  background: #ffcb19;
}

.audience-copy {
  min-height: 678px;
  padding: 52px;
  border-radius: 40px;
}

.audience-copy h2 {
  margin-bottom: 20px;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.audience-copy p {
  margin: 0;
  font-size: 16px;
}

.feature-list {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.feature-list li {
  position: relative;
  padding: 18px 0 18px 28px;
  border-bottom: 1px solid var(--line);
  font-size: 20px;
  font-weight: 700;
}

.feature-list li + li {
  margin-top: 0;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 18px;
  font-size: 16px;
}

.audience-photo-card {
  position: relative;
  overflow: hidden;
  min-height: 678px;
  border-radius: 40px;
}

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

.ruble-badge {
  display: none;
  position: absolute;
  left: 50%;
  bottom: 38px;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  margin-left: -56px;
  border: 5px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  color: #fff;
  font-size: 76px;
  line-height: 1;
}

.channel-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  align-items: stretch;
  min-height: 560px;
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius-card);
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 255, 255, 0.8), transparent 16%),
    linear-gradient(135deg, #d7d7d7 10%, #c9c9c9 46%, #8f8f8f 100%);
}

.channel-scene {
  display: flex;
  align-items: end;
  justify-content: flex-start;
  overflow: hidden;
}

.channel-scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.channel-card {
  align-self: center;
  margin: 44px;
  padding: 38px;
}

.channel-qr {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 34px;
}

.qr-tile {
  flex: 0 0 138px;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 20px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(10, 10, 10, 0.08);
}

.qr-tile img {
  width: 112px;
  height: 112px;
}

.qr-copy {
  flex: 1;
}

.qr-copy p {
  margin: 0 0 16px;
}

.qr-arrow {
  display: inline-block;
  color: var(--accent);
  font-size: 44px;
  line-height: 1;
}

.cta-panel {
  padding: 96px 32px;
  text-align: center;
}

.cta-panel p {
  width: min(760px, 100%);
  margin: 26px auto 34px;
}

.faq-section {
  padding-bottom: 18px;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.48fr) minmax(0, 0.52fr);
  gap: 28px;
  align-items: start;
}

.faq-intro {
  padding: 32px 0 0 12px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 24px;
  text-align: left;
}

.faq-icon {
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
}

.faq-item.is-open .faq-icon {
  background: var(--accent);
  color: #fff;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  transition:
    max-height 220ms ease,
    padding-bottom 220ms ease;
}

.faq-item.is-open .faq-content {
  max-height: 200px;
  padding-bottom: 24px;
}

.faq-content p {
  margin: 0;
}

.site-footer {
  padding: 24px 0 28px;
}

.footer-bar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 20px;
  align-items: center;
}

.footer-bar p,
.footer-bar a {
  font-size: 14px;
  color: #1d1d1d;
}

.brand-footer {
  justify-self: end;
}

.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.lead-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lead-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.48);
  backdrop-filter: blur(10px);
}

.lead-modal__dialog {
  position: relative;
  width: min(100%, 520px);
  max-height: min(760px, calc(100vh - 48px));
  overflow-y: auto;
  padding: 38px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 85% 8%, rgba(255, 100, 50, 0.12), transparent 28%),
    #fff;
  box-shadow: 0 28px 90px rgba(10, 10, 10, 0.24);
  transform: translateY(16px) scale(0.98);
  transition: transform 180ms ease;
}

.lead-modal.is-open .lead-modal__dialog {
  transform: translateY(0) scale(1);
}

.lead-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f1f1f1;
  color: var(--text);
  font-size: 28px;
  line-height: 1;
}

.lead-modal__eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lead-modal h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 46px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.lead-modal__copy {
  margin: 18px 0 28px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.lead-form {
  display: grid;
  gap: 16px;
}

.lead-field {
  display: grid;
  gap: 8px;
}

.lead-field label {
  font-size: 14px;
  font-weight: 800;
}

.lead-field input {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid rgba(10, 10, 10, 0.12);
  border-radius: 18px;
  background: #f7f7f7;
  color: var(--text);
  font: inherit;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.lead-field input:focus {
  border-color: rgba(255, 100, 50, 0.7);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 100, 50, 0.12);
  outline: 0;
}

.lead-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.lead-consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--accent);
}

.lead-consent a {
  color: var(--text);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.lead-form__message {
  min-height: 20px;
  margin: 0;
  color: #b42318;
  font-size: 14px;
  line-height: 1.4;
}

.lead-submit {
  width: 100%;
  margin-top: 2px;
}

.lead-submit[disabled] {
  cursor: progress;
  opacity: 0.72;
  transform: none;
}

.lead-modal__success {
  text-align: center;
}

.lead-modal__success .button {
  margin-top: 4px;
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-copy {
    padding-top: 80px;
    padding-bottom: 0;
  }

  .hero-visual {
    min-height: 560px;
    justify-content: center;
  }

  .hero-phone {
    position: relative;
    top: auto;
    left: 50%;
    right: auto;
    width: min(100%, 640px);
    transform: translateX(-50%);
  }

  .cards-grid-split,
  .audience-grid,
  .channel-panel,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .channel-card {
    margin-top: 0;
  }
}

@media (max-width: 900px) {
  .page-shell {
    width: 100%;
    border-radius: 0;
  }

  .container {
    width: min(100% - 32px, 100%);
  }

  .site-header {
    padding-top: 16px;
  }

  .header-bar {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .site-nav {
    grid-column: 1 / -1;
    order: 3;
    overflow-x: auto;
    justify-self: stretch;
    justify-content: flex-start;
    gap: 20px;
    padding: 14px 18px;
  }

  .button-dark {
    min-width: auto;
  }

  .hero-copy h1,
  .info-card h2,
  .section-heading h2,
  .audience-copy h2,
  .channel-card h2,
  .cta-panel h2,
  .faq-intro h2 {
    font-size: clamp(36px, 11vw, 52px);
  }

  .hero-visual {
    min-height: 430px;
  }

  .hero-phone {
    width: min(100%, 560px);
  }

  .steps-panel {
    width: 100%;
    margin-left: 0;
    padding: 24px;
    transform: none;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .step-card {
    min-height: auto;
    padding: 24px;
  }

  .step-card p {
    max-width: 320px;
  }

  .info-card,
  .audience-copy,
  .channel-card {
    padding: 34px 24px;
  }

  .audience-photo-card {
    min-height: 420px;
  }

  .channel-scene {
    min-height: 360px;
  }

  .channel-qr {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-panel {
    padding: 68px 24px;
  }

  .faq-intro {
    padding-left: 0;
  }

  .footer-bar {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .brand-footer {
    justify-self: start;
  }
}

@media (max-width: 540px) {
  .section {
    padding-bottom: 16px;
  }

  .hero-copy {
    padding-top: 42px;
  }

  .lead,
  .info-card p,
  .audience-copy p,
  .channel-card p,
  .cta-panel p,
  .faq-content p,
  .step-card p,
  .qr-copy p {
    font-size: 15px;
  }

  .site-nav a {
    white-space: nowrap;
    font-size: 14px;
  }

  .button {
    min-width: 100%;
  }

  .hero-visual {
    min-height: 330px;
  }

  .hero-phone {
    width: min(100%, 420px);
  }

  .step-card {
    min-height: 580px;
  }

  .device-frame {
    width: min(88%, 290px);
  }

  .visit-modal {
    bottom: 40px;
  }

  .channel-card {
    margin: 14px;
  }

  .ruble-badge {
    width: 86px;
    height: 86px;
    margin-left: -43px;
    font-size: 56px;
  }

  .faq-trigger {
    padding: 22px 18px;
  }

  .faq-trigger span:first-child {
    font-size: 17px;
  }

  .lead-modal {
    padding: 14px;
  }

  .lead-modal__dialog {
    padding: 28px 20px 22px;
    border-radius: 26px;
  }

  .lead-modal__close {
    top: 12px;
    right: 12px;
  }
}
