.page-home {
  --home-gradient-start: #F5F1E8;
  --home-gradient-end: #E8F1F5;
  --home-gold-soft: rgba(201, 162, 39, 0.14);
  --home-sky-soft: rgba(45, 143, 194, 0.10);
  --home-card-shadow: 0 18px 40px rgba(26, 34, 38, 0.08);
  --home-transition: cubic-bezier(0.22, 1, 0.36, 1);
  background:
    linear-gradient(135deg, var(--home-gradient-start) 0%, var(--home-gradient-end) 100%);
  overflow: hidden;
}

.page-home .content-container {
  max-width: var(--container-main);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.page-home .btn--sm {
  padding: 8px 18px;
  font-size: 14px;
}

.page-home h1,
.page-home h2,
.page-home h3 {
  font-family: var(--font-display);
  color: var(--ink);
}

.page-home h1 {
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 200;
  line-height: 1.16;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

.page-home h2 {
  font-size: clamp(26px, 2.6vw, 40px);
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
}

.page-home h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 10px;
}

.page-home p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--slate);
  margin: 0 0 16px;
}

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

.page-home .breadcrumb {
  margin: 0 0 28px;
}

.page-home .breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0;
}

.page-home .breadcrumb-current {
  font-family: var(--font-caption);
  font-size: 13px;
  color: var(--slate);
  letter-spacing: 0.04em;
}

.page-home .home-eyebrow {
  font-family: var(--font-caption);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--earth);
  margin: 0 0 14px;
}

.page-home .home-lead {
  font-size: 18px;
  line-height: 1.75;
  color: #2E3A3E;
  max-width: 520px;
  margin-bottom: 24px;
}

.page-home .home-hero {
  padding: 72px 0 0;
  border-bottom: 1px solid rgba(27, 94, 94, 0.15);
}

.page-home .home-hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 24px 48px;
}

.page-home .home-hero-text {
  position: relative;
  z-index: 4;
  padding-top: 28px;
}

.page-home .home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.page-home .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-sm);
  font-family: var(--font-caption);
  font-size: 15px;
  font-weight: 400;
  padding: 12px 26px;
  transition: transform 0.4s var(--home-transition), box-shadow 0.4s var(--home-transition);
  text-decoration: none;
}

.page-home .btn-primary {
  background: var(--grass);
  color: #FFFFFF;
  border: 1px solid var(--grass);
}

.page-home .btn-primary:hover {
  background: var(--forest);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(27, 94, 94, 0.22);
}

.page-home .btn-ghost {
  background: transparent;
  color: var(--grass);
  border: 1px solid rgba(27, 94, 94, 0.5);
}

.page-home .btn-ghost:hover {
  background: var(--home-gold-soft);
  border-color: var(--gold);
  color: var(--ink);
  transform: translateY(-2px);
}

.page-home .home-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0 0 18px;
  border-top: 1px solid rgba(27, 94, 94, 0.18);
  padding-top: 22px;
}

.page-home .home-stat {
  margin: 0;
}

.page-home .home-stat dt {
  font-family: var(--font-caption);
  font-size: 13px;
  color: var(--slate);
  margin-bottom: 4px;
}

.page-home .home-stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 200;
  color: var(--grass);
  line-height: 1.1;
  white-space: nowrap;
}

.page-home .home-hero-note {
  font-size: 14px;
  color: var(--slate);
  margin: 0;
}

.page-home .home-hero-visual {
  position: relative;
  min-height: 420px;
}

.page-home .home-hero-sky {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(160deg, #FDFBF5 0%, #E8F1F5 70%, #D9E8EE 100%);
}

.page-home .home-svg-cloud {
  position: absolute;
  top: 24px;
  right: -40px;
  width: 90%;
  height: auto;
}

.page-home .home-svg-sun {
  position: absolute;
  top: 72px;
  left: 12%;
  width: 130px;
  height: 130px;
  opacity: 1;
  animation: home-sun-breathe 5s ease-in-out infinite alternate;
}

@keyframes home-sun-breathe {
  from { transform: scale(0.98); opacity: 0.8; }
  to { transform: scale(1.04); opacity: 1; }
}

.page-home .home-hero-plains {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 2;
}

.page-home .home-svg-plain {
  width: 100%;
  height: auto;
  display: block;
}

.page-home .home-hero-slope {
  position: absolute;
  bottom: -20px;
  right: 0;
  width: 48%;
  height: 160px;
  background: var(--grass);
  clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%);
  opacity: 0.9;
  z-index: 3;
  border-radius: 0 0 24px 0;
}

.page-home .home-hero-mobile-card {
  position: absolute;
  top: 70px;
  right: 8%;
  width: 150px;
  z-index: 5;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 22px;
  padding: 10px;
  transform: rotate(2.5deg);
  box-shadow: 0 26px 56px rgba(26, 34, 38, 0.22);
}

