/* Next Codr — service subpages — monochrome (black & white) */
:root {
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --btn-pill: 9999px;
  --brand-gradient: linear-gradient(180deg, #262626 0%, #171717 100%);
  --brand-gradient-hover: linear-gradient(180deg, #404040 0%, #262626 100%);
  --on-gradient: #ffffff;
  --teal: #404040;
  --teal-dark: #0a0a0a;
  --teal-lt: rgba(23, 23, 23, 0.08);
  --teal-bg: #f5f5f5;
  --btn-ink: var(--brand-gradient);
  --btn-ink-hover: var(--brand-gradient-hover);
  --cta-hover: var(--teal-dark);
  --link: var(--teal-dark);
  --link-hover: #171717;
  --bg: #ffffff;
  --bg2: #fafafa;
  --bg3: #f5f5f5;
  --card: #ffffff;
  --border: #e5e5e5;
  --border2: #e5e5e5;
  --border-soft: #f5f5f5;
  --text: #0a0a0a;
  --body: #404040;
  --muted: #737373;
  --muted-light: #a3a3a3;
  --coral: #525252;
  --coral-dark: #262626;
  --coral-lt: rgba(64, 64, 64, 0.12);
  --brutal: #0a0a0a;
  --brutal-border: 2px solid var(--brutal);
  --shadow-card: 2px 2px 0 var(--brutal);
  --shadow-primary: 2px 2px 0 var(--brutal);
  --r-lg: 16px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--bg);
  color: var(--body);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,
h2,
h3 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
  overflow-wrap: anywhere;
  word-wrap: break-word;
}
h1 {
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}
h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin: 2.25rem 0 0.75rem;
}
h3 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.5rem;
}
/* Only style links in article body — do not override nav / footer chrome */
main a {
  color: var(--link);
  text-decoration: none;
}
main a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--link-hover);
}
.sp-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding-left: max(clamp(1rem, 4vw, 1.5rem), env(safe-area-inset-left, 0px));
  padding-right: max(clamp(1rem, 4vw, 1.5rem), env(safe-area-inset-right, 0px));
}
.sp-wrap-wide {
  max-width: 900px;
  margin: 0 auto;
  padding-left: max(clamp(1rem, 4vw, 1.5rem), env(safe-area-inset-left, 0px));
  padding-right: max(clamp(1rem, 4vw, 1.5rem), env(safe-area-inset-right, 0px));
}

/* Shared header/footer: /landing/landing-chrome.css + partials (replaces legacy .sp-header). */
.nav-auth-hidden {
  display: none !important;
}
.sp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.4rem;
  border-radius: 8px;
  background: var(--btn-ink);
  color: var(--on-gradient, #ffffff) !important;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none !important;
  border: none;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
  transition: background 0.2s, box-shadow 0.2s;
}
.sp-btn:hover {
  background: var(--btn-ink-hover);
  box-shadow: 0 2px 8px rgba(82, 214, 129, 0.35);
}

