.page-home {
  background: var(--warm-bg);
  color: var(--ink);
  position: relative;
}

.page-home [id] {
  scroll-margin-top: 88px;
}

.page-home .home-crumb {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 18px 20px 0;
  font-size: 13px;
  color: var(--gray);
}

.page-home .home-hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(232, 106, 51, 0.16) 0%, rgba(27, 138, 154, 0.06) 62%), var(--cream);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
  z-index: 0;
}

.page-home .home-hero::before {
  content: '';
  position: absolute;
  width: 170px;
  height: 170px;
  right: 4vw;
  top: 12%;
  border: 3px solid var(--apricot);
  border-radius: 34% 66% 62% 38%;
  transform: rotate(14deg);
  opacity: 0.5;
  z-index: 0;
}

.page-home .home-hero::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42%;
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--apricot) 0 12px, transparent 12px 24px);
  z-index: 1;
}

.page-home .home-hero__stamp {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: 3px solid rgba(232, 106, 51, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--apricot-dark);
  transform: rotate(-8deg);
  z-index: 2;
  background: rgba(255, 253, 248, 0.65);
  line-height: 1;
}

.page-home .home-hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  padding: 3rem 0 3.4rem;
  align-items: start;
}

.page-home .home-hero__kicker {
  font-family: var(--font-head);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 0.4rem;
  padding-right: 3rem;
}

.page-home .home-hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.7rem, 6vw, 5.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 900;
  margin: 0.4em 0 0.45em;
  color: var(--ink);
  padding-right: 3rem;
}

.page-home .home-hero__title::after {
  content: '';
  display: block;
  width: 80px;
  height: 6px;
  background: var(--apricot);
  margin-top: 0.55rem;
}

.page-home .home-hero__desc {
  max-width: 57em;
  font-size: 1.04rem;
  line-height: 1.85;
  color: #453f38;
}

.page-home .home-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.7rem;
  margin-top: 1.6rem;
}

.page-home .tag--solid {
  background: var(--apricot);
  color: #fff;
  border-color: var(--apricot);
}

.page-home .home-hero__side {
  border-left: 2px solid var(--apricot);
  padding-left: 1.1rem;
  align-self: start;
}

.page-home .home-hero__side .vert-label {
  display: inline-block;
  color: var(--apricot-dark);
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.page-home .home-index {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  margin-bottom: 1.4rem;
}

.page-home .home-index a {
  text-decoration: none;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.34rem 0 0.3rem;
  border-bottom: 1px dashed var(--line);
  transition: color 0.16s ease, border-color 0.16s ease;
}

.page-home .home-index a span {
  color: var(--apricot);
  font-weight: 900;
  font-size: 0.9rem;
}

.page-home .home-index a:hover {
  color: var(--apricot-dark);
  border-color: var(--apricot);
}

.page-home .home-hero__quick {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.8rem;
  font-size: 0.9rem;
}

.page-home .home-hero__quick > span {
  width: 100%;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--teal);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.page-home .home-hero__quick a {
  color: var(--gray);
  text-decoration: none;
}

.page-home .home-hero__quick a:hover {
  color: var(--apricot-dark);
  text-decoration: underline;
}

.page-home .home-sec {
  padding: 3rem 0;
  position: relative;
}

.page-home .home-sec__head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.8rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.8rem;
}

.page-home .home-sec__index {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--apricot);
  opacity: 0.45;
}

.page-home .home-sec__title {
  font-family: var(--font-head);
  font-size: clamp(1.45rem, 2.6vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.page-home .home-sec__head .vert-label {
  margin-left: auto;
}

.page-home .home-today {
  background: var(--warm-bg);
}

.page-home .home-today__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.4rem;
  align-items: stretch;
}

.page-home .home-today__card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-left: 4px solid var(--apricot);
  padding: 1.8rem 1.8rem 1.9rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.page-home .home-today__card::after {
  content: '';
  position: absolute;
  right: -1.2rem;
  top: -1.2rem;
  width: 110px;
  height: 110px;
  background: radial-gradient(circle, rgba(232, 106, 51, 0.18) 32%, transparent 35%);
  pointer-events: none;
}

.page-home .home-today__pill {
  display: inline-block;
  background: var(--apricot-light);
  color: var(--apricot-dark);
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.22rem 0.75rem;
  border-radius: 99px;
  margin-bottom: 0.8rem;
  border: 1px solid rgba(201, 74, 31, 0.15);
}

.page-home .home-today__card h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  line-height: 1.35;
  margin: 0 0 0.7rem;
}