.page-home .home-hero-mobile-card img {
  border-radius: 16px;
  width: 100%;
  height: auto;
}

.page-home .home-section {
  padding: var(--space-section) 0;
}

.page-home .home-visitor {
  background: #FFFFFF;
}

.page-home .home-visitor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 40px;
}

.page-home .home-visitor-story {
  max-width: 680px;
}

.page-home .home-visitor-story p:last-of-type {
  margin-bottom: 20px;
}

.page-home .home-inline-link,
.page-home .home-trust-link {
  font-family: var(--font-caption);
  font-size: 15px;
  font-weight: 600;
  color: var(--grass);
  text-decoration: none;
  border-bottom: 1px solid rgba(27, 94, 94, 0.35);
  padding-bottom: 2px;
  transition: border-color 0.3s, color 0.3s;
}

.page-home .home-inline-link:hover,
.page-home .home-trust-link:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.page-home .home-visitor-card {
  background: rgba(245, 241, 232, 0.72);
  border: 1px solid rgba(27, 94, 94, 0.15);
  border-radius: 20px;
  padding: 30px;
  backdrop-filter: blur(14px);
  box-shadow: var(--home-card-shadow);
}

.page-home .home-visitor-card h3 {
  margin-top: 12px;
}

.page-home .tag {
  display: inline-block;
  font-family: var(--font-caption);
  font-size: 12px;
  letter-spacing: 0.04em;
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 12px;
}

.page-home .tag--gold {
  background: var(--home-gold-soft);
  color: #8A6D1A;
  border: 1px solid rgba(201, 162, 39, 0.4);
}

.page-home .tag--earth {
  background: rgba(166, 93, 58, 0.12);
  color: #8A4D30;
  border: 1px solid rgba(166, 93, 58, 0.34);
}

.page-home .tag--jewel {
  background: rgba(122, 46, 59, 0.10);
  color: #7A2E3B;
  border: 1px solid rgba(122, 46, 59, 0.30);
}

.page-home .section-heading {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
}

.page-home .section-index {
  font-family: var(--font-caption);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.14em;
  font-weight: 600;
}

.page-home .section-title {
  margin: 0;
}

.page-home .section-desc {
  max-width: 720px;
  margin-bottom: 0;
}

.page-home .home-catalog {
  background: var(--grass);
  background: linear-gradient(140deg, #0F3B3B 0%, #1B5E5E 45%, #1E6868 100%);
  color: #F5F1E8;
}

.page-home .home-catalog .section-title,
.page-home .home-catalog .section-desc,
.page-home .home-catalog .section-desc p,
.page-home .home-catalog p {
  color: #F5F1E8;
}

.page-home .home-catalog .section-index {
  color: var(--gold);
}

.page-home .home-catalog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 44px 0 26px;
}

.page-home .home-catalog-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  text-decoration: none;
  transition: background 0.4s var(--home-transition), transform 0.4s var(--home-transition), border-color 0.4s;
}

.page-home .home-catalog-item:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: var(--gold);
  transform: translateX(5px);
}

.page-home .home-catalog-index {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 200;
  color: var(--gold);
  letter-spacing: 0.03em;
}

.page-home .home-catalog-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: #FFFFFF;
}

.page-home .home-catalog-count {
  font-family: var(--font-caption);
  font-size: 13px;
  color: rgba(245, 241, 232, 0.66);
}

.page-home .home-catalog-more {
  color: rgba(245, 241, 232, 0.82);
  font-size: 15px;
}

.page-home .home-catalog-more a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 162, 39, 0.45);
}

.page-home .home-catalog-more a:hover {
  color: #F5E7B5;
  border-bottom-color: #F5E7B5;
}

.page-home .home-history {
  background: #F5F1E8;
}

.page-home .home-history-scroll {
  margin-top: 44px;
  overflow-x: auto;
  padding-bottom: 14px;
  scroll-behavior: smooth;
}

.page-home .home-history-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 300px);
  gap: 22px;
}

.page-home .home-history-card {
  background: #FFFFFF;
  border: 1px solid rgba(60, 74, 77, 0.10);
  border-radius: 18px;
  padding: 20px;
  transition: transform 0.4s var(--home-transition), box-shadow 0.4s var(--home-transition);
}

.page-home .home-history-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(26, 34, 38, 0.12);
}

.page-home .home-history-thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  border-radius: 12px;
  margin-bottom: 16px;
}

.page-home .home-history-card p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 14px;
}

.page-home .home-history-card .time-meta {
  font-family: var(--font-caption);
  font-size: 12px;
  color: var(--slate);
  display: block;
  margin-top: 10px;
}

.page-home .home-history-card .home-history-body {
  margin-top: 6px;
}

.page-home .home-mobile {
  background: #FFFFFF;
}

.page-home .home-mobile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
}

.page-home .home-mobile-copy p {
  max-width: 580px;
}

