:root {
  --hc-page-bg: #f7f2ea;
  --hc-surface: rgba(255, 255, 255, 0.9);
  --hc-surface-strong: #ffffff;
  --hc-text: #161d34;
  --hc-muted: #5f6784;
  --hc-line: rgba(24, 31, 53, 0.16);
  --hc-gold: #ecb23b;
  --hc-gold-deep: #d99c22;
  --hc-navy: #1f2959;
  --hc-navy-deep: #171f45;
  --hc-shadow: 0 18px 48px rgba(27, 34, 58, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.hc-frontpage {
  margin: 0;
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--hc-text);
  background:
    radial-gradient(circle at 12% 19%, rgba(244, 211, 122, 0.3), transparent 23%),
    radial-gradient(circle at 82% 14%, rgba(245, 212, 121, 0.24), transparent 20%),
    radial-gradient(circle at 16% 82%, rgba(197, 198, 244, 0.2), transparent 22%),
    radial-gradient(circle at 78% 76%, rgba(245, 210, 111, 0.25), transparent 22%),
    linear-gradient(180deg, #fcf8f2 0%, var(--hc-page-bg) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.hc-frontpage-shell {
  width: min(1296px, calc(100% - 48px));
  margin: 0 auto;
  padding: 22px 0 76px;
}

.hc-frontpage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0;
}

.hc-frontpage-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.hc-frontpage-brand-logo {
  display: block;
  width: min(100%, 214px);
  max-width: 214px;
  height: auto;
}

.hc-frontpage-nav {
  display: inline-flex;
  align-items: center;
  gap: 42px;
  margin-left: auto;
  margin-right: 28px;
  color: #4a5168;
  font-size: 14px;
  font-weight: 500;
}

.hc-frontpage-nav a,
.hc-frontpage-link-btn,
.hc-frontpage-subcopy,
.hc-frontpage-proof,
.hc-frontpage-card p,
.hc-frontpage-card li {
  letter-spacing: -0.01em;
}

.hc-frontpage-nav a:hover,
.hc-frontpage-link-btn:hover,
.hc-frontpage-subcopy a:hover {
  color: var(--hc-text);
}

.hc-frontpage-actions {
  display: inline-flex;
  align-items: center;
  gap: 22px;
}

.hc-frontpage-link-btn {
  font-size: 14px;
  font-weight: 700;
  color: #151a30;
}

.hc-frontpage-pill-btn,
.hc-frontpage-cta,
.hc-frontpage-card-btn {
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.hc-frontpage-pill-btn:hover,
.hc-frontpage-cta:hover,
.hc-frontpage-card-btn:hover {
  transform: translateY(-1px);
}

.hc-frontpage-pill-btn {
  padding: 15px 26px;
  background: linear-gradient(135deg, #f4be49 0%, #e1a62a 100%);
  color: #181b2e;
  box-shadow: 0 10px 24px rgba(228, 171, 45, 0.18);
  font-size: 14px;
}

.hc-frontpage-main {
  display: grid;
  gap: 78px;
}

.hc-frontpage-hero {
  text-align: center;
  padding-top: 118px;
}

.hc-frontpage-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(23, 29, 54, 0.16);
  background: rgba(255, 255, 255, 0.72);
  color: #687089;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(39, 45, 75, 0.04);
}

.hc-frontpage-badge svg {
  width: 14px;
  height: 14px;
  fill: #e6ab34;
  flex: 0 0 auto;
}

.hc-frontpage-title {
  margin: 28px auto 20px;
  max-width: 880px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(4.6rem, 7vw, 6.2rem);
  line-height: 0.88;
  letter-spacing: -0.055em;
  font-weight: 600;
  text-wrap: balance;
}

.hc-frontpage-title span {
  color: var(--hc-gold);
  font-style: italic;
  font-weight: 500;
}

.hc-frontpage-copy {
  width: min(100%, 670px);
  margin: 0 auto;
  color: var(--hc-muted);
  font-size: clamp(1.06rem, 1.45vw, 1.12rem);
  line-height: 1.55;
}

.hc-frontpage-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hc-frontpage-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 202px;
  padding: 16px 28px;
  font-size: 14px;
}

.hc-frontpage-cta svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hc-frontpage-cta-primary {
  background: linear-gradient(135deg, #f4be49 0%, #dea327 100%);
  color: #181b2e;
  box-shadow: 0 12px 28px rgba(228, 171, 45, 0.2);
}

.hc-frontpage-cta-secondary,
.hc-frontpage-card-btn-dark {
  background: linear-gradient(135deg, #263266 0%, var(--hc-navy) 100%);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(31, 42, 90, 0.18);
}

.hc-frontpage-subcopy {
  margin-top: 18px;
  color: #5c6481;
  font-size: 14px;
}

.hc-frontpage-subcopy a {
  color: var(--hc-text);
  font-weight: 700;
}

.hc-frontpage-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 24px;
  color: #6c7390;
  font-size: 13px;
}

.hc-frontpage-proof span {
  position: relative;
  padding-left: 17px;
}

.hc-frontpage-proof span::before,
.hc-frontpage-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 8px;
  height: 4px;
  border-left: 1.8px solid var(--hc-gold);
  border-bottom: 1.8px solid var(--hc-gold);
  transform: rotate(-45deg);
}

.hc-frontpage-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
  width: min(100%, 1040px);
  margin: 0 auto;
}

