.page-home {
  --home-gold: #D4A843;
  --home-gold-bright: #F0C05A;
  --home-blue: #2A6DB5;
  --home-panel-bg: rgba(20, 20, 28, 0.88);
  --home-chart-line-1: #D4A843;
  --home-chart-line-2: #2A6DB5;
  --home-cut: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  color: var(--color-off-white);
  background-color: var(--color-obsidian);
  overflow-x: hidden;
  line-height: 1.7;
}

.page-home .hero-split,
.page-home .quota-section,
.page-home .pricing-section,
.page-home .steps-section,
.page-home .version-section {
  padding: 56px 24px;
}

.page-home .hero-split__content,
.page-home .hero-split__visual,
.page-home .quota-section__text,
.page-home .quota-section__viz,
.page-home .pricing-section__head,
.page-home .pricing-switch,
.page-home .pricing-section__decor,
.page-home .steps-section__head,
.page-home .steps-section__layout,
.page-home .version-section__badge,
.page-home .version-section__copy,
.page-home .version-section__device {
  max-width: 1200px;
  margin-inline: auto;
}

.page-home .section-label {
  margin: 0 0 14px;
}

.page-home h2 {
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  line-height: 1.2;
}

.page-home .hero-split {
  display: grid;
  gap: 40px;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(20, 20, 28, 0.5) 0%, rgba(10, 10, 15, 0) 100%),
    var(--color-obsidian);
  position: relative;
}

.page-home .hero-split::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 28%;
  background: linear-gradient(135deg, rgba(212, 168, 67, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.page-home .hero-split__kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--color-muted-gray);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.page-home .hero-split__line {
  width: 32px;
  height: 2px;
  background: var(--home-gold);
  display: inline-block;
  transform: skewX(-20deg);
}

.page-home .hero-split__title {
  font-size: clamp(1.9rem, 4.8vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 22px;
  color: var(--color-off-white);
}

.page-home .hero-split__lead {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--color-muted-gray);
  margin: 0 0 20px;
  max-width: 52ch;
}

.page-home .hero-split__lead strong {
  color: var(--home-gold-bright);
  font-weight: 700;
}

.page-home .hero-split__terms {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .hero-split__term {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--color-electric-blue);
  border: 1px solid rgba(42, 109, 181, 0.4);
  background: rgba(42, 109, 181, 0.06);
  padding: 6px 12px;
  clip-path: var(--home-cut);
  transition: border-color 0.2s, color 0.2s;
}

.page-home .hero-split__term:hover {
  color: var(--home-gold-bright);
  border-color: rgba(212, 168, 67, 0.5);
}

.page-home .hero-split__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}

.page-home .hero-split__actions .btn {
  margin: 0;
}

.page-home .hero-split__anchor {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--color-muted-gray);
  text-decoration: none;
  border-bottom: 1px solid rgba(154, 154, 165, 0.4);
  padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s;
}

.page-home .hero-split__anchor:hover {
  color: var(--home-gold-bright);
  border-color: var(--home-gold);
}

.page-home .hero-split__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 0;
}

.page-home .hero-split__stat dt {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--color-muted-gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.page-home .hero-split__stat dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--home-gold-bright);
}

.page-home .hero-split__visual {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-left: 2px solid rgba(212, 168, 67, 0.35);
}

.page-home .hero-split__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.page-home .hero-split__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 45%, rgba(212, 168, 67, 0.15) 48%, transparent 52%),
    linear-gradient(65deg, transparent 70%, rgba(42, 109, 181, 0.16) 74%, transparent 78%);
  pointer-events: none;
}

.page-home .live-panel {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 40px;
  background: var(--home-panel-bg);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(212, 168, 67, 0.35);
  padding: 20px;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  z-index: 2;
}

.page-home .live-panel__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(212, 168, 67, 0.25);
  padding-bottom: 12px;
  margin-bottom: 14px;
}

.page-home .live-panel__title {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--home-gold);
}

