.home-modern {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1rem 0 4rem;
}

.home-hero {
  padding: clamp(3rem, 8vw, 7rem) 0 clamp(3rem, 7vw, 6rem);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.home-eyebrow,
.home-section__eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-hero h1 {
  max-width: 920px;
  margin: 0.65rem 0 1rem;
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.home-hero > p {
  max-width: 760px;
  margin: 0;
  color: #4c5965;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.6;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.7rem;
}

.home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.76rem 1.05rem;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  color: #202a33 !important;
  font-weight: 800;
  text-decoration: none !important;
  background: #fff;
}

.home-button:hover {
  border-color: var(--accent);
  color: var(--accent) !important;
}

.home-button--primary {
  border-color: #17202a;
  background: #17202a;
  color: #fff !important;
}

.home-button--primary:hover {
  background: var(--accent);
  color: #fff !important;
}

.home-section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.home-section__heading {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 1.6rem;
}

.home-section__heading h2,
.home-archive h2 {
  margin: 0.3rem 0 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.home-section__heading > a {
  flex: 0 0 auto;
  font-weight: 800;
  text-decoration: none;
}

.home-section__intro {
  max-width: 800px;
  margin: -0.45rem 0 1.7rem;
  color: #5c6975;
  font-size: 1.05rem;
  line-height: 1.65;
}

.home-path-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.home-path-card {
  position: relative;
  min-height: 310px;
  padding: 1.7rem;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 20px;
  color: #202a33 !important;
  text-decoration: none !important;
  background: #fff;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.home-path-card:hover {
  transform: translateY(-3px);
  border-color: rgba(57, 120, 197, 0.32);
  box-shadow: 0 18px 44px rgba(24, 39, 55, 0.09);
}

.home-path-card__number {
  position: absolute;
  top: 1.4rem;
  right: 1.5rem;
  color: #d4dbe2;
  font-size: 2.2rem;
  font-weight: 900;
}

.home-path-card__level {
  display: inline-block;
  padding: 0.34rem 0.55rem;
  border-radius: 999px;
  background: #eef3f8;
  color: #65727d;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.home-path-card h3 {
  max-width: 440px;
  margin: 1.5rem 0 0.7rem;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  line-height: 1.1;
}

.home-path-card p {
  max-width: 500px;
  color: #5a6671;
  line-height: 1.65;
}

.home-path-card strong {
  position: absolute;
  left: 1.7rem;
  bottom: 1.55rem;
  color: var(--accent);
}

.home-ai {
  position: relative;
}

.home-prompt-grid,
.home-latest-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.home-prompt-card,
.home-latest-card {
  padding: 1.4rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  background: #fff;
}

.home-prompt-card > span {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-prompt-card h3,
.home-latest-card h3 {
  margin: 0.55rem 0 0.55rem;
  font-size: 1.3rem;
  line-height: 1.25;
}

.home-prompt-card h3 a,
.home-latest-card h3 a {
  color: #202a33;
  text-decoration: none;
}

.home-prompt-card p,
.home-latest-card p {
  color: #5a6671;
  line-height: 1.58;
}

.home-prompt-card__action,
.home-latest-card__action {
  font-weight: 800;
  text-decoration: none;
}

.home-latest-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-latest-card {
  display: flex;
  min-height: 265px;
  flex-direction: column;
}

.home-latest-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: #84909a;
  font-size: 0.76rem;
  font-weight: 700;
}

.home-latest-card__meta span::before {
  content: "·";
  margin-right: 0.5rem;
}

.home-latest-card__action {
  margin-top: auto;
}

.home-archive {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  padding: clamp(3rem, 7vw, 5rem) 0 1rem;
}

.home-archive > div {
  max-width: 760px;
}

.home-archive p {
  color: #5b6873;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .home-latest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .home-path-grid,
  .home-prompt-grid,
  .home-latest-grid {
    grid-template-columns: 1fr;
  }

  .home-section__heading,
  .home-archive {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-path-card {
    min-height: 300px;
  }
}
