.page-home {
  --cut-size: 14px;
  --diag-accent: linear-gradient(135deg, rgba(255, 84, 50, 0.92) 0%, rgba(255, 122, 87, 0.72) 100%);
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font-body);
  overflow-x: hidden;
}

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

.page-home img {
  display: block;
  max-width: 100%;
  height: auto;
}

.page-home .container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 20px;
}

.page-home .clip-cut {
  clip-path: polygon(
    0 var(--cut-size),
    var(--cut-size) 0,
    calc(100% - var(--cut-size)) 0,
    100% var(--cut-size),
    100% calc(100% - var(--cut-size)),
    calc(100% - var(--cut-size)) 100%,
    var(--cut-size) 100%,
    0 calc(100% - var(--cut-size))
  );
}

.page-home .section-label {
  display: inline-block;
  padding: 4px 14px 2px;
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-accent);
  background: var(--c-bg);
  border: 1px solid var(--c-line);
}

.page-home .section-head h2 {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.16;
  letter-spacing: -0.5px;
  color: var(--c-primary);
}

.page-home .section-desc {
  max-width: 640px;
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-secondary);
}

.page-home .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  color: var(--c-bg);
  background: var(--c-accent);
  border: 2px solid var(--c-accent);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.page-home .btn:hover {
  background: var(--c-accent-light);
  border-color: var(--c-accent-light);
  transform: translateY(-2px);
}

.page-home .btn-outline {
  color: var(--c-primary);
  background: transparent;
  border-color: var(--c-primary);
}

.page-home .btn-outline:hover {
  color: var(--c-bg);
  background: var(--c-primary);
  border-color: var(--c-primary);
}

.page-home .btn-sm {
  min-height: 36px;
  padding: 0 16px;
  font-size: 13px;
}

.page-home .hero {
  position: relative;
  padding: 56px 0 80px;
  background: var(--c-primary-dark);
  color: var(--c-bg);
  overflow: hidden;
}

.page-home .hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
}

.page-home .hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(9, 28, 43, 0.96) 0%, rgba(13, 36, 51, 0.84) 46%, rgba(24, 56, 78, 0.58) 100%);
}

.page-home .hero-inner {
  position: relative;
  z-index: 1;
}

.page-home .hero-copy {
  max-width: 640px;
}

.page-home .hero-copy::before {
  content: "";
  display: block;
  width: 74px;
  height: 10px;
  margin-bottom: 22px;
  background: var(--diag-accent);
}

.page-home .hero-kicker {
  display: inline-block;
  margin: 0 0 16px;
  padding-left: 14px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-highlight);
  border-left: 4px solid var(--c-accent);
}

.page-home .hero-copy h1 {
  margin: 0 0 20px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(28px, 5vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: #ffffff;
}

.page-home .hero-desc {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(253, 248, 240, 0.86);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .hero-actions .btn {
  background: var(--c-accent);
  border-color: var(--c-accent);
}

.page-home .hero-actions .btn:hover {
  background: var(--c-accent-light);
  border-color: var(--c-accent-light);
}

.page-home .hero-actions .btn-outline {
  color: var(--c-bg);
  background: transparent;
  border-color: rgba(253, 248, 240, 0.72);
}

.page-home .hero-actions .btn-outline:hover {
  color: var(--c-primary);
  background: var(--c-bg);
  border-color: var(--c-bg);
}

.page-home .hero-datawall {
  margin-top: 40px;
  padding: 24px 22px;
  background: var(--c-bg);
  color: var(--c-ink);
}

.page-home .datawall-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--c-line);
}

.page-home .datawall-label {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-primary);
}

.page-home .datawall-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--c-accent);
}

.page-home .datawall-live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-accent);
  animation: page-home-pulse 1.6s infinite;
}

.page-home .datawall-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.page-home .data-cell {
  padding: 14px 12px;
  background: #ffffff;
  border: 1px solid var(--c-line);
}

.page-home .stat-num {
  display: block;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(20px, 5vw, 30px);
  line-height: 1.2;
  color: var(--c-primary);
}

.page-home .stat-label {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--c-secondary);
}

.page-home .version-section {
  padding: 72px 0 24px;
}

.page-home .version-grid {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

.page-home .version-main {
  padding: 32px 24px;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
}

.page-home .version-flag {
  display: inline-block;
  padding: 6px 14px;
  margin-bottom: 18px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 22px;
  line-height: 1;
  color: var(--c-bg);
  background: var(--c-accent);
}

.page-home .version-main h3 {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 20px;
  line-height: 1.3;
  color: var(--c-primary);
}

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

.page-home .version-list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-ink);
}

.page-home .version-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 10px;
  height: 2px;
  background: var(--c-accent);
}

.page-home .version-rail {
  align-self: start;
  padding: 26px 22px;
  background: var(--c-primary);
  border-left: 6px solid var(--c-accent);
}

.page-home .rail-title {
  margin-bottom: 18px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-highlight);
}

.page-home .version-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
}

.page-home .version-timeline li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0 10px;
  border-bottom: 1px solid rgba(253, 248, 240, 0.18);
}

.page-home .version-timeline li:last-child {
  border-bottom: 0;
}