.page-home .live-panel__signal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--color-success);
}

.page-home .live-panel__pulse {
  width: 7px;
  height: 7px;
  background: var(--color-success);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(57, 199, 106, 0.2);
  animation: page-home-pulse 2s ease-in-out infinite;
}

@keyframes page-home-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(57, 199, 106, 0.25); }
  50% { box-shadow: 0 0 0 7px rgba(57, 199, 106, 0.05); }
}

.page-home .live-panel__metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.page-home .live-panel__cell {
  background: rgba(10, 10, 15, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 10px 12px;
}

.page-home .live-panel__cell-label {
  display: block;
  font-size: 0.7rem;
  color: var(--color-muted-gray);
  margin-bottom: 4px;
}

.page-home .live-panel__cell-value {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-off-white);
}

.page-home .live-panel__chart {
  margin-bottom: 14px;
}

.page-home .live-panel__chart svg {
  display: block;
  width: 100%;
  height: 80px;
}

.page-home .live-panel__grid-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1;
}

.page-home .live-panel__line-gold {
  fill: none;
  stroke: var(--home-chart-line-1);
  stroke-width: 2;
  stroke-linecap: square;
}

.page-home .live-panel__line-blue {
  fill: none;
  stroke: var(--home-chart-line-2);
  stroke-width: 1.4;
  stroke-dasharray: 4 3;
  stroke-linecap: square;
}

.page-home .live-panel__footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-muted-gray);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 10px;
}

.page-home .quota-section {
  position: relative;
  display: grid;
  gap: 40px;
  background: var(--color-carbon);
}

.page-home .quota-section__text p {
  margin: 0 0 22px;
  color: var(--color-muted-gray);
}

.page-home .quota-section__text .section-label {
  color: var(--home-gold);
}

.page-home .quota-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .quota-list li {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--color-off-white);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 10, 15, 0.4);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: border-color 0.2s, transform 0.2s;
}

.page-home .quota-list li:hover {
  border-color: rgba(212, 168, 67, 0.55);
  transform: translateX(3px);
}

.page-home .quota-mark {
  color: var(--home-gold);
  font-weight: 700;
}

.page-home .quota-section__link {
  color: var(--color-electric-blue);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  border-bottom: 1px solid rgba(42, 109, 181, 0.5);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.page-home .quota-section__link:hover {
  color: var(--home-gold-bright);
  border-color: var(--home-gold);
}

.page-home .quota-section__viz {
  display: grid;
  gap: 16px;
  align-content: center;
  background: linear-gradient(135deg, rgba(212, 168, 67, 0.05), rgba(42, 109, 181, 0.06));
  border: 1px solid rgba(212, 168, 67, 0.2);
  padding: 28px 24px;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}

.page-home .quota-viz__row {
  display: grid;
  grid-template-columns: 88px 1fr 72px;
  align-items: center;
  gap: 12px;
}

.page-home .quota-viz__label {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--color-muted-gray);
}

.page-home .quota-viz__track {
  height: 12px;
  background: rgba(10, 10, 15, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.page-home .quota-viz__fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--home-blue), var(--home-gold));
  transform: skewX(-12deg);
  transition: filter 0.2s;
}

.page-home .quota-viz__row:hover .quota-viz__fill {
  filter: brightness(1.25);
}

.page-home .quota-viz__fill--year { width: 100%; }
.page-home .quota-viz__fill--users { width: 88%; }
.page-home .quota-viz__fill--expert { width: 39%; }
.page-home .quota-viz__fill--satisfy { width: 92%; }

.page-home .quota-viz__value {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--home-gold-bright);
  text-align: right;
}

.page-home .pricing-section {
  position: relative;
  overflow: hidden;
}

.page-home .pricing-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background:
    linear-gradient(90deg, var(--home-gold) 0%, var(--home-blue) 55%, transparent 100%);
  transform: skewX(-30deg) scaleX(1.15);
}

