/* ============================================================================
   LeadLock full marketing site + tutorial — component styles.
   Loads alongside style.css (shared tokens/fonts live there). No external deps.
   ============================================================================ */

/* ---------- sticky nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 20px; padding: 12px 22px; }
.nav__links { display: flex; align-items: center; gap: 26px; margin-left: 8px; }
.nav__links a { color: var(--navy); text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.nav__links a:hover { color: var(--emerald-dark); }
.nav__links a[aria-current="page"] { color: var(--emerald-dark); }
.nav__cta { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.btn-primary--sm { padding: 10px 18px; font-size: .95rem; box-shadow: 0 8px 18px rgba(16,168,107,.28); }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; margin-left: auto; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ghost button */
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.08); color: #eaf1f7; text-decoration: none;
  font-family: "Sora"; font-weight: 700; font-size: 1.02rem;
  padding: 15px 26px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,.28);
  cursor: pointer; transition: background .15s, border-color .15s;
}
.btn-ghost:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.5); }
.btn-ghost svg { width: 19px; height: 19px; stroke: currentColor; }
.btn-ghost--dark { color: var(--navy); background: #fff; border-color: var(--line); }
.btn-ghost--dark:hover { background: var(--soft); border-color: var(--emerald); }

/* ---------- hero v2 ---------- */
.hero2 {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 82% -10%, rgba(23,192,125,.22), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #eaf1f7; padding: 62px 0 70px;
}
.hero2__inner { display: grid; grid-template-columns: 1.08fr .92fr; gap: 50px; align-items: center; }
.hero2__copy { max-width: 580px; }
.hero2 h1 { color: #fff; font-size: 3rem; font-weight: 800; margin-bottom: 18px; letter-spacing: -.02em; }
.hero2 h1 .accent { color: var(--emerald-bright); }
.hero2__sub { font-size: 1.16rem; color: #c3d2df; margin: 0 0 28px; }
.hero2__cta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero2__trust { font-size: .9rem; color: #93a6b6; margin: 20px 0 0; }

/* ---------- phone mockup (hero + tutorial) ---------- */
.phone {
  width: 300px; max-width: 100%; margin: 0 auto;
  background: #0a1826; border: 10px solid #050d17; border-radius: 34px;
  box-shadow: 0 30px 70px rgba(0,0,0,.4); padding: 14px 12px 18px; position: relative;
}
.phone__notch { width: 110px; height: 20px; background: #050d17; border-radius: 0 0 14px 14px; margin: -14px auto 12px; }
.phone__screen { background: #eef2f6; border-radius: 20px; padding: 14px 12px; min-height: 360px; }
.phone--lg { width: 320px; }
.callbar { background: #fff; border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow-sm); margin-bottom: 12px; }
.callbar__row { display: flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; color: var(--muted); }
.callbar__num { font-family: "Sora"; font-weight: 700; color: var(--navy); font-size: 1.05rem; margin-top: 2px; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot--red { background: #e5484d; }
.chat { display: flex; flex-direction: column; gap: 9px; }
.bubble { max-width: 82%; padding: 10px 13px; font-size: .9rem; line-height: 1.4; border-radius: 15px; }
.bubble--in { align-self: flex-start; background: #fff; color: var(--ink); border-bottom-left-radius: 5px; box-shadow: var(--shadow-sm); }
.bubble--out { align-self: flex-end; background: linear-gradient(135deg, var(--emerald-bright), var(--emerald-dark)); color: #fff; border-bottom-right-radius: 5px; }
.chat__tag {
  display: inline-flex; align-items: center; gap: 7px; margin: 14px auto 4px;
  background: #eafaf2; color: var(--emerald-dark); font-weight: 700; font-size: .82rem;
  padding: 8px 14px; border-radius: 999px;
}
.chat__tag svg { width: 15px; height: 15px; stroke: var(--emerald-dark); }

/* hero phone auto-animation */
.hero2__demo .bubble, .hero2__demo .chat__tag { opacity: 0; animation: popIn .5s ease forwards; }
.hero2__demo .b1 { animation-delay: .5s; }
.hero2__demo .b2 { animation-delay: 1.6s; }
.hero2__demo .b3 { animation-delay: 3.0s; }
.hero2__demo .b4 { animation-delay: 4.2s; }
.hero2__demo .b5 { animation-delay: 5.4s; }
@keyframes popIn { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero2__demo .bubble, .hero2__demo .chat__tag, .sim .bubble { opacity: 1 !important; animation: none !important; }
}

/* ---------- dark section ---------- */
.section--dark {
  background:
    radial-gradient(800px 400px at 15% 0%, rgba(23,192,125,.16), transparent 60%),
    linear-gradient(160deg, var(--navy), var(--navy-2));
  color: #eaf1f7;
}
.section__head--light h2 { color: #fff; }
.section__head--light p { color: #c3d2df; }
.eyebrow--light { color: var(--emerald-bright); }

/* ---------- ROI calculator ---------- */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: stretch; max-width: 980px; margin: 0 auto; }
.calc__inputs { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 28px 30px; display: grid; gap: 22px; align-content: start; }
.calc__field label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 600; font-size: .96rem; color: #dce7f0; margin-bottom: 10px; }
.calc__field output { font-family: "Sora"; font-weight: 800; color: var(--emerald-bright); font-size: 1.1rem; }
.calc__field input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; background: rgba(255,255,255,.18); outline: none; }
.calc__field input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--emerald-bright); cursor: pointer; border: 3px solid #0a1826; box-shadow: 0 2px 8px rgba(0,0,0,.4); }
.calc__field input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--emerald-bright); cursor: pointer; border: 3px solid #0a1826; }
.calc__out { background: #fff; color: var(--ink); border-radius: 18px; padding: 34px 30px; text-align: center; display: flex; flex-direction: column; justify-content: center; box-shadow: var(--shadow); }
.calc__out-label { color: var(--muted); font-weight: 600; font-size: .95rem; }
.calc__big { font-family: "Sora"; font-weight: 800; font-size: 3.2rem; color: var(--emerald-dark); line-height: 1; margin: 8px 0 4px; }
.calc__big span { font-size: 1.2rem; color: var(--muted); font-weight: 700; }
.calc__year { color: var(--ink); font-size: 1rem; margin-bottom: 8px; }
.calc__year strong { color: var(--navy); }
.calc__note { color: var(--muted); font-size: .86rem; min-height: 1.2em; margin: 0 0 20px; }
.calc__out .btn-primary { justify-content: center; }
.calc__disclaimer { text-align: center; color: #93a6b6; font-size: .8rem; margin: 26px auto 0; max-width: 760px; }

/* ---------- tabs (the system) ---------- */
.tabs { max-width: 980px; margin: 0 auto; }
.tabs__nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 30px; }
.tabs__btn { background: #fff; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; font-family: "Sora"; font-weight: 700; font-size: .92rem; color: var(--muted); padding: 11px 20px; transition: all .15s; }
.tabs__btn:hover { border-color: var(--emerald); color: var(--emerald-dark); }
.tabs__btn.is-active { background: linear-gradient(135deg, var(--emerald-bright), var(--emerald-dark)); color: #fff; border-color: transparent; box-shadow: 0 8px 18px rgba(16,168,107,.3); }
.tabs__panel { animation: fade .3s ease; }
.tabs__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.tabs__text h3 { font-size: 1.5rem; font-weight: 800; color: var(--navy); }
.tabs__text p { color: var(--muted); font-size: 1.05rem; }
.tabs__fineprint { font-size: .82rem; color: var(--muted); font-style: italic; margin-top: 12px; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 11px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink); font-size: 1rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: #eafaf2 url("img/check.svg") center/12px no-repeat; }
.tabs__demo { display: flex; justify-content: center; }
.sms { width: 100%; max-width: 360px; background: #eef2f6; border-radius: 18px; padding: 16px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 9px; }
.sms__hd { text-align: center; font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }

/* mini cliff (inside tab) */
.mini-cliff { width: 100%; max-width: 360px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; box-shadow: var(--shadow-sm); }
.mini-cliff__hd { font-weight: 700; color: var(--navy); font-size: .95rem; margin-bottom: 14px; }
.cliffbar { background: var(--soft); border-radius: 8px; margin: 7px 0; overflow: hidden; }
.cliffbar span { display: block; background: linear-gradient(90deg, var(--emerald), var(--emerald-dark)); color: #fff; font-size: .78rem; font-weight: 700; padding: 6px 10px; white-space: nowrap; border-radius: 8px; }
.cliffbar--dead span { background: #b8c2cc; }
.mini-cliff__ft { font-size: .74rem; color: var(--muted); margin: 12px 0 0; }

/* report card (inside tab) */
.report-card { width: 100%; max-width: 340px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: var(--shadow-sm); }
.report-card__hd { font-family: "Sora"; font-weight: 800; color: var(--navy); font-size: 1.1rem; margin-bottom: 14px; }
.report-row { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); }
.report-row span { color: var(--muted); font-size: .95rem; }
.report-row b { font-family: "Sora"; font-size: 1.4rem; color: var(--emerald-dark); }
.report-card__ft { font-size: .74rem; color: var(--muted); margin-top: 14px; }

/* ---------- flow (how-it-works teaser) ---------- */
.flow { display: flex; align-items: stretch; justify-content: center; gap: 12px; flex-wrap: wrap; }
.flow__step { flex: 1 1 200px; max-width: 240px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px 20px; box-shadow: var(--shadow-sm); text-align: center; }
.flow__n { width: 40px; height: 40px; margin: 0 auto 14px; border-radius: 50%; background: linear-gradient(135deg, var(--emerald-bright), var(--emerald-dark)); color: #fff; font-family: "Sora"; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.flow__step h3 { font-size: 1.12rem; color: var(--navy); margin-bottom: 6px; }
.flow__step p { color: var(--muted); font-size: .92rem; margin: 0; }
.flow__arrow { align-self: center; color: var(--emerald); font-size: 1.6rem; font-weight: 700; }
.flow__cta { text-align: center; margin-top: 38px; }

/* ---------- comparison table ---------- */
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 16px; box-shadow: var(--shadow-sm); }
.compare { width: 100%; border-collapse: collapse; background: #fff; min-width: 680px; }
.compare th, .compare td { padding: 15px 16px; text-align: center; border-bottom: 1px solid var(--line); font-size: .95rem; }
.compare thead th { background: var(--soft); font-family: "Sora"; font-weight: 700; color: var(--navy); font-size: .95rem; }
.compare thead th.compare__us { background: linear-gradient(135deg, var(--emerald), var(--emerald-dark)); color: #fff; }
.compare tbody th { text-align: left; font-weight: 600; color: var(--ink); background: #fdfefe; }
.compare td.yes { color: var(--emerald-dark); font-weight: 700; }
.compare td.no { color: #b0392e; }
.compare td.maybe { color: var(--muted); }
.compare tbody td:nth-child(2) { background: #f3fcf8; font-weight: 700; }
.compare__ft { text-align: center; color: var(--muted); font-size: .82rem; margin: 20px auto 0; max-width: 760px; }

/* ---------- case fine print ---------- */
.case__fine { font-size: .82rem; color: var(--muted); font-style: italic; margin-top: 14px; }

/* ---------- pricing plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { position: relative; background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 32px 28px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.plan--feature { border-color: var(--emerald); box-shadow: 0 20px 45px rgba(16,168,107,.16); }
.plan__tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--emerald-bright), var(--emerald-dark)); color: #fff; font-family: "Sora"; font-weight: 700; font-size: .74rem; letter-spacing: .05em; text-transform: uppercase; padding: 6px 16px; border-radius: 999px; white-space: nowrap; }
.plan__name { font-family: "Sora"; font-weight: 700; color: var(--navy); font-size: 1.1rem; }
.plan__price { font-family: "Sora"; font-weight: 800; color: var(--emerald-dark); font-size: 2rem; line-height: 1.1; margin: 10px 0 2px; }
.plan__price span { font-size: 1rem; color: var(--muted); font-weight: 700; }
.plan__unit { color: var(--muted); font-size: .86rem; margin-bottom: 16px; }
.plan__desc { color: var(--ink); font-size: .96rem; margin: 0 0 16px; }
.plan .ticks { margin-bottom: 24px; }
.plan .ticks li { font-size: .94rem; }
.plan .btn-primary, .plan .btn-ghost--dark { margin-top: auto; justify-content: center; text-align: center; }
.plans__ft { text-align: center; color: var(--muted); font-size: .82rem; margin: 24px auto 0; max-width: 820px; }

/* ---------- footer nav ---------- */
.site-footer__nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 18px; }
.site-footer__nav a { color: #9ff0c6; text-decoration: none; font-weight: 600; font-size: .92rem; }

/* ============================================================================
   TUTORIAL PAGE (how-it-works)
   ============================================================================ */
.page-hd { background: var(--soft); border-bottom: 1px solid var(--line); padding: 48px 0 42px; text-align: center; }
.page-hd h1 { font-size: 2.5rem; font-weight: 800; color: var(--navy); max-width: 760px; margin: 16px auto 12px; }
.page-hd p { color: var(--muted); font-size: 1.12rem; max-width: 620px; margin: 0 auto; }
.page-hd .pill { background: #eafaf2; border-color: rgba(16,168,107,.3); color: var(--emerald-dark); }
.page-hd .pill svg { stroke: var(--emerald-dark); }

/* simulator */
.sim-section { padding-top: 54px; padding-bottom: 54px; }
.sim { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: center; max-width: 980px; margin: 0 auto; }
.sim__phone { display: flex; justify-content: center; }
.sim__phone .phone__screen { min-height: 420px; }
.sim__stepno { color: var(--emerald-bright); font-family: "Sora"; font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.sim__title { color: #fff; font-size: 1.8rem; font-weight: 800; margin: 8px 0 12px; }
.sim__body { color: #c3d2df; font-size: 1.08rem; margin: 0 0 18px; }
.sim__why { background: rgba(23,192,125,.1); border: 1px solid rgba(23,192,125,.28); border-radius: 12px; padding: 16px 18px; }
.sim__why-lbl { display: block; color: var(--emerald-bright); font-weight: 700; font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; }
.sim__why p { margin: 0; color: #dce7f0; font-size: .96rem; }
.sim__controls { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.sim__controls .btn-ghost--dark { background: rgba(255,255,255,.1); color: #eaf1f7; border-color: rgba(255,255,255,.28); }
.sim__controls .btn-ghost--dark:hover:not(:disabled) { background: rgba(255,255,255,.2); }
.sim__controls button:disabled { opacity: .4; cursor: not-allowed; }
.sim__dots { display: flex; gap: 8px; margin-top: 20px; }
.sim__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.25); transition: background .2s, transform .2s; }
.sim__dots i.on { background: var(--emerald-bright); transform: scale(1.25); }
.sim .bubble { opacity: 0; animation: popIn .4s ease forwards; }

/* three-column mechanism */
.threecol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.tri { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 30px 26px; box-shadow: var(--shadow-sm); }
.tri__ico { width: 54px; height: 54px; border-radius: 14px; background: #eafaf2; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.tri__ico svg { width: 27px; height: 27px; stroke: var(--emerald-dark); }
.tri h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 8px; }
.tri p { color: var(--muted); margin: 0; font-size: 1rem; }

/* big cliff */
.cliff { max-width: 760px; margin: 0 auto; }
.cliff__row { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: center; margin: 12px 0; }
.cliff__lbl { text-align: right; font-weight: 600; color: var(--navy); font-size: .92rem; }
.cliff__track { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; height: 40px; display: flex; align-items: center; }
.cliff__fill { display: flex; align-items: center; height: 100%; background: linear-gradient(90deg, var(--emerald), var(--emerald-dark)); color: #fff; font-weight: 700; font-size: .8rem; padding-left: 14px; border-radius: 10px; min-width: 0; }
.cliff__fill--dead { background: #c3ccd4; color: #5c6b78; }

/* detail card */
.detail-card { display: grid; grid-template-columns: 64px 1fr; gap: 24px; align-items: start; max-width: 860px; margin: 0 auto; background: var(--soft); border: 1px solid var(--line); border-left: 4px solid var(--emerald); border-radius: 16px; padding: 34px 34px; }
.detail-card__ico { width: 60px; height: 60px; border-radius: 14px; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.detail-card__ico svg { width: 30px; height: 30px; stroke: var(--emerald-dark); }
.detail-card h2 { font-size: 1.5rem; color: var(--navy); margin: 2px 0 10px; }
.detail-card p { color: var(--muted); font-size: 1.05rem; margin: 0; }

/* ============================================================================
   INTERNAL PLAYBOOK PAGE
   ============================================================================ */
.pb-body { background: var(--soft); }
.pb-tag { margin-left: auto; color: var(--muted); font-size: .85rem; font-weight: 600; }
.pb { max-width: 860px; }
.pb h1 { font-size: 1.9rem; margin-top: 28px; }
.pb h2 { margin-top: 40px; }
.pb-warn { background: #fff7e6; border: 1px solid #f5d98b; border-radius: 10px; padding: 14px 18px; font-size: .92rem; color: #74560f; }
.pb-warn a { color: #a6790f; }
.pb-script { background: #0b1f33; color: #eaf1f7; border-radius: 12px; padding: 20px 24px; font-size: 1.06rem; line-height: 1.6; margin: 16px 0; border-left: 4px solid var(--emerald-bright); }
.pb-table { width: 100%; border-collapse: collapse; margin: 14px 0; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); }
.pb-table th, .pb-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .96rem; }
.pb-table th { width: 38%; font-weight: 700; color: var(--navy); background: #fdfefe; }
.pb-table td { color: #33434f; }
.pb-foot { margin-top: 40px; }

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 960px) {
  .nav__links, .nav__cta .header-call { display: none; }
  .nav__toggle { display: block; }
  .nav.open .nav__links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--line); padding: 12px 22px 18px; box-shadow: var(--shadow);
  }
  .nav.open .nav__links a { padding: 10px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav__cta { margin-left: 0; }
  .hero2__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero2__copy { max-width: none; }
  .hero2__demo { order: 2; }
  .calc { grid-template-columns: 1fr; gap: 22px; }
  .tabs__grid { grid-template-columns: 1fr; gap: 26px; }
  .tabs__demo { order: -1; }
  .sim { grid-template-columns: 1fr; gap: 32px; }
  .sim__phone { order: 2; }
  .threecol { grid-template-columns: 1fr; gap: 18px; }
  .plans { grid-template-columns: 1fr; gap: 30px; }
  .detail-card { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 760px) {
  .hero2 h1 { font-size: 2.2rem; }
  .hero2 { padding: 44px 0 52px; }
  .page-hd h1 { font-size: 1.9rem; }
  .sim__title { font-size: 1.5rem; }
  .flow__arrow { transform: rotate(90deg); }
  .cliff__row { grid-template-columns: 96px 1fr; gap: 10px; }
  .cliff__lbl { font-size: .8rem; }
  .calc__big { font-size: 2.6rem; }
}

/* ============================================================================
   THE WHOLE MACHINE — full service-stack grid (homepage + services page)
   ============================================================================ */
.machine { display: grid; gap: 40px; max-width: 1040px; margin: 0 auto; }
.svc-group__hd { margin: 0 0 20px; }
.svc-group__n { display: inline-block; font-family: "Sora"; font-weight: 800; color: var(--emerald-dark); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.svc-group__hd h3 { font-size: 1.4rem; color: var(--navy); margin: 0 0 4px; }
.svc-group__hd p { color: var(--muted); margin: 0; font-size: 1rem; }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 20px; box-shadow: var(--shadow-sm); }
.svc__ico { width: 44px; height: 44px; border-radius: 11px; background: #eafaf2; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.svc__ico svg { width: 22px; height: 22px; stroke: var(--emerald-dark); }
.svc h4 { font-family: "Sora"; font-weight: 700; font-size: 1.02rem; color: var(--navy); margin: 0 0 5px; }
.svc p { color: var(--muted); font-size: .9rem; margin: 0; line-height: 1.45; }
.machine__ft { text-align: center; margin-top: 40px; }

/* ---------- pricing ladder (free lead-in + 3 tiers + custom strip) ---------- */
.tier-lead {
  display: flex; align-items: center; justify-content: space-between; gap: 20px 28px; flex-wrap: wrap;
  background: #eafaf2; border: 1px solid rgba(16,168,107,.35); border-radius: 16px; padding: 22px 30px; margin-bottom: 28px;
}
.tier-lead__copy { max-width: 640px; }
.tier-lead__t { font-family: "Sora"; font-weight: 800; color: var(--navy); font-size: 1.18rem; margin: 0; }
.tier-lead__t span { color: var(--emerald-dark); }
.tier-lead p { color: var(--muted); margin: 5px 0 0; font-size: .95rem; }
.plan__prev { font-size: .84rem; color: var(--emerald-dark); font-weight: 700; margin: -4px 0 12px; }
.tier-custom { text-align: center; background: var(--soft); border: 1px solid var(--line); border-radius: 16px; padding: 28px 30px; margin-top: 28px; }
.tier-custom h3 { color: var(--navy); font-size: 1.25rem; margin: 0 0 6px; }
.tier-custom p { color: var(--muted); margin: 0 auto 18px; max-width: 640px; font-size: 1rem; }

/* ---------- services page hero list ---------- */
.svc-hero-tags { display: flex; flex-wrap: wrap; gap: 8px 10px; justify-content: center; max-width: 760px; margin: 22px auto 0; }
.svc-hero-tags span { background: #fff; border: 1px solid var(--line); color: var(--navy); font-weight: 600; font-size: .82rem; padding: 7px 14px; border-radius: 999px; box-shadow: var(--shadow-sm); }

@media (max-width: 960px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .svc-grid { grid-template-columns: 1fr; }
  .tier-lead { justify-content: center; text-align: center; }
}