.page-home .home-today__card p {
  margin: 0 0 1.2rem;
  color: #453f38;
}

.page-home .home-today__stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
}

.page-home .home-today__stats li {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 1rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  box-shadow: var(--shadow-sm);
}

.page-home .home-today__stats span {
  font-size: 0.8rem;
  color: var(--gray);
  font-family: var(--font-head);
}

.page-home .home-today__stats strong {
  font-family: var(--font-head);
  font-size: 1.35rem;
  color: var(--apricot-dark);
  line-height: 1.25;
}

.page-home .home-today__stats em {
  font-style: normal;
  color: var(--teal);
  font-size: 0.82rem;
}

.page-home .home-today__card a {
  margin-top: 0.3rem;
}

.page-home .home-updates {
  background: var(--apricot-light);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-home .home-updates__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.6rem;
  align-items: start;
}

.page-home .home-updates__visual {
  margin: 0;
  border: 1px solid var(--line);
  padding: 0.5rem;
  background: var(--cream);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.page-home .home-updates__visual::after {
  content: '';
  position: absolute;
  right: -8px;
  top: -8px;
  width: 30px;
  height: 30px;
  border-right: 3px solid var(--apricot);
  border-top: 3px solid var(--apricot);
}

.page-home .home-updates__visual img,
.page-home .home-switch__visual img,
.page-home .home-legacy__visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .home-updates__lead {
  font-size: 1.1rem;
  line-height: 1.8;
  margin: 0 0 1.1rem;
}

.page-home .home-updates__list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: update;
}

.page-home .home-updates__list li {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.2rem 1rem;
  padding: 0.8rem 0 0.8rem 2.3rem;
  border-bottom: 1px dashed rgba(45, 42, 38, 0.2);
  transition: background 0.16s ease, box-shadow 0.16s ease;
}

.page-home .home-updates__list li::before {
  counter-increment: update;
  content: counter(update, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.85rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--apricot-dark);
}

.page-home .home-updates__list li strong {
  font-family: var(--font-head);
  font-size: 1.02rem;
  color: var(--ink);
}

.page-home .home-updates__list li p {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
  color: #4f4942;
}

.page-home .home-updates__count {
  grid-column: 2;
  align-self: center;
  font-family: var(--font-head);
  font-size: 0.76rem;
  color: var(--teal);
  background: rgba(27, 138, 154, 0.08);
  border: 1px solid rgba(27, 138, 154, 0.2);
  padding: 0.14rem 0.55rem;
  border-radius: 99px;
  white-space: nowrap;
  transition: background 0.16s ease, color 0.16s ease;
}

.page-home .home-updates__list li:hover {
  background: rgba(255, 253, 248, 0.7);
  box-shadow: var(--shadow-sm);
}

.page-home .home-updates__list li:hover .home-updates__count {
  background: var(--teal);
  color: var(--cream);
}

.page-home .home-updates__sum {
  margin: 1.2rem 0 0;
  font-size: 0.95rem;
  color: var(--gray);
}

.page-home .home-switch {
  background: var(--warm-bg);
}

.page-home .home-switch__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.page-home .home-switch__text {
  position: relative;
}

.page-home .home-switch__steps {
  list-style: none;
  margin: 1.4rem 0;
  padding: 0;
  counter-reset: switch;
}

.page-home .home-switch__steps li {
  counter-increment: switch;
  position: relative;
  padding: 0.8rem 0 0.8rem 2.5rem;
  border-left: 1px solid rgba(27, 138, 154, 0.35);
  margin-left: 1.1rem;
  font-size: 0.98rem;
  line-height: 1.7;
  transition: border-color 0.16s ease;
}

.page-home .home-switch__steps li:hover {
  border-left-color: var(--apricot);
}

