/* Static crawlable landing — visible to Yandex/Google and desktop visitors */

html.is-pending-mobile,
html.is-pending-mobile body {
  height: auto;
  min-height: 100%;
  overflow: visible;
}

html.is-pending-mobile body {
  overflow-x: hidden;
  overflow-y: auto;
}

/* Desktop: only the hero is on screen. Main stays in the HTML for crawlers. */
html.is-desktop,
html.is-desktop body {
  width: 100%;
  height: 100%;
  max-height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

html.is-desktop #seo-page {
  height: 100%;
  overflow: hidden;
}

html.is-desktop .skip-link,
html.is-desktop .seo-nav {
  display: none;
}

html.is-mobile-app,
html.is-mobile-app body,
html.is-mobile-app #root {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#root {
  display: none;
}

html.is-mobile-app #root {
  display: block;
  width: 100%;
  height: 100%;
}

html.is-mobile-app #seo-page {
  display: none !important;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 400;
  padding: 10px 16px;
  border-radius: 999px;
  background: #f4f2ee;
  color: #111;
  text-decoration: none;
  font-size: 14px;
}
.skip-link:focus {
  top: 16px;
}

#seo-page {
  color: var(--paper);
  background: #08090a;
}

.seo-nav {
  position: absolute;
  z-index: 8;
  top: 22px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 32px;
}
.seo-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(241, 238, 234, 0.92);
  font-family: "Prata", Georgia, serif;
  font-size: 20px;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.seo-logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}