.hc-frontpage-card {
  position: relative;
  min-height: 400px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(26, 32, 56, 0.16);
  border-radius: 28px;
  padding: 30px 34px 34px;
  box-shadow: var(--hc-shadow);
  backdrop-filter: blur(8px);
}

.hc-frontpage-card-accent::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 1px;
  right: 1px;
  height: 4px;
  border-radius: 28px 28px 0 0;
  background: linear-gradient(90deg, #f0bb44 0%, #e29a20 100%);
}

.hc-frontpage-card-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  color: #6b7290;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hc-frontpage-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hc-frontpage-card-icon svg {
  width: 20px;
  height: 20px;
}

.hc-frontpage-card-icon-soft {
  background: #eef1f6;
  color: #16203a;
}

.hc-frontpage-card-icon-gold {
  background: linear-gradient(135deg, #f4be49 0%, #dea327 100%);
  color: #181b2e;
}

.hc-frontpage-card h2,
.hc-frontpage-stat strong {
  font-family: "Cormorant Garamond", serif;
}

.hc-frontpage-card h2 {
  margin: 0 0 10px;
  max-width: 360px;
  font-size: clamp(2.2rem, 2.55vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 600;
}

.hc-frontpage-card p {
  margin: 0;
  max-width: 410px;
  color: var(--hc-muted);
  font-size: 16px;
  line-height: 1.48;
}

.hc-frontpage-card ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
  display: grid;
  gap: 12px;
}

.hc-frontpage-card li {
  position: relative;
  padding-left: 22px;
  color: #444d68;
  font-size: 16px;
}

.hc-frontpage-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 14px 22px;
  font-size: 14px;
}

.hc-frontpage-card-btn-gold {
  background: linear-gradient(135deg, #f4be49 0%, #dea327 100%);
  color: #181b2e;
  box-shadow: 0 12px 28px rgba(228, 171, 45, 0.18);
}

.hc-frontpage-stats {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  margin-top: 8px;
}

.hc-frontpage-stat {
  min-width: 150px;
  padding: 0 32px;
  text-align: center;
}

.hc-frontpage-stat + .hc-frontpage-stat {
  border-left: 1px solid rgba(23, 29, 54, 0.12);
}

.hc-frontpage-stat strong {
  display: block;
  margin-bottom: 7px;
  font-size: clamp(2.5rem, 3.1vw, 3rem);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 600;
}

.hc-frontpage-stat span {
  display: block;
  color: #6d7490;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .hc-frontpage-shell {
    width: min(100% - 32px, 960px);
  }

  .hc-frontpage-nav {
    gap: 26px;
    margin-right: 10px;
  }

  .hc-frontpage-title {
    max-width: 760px;
  }
}

@media (max-width: 920px) {
  .hc-frontpage-shell {
    width: min(100% - 28px, 760px);
    padding-bottom: 44px;
  }

  .hc-frontpage-header {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hc-frontpage-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    margin: 0;
  }

  .hc-frontpage-actions {
    gap: 14px;
  }

  .hc-frontpage-hero {
    padding-top: 72px;
  }

  .hc-frontpage-title {
    font-size: clamp(4rem, 10vw, 5.4rem);
  }

  .hc-frontpage-cards {
    grid-template-columns: 1fr;
  }

  .hc-frontpage-card {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .hc-frontpage-shell {
    width: calc(100% - 24px);
    padding-top: 18px;
  }

  .hc-frontpage-header {
    gap: 14px;
    justify-content: space-between;
  }

  .hc-frontpage-brand-logo {
    max-width: 150px;
  }

  .hc-frontpage-nav {
    display: none;
  }

  .hc-frontpage-actions {
    gap: 10px;
  }

  .hc-frontpage-link-btn {
    display: none;
  }

  .hc-frontpage-pill-btn {
    padding: 13px 18px;
    font-size: 13px;
  }

  .hc-frontpage-main {
    gap: 54px;
  }

  .hc-frontpage-hero {
    padding-top: 42px;
  }

  .hc-frontpage-badge {
    font-size: 12px;
    padding: 8px 14px;
  }

  .hc-frontpage-title {
    margin-top: 22px;
    font-size: clamp(3.2rem, 16vw, 4.8rem);
  }

  .hc-frontpage-copy {
    font-size: 15px;
    line-height: 1.58;
  }

  .hc-frontpage-cta-row {
    margin-top: 28px;
  }

  .hc-frontpage-cta,
  .hc-frontpage-card-btn {
    width: 100%;
    min-width: 0;
  }

  .hc-frontpage-proof {
    width: min(100%, 290px);
    justify-content: flex-start;
    margin-left: auto;
    margin-right: auto;
    gap: 10px 20px;
  }

  .hc-frontpage-card {
    border-radius: 24px;
    padding: 24px 22px 26px;
  }

  .hc-frontpage-card-accent::before {
    border-radius: 24px 24px 0 0;
  }

  .hc-frontpage-card h2 {
    font-size: 2.35rem;
  }

  .hc-frontpage-card p,
  .hc-frontpage-card li {
    font-size: 15px;
  }

  .hc-frontpage-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hc-frontpage-stat {
    min-width: 0;
    padding: 0 8px;
  }

  .hc-frontpage-stat + .hc-frontpage-stat {
    border-left: 0;
  }

  .hc-frontpage-stat strong {
    font-size: 2.15rem;
  }

  .hc-frontpage-stat span {
    font-size: 10px;
    letter-spacing: 0.18em;
  }
}