.page-home .pricing-section__head {
  text-align: left;
  margin-bottom: 28px;
}

.page-home .pricing-section__head .section-label {
  color: var(--home-gold);
}

.page-home .pricing-switch {
  position: relative;
  display: grid;
  gap: 24px;
}

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

.page-home .pricing-switch__label {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--color-muted-gray);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(20, 20, 28, 0.88);
  padding: 10px 20px;
  cursor: pointer;
  clip-path: var(--home-cut);
  width: fit-content;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.page-home .pricing-switch__label:hover {
  color: var(--home-gold-bright);
  border-color: rgba(212, 168, 67, 0.5);
}

.page-home .pricing-switch__radio:checked + .pricing-switch__label {
  color: #0A0A0F;
  background: var(--home-gold);
  border-color: var(--home-gold);
}

.page-home .pricing-view {
  display: none;
}

.page-home .pricing-view--monthly {
  display: block;
}

.page-home #pricing-view-cycle:checked ~ .pricing-view--monthly {
  display: none !important;
}

.page-home #pricing-view-cycle:checked ~ .pricing-view--cycle {
  display: block;
}

.page-home .price-card {
  position: relative;
  background: var(--color-carbon);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px 24px;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-home .price-card:hover {
  border-color: rgba(212, 168, 67, 0.55);
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

.page-home .price-card--pro {
  background: linear-gradient(180deg, rgba(212, 168, 67, 0.1), rgba(20, 20, 28, 0.95) 60%);
  border-color: rgba(212, 168, 67, 0.4);
}

.page-home .price-card__tag {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--home-gold);
  letter-spacing: 0.08em;
}

.page-home .price-card__amount {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-muted-gray);
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-sans);
}

.page-home .price-card__num {
  font-family: var(--font-mono);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--color-off-white);
  line-height: 1;
}

.page-home .price-card--pro .price-card__num {
  color: var(--home-gold-bright);
}

.page-home .price-card__desc {
  color: var(--color-muted-gray);
  font-size: 0.86rem;
  margin: 0;
}

.page-home .price-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-home .price-card__list li {
  display: flex;
  gap: 8px;
  align-items: baseline;
  color: var(--color-off-white);
  font-size: 0.84rem;
}

.page-home .price-card__list li::before {
  content: "/";
  color: var(--home-gold);
  font-family: var(--font-mono);
  font-weight: 700;
  flex-shrink: 0;
}

.page-home .price-card .btn {
  margin-top: auto;
}

.page-home .pricing-view--cycle {
  background: var(--color-carbon);
  border: 1px solid rgba(42, 109, 181, 0.35);
  padding: 28px 24px;
  clip-path: var(--home-cut);
}

.page-home .pricing-cycle__lead {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--home-gold-bright);
  margin: 0 0 16px;
}

.page-home .pricing-cycle__list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .pricing-cycle__list li {
  display: flex;
  gap: 10px;
  color: var(--color-muted-gray);
  font-size: 0.9rem;
}

.page-home .pricing-cycle__list li::before {
  content: "▹";
  color: var(--home-blue);
  flex-shrink: 0;
}

.page-home .pricing-section__decor {
  display: block;
  max-width: 100%;
  margin: 48px auto 0;
  border: 1px solid rgba(212, 168, 67, 0.2);
  opacity: 0.8;
  transition: opacity 0.3s;
}

.page-home .pricing-section__decor:hover {
  opacity: 1;
}

.page-home .steps-section {
  background: var(--color-carbon);
}

.page-home .steps-section__head {
  margin-bottom: 32px;
}

.page-home .steps-section__head .section-label {
  color: var(--home-gold);
}

.page-home .steps-section__layout {
  display: grid;
  gap: 40px;
}

.page-home .steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.page-home .steps-list__item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: start;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 10, 15, 0.5);
  padding: 20px;
  transition: border-color 0.2s, background 0.2s;
}

.page-home .steps-list__item:hover {
  border-color: rgba(212, 168, 67, 0.45);
  background: rgba(20, 20, 28, 0.9);
}