.page-home .home-switch__steps li::before {
  content: counter(switch);
  position: absolute;
  left: -1.1rem;
  top: 0.55rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1;
  border: 2px solid var(--warm-bg);
}

.page-home .home-switch__visual {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--cream);
  padding: 0.5rem;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.page-home .home-switch__visual::after {
  content: '';
  position: absolute;
  right: 0.7rem;
  top: 0.7rem;
  width: 14px;
  height: 14px;
  border-top: 2px solid var(--apricot);
  border-right: 2px solid var(--apricot);
}

.page-home .home-legacy {
  background: var(--cream);
  border-top: 1px solid var(--line);
}

.page-home .home-legacy::before {
  content: '';
  position: absolute;
  inset: 0.9rem;
  border: 1px dashed rgba(232, 106, 51, 0.45);
  pointer-events: none;
  z-index: 0;
}

.page-home .home-legacy .container {
  position: relative;
  z-index: 1;
}

.page-home .home-legacy__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.page-home .home-legacy__visual {
  margin: 0;
  border: 1px solid var(--line);
  padding: 0.4rem;
  background: var(--warm-bg);
}

.page-home .home-legacy__content > p:first-of-type {
  font-size: 1.04rem;
  line-height: 1.8;
}

.page-home .home-legacy__points {
  list-style: none;
  margin: 1.2rem 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.page-home .home-legacy__points li {
  background: var(--warm-bg);
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  padding: 0.6rem 0.8rem;
  font-size: 0.93rem;
}

.page-home .home-legacy__details {
  border: 1px solid rgba(201, 74, 31, 0.3);
  background: var(--apricot-light);
  margin: 0 0 1.3rem;
  padding: 0.2rem 0.8rem;
}

.page-home .home-legacy__details summary {
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--apricot-dark);
  padding: 0.6rem 0;
  list-style-position: inside;
}

.page-home .home-legacy__details p {
  margin: 0 0 0.8rem;
  font-size: 0.94rem;
  line-height: 1.7;
}

.page-home .home-feedback {
  background: var(--ink);
  color: var(--cream);
}

.page-home .home-feedback__inner {
  max-width: 960px;
  margin: 0 auto;
}

.page-home .home-feedback .home-sec__index {
  color: var(--apricot);
  opacity: 0.9;
}

.page-home .home-feedback .home-sec__title {
  color: #fff;
}

.page-home .home-feedback .home-sec__head {
  border-bottom-color: rgba(255, 255, 255, 0.22);
}

.page-home .home-feedback .home-sec__head .vert-label {
  color: rgba(255, 255, 255, 0.65);
}

.page-home .home-feedback__lead {
  max-width: 44em;
  font-size: 1.1rem;
  line-height: 1.85;
  margin: 0;
}

.page-home .home-feedback__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.6rem 0 0;
}

.page-home .home-feedback .btn--ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--cream);
}

.page-home .home-feedback__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  margin-top: 1.6rem;
  padding-top: 1rem;
}

@media (min-width: 680px) {
  .page-home .home-today__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 860px) {
  .page-home .home-updates__layout {
    grid-template-columns: 340px minmax(0, 1fr);
  }

  .page-home .home-switch__layout {
    grid-template-columns: minmax(0, 1fr) 330px;
  }

  .page-home .home-legacy__layout {
    grid-template-columns: 400px minmax(0, 1fr);
  }

  .page-home .home-today__grid {
    grid-template-columns: minmax(0, 1fr) 340px;
  }

  .page-home .home-today__card {
    padding: 2rem 2rem 2rem 2rem;
  }
}

@media (min-width: 1024px) {
  .page-home .home-hero {
    min-height: 760px;
  }

  .page-home .home-hero__stamp {
    top: 2rem;
    right: 2.4rem;
    width: 76px;
    height: 76px;
    font-size: 2.4rem;
  }

  .page-home .home-hero__layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    padding: 5rem 0 4.2rem;
  }

  .page-home .home-hero__desc {
    font-size: 1.08rem;
  }

  .page-home .home-hero__title,
  .page-home .home-hero__kicker {
    padding-right: 0;
  }

  .page-home .home-sec {
    padding: 4rem 0;
  }
}