/* Article */
.sp-main {
  padding: 2.5rem 0 4rem;
}
/* Breadcrumb pill styles: landing-chrome.css (loaded before this file) */
.sp-prose nav.sp-breadcrumb li {
  margin-bottom: 0;
}
.sp-lead {
  font-size: 1.08rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.sp-prose p {
  margin-bottom: 1rem;
}
.sp-prose ul {
  margin: 1rem 0 1rem 1.25rem;
}
.sp-prose li {
  margin-bottom: 0.45rem;
}
.sp-callout {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  border-radius: var(--r-lg);
  border: var(--brutal-border);
  background: var(--card);
  border-left: 5px solid var(--teal);
  box-shadow: var(--shadow-card);
}
.sp-cta-bar {
  margin: 2.5rem 0;
  padding: 1.75rem;
  border-radius: var(--r-lg);
  background: var(--teal-bg);
  border: var(--brutal-border);
  text-align: center;
  box-shadow: var(--shadow-card);
}
.sp-cta-bar p {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Related services */
.sp-related {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.sp-related h2 {
  margin-top: 0;
  font-size: 1.1rem;
}
.sp-related ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.sp-related a {
  font-weight: 500;
}

/* FAQ */
.sp-faq {
  margin-top: 2.5rem;
}
.sp-faq details {
  border: var(--brutal-border);
  border-radius: 12px;
  margin-bottom: 0.75rem;
  padding: 0.85rem 1.1rem;
  background: var(--card);
  box-shadow: var(--shadow-card);
}
.sp-faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  list-style: none;
}
.sp-faq summary::-webkit-details-marker {
  display: none;
}
.sp-faq details[open] summary {
  margin-bottom: 0.65rem;
  color: var(--teal);
}
.sp-faq details p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* Footer */
.sp-footer {
  background: var(--bg2);
  border-top: none;
  padding: 2rem 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.sp-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.sp-footer a {
  color: var(--muted);
}
.sp-footer a:hover {
  color: var(--teal);
}

/* Subpages: process / pricing / reviews */
.sp-step-list {
  counter-reset: spstep;
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}
.sp-step-list > li {
  counter-increment: spstep;
  position: relative;
  padding: 1rem 0 1rem 3.35rem;
  border-bottom: 1px solid var(--border);
}
.sp-step-list > li:last-child {
  border-bottom: none;
}
.sp-step-list > li::before {
  content: counter(spstep, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1rem;
  width: 2.35rem;
  height: 2.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  border: var(--brutal-border);
  border-radius: 10px;
  background: var(--teal-lt);
  color: var(--teal-dark);
  box-shadow: var(--shadow-card);
}
.sp-step-list strong {
  display: block;
  font-size: 1.02rem;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.sp-price-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}
.sp-price-card {
  border: var(--brutal-border);
  border-radius: var(--r-lg);
  padding: 1.25rem 1.4rem;
  background: var(--card);
  box-shadow: var(--shadow-card);
}
.sp-price-card.sp-price-featured {
  border-width: 3px;
  border-color: var(--teal);
  background: var(--teal-bg);
}
.sp-price-card .sp-price-tier {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.sp-price-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.2rem;
}
.sp-price-card .sp-price-amt {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text);
  margin: 0.35rem 0 0.5rem;
}
.sp-price-card .sp-price-amt small {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}
.sp-price-card > p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.sp-price-card .sp-price-tech {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin: -0.25rem 0 0.65rem;
}
.sp-price-card.sp-price-premium {
  background: #0f172a;
  border-color: #1e293b;
  color: #f1f5f9;
}
.sp-price-card.sp-price-premium .sp-price-tier {
  color: #94a3b8;
}
.sp-price-card.sp-price-premium h3 {
  color: #f8fafc;
}
.sp-price-card.sp-price-premium .sp-price-amt {
  color: #f8fafc;
}
.sp-price-card.sp-price-premium .sp-price-amt small {
  color: #94a3b8;
}
.sp-price-card.sp-price-premium > p {
  color: #cbd5e1;
}
.sp-price-card.sp-price-premium .sp-price-tech {
  color: #94a3b8;
}
.sp-price-card.sp-price-premium ul {
  color: #cbd5e1;
}
.sp-price-card.sp-price-premium .sp-btn-inline,
.sp-price-card.sp-price-premium button.sp-btn-inline {
  background: #fff;
  color: #0f172a !important;
  border-color: #0f172a;
}
.sp-price-card.sp-price-premium .sp-btn-inline:hover,
.sp-price-card.sp-price-premium button.sp-btn-inline:hover {
  background: var(--teal-bg);
  color: var(--text) !important;
}
.sp-price-card.sp-price-premium .sp-btn-stripe {
  color: #635bff;
}
.sp-price-card ul {
  margin: 0 0 1rem 1.15rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.sp-price-card .sp-btn-inline,
.sp-price-card button.sp-btn-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 1.25rem;
  border-radius: 8px;
  background: var(--btn-ink);
  color: var(--on-gradient, #ffffff) !important;
  font-weight: 700;
  font-size: 0.86rem;
  font-family: inherit;
  text-decoration: none !important;
  border: var(--brutal-border);
  box-shadow: var(--shadow-primary);
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}
.sp-price-card .sp-btn-inline:hover,
.sp-price-card button.sp-btn-inline:hover {
  background: var(--btn-ink-hover);
}

.sp-review {
  margin: 1.25rem 0;
  padding: 1.2rem 1.3rem;
  border: var(--brutal-border);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  background: var(--card);
}
.sp-review .stars {
  color: var(--teal);
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
}
.sp-review blockquote {
  font-size: 0.95rem;
  color: var(--muted);
  font-style: italic;
  margin: 0 0 0.75rem;
  line-height: 1.65;
  border: none;
  padding: 0;
}
.sp-review .who {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}
.sp-review .role {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Contact form */
.sp-form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--text);
}
.sp-form-input,
.sp-form-textarea {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  border: var(--brutal-border);
  background: var(--card);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
}
.sp-form-textarea {
  resize: vertical;
  min-height: 120px;
}
.sp-form-row {
  margin-bottom: 1rem;
}
#contact-form-status {
  color: var(--teal-dark);
}

/* Portfolio / blog — CMS cards (same markup as legacy Teleport pages) */
.sp-prose .showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.sp-prose .showcase-card {
  border: var(--brutal-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}
.sp-prose .showcase-card:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--brutal);
}
.sp-prose .showcase-image-wrapper {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg2);
}
.sp-prose .showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sp-prose .showcase-content {
  padding: 1.1rem 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.35rem;
}
.sp-prose .showcase-category span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--coral-dark);
}
.sp-prose .showcase-project-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 0.25rem;
  line-height: 1.25;
}
.sp-prose .showcase-caption {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 0.75rem;
  line-height: 1.5;
  flex: 1;
}
.sp-prose .showcase-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--teal-dark);
  text-decoration: none;
  margin-top: auto;
}
.sp-prose .showcase-link:hover {
  color: var(--link-hover);
}