.page-home .v-num {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 18px;
  color: var(--c-accent);
}

.page-home .v-text {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(253, 248, 240, 0.9);
}

.page-home .core-section {
  padding: 72px 0 24px;
}

.page-home .core-grid {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

.page-home .core-card {
  display: block;
  text-decoration: none;
  color: var(--c-ink);
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.page-home .core-card:hover {
  transform: translateY(-4px) rotate(-0.5deg);
  box-shadow: 8px 8px 0 rgba(13, 36, 51, 0.12);
}

.page-home .core-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--c-primary-light);
}

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

.page-home .core-thumb::after {
  content: "";
  position: absolute;
  inset: 58% 0 0 0;
  background: linear-gradient(to top, rgba(13, 36, 51, 0.88) 0%, transparent 100%);
  opacity: 0.66;
}

.page-home .core-body {
  padding: 20px;
}

.page-home .core-body h3 {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 17px;
  line-height: 1.3;
  color: var(--c-primary);
}

.page-home .core-body p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-secondary);
}

.page-home .core-more {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  color: var(--c-accent);
}

.page-home .updates-section {
  padding: 72px 0 24px;
}

.page-home .updates-wrap {
  padding: 32px 24px;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-top: 6px solid var(--c-accent);
}

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

.page-home .update-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--c-line);
}

.page-home .update-tag {
  align-self: start;
  padding: 4px 0 2px;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-accent);
  border: 1px solid var(--c-line);
}

.page-home .update-content h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--c-primary);
}

.page-home .update-content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-secondary);
}

.page-home .features-section {
  padding: 72px 0 24px;
}

.page-home .features-grid {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

.page-home .feature-card {
  position: relative;
  padding: 28px 22px 24px;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  filter: drop-shadow(4px 4px 0 rgba(13, 36, 51, 0.1));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.page-home .feature-card:hover {
  transform: translateY(-4px);
  filter: drop-shadow(8px 8px 0 rgba(13, 36, 51, 0.18));
}

.page-home .feature-index {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 32px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--c-accent);
}

.page-home .feature-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 17px;
  line-height: 1.3;
  color: var(--c-primary);
}

.page-home .feature-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-secondary);
}

.page-home .expert-section {
  padding: 72px 0 24px;
}

.page-home .expert-panel {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  overflow: hidden;
}

.page-home .expert-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--c-primary-light);
}

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

.page-home .expert-body {
  padding: 32px 24px;
}

.page-home .expert-body h2 {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.2;
  color: var(--c-primary);
}

.page-home .expert-body .excerpt {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-ink);
}

.page-home .meta-list {
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-home .meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 13px;
  line-height: 1.6;
}

.page-home .meta-row dt {
  flex: 0 0 80px;
  font-weight: 700;
  color: var(--c-primary);
}

.page-home .meta-row dd {
  margin: 0;
  color: var(--c-secondary);
}

.page-home .download-section {
  position: relative;
  margin-top: 48px;
  padding: 72px 0;
  background: var(--c-primary);
  color: var(--c-bg);
  overflow: hidden;
}

.page-home .download-section::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 68%;
  background: var(--c-primary-dark);
  clip-path: polygon(0 0, 100% 0, 52% 100%, 0 100%);
}

.page-home .download-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 32px;
}

.page-home .download-copy .section-label {
  color: var(--c-accent-light);
  border-color: rgba(253, 248, 240, 0.35);
  background: rgba(13, 36, 51, 0.5);
}

.page-home .download-copy h2 {
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--c-bg);
}

.page-home .download-copy p {
  max-width: 520px;
  margin: 0 0 26px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(253, 248, 240, 0.85);
}

.page-home .download-visual {
  position: relative;
  max-width: 280px;
  margin: 0 auto;
}

.page-home .download-visual img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 4px solid rgba(253, 248, 240, 0.24);
  box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.24);
}

.page-home .help-section {
  padding: 72px 0 80px;
}

.page-home .help-inner {
  max-width: 760px;
}

.page-home .help-inner h2 {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.16;
  color: var(--c-primary);
}

.page-home .help-inner p {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-secondary);
}

.page-home .help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@keyframes page-home-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(0.82);
  }
}

@media (min-width: 680px) {
  .page-home .datawall-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .page-home .update-item {
    grid-template-columns: 92px 1fr;
  }
}

@media (min-width: 960px) {
  .page-home .hero {
    padding: 88px 0 120px;
  }

  .page-home .hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 48px;
  }

  .page-home .hero-datawall {
    margin-top: 0;
  }

  .page-home .version-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }

  .page-home .version-main {
    padding: 40px 32px;
  }

  .page-home .version-rail {
    padding: 32px 28px;
  }

  .page-home .core-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .page-home .expert-panel {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .page-home .expert-media {
    aspect-ratio: auto;
    min-height: 100%;
  }

  .page-home .expert-body {
    padding: 40px 36px;
  }

  .page-home .download-inner {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 48px;
  }

  .page-home .download-visual {
    max-width: 320px;
  }

  .page-home .updates-wrap {
    padding: 40px 32px;
  }
}

@media (min-width: 1200px) {
  .page-home .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
