.svc-section {
  border-block-end: 1px solid var(--line);
  background: var(--bg);
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.25rem, 2.55vw, 2.6rem);
  border: 1px solid var(--line);
  border-radius: .7rem;
  background: var(--surface);
  transition: border-color .18s ease, background .18s ease;
}
.svc-card:hover,
.svc-card:focus-visible {
  background: #22241f;
  border-color: #73834b;
}
.svc-category {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--lime);
  font: 500 .85rem/1.35 var(--mono);
}
.svc-icon { width: 1.55rem; height: 1.55rem; flex-shrink: 0; }
.svc-card h3 {
  max-width: 23ch;
  font-size: clamp(1.5rem, 2.25vw, 2.25rem);
  letter-spacing: -.043em;
  font-weight: 585;
  line-height: 1.13;
  margin: 1.35rem 0 .75rem;
}
.svc-card p,
.svc-page .svc-scope-items p,
.svc-page .svc-accept p,
.svc-page .svc-intro p {
  font-size: 1.035rem;
  line-height: 1.55;
  color: var(--muted);
}
.svc-card p { max-width: 50ch; margin-bottom: 1.35rem; }
.svc-detail-link,
.svc-nav,
.svc-brief {
  text-decoration: underline;
  text-underline-offset: .32em;
  text-decoration-thickness: 1px;
}
.svc-detail-link {
  margin-top: auto;
  font-size: .87rem;
  text-decoration-color: #696d60;
}
.svc-card:hover .svc-detail-link { color: var(--lime); }
.svc-nav { margin-inline: auto 0; color: var(--muted); }
.svc-intro {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 6vw, 7rem);
  align-items: center;
}
.svc-intro h1 {
  max-width: 17ch;
  font-size: clamp(2.7rem, 5.4vw, 5.6rem);
  line-height: 1.03;
  overflow-wrap: break-word;
  text-wrap: balance;
}
.svc-page .svc-intro p { max-width: 58ch; font-size: clamp(1.05rem, 1.25vw, 1.23rem); }
.svc-scenario {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: .8rem;
  padding: clamp(1.4rem, 3vw, 2.75rem);
  background: var(--surface);
}
.svc-scenario figcaption {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1.75rem;
  font: 500 .9rem/1.5 var(--mono);
  color: var(--lime);
}
.svc-scenario ol { list-style: none; margin: 0; padding: 0; }
.svc-scenario li { position: relative; padding: 0 0 1.6rem 1.7rem; }
.svc-scenario li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .46rem;
  width: .55rem;
  height: .55rem;
  border: 1px solid var(--lime);
  border-radius: .08rem;
}
.svc-scenario li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 1.25rem;
  bottom: -.2rem;
  left: .25rem;
  border-left: 1px dashed #636b56;
}
.svc-scenario li:last-child { padding-bottom: 0; }
.svc-scenario li:last-child::before { background: var(--lime); }
.svc-scenario strong, .svc-scenario li span { display: block; }
.svc-scenario strong { font-size: 1.16rem; font-weight: 585; letter-spacing: -.025em; }
.svc-scenario li span { margin-top: .25rem; font-size: .97rem; line-height: 1.48; color: var(--muted); }
.svc-scope { background: var(--surface); border-block: 1px solid var(--line); }
.svc-layout { display: grid; gap: clamp(2rem, 7vw, 8rem); grid-template-columns: .8fr 1.2fr; }
.svc-layout h2 { max-width: 13ch; text-wrap: balance; }
.svc-scope-items section + section { border-top: 1px solid var(--line); padding-top: 1.3rem; margin-top: 1.3rem; }
.svc-scope-items h3 { font-size: 1.32rem; font-weight: 595; letter-spacing: -.03em; }
.svc-scope-items p { margin-top: .45rem; }
.svc-terms { max-width: 62ch; line-height: 1.55; }
.svc-terms strong { font-size: 1.22rem; font-weight: 600; }
.svc-terms p { margin: .6rem 0 1rem; color: var(--muted); }
.svc-terms a { color: var(--lime); text-decoration: underline; text-underline-offset: .25em; }
.svc-example {
  display: inline-grid;
  gap: .35rem;
  border-left: 2px solid var(--lime);
  padding: .18rem 0 .18rem .9rem;
  margin-top: 1.5rem;
}
.svc-example small { font: 400 .8rem/1.4 var(--mono); color: var(--muted); }
.svc-example strong { color: var(--lime); font-weight: 550; text-decoration: underline; text-underline-offset: .22em; }
.svc-brief { font-size: .92rem; line-height: 1.5; }
.svc-page .contact-strip a:focus-visible { outline-color: #22251c; }
.svc-page .contact-inner p { max-width: 64ch; }
.svc-footer { min-height: 4.5rem; display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1.25rem; padding-block: 1rem; font-size: .9rem; color: var(--muted); }
.svc-footer a:first-child { color: var(--paper); font-weight: 600; }
.svc-footer a:last-child { margin-left: auto; }
.svc-footer a:hover { color: var(--lime); }
@media (max-width: 720px) {
  .svc-intro, .svc-layout { grid-template-columns: 1fr; gap: 1.6rem; }
  .svc-intro h1 { max-width: 18ch; }
  .svc-layout h2 { max-width: 100%; }
  .svc-page .contact-inner { display: grid; }
  .svc-page .contact-actions { justify-items: start; }
  .svc-card h3 { margin-top: 1rem; font-size: 1.4rem; }
}
@media (max-width: 540px) {
  .svc-grid { grid-template-columns: 1fr; gap: .75rem; }
  .svc-section .section { padding-block: 2.25rem; }
  .svc-card { padding: 1.15rem; }
  .svc-card p { margin-bottom: .9rem; }
  .svc-card h3 { max-width: 100%; }
  .svc-nav { font-size: .84rem; }
  .svc-page .mast-row { gap: .6rem; }
  .svc-page .mast .brand { font-size: 1.15rem; gap: .3rem; }
  .svc-page .mast .brand img { width: 1.5rem; height: 1.5rem; }
  .svc-intro h1 { font-size: clamp(2.35rem, 10.5vw, 3.8rem); }
}
@media (max-width: 360px) {
  .svc-nav { text-wrap: balance; max-width: 8ch; }
  .svc-footer { column-gap: .7rem; }
}
