/* The PatchWork™ — interior pages */
:root {
  --purple-deep: #2a0a5e;
  --purple-600: #7B2CFF;
  --pink-400: #c77dff;
  --ink: #1a0b3a;
  --ink-soft: #2a1750;
  --gray-500: #837aa0;
  --gray-200: #e4dcf2;
  --gray-100: #ece6f7;
  --bg: #faf7ff;
  --white: #fff;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.subpage {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 8, 32, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.logo {
  font-family: inherit;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.logo:hover { opacity: 0.85; }
.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-block;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #7B2CFF, #c77dff);
}
.logo-mark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(45deg, rgba(255,255,255,0.4) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0.4) 75%, transparent 75%);
  background-size: 8px 8px;
  opacity: 0.65;
}
.logo-tm {
  font-size: 10px;
  vertical-align: super;
  opacity: 0.7;
  margin-left: 1px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0;
  align-items: center;
}
.nav-links li { list-style: none; }
.nav-links > li > a,
.nav-links-btn {
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  transition: color 0.2s;
  font-family: inherit;
}
.nav-links > li > a:hover,
.nav-links > li > a[aria-current="page"],
.nav-links-btn:hover,
#services-li:hover .nav-links-btn {
  color: #fff;
}

#services-drop {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  background: #0d0820;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, transform 0.2s;
  transform: translateY(-6px);
  z-index: 999;
}
#services-li { position: relative; }
/* Dropdown open/close: shared js/nav-dropdown.js (same behaviour as homepage) */
.svc-drop-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  padding: 6px 10px 8px;
}
.svc-drop-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.svc-drop-item {
  display: flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.svc-drop-item:hover {
  background: rgba(255,255,255,0.07);
  color: #fff;
}

.nav-cta {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.92);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.22);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-cta:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.45);
  color: #fff;
}

/* Main */
.subpage-main { padding-bottom: 60px; }
.page-hero {
  padding: clamp(48px, 8vw, 88px) 0 clamp(36px, 5vw, 56px);
  background: linear-gradient(165deg, #fff 0%, var(--gray-100) 100%);
  border-bottom: 1px solid rgba(123,44,255,0.08);
}
.page-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple-600);
  margin-bottom: 14px;
}
.page-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.15;
  max-width: 720px;
}
.page-lede {
  margin-top: 18px;
  font-size: 17px;
  color: var(--gray-500);
  max-width: 640px;
}
.page-lede a {
  color: var(--purple-600);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(123,44,255,0.35);
}
.page-lede a:hover { border-bottom-color: var(--purple-600); }

.prose {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 0 40px;
}
.prose-wide { max-width: 900px; }
.prose h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.02em;
}
.prose h2:first-child { margin-top: 0; }
.prose p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 16px;
}
.prose ul, .prose ol {
  margin: 0 0 1rem 1.25rem;
  color: var(--ink-soft);
}
.prose li { margin-bottom: 0.35rem; }
.prose a {
  color: var(--purple-600);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(123,44,255,0.35);
}
.prose a:hover { border-bottom-color: var(--purple-600); }

.service-grid-links {
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.service-grid-links li {
  list-style: none;
  margin: 0 !important;
}
.service-grid-links a {
  display: block;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(123,44,255,0.12);
  color: var(--ink) !important;
  border-bottom: 1px solid rgba(123,44,255,0.12) !important;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.service-grid-links a:hover {
  border-color: rgba(123,44,255,0.35);
  box-shadow: var(--shadow-sm, 0 4px 20px rgba(123,44,255,0.08));
}

.faq-mini details {
  background: #fff;
  border: 1px solid rgba(123,44,255,0.12);
  border-radius: 12px;
  margin-bottom: 10px;
  padding: 0 16px;
}
.faq-mini summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  padding: 14px 0;
  list-style: none;
}
.faq-mini summary::-webkit-details-marker { display: none; }
.faq-mini details[open] summary { border-bottom: 1px solid var(--gray-200); margin-bottom: 10px; }
.faq-mini p { margin-bottom: 14px !important; font-size: 15px !important; }

/* Footer — match index */
footer {
  background: #0d0820;
  color: #fff;
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px 60px;
}
.footer-col-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 32px;
}
.footer-bottom-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.3); }
.footer-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  margin-top: 16px;
}
.footer-status::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c77dff;
  box-shadow: 0 0 0 3px rgba(199,125,255,0.2);
}

@media (max-width: 768px) {
  .container { padding: 0 20px !important; }
  .nav-inner { padding: 14px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  #services-drop {
    position: fixed;
    left: 12px;
    right: 12px;
    top: auto;
    bottom: 12px;
    max-height: min(70vh, 420px);
    overflow: auto;
  }
}
