:root {
  --brand: #4633B3;
  --brand-dark: #2c1e7a;
  --brand-accent: #A863CE;
  --brand-soft: #f3f0ff;
  --teal: #189877;
  --ink: #16192c;
  --muted: #4b5563;
  --paper: #f7f7fb;
  --white: #ffffff;
  --line: #e5e7eb;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, 'Cascadia Mono', Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--brand-accent);
}

h1, h2, h3 {
  margin-top: 0;
  color: var(--brand);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--muted);
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 50;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, border-color 0.2s, color 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
}

.btn-primary:hover {
  background: var(--brand-accent);
  border-color: var(--brand-accent);
  color: var(--white);
}

.btn-outline {
  background: var(--white);
  color: var(--brand);
  border-color: var(--brand);
}

.btn-outline:hover {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.btn-light {
  background: var(--white);
  color: var(--brand-dark);
  border-color: var(--white);
}

.btn-light:hover {
  background: #ece8ff;
  color: var(--brand-dark);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.02em;
}

.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.ai-text {
  color: #48b99d;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 600;
  font-size: 15px;
}

.nav-links a {
  color: var(--ink);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--brand);
}

.nav-cta {
  padding: 9px 18px;
  border-radius: 7px;
  background: var(--brand);
  color: var(--white) !important;
  font-weight: 700;
}

.nav-cta:hover {
  background: var(--brand-accent);
}

.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-size: 22px;
  cursor: pointer;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #241963 0%, #4633B3 58%, #7746c7 100%);
  color: var(--white);
  padding-block: clamp(56px, 8vw, 96px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #e9e3ff;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero h1 {
  color: var(--white);
}

.hero p {
  color: #e6e4f7;
  font-size: 18px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.hero-card {
  padding: 24px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}

.hero-card-label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: #8bf0d0;
  letter-spacing: 0.05em;
}

.hero-card h2 {
  color: var(--white);
  font-size: 1.45rem;
  margin-bottom: 10px;
}

.hero-card p {
  font-size: 15px;
  margin-bottom: 16px;
}

/* Sections */
.section {
  padding-block: clamp(48px, 6vw, 76px);
}

