/* Service pages (Web apps, Mobile apps) — "Bone & Lime". Owned by the service
   page only; tokens, type, buttons, navigation and footer come from public.css.
   The illustrative screens and the closing panel copy the homepage's visual
   language rather than importing home.css, so each page owns what it shows. */
.svc-wrap { max-width: 1360px; margin: 0 auto; padding: 0 var(--gut); }
.svc-line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.svc-line > span { display: block; }
.svc-display em, .svc-heading em { font-style: normal; color: var(--accent-ink); }
.svc-closing-title em { font-style: normal; color: var(--lime); }
.svc-heading { font-family: var(--sans); font-size: clamp(40px, 4.8vw, 70px); font-weight: 650; line-height: 1; letter-spacing: -0.045em; }
.svc-copy { max-width: 44ch; margin-top: 24px; font-size: 18.5px; color: var(--ink-2); }
.svc-copy + .svc-copy { margin-top: 16px; }

/* ---------- hero ---------- */
.svc-hero { padding-top: 136px; }
.svc-hero .svc-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.svc-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; color: var(--ink-3); }
.svc-eyebrow a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.svc-eyebrow a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.svc-eyebrow span:last-child { color: var(--ink); }
.svc-display { margin-top: 8px; font-family: var(--sans); font-size: clamp(42px, 5.6vw, 84px); font-weight: 650; line-height: 0.98; letter-spacing: -0.05em; }
.svc-lead { max-width: 44ch; margin-top: 28px; font-size: 18.5px; color: var(--ink-2); }
.svc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.svc-note { margin-top: 16px; font-size: 13.5px; color: var(--ink-3); }

