/* Pages built on the service template. */

.svc-hero { position: relative; overflow: hidden; background: var(--charcoal-deep); color: var(--white); min-height: 620px; padding-bottom: 120px; }
.svc-hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.svc-hero__tint { position: absolute; inset: 0; background: rgba(24, 36, 66, .7); }
.svc-hero__inner { position: relative; z-index: 2; padding-top: 144px; display: grid; grid-template-columns: minmax(0, 820px) 440px; justify-content: space-between; align-items: start; gap: 48px; }
.svc-hero__copy { display: flex; flex-direction: column; gap: 18px; }
.svc-hero__h1 { margin: 0; font-size: clamp(38px, 4.2vw, 60px); line-height: 1.05; font-weight: 700; letter-spacing: -.015em; }
.svc-hero__intro { margin: 0; font-size: 19px; line-height: 1.6; color: var(--rule-light); max-width: 760px; }
.svc-hero__cta { align-self: flex-start; margin-top: 6px; }

.svc-art { width: 440px; height: 340px; margin-top: 6px; }
.svc-art svg { width: 100%; height: auto; }
@media (max-width: 1200px) {
  .svc-hero__inner { grid-template-columns: minmax(0, 1fr); }
  .svc-art { width: 100%; max-width: 440px; height: auto; }
}
@media (max-width: 760px) {
  .svc-hero { min-height: 0; padding-bottom: 56px; }
  .svc-hero__inner { padding-top: 104px; gap: 28px; }
  .svc-hero__intro { font-size: 17px; }
  .svc-art { max-width: 400px; margin-inline: auto; overflow: hidden; }
}

