/* ============================================================
   The Tech Pad — shared site styles (marketing subpages)
   Tokens match the home page + admin design system.
   ============================================================ */
:root {
  --ink: #10251e;
  --muted: #63716b;
  --paper: #f7f7f4;
  --card: #fff;
  --line: #dfe5e1;
  --green: #087552;
  --emerald: #059669;
  --lime: #dfff8f;
  --deep: #0d2b22;
  --soft: #ecf6f1;
  --shadow: 0 24px 70px #10251e1a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink);
  background: linear-gradient(180deg, #f4f7f3 0, #f8f8f5 38%, #f7f7f4 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
button, a, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: auto; }

/* ---------- nav ---------- */
header.wrap {
  position: sticky; top: 0; z-index: 30; width: 100%;
  padding: 0 max(20px, calc((100% - 1180px) / 2));
  background: #f7f7f4f2; border-bottom: 1px solid #dfe5e1b8;
}
.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; }
.brand-logo { display: block; width: 210px; max-width: 32vw; height: auto; }
.footer .brand-logo { width: 180px; }
.links { display: flex; gap: 26px; color: #42534c; font-size: 14px; }
.links a:hover { color: var(--green); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.language-menu { position: relative; }
.language-menu summary { list-style: none; }
.language-menu summary::-webkit-details-marker { display: none; }
.language-trigger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; padding: 0; border: 1px solid var(--line);
  border-radius: 999px; background: #fff; color: #42534c; cursor: pointer;
  transition: color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.language-trigger:hover { color: var(--green); border-color: #b9cec4; transform: translateY(-1px); box-shadow: 0 8px 22px #10251e14; }
.language-trigger:focus-visible { outline: 3px solid #90dfbd; outline-offset: 2px; }
.language-globe { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.language-popover {
  position: fixed; top: 88px; left: 50%; z-index: 80;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px;
  width: min(720px, calc(100vw - 32px)); max-height: calc(100dvh - 104px);
  padding: 12px; overflow-y: auto; overscroll-behavior: contain;
  border: 1px solid var(--line); border-radius: 20px; background: #fff;
  box-shadow: 0 24px 70px rgba(16,35,29,.22);
  transform: translateX(-50%);
}
.language-menu-title { grid-column: 1 / -1; padding: 6px 10px 8px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.language-option { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 8px; min-height: 42px; padding: 8px 10px; border-radius: 11px; color: #40554d; font-size: 14px; font-weight: 700; }
.language-option:hover { background: #f2f8f4; color: var(--green); }
.language-option.is-current { background: var(--deep); color: #fff; }
.language-option.is-current::after { content: "✓"; justify-self: end; }
.language-code { color: #718078; font-size: 11px; font-weight: 900; letter-spacing: .08em; }
.language-option.is-current .language-code { color: #bdebd7; }

/* Safety net: pages still carrying the legacy header markup
   (<header class="nav"> > .wrap > .nav-links) render identically to
   the canonical header.wrap > .nav > .links — a stray legacy header
   can never look broken again. */
header.nav {
  position: sticky; top: 0; z-index: 30; width: 100%;
  background: #f7f7f4f2; border-bottom: 1px solid #dfe5e1b8;
}
header.nav > .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.nav-links { display: flex; gap: 26px; align-items: center; color: #42534c; font-size: 14px; }
.nav-links a:hover { color: var(--green); }

/* Features submenu (additive — the Features link itself is untouched) */
.features-drop { position: relative; }
.features-drop > a::after { content: " ▾"; font-size: .75em; opacity: .6; }
.features-drop-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 140px;
  background: #fff;
  border: 1px solid var(--line, #dfe6e2);
  border-radius: 10px;
  box-shadow: 0 10px 26px rgba(13, 43, 34, .12);
  padding: 6px;
  display: none;
  z-index: 60;
}
.features-drop:hover .features-drop-menu,
.features-drop:focus-within .features-drop-menu { display: block; }
/* Transparent hover bridge: the menu floats 10px below the link; this
   pseudo-element makes that gap part of the menu's hit area so the
   dropdown doesn't vanish while the pointer is moving toward it. */
.features-drop-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}
.features-drop-menu a {
  display: block;
  padding: 7px 12px;
  border-radius: 7px;
  color: #42534c;
  font-size: 14px;
  white-space: nowrap;
}
.features-drop-menu a:hover { background: #f1f5f3; color: var(--green, #087552); }
@media (max-width: 620px) {
  /* Phones: expand the submenu inline under Features instead of hiding
     it (no hover on touch) — the items stay reachable. */
  .features-drop-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 2px 0 2px 14px;
    display: block;
  }
  .features-drop-menu a { font-size: 13.5px; padding: 6px 12px; }
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 999px; padding: 11px 19px;
  font-weight: 700; font-size: 14px; background: var(--card); transition: .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px #10251e14; }
.btn.dark { background: var(--deep); color: #fff; border-color: var(--deep); }
.btn.lime { background: var(--lime); color: var(--deep); border-color: var(--lime); }
.menu { display: none; background: none; border: 0; font-size: 24px; }

/* ---------- page hero ---------- */
.page-hero { padding: 84px 0 56px; text-align: center; }
.page-hero h1 {
  max-width: 860px; margin: 18px auto 16px; text-wrap: balance;
  font-size: clamp(42px, 6.4vw, 76px); line-height: 1; letter-spacing: -.06em; font-weight: 780;
}
.page-hero h1 span { color: var(--green); }
.page-hero p { max-width: 620px; margin: 0 auto; color: var(--muted); font-size: 17px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px;
  border: 1px solid #cddbd4; background: #fff; border-radius: 999px;
  font-size: 12px; font-weight: 760; color: #365247;
}
.kicker {
  text-transform: uppercase; letter-spacing: .14em; font-weight: 800;
  color: var(--green); font-size: 11px;
}

/* ---------- sections ---------- */
section { padding: 84px 0; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 52px); letter-spacing: -.05em; line-height: 1.05; margin: 12px 0; }
.section-head p { color: var(--muted); font-size: 16px; }
.dark-section { background: var(--deep); color: #fff; }
.dark-section .kicker { color: var(--lime); }
.dark-section .section-head p { color: #a9beb6; }

/* ---------- pricing ---------- */
.free-banner {
  max-width: 780px; margin: 0 auto 34px; padding: 14px 18px; border-radius: 14px;
  background: var(--soft); border: 1px solid #cfe6d9; text-align: center; font-size: 13px;
}
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plan {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px;
  display: flex; flex-direction: column; transition: .22s ease;
}
.plan:hover { transform: translateY(-3px); box-shadow: 0 16px 38px #071d1711; }
.plan.pop { background: var(--deep); color: #fff; }
.plan-tag { font-size: 11px; color: var(--green); font-weight: 800; }
.plan.pop .plan-tag { color: var(--lime); }
.price { font-size: 36px; font-weight: 780; letter-spacing: -.05em; margin: 14px 0 4px; }
.price span { font-size: 13px; font-weight: 500; color: var(--muted); }
.price .bp-monthly, .price span.bp-yearly { color: inherit; }
.price .bp-monthly { font-size: 36px; font-weight: 780; letter-spacing: -.05em; }
.plan.pop .price span, .plan.pop .desc { color: #aec1b9; }
.desc { color: var(--muted); font-size: 13px; min-height: 40px; }
.plan ul { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 8px; color: var(--muted); font-size: 12.5px; flex: 1; }
.plan li:before { content: "✓"; color: var(--green); font-weight: 900; margin-right: 8px; }
.plan.pop li:before { color: var(--lime); }
.plan .btn { width: 100%; margin-top: 16px; }
.plan-note { text-align: center; color: var(--muted); font-size: 12px; margin-top: 22px; }

/* comparison table */
.compare-wrap { overflow-x: auto; margin-top: 64px; }
.compare { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; font-size: 13.5px; min-width: 720px; }
.compare th, .compare td { padding: 14px 18px; border-bottom: 1px solid #edf1ee; text-align: left; }
.compare thead th { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: #fafbf9; }
.compare thead th.plan-name { font-size: 13px; text-transform: none; letter-spacing: 0; font-weight: 800; color: var(--ink); }
.compare thead th.pop-col { background: var(--deep); color: #fff; }
.compare td.row-label { color: var(--muted); font-weight: 600; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td.yes { color: var(--green); font-weight: 800; }
.compare td.no { color: #a8b3ae; }
.compare td.pop-col { background: #0f352b; color: #d9e9e1; }
.compare td.yes.pop-col { color: var(--lime); }

/* ---------- docs ---------- */
.doc-grid { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.doc-toc { position: sticky; top: 100px; display: grid; gap: 4px; font-size: 13.5px; }
.doc-toc a { padding: 7px 12px; border-radius: 9px; color: #42534c; text-decoration: none; }
.doc-toc a:hover { background: #eef3ef; color: var(--green); }
.doc-body { min-width: 0; }
.doc-body h2 { font-size: 30px; letter-spacing: -.04em; margin: 56px 0 14px; scroll-margin-top: 96px; }
.doc-body h2:first-child { margin-top: 0; }
.doc-body h3 { font-size: 19px; margin: 30px 0 10px; }
.doc-body p, .doc-body li { color: #3d4c46; font-size: 15px; }
.doc-body ul { padding-left: 20px; }
.doc-body code {
  background: #eef3ef; border: 1px solid #dfe7e2; border-radius: 6px;
  padding: 2px 6px; font-size: 13px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.endpoint {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 18px; margin: 18px 0; display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.method {
  font-size: 11px; font-weight: 900; letter-spacing: .06em; padding: 5px 10px;
  border-radius: 8px; background: #e6f7ed; color: var(--green);
}
.endpoint code.url { font-size: 14px; }
.endpoint .desc { flex-basis: 100%; margin: 0; }
pre.code {
  background: #071d17; border: 1px solid #28483e; border-radius: 14px; padding: 18px 20px;
  color: #c9ddd5; font: 13px/1.7 ui-monospace, SFMono-Regular, Menlo, monospace;
  overflow-x: auto; margin: 14px 0;
}
pre.code .green { color: #87e8ba; }
pre.code .yellow { color: #ddff91; }
pre.code .dim { color: #6f9488; }
table.data {
  width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden; font-size: 13.5px; margin: 16px 0;
}
table.data th, table.data td { padding: 11px 14px; border-bottom: 1px solid #edf1ee; text-align: left; vertical-align: top; }
table.data thead th { font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: #fafbf9; }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data code { white-space: nowrap; }
.note {
  border: 1px solid #cfe6d9; background: var(--soft); border-radius: 12px;
  padding: 14px 16px; font-size: 13.5px; color: #2f4a3e; margin: 16px 0;
}
.note b { color: var(--green); }
.steps { counter-reset: step; display: grid; gap: 14px; margin: 20px 0; }
.step {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px;
}
.step .num {
  width: 38px; height: 38px; border-radius: 50%; background: var(--deep); color: var(--lime);
  display: grid; place-items: center; font-weight: 800; font-size: 15px;
}
.step h3 { margin: 0 0 6px; font-size: 16.5px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- legal ---------- */
.legal { max-width: 780px; margin: auto; padding: 70px 0 90px; }
.legal h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -.055em; line-height: 1.05; margin: 14px 0 8px; }
.legal .updated { color: var(--muted); font-size: 13px; margin-bottom: 44px; }
.legal h2 { font-size: 24px; letter-spacing: -.03em; margin: 44px 0 12px; }
.legal h3 { font-size: 17px; margin: 26px 0 8px; }
.legal p, .legal li { color: #3d4c46; font-size: 15px; }
.legal ul { padding-left: 22px; }
.legal .box {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 20px 22px; margin: 22px 0;
}
.legal .box b { color: var(--green); }
.legal a { color: var(--green); }

/* ---------- faq ---------- */
.faq-list details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-list summary { font-weight: 700; cursor: pointer; list-style: none; }
.faq-list summary:after { content: "+"; float: right; color: var(--green); font-size: 22px; }
.faq-list details[open] summary:after { content: "–"; }
.faq-list p { color: var(--muted); font-size: 14px; padding-right: 25px; }
.faq { max-width: 780px; margin: auto; }

/* ---------- cta + footer ---------- */
.cta { padding: 0 0 80px; }
.cta-box {
  background: var(--lime); border-radius: 24px; padding: 64px 30px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-box h2, .cta-box p, .cta-box a { position: relative; z-index: 1; }
.cta-box h2 { font-size: clamp(36px, 5.4vw, 64px); line-height: 1; letter-spacing: -.06em; margin: 0 auto 16px; max-width: 760px; }
.cta-box p { color: #3c5148; }
.footer { padding: 36px 0 50px; border-top: 1px solid var(--line); }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 30px; color: var(--muted); font-size: 12px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-links a:hover { color: var(--green); }

.js .reveal { opacity: 0; transform: translateY(18px); transition: .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
/* Nav collapses at the same width as the landing page (980px) so the
   header behaves identically on every page — tablets and phones show
   brand + Start free only. */
@media (max-width: 980px) {
  .links, .nav-links { display: none; }
  .menu { display: block; }
  .nav-actions .btn:first-child, .nav-actions .btn.dark { display: none; }
}
@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr 1fr; }
  .doc-grid { grid-template-columns: 1fr; gap: 30px; }
  .doc-toc { position: static; display: flex; flex-wrap: wrap; }
}
@media (max-width: 620px) {
  .wrap { width: min(100% - 24px, 1180px); }
  header.wrap { padding: 0 12px; }
  .nav { height: 66px; gap: 8px; }
  header.nav > .wrap { height: 66px; }
  .nav-actions .btn { padding: 9px 13px; }
  .language-popover {
    top: 72px; left: 12px; right: 12px; width: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px;
    max-height: calc(100dvh - 84px); padding: 8px;
    border-radius: 16px; transform: none;
  }
  .language-menu-title { padding: 6px 8px; }
  .language-option { grid-template-columns: 28px minmax(0, 1fr) auto; gap: 5px; min-height: 44px; padding: 7px 8px; font-size: 13px; }
  .language-code { font-size: 10px; }
  .page-hero { padding: 60px 0 44px; }
  section { padding: 64px 0; }
  .plans { grid-template-columns: 1fr; }
  .plan.pop { transform: none; }
  .foot { flex-direction: column; text-align: center; }
}

/* Monthly / Yearly billing toggle */
.billing-toggle { display: inline-flex; align-items: center; gap: 4px; background: #e9efec; border: 1px solid #dfe5e1; border-radius: 999px; padding: 4px; margin: 0 auto 26px; }
.billing-toggle button { border: 0; background: transparent; padding: 9px 20px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 13px; color: #63716b; cursor: pointer; transition: .2s ease; }
.billing-toggle button.active { background: #0d2b22; color: #fff; box-shadow: 0 4px 14px #0d2b221f; }
.billing-toggle .save-badge { display: inline-block; margin-left: 6px; background: #dfff8f; color: #0d2b22; font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 999px; vertical-align: 1px; }
/* Yearly billing price block: one price + one small note — the monthly price
   is NOT repeated and the FREE badge lives only in the toggle. b + small are
   EXPLICITLY blockified so even a stale/failed flex render can never run the
   two lines together or overlap. */
.bp-monthly[hidden], .bp-yearly[hidden] { display: none; }
.bp-yearly { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; color: inherit; animation: priceIn .3s ease; }
.bp-yearly b { display: block; font-size: 30px; font-weight: 780; letter-spacing: -.04em; line-height: 1.1; }
.bp-yearly b span { font-size: 13px; font-weight: 500; color: #63716b; }
.bp-yearly small { display: block; margin-top: 2px; font-size: 12px; font-weight: 500; color: #63716b; line-height: 1.4; }
.plan.pop .bp-yearly b span, .plan.pop .bp-yearly small { color: #aec1b9; }
@keyframes priceIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (max-width: 700px) { .billing-toggle { width: 100%; justify-content: center; } .billing-toggle button { flex: 1; padding: 10px 8px; } .bp-yearly b { font-size: 26px; } }

/* Web Chat pricing cards (pricing/webchat/): two columns until 760px, stack below. */
.plans.wc-plans { grid-template-columns: 1fr 1fr; max-width: 880px; margin: 0 auto; }
@media (max-width: 760px) { .plans.wc-plans { grid-template-columns: 1fr; } }

/* ---------- WhatsApp floating CTA (every page — scripts/add_wa_cta.py) ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 92px; z-index: 80;
  /* Same geometry as the chat widget launcher (56px circle @ right:20px) so
     the two stacked buttons share one vertical axis (centers both 48px from
     the right edge). bottom:92px = launcher top (76px) + 16px air. The
     widget's own WhatsApp quick link is hidden (data-ttp-wa=off). */
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa, #25d366); display: grid; place-items: center;
  box-shadow: 0 10px 28px rgba(18, 140, 74, .45);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 14px 34px rgba(18, 140, 74, .55); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; display: block; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--wa, #25d366); z-index: -1; animation: wa-pulse 2.6s ease-out infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: .5; }
  70% { transform: scale(1.6); opacity: 0; }
  100% { opacity: 0; }
}
.wa-tip {
  position: absolute; right: 70px; top: 50%; transform: translateY(-50%);
  white-space: nowrap; background: var(--deep, #0b3d2c); color: #fff; font-size: 12px; font-weight: 700;
  padding: 8px 13px; border-radius: 999px; opacity: 0; pointer-events: none; transition: .2s;
}
.wa-float:hover .wa-tip { opacity: 1; }
@media (max-width: 620px) {
  .wa-tip { display: none; }
}
/* The widget launcher moves to right:12px below 420px — mirror it exactly
   (52px @ right:14px keeps the SAME center axis as the 56px launcher there:
   14 + 26 = 12 + 28 = 40px from the right edge). */
@media (max-width: 420px) {
  .wa-float { right: 14px; bottom: 80px; width: 52px; height: 52px; }
  .wa-float svg { width: 26px; height: 26px; }
}

/* ---------- Plugins listing (/plugins/) ---------- */
.page-hero .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.plug-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.plug-jump a {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 15px; font-size: 13px; color: #42534c; transition: .2s ease;
}
.plug-jump a:hover { border-color: var(--green); color: var(--green); transform: translateY(-1px); }
.plug-jump a b { color: var(--muted); font-weight: 600; }
.plug-group { scroll-margin-top: 90px; }
.plug-group + .plug-group { margin-top: 52px; }
.plug-group-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.plug-group-head h2 { margin: 0; font-size: clamp(22px, 2.7vw, 30px); letter-spacing: -.035em; }
.plug-group-head .plug-ico { flex: none; }
.plug-group-head .plug-count {
  margin-left: auto; color: var(--muted); font-size: 12px; white-space: nowrap;
}
.plug-group > p { color: var(--muted); font-size: 14.5px; margin: 0 0 20px; max-width: 640px; }
.plug-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); gap: 16px; }
.plug-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 20px; display: flex; flex-direction: column; gap: 10px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.plug-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px #10251e12; border-color: #cfe0d7; }
.plug-ico {
  width: 38px; height: 38px; border-radius: 11px; background: var(--soft);
  display: grid; place-items: center; font-size: 18px; line-height: 1;
}
.plug-card h3 { margin: 0; font-size: 16.5px; letter-spacing: -.02em; }
.plug-card p { margin: 0; color: var(--muted); font-size: 13.5px; flex: 1; }
.plug-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.plug-actions .btn { padding: 9px 15px; font-size: 13px; }
.plug-guide { color: var(--green); font-weight: 600; font-size: 13px; }
.plug-guide:hover { text-decoration: underline; }
.plug-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plug-step {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px;
}
.plug-step span {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px;
  background: #e6f7ed; color: var(--green); font-size: 13px; font-weight: 800; margin-bottom: 10px;
}
.plug-step b { display: block; font-size: 15px; margin-bottom: 4px; }
.plug-step p { margin: 0; color: var(--muted); font-size: 13.5px; }
@media (max-width: 760px) { .plug-steps { grid-template-columns: 1fr; } }

/* ---------- Mobile burger menu (every page) ---------- */
.nav-burger { display: none; background: none; border: 0; padding: 8px 4px; margin-left: 2px; cursor: pointer; }
.nav-burger span {
  display: block; width: 22px; height: 2px; border-radius: 2px;
  background: #10251e; transition: transform .2s ease, opacity .2s ease;
}
.nav-burger span + span { margin-top: 5px; }
body.nav-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
body.nav-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 980px) {
  header.wrap { position: relative; }
  .nav-burger { display: block; }
  /* .links is display:none at this width; the panel wins on specificity. */
  body.nav-open .links {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: calc(100% + 6px); left: 12px; right: 12px; z-index: 70;
    background: #fff; border: 1px solid var(--line, #dfe5e1); border-radius: 14px;
    padding: 10px; box-shadow: 0 18px 44px #10251e1f;
  }
  body.nav-open .links > a,
  body.nav-open .links .features-drop > a {
    display: block; padding: 11px 12px; border-radius: 9px; font-size: 15px; font-weight: 600;
  }
  body.nav-open .links > a:hover,
  body.nav-open .links .features-drop > a:hover { background: #f1f5f3; }
  body.nav-open .features-drop { position: static; }
  body.nav-open .features-drop-menu {
    position: static; transform: none; display: block; min-width: 0;
    border: 0; box-shadow: none; background: transparent; padding: 0 0 6px 12px;
  }
  body.nav-open .features-drop-menu::before { display: none; }
  body.nav-open .features-drop-menu a { padding: 9px 12px; font-size: 14px; }
}

/* ---------- Feature pages (/features/) ---------- */
.feat-shot {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 10px; box-shadow: var(--shadow); overflow: hidden;
}
.feat-shot img { display: block; width: 100%; height: auto; border-radius: 12px; }
.feat-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.feat-item {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 18px; display: flex; gap: 11px; align-items: flex-start;
}
.feat-item i { color: var(--green); font-style: normal; font-weight: 900; line-height: 1.5; }
.feat-item span { font-size: 14px; }
.feat-next { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.feat-next a {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.feat-next a:hover { transform: translateY(-2px); border-color: var(--green); box-shadow: 0 12px 28px #10251e12; }
.feat-next b { display: block; font-size: 15px; margin-bottom: 2px; }
.feat-next em { color: var(--muted); font-size: 13px; font-style: normal; }

/* Plugin card tags (/plugins/) — platform + category chips */
.plug-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.plug-tag {
  background: #f1f5f3; border: 1px solid var(--line, #dfe6e2);
  border-radius: 999px; padding: 3px 10px;
  font-size: 11px; font-weight: 600; letter-spacing: .01em;
  color: #42534c; white-space: nowrap;
}
.plug-tag:first-child { background: #e6f7ed; color: var(--green, #087552); border-color: #cfe0d7; }

/* Download button glyph — .dl-ico inside .btn (all pages) */
.btn .dl-ico { flex: none; margin-right: 7px; }

/* ---------- Services pages (/services/) ---------- */
.svc-crumb { font-size: 12.5px; color: var(--muted); padding: 26px 0 0; max-width: 1160px; margin: 0 auto; }
.svc-crumb a { color: var(--muted); text-decoration: none; }
.svc-crumb a:hover { color: var(--green); text-decoration: underline; }
.svc-crumb span { color: var(--ink); font-weight: 600; }
.svc-ico-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.svc-ico-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.svc-ico-card .ico { font-size: 24px; line-height: 1; }
.svc-ico-card h3 { margin: 10px 0 4px; font-size: 16px; }
.svc-ico-card p { font-size: 13.5px; color: var(--muted); margin: 0; }
.svc-tbl { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: 14px; }
.svc-tbl th, .svc-tbl td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.svc-tbl th { background: var(--soft, #f2f7f4); font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.svc-tbl tr:last-child th, .svc-tbl tr:last-child td { border-bottom: 0; }
.svc-tbl td b { color: var(--ink); }
.svc-fit { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 720px) { .svc-fit { grid-template-columns: 1fr; } }
.svc-fit div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.svc-fit h3 { margin: 0 0 8px; font-size: 15px; }
.svc-fit ul { margin: 0; padding-left: 20px; font-size: 13.5px; color: var(--muted); }
.svc-fit li + li { margin-top: 6px; }
.svc-fit .no h3 { color: #9a4a3a; }
.svc-band { background: linear-gradient(135deg, var(--deep, #0b3d2c), #10502f); color: #fff; border-radius: 20px; padding: 26px 30px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.svc-band h2 { color: #fff; margin: 0 0 6px; font-size: 22px; }
.svc-band p { color: #d9e9e0; margin: 0; font-size: 14px; max-width: 640px; }
.svc-band .btn { flex: none; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-tags span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; font-size: 12.5px; font-weight: 600; color: var(--ink); }
.svc-districts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.svc-districts span { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-size: 13px; color: var(--ink); }
.svc-districts b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 2px; }

/* ---------- Hyderabad services hub links (/services/hyderabad/*) ---------- */
.hyd-links { display: flex; flex-wrap: wrap; gap: 8px; }
.hyd-links a { font-size: 12.5px; font-weight: 600; color: var(--green); background: #eef7f1; border: 1px solid #dcebe1; border-radius: 999px; padding: 6px 13px; text-decoration: none; }
.hyd-links a:hover { background: #e0f0e6; color: var(--deep); }
.svc-tbl a { color: var(--green); text-decoration: none; }
.svc-tbl a:hover { text-decoration: underline; }

/* ---------- Free tools row (every footer) ---------- */
.foot-tools {
  width: 100%; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center;
  border-top: 1px solid var(--line, #dfe5e1); padding-top: 14px; margin-top: 8px;
  font-size: 12px;
}
.foot-tools a { color: var(--muted, #63716b); margin: 2px 0; }
.foot-tools .foot-tools-label {
  color: var(--green, #087552); font-weight: 800; font-size: 11px;
  text-transform: uppercase; letter-spacing: .06em; margin-right: 18px;
}
.foot-tools .foot-tools-label:hover { text-decoration: underline; }
.foot-tools a:not(.foot-tools-label)::before {
  content: "·"; color: #c4d0ca; margin-right: 12px;
}
.foot-tools a:hover { color: var(--green, #087552); }
@media (max-width: 620px) {
  .foot-tools .foot-tools-label { width: 100%; text-align: center; margin: 0 0 2px; }
}
