
.home-public-page {
  background: radial-gradient(circle at top left, rgba(219,234,254,.9), transparent 32%), #f8fafc;
  color: #0f172a;
}
.home-shell {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 18px 0 34px;
}
.home-nav {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0 18px;
}
.home-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #0f172a;
  font-weight: 900;
}
.home-brand span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #1d4ed8, #8058A8);
  color: #fff;
  box-shadow: 0 14px 30px rgba(29,78,216,.22);
}
.home-menu {
  display: flex;
  align-items: center;
  gap: 18px;
}
.home-menu a {
  color: #475569;
  font-size: 14px;
  font-weight: 800;
}
.home-menu a:hover { color: #1d4ed8; }
.home-nav-actions,
.home-hero-actions,
.home-cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.home-hero {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 26px;
  align-items: stretch;
  min-height: 560px;
  padding: 36px;
  border-radius: 38px;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 86% 18%, rgba(255,255,255,.26), transparent 24%),
    linear-gradient(135deg, #0f172a, #1d4ed8 58%, #8058A8);
  color: #fff;
  box-shadow: 0 30px 90px rgba(15,23,42,.22);
}
.home-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 720px;
  z-index: 1;
}
.home-kicker,
.home-section-head span,
.home-cta span {
  display: inline-flex;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  color: #dbeafe;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.home-hero h1 {
  margin: 16px 0;
  max-width: 780px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: .92;
  letter-spacing: -.07em;
}
.home-hero p {
  margin: 0;
  max-width: 660px;
  color: #dbeafe;
  font-size: 17px;
  line-height: 1.7;
}
.home-hero-actions { margin-top: 24px; }
.home-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.home-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #e0f2fe;
  font-size: 13px;
}
.home-trust-row b { color: #fff; font-size: 16px; }
.home-hero-preview {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 440px;
}
.preview-card {
  background: rgba(255,255,255,.92);
  color: #0f172a;
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: 0 24px 70px rgba(15,23,42,.28);
  backdrop-filter: blur(14px);
}
.preview-card-main {
  width: 250px;
  height: 354px;
  border-radius: 24px;
  padding: 24px;
  transform: rotate(-3deg);
  position: relative;
}
.preview-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d9e3ec, #8058A8);
  margin-bottom: 20px;
}
.preview-lines { display: grid; gap: 12px; }
.preview-lines i {
  height: 12px;
  border-radius: 999px;
  background: #dbe3ee;
}
.preview-lines i:nth-child(1) { width: 86%; height: 18px; background: #1d4ed8; }
.preview-lines i:nth-child(2) { width: 70%; }
.preview-lines i:nth-child(3) { width: 92%; }
.preview-lines i:nth-child(4) { width: 56%; }
.preview-badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  background: #0f172a;
  color: #fff;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 900;
}
.preview-card-side {
  position: absolute;
  right: 8px;
  bottom: 34px;
  width: 210px;
  padding: 22px;
  border-radius: 24px;
}
.preview-card-side b { color: #64748b; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.preview-card-side strong { display: block; font-size: 36px; letter-spacing: -.06em; margin: 8px 0; }
.preview-card-side span { color: #64748b; line-height: 1.5; }
.home-section {
  padding: 58px 0 0;
}
.home-section-head {
  max-width: 760px;
  margin-bottom: 22px;
}
.home-section-head span {
  background: #e0e7ff;
  border-color: #c7d2fe;
  color: #1d4ed8;
}
.home-section-head h2,
.home-cta h2 {
  margin: 12px 0 8px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1;
  letter-spacing: -.06em;
}
.home-section-head p {
  margin: 0;
  color: #64748b;
  line-height: 1.65;
}
.home-section-head.with-action {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
}
.home-price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.home-price-card {
  --accent: #1d4ed8;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 26px;
  padding: 22px;
  box-shadow: 0 18px 50px rgba(15,23,42,.07);
  position: relative;
  overflow: hidden;
}
.home-price-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: var(--accent);
}
.home-price-card h3 { margin: 0 0 10px; font-size: 18px; }
.home-price-card strong { display: block; font-size: 30px; letter-spacing: -.06em; margin-bottom: 10px; }
.home-price-card p { color: #64748b; line-height: 1.55; min-height: 74px; }
.home-price-card a { font-weight: 900; color: var(--accent); }
.home-template-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.home-template-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(15,23,42,.07);
}
.home-template-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top;
  display: block;
  background: #e5e7eb;
}
.home-template-card div { padding: 16px; }
.home-template-card small { color: #64748b; font-weight: 800; }
.home-template-card h3 { margin: 7px 0 9px; font-size: 16px; }
.home-template-card strong { color: #1d4ed8; }
.home-empty {
  grid-column: 1 / -1;
  padding: 34px;
  border: 1px dashed #cbd5e1;
  border-radius: 24px;
  background: #fff;
  color: #64748b;
  text-align: center;
}
.home-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.home-flow-grid article {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 18px 50px rgba(15,23,42,.06);
}
.home-flow-grid b {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #eff6ff;
  color: #1d4ed8;
  margin-bottom: 14px;
}
.home-flow-grid h3 { margin: 0 0 8px; }
.home-flow-grid p { color: #64748b; line-height: 1.55; margin: 0; }
.home-cta {
  margin-top: 58px;
  padding: 30px;
  border-radius: 30px;
  background: linear-gradient(135deg, #111827, #1d4ed8);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: 0 24px 70px rgba(15,23,42,.16);
}
.home-cta h2 { max-width: 720px; }
.home-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 26px 0 0;
  color: #64748b;
}
.home-footer div { display: flex; gap: 14px; }
.home-footer a { color: #475569; font-weight: 800; }
@media (max-width: 1060px) {
  .home-hero { grid-template-columns: 1fr; min-height: unset; }
  .home-hero-preview { min-height: 360px; }
  .home-price-grid, .home-flow-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .home-template-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .home-menu { display: none; }
}
@media (max-width: 720px) {
  .home-shell { width: min(100% - 20px, 1180px); padding-top: 10px; }
  .home-nav { align-items: flex-start; flex-direction: column; }
  .home-nav-actions .btn, .home-hero-actions .btn, .home-cta-actions .btn { flex: 1 1 auto; width: 100%; }
  .home-hero { padding: 24px; border-radius: 28px; }
  .home-hero h1 { font-size: 40px; }
  .home-hero-preview { display: none; }
  .home-price-grid, .home-flow-grid, .home-template-grid { grid-template-columns: 1fr; }
  .home-section-head.with-action, .home-cta { align-items: flex-start; flex-direction: column; }
  .home-template-card img { height: 330px; }
}
