/* Homepage components use the same Upravio visual language as the other public pages. */
.home-editorial {
  background: #fff;
  color: var(--ink);
}

.home-editorial .hero {
  padding: 0;
  background: linear-gradient(125deg, #edf4ff, #fff 55%, #e8fbf8);
}

.home-editorial .hero::before {
  display: block;
}

.home-editorial .hero .wrap {
  position: relative;
  z-index: 1;
}

.home-editorial .hero-folio {
  display: flex;
  justify-content: space-between;
  padding: 18px 0 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
}

.home-editorial .hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(400px, .95fr);
  gap: clamp(48px, 7vw, 88px);
  padding: clamp(64px, 7vw, 94px) 0 58px;
}

.home-editorial .hero-copy {
  max-width: 680px;
}

.home-editorial .hero h1 {
  max-width: 760px;
  font-size: clamp(45px, 6vw, 72px);
}

.home-editorial .hero .lead {
  max-width: 650px;
}

.home-editorial .text-link {
  color: var(--blue2);
  font-weight: 780;
  text-underline-offset: 5px;
}

.home-editorial .micro {
  max-width: 620px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.home-editorial .work-register {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.home-editorial .register-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 20px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.home-editorial .register-head span {
  grid-column: 1 / -1;
  color: var(--blue2);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .1em;
}

.home-editorial .register-head strong {
  color: var(--navy);
  font-size: 21px;
}

.home-editorial .register-head small {
  align-self: end;
  color: var(--muted);
}

.home-editorial .register-totals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-bottom: 1px solid var(--line);
  background: #f7f9fd;
}

.home-editorial .register-totals div {
  padding: 16px 18px;
  border-right: 1px solid var(--line);
}

.home-editorial .register-totals div:last-child {
  border-right: 0;
}

.home-editorial .register-totals dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
}

.home-editorial .register-totals dd {
  margin: 5px 0 0;
  color: var(--navy);
  font-size: 30px;
  font-weight: 850;
  line-height: 1;
}

.home-editorial .register-list article {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.home-editorial .register-list b,
.home-editorial .register-list small {
  display: block;
  line-height: 1.4;
}

.home-editorial .register-list b {
  color: var(--navy);
  font-size: 14px;
}

.home-editorial .register-list small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.home-editorial .register-status {
  align-self: start;
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .05em;
}

.home-editorial .register-status.is-today {
  color: var(--blue2);
}

.home-editorial .register-status.is-blocked {
  color: #805c13;
}

.home-editorial .register-status.is-review {
  color: #08796a;
}

.home-editorial .register-foot {
  margin: 0;
  padding: 13px 18px;
  background: #f7f9fd;
  color: var(--muted);
  font-size: 12px;
}

.home-editorial .hero-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.home-editorial .hero-principles span {
  padding: 18px 0;
  color: #3f4d64;
  font-size: 13px;
}

.home-editorial .hero-principles b {
  margin-right: 10px;
  color: var(--blue2);
}

.home-editorial .card-icon {
  margin-bottom: 18px;
}

.home-editorial .card h3 {
  margin-top: 0;
}

.home-editorial .product-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f7f9fd;
}

.home-editorial .product-proof span {
  min-width: 0;
  padding: 18px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.home-editorial .product-proof span:last-child {
  border-right: 0;
}

.home-editorial .product-proof b {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 14px;
}

.home-editorial .quote-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.home-editorial .quote-points li {
  color: #dbe7f7;
  font-size: 13px;
}

.home-editorial .quote-points li::before {
  content: "✓";
  margin-right: 7px;
  color: #79eadf;
  font-weight: 900;
}

.home-editorial .dark .process li {
  grid-template-columns: 42px minmax(0, 1fr);
}

.home-editorial .dark .process li::before {
  grid-row: 1;
}

.home-editorial .dark .process li > div {
  min-width: 0;
}

.home-editorial .quote .btn {
  background: #d9fff9;
  border-color: #d9fff9;
  color: var(--navy) !important;
}

@media (max-width: 960px) {
  .home-editorial .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 54px 0 48px;
  }

  .home-editorial .work-register {
    max-width: 680px;
  }

  .home-editorial .hero-principles {
    grid-template-columns: 1fr;
    padding: 8px 0;
  }

  .home-editorial .hero-principles span {
    padding: 10px 0;
  }

  .home-editorial .product-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-editorial .product-proof span:nth-child(2) {
    border-right: 0;
  }

  .home-editorial .product-proof span:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .home-editorial .hero-folio span:last-child {
    display: none;
  }

  .home-editorial .hero-grid {
    padding-top: 38px;
  }

  .home-editorial .hero h1 {
    font-size: 42px;
  }

  .home-editorial .register-head {
    grid-template-columns: 1fr;
  }

  .home-editorial .register-totals div {
    padding: 13px 10px;
  }

  .home-editorial .register-totals dd {
    font-size: 25px;
  }

  .home-editorial .register-list article {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 10px;
    padding-inline: 12px;
  }

  .home-editorial .product-proof {
    grid-template-columns: 1fr;
  }

  .home-editorial .product-proof span,
  .home-editorial .product-proof span:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .home-editorial .product-proof span:last-child {
    border-bottom: 0;
  }
}


.home-editorial .synthetic-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 28px 0 16px; padding: 0; list-style: none; }
.home-editorial .synthetic-flow li, .example-panel .wrap { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.home-editorial .synthetic-flow strong { display:block; margin-bottom:8px; color:var(--navy); }
.home-editorial .synthetic-flow span, .example-note { color:var(--muted); }
.home-editorial .problem-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .home-editorial .synthetic-flow, .home-editorial .problem-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .home-editorial .synthetic-flow, .home-editorial .problem-grid { grid-template-columns: 1fr; } }
