/* Homepage carousel, services and filing steps. */
body:has(.sl-landing) { background: #f5f7f6; }
.sl-landing {
  --home-navy: var(--navy);
  --home-teal: var(--teal);
  --home-gold: var(--gold);
  --home-text: var(--body-text);
  --home-muted: var(--secondary-text);
  --home-rule: var(--border);
  color: var(--home-text);
}
.sl-landing .sl-hero { --stage: #142c40; --nav-bottom: clamp(18px,2vw,32px); }
.sl-landing .sl-hero-art { inset: 0; height: 100%; }
.sl-landing .sl-hero-art img { animation: none; object-position: 74% 55%; }
/* Keep the warm photographic colour, with the document or business owner on the visible side. */
.sl-landing [data-slide-index="1"] .sl-hero-art img { object-position: 79% 53%; }
.sl-landing [data-slide-index="2"] .sl-hero-art img { object-position: 77% 48%; }
.sl-landing [data-slide-index="3"] .sl-hero-art img { object-position: 76% 54%; }
.sl-landing .sl-hero-slide::after {
  inset: 0;
  height: auto;
  background: linear-gradient(90deg,#142c40 8%,rgb(20 44 64 / 95%) 31%,rgb(20 44 64 / 60%) 55%,transparent 81%);
}
.sl-landing .sl-hero-slide[data-slide-index="0"]::after {
  background: linear-gradient(90deg,rgb(15 36 51 / 32%) 15%,rgb(15 36 51 / 14%) 49%,transparent 76%);
}
.sl-landing .sl-hero-inner {
  min-height: clamp(24rem,31vw,34rem);
  padding-block: clamp(32px,4vw,65px) calc(var(--nav-bottom) + 56px);
}
.sl-landing .sl-hero-copy { width: min(64%, 48rem); }
.sl-landing .sl-location {
  gap: 11px;
  color: #eaf2f4;
  font-size: .82rem;
  line-height: 1.5;
  letter-spacing: .085em;
  text-transform: uppercase;
}
.sl-landing .sl-location span:first-child {
  width: 29px;
  height: 6px;
  border-block: 1px solid var(--home-gold);
  background: transparent;
}
.sl-landing .sl-hero-copy :is(h1,h2) {
  margin: .85rem 0;
  color: white;
  font: 500 clamp(2.65rem,4.2vw,4.5rem)/1.04 var(--display, Georgia, serif);
  letter-spacing: -.036em;
  text-wrap: balance;
}
.sl-landing .sl-hero-copy h2 span, .sl-landing .sl-hero-copy h2 em { display: inline; color: inherit; }
.sl-landing .sl-intro {
  max-width: 42ch;
  color: #f0f3f4;
  font-size: clamp(1.03rem,1.2vw,1.19rem);
  line-height: 1.55;
}
.sl-hero-actions { display: flex; gap: .7rem; flex-wrap: wrap; align-items: stretch; margin-top: 1.4rem; }
.sl-landing .sl-hero-actions a, .sl-landing .sl-hero-slide[data-slide-index="0"] .sl-hero-actions a {
  min-height: 46px;
  margin: 0;
  padding: .65rem 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  border: 1px solid #62b2b3;
  color: white;
  background: #176d75;
  font-size: 1rem;
  font-weight: 650;
  text-decoration: none;
}
.sl-landing .sl-hero-slide .sl-hero-actions a.sl-explore-link {
  background: rgb(13 37 53 / 62%);
  border-color: #d6e2e5;
}
.sl-landing .sl-hero-slide .sl-hero-actions a:is(:hover,:focus-visible) { background: #11585f; }
.sl-landing .sl-hero-controls { gap: 6px; }
.sl-landing .sl-hero-controls button, .sl-landing .sl-motion-control {
  width: 36px;
  height: 36px;
  color: #fff;
  background: rgb(14 34 48 / 86%);
  border-color: #a0b7bf;
}
.sl-landing .sl-hero-controls button:hover, .sl-landing .sl-motion-control:hover { background: #1d505b; }
.sl-landing .sl-hero-progress span { width: 13px; height: 2px; background: #879a9f; }
.sl-landing .sl-hero-progress span[data-active="true"] { background: #eed6a7; }
.sl-landing .sl-hero :is(a,button):focus-visible { outline: 3px solid white; outline-offset: 3px; }
.sl-landing .sl-hero-controls button { position: relative; }
.sl-landing .sl-hero-controls button::after { content: ""; position: absolute; inset: -4px; }

.sl-overview-band { border-bottom: 1px solid var(--home-rule); background: white; }
.sl-overview-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  padding-block: clamp(22px,2.2vw,37px);
}
.sl-overview-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-width: 0;
  padding-inline: clamp(16px,2.3vw,38px);
  border-inline-start: 1px solid var(--home-rule);
  color: var(--home-text);
  line-height: 1.45;
}
.sl-overview-item:first-child { padding-inline-start: 0; border: 0; }
.sl-overview-item:last-child { padding-inline-end: 0; }
.sl-overview-item .ic { width: 25px; height: 25px; margin-bottom: 5px; color: #345e60; stroke-width: 1.5; }
.sl-overview-item strong { font-size: 1.07rem; color: var(--home-navy); font-weight: 650; }
.sl-overview-item span { font-size: .965rem; max-width: 28ch; }
.sl-overview-item:hover strong { color: var(--home-teal); text-decoration: underline; text-underline-offset: .18em; }
.sl-landing .sl-start-wrap { margin-top: clamp(32px,4vw,55px); }
.sl-landing .sl-start { background: #fff; border-color: var(--home-rule); border-radius: 8px; box-shadow: 0 3px 12px #162c4209; }
.sl-landing .sl-start h2, .sl-section-head h2 { color: var(--home-navy); }
.sl-landing .sl-start h2, .sl-section-head h2, .sl-landing .sl-home-demo h2 {
  font-family: inherit;
  font-weight: 650;
  font-size: clamp(1.42rem,2.15vw,2rem);
  line-height: 1.2;
  letter-spacing: -.035em;
}
.sl-landing .sl-start-head, .sl-landing .sl-letters-entry, .sl-landing .sl-start-link + .sl-start-link { border-color: var(--home-rule); }
.sl-landing .sl-tabs { border-color: var(--home-rule); border-radius: 6px; background: #f5f7f6; }
.sl-landing .sl-tabs button { border-radius: 4px; color: var(--home-text); }
.sl-landing .sl-tabs button:hover { background: #e4efef; }
.sl-landing .sl-tabs button[aria-selected="true"], .sl-landing .sl-path-action { background: var(--home-teal); color: white; }
.sl-landing .sl-path-action { border-radius: 4px; }
.sl-landing .sl-path-action:hover, .sl-landing .sl-start-link:hover .sl-path-action { background: #12585e; }
.sl-landing .sl-start-link, .sl-landing .sl-home-demo h2 { color: var(--home-navy); }
.sl-landing .sl-path-copy > span, .sl-landing .sl-home-demo p { color: var(--home-muted); }
.sl-landing .sl-path-icon { border-color: #d5e3e4; border-radius: 5px; background: #edf4f4; color: var(--home-teal); }
.sl-landing :is(.sl-direct,.sl-back,.sl-home-tools a), .sl-detail-link { color: #175d65; text-decoration: underline; text-underline-offset: .23em; text-decoration-color: #7d9c9f; }
.sl-landing .sl-filing-steps { border-top: 1px solid var(--home-rule); margin-top: .8rem; padding-block: clamp(25px,3.7vw,51px); }
.sl-section-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 17px; }
.sl-landing .sl-section-head h2 { color: var(--home-navy); }
.sl-section-head h2 a { color: inherit; text-decoration: none; }
.sl-section-head h2 a:is(:hover,:focus-visible) { text-decoration: underline; text-underline-offset: .14em; }
.sl-step-hint { margin: .45rem 0 0; color: var(--home-muted); }
.sl-step-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 20px; margin: 1.45rem 0 0; padding: 0; list-style: none; }
.sl-step-grid li { position: relative; min-width: 0; }
.sl-step-grid li:not(:last-child)::before {
  content: ""; position: absolute; top: 32px; inset-inline: 78px -8px; height: 1px; background: #b9caca;
}
.sl-step-illustration { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 17px; background: #e9f2f1; }
.sl-step-illustration svg { display: block; width: 58px; height: 58px; }
.sl-step-marker {
  position: absolute; bottom: -3px; inset-inline-end: -3px; display: grid; place-items: center; width: 20px; height: 20px;
  border: 2px solid #f5f7f6; background: #1f5962; color: #fff; border-radius: 50%; font: 650 .7rem/1 var(--sans);
}
.sl-step-grid h3 { color: var(--home-navy); font-size: 1.05rem; line-height: 1.32; margin: 0 0 .4rem; }
.sl-step-link { display: inline-flex; flex-direction: column; align-items: start; gap: 13px; color: inherit; text-decoration: none; }
.sl-step-title, .sl-invoice-demo { text-decoration: underline; text-decoration-color: #8da8a9; text-underline-offset: .19em; }
.sl-step-link:is(:hover,:focus-visible) .sl-step-title, .sl-invoice-demo:hover { color: var(--home-teal); text-decoration-color: currentColor; }
.sl-step-link:is(:hover,:focus-visible) .sl-step-illustration { background: #dcece9; }
.sl-step-grid p { font-size: .975rem; color: var(--home-muted); line-height: 1.55; }
.sl-invoice-demo { display: inline-block; color: var(--home-teal); font-weight: 600; font-size: .96rem; margin-top: .52rem; padding-block: 4px; }
.sl-landing .sl-home-demo { border-top: 1px solid var(--home-rule); margin-top: 0; padding-block: 1.5rem; }
.sl-landing :is(a,button,[tabindex]):focus-visible { outline: 3px solid #176d75; outline-offset: 3px; }
@media(max-width:850px) {
  .sl-overview-item { padding-inline: 14px; }
  .sl-step-grid { display: block; margin-top: 1.25rem; }
  .sl-step-grid li { min-height: 76px; padding: 3px 0 22px 78px; }
  .sl-step-grid li:last-child { padding-bottom: 0; }
  .sl-step-grid li:not(:last-child)::before { top: 68px; bottom: 4px; inset-inline: 31px auto; width: 1px; height: auto; }
  .sl-step-illustration { position: absolute; inset-block-start: 0; inset-inline-start: 0; }
  .sl-step-link { display: inline; }
}
@media(max-width:670px) {
  .sl-overview-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px 0; }
  .sl-overview-item:nth-child(odd) { padding-inline-start: 0; border-inline-start: 0; }
  .sl-overview-item:nth-child(even) { padding-inline-end: 0; }
}
@media(max-width:600px) {
  .sl-landing .sl-hero { --nav-bottom: 14px; --art-height: clamp(110px,32vw,165px); }
  .sl-landing .sl-hero-art { inset: auto 0 0; height: var(--art-height); }
  .sl-landing .sl-hero-art img { object-position: 78% 65%; }
  .sl-landing .sl-hero-slide::after, .sl-landing .sl-hero-slide[data-slide-index="0"]::after {
    inset: auto 0 0;
    height: var(--art-height);
    background: linear-gradient(180deg,#142c40,transparent 30%),linear-gradient(90deg,#142c40 3%,transparent 48%);
  }
  .sl-landing .sl-hero-inner { min-height: 0; padding-block: 30px calc(var(--art-height) + 1rem); }
  .sl-landing .sl-hero-copy { width: 100%; margin: 0; }
  .sl-landing .sl-location { min-height: 24px; font-size: .76rem; }
  .sl-landing .sl-hero-copy h2 { font-size: clamp(2.45rem,8.8vw,3.3rem); text-wrap: initial; }
  .sl-landing .sl-hero-actions { margin-top: 1.05rem; gap: .55rem; }
  .sl-landing .sl-hero-actions a, .sl-landing .sl-hero-slide[data-slide-index="0"] .sl-hero-actions a { padding: .6rem .85rem; }
  .sl-overview-grid { padding-block: 20px; }
}

/* Service decisions now have their own destinations. Keep the home links short and scannable. */
.sl-overview-item strong { display: inline-flex; align-items: baseline; gap: .45rem; }
.sl-overview-item strong .ic { height: .83em; width: .83em; margin: 0; align-self: center; color: var(--teal); stroke-width: 2; }
.sl-landing .sl-home-content .sl-filing-steps { border-top: 0; margin: 0; }
.sl-home-resources {
  --sl-icon-accent: #906832;
  --sl-icon-tint: #c7e2df;
  display: grid;
  grid-template-columns: minmax(0,1.9fr) minmax(0,1fr);
  gap: clamp(20px,2.5vw,38px);
  border-top: 1px solid var(--home-rule);
  padding-block: clamp(26px,4vw,54px);
}
.sl-home-resources h2 {
  margin: 0 0 1rem;
  color: inherit;
  font: 650 clamp(1.6rem,2.4vw,2.12rem)/1.18 var(--sans);
  letter-spacing: -.035em;
}
.sl-home-resources ul {
  display: grid;
  list-style: none;
  gap: 10px;
  margin: 0;
  padding: 0;
}
.sl-resource-guides { color: var(--home-navy); padding-block: clamp(16px,2vw,26px); }
.sl-resource-guides ul { grid-template-columns: repeat(2,minmax(0,1fr)); }
.sl-home-resources li { display: flex; min-width: 0; }
.sl-home-resources a {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  align-items: center;
  gap: clamp(10px,1vw,16px);
  width: 100%;
  min-height: 66px;
  padding: 9px clamp(10px,1vw,16px);
  border: 1px solid var(--home-rule);
  border-radius: 8px;
  background: #fff;
  color: inherit;
  font: 600 clamp(1.125rem,1.35vw,1.28rem)/1.32 var(--sans);
  letter-spacing: -.018em;
  text-decoration: none;
}
.sl-resource-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 9px;
  color: #175d65;
  background: #eaf3f1;
}
.sl-resource-icon svg { display: block; width: 32px; height: 32px; }
.sl-resource-guides a:is(:hover,:focus-visible) { border-color: #7fa8aa; background: #f5fbfa; }
.sl-home-resources a:is(:hover,:focus-visible) > span:last-child { text-decoration: underline; text-underline-offset: .2em; }
.sl-resource-contact {
  --sl-icon-accent: #e8bd7d;
  --sl-icon-tint: #31586a;
  --sl-icon-paper: #243f50;
  align-self: start;
  padding: clamp(16px,2vw,26px);
  border-radius: 10px;
  background: var(--home-navy);
  color: #fff;
}
.sl-resource-contact ul { gap: 0; }
.sl-resource-contact li + li { border-top: 1px solid #426072; }
.sl-resource-contact a { border-color: transparent; padding-inline: 3px; background: transparent; }
.sl-resource-contact .sl-resource-icon { color: #b3e0da; background: #243f50; }
.sl-resource-contact a:is(:hover,:focus-visible) { background: #223d50; }
.sl-home-resources .sl-resource-contact a:focus-visible { outline-color: #b3e0da; }
.sl-hub-related h2 { margin: 0 0 .75rem; color: var(--navy); font: 650 clamp(1.15rem,1.8vw,1.4rem)/1.3 var(--sans); letter-spacing: -.025em; }
.sl-service-hub a { color: var(--teal-hover); text-decoration: underline; text-decoration-color: #849e9f; text-underline-offset: .25em; }
.sl-service-hub a:hover { text-decoration-color: currentColor; }
.sl-service-hub { padding-block: clamp(22px,3.3vw,46px) clamp(44px,6vw,80px); }
.sl-service-hub > header { max-width: 76ch; margin: clamp(21px,3vw,36px) 0 28px; }
.sl-service-hub > header h1 { margin: 0 0 .6rem; font: 600 clamp(2rem,4vw,3.7rem)/1.07 var(--display); color: var(--navy); letter-spacing: -.04em; }
.sl-service-hub > header p { color: var(--body-text); font-size: 1.06rem; line-height: 1.6; }
.sl-hub-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(12px,2vw,22px); }
.sl-hub-card { display: grid; grid-template-columns: 39px minmax(0,1fr); align-content: start; gap: .5rem .85rem; background: white; border: 1px solid var(--border); border-radius: 7px; padding: clamp(16px,2.3vw,30px); }
.sl-hub-icon { width: 39px; height: 39px; display: grid; place-items: center; color: var(--teal); border-radius: 5px; background: var(--teal-wash); }
.sl-hub-icon .ic { width: 22px; height: 22px; }
.sl-hub-card h2, .sl-hub-directory-group h2 { align-self: center; color: var(--navy); font: 650 clamp(1.13rem,1.7vw,1.45rem)/1.3 var(--sans); letter-spacing: -.02em; }
.sl-hub-card p, .sl-hub-actions { grid-column: 1/-1; }
.sl-hub-card p, .sl-hub-directory-group p { color: var(--body-text); line-height: 1.55; }
.sl-hub-card .sl-hub-fee { color: var(--secondary-text); font-size: .95rem; }
.sl-hub-actions, .sl-hub-related > div { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.1rem; }
.sl-hub-actions { margin-top: .55rem; }
.sl-hub-actions a { padding-block: 6px; font-weight: 560; }
.sl-hub-related, .sl-hub-directory-group { border-top: 1px solid var(--border); padding-top: 20px; margin-top: 26px; }
.sl-hub-related a { padding-block: 6px; }
.sl-hub-directory-group ul { margin: .85rem 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px 24px; }
.sl-hub-directory-group li > a { display: inline-block; padding-block: 4px; font-weight: 620; }
@media (max-width:950px) {
  .sl-home-resources { grid-template-columns: minmax(0,1fr); }
  .sl-resource-guides { padding-block: 0; }
}
@media (min-width:701px) and (max-width:950px) {
  .sl-resource-contact ul { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
  .sl-resource-contact li + li { border-top: 0; border-inline-start: 1px solid #426072; padding-inline-start: 12px; }
}
@media (max-width:800px) {
  .sl-hub-directory-group ul { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:650px) {
  .sl-resource-guides ul, .sl-hub-grid, .sl-hub-directory-group ul { grid-template-columns: 1fr; }
  .sl-home-resources a { min-height: 62px; }
}
