/* Homepage editorial system. Original brand palette is inherited unchanged. */
.home-refined {
  --section-y: 96px;
  --surface-shadow: 0 2px 4px rgba(11, 24, 52, .025), 0 12px 28px -12px rgba(11, 24, 52, .13);
  --surface-hover: 0 4px 8px rgba(11, 24, 52, .035), 0 22px 42px -16px rgba(0, 46, 112, .20);
  --image-shadow: 0 6px 12px -6px rgba(11, 24, 52, .12), 0 26px 48px -22px rgba(11, 24, 52, .28);
}
.home-refined .btn { border-radius: 6px; padding: 17px 25px; font-size: 14px; font-weight: 500; }
.home-refined .btn-sm { padding: 12px 20px; font-size: 13px; }
.home-refined .header-inner { height: 80px; }
.home-refined .nav-list { gap: 26px; }
.home-refined .nav-list a { font-size: 14px; }
.home-refined .site-header { border-color: var(--divider); }
.home-refined .eyebrow { font-size: 12px; letter-spacing: .12em; font-weight: 500; }
.home-refined .eyebrow-dot { background: var(--accent); }
.home-refined .hero { padding: 64px 0 58px; }
.home-refined .hero-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; text-align: left; }
.hero-copy { padding: 28px 0; }
.home-refined .hero-title { margin-top: 27px; font-size: clamp(34px, 3.6vw, 52px); line-height: 1.38; letter-spacing: -.035em; font-weight: 500; }
.home-refined .hero-title .accent { white-space: nowrap; }
.home-refined .hero-lead { margin-top: 26px; font-size: 17px; line-height: 1.9; }
.home-refined .hero .btn-row { margin-top: 36px; justify-content: flex-start; align-items: center; gap: 24px; }
.hero-text-link { font-size: 14px; color: var(--body); }
.hero-text-link:hover { color: var(--primary); }
.home-refined .hero-micro { margin-top: 32px; font-size: 12px; letter-spacing: .08em; }
.home-refined .hero-figure { position: relative; border-radius: 6px; height: 490px; }
.home-refined .hero-figure img { width: 100%; height: 100%; object-fit: cover; object-position: 56% center; aspect-ratio: auto; }
.home-refined .hero-figure::after { content: ''; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(8,19,43,.65)); pointer-events: none; }
.home-refined .hero-figure figcaption { position: absolute; left: 30px; bottom: 28px; z-index: 1; display: flex; flex-direction: column; color: white; font-size: 14px; line-height: 1.8; letter-spacing: .06em; }
.home-refined .stat-band { background: var(--canvas); padding: 0; }
.home-refined .stat-inner { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; padding: 36px 0; border-block: 1px solid var(--hairline); }
.home-refined .stat { padding-left: 36px; border-left: 1px solid var(--hairline); gap: 10px; }
.home-refined .stat:first-child { padding-left: 0; border-left: 0; }
.home-refined .stat b { font-size: 32px; color: var(--primary-dark); font-weight: 500; }
.home-refined .stat b span { font-size: 15px; color: var(--primary-dark); }
.home-refined .stat > span { color: var(--body-soft); font-size: 12px; }
.home-refined .sec-head { margin-bottom: 42px; }
.home-refined .sec-head h2, .method-copy h2 { font-size: clamp(27px,2.6vw,36px); font-weight: 500; letter-spacing: -.025em; line-height: 1.5; margin-top: 18px; }
.home-refined .sec-desc { font-size: 14px; margin-top: 14px; }
.service-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; border-top: 1px solid var(--hairline); }
.service-card { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; padding: 32px 30px; border-bottom: 1px solid var(--hairline); border-right: 1px solid var(--hairline); }
.service-card:nth-child(3n) { border-right: 0; }
.service-card:nth-child(3n+1) { padding-left: 0; }
.service-index { color: var(--accent-ink); font-size: 12px; font-weight: 500; letter-spacing: .08em; margin-bottom: 24px; }
.service-card h3 { font-size: 21px; font-weight: 500; }
.service-card > p { margin-top: 13px; color: var(--body-soft); font-size: 14px; line-height: 1.8; }
.service-card .service-price { font-size: 13px; color: var(--primary); margin-top: 22px; }
.service-details { width: 100%; margin: 18px 0 23px; font-size: 13px; }
.service-details summary { cursor: pointer; list-style: none; color: var(--muted); display: flex; justify-content: space-between; align-items: center; }
.service-details summary::-webkit-details-marker { display: none; }
.service-details summary:hover { color: var(--primary); }
.service-details[open] summary span { transform: rotate(45deg); }
.service-details > div { padding-top: 16px; color: var(--body-soft); font-size: 13px; line-height: 1.9; }
.service-details p + p { margin-top: 10px; }
.service-details .detail-list { margin: 0; padding: 0; list-style: none; }
.service-details .detail-list > li { position: relative; padding-left: 16px; }
.service-details .detail-list > li + li { margin-top: 10px; }
.service-details .detail-list > li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.service-details .detail-list > li > strong { font-weight: 500; color: var(--body); }
.service-details .detail-sublist { margin: 6px 0 0; padding: 0; list-style: none; }
.service-details .detail-sublist li { position: relative; padding-left: 14px; }
.service-details .detail-sublist li + li { margin-top: 3px; }
.service-details .detail-sublist li::before { content: ""; position: absolute; left: 2px; top: .78em; width: 4px; height: 4px; border-radius: 50%; background: var(--muted); }
.service-details .detail-note { margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.service-card > .link-more { margin-top: auto; }
.method-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 88px; }
.method-image { margin: 0; overflow: hidden; border-radius: 6px; }
.method-image img { width: 100%; height: 520px; object-fit: cover; }
.method-steps { margin: 30px 0; }
.method-steps article { display: flex; gap: 22px; padding: 20px 0; border-bottom: 1px solid var(--hairline); }
.method-steps article > span { padding-top: 4px; color: var(--primary); font-size: 12px; }
.method-steps h3 { font-size: 17px; font-weight: 500; }
.method-steps p { font-size: 13px; margin-top: 6px; color: var(--body-soft); }
.home-refined .card { border-radius: 6px; box-shadow: none; padding: 30px; }
.home-refined .card:hover { transform: none; box-shadow: none; border-color: var(--primary-mid); }
.home-refined .badge { border-radius: 3px; padding: 4px 9px; font-size: 11px; font-weight: 500; }
.home-refined .tier { gap: 20px; }
.home-refined .tier h3 { font-size: 21px; font-weight: 500; }
.home-refined .tier-featured { border-color: var(--primary); background: var(--pearl); }
.home-refined .tier-price b { font-size: 38px; font-weight: 500; }
.home-refined .tier-list { margin-bottom: 10px; font-size: 13px; }
.home-refined .tier .btn { margin-top: auto; }
.home-refined #commitment { padding: 76px 0; }
.promise-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 36px; }
.promise-grid article { border-top: 1px solid var(--dark-line); padding-top: 22px; }
.promise-grid article > span { font-size: 12px; color: var(--on-dark-3); }
.promise-grid h3 { margin-top: 24px; font-size: 18px; color: var(--on-dark); font-weight: 500; }
.promise-grid p { margin-top: 14px; font-size: 13px; color: var(--on-dark-2); line-height: 1.9; }
.home-refined .doc-card { border-radius: 6px; background: transparent; padding: 0; border: 0; }
.home-refined .doc-cover { border-radius: 6px; }
.home-refined .doc-card h3 { color: var(--ink); font-size: 19px; font-weight: 500; }
.home-refined .doc-card .doc-tag { color: var(--primary); font-size: 12px; }
.home-refined .doc-card .doc-desc { color: var(--body-soft); font-size: 13px; }
.home-refined .doc-card .btn { align-self: flex-start; background: transparent; color: var(--primary); border: 1px solid var(--hairline); padding: 12px 18px; }
.home-refined .doc-card .btn:hover { border-color: var(--primary); }
.home-refined .post-card { border-radius: 0; border: 0; background: transparent; padding: 0; box-shadow: none; }
.home-refined .post-card:hover { transform: none; box-shadow: none; }
.home-refined .post-cover { border-radius: 6px; }
.home-refined .post-card h3 { font-size: 19px; font-weight: 500; }
.home-refined .post-excerpt { font-size: 13px; }
.faq-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 70px; }
.faq-list { border-top: 1px solid var(--hairline); }
.home-refined .faq-item { border: 0; border-bottom: 1px solid var(--hairline); border-radius: 0; background: transparent; }
.home-refined .faq-item summary { padding: 22px 0; font-size: 15px; font-weight: 500; }
.home-refined .faq-answer { padding: 0 28px 22px 0; }
.home-refined .faq-answer p { font-size: 13px; }
.home-refined .contact-copy h2 { font-weight: 500; }
.home-refined .contact-form { border-radius: 6px; padding: 32px; }
.home-refined .contact-lead { font-size: 15px; }
.home-refined .contact-points { gap: 8px; }
.home-refined .contact-points li { font-size: 13px; }
.home-refined .field input, .home-refined .field select { border-radius: 4px; }
.home-refined .site-footer { padding-top: 56px; }
.home-refined .footer-col ul { gap: 9px; }
.home-refined .footer-col a { font-size: 13px; }
.home-refined .modal-box { border-radius: 8px; }
@media (max-width: 1180px) {
  .home-refined .nav-list { gap: 16px; }
  .home-refined .hero-inner { gap: 30px; }
  .home-refined .hero-title { font-size: 42px; }
  .method-layout { gap: 48px; }
}
@media (max-width: 1024px) {
  .home-refined { --section-y: 76px; }
  .home-refined .nav { top: 80px; }
  .home-refined .nav-list { gap: 0; }
  .home-refined .hero-title { font-size: 36px; }
  .home-refined .hero-figure { height: 430px; }
  .service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-card:nth-child(n) { padding: 28px; border-right: 1px solid var(--hairline); }
  .service-card:nth-child(2n) { border-right: 0; }
  .service-card:nth-child(2n+1) { padding-left: 0; }
  .promise-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .method-layout { gap: 36px; }
  .method-image img { height: 510px; }
  .faq-layout { gap: 36px; }
}
@media (max-width: 760px) {
  .home-refined { --section-y: 60px; }
  .home-refined .header-inner { height: 72px; }
  .home-refined .nav { top: 72px; }
  .home-refined .hero { padding: 32px 0 36px; }
  .home-refined .hero-inner { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .hero-copy { padding: 8px 0 0; }
  .home-refined .hero-title { font-size: clamp(30px,7.4vw,46px); margin-top: 22px; }
  .home-refined .hero-lead { font-size: 15px; margin-top: 20px; }
  .home-refined .hero .btn-row { flex-direction: row; gap: 20px; margin-top: 26px; }
  .home-refined .hero .btn-row .btn { width: auto; }
  .home-refined .hero .hero-text-link { font-size: 12px; }
  .home-refined .hero-micro { margin-top: 22px; }
  .home-refined .hero-figure { height: 310px; }
  .home-refined .hero-figure figcaption { left: 22px; bottom: 20px; font-size: 13px; }
  .home-refined .stat-inner { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 28px; padding: 28px 0; }
  .home-refined .stat { padding-left: 24px; }
  .home-refined .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .home-refined .stat b { font-size: 28px; }
  .home-refined .stat b span { font-size: 13px; }
  .home-refined .sec-head { margin-bottom: 30px; }
  .home-refined .sec-head h2, .method-copy h2 { font-size: 27px; }
  .service-grid { grid-template-columns: minmax(0,1fr); }
  .service-card:nth-child(n) { padding: 26px 0; border-right: 0; }
  .service-index { margin-bottom: 12px; }
  .service-card h3 { font-size: 20px; }
  .service-details { margin: 14px 0 20px; }
  .method-layout { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .method-image img { height: 290px; }
  .method-steps { margin: 22px 0; }
  .home-refined #commitment { padding: 60px 0; }
  .promise-grid { gap: 28px 22px; }
  .promise-grid h3 { font-size: 16px; margin-top: 14px; }
  .promise-grid p { font-size: 12px; }
  .faq-layout { grid-template-columns: minmax(0,1fr); gap: 0; }
  .home-refined .contact-form { padding: 26px; }
  .home-refined .qr-row { gap: 14px; }
  .home-refined .qr-row b { font-size: 13px; }
  .home-refined .qr-row span { font-size: 12px; overflow-wrap: anywhere; }
}

/* Subtle depth: contact shadows, soft ambient light and restrained lift. */
.home-refined .hero {
  background: radial-gradient(ellipse at 88% 20%, var(--primary-soft), transparent 56%),
              linear-gradient(180deg, var(--pearl), var(--canvas));
}
.home-refined .hero-figure,
.home-refined .method-image {
  border-radius: 14px;
  box-shadow: var(--image-shadow);
  outline: 1px solid rgba(255, 255, 255, .65);
  outline-offset: -1px;
}
.home-refined .hero-figure::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: inherit;
  pointer-events: none;
}
.home-refined .stat-inner {
  position: relative;
  z-index: 1;
  padding: 32px 36px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: linear-gradient(180deg, var(--canvas), var(--pearl));
  box-shadow: 0 2px 4px rgba(11, 24, 52, .025), 0 14px 32px -18px rgba(0, 46, 112, .16);
}
.home-refined .service-grid {
  gap: 22px;
  border: 0;
  align-items: stretch;
}
.home-refined .service-card:nth-child(n) {
  position: relative;
  padding: 30px 28px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: linear-gradient(155deg, var(--canvas) 45%, var(--pearl));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), var(--surface-shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  min-height: 314px;
}
.home-refined .service-card:nth-child(2) {
  border-color: #cbd9ef;
  background: linear-gradient(150deg, var(--canvas) 20%, var(--primary-soft));
}
.home-refined .service-index {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #f7dfcc;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--canvas), var(--accent-soft));
  box-shadow: inset 0 1px 0 white, 0 2px 4px rgba(220, 94, 0, .035);
  margin-bottom: 20px;
}
.home-refined .service-details {
  padding-top: 14px;
  border-top: 1px solid var(--divider);
}
.home-refined .section-alt {
  background: linear-gradient(150deg, var(--parchment), var(--pearl));
  border-block: 1px solid var(--divider);
}
.home-refined .method-steps article > span {
  flex: 0 0 30px;
  height: 30px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin-top: 2px;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  background: var(--canvas);
  box-shadow: 0 3px 8px -4px rgba(0, 46, 112, .18);
}
.home-refined .card,
.home-refined .doc-card,
.home-refined .post-card {
  border-radius: 12px;
  border: 1px solid var(--hairline);
  background: linear-gradient(155deg, var(--canvas), var(--pearl));
  box-shadow: inset 0 1px 0 white, var(--surface-shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.home-refined .tier-featured {
  border-color: #a9c2e5;
  background: linear-gradient(150deg, var(--canvas), var(--primary-soft));
  box-shadow: inset 0 1px 0 white, 0 4px 8px rgba(0, 46, 112, .035), 0 18px 36px -16px rgba(0, 46, 112, .20);
}
.home-refined .doc-card,
.home-refined .post-card { padding: 18px; }
.home-refined .doc-cover,
.home-refined .post-cover {
  border-radius: 8px;
  box-shadow: 0 4px 10px -5px rgba(11, 24, 52, .20);
}
.home-refined #commitment {
  background: radial-gradient(ellipse at 90% 0%, var(--dark-card), transparent 68%), var(--dark);
}
.home-refined .promise-grid { gap: 20px; }
.home-refined .promise-grid article {
  padding: 26px 22px;
  border: 1px solid rgba(183, 200, 230, .14);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035), 0 10px 22px -12px rgba(0, 0, 0, .25);
}
.home-refined .faq-item[open] {
  box-shadow: none;
  background: var(--pearl);
}
.home-refined #contact {
  background: radial-gradient(ellipse at 0% 0%, rgba(46, 111, 192, .32), transparent 70%), var(--primary-dark);
}
.home-refined .contact-form {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: inset 0 1px 0 white, 0 4px 10px rgba(8, 19, 43, .08), 0 24px 50px -20px rgba(8, 19, 43, .38);
  background: linear-gradient(155deg, var(--canvas) 55%, var(--pearl));
}
.home-refined .qr-slot { box-shadow: 0 10px 24px -12px rgba(8, 19, 43, .38); }
.home-refined .btn-primary {
  background: linear-gradient(180deg, #084daa, var(--primary));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .17), 0 2px 3px rgba(0, 46, 112, .10), 0 7px 16px -7px rgba(0, 46, 112, .32);
}
.home-refined .btn-ghost {
  box-shadow: inset 0 0 0 1px #d6deeb, inset 0 1px 0 white, 0 3px 7px -5px rgba(0, 46, 112, .16);
}
@media (hover: hover) and (pointer: fine) {
  .home-refined .service-card:nth-child(n):hover,
  .home-refined .card:hover,
  .home-refined .doc-card:hover,
  .home-refined .post-card:hover {
    transform: translateY(-4px);
    border-color: #b9cce7;
    box-shadow: inset 0 1px 0 white, var(--surface-hover);
  }
  .home-refined .service-card:focus-within {
    border-color: #b9cce7;
    box-shadow: inset 0 1px 0 white, var(--surface-hover);
  }
  .home-refined .btn-primary:hover {
    background: linear-gradient(180deg, var(--primary), var(--primary-hover));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 9px 22px -8px rgba(0, 46, 112, .40);
    transform: translateY(-1px);
  }
}
@media (max-width: 1024px) {
  .home-refined .stat-inner { padding: 28px; }
  .home-refined .stat { padding-left: 24px; }
  .home-refined .service-card:nth-child(n) { padding: 26px 22px; }
}
@media (max-width: 760px) {
  .home-refined .stat-inner { padding: 24px; row-gap: 24px; }
  .home-refined .stat { padding-left: 18px; }
  .home-refined .service-grid { gap: 18px; }
  .home-refined .service-card:nth-child(n) { padding: 24px; min-height: 0; }
  .home-refined .service-index { margin-bottom: 16px; }
  .home-refined .promise-grid { gap: 14px; }
  .home-refined .promise-grid article { padding: 20px 16px; }
  .home-refined .doc-card, .home-refined .post-card { padding: 16px; }
  .home-refined .hero-figure, .home-refined .method-image { box-shadow: 0 12px 24px -14px rgba(11, 24, 52, .30); }
}
@media (prefers-reduced-motion: reduce) {
  .home-refined .service-card:nth-child(n):hover,
  .home-refined .card:hover,
  .home-refined .doc-card:hover,
  .home-refined .post-card:hover,
  .home-refined .btn-primary:hover { transform: none; }
}

