.page-home {
  --p-muted: #425a6b;
}

.page-home .p-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 92vh;
  padding: 96px 20px 56px;
  background: var(--night-blue);
  overflow: hidden;
}

.page-home .p-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  opacity: 0.3;
}

.page-home .p-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(16, 42, 67, 0.95) 0%, rgba(30, 111, 186, 0.82) 46%, rgba(244, 162, 97, 0.42) 100%);
  z-index: 1;
}

.page-home .p-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
}

.page-home .p-hero-frame {
  padding: clamp(20px, 4vw, 42px);
  background: rgba(16, 42, 67, 0.24);
  border: 1px solid rgba(249, 249, 247, 0.42);
  border-radius: 2px 30px 2px 30px;
}

.page-home .notice-bar {
  margin-bottom: 40px;
}

.page-home .p-hero-crumbs {
  margin-bottom: 14px;
}

.page-home .p-hero-crumbs .crumb-current {
  color: rgba(249, 249, 247, 0.78);
}

.page-home .p-hero-title {
  margin: 0 0 16px;
  max-width: 16ch;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0.01em;
}

.page-home .p-hero-lead {
  margin: 0;
  max-width: 44rem;
  color: rgba(249, 249, 247, 0.92);
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  line-height: 1.85;
}

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

.page-home .p-hero-actions .btn-outline {
  border-color: var(--cloud-white);
  color: var(--cloud-white);
}

.page-home .p-hero-actions .btn-outline:hover,
.page-home .p-hero-actions .btn-outline:focus-visible {
  background: var(--cloud-white);
  color: var(--night-blue);
}

.page-home .p-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(249, 249, 247, 0.28);
  color: rgba(249, 249, 247, 0.82);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.page-home .p-index-layout {
  display: grid;
  gap: 28px;
  margin-top: 32px;
}

.page-home .p-index-guide {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-home .p-index-img,
.page-home .p-updates-img,
.page-home .p-help-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  object-fit: cover;
}

.page-home .p-index-line {
  margin: 24px 0 8px;
}

.page-home .p-index-tip {
  margin: 0;
  padding-left: 16px;
  border-left: 3px solid var(--sunset-orange);
  color: var(--p-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

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

.page-home .p-index-link {
  display: grid;
  grid-template-columns: 56px 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 4px;
  min-height: 96px;
  padding: 18px;
  background: var(--cloud-white);
  border: 1px solid var(--mist-gray);
  border-radius: var(--radius);
  color: var(--ink-core);
  text-decoration: none;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.page-home .p-index-num {
  grid-row: span 2;
  align-self: center;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--grass-blue);
}

.page-home .p-index-name {
  align-self: end;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
}

.page-home .p-index-desc {
  align-self: start;
  color: var(--p-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.page-home .p-index-link:hover,
.page-home .p-index-link:focus-visible {
  border-color: var(--sunset-orange);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.page-home .p-updates {
  background: var(--cloud-white);
}

.page-home .p-updates-grid {
  display: grid;
  gap: 28px;
}

.page-home .p-updates-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.page-home .p-updates-note {
  margin: 0;
  color: var(--p-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.page-home .p-filter-wrap {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.page-home .p-filter-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-home .p-filter-chip {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--dune-gold);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink-core);
  font-size: 0.86rem;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.page-home .p-filter-input:checked + .p-filter-chip {
  background: var(--grass-blue);
  border-color: var(--grass-blue);
  color: var(--white);
}

.page-home .p-filter-input:focus-visible + .p-filter-chip {
  outline: 3px solid var(--sunset-orange);
  outline-offset: 2px;
}

.page-home .p-filter-input#p-f-week:checked ~ .p-filter-list .p-update-item:not(.is-week),
.page-home .p-filter-input#p-f-month:checked ~ .p-filter-list .p-update-item:not(.is-month) {
  display: none;
}

.page-home .p-filter-list {
  width: 100%;
}

.page-home .p-update-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.page-home .p-update-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--mist-gray);
}

.page-home .p-update-item:last-child {
  border-bottom: 0;
}

.page-home .p-update-cat {
  justify-self: start;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--grass-blue-soft);
  color: var(--grass-blue-dark);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.page-home .p-update-title {
  margin: 4px 0 0;
  color: var(--ink-core);
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.4;
}

.page-home .p-update-desc {
  margin: 0;
  color: var(--p-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.page-home .p-update-date {
  color: var(--grass-green);
  font-size: 0.8rem;
  font-weight: 600;
}

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

.page-home .p-help-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--mist-gray);
  border-radius: var(--radius);
}

.page-home .p-help-steps {
  border-top: 4px solid var(--grass-blue);
}

.page-home .p-help-mobile {
  border-top: 4px solid var(--sunset-orange);
}

.page-home .p-help-card-title {
  margin: 0;
  color: var(--ink-core);
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.page-home .p-help-step-list {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 10px;
  color: var(--p-muted);
  line-height: 1.7;
}

.page-home .p-help-desc {
  margin: 0;
  color: var(--p-muted);
  line-height: 1.8;
}

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

@media (min-width: 900px) {
  .page-home .p-hero {
    padding: 120px 40px 72px;
  }

  .page-home .p-index-layout {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
  }

  .page-home .p-index-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .page-home .p-updates-grid {
    grid-template-columns: 1.35fr 0.85fr;
    align-items: start;
  }

  .page-home .p-updates-side {
    position: sticky;
    top: 100px;
    padding-left: 24px;
    border-left: 1px solid var(--mist-gray);
  }

  .page-home .p-help-layout {
    grid-template-columns: 1fr 1fr;
  }
}
