.page-home {
  --ph-gap: 16px;
  --ph-section-pad: 64px;
  --ph-card-padding: 22px;
  background: var(--bg-deep);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  line-height: 1.7;
  overflow-x: clip;
}

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

.page-home section[id] {
  scroll-margin-top: calc(var(--header-total) + 16px);
}

.page-home .ph-board-section,
.page-home .ph-account-section,
.page-home .ph-products-section,
.page-home .ph-archive-section,
.page-home .ph-links-section {
  padding: var(--ph-section-pad) 0;
  position: relative;
}

.page-home .ph-board-section {
  background: linear-gradient(180deg, rgba(18, 26, 58, 0.35), transparent 50%);
}

.page-home .ph-account-section {
  background: radial-gradient(circle at 80% 20%, rgba(74, 58, 255, 0.16), transparent 42%);
}

.page-home .ph-products-section {
  background: linear-gradient(180deg, transparent, rgba(18, 26, 58, 0.42) 50%, transparent);
}

.page-home .ph-archive-section {
  background: radial-gradient(circle at 15% 60%, rgba(0, 229, 255, 0.12), transparent 38%);
}

.page-home .ph-links-section {
  background: linear-gradient(180deg, transparent, rgba(18, 26, 58, 0.5));
}

.page-home .ph-section-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 40px;
}

.page-home .ph-section-index {
  font-size: 3rem;
  font-weight: 300;
  line-height: 1;
  min-width: 2.2ch;
  color: rgba(0, 229, 255, 0.9);
  -webkit-text-stroke: 1px rgba(0, 229, 255, 0.4);
  text-stroke: 1px rgba(0, 229, 255, 0.4);
}

.page-home .ph-section-title-wrap {
  min-width: 0;
}

.page-home .ph-section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--text-high);
  margin: 0 0 10px;
}

.page-home .ph-section-desc {
  max-width: 68ch;
  color: var(--text-secondary);
  font-size: 0.98rem;
}

.page-home .ph-hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-deep);
  padding: 96px 0 72px;
}

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

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

.page-home .ph-hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 20%, rgba(74, 58, 255, 0.42), transparent 45%),
    radial-gradient(circle at 15% 75%, rgba(0, 229, 255, 0.18), transparent 40%),
    linear-gradient(120deg, rgba(10, 14, 39, 0.72), rgba(18, 26, 58, 0.42));
}

.page-home .ph-hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 32px;
}

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

.page-home .ph-hero-kicker {
  color: var(--neon-cyan);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
}

.page-home .ph-hero-title {
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  font-weight: 900;
  line-height: 1.08;
  color: var(--text-high);
  margin: 16px 0 20px;
  letter-spacing: -0.02em;
}

.page-home .ph-hero-lead {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin: 0 0 28px;
  max-width: 58ch;
}

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

.page-home .ph-hero-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.page-home .ph-stage-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px;
  border-radius: var(--radius-xl);
  background: rgba(18, 26, 58, 0.82);
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(8px);
}

.page-home .ph-stage-main {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(74, 58, 255, 0.28), rgba(18, 26, 58, 0.92));
  border-color: rgba(0, 229, 255, 0.35);
  padding: 24px;
}

.page-home .ph-stage-accent {
  border-color: rgba(255, 46, 154, 0.35);
}

.page-home .ph-stage-cyan {
  border-color: rgba(0, 229, 255, 0.35);
}

.page-home .ph-stage-code {
  color: var(--text-secondary);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.page-home .ph-stage-value {
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1;
  color: var(--neon-cyan);
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
}

.page-home .ph-stage-main .ph-stage-value {
  font-size: clamp(2.8rem, 6vw, 4rem);
}

.page-home .ph-value-inline {
  font-size: inherit;
}

.page-home .ph-stage-label {
  color: var(--text-high);
  font-weight: 600;
  font-size: 1rem;
}

.page-home .ph-stage-sub {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.page-home .ph-stage-timeline {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(18, 26, 58, 0.72);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 14px 18px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  min-width: 0;
}

.page-home .ph-timeline-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 12px var(--mint);
  flex: 0 0 auto;
}

.page-home .ph-account-zone {
  position: fixed;
  top: calc(var(--header-total) + 16px);
  right: 16px;
  z-index: 70;
}

.page-home .ph-account-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: rgba(18, 26, 58, 0.88);
  backdrop-filter: blur(10px);
  color: var(--neon-cyan);
  font-family: var(--font-sans);
  font-size: 0.94rem;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(74, 58, 255, 0.35);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.page-home .ph-account-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0, 229, 255, 0.28);
}

