.page-home {
  --home-gold-line: linear-gradient(90deg, var(--c-gold) 0 8px, transparent 8px);
  --home-shadow: 0 20px 60px rgba(10, 31, 60, 0.28);
  --home-letter-spacing: 0.02em;
  position: relative;
  background: var(--c-paper);
  color: var(--c-ink);
  overflow-x: clip;
}

.page-home .breadcrumbs {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  color: var(--c-white);
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: var(--home-letter-spacing);
}

.page-home .breadcrumbs__current {
  opacity: 0.85;
}

.page-home .hero-frame {
  position: relative;
  z-index: 1;
  background:
    radial-gradient(circle at 82% 18%, rgba(212, 175, 55, 0.16) 0, rgba(212, 175, 55, 0) 26%),
    linear-gradient(128deg, var(--c-primary-deep) 0%, var(--c-primary) 58%, #102c52 100%);
  color: var(--c-white);
  padding: 26px 20px 60px;
  margin-top: -46px;
  border-bottom: 3px solid var(--c-gold);
}

.page-home .hero-frame__window {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.045);
  border: 2px solid rgba(212, 175, 55, 0.65);
  box-shadow: var(--home-shadow);
  overflow: hidden;
}

.page-home .hero-frame__ticks {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  background: repeating-linear-gradient(
    90deg,
    var(--c-gold) 0 1px,
    transparent 1px 18px
  );
}

.page-home .hero-frame__ticks--top {
  top: 0;
  left: 0;
  right: 0;
  height: 7px;
}

.page-home .hero-frame__ticks--left {
  top: 0;
  left: 0;
  bottom: 0;
  width: 7px;
  background: repeating-linear-gradient(
    180deg,
    var(--c-gold) 0 1px,
    transparent 1px 18px
  );
}

.page-home .hero-frame__content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 38px;
  padding: 42px 24px 46px 32px;
}

.page-home .hero-frame__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.page-home .hero-frame__tag {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 14px;
  border: 1px solid var(--c-gold);
  color: var(--c-gold-light);
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-home .hero-frame__copy h1 {
  margin: 0 0 18px;
  font-family: var(--font-title);
  font-size: clamp(30px, 7vw, 44px);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--c-white);
}

.page-home .hero-frame__copy h1::after {
  content: "";
  display: block;
  width: 76px;
  height: 4px;
  margin-top: 18px;
  background: var(--c-gold);
}

.page-home .hero-frame__lead {
  margin: 0 0 28px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
  max-width: 48rem;
}

.page-home .hero-frame__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-home .hero-frame__actions .btn--gold {
  background: var(--c-gold);
  color: var(--c-ink);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.page-home .hero-frame__actions .btn--gold:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 0 0 2px var(--c-white), 0 10px 30px rgba(212, 175, 55, 0.35);
}

.page-home .hero-frame__actions .btn--outline {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--c-white);
}

.page-home .hero-frame__actions .btn--outline:hover {
  border-color: var(--c-gold);
  color: var(--c-gold-light);
  background: rgba(212, 175, 55, 0.08);
}

.page-home .device-switch {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.page-home .device-switch__radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.page-home .device-switch__tabs {
  display: flex;
  gap: 0;
  margin-bottom: 22px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: rgba(10, 31, 60, 0.5);
  padding: 4px;
  width: fit-content;
}

.page-home .device-switch__tab {
  padding: 8px 26px;
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.page-home .device-switch__radio--desktop:checked ~ .device-switch__tabs .device-switch__tab--desktop,
.page-home .device-switch__radio--mobile:checked ~ .device-switch__tabs .device-switch__tab--mobile {
  color: var(--c-ink);
  background: var(--c-gold);
}

.page-home .device-switch__panel {
  display: none;
  animation: page-home-switch-in 0.35s ease;
}

.page-home .device-switch__panel--desktop,
.page-home .device-switch__radio--desktop:checked ~ .device-switch__panel--desktop,
.page-home .device-switch__radio--mobile:checked ~ .device-switch__panel--mobile {
  display: block;
}

@keyframes page-home-switch-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-home .device-card {
  border: 1px solid rgba(212, 175, 55, 0.5);
  background: var(--c-white);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.page-home .device-card--desktop {
  border-top: 6px solid var(--c-gold);
}

.page-home .device-card--mobile {
  max-width: 360px;
  margin: 0 auto;
  border-top: 6px solid var(--c-gold);
}

.page-home .device-card__screen {
  background: #e9edf4;
  overflow: hidden;
}

.page-home .device-card__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

.page-home .device-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--c-white);
  color: var(--c-ink);
}

.page-home .device-card__name {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 16px;
}

.page-home .device-card__note {
  color: var(--c-gray);
  font-size: 13px;
}

.page-home .version-update {
  background: var(--c-paper);
  padding: 72px 20px 64px;
  border-bottom: 1px solid rgba(10, 31, 60, 0.12);
}

.page-home .version-update__head {
  max-width: 800px;
  margin-bottom: 40px;
}

.page-home .version-update__lead {
  margin-top: 14px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-gray);
}

