.page-home {
  --home-gold: #C9A227;
  --home-gold-soft: rgba(201, 162, 39, 0.16);
  --home-gold-line: rgba(201, 162, 39, 0.38);
  --home-green: #0B3B2D;
  --home-green-deep: #072A20;
  --home-green-light: #1F5A44;
  --home-orange: #E67E22;
  --home-dark: #1A1A1A;
  --home-light: #F5F5F0;
  --home-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  background: var(--home-light);
  color: var(--home-dark);
  overflow-x: hidden;
}

.page-home .home-hero {
  background: var(--home-green-deep);
  color: #FFFFFF;
  padding: 28px 16px 56px;
  position: relative;
}

.page-home .hero-frame {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  border: 1px solid var(--home-gold-line);
  padding: 22px 22px 44px;
  background: linear-gradient(160deg, rgba(11, 59, 45, 0.5) 0%, rgba(7, 42, 32, 0.9) 100%);
}

.page-home .frame-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid var(--home-gold);
  z-index: 2;
}

.page-home .frame-tl {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}

.page-home .frame-tr {
  top: -1px;
  right: -1px;
  border-width: 2px 2px 0 0;
}

.page-home .frame-bl {
  bottom: -1px;
  left: -1px;
  border-width: 0 0 2px 2px;
}

.page-home .frame-br {
  bottom: -1px;
  right: -1px;
  border-width: 0 2px 2px 0;
}

.page-home .frame-scale {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: -9px;
  left: 28px;
  right: 28px;
  color: var(--home-gold);
  font-family: var(--home-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  z-index: 1;
}

.page-home .frame-scale span::after {
  content: "";
  display: block;
  width: 1px;
  height: 6px;
  background: var(--home-gold);
  margin: 3px auto 0;
}

.page-home .hero-breadcrumb {
  margin: 0 0 18px;
  padding: 0;
}

.page-home .hero-breadcrumb ol {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  font-family: var(--home-mono);
  font-size: 0.8rem;
}

.page-home .hero-breadcrumb a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.page-home .hero-breadcrumb a:hover {
  border-color: var(--home-gold);
  color: #FFFFFF;
}

.page-home .hero-breadcrumb [aria-current="page"] {
  color: var(--home-gold);
}

.page-home .hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  position: relative;
  border-top: 1px solid var(--home-gold-line);
  padding-top: 16px;
}

.page-home .hero-copy .eyebrow {
  color: var(--home-gold);
  margin: 0 0 14px;
}

.page-home .hero-copy h1 {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  line-height: 1.06;
  margin: 0 0 10px;
  color: #FFFFFF;
  letter-spacing: 0.02em;
}

.page-home .hero-subtitle {
  color: var(--home-gold);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin: 0 0 16px;
}

.page-home .hero-desc {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.78);
  max-width: 520px;
  margin: 0;
}

.page-home .hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
  border-top: 1px solid var(--home-gold-line);
  border-bottom: 1px solid var(--home-gold-line);
  padding: 18px 0;
  max-width: 520px;
}

.page-home .hero-stat strong {
  display: block;
  font-family: var(--home-mono);
  color: var(--home-orange);
  font-size: 1.6rem;
  line-height: 1.2;
}

.page-home .hero-stat span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

.page-home .hero-cta {
  margin-top: 28px;
}

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

.page-home .hero-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border: 1px solid var(--home-gold-line);
  background: var(--home-green);
}

.page-home .hero-img-caption {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--home-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
}