/* illustrative screens */
.svc-art { --art-scale: 0.86; position: relative; min-width: 0; }
.svc-stage { position: relative; height: min(70vh, 640px); overflow: hidden; border-radius: 36px; background: var(--bone-2); isolation: isolate; }
.svc-stage::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, rgb(233 229 220 / 0%) 72%, rgb(233 229 220 / 80%) 100%); }
.svc-stage-tag { position: absolute; left: 20px; bottom: 18px; z-index: 6; padding: 8px 12px; border-radius: 999px; background: rgb(251 250 247 / 92%); color: var(--ink-2); font-size: 13px; }
.svc-win { position: absolute; width: 420px; height: 290px; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 30px 60px -30px rgb(14 20 36 / 32%), 0 0 0 1px rgb(14 20 36 / 6%); font-size: 11px; line-height: 1.4; transform: translate(-50%, -50%) scale(var(--art-scale, 1)); transform-origin: 50% 50%; }
.svc-win-bar { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-bottom: 1px solid var(--line); background: #f7f6f2; }
.svc-win-bar i { width: 8px; height: 8px; border-radius: 50%; background: #d8d5cd; }
.svc-win-bar span { flex: 1; max-width: 220px; margin-left: 12px; padding: 0 8px; border-radius: 7px; background: #ecebe6; color: #6f7280; font-size: 9px; line-height: 14px; white-space: nowrap; overflow: hidden; }
.svc-win-body { height: calc(100% - 28px); padding: 16px; }
.svc-win-site { left: 38%; top: 27%; z-index: 1; }
.svc-win-portal { left: 66%; top: 48%; z-index: 2; }
.svc-win-tool { left: 40%; top: 71%; z-index: 3; }
.svc-phone { position: absolute; width: 240px; height: 490px; padding: 12px; border-radius: 38px; background: #fff; box-shadow: 0 1px 0 rgb(255 255 255 / 80%) inset, 0 30px 60px -30px rgb(14 20 36 / 35%), 0 0 0 1px rgb(14 20 36 / 6%); transform: translate(-50%, -50%) rotate(var(--r, 0deg)) scale(var(--art-scale, 1)); }
.svc-scr { position: relative; height: 100%; overflow: hidden; padding: 34px 16px 16px; border-radius: 28px; background: var(--paper); font-size: 11px; line-height: 1.4; }
.svc-scr::before { content: ""; position: absolute; top: 9px; left: 50%; width: 70px; height: 18px; border-radius: 12px; background: var(--ink); transform: translateX(-50%); }
.svc-phone-front { --r: -4deg; left: 38%; top: 56%; z-index: 2; }
.svc-phone-back { --r: 7deg; left: 66%; top: 46%; z-index: 1; }
.svc-k { font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: #6b6f7c; }
.svc-h { margin: 4px 0 10px; font-family: var(--sans); font-size: 20px; font-weight: 650; line-height: 1.08; letter-spacing: -0.035em; }
.svc-h-lg { font-size: 27px; }
.svc-big { font-family: var(--sans); font-size: 22px; font-weight: 650; line-height: 1; letter-spacing: -0.04em; }
.svc-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.svc-chip { display: inline-block; padding: 3px 8px; border-radius: 999px; background: var(--bone-2); font-size: 9.5px; }
.svc-chip-g { background: #e3f0c4; }
.svc-chip-l { background: var(--lime); }
.svc-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 10px 0; }
.svc-slots b { padding: 8px 0; border: 1px solid var(--line); border-radius: 10px; font-weight: 500; text-align: center; }
.svc-slots b.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.svc-btnx { display: block; margin-top: 10px; padding: 10px; border-radius: 999px; background: var(--ink); color: #fff; text-align: center; }
.svc-btnx-lime { background: var(--lime); color: var(--ink); }
.svc-btnx-inline { display: inline-block; padding: 8px 14px; }
.svc-grid2 { display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px; }
.svc-ph { display: block; height: 100%; border-radius: 10px; background: linear-gradient(135deg, #e7dcc6, #c9b994); }
.svc-scr .svc-ph { height: 120px; margin: 4px 0 6px; }
.svc-ph-g { background: linear-gradient(135deg, #cfe0b5, #7fa35d); }
.svc-lines i { display: block; height: 7px; margin: 7px 0; border-radius: 4px; background: #ebe9e3; }

/* ---------- sections ---------- */
.svc-section { padding: 140px 0 0; scroll-margin-top: 80px; }
.svc-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.svc-build { padding: 36px 40px; border-radius: 36px; background: var(--paper); box-shadow: 0 0 0 1px var(--line) inset; }
.svc-list { list-style: none; font-size: 16.5px; }
.svc-list li { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.svc-list li:last-child { border-bottom: 1px solid var(--line); }
.home-check { flex: none; }
.svc-build-note { margin-top: 20px; font-size: 15px; color: var(--ink-2); }
.svc-build-note strong { font-weight: 600; color: var(--ink); }
.svc-build .public-text-link { margin-top: 8px; }
.svc-section-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; margin-bottom: 48px; }
.svc-section-head .svc-copy { margin-top: 0; }

/* offers */
.svc-offers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.svc-offer { display: flex; flex-direction: column; min-width: 0; padding: 40px; border-radius: 36px; }
.svc-offer-starter { background: var(--paper); box-shadow: 0 0 0 1px var(--line) inset; }
.svc-offer-custom { background: var(--sage); }
.svc-offer h3 { font-family: var(--sans); font-size: clamp(30px, 3vw, 44px); font-weight: 650; line-height: 1; letter-spacing: -0.04em; }
.svc-price { display: flex; flex-wrap: wrap; align-items: end; gap: 10px 32px; margin-top: 26px; }
.svc-price-figure { font-family: var(--sans); font-size: 52px; font-weight: 650; line-height: 1; letter-spacing: -0.045em; }
.svc-price-figure small { margin-left: 6px; font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--ink-3); }
.svc-price-tax { font-size: 14px; color: var(--ink-3); }
.svc-price-text { font-family: var(--sans); font-size: clamp(28px, 2.6vw, 38px); font-weight: 550; line-height: 1.1; letter-spacing: -0.035em; }
.svc-offer-intro { max-width: 40ch; margin-top: 18px; font-size: 17px; color: var(--ink-2); }
.svc-offer .svc-list { margin-top: 24px; font-size: 15.5px; }
.svc-offer .svc-list li { padding: 11px 0; }
.svc-offer-note { margin-top: 18px; font-size: 14.5px; color: var(--ink-2); }
.svc-offer .public-pill { align-self: flex-start; margin-top: auto; }
.svc-offer .svc-list + .public-pill, .svc-offer-note + .public-pill { margin-top: 28px; }
.svc-fine-print { margin-top: 24px; font-size: 14px; color: var(--ink-3); }

/* care and ownership */
.svc-faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; }
.svc-faq-list { border-top: 1px solid var(--ink); }
.svc-q { border-bottom: 1px solid var(--line); }
.svc-q summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 44px; padding: 26px 0; font-size: 21px; line-height: 1.3; letter-spacing: -0.01em; }
.svc-q summary::-webkit-details-marker { display: none; }
.svc-q-icon { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); transition: background-color .4s var(--ease), border-color .4s var(--ease); }
.svc-q-icon::before, .svc-q-icon::after { content: ""; position: absolute; left: 10px; right: 10px; top: 16px; height: 1.5px; background: var(--ink); transition: transform .5s var(--ease); }
.svc-q-icon::after { transform: rotate(90deg); }
.svc-q[open] .svc-q-icon { background: var(--lime); border-color: var(--lime); }
.svc-q[open] .svc-q-icon::after { transform: rotate(0deg); }
.svc-q::details-content { block-size: 0; overflow: hidden; transition: block-size .6s var(--ease), content-visibility .6s var(--ease) allow-discrete; }
.svc-q[open]::details-content { block-size: auto; }
.svc-a p { max-width: 66ch; padding: 0 60px 20px 0; color: var(--ink-2); }
.svc-a p:last-child { padding-bottom: 26px; }

/* ---------- closing ---------- */
.svc-closing { padding: 140px var(--gut) 24px; }
.svc-closing-in { position: relative; overflow: hidden; max-width: 1360px; margin: 0 auto; padding: clamp(48px, 7vw, 110px) clamp(28px, 6vw, 96px); border-radius: 44px; background: var(--green); color: var(--green-ink); }
.svc-closing-title { position: relative; max-width: 14ch; color: var(--green-ink); font-family: var(--sans); font-size: clamp(42px, 6vw, 88px); font-weight: 650; line-height: 0.98; letter-spacing: -0.05em; }
.svc-closing-row { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 28px; margin-top: 48px; }
.svc-closing-row p { max-width: 40ch; font-size: 18.5px; color: #e4ecd9; }
.svc-closing-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.svc-closing-glow { position: absolute; right: -120px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgb(214 242 106 / 32%), rgb(214 242 106 / 0%) 65%); pointer-events: none; }

/* ---------- responsive ---------- */
@media (max-width: 1280px) {
  .svc-art { --art-scale: 0.74; }
}
@media (max-width: 1080px) {
  .svc-hero .svc-wrap { grid-template-columns: 1fr; gap: 40px; }
  .svc-hero { padding-top: 124px; }
  .svc-stage { height: 520px; }
  .svc-art { --art-scale: 0.9; }
  .svc-stage-tag { position: static; display: inline-block; margin-top: 12px; background: var(--bone-2); }
  .svc-win-site { top: 30%; }
  .svc-phone-front { left: 38%; top: 54%; }
  .svc-phone-back { left: 64%; top: 48%; }
  .svc-split, .svc-section-head { grid-template-columns: 1fr; gap: 32px; }
  .svc-offers { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .svc-faq { grid-template-columns: 1fr; gap: 40px; }
  .svc-section { padding-top: 96px; }
  .svc-closing { padding-top: 96px; }
}
@media (max-width: 600px) {
  .svc-hero { padding-top: 110px; }
  .svc-display { font-size: clamp(36px, 10.4vw, 48px); }
  .svc-lead, .svc-copy { font-size: 17px; }
  .svc-build, .svc-offer { padding: 28px 24px; border-radius: 28px; }
  .svc-price-figure { font-size: 44px; }
  .svc-q summary { padding: 22px 0; font-size: 18px; }
  .svc-a p { padding-right: 0; }
  .svc-closing-in { border-radius: 32px; }
}
@media (max-width: 400px) {
  .svc-build, .svc-offer { padding: 24px 18px; }
  .svc-actions .public-pill, .svc-offer .public-pill, .svc-closing-actions .public-pill { max-width: 100%; white-space: normal; text-align: center; }
}
/* ---------- phone picture ----------
   Redrawn for the phone screen rather than shrunk: the sample screens run down
   the picture at full size, alternating sides like desktop, and each one overlaps
   the screen before it only where that screen is empty, so every line stays
   readable. Heights come from the content, so nothing is cut off at any width.
   The load-in rise (service.js) still only moves the whole stage. */
@media (max-width: 600px) {
  .svc-stage { display: flex; flex-direction: column; height: auto; padding: 18px 18px 24px; border-radius: 28px; }
  .svc-stage::after { background: linear-gradient(180deg, rgb(233 229 220 / 0%) calc(100% - 56px), rgb(233 229 220 / 70%) 100%); }
  .svc-win, .svc-phone { position: relative; left: auto; top: auto; flex: none; }
  .svc-k { font-size: 10px; }
  .svc-chip { padding: 3px 9px; font-size: 10.5px; }
  .svc-row { padding: 7px 0; }
  .svc-btnx { padding: 9px 10px; }

  .svc-win { width: auto; height: auto; border-radius: 14px; font-size: 12px; transform: none; }
  .svc-win-bar { gap: 5px; padding: 0 10px; }
  .svc-win-bar span { margin-left: 6px; padding: 0 6px; font-size: 9.5px; }
  .svc-win-body { height: auto; padding: 14px; }
  .svc-win .svc-h { font-size: 23px; }
  .svc-win .svc-h-lg { font-size: 26px; }
  .svc-win .svc-grid2 { grid-template-columns: minmax(0, 1fr) 30%; gap: 12px; }
  .svc-win-site { margin-right: 20px; }
  .svc-win-site .svc-win-body { padding-bottom: 54px; }
  .svc-win-portal { margin: -40px 0 0 20px; }
  .svc-win-portal .svc-win-body { padding-bottom: 54px; }
  .svc-win-tool { margin: -40px 20px 0 0; }

  .svc-phone { width: 212px; height: 392px; padding: 9px; border-radius: 32px; transform: rotate(var(--r, 0deg)); }
  .svc-scr { padding: 30px 12px 12px; border-radius: 24px; font-size: 11.5px; }
  .svc-scr::before { top: 8px; width: 54px; height: 15px; }
  .svc-scr .svc-k { letter-spacing: 0.05em; }
  .svc-scr .svc-h { margin-bottom: 8px; font-size: 20px; }
  .svc-scr .svc-ph { height: 64px; }
  .svc-slots { gap: 5px; }
  .svc-slots b { padding: 7px 0; }
  .svc-phone-front { --r: -3deg; z-index: 1; margin-right: auto; }
  .svc-phone-back { --r: 4deg; z-index: 2; margin: -96px 0 0 auto; }
}
@media (max-width: 400px) {
  .svc-win-site { margin-right: 14px; }
  .svc-win-portal { margin-left: 14px; }
  .svc-win-tool { margin-right: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .svc-q::details-content, .svc-q-icon, .svc-q-icon::before, .svc-q-icon::after { transition: none; }
}
