@font-face {
  font-family: "Montserrat";
  src: url("/amo-widget/static/guide/fonts/Montserrat-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("/amo-widget/static/guide/fonts/Montserrat-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("/amo-widget/static/guide/fonts/Montserrat-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("/amo-widget/static/guide/fonts/Montserrat-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --page-bg: #f3f5f9;
  --surface: #ffffff;
  --surface-soft: #f7f8fa;
  --surface-dark: #1c1c1d;
  --text: #101011;
  --text-muted: #73787e;
  --line: #eaebed;
  --accent-blue: #3a82f7;
  --accent-yellow: #fdb62a;
  --accent-pink: #b42d70;
  --radius-xl: 32px;
  --shadow-soft: 0 22px 60px rgba(16, 16, 17, 0.08);
  --shadow-dark: 0 26px 70px rgba(16, 16, 17, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(800px 420px at 0% 0%, rgba(253, 182, 42, 0.12), transparent 60%),
    radial-gradient(720px 360px at 100% 0%, rgba(58, 130, 247, 0.08), transparent 60%),
    var(--page-bg);
}

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

.page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 24px 48px;
}

.hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(520px 280px at 0% 0%, rgba(253, 182, 42, 0.18), transparent 62%),
    linear-gradient(135deg, #1f1d1d 0%, #141415 100%);
  color: #fff;
  box-shadow: var(--shadow-dark);
  padding: 32px;
  margin-bottom: 24px;
}

.hero::after {
  content: "";
  position: absolute;
  right: -36px;
  top: 28px;
  width: 312px;
  height: 224px;
  background: url("/amo-widget/static/guide/app_accent.svg") no-repeat center / contain;
  opacity: 0.95;
  pointer-events: none;
}

.hero-top {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 28px;
}

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

.brand-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  flex: 0 0 auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.brand-label {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand-title {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 600;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 1;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

.hero-copy h1 {
  margin: 0 0 16px;
  font-size: 48px;
  line-height: 1.15;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.hero-copy p {
  margin: 0;
  max-width: 820px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  line-height: 1.65;
  font-weight: 500;
}

.hero-nav {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hero-nav a:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

.section-block {
  margin-top: 24px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(234, 235, 237, 0.88);
  overflow: hidden;
}

.section-block.dark {
  background:
    radial-gradient(600px 220px at 100% 0%, rgba(58, 130, 247, 0.14), transparent 60%),
    linear-gradient(135deg, #1f1d1d 0%, #151516 100%);
  border-color: rgba(255, 255, 255, 0.05);
  color: #fff;
  box-shadow: var(--shadow-dark);
}

.section-inner {
  padding: 32px;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

.section-heading {
  max-width: 760px;
}

.section-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
}

.dark .section-index {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.84);
}

.section-title {
  margin: 12px 0 0;
  font-size: 36px;
  line-height: 1.18;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: var(--text);
}

.dark .section-title {
  color: #fff;
}

.section-lead {
  margin: 14px 0 0;
  max-width: 760px;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 500;
}

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

.section-side-note {
  max-width: 280px;
  padding: 18px 20px;
  border-radius: 20px;
  background: var(--surface-soft);
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
  font-weight: 500;
}

.dark .section-side-note {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.72);
}

.video-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.8fr);
  gap: 22px;
  align-items: stretch;
}

.video-layout > * {
  min-width: 0;
}

.video-stage-card {
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 1588 / 1080;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #111214;
  box-shadow: 0 14px 40px rgba(7, 7, 8, 0.28);
}

.video-stage-card::before {
  content: "";
  display: block;
  padding-top: 68.01%;
}

@supports (aspect-ratio: 1 / 1) {
  .video-stage-card::before {
    display: none;
  }
}

.video-stage-card video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
  background: #111214;
}

.video-copy {
  display: grid;
  min-width: 0;
  gap: 14px;
  align-content: start;
}

.video-copy-card {
  padding: 20px 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.video-copy-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.4;
  font-weight: 600;
  color: #fff;
}

.video-copy-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 500;
}

.video-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  width: fit-content;
}