.seo-nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.seo-nav-list a {
  color: rgba(232, 229, 224, 0.72);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.seo-nav-list a:hover,
.seo-nav-list a:focus-visible {
  color: #fff;
}

html.is-desktop .desktop-gate {
  height: 100%;
  min-height: 100%;
}

.seo-body {
  position: relative;
  background: #08090a;
}

.seo-wrap {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.seo-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.seo-body h2 {
  margin: 0;
  color: #f1eeea;
  font-family: "Prata", Georgia, serif;
  font-size: clamp(32px, 4.6vw, 52px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.seo-lead {
  margin: 18px 0 0;
  max-width: 680px;
  color: rgba(232, 229, 224, 0.78);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.65;
}

.seo-copy {
  margin: 16px 0 0;
  max-width: 720px;
  color: rgba(220, 216, 208, 0.72);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
}

.seo-section {
  padding: 88px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.seo-section.is-paper {
  color: #171717;
  background: #ece8e2;
}
.seo-section.is-paper h2 { color: #141414; }
.seo-section.is-paper .seo-lead,
.seo-section.is-paper .seo-copy { color: rgba(20, 20, 20, 0.68); }
.seo-section.is-paper .seo-kicker { color: #8a6a3a; }

.seo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.seo-card {
  padding: 22px 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
}
.seo-section.is-paper .seo-card {
  border-color: rgba(20, 20, 20, 0.08);
  background: rgba(255, 255, 255, 0.55);
}
.seo-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.seo-card p {
  margin: 10px 0 0;
  color: rgba(232, 229, 224, 0.64);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.55;
}
.seo-section.is-paper .seo-card p { color: rgba(20, 20, 20, 0.62); }
.seo-card .seo-price {
  display: block;
  margin-top: 16px;
  color: var(--gold);
  font-size: 15px;
  font-weight: 500;
}
.seo-section.is-paper .seo-card .seo-price { color: #8a6a3a; }

.seo-steps {
  display: grid;
  gap: 0;
  margin: 36px 0 0;
}
.seo-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid rgba(20, 20, 20, 0.08);
}
.seo-step:last-child { border-bottom: 1px solid rgba(20, 20, 20, 0.08); }
.seo-num {
  color: rgba(20, 20, 20, 0.38);
  font-variant-numeric: tabular-nums;
}
.seo-step h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
}
.seo-step p {
  margin: 8px 0 0;
  color: rgba(20, 20, 20, 0.62);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.55;
}

.seo-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
  margin-top: 36px;
}
.seo-stack dt {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
}
.seo-stack dd {
  margin: 4px 0 14px;
  color: rgba(232, 229, 224, 0.6);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
}

.seo-price-table {
  width: 100%;
  margin-top: 32px;
  border-collapse: collapse;
}
.seo-price-table th,
.seo-price-table td {
  padding: 16px 0;
  border-bottom: 1px solid rgba(20, 20, 20, 0.08);
  text-align: left;
  font-size: 16px;
}
.seo-price-table th { font-weight: 500; }
.seo-price-table td { text-align: right; white-space: nowrap; color: rgba(20, 20, 20, 0.7); }

.seo-cases {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 36px;
}
.seo-case {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
  background: #111;
}
.seo-case img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 5;
  object-fit: cover;
}
.seo-case span {
  padding: 12px 12px 14px;
  color: rgba(241, 238, 234, 0.86);
  font-size: 13px;
}

.seo-faq {
  margin-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.seo-faq details {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.seo-faq summary {
  padding: 16px 0;
  cursor: pointer;
  color: rgba(241, 238, 234, 0.42);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.022em;
  line-height: 1.3;
  list-style: none;
}
.seo-faq details[open] summary {
  color: #f4f1ea;
  font-family: "Prata", Georgia, serif;
  font-size: 22px;
  letter-spacing: -0.03em;
  line-height: 1.15;
  padding-top: 22px;
}
.seo-faq summary::-webkit-details-marker { display: none; }
.seo-faq details p {
  margin: 0;
  padding: 0 0 22px;
  max-width: 38em;
  color: rgba(220, 216, 208, 0.58);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.65;
}

.seo-form {
  display: grid;
  gap: 10px;
  max-width: 520px;
  margin-top: 32px;
}
.seo-form input,
.seo-form select,
.seo-form button {
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 999px;
  font: inherit;
}
.seo-form input,
.seo-form select {
  color: #171717;
  background: rgba(255, 255, 255, 0.78);
}
.seo-form button {
  color: #f4f2ee;
  background: #111;
  cursor: pointer;
}
.seo-form .seo-status {
  min-height: 1.4em;
  margin: 0;
  font-size: 14px;
  color: rgba(20, 20, 20, 0.62);
}
.seo-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 2px;
  color: rgba(20, 20, 20, 0.7);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 300;
}
.seo-consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
  flex: none;
  accent-color: #111;
}
.seo-consent a { color: #111; }

.seo-footer {
  padding: 36px 0 48px;
  color: rgba(232, 229, 224, 0.5);
  font-size: 13px;
  line-height: 1.6;
}
.seo-footer a { color: rgba(232, 229, 224, 0.78); }
.seo-footer-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  body {
    overflow: auto;
  }
  html, body, #root {
    height: auto;
  }
  .desktop-gate {
    min-height: auto;
    padding-bottom: 48px;
  }
  .desk-scene,
  .rock-detail,
  .qr-frame {
    display: none;
  }
  .desk-content {
    min-height: auto;
    padding: 92px 22px 24px;
    text-align: left;
  }
  .desk-headline,
  .headline-line,
  .copy-line {
    white-space: normal;
  }
  .desk-headline {
    font-size: clamp(34px, 10vw, 44px);
  }
  .desk-explanation {
    font-size: 16px;
  }
  .seo-nav {
    padding: 0 18px;
  }
  .seo-nav-list {
    display: none;
  }
  .seo-wrap {
    width: min(100% - 36px, 1120px);
  }
  .seo-section {
    padding: 56px 0;
  }
  .seo-grid,
  .seo-cases,
  .seo-stack {
    grid-template-columns: 1fr;
  }
  .seo-body h2 {
    font-size: clamp(28px, 8vw, 40px);
  }
  .seo-lead,
  .seo-copy {
    font-size: 16px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .seo-grid { grid-template-columns: 1fr 1fr; }
  .seo-cases { grid-template-columns: repeat(3, 1fr); }
}