.page-home .home-mobile-version {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 20px 0 26px;
  padding: 16px 18px;
  background: var(--home-sky-soft);
  border-radius: 16px;
  border: 1px solid rgba(45, 143, 194, 0.2);
}

.page-home .home-version-label {
  font-family: var(--font-caption);
  font-size: 14px;
  color: var(--slate);
}

.page-home .home-version-badge {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--sky);
  background: rgba(45, 143, 194, 0.14);
  padding: 4px 12px;
  border-radius: 999px;
}

.page-home .home-version-note {
  font-family: var(--font-caption);
  font-size: 13px;
  color: var(--slate);
}

.page-home .home-mobile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-home .home-mobile-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.page-home .home-mobile-visual-img {
  max-width: 280px;
  width: 100%;
  height: auto;
  border-radius: 28px;
  box-shadow: 0 30px 60px rgba(26, 34, 38, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.7);
  transform: rotate(1.5deg);
}

.page-home .home-update {
  background: #E8F1F5;
  border-top: 1px solid rgba(45, 143, 194, 0.18);
  border-bottom: 1px solid rgba(45, 143, 194, 0.18);
}

.page-home .home-update .section-desc {
  max-width: 720px;
}

.page-home .home-update-panel {
  position: relative;
  margin-top: 44px;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(170deg, #FDFBF5 0%, #E8F1F5 60%, #D5E5EC 100%);
  border: 1px solid rgba(45, 143, 194, 0.16);
  padding: 30px 24px 32px;
}

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

.page-home .home-update-wave {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}

.page-home .home-update-wave svg {
  width: 100%;
  height: auto;
  display: block;
}

.page-home .home-update-slots {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 22px;
}

.page-home .home-update-slot {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(27, 94, 94, 0.14);
  border-radius: 16px;
  backdrop-filter: blur(8px);
}

.page-home .home-update-time {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 200;
  color: var(--grass);
}

.page-home .home-update-label {
  font-family: var(--font-caption);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.page-home .home-update-count {
  font-family: var(--font-caption);
  font-size: 13px;
  color: var(--slate);
}

.page-home .home-update-note {
  position: relative;
  z-index: 1;
  font-size: 14px;
  color: var(--slate);
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(27, 94, 94, 0.12);
}

.page-home .home-trust {
  background: #F5F1E8;
  padding-top: 64px;
  padding-bottom: 72px;
}

.page-home .home-trust-card {
  background: rgba(245, 241, 232, 0.68);
  border: 1px solid rgba(27, 94, 94, 0.15);
  border-radius: 20px;
  padding: 34px 28px;
  backdrop-filter: blur(14px);
  box-shadow: var(--home-card-shadow);
}

.page-home .home-trust-text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 18px;
}

.page-home .home-trust-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 20px;
}

.page-home .home-trust-meta span {
  font-family: var(--font-caption);
  font-size: 13px;
  color: var(--slate);
  letter-spacing: 0.02em;
}

.page-home .home-trust-meta span::before {
  content: "◆";
  color: var(--gold);
  font-size: 10px;
  margin-right: 6px;
}

.page-home .home-mobile-visual-img:first-of-type {
  display: none;
}

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

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

  .page-home .home-update-slot {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .page-home .home-update-label {
    flex: 1;
  }

  .page-home .home-update-count {
    text-align: right;
  }
}

@media (min-width: 940px) {
  .page-home .home-hero {
    padding-top: 88px;
  }

  .page-home .home-hero-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 20px;
    align-items: center;
    padding-bottom: 72px;
  }

  .page-home .home-hero-text {
    padding-top: 0;
    padding-right: 36px;
  }

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

  .page-home .home-hero-mobile-card {
    top: 90px;
    right: 10%;
    width: 190px;
  }

  .page-home .home-svg-sun {
    width: 170px;
    height: 170px;
  }

  .page-home .home-section {
    padding: var(--space-section) 0;
  }

  .page-home .home-visitor-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
    gap: 60px;
    align-items: start;
  }

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

  .page-home .home-catalog-item {
    flex-direction: column;
    align-items: flex-start;
    min-height: 150px;
    padding: 22px;
  }

  .page-home .home-mobile-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
    gap: 64px;
  }

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

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

  .page-home .home-update-slots {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .page-home .home-trust-card {
    padding: 44px 48px;
  }
}

@media (min-width: 1200px) {
  .page-home .home-hero-inner {
    padding-left: 48px;
    padding-right: 48px;
  }

  .page-home .home-hero-mobile-card {
    width: 220px;
  }

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

@media (prefers-reduced-motion: reduce) {
  .page-home .home-svg-sun {
    animation: none;
  }

  .page-home .home-catalog-item:hover,
  .page-home .home-history-card:hover,
  .page-home .btn-primary:hover,
  .page-home .btn-ghost:hover {
    transform: none;
    transition: none;
  }
}