.video-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.video-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  line-height: 1;
  font-weight: 600;
}

.feature-grid,
.steps-grid,
.content-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.feature-grid,
.steps-grid {
  gap: 14px;
}

.content-grid {
  gap: 16px;
}

.feature-card,
.step-card,
.content-card,
.faq-item {
  border-radius: 24px;
}

.feature-card {
  grid-column: span 3;
  padding: 22px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  min-height: 208px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: rgba(58, 130, 247, 0.1);
  color: var(--accent-blue);
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
}

.feature-card:nth-child(2) .feature-icon {
  background: rgba(253, 182, 42, 0.14);
  color: #b57b08;
}

.feature-card:nth-child(3) .feature-icon {
  background: rgba(180, 45, 112, 0.1);
  color: var(--accent-pink);
}

.feature-card:nth-child(4) .feature-icon {
  background: rgba(16, 16, 17, 0.08);
  color: var(--text);
}

.feature-card h3,
.step-card h3,
.content-card h3 {
  font-weight: 600;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.35;
  color: var(--text);
}

.feature-card p,
.step-card p,
.content-card p,
.faq-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  font-weight: 500;
}

.feature-card p,
.content-card p,
.faq-item p {
  color: var(--text-muted);
}

.step-card {
  grid-column: span 6;
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 206px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
}

.step-card h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.45;
  color: #fff;
}

.step-card p {
  color: rgba(255, 255, 255, 0.76);
}

.content-card {
  grid-column: span 6;
  padding: 24px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.content-card.dark {
  background:
    linear-gradient(135deg, rgba(180, 45, 112, 0.16) 0%, rgba(58, 130, 247, 0.08) 100%),
    #1f1d1d;
  border-color: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.content-card h3 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.4;
  color: inherit;
}

.content-card.dark p,
.content-card.dark .list li {
  color: rgba(255, 255, 255, 0.74);
}

.list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.list li {
  position: relative;
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
  font-weight: 500;
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-blue);
}

.content-card.dark .list li::before {
  background: var(--accent-yellow);
}

.note-band {
  margin-top: 16px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(253, 182, 42, 0.12);
  color: #6f5716;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 600;
}

.faq-grid {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 22px 24px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.faq-item h3 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.45;
  font-weight: 600;
}

.support {
  margin-top: 24px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(180, 45, 112, 0.14) 0%, rgba(58, 130, 247, 0.08) 100%),
    var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.support-inner {
  padding: 28px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.support-copy h2 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 700;
}

.support-copy p {
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 500;
}

.support-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--surface-dark);
  color: #fff;
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(16, 16, 17, 0.12);
}

@media (max-width: 1120px) {
  .video-layout {
    grid-template-columns: 1fr;
  }

  .feature-card {
    grid-column: span 6;
  }
}

@media (max-width: 840px) {
  .page {
    padding: 16px 14px 28px;
  }

  .hero,
  .section-inner,
  .support-inner {
    padding: 24px;
  }

  .hero::after {
    width: 240px;
    height: 172px;
    right: -52px;
    top: 72px;
    opacity: 0.5;
  }

  .hero-copy h1,
  .section-title {
    font-size: 34px;
  }

  .feature-card,
  .step-card,
  .content-card {
    grid-column: span 12;
  }
}

@media (max-width: 580px) {
  .hero,
  .section-block,
  .support {
    border-radius: 24px;
  }

  .hero,
  .section-inner,
  .support-inner {
    padding: 20px;
  }

  .brand-logo {
    width: 54px;
    height: 54px;
  }

  .brand-title {
    font-size: 16px;
  }

  .hero-copy h1,
  .section-title {
    font-size: 28px;
  }

  .hero-copy p,
  .section-lead {
    font-size: 15px;
  }

  .feature-card,
  .step-card,
  .content-card,
  .video-copy-card,
  .faq-item {
    border-radius: 20px;
  }

  .video-link,
  .support-link {
    width: 100%;
  }
}