.page-home .hero-vertical-note {
  position: absolute;
  right: -4px;
  bottom: 12px;
  writing-mode: vertical-rl;
  color: var(--home-gold);
  font-family: var(--home-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  opacity: 0.8;
}

.page-home .hero-edition {
  position: absolute;
  top: -10px;
  right: 26px;
  background: var(--home-green-deep);
  color: var(--home-gold);
  font-family: var(--home-mono);
  font-size: 10px;
  padding: 2px 10px;
  border: 1px solid var(--home-gold-line);
  letter-spacing: 0.12em;
}

.page-home .home-notice {
  background: #FFFFFF;
  padding: 56px 0;
}

.page-home .home-notice .section-note {
  color: var(--home-green);
}

.page-home .notice-grid {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}

.page-home .notice-card {
  background: var(--home-light);
  border: 1px solid rgba(11, 59, 45, 0.12);
  border-top: 3px solid var(--home-gold);
  padding: 20px;
  position: relative;
}

.page-home .notice-num {
  font-family: var(--home-mono);
  color: var(--home-gold);
  font-size: 0.9rem;
  display: block;
}

.page-home .notice-card h3 {
  font-size: 1.05rem;
  margin: 16px 0 8px;
  color: var(--home-green);
}

.page-home .notice-card p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #444444;
  margin: 0;
}

.page-home .notice-img {
  background: var(--home-green-deep);
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-home .notice-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  max-height: 240px;
  border: 1px solid var(--home-gold-line);
}

.page-home .home-cats {
  background: var(--home-green);
  color: #FFFFFF;
  padding: 56px 0;
}

.page-home .home-cats .eyebrow {
  color: var(--home-gold);
}

.page-home .home-cats .section-note {
  color: rgba(255, 255, 255, 0.45);
}

.page-home .home-cats .section-title {
  color: #FFFFFF;
}

.page-home .cats-intro {
  color: rgba(255, 255, 255, 0.78);
  margin: 8px 0 28px;
  line-height: 1.7;
}

.page-home .cats-grid {
  display: grid;
  gap: 18px;
}

.page-home .cat-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--home-gold-soft);
  padding: 22px;
  position: relative;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.page-home .cat-card:hover,
.page-home .cat-card:focus-within {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--home-gold);
}

.page-home .cat-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-home .cat-tag {
  background: rgba(201, 162, 39, 0.18);
  border: 1px solid rgba(201, 162, 39, 0.5);
  color: var(--home-gold);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  text-transform: uppercase;
}

.page-home .cat-num {
  font-family: var(--home-mono);
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.25);
}

.page-home .cat-card h3 {
  font-size: 1.45rem;
  margin: 18px 0 8px;
  color: #FFFFFF;
}

.page-home .cat-card-desc {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  line-height: 1.7;
  min-height: 48px;
  margin: 0;
}

.page-home .cat-points {
  list-style: none;
  margin: 16px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .cat-points li {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 999px;
}

.page-home .cats-extra {
  display: grid;
  gap: 18px;
  margin-top: 26px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px;
}

.page-home .cats-extra .eyebrow {
  color: var(--home-gold);
  margin: 0 0 6px;
}

.page-home .cats-extra h3 {
  color: #FFFFFF;
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.page-home .cats-extra p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  font-size: 0.9rem;
  margin: 0;
}

.page-home .cats-btn {
  margin-top: 14px;
}

.page-home .cats-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  border: 1px solid var(--home-gold-line);
}

.page-home .home-history {
  background: var(--home-light);
  padding: 56px 0;
}

.page-home .home-history .section-note {
  color: var(--home-green);
}

.page-home .history-intro {
  margin: 8px 0 28px;
  color: #333333;
  max-width: 640px;
  line-height: 1.7;
}

.page-home .history-grid {
  display: grid;
  gap: 24px;
}

.page-home .history-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(11, 59, 45, 0.2);
}

.page-home .history-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  align-content: start;
}

.page-home .history-stat {
  background: #FFFFFF;
  border: 1px solid rgba(11, 59, 45, 0.12);
  padding: 18px 14px;
  position: relative;
}

.page-home .history-stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--home-gold);
  transform: scaleX(0.4);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.page-home .history-stat:hover::before {
  transform: scaleX(1);
}