.page-home .ph-account-ping {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 12px var(--mint);
}

.page-home .ph-account-drawer {
  position: fixed;
  top: calc(var(--header-total) + 76px);
  right: 16px;
  z-index: 70;
  width: min(340px, calc(100vw - 32px));
  background: var(--bg-raised);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(10, 14, 39, 0.6);
  padding: 24px;
  box-sizing: border-box;
  transform: translateX(calc(100% + 48px));
  transition: transform var(--transition-base);
}

.page-home .ph-account-drawer[data-open] {
  transform: translateX(0);
}

.page-home .ph-drawer-code {
  display: block;
  color: var(--neon-cyan);
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.page-home .ph-drawer-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text-high);
  margin: 0 0 8px;
  line-height: 1.3;
}

.page-home .ph-drawer-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0 0 16px;
}

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

.page-home .ph-drawer-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-high);
}

.page-home .ph-drawer-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-cyan);
  flex: 0 0 auto;
}

.page-home .ph-board-layout {
  display: grid;
  gap: 28px;
  align-items: start;
}

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

.page-home .ph-board-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: var(--ph-card-padding);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text-high);
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.page-home .ph-board-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-soft);
  box-shadow: 0 12px 32px rgba(108, 92, 231, 0.22);
}

.page-home .ph-board-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.page-home .ph-board-code {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.page-home .ph-board-card-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.page-home .ph-board-card-meta {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.page-home .ph-board-card-rotating {
  border-color: rgba(255, 46, 154, 0.28);
  background: linear-gradient(135deg, rgba(255, 46, 154, 0.08), var(--bg-card) 55%);
}

.page-home .ph-board-aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-home .ph-board-img {
  width: 100%;
  border-radius: var(--radius-xl);
}

.page-home .ph-board-note {
  font-size: 0.9rem;
  color: var(--text-secondary);
  background: rgba(18, 26, 58, 0.72);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  margin: 0;
}

.page-home .ph-account-layout {
  display: grid;
  gap: 28px;
  align-items: center;
}

.page-home .ph-radar-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  background: var(--bg-raised);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 28px;
}

.page-home .ph-radar-graphic {
  width: 100%;
  max-width: 300px;
  height: auto;
}

.page-home .ph-radar-grid {
  fill: none;
  stroke: rgba(0, 229, 255, 0.22);
  stroke-width: 1;
}

.page-home .ph-radar-fill {
  fill: rgba(0, 229, 255, 0.12);
  stroke: var(--neon-cyan);
  stroke-width: 2;
}

.page-home .ph-radar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.82rem;
}

.page-home .ph-legend-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-cyan);
}

.page-home .ph-radar-note {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-align: center;
  max-width: 38ch;
}

.page-home .ph-account-list {
  display: grid;
  gap: 14px;
}

.page-home .ph-account-item {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.page-home .ph-account-num {
  min-width: 5ch;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--neon-cyan);
  text-align: center;
}

.page-home .ph-account-item-copy {
  min-width: 0;
}

.page-home .ph-account-item h3 {
  margin: 0 0 4px;
  font-size: 1.02rem;
  color: var(--text-high);
}

.page-home .ph-account-item p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.page-home .ph-account-open-btn {
  justify-self: start;
}

.page-home .ph-products-layout {
  display: grid;
  gap: 28px;
  align-items: start;
}

.page-home .ph-products-copy {
  display: grid;
  gap: 16px;
}

.page-home .ph-product-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 28px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  background: var(--bg-raised);
}

.page-home .ph-product-trial {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.16), var(--bg-raised) 48%);
  border-color: rgba(0, 229, 255, 0.3);
}

.page-home .ph-product-download {
  background: linear-gradient(135deg, rgba(255, 46, 154, 0.14), var(--bg-raised) 48%);
  border-color: rgba(255, 46, 154, 0.28);
}

.page-home .ph-product-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-high);
  margin: 0;
  line-height: 1.4;
}