.section-white {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-heading p {
  font-size: 17px;
  margin-bottom: 0;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  padding: 26px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
  box-shadow: 0 4px 16px rgba(22, 25, 44, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-top-color 0.3s ease, opacity 0.45s ease;
}

.services-grid .service-card {
  opacity: 0;
  transform: translateY(20px);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.service-card-more {
  margin-top: auto;
  padding-top: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
}

.service-modal {
  width: min(560px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 24px 64px rgba(22, 25, 44, 0.32);
}

.service-modal::backdrop {
  background: rgba(22, 25, 44, 0.62);
  backdrop-filter: blur(3px);
}

.service-modal-inner {
  padding: 28px;
}

.service-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.service-modal-head h2 {
  margin: 0;
  font-size: 1.5rem;
}

.service-modal-close {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.service-modal-close:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.service-modal-list {
  margin: 14px 0 22px;
  padding-left: 20px;
  color: var(--muted);
}

.service-modal-list li {
  margin-bottom: 8px;
}

.services-grid .service-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover {
  transform: translateY(-4px) scale(1.04);
  border-top-color: var(--brand-accent);
  box-shadow: 0 14px 32px rgba(70, 51, 179, 0.14);
}

.services-grid .service-card.is-visible:hover {
  transform: translateY(-4px) scale(1.04);
}

@media (prefers-reduced-motion: reduce) {
  .services-grid .service-card {
    opacity: 1;
    transform: none;
  }
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
}

.service-card p:last-child {
  margin-bottom: 0;
}

/* Product Spotlight (redactovision) */
.spotlight-box {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 32px;
  padding: clamp(28px, 4vw, 44px);
  border-radius: 16px;
  background: #16192c;
  color: var(--white);
  border-left: 6px solid var(--teal);
  box-shadow: 0 14px 36px rgba(22, 25, 44, 0.14);
}

.spotlight-box h2 {
  color: var(--white);
}

.spotlight-box p {
  color: #d5d9eb;
}

.spotlight-list {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
  color: #e9ecf7;
  font-size: 15px;
}

.spotlight-list li::before {
  content: '✓ ';
  color: #48c9a0;
  font-weight: 800;
}

.spotlight-aside {
  padding: 22px;
  border-radius: 12px;
  background: #212642;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.spotlight-aside strong {
  display: block;
  font-size: 28px;
  margin-bottom: 4px;
  color: #48c9a0;
}

.spotlight-aside span {
  display: block;
  font-size: 14px;
  color: #cbd2e8;
  margin-bottom: 16px;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 44px;
  align-items: center;
}

.about-photo-card {
  padding: 16px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  text-align: center;
  box-shadow: 0 6px 20px rgba(22, 25, 44, 0.05);
}

.about-photo-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 12px;
}

.about-name {
  font-weight: 800;
  color: var(--ink);
  font-size: 18px;
  margin-bottom: 2px;
}

.about-role {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
}

.about-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

.about-linkedin img {
  width: 18px;
  height: 18px;
  margin: 0;
  border-radius: 0;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand-accent);
}

.testimonial-card blockquote {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
}

.testimonial-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.testimonial-author {
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.testimonial-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

/* FAQ */
.faq-list details {
  border-top: 1px solid var(--line);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 18px 36px 18px 0;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand);
  font-size: 22px;
}

.faq-list details[open] summary::after {
  content: '−';
}

.faq-answer {
  padding: 0 20px 18px 0;
}

.faq-answer p {
  margin: 0;
}

/* Blog & Subpages */
.subpage-hero {
  padding-block: clamp(36px, 5vw, 58px);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}

.prose {
  max-width: 820px;
}

.prose h2 {
  margin-top: 36px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose ul,
.prose ol {
  margin: 0 0 20px;
  padding-left: 22px;
  color: var(--muted);
}

.prose li {
  margin-bottom: 8px;
}

.answer-box {
  margin: 16px 0 24px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: 8px;
  background: var(--white);
}

.answer-label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
}

.answer-box p {
  margin: 0;
  color: var(--ink);
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
}

.blog-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: contain;
  background: #f7f7fb;
  border-radius: 8px;
  margin-bottom: 16px;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

/* Footer */
.site-footer {
  background: linear-gradient(135deg, #241963 0%, #4633B3 100%);
  color: var(--white);
  padding-block: 40px 26px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-brand strong {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
}

.footer-brand p {
  margin: 0;
  color: #dcd8f7;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-size: 14px;
  font-weight: 600;
}

.footer-links a {
  color: var(--white);
}

.footer-links a:hover {
  color: #8bf0d0;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  font-size: 13px;
  color: #d0cbf2;
}

@media (max-width: 960px) {
  .hero-grid,
  .spotlight-box,
  .about-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .mobile-menu-btn {
    display: grid;
    place-items: center;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(22, 25, 44, 0.1);
  }
  .nav-links.is-open {
    display: flex;
  }
  .nav-links a {
    padding: 12px 4px;
    border-bottom: 1px solid var(--line);
  }
  .nav-cta {
    margin-top: 12px;
    text-align: center;
    border-bottom: 0 !important;
  }
  .services-grid,
  .spotlight-list,
  .testimonials-grid,
  .blog-grid,
  .contact-cards {
    grid-template-columns: 1fr;
  }
}



/* Interactive Checklist & Print-to-PDF Styles */
.checklist-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 22px 0;
  padding: 16px 20px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--brand);
}

.checklist-score {
  font-weight: 800;
  font-size: 16px;
  color: var(--ink);
}

.checklist-score span {
  color: var(--brand);
  font-family: var(--mono);
}

.checklist-items {
  display: grid;
  gap: 12px;
  margin: 20px 0 28px;
}

.check-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 20px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.check-item:hover {
  border-color: var(--brand-accent);
}

.check-item input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  accent-color: var(--brand);
  cursor: pointer;
}

.check-item.is-checked {
  background: #f6f4ff;
  border-color: var(--brand);
}

.check-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 16px;
}

.check-item p {
  margin: 0;
  font-size: 15px;
}

@media print {
  .site-header,
  .site-footer,
  .checklist-toolbar .btn,
  .breadcrumb,
  .no-print {
    display: none !important;
  }
  body {
    background: #ffffff;
  }
  .check-item {
    break-inside: avoid;
    border-color: #cccccc;
  }
}