.page-home .history-stat strong {
  display: block;
  font-family: var(--home-mono);
  font-size: 1.5rem;
  color: var(--home-green);
}

.page-home .history-stat span {
  font-size: 0.78rem;
  color: #666666;
}

.page-home .history-fold {
  background: #FFFFFF;
  border: 1px solid rgba(11, 59, 45, 0.12);
  padding: 16px;
}

.page-home .history-fold h3 {
  font-size: 1rem;
  margin: 0 0 10px;
  color: var(--home-green);
}

.page-home .history-item {
  border-top: 1px solid rgba(11, 59, 45, 0.1);
  padding: 8px 0;
}

.page-home .history-item summary {
  cursor: pointer;
  color: var(--home-green);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 0;
}

.page-home .history-item p {
  color: #555555;
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0 0 8px;
  padding-left: 12px;
  border-left: 2px solid var(--home-gold);
}

.page-home .home-guide {
  background: var(--home-green-deep);
  color: #FFFFFF;
  padding: 56px 0;
}

.page-home .home-guide .eyebrow {
  color: var(--home-gold);
}

.page-home .home-guide .section-note {
  color: rgba(201, 162, 39, 0.5);
}

.page-home .home-guide .section-title {
  color: #FFFFFF;
}

.page-home .guide-intro {
  color: rgba(255, 255, 255, 0.72);
  margin: 8px 0 28px;
  line-height: 1.7;
}

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

.page-home .guide-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.page-home .guide-item:hover {
  border-color: var(--home-gold);
  background: rgba(255, 255, 255, 0.11);
}

.page-home .guide-index {
  font-family: var(--home-mono);
  font-size: 1.6rem;
  color: var(--home-gold);
  opacity: 0.9;
}

.page-home .guide-body h3 {
  color: #FFFFFF;
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.page-home .guide-body p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0;
}

.page-home .guide-action {
  margin-top: 26px;
}

.page-home .home-download {
  background: var(--home-light);
  padding: 56px 0;
}

.page-home .download-panel {
  background: linear-gradient(135deg, var(--home-green) 0%, var(--home-green-deep) 100%);
  color: #FFFFFF;
  border: 1px solid rgba(201, 162, 39, 0.4);
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.page-home .download-panel::after {
  content: "CLEARING / DOWNLOAD";
  position: absolute;
  right: -14px;
  bottom: 10px;
  writing-mode: vertical-rl;
  font-family: var(--home-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(201, 162, 39, 0.35);
}

.page-home .download-panel .eyebrow {
  color: var(--home-gold);
  margin: 0;
}

.page-home .download-panel .section-title {
  color: #FFFFFF;
}

.page-home .download-panel .section-note {
  color: rgba(255, 255, 255, 0.45);
}

.page-home .download-desc {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
  max-width: 640px;
  margin: 16px 0;
}

.page-home .download-tip {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.8rem;
  margin: 16px 0 0;
}

@media (min-width: 768px) {
  .page-home .home-hero {
    padding: 40px 24px 64px;
  }

  .page-home .hero-frame {
    padding: 28px 28px 52px;
  }

  .page-home .hero-frame-scale {
    left: 36px;
    right: 36px;
  }

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

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

  .page-home .cats-extra {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

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

  .page-home .history-visual {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }

  .page-home .history-stats {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
  }

  .page-home .history-fold {
    grid-column: 1 / -1;
  }

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

  .page-home .guide-item {
    grid-template-columns: 64px 1fr;
    padding: 20px;
  }
}

@media (min-width: 960px) {
  .page-home .hero-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 40px;
    align-items: center;
  }

  .page-home .hero-visual {
    min-height: 320px;
  }

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

  .page-home .history-grid {
    grid-template-columns: 1.1fr 0.9fr 1fr;
  }

  .page-home .history-visual {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }

  .page-home .history-stats {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
  }

  .page-home .history-fold {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
  }

  .page-home .download-panel {
    padding: 40px;
  }
}