/* Hero illustrations. */
.art-card { background: rgba(255, 255, 255, .96); color: var(--charcoal); border-radius: 12px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.art-type { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; animation: art-type 2.2s steps(30) .3s infinite alternate; }
.art-in1, .art-in2, .art-in3 { animation: art-in 6s ease-out infinite; }
.art-in1 { animation-delay: .8s; }
.art-in2 { animation-delay: 1.6s; }
.art-in3 { animation-delay: 2.4s; }
.art-flow { stroke-dasharray: 14 986; animation: art-dash 3.2s linear infinite; }
.art-d1 { animation-delay: .4s; } .art-d2 { animation-delay: .9s; } .art-d3 { animation-delay: 1.4s; } .art-d4 { animation-delay: 1.9s; } .art-d5 { animation-delay: 2.4s; }
.art-lit { animation: art-lit 6s ease-in-out infinite; }
.art-focus { animation: art-focus 4s ease-in-out infinite; }
.art-strip { animation: art-slidex 6s linear infinite alternate; }
.art-draw { stroke-dasharray: 400; animation: art-drawl 6s ease-in-out infinite; }
.art-halo { animation: art-halo 2s ease-out infinite; }
.art-bar { transform-origin: left center; animation: art-bar 6s ease-out infinite; }
@keyframes art-type { from { width: 0; } to { width: 100%; } }
@keyframes art-in { 0%, 15% { opacity: 0; transform: translateY(10px); } 25%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes art-dash { to { stroke-dashoffset: -1000; } }
@keyframes art-lit { 0%, 100% { fill: #343a46; stroke: #84aed1; } 30%, 70% { fill: #00a3da; stroke: #00a3da; } }
@keyframes art-focus { 0%, 100% { filter: blur(6px); transform: scale(.96); } 40%, 80% { filter: blur(0); transform: scale(1); } }
@keyframes art-slidex { from { transform: translateX(0); } to { transform: translateX(-140px); } }
@keyframes art-drawl { 0% { stroke-dashoffset: 400; } 40%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -400; } }
@keyframes art-halo { 0%, 100% { r: 16; opacity: .35; } 50% { r: 30; opacity: 0; } }
@keyframes art-bar { 0%, 10% { transform: scaleX(0); } 35%, 90% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
.svc-art .art-lit { fill: #343a46; stroke: #84aed1; }
@media (prefers-reduced-motion: reduce) {
  .art-type { width: 100%; }
  .art-in1, .art-in2, .art-in3, .art-bar { opacity: 1; transform: none; }
  .art-draw { stroke-dashoffset: 0; }
}

/* Sections. */
.svc-section { padding-block: 96px; background: var(--white); }
.svc-section--tint { background: var(--neutral); }
.svc-section--dark { background: var(--charcoal-deep); color: var(--white); }
.svc-head { display: flex; flex-direction: column; gap: 12px; max-width: 860px; margin-bottom: 36px; }
.svc-h2 { font-size: clamp(28px, 3.1vw, 44px); }
.svc-head .lede { margin: 0; }
@media (max-width: 760px) { .svc-section { padding-block: 56px; } .svc-head { margin-bottom: 28px; } }

.svc-grid { display: grid; gap: 24px; margin: 0; padding: 0; }
.svc-grid--1 { grid-template-columns: minmax(0, 1fr); }
.svc-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.svc-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.svc-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.svc-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1200px) {
  .svc-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .svc-grid--3, .svc-grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .svc-grid--2, .svc-grid--3, .svc-grid--4, .svc-grid--5 { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}

/* Cards. */
.card {
  display: flex; flex-direction: column; gap: 10px; min-height: 200px;
  background: var(--white); border: 1px solid var(--rule); border-radius: 12px; padding: 26px;
  text-decoration: none; color: var(--charcoal);
  transition: transform .25s ease, border-color .25s ease;
}
a.card:hover { transform: translateY(-3px); border-color: var(--teal); color: var(--charcoal); }
.card--wide { min-height: 140px; }
.card__num { font-size: 13px; font-weight: 600; letter-spacing: .14em; color: var(--teal); }
.card__title { font-size: 22px; line-height: 1.25; font-weight: 600; color: var(--blue); }
.card__copy { font-size: 15px; line-height: 1.55; }
.card__more { margin-top: auto; align-self: flex-start; font-size: 15px; font-weight: 600; color: var(--teal); }
@media (max-width: 760px) { .card { min-height: 0; padding: 22px; } .card__title { font-size: 20px; } }

/* Steps. */
.step { display: flex; flex-direction: column; gap: 10px; border-top: 2px solid var(--teal); padding-top: 18px; }
.step__num { font-size: 44px; line-height: 1; font-weight: 700; color: var(--teal); }
.step__title { font-size: 20px; line-height: 1.25; font-weight: 600; color: var(--blue); }
.step__copy { font-size: 15px; line-height: 1.55; }
.dark .step { border-top-color: var(--soft-blue); }
.dark .step__num { color: var(--soft-blue); }
.dark .step__title { color: var(--white); }
.dark .step__copy { color: var(--rule-light); }
@media (max-width: 760px) { .step__num { font-size: 34px; } }

/* Comparison table. */
.compare { border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; }
.compare table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.compare thead { background: var(--blue); color: var(--white); }
.compare thead td:first-child { width: 220px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; vertical-align: top; }
.compare thead th { font-size: 18px; font-weight: 600; }
.compare tbody tr { border-top: 1px solid var(--rule-light); }
.compare tbody tr:nth-child(even) { background: var(--neutral); }
.compare tbody th { font-size: 15px; font-weight: 600; color: var(--blue); }
.compare tbody td { font-size: 15px; line-height: 1.5; }
@media (max-width: 760px) {
  .compare table, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare thead { display: none; }
  .compare tbody tr { padding: 14px 18px; }
  .compare tbody th { padding: 0 0 8px; font-size: 16px; }
  .compare tbody td { padding: 6px 0; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; }
  .compare tbody td::before { content: attr(data-col); font-weight: 600; color: var(--teal); font-size: 13px; letter-spacing: .04em; }
}

/* Check lists. */
.checklist { background: var(--white); border: 1px solid var(--rule); border-radius: 12px; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.checklist__title { margin: 0; font-size: 20px; font-weight: 600; color: var(--blue); }
.checklist ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.checklist li svg { flex-shrink: 0; margin-top: 2px; }
@media (max-width: 760px) { .checklist { padding: 22px; } }

/* Text. */
.prose { display: flex; flex-direction: column; gap: 16px; max-width: 820px; }
.prose p { margin: 0; font-size: 18px; line-height: 1.65; }
.dark .prose p { color: var(--rule-light); }
@media (max-width: 760px) { .prose p { font-size: 17px; } }

/* Ruled bullets. */
.rules { list-style: none; }
.rules li { border-top: 2px solid var(--teal); padding-top: 14px; font-size: 15px; line-height: 1.55; }
.dark .rules li { border-top-color: var(--soft-blue); color: var(--rule-light); }

/* FAQ. */
.faq { display: flex; flex-direction: column; max-width: 980px; }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 18px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-size: 18px; font-weight: 600; color: var(--blue);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.faq__icon { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: var(--teal); transition: transform .25s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__item p { margin: 0 0 18px; font-size: 16px; line-height: 1.6; max-width: 820px; animation: bs-fadeup .5s var(--ease) both; }
@media (max-width: 760px) { .faq__item summary { font-size: 17px; } }