.page-home .update-grid {
  display: grid;
  gap: 24px;
  margin-bottom: 36px;
}

.page-home .update-item {
  position: relative;
  background: var(--c-white);
  border: 1px solid rgba(10, 31, 60, 0.15);
  border-left: 5px solid var(--c-gold);
  padding: 30px 28px 32px 32px;
  box-shadow: 0 4px 16px rgba(10, 31, 60, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.page-home .update-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(10, 31, 60, 0.16);
}

.page-home .update-item__index {
  margin: 0 0 10px;
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 800;
  color: var(--c-gold);
  letter-spacing: 0.16em;
}

.page-home .update-item h3 {
  margin: 0 0 12px;
  font-family: var(--font-title);
  font-size: 22px;
  color: var(--c-primary);
}

.page-home .update-item p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--c-gray);
}

.page-home .version-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--c-blue-light);
  border: 1px solid rgba(10, 31, 60, 0.12);
  padding: 20px 24px;
}

.page-home .version-note p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--c-primary);
}

.page-home .dual-layout {
  background: var(--c-white);
  padding: 72px 20px 64px;
  border-bottom: 1px solid rgba(10, 31, 60, 0.1);
}

.page-home .dual-layout__lead {
  margin-top: 14px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-gray);
}

.page-home .compare-grid {
  display: grid;
  gap: 28px;
  margin: 44px 0 30px;
}

.page-home .compare-card {
  position: relative;
  padding: 38px 30px 32px;
  border: 1px solid rgba(10, 31, 60, 0.18);
  background:
    linear-gradient(135deg, rgba(212, 175, 55, 0.10) 0, rgba(212, 175, 55, 0) 40%),
    var(--c-paper);
}

.page-home .compare-card::before {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 42px;
  height: 42px;
  border-top: 4px solid var(--c-gold);
  border-right: 4px solid var(--c-gold);
}

.page-home .compare-card__label {
  display: inline-block;
  margin-bottom: 18px;
  padding: 5px 12px;
  background: var(--c-primary);
  color: var(--c-white);
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.page-home .compare-card__list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .compare-card__list li {
  position: relative;
  padding-left: 26px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--c-ink);
}

.page-home .compare-card__list li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 4px;
  width: 8px;
  height: 8px;
  background: var(--c-gold);
  transform: rotate(45deg);
}

.page-home .dual-layout__note {
  text-align: center;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--c-gray);
  padding: 14px 20px;
  border: 1px dashed var(--c-gold);
  max-width: 720px;
  margin: 0 auto;
}

.page-home .export-section {
  background: var(--c-primary);
  color: var(--c-white);
  padding: 72px 20px 64px;
  border-bottom: 3px solid var(--c-gold);
}

.page-home .export-section .section-subtitle {
  color: var(--c-gold-light);
}

.page-home .export-section .section-title {
  color: var(--c-white);
}

.page-home .export-layout {
  display: grid;
  gap: 44px;
  align-items: center;
}

.page-home .export-copy__lead {
  margin: 14px 0 22px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.84);
}