.page-home .steps-list__num {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--home-gold);
  border: 1px solid rgba(212, 168, 67, 0.4);
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: var(--home-cut);
  background: rgba(212, 168, 67, 0.06);
}

.page-home .steps-list__content h3 {
  margin: 0 0 6px;
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--color-off-white);
}

.page-home .steps-list__content p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.8;
  color: var(--color-muted-gray);
}

.page-home .steps-section__side {
  display: grid;
  gap: 20px;
  align-content: start;
}

.page-home .steps-section__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-home .rule-check {
  display: grid;
  gap: 10px;
}

.page-home .rule-check__item {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 10, 15, 0.6);
  transition: border-color 0.2s;
}

.page-home .rule-check__item:hover {
  border-color: rgba(42, 109, 181, 0.6);
}

.page-home .rule-check__item summary {
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--color-electric-blue);
  padding: 14px 16px;
  list-style: none;
  transition: color 0.2s;
}

.page-home .rule-check__item summary:hover {
  color: var(--home-gold-bright);
}

.page-home .rule-check__item summary::-webkit-details-marker {
  display: none;
}

.page-home .rule-check__item[open] summary {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--home-gold-bright);
}

.page-home .rule-check__item p {
  margin: 0;
  padding: 14px 16px;
  font-size: 0.82rem;
  line-height: 1.8;
  color: var(--color-muted-gray);
}

.page-home .steps-section__side .btn {
  justify-self: start;
}

.page-home .version-section {
  display: grid;
  gap: 36px;
  align-items: center;
  overflow: hidden;
}

.page-home .version-section__badge {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: end;
  justify-content: start;
  gap: 12px;
  background: linear-gradient(135deg, rgba(212, 168, 67, 0.12), rgba(42, 109, 181, 0.08));
  border: 1px solid rgba(212, 168, 67, 0.3);
  padding: 28px 24px 24px;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.page-home .version-section__year {
  font-family: var(--font-mono);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--color-off-white);
  line-height: 1;
}

.page-home .version-section__divider {
  font-family: var(--font-mono);
  font-size: 2.8rem;
  color: var(--home-gold);
  line-height: 1;
  transform: skewX(-12deg);
}

.page-home .version-section__week {
  font-family: var(--font-mono);
  font-size: 4.6rem;
  font-weight: 700;
  color: var(--home-gold-bright);
  line-height: 0.95;
}

.page-home .version-section__label {
  grid-column: 1 / -1;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted-gray);
}

.page-home .version-section__copy p:not(.section-label) {
  color: var(--color-muted-gray);
  margin: 0 0 24px;
  max-width: 52ch;
}

.page-home .version-section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-home .version-section__device {
  position: relative;
}

.page-home .version-section__device img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 760px) {
  .page-home .hero-split,
  .page-home .quota-section,
  .page-home .pricing-section,
  .page-home .steps-section,
  .page-home .version-section {
    padding: 72px 32px;
  }

  .page-home .hero-split__terms {
    gap: 12px;
  }

  .page-home .live-panel {
    left: 36px;
    right: 36px;
  }

  .page-home .quota-section {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }

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

  .page-home .steps-list {
    grid-template-columns: 1fr;
  }

  .page-home .steps-section__layout {
    grid-template-columns: 1fr 0.9fr;
    gap: 56px;
  }

  .page-home .version-section {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 48px;
  }
}

@media (min-width: 1040px) {
  .page-home .hero-split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .page-home .hero-split__content {
    max-width: 620px;
  }

  .page-home .hero-split__visual {
    min-height: 560px;
  }

  .page-home .live-panel {
    bottom: 56px;
  }

  .page-home .steps-section__layout {
    grid-template-columns: 1fr 0.84fr;
  }

  .page-home .version-section {
    grid-template-columns: 0.7fr 1.3fr 0.9fr;
  }

  .page-home .version-section__device img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