.page-home .ph-product-block p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.page-home .ph-product-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-home .ph-product-stats li {
  background: rgba(10, 14, 39, 0.55);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.page-home .ph-product-stats .mono-text {
  color: var(--neon-cyan);
  font-weight: 600;
}

.page-home .ph-product-link {
  color: var(--neon-cyan);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(0, 229, 255, 0.35);
  padding-bottom: 2px;
}

.page-home .ph-products-figure,
.page-home .ph-archive-figure {
  margin: 0;
}

.page-home .ph-products-img,
.page-home .ph-archive-img {
  width: 100%;
  border-radius: var(--radius-xl);
  display: block;
}

.page-home .ph-products-figure figcaption,
.page-home .ph-archive-figure figcaption {
  margin-top: 10px;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.page-home .ph-archive-layout {
  display: grid;
  gap: 28px;
  align-items: center;
}

.page-home .ph-archive-title {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text-high);
  margin: 0 0 12px;
  line-height: 1.25;
}

.page-home .ph-archive-content p {
  margin: 0 0 14px;
  color: var(--text-secondary);
}

.page-home .ph-archive-timeline {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.page-home .ph-archive-timeline li {
  position: relative;
  padding: 10px 0 10px 24px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.page-home .ph-archive-timeline li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(0, 229, 255, 0.25);
}

.page-home .ph-archive-timeline li:last-child::before {
  bottom: auto;
  height: 20px;
}

.page-home .ph-archive-timeline li::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 22px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.6);
}

.page-home .ph-year {
  color: var(--neon-cyan);
  font-weight: 600;
  margin-right: 12px;
  font-size: 0.95rem;
}

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

.page-home .ph-links-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.page-home .ph-link-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  text-decoration: none;
  color: var(--text-high);
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.page-home .ph-link-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-soft);
  box-shadow: 0 12px 32px rgba(108, 92, 231, 0.2);
}

.page-home button.ph-link-card {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  color: var(--text-high);
}

.page-home .ph-link-major {
  background: linear-gradient(135deg, rgba(74, 58, 255, 0.22), var(--bg-card) 60%);
  border-color: rgba(0, 229, 255, 0.28);
}

.page-home .ph-link-code {
  color: var(--neon-cyan);
  font-size: 0.8rem;
}

.page-home .ph-link-card strong {
  font-size: 1.05rem;
  font-weight: 700;
}

.page-home .ph-link-card span:last-child {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.5;
}

@media (min-width: 640px) {
  .page-home .ph-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .page-home .ph-section-head {
    margin-bottom: 48px;
  }

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

  .page-home .ph-hero-stage {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .page-home .ph-stage-main {
    grid-column: auto;
  }

  .page-home .ph-stage-timeline {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .page-home {
    --ph-section-pad: 88px;
  }

  .page-home .ph-hero-container {
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
  }

  .page-home .ph-hero-stage {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "main accent"
      "main cyan";
    gap: 16px;
  }

  .page-home .ph-stage-main {
    grid-area: main;
  }

  .page-home .ph-stage-accent {
    grid-area: accent;
  }

  .page-home .ph-stage-cyan {
    grid-area: cyan;
  }

  .page-home .ph-stage-timeline {
    grid-column: 1 / -1;
  }

  .page-home .ph-board-layout {
    grid-template-columns: 1fr 260px;
  }

  .page-home .ph-account-layout {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .page-home .ph-products-layout {
    grid-template-columns: 1fr 1.1fr;
  }

  .page-home .ph-archive-layout {
    grid-template-columns: 0.9fr 1.1fr;
  }

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

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

@media (max-width: 640px) {
  .page-home .ph-account-btn {
    width: 48px;
    padding: 0;
    justify-content: center;
  }

  .page-home .ph-account-label {
    display: none;
  }

  .page-home .ph-account-drawer {
    right: 12px;
  }

  .page-home .ph-section-index {
    font-size: 2.3rem;
  }

  .page-home .ph-section-head {
    gap: 12px;
  }

  .page-home .ph-hero-title {
    font-size: clamp(2.2rem, 13vw, 3.2rem);
  }

  .page-home .ph-timeline-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    animation: none !important;
    transition: none !important;
  }

  .page-home .ph-board-card,
  .page-home .ph-link-card,
  .page-home .ph-account-btn {
    transform: none !important;
  }

  .page-home .ph-account-drawer {
    transition: none;
  }

  .page-home [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