/* Blog — single post (CMS HTML body, same tokens as landing / service pages) */
.blog-post-view {
  margin-top: 0.25rem;
}
.blog-post-header {
  margin-bottom: 1rem;
}
.blog-post-meta {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0 0 1rem;
}
.blog-post-hero {
  margin: 0 0 1.75rem;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: var(--brutal-border);
  box-shadow: var(--shadow-card);
  background: var(--bg2);
}
.blog-post-hero img {
  display: block;
  width: 100%;
  height: auto;
}
.blog-post-body {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--body);
}
.blog-post-body > *:first-child {
  margin-top: 0;
}
.blog-post-body h2,
.blog-post-body h3,
.blog-post-body h4 {
  font-family: var(--font);
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 2rem 0 0.75rem;
}
.blog-post-body h2 {
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
}
.blog-post-body h3 {
  font-size: clamp(1.12rem, 2vw, 1.28rem);
}
.blog-post-body h4 {
  font-size: 1.08rem;
}
.blog-post-body p {
  margin-bottom: 1rem;
}
.blog-post-body ul,
.blog-post-body ol {
  margin: 1rem 0 1rem 1.25rem;
}
.blog-post-body li {
  margin-bottom: 0.45rem;
}
.blog-post-body a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.blog-post-body a:hover {
  color: var(--link-hover);
}
.blog-post-body blockquote {
  margin: 1.25rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--coral);
  background: var(--bg2);
  border-radius: 0 10px 10px 0;
  color: var(--muted);
}
.blog-post-body pre {
  margin: 1rem 0;
  padding: 1rem 1.1rem;
  border-radius: 10px;
  border: var(--brutal-border);
  background: var(--bg3);
  overflow-x: auto;
  font-size: 0.88rem;
  line-height: 1.5;
}
.blog-post-body code {
  font-size: 0.9em;
  background: var(--bg2);
  padding: 0.15em 0.35em;
  border-radius: 4px;
  border: 1px solid var(--border);
}
.blog-post-body pre code {
  background: none;
  border: none;
  padding: 0;
}
.blog-post-body img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  border: var(--brutal-border);
  margin: 1rem 0;
  box-shadow: 2px 2px 0 var(--brutal);
}
/* Agency comparison table */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  margin: 2rem 0;
  border: var(--brutal-border);
  box-shadow: var(--shadow-card);
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.comparison-table thead {
  background: var(--teal-bg);
}
.comparison-table th {
  color: var(--teal-dark);
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 2px solid var(--brutal);
  border-right: 1px solid var(--border);
  white-space: nowrap;
}
.comparison-table th:last-child {
  border-right: none;
}
.comparison-table td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border-soft);
  vertical-align: middle;
  color: var(--body);
}
.comparison-table td:last-child {
  border-right: none;
}
.comparison-table tbody tr:last-child td {
  border-bottom: none;
}
.comparison-table tbody tr:hover td {
  background: var(--bg3);
}
.comparison-table .featured-row td {
  background: var(--teal-bg);
  color: var(--text);
  font-weight: 500;
}
.comparison-table .featured-row td:first-child {
  border-left: 3px solid var(--teal);
  padding-left: calc(1rem - 3px);
}
.comparison-table .featured-row:hover td {
  background: #d1fae5;
}
.price-badge {
  display: inline-block;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 0.15rem 0.65rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}
.featured-row .price-badge,
.price-badge.featured-price {
  background: var(--teal-lt);
  border-color: var(--teal);
  color: var(--teal-dark);
}
/* Pricing table: 2-col layout — left col wider, right col auto */
.pricing-table th:first-child,
.pricing-table td:first-child {
  width: 60%;
  font-weight: 500;
  color: var(--text);
}
.pricing-table th:last-child,
.pricing-table td:last-child {
  text-align: right;
}
.sme-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.6rem;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 600;
  white-space: nowrap;
}
.sme-yes .sme-badge {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.sme-sometimes .sme-badge {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}
.sme-rarely .sme-badge {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
.sme-no .sme-badge {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
}
.sme-conditional .sme-badge {
  background: #e0e7ff;
  color: #3730a3;
  border: 1px solid #c7d2fe;
}
@media (max-width: 640px) {
  .comparison-table th,
  .comparison-table td {
    padding: 0.65rem 0.75rem;
  }
}

.blog-post-back {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.blog-not-found h1 {
  margin-bottom: 0.5rem;
}
.blog-home-foot {
  margin-top: 2rem;
}

/* Sitemap URL hints */
.sitemap-url-hint {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 0.25rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  word-break: break-all;
}
.sp-sitemap-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sp-sitemap-list > li {
  margin-bottom: 1rem;
}
.sp-sitemap-section-title {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}