.page-home .export-features {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-home .export-features li {
  position: relative;
  padding-left: 32px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

.page-home .export-features li::before {
  content: "";
  position: absolute;
  top: 0.45em;
  left: 4px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--c-gold);
  border-radius: 50%;
}

.page-home .export-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.page-home .stat {
  padding: 16px 12px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(255, 255, 255, 0.05);
}

.page-home .stat__num {
  display: block;
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 900;
  color: var(--c-gold-light);
}

.page-home .stat__label {
  display: block;
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.page-home .export-visual {
  position: relative;
}

.page-home .export-visual__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.page-home .export-visual__caption {
  margin: 14px 0 0;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.65);
}

.page-home .trust-section {
  position: relative;
  isolation: isolate;
  padding: 88px 20px;
  overflow: hidden;
}

.page-home .trust-section__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.5;
}

.page-home .trust-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, rgba(10, 31, 60, 0.92) 0%, rgba(10, 31, 60, 0.72) 60%, rgba(5, 24, 48, 0.64) 100%);
}

.page-home .trust-section__inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-start;
}

.page-home .trust-card {
  max-width: 680px;
  padding: 38px 34px;
  background: rgba(245, 240, 230, 0.96);
  border: 2px solid var(--c-gold);
  box-shadow: var(--home-shadow);
}

.page-home .trust-card .section-subtitle {
  color: var(--c-red);
}

.page-home .trust-card .section-title {
  color: var(--c-primary);
}

.page-home .trust-card__text {
  margin: 12px 0 24px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-gray);
}

.page-home .trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .trust-badges .tag--dark {
  background: var(--c-primary);
  color: var(--c-white);
  border: 1px solid var(--c-gold);
}

.page-home .insights-section {
  background: var(--c-paper);
  padding: 72px 20px 64px;
}

.page-home .insights-list {
  display: grid;
  gap: 24px;
  margin-top: 40px;
}

.page-home .insight-card {
  background: var(--c-white);
  border: 1px solid rgba(10, 31, 60, 0.12);
  border-bottom: 4px solid var(--c-gold);
  padding: 30px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.page-home .insight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(10, 31, 60, 0.14);
}

.page-home .insight-card .tag {
  display: inline-block;
  margin-bottom: 14px;
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.page-home .insight-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-title);
  font-size: 20px;
  color: var(--c-primary);
}

.page-home .insight-card p {
  margin: 0 0 16px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.65;
  color: var(--c-gray);
}

.page-home .insight-card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--c-red);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.page-home .insight-card a:hover {
  border-color: var(--c-red);
}

.page-home .quick-section {
  background: var(--c-white);
  padding: 72px 20px 72px;
}

.page-home .quick-grid {
  display: grid;
  gap: 20px;
  margin-top: 40px;
}

.page-home .quick-card {
  display: block;
  text-decoration: none;
  color: var(--c-ink);
  padding: 28px 24px;
  border: 1px solid rgba(10, 31, 60, 0.12);
  background: var(--c-paper);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.page-home .quick-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-gold);
  box-shadow: 0 14px 28px rgba(10, 31, 60, 0.12);
}

.page-home .quick-card__icon {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 28px;
  line-height: 1;
  color: var(--c-red);
}

.page-home .quick-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-title);
  font-size: 18px;
  color: var(--c-primary);
}

.page-home .quick-card p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-gray);
}

@media (min-width: 768px) {
  .page-home .hero-frame {
    padding: 40px 32px 80px;
  }

  .page-home .hero-frame__content {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 56px 44px 56px 48px;
  }

  .page-home .hero-frame__lead {
    font-size: 17px;
  }

  .page-home .device-switch {
    margin: 0;
  }

  .page-home .device-card--mobile {
    max-width: 340px;
  }

  .page-home .version-update {
    padding: 96px 24px 88px;
  }

  .page-home .update-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  .page-home .dual-layout {
    padding: 96px 24px 88px;
  }

  .page-home .compare-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }

  .page-home .export-section {
    padding: 96px 24px 88px;
  }

  .page-home .export-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 60px;
  }

  .page-home .trust-section {
    padding: 120px 24px;
  }

  .page-home .insights-section {
    padding: 96px 24px 88px;
  }

  .page-home .insights-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  .page-home .quick-section {
    padding: 96px 24px 88px;
  }

  .page-home .quick-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (min-width: 1200px) {
  .page-home .hero-frame__content {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 64px;
  }

  .page-home .quick-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
