
/* Quantum Toolset - Clean Generic CSS with Navbar */

/* CSS Custom Properties (CSS Variables) for Theming */
:root {
  --brand-primary: #5b5bd6;
  --brand-secondary: #4f46e5;
  --brand-accent: #0d9488;
  --text-primary: #0a0a0a;
  --text-secondary: #525252;
  --text-muted: #737373;
  /* Warm stone canvas + white elevated surfaces (Notion/Stripe-style layering) */
  --bg-canvas: #f8f7f4;
  --bg-primary: #ffffff;
  --bg-secondary: #f1f0eb;
  --bg-light: #eae8e2;
  --bg-muted: #e3e1da;
  --border-color: #e7e5e0;
  --border-subtle: #eceae4;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.1);
  --transition-base: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --page-prose-max: 52rem;
  --page-wide-max: 72rem;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
h1, h2, h3 {
  font-weight: 600;
  margin-bottom: 1rem;
}
p {
  margin-bottom: 1rem;
}

.page-intro {
  max-width: 720px;
  margin: 0 auto 1rem;
  color: #475569;
  font-size: 1rem;
  line-height: 1.6;
}

body {
  font-family: var(--font-display);
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #3f66a5;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.left-aligned ol {
  list-style-position: inside;
  padding-left: 0;
}

.centered-list {
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

.centered-list ol {
  list-style-position: inside;
  padding-left: 0;
  margin: 0;
}

.centered-list li {
  margin-bottom: 1rem;
  line-height: 1.6;
}


/* Layout */
section {
  padding: 2.5rem 1rem;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
  transition-delay: var(--animation-delay, 0s);
}

/* Hero sections should be visible immediately, not animated */
section.hero,
.hero {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

section.animate-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  section {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.section-light {
  background-color: #e2e7f1;
}
.section-muted {
  background-color: #f0f3f8;
}
header, footer {
  background-color: #e2e7f1;
  padding: 1.5rem 1rem;
  text-align: center;
}
main {
  padding-bottom: 2rem;
}

html {
  overflow-y: scroll;
  scroll-behavior: smooth;
}

/* Buttons */
.btn {
  background: linear-gradient(120deg, #4c6ef5, #2563eb);
  color: #f9fafb;
  padding: 0.65rem 1.4rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  display: inline-block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.25);
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 40px rgba(37, 99, 235, 0.35);
}
/* Ghost on dark heroes */
.hero-home .btn.btn-ghost,
.smartqr-hero .btn.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #f8fafc;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}
.hero-home .btn.btn-ghost:hover,
.smartqr-hero .btn.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}
/* Ghost on light sections (service area, about, cards) */
.section-light .btn.btn-ghost,
.card .btn.btn-ghost,
.blog-content .btn.btn-ghost {
  background: #ffffff;
  color: #1d4ed8;
  box-shadow: inset 0 0 0 1.5px #2563eb;
}
.section-light .btn.btn-ghost:hover,
.card .btn.btn-ghost:hover,
.blog-content .btn.btn-ghost:hover {
  background: #eff6ff;
  color: #1e40af;
  box-shadow: inset 0 0 0 1.5px #1d4ed8;
}
.btn.btn-small {
  padding: 0.45rem 0.9rem;
  font-size: 0.9rem;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  justify-items: stretch;
  width: min(960px, 100%);
  margin: 0 auto;
}

.card {
  background: var(--bg-primary);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  flex: 1 1 280px;
  transition: transform var(--transition-base), box-shadow var(--transition-base), opacity var(--transition-slow);
  opacity: 0;
  transform: translateY(20px);
}

.card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.partner-card {
  border-radius: 18px;
  background: #f7f8fb;
  border: 1px solid #d5dae4;
  color: #0f172a;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1.25rem 1rem;
}
.partner-card a {
  color: inherit;
  text-decoration: none;
  display: block;
}
.partner-card:hover {
  background: #edf1f7;
  border-color: #c5cbdb;
}
.partner-card a:hover {
  color: #0f172a;
}

.card .btn {
  margin-top: auto;
  align-self: center;
}

/* Navbar with Backdrop Blur */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  background-color: rgba(244, 247, 251, 0.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(213, 218, 228, 0.5);
  padding: 0.5rem 1rem;
  transition: background-color var(--transition-slow), box-shadow var(--transition-slow);
}

.navbar.scrolled {
  background-color: rgba(244, 247, 251, 0.98);
  box-shadow: var(--shadow-sm);
}

.navbar-inner,
.navbar-top {
  display: flex;
  padding-top: 0.75rem;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  position: relative;
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 36px;
  height: 32px;
  border: 1px solid #d5dae4;
  border-radius: 8px;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

@media (max-width: 640px) {
  .menu-toggle {
    display: inline-flex;
  }
}


.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.125rem;
  color: #0f172a;
  transition: opacity 0.2s ease;
}

.logo:hover {
  opacity: 0.8;
  text-decoration: none;
}

/* Ensure navbar logo image displays at a consistent size */
.logo-img {
  height: 36px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.logo-text {
  color: #0f172a;
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .logo-text {
    display: none; /* Hide text on mobile, show only logo */
  }
  .logo-img {
    height: 32px;
  }
}

/* IT Pros sub-brand logo */
.logo--it-pros {
  align-items: center;
  justify-content: center;
  width: min(258px, 56vw);
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.logo-it-pros-picture {
  display: block;
  width: 100%;
  max-width: 258px;
  height: 48px;
}

.logo-it-pros-img {
  display: block;
  max-width: 100%;
  max-height: 48px;
  width: 100%;
  height: 100%;
  object-fit: contain;
  flex-shrink: 1;
}

@media (max-width: 640px) {
  .navbar {
    padding: 0.45rem 0.75rem;
  }

  .navbar-inner,
  .navbar-top {
    padding-top: 0.35rem;
    gap: 0.75rem;
    flex-wrap: wrap;
  }

  .logo--it-pros {
    width: 40px;
    max-width: 40px;
    flex: 0 0 40px;
  }

  .logo-it-pros-picture,
  .logo-it-pros-img {
    width: 40px;
    height: 40px;
    max-width: 40px;
    max-height: 40px;
  }
}

.spacer {
  width: 1.5rem; /* Same width as .menu-toggle to balance layout */
}

.logo--parent {
  align-items: center;
  width: min(220px, 52vw);
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.logo-toolset-picture {
  display: block;
  width: 100%;
  max-width: 220px;
  height: 48px;
}

.logo-toolset-img {
  display: block;
  max-width: 100%;
  max-height: 48px;
  width: auto;
  height: 100%;
  object-fit: contain;
  flex-shrink: 1;
}

@media (max-width: 640px) {
  .logo--parent {
    width: min(180px, 48vw);
  }

  .logo-toolset-picture,
  .logo-toolset-img {
    max-height: 40px;
    height: 40px;
  }
}

.checklist {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.checklist li {
  margin-bottom: 0.5rem;
}

/* Menu list */
.navbar-menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  background: transparent;
  padding: 0;
}

.navbar-menu li a {
  font-weight: 500;
  color: #0f172a;
  text-decoration: none;
  display: inline-block;
  width: 100%;
  text-align: left;
  padding: .2rem 0;
}
.navbar-menu li a:hover {
  color: #2563eb;
}
.navbar-cta {
  margin-left: auto;
}
.navbar-cta .btn-small {
  padding: 0.45rem 0.9rem;
  font-size: 0.9rem;
}
.navbar:not(.navbar--premium) .navbar-menu li a.btn-nav-cta {
  background: #2563eb;
  color: #fff;
  box-shadow: none;
  padding: 0.45rem 0.95rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  white-space: nowrap;
  text-decoration: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.navbar:not(.navbar--premium) .navbar-menu li a.btn-nav-cta:hover {
  background: #1d4ed8;
  color: #fff;
  transform: none;
  box-shadow: none;
  text-decoration: none;
}

.bulletless-list-centered {
  list-style: none;
  padding-left: 1.2rem;
  text-align: center;
}

/* Section text alignment overrides */
section { text-align: left; }

.section-light,
.section-muted,
header,
footer { text-align: center; }

/* Section animations are defined earlier in the file */

/* Hero */
.hero {
  width: 100%;
  position: relative;
  overflow: hidden;
}
.hero-home {
  /* Rich, deep gradient - slate to deep navy */
  background: 
    linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  color: #f9fafb;
  padding: 4rem 1.5rem 3rem;
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
}

/* Subtle accent glow in top-left */
.hero-home::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 50%;
  height: 70%;
  background: radial-gradient(ellipse, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* Subtle accent glow in bottom-right */
.hero-home::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(14, 165, 133, 0.1) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  width: 100%;
  min-width: 0;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 2.5rem;
  align-items: center;
}

/* Fade-in animation for hero content */
.hero-copy {
  animation: fadeInUp 0.8s ease-out;
  min-width: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy {
    animation: none;
  }
}
.hero-copy h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.hero-tagline {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #cbd5f5;
  margin-bottom: 1.5rem;
}
.hero-subtext {
  font-size: 0.95rem;
  color: #e2e8f0;
  margin-top: -0.75rem;
  margin-bottom: 1.5rem;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1rem;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #9ca3af;
}
.hero-phone {
  font-weight: 600;
  color: #e5e7eb;
}
.hero-visual {
  display: flex;
  justify-content: center;
}
.hero-visual-card {
  min-width: 0;
  width: 100%;
  max-width: 380px;
  background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.7);
  color: #e5e7eb;
}
.hero-visual-badge {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(76, 110, 245, 0.2);
  color: #f8fafc;
  font-weight: 600;
  font-size: 0.9rem;
}
.hero-visual-rows {
  margin-top: 1rem;
  display: grid;
  gap: 0.6rem;
}
.hero-visual-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
  align-items: center;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.05);
}
.hero-visual-row p {
  margin: 0;
  color: #dbeafe;
  font-size: 0.95rem;
}
.hero-visual-row .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #38bdf8;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.25);
}

@media (max-width: 800px) {
  .hero-home {
    padding: 3rem 1rem 2.5rem;
  }

  .hero-inner {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
    text-align: left;
    gap: 1.5rem;
  }
  .hero-copy {
    max-width: 100%;
    min-width: 0;
  }
  .hero-copy h1,
  .hero-tagline,
  .hero-subtext {
    overflow-wrap: anywhere;
  }
  .hero-visual {
    order: -1;
    margin-bottom: 1.5rem;
    width: 100%;
    min-width: 0;
  }
  .hero-visual-card {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 1rem;
    border-radius: 12px;
  }
  .hero-visual-row {
    min-width: 0;
  }
  .hero-visual-row {
    padding: 0.5rem 0.65rem;
    gap: 0.5rem;
  }
  .hero-visual-row p {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 0.9rem;
  }
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

.blog-card {
  max-width: 900px;           
  margin: 0 auto;
  text-align: left;           
  padding: 2rem;              
}


.blog-content {
  max-width: 760px;           
  margin: 0 auto;             
  font-size: 1.02rem;
  line-height: 1.75;
}


.blog-content h1 { 
  font-size: 2rem; 
  line-height: 1.25; 
  margin-bottom: .75rem; 
}
.blog-content .tagline {
  color: #4B5563;
  margin-bottom: 1.5rem;
}

.blog-content h2 {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #E5E7EB;  
}
.blog-content h2:first-of-type { border-top: 0; padding-top: 0; }


.blog-post ul {
  list-style: disc outside;
  margin: .25rem 0 1rem 0;
  padding-left: 1.5rem;
  text-align: left;
}
.blog-post ul li::before { content: none; } /* remove custom "• " */
.blog-post li { margin: .25rem 0 .5rem; text-align: left; }

@media (min-width: 900px) {
  .list-two-col { 
    columns: 2; 
    column-gap: 2rem; 
  }
}

.callout {
  border: 1px solid #E5E7EB;
  background: #F9FAFB;
  border-left: 4px solid #0D9488;
  padding: .875rem 1rem;
  border-radius: .5rem;
  margin: 1rem 0 1.5rem;
}
.callout strong { color: #0F766E; }

.blog-content code {
  background: #F3F4F6;
  padding: .1rem .35rem;
  border-radius: .25rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: .95em;
}
.blog-content hr {
  border: 0;
  border-top: 1px solid #E5E7EB;
  margin: 2rem 0 1rem;
}


.container.narrow { max-width: 980px; margin: 0 auto; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 820px) {
  .form-grid { grid-template-columns: 1fr; }
}

.logo-img {
  height: 32px;      /* adjust as needed */
  width: auto;       /* keeps aspect ratio */
  display: block;
}


.panel {
  background: #FFFFFF;
  border: 1px solid #E5E7EB; /* slate-200 */
  border-radius: 12px;
  padding: 1rem;
}

form label { display: block; font-weight: 500; margin-bottom: .35rem; }
form input[type="text"],
form input[type="email"],
form input[type="tel"],
form select,
form textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: .6rem .75rem;
  border: 1px solid #D1D5DB; /* gray-300 */
  border-radius: 10px;
  background: #fff;
}
form textarea { min-height: 140px; resize: vertical; }

form fieldset { border: 0; padding: 0; margin: 0; }
form legend { font-weight: 600; margin-bottom: .35rem; }
form .inline-checks label { display: inline-flex; align-items: center; margin-right: 1rem; }

.left-aligned { list-style-position: inside; padding-left: 0; margin-left: 0; }

.card .panel { box-shadow: none; }

label .req { color: #DC2626; /* red-600 */ margin-left: .2rem; }

.is-invalid {
  border-color: #DC2626 !important;
  box-shadow: 0 0 0 3px rgba(220,38,38,.08);
}
input.is-invalid,
select.is-invalid,
textarea.is-invalid {
  outline: 2px solid #ef4444;
  outline-offset: 0;
  border-color: #ef4444;
}

/* show error text */
.error-msg { display: none; color: #ef4444; margin-top: .35rem; }
.error-msg.show { display: block; }


.grid-2 {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}
@media (max-width: 640px) {
  .grid-2 { grid-template-columns: 1fr; }
}

.grid-2block {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}
@media (max-width: 640px) {
  .grid-2block { grid-template-columns: 1fr; }
}


/* 3-up responsive grid */
.grid-3 {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch; /* ensures all cards stretch to equal height */
}

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Ensure 3-up "block" grids collapse on tablet/mobile */
.grid-3block {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}
@media (max-width: 1024px) {
  .grid-3block { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid-3block { grid-template-columns: 1fr; }
}


.grid-3block .card,
.grid-2block .card { min-width: 0; }

/* if .card has flex rules globally, neutralize inside grid-3 */
.grid-3 .card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.grid-3 .card > *:last-child { margin-top:auto; } /* pushes last button/cta down */

/* allow cards to shrink on mobile */
.grid-3 .card,
.grid-2 .card {
  min-width: 0;
}

.grid-3block .card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Form groups */
.form-fieldset {
  border: 0;
  padding: 0;
  margin: .75rem 0 0;
}
.form-fieldset > legend {
  font-weight: 600;
  margin-bottom: .5rem;
}

/* Responsive checkbox grid */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: .5rem 1rem; /* row / column */
  align-items: center;
}

/* Checkbox row alignment */
.checkbox {
  display: flex;
  align-items: center;
  gap: .5rem;
  line-height: 1.4;
  user-select: none;
}

/* Radio option cards */
.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: .5rem 1rem;
}
.option-card {
  display: block;
  position: relative;
  cursor: pointer;
}
.option-card input {
  position: absolute;
  opacity: 0;
}
.option-card span {
  display: block;
  padding: .6rem .75rem;
  border: 1px solid #D1D5DB;
  border-radius: 10px;
  text-align: center;
}
.option-card input:checked + span {
  border-color: #0D9488;
  background: #F0FDFA;
  box-shadow: 0 0 0 2px rgba(13,148,136,.2);
}
.option-card input:focus + span {
  outline: 2px solid #0D9488;
  outline-offset: 2px;
}

/* Privacy consent: light divider only */
.privacy-consent {
  margin-top: 1rem;
  padding: .75rem 0;
  border-top: 1px solid #E5E7EB; /* subtle gray divider */
}

/* Do NOT paint a red bar; the checkbox will show invalid state */
.privacy-consent.error { border-top-color: #E5E7EB; } /* neutralize if still applied */

/* Checkbox invalid state matches inputs (thin red outline, no glow bar) */
.privacy-consent input[type="checkbox"].is-invalid {
  outline: 2px solid #ef4444;
  outline-offset: 2px;
  border-radius: 3px;
  box-shadow: none;                 /* prevent fat glow */
}

/* Global invalid look for text/select/textarea (unchanged) */
input.is-invalid,
select.is-invalid,
textarea.is-invalid {
  outline: 2px #ef4444;
  outline-offset: 0;
  border-color: #ef4444;
  box-shadow: 0 0 0 0 rgba(0,0,0,0); /* remove the soft red halo */
}

/* Checkbox itself should show red focus/outline when invalid */
.privacy-consent input[type="checkbox"].is-invalid {
  outline: 2px solid #ef4444;
  outline-offset: 2px;
  border-radius: 3px;
}
.privacy-consent .consent-label { display: flex; align-items: center; gap: .5rem; font-weight: 500; }

.privacy-consent label {
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .25rem;
}

.privacy-consent p {
  margin: 0;
  font-size: .9rem;
  color: #6B7280;
}


/* Optional: consistent checkbox size in WebKit/Edge/Firefox */
.checkbox input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--brand, #0D9488); /* uses your brand if set */
}

/* Optional: compact subtle helper text */
.subtle {
  color: #6B7280;
  font-size: .9rem;
}



/* --- Design tokens --- */
:root{
  --brand: #0D9488;         /* teal */
  --brand-600:#0F766E;
  --ink:#111827;
  --muted:#6B7280;
  --card:#FFFFFF;
  --ring:#E5E7EB;
  --soft:#F9FAFB;
}

/* Eyebrow (tiny label above headings) */
.eyebrow{
  display:inline-block;
  font-size:.78rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--muted);
  background:#EFF6F5;
  border:1px solid #DAF0EC;
  border-radius:999px;
  padding:.15rem .5rem;
  margin-bottom:.6rem;
}

/* Section title w/ accent underline */
.h2-accent{
  position:relative;
  padding-bottom:.35rem;
}
.h2-accent::after{
  content:"";
  position:absolute;
  left:0; bottom:0;
  width:60px; height:3px;
  background:linear-gradient(90deg,var(--brand),#22A699);
  border-radius:2px;
}

/* Feature card (use on 1 card per row to add variety) */
.card.feature{
  background: radial-gradient(120% 140% at 0% 0%, #F1FBF9 0%, #FFFFFF 55%);
  border:1px solid #D9F3EF;
}

/* Enhanced hover on cards (desktop only) */
@media (hover:hover){
  .card {
    transition: transform var(--transition-base), box-shadow var(--transition-base);
  }
  .card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
  }
  .grid-3 .card:hover,
  .grid .card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
  }
}

/* Pretty check bullets */
.ul-check{
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: grid;
  gap: .4rem;
  justify-content: center;
}
.ul-check li{
  display: flex;
  align-items: flex-start;
  gap: .45rem;
  margin: 0;
  justify-content: flex-start;
}
.ul-check li::before{
  content:"\2713";
  color:var(--brand);
  font-weight:700;
  line-height: 1.2;
}
/* Dim secondary text lines inside cards */
.card .subtle{ color:var(--muted); }

/* Pill tags (e.g., “Included”, “Optional”) */
.pill{
  display:inline-block; font-size:.75rem; padding:.2rem .5rem; border-radius:999px;
  border:1px solid #D1FAE5; background:#ECFDF5; color:#065F46;
}
.pill.warn{ border-color:#FDE68A; background:#FFFBEB; color:#92400E; }


/* Gradient button edge highlight */
.btn{
  position:relative;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.06);
}
.btn:active{ transform: translateY(1px); }

/* Divider dots between sections (for big pages) */
.divider-dot{
  display:flex; justify-content:center; gap: .4rem; margin:1.75rem 0;
}
.divider-dot::before, .divider-dot::after{
  content:""; width:6px; height:6px; border-radius:50%; background:#D1FAE5;
}

label.required::after {
  content: " *";
  color: red;
  font-weight: bold;
}

/* -------- NAV: top-level spacing (desktop + mobile) -------- */
.navbar-menu > li { padding-top: .5rem; padding-left: 1rem; }
.navbar-menu > li:not(:first-child) { padding-left: 0; }

/* Make the Info button look like a link */
.navbar-menu .dropbtn {
  background: none;
  border: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: .15rem;
  line-height: inherit;
  vertical-align: baseline;
  transform: translateY(3px);
  justify-content: flex-start;
  text-align: left;
}

/* Dropdown base */
.navbar-menu .dropdown { position: relative; padding-bottom: 6px; }
.dropdown-menu {
  position: absolute; top: calc(100% + 2px); left: 0;
  min-width: 180px; margin: 0; list-style: none;
  background: #fff; border: 1px solid #E5E7EB; border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0,0,0,.06);
  padding: .5rem 0; display: none; z-index: 1001;
}
.dropdown-menu.services-menu { min-width: 240px; }
.dropdown-menu.tools-menu { min-width: 200px; }
.dropdown-menu a { display: block; padding: .5rem .75rem; white-space: nowrap; }

/* Keep menu open while hovering or focusing within (desktop) */
@media (hover:hover){
  .navbar-menu .dropdown:hover .dropdown-menu { display: block; }
}
.navbar-menu .dropdown:focus-within .dropdown-menu { display: block; }

/* Highlight Info while open/hovered */
.navbar-menu .dropdown:hover > .dropbtn,
.navbar-menu .dropdown:focus-within > .dropbtn {
  background:#eef2f7; color:#0f172a; border-radius:6px;
}

/* Reset padding INSIDE dropdown so About/Contact/Blog don't shift */
.navbar-menu .dropdown-menu li { padding: 0; }

/* -------- NAV: mobile collapse + dropdown behavior -------- */
@media (max-width: 640px){
  /* Collapsed by default; JS toggles .active */
  .navbar-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: .5rem;
    padding: .75rem 1rem 1rem;
    background: #f9fafc;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(15,23,42,0.08);
    align-items: flex-start;
    text-align: left;
  }
  .navbar-menu.active { display: flex !important; }  /* ensure wins */

  /* Mobile item spacing */
  .navbar-menu > li { padding: .5rem 0; padding-left: 0; width: 100%; }
  .navbar-cta { margin-left: 0; }

  /* Dropdown opens by tap (class .open set by JS) */
  .navbar-menu .dropdown { width: 100%; padding-bottom: 0; }
  .navbar-menu .dropdown .dropdown-menu {
    display: none;
    position: static;
    box-shadow: inset 0 0 0 1px #e5e7eb;
    border: 0;
    padding: 0;
    background: transparent;
    border-radius: 10px;
    margin-top: .25rem;
    text-align: left;
  }
  .navbar-menu .dropdown.open .dropdown-menu { display: block; }
  .dropbtn {
    width: 100%;
    text-align: left;
    padding: .45rem .65rem;
    justify-content: flex-start;
    background: #eef2f7;
    border-radius: 10px;
  }
  .dropdown-menu a {
    padding: .7rem .85rem;
    border-radius: 10px;
    text-align: left;
  }
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #0f172a;
  border-radius: 3px;
}

/* Quantum SmartQR landing */
body.smartqr-theme {
  background-color: #01050f;
  color: #f4f4f5;
}
body.smartqr-theme main {
  background-color: #01050f;
}
.smartqr-page {
  background: radial-gradient(circle at top, rgba(93, 113, 156, 0.14), transparent 55%), #050b16;
  color: #f4f4f5;
  min-height: 100vh;
  width: 100%;
}
.smartqr-hero {
  padding: 4rem 1.5rem 2.5rem;
  max-width: 960px;
  margin: 0 auto;
  text-align: left;
}
.smartqr-hero h1 {
  font-size: clamp(2.75rem, 4vw, 3.75rem);
  margin-bottom: 0.5rem;
  color: #f8fafc;
  letter-spacing: -0.02em;
}
.smartqr-tagline {
  font-size: 1.25rem;
  color: #a5b1c9;
  margin-bottom: 1rem;
}
.smartqr-description {
  max-width: 640px;
  margin-bottom: 1.5rem;
  color: #c6cfe4;
  font-size: 1rem;
}
.smartqr-hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}
.smartqr-hero .btn {
  border-radius: 999px;
  padding: 0.9rem 1.5rem;
  background: linear-gradient(120deg, #4c6ef5, #2563eb);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.35);
}
.smartqr-meta {
  font-size: 0.95rem;
  color: #9ca3af;
}
.smartqr-features {
  max-width: 960px;
  width: min(100%, 960px);
  margin: -1rem auto 0;
  background: #0b1527;
  border-radius: 32px 32px 0 0;
  padding: 2.5rem 2rem 3rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(9, 14, 30, 0.6);
}
.section-heading {
  text-align: center;
  margin-bottom: 2rem;
}
.smartqr-section-intro {
  max-width: 640px;
  margin: 0 auto;
  color: #c6cfe4;
  font-size: 1rem;
}
.smartqr-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.smartqr-feature-card {
  background: #111731;
  border-radius: 18px;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  min-height: 150px;
}
.smartqr-feature-card h3 {
  margin-bottom: 0.4rem;
  color: #f8fafc;
}
.smartqr-feature-card p {
  color: #abb7cf;
  font-size: 0.95rem;
  line-height: 1.45;
}
.smartqr-teaser {
  padding: 3rem 1.5rem 2.5rem;
  max-width: 960px;
  margin: 0 auto;
}
.smartqr-teaser-content {
  background: linear-gradient(135deg, rgba(76, 110, 245, 0.1), rgba(8, 20, 38, 0.9));
  border-radius: 24px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.smartqr-teaser-content h2 {
  color: #f8fafc;
  margin-bottom: 1rem;
}
.smartqr-teaser-content pre {
  background: rgba(7, 11, 23, 0.9);
  border-radius: 14px;
  padding: 1.5rem;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin: 0;
}
.smartqr-teaser-content code {
  font-family: "JetBrains Mono", "Fira Code", "SFMono-Regular", monospace;
  color: #f4f6fb;
  font-size: 0.95rem;
  line-height: 1.5;
}
.smartqr-caption {
  margin-top: 1rem;
  color: #c6cfe4;
  font-size: 0.95rem;
}
.smartqr-waitlist {
  margin: 1rem auto 0;
  max-width: 960px;
  background: #0d1829;
  border-radius: 28px;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.smartqr-waitlist-content {
  max-width: 640px;
  margin: 0 auto;
}
.smartqr-waitlist-content h2 {
  margin-top: 0.25rem;
  margin-bottom: 0.4rem;
  color: #fefefe;
}
.smartqr-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
  align-items: stretch;
}
.smartqr-label {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a5b1c9;
}
.smartqr-waitlist input[type="email"] {
  flex: 1;
  min-width: 200px;
  background: #0b1120;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.95rem 1.2rem;
  color: #f8fafc;
  font-size: 1rem;
}
.smartqr-waitlist input[type="email"]::placeholder {
  color: rgba(248, 250, 252, 0.55);
}
.smartqr-success {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #5eead4;
}
.smartqr-success.hidden {
  display: none;
}
.smartqr-footer {
  margin: 3rem 1rem 0;
  padding: 1.5rem 0 3rem;
  text-align: center;
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.smartqr-footer a {
  color: #cbd5f5;
  margin: 0 0.35rem;
}
.smartqr-footer a:hover {
  color: #fff;
}
@media (max-width: 640px) {
  .smartqr-hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .smartqr-form-row {
    flex-direction: column;
  }
  .smartqr-waitlist input[type="email"],
  .smartqr-waitlist button {
    width: 100%;
    justify-content: center;
  }
  /* Layout shell */
.qt-page {
  padding: 2rem 1.5rem 4rem;
}



@media (min-width: 900px) {
  .qt-page {
    padding: 3rem 2rem 5rem;
  }
}

/* Sections */
.qt-section {
  padding: 3rem 0;
}

.qt-section-alt {
  background: #0f172a; /* darkish background – adjust to match your theme */
  color: #e5e7eb;
}

.qt-section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.qt-section h2 {
  margin-bottom: 1rem;
}

.qt-section-intro {
  max-width: 650px;
  margin-bottom: 2rem;
}

/* Hero */
.qt-hero {
  padding: 3.5rem 0 2.5rem;
}

.qt-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 900px) {
  .qt-hero-inner {
    flex-direction: row;
    align-items: center;
  }
}

.qt-hero-text {
  flex: 2;
}

.qt-hero-text h1 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 1rem;
}

.qt-hero-text p {
  margin-bottom: 1rem;
  max-width: 600px;
}

.qt-hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.qt-hero-bullets li::before {
  content: "• ";
  color: #22c55e; /* accent */
}

.qt-hero-cta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.qt-hero-note {
  font-size: 0.9rem;
  opacity: 0.8;
}

.qt-hero-visual {
  flex: 1.3;
}

.qt-hero-card {
  background: #0f172a;
  color: #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.45);
}

.qt-hero-card h2 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.qt-hero-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.qt-hero-card li + li {
  margin-top: 0.5rem;
}

/* Grid */
.qt-grid {
  display: grid;
  gap: 1.5rem;
}

.qt-grid-2 {
  grid-template-columns: 1fr;
}

.qt-grid-3 {
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .qt-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .qt-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Cards */
.qt-card {
  background: #0b1120;
  color: #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.qt-section:not(.qt-section-alt) .qt-card {
  background: #020617;
  color: #e5e7eb;
}

.qt-card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.qt-card-service ul {
  margin-top: 0.75rem;
  padding-left: 1.1rem;
}

/* Two-column compare */
.qt-two-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 900px) {
  .qt-two-column {
    flex-direction: row;
    align-items: flex-start;
  }
}

.qt-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.qt-compare-column {
  background: #020617;
  border-radius: 0.75rem;
  padding: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  font-size: 0.95rem;
}

.qt-compare-column-good {
  border-color: #22c55e;
}

/* Quotes */
.qt-card-quote {
  position: relative;
}

.qt-card-quote::before {
  content: "“";
  font-size: 3rem;
  position: absolute;
  top: -0.5rem;
  left: 0.25rem;
  opacity: 0.15;
}

.qt-quote-meta {
  margin-top: 1rem;
  font-size: 0.9rem;
  opacity: 0.85;
}

.qt-testimonial-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  opacity: 0.85;
}

/* CTA section */
.qt-section-cta {
  text-align: center;
}

.qt-section-cta p {
  max-width: 600px;
  margin: 0.5rem auto 1.5rem;
}

}

/* Partners */
.qt-partners {
  max-width: 980px;
  margin: 0 auto;
}
.qt-partner-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  align-items: center;
}
.qt-partner-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(15,23,42,0.05);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  aspect-ratio: 16 / 7;
  min-height: 120px;
  overflow: hidden;
}
.qt-partner-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(15,23,42,0.08);
  border-color: #d5dae4;
}
.qt-partner-logo {
  max-width: 200px;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.08));
}
.qt-partner-label{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .65rem 1.1rem;
  border-radius: 10px;
  border: 1px solid #dfe6f1;
  background: #f8fbff;
  color: #0f172a;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 6px rgba(15,23,42,0.06);
}

/* Indent dropdown items like Tools home / Quantum SmartQR */
a[role="menuitem"] {
  display: block;
  padding-left: 0.75rem !important;  /* bump this up/down to taste */
}

/* Flash messages */
.flash-message {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md, 8px);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.flash-success {
  background-color: #f0fdf4;
  border-color: #86efac;
  color: #166534;
}

.flash-error {
  background-color: #fef2f2;
  border-color: #fca5a5;
  color: #991b1b;
}

.flash-info {
  background-color: #eff6ff;
  border-color: #93c5fd;
  color: #1e40af;
}

/* ============================================================
   Premium Homepage — SaaS aesthetic
   ============================================================ */

.page-home {
  background: var(--bg-canvas);
}

.page-home main {
  padding-bottom: 0;
}

/* Full-width section layout */
.section-full {
  width: 100%;
  max-width: none;
  padding: 5rem 1.5rem;
  text-align: left;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
  transition-delay: var(--animation-delay, 0s);
}

.section-full.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.section-container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
}

.section-header {
  max-width: 640px;
  margin-bottom: 3rem;
}

.section-header--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.eyebrow-premium {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-primary);
  background: rgba(91, 91, 214, 0.08);
  border: 1px solid rgba(91, 91, 214, 0.15);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  margin-bottom: 1rem;
}

/* Premium buttons */
.btn-primary {
  background: var(--text-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-primary:hover {
  background: #262626;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: #fff;
}

.btn-outline {
  background: var(--bg-primary);
  color: var(--text-primary);
  box-shadow: none;
  border: 1px solid var(--border-color);
  text-decoration: none;
}

.btn-outline:hover {
  background: var(--bg-secondary);
  border-color: #d4d4d4;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--text-primary);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
}

.page-home .hero-premium {
  padding: 4rem 1.5rem 3rem;
}

.page-home .section-full {
  padding: 3.25rem 1.5rem;
}

.page-home .section-header {
  margin-bottom: 2rem;
}

.page-home .section-title {
  font-size: clamp(1.5rem, 3vw, 2.125rem);
}

.page-home .section-subtitle {
  font-size: 1rem;
}

.page-home .hero-lead {
  font-size: 1.0625rem;
  max-width: 34rem;
}

.hero-examples {
  margin-top: 1.25rem;
  max-width: 34rem;
}

.hero-examples-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 0 0 0.65rem;
}

.hero-examples-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-examples-list li {
  font-size: 0.8125rem;
  line-height: 1.35;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

/* Practical workflow diagram (hero) */
.hero-premium .hero-visual {
  align-items: center;
}

.workflow-diagram {
  width: 100%;
  max-width: 420px;
  margin: 0;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow-md);
}

.workflow-diagram-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.85rem;
}

.workflow-diagram-track {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.2rem;
}

.workflow-step {
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.3;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.workflow-step--active {
  border-color: rgba(41, 122, 51, 0.35);
  background: rgba(41, 122, 51, 0.06);
  color: #1a5c2e;
}

.workflow-arrow {
  flex-shrink: 0;
  color: #94a3b8;
  font-size: 0.875rem;
  line-height: 1;
  padding: 0 0.1rem;
  user-select: none;
}

.workflow-diagram-note {
  margin: 0.85rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* Premium hero */
.hero-premium {
  position: relative;
  overflow: hidden;
  padding: 5rem 1.5rem 4rem;
  min-height: auto;
  background: var(--bg-canvas);
  color: var(--text-primary);
  opacity: 1 !important;
  transform: none !important;
}

.hero-premium-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.hero-gradient-orb--1 {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -100px;
  background: radial-gradient(circle, rgba(91, 91, 214, 0.12) 0%, transparent 70%);
  animation: orb-drift-1 18s ease-in-out infinite alternate;
}

.hero-gradient-orb--2 {
  width: 500px;
  height: 500px;
  bottom: -150px;
  left: -100px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.08) 0%, transparent 70%);
  animation: orb-drift-2 22s ease-in-out infinite alternate;
}

@keyframes orb-drift-1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-30px, 20px) scale(1.05); }
}

@keyframes orb-drift-2 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(25px, -15px) scale(1.04); }
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 70%);
}

.hero-premium-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: center;
}

.hero-premium .hero-copy h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero-lead a {
  color: var(--text-primary);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero-lead a:hover {
  color: var(--brand-primary);
}

.hero-premium .hero-cta {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.hero-premium .hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Business technology visualization */
.tech-visual {
  position: relative;
  min-height: 420px;
  width: 100%;
}

.tech-visual-float {
  position: relative;
  width: 100%;
  min-height: 420px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.tech-visual-float.animate-in {
  opacity: 1;
  transform: translateY(0);
  animation: tech-float 7s ease-in-out infinite;
}

@keyframes tech-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

.tech-card {
  position: absolute;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 0.875rem 1rem;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.tech-card:hover {
  box-shadow: var(--shadow-lg);
}

.tech-card-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.tech-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  flex-shrink: 0;
}

.tech-card-icon--systems { background: rgba(91, 91, 214, 0.1); color: var(--brand-primary); }
.tech-card-icon--auto { background: rgba(91, 91, 214, 0.1); color: var(--brand-primary); }
.tech-card-icon--onboard { background: rgba(13, 148, 136, 0.1); color: #0d9488; }
.tech-card-icon--smartqr { background: rgba(234, 88, 12, 0.1); color: #ea580c; }
.tech-card-icon--report { background: rgba(99, 102, 241, 0.1); color: #6366f1; }
.tech-card-icon--ai { background: rgba(168, 85, 247, 0.1); color: #9333ea; }

.tech-card-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  flex: 1;
}

.tech-card-note {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
}

.tech-pill {
  font-size: 0.625rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tech-pill--ok {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}

.tech-card--systems {
  top: 0;
  left: 0;
  right: 10%;
  z-index: 3;
}

.tech-int-badge--muted {
  opacity: 0.75;
  font-weight: 400;
}

.tech-step-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem;
}

.tech-step-list-item {
  font-size: 0.6875rem;
  color: var(--text-muted);
  padding: 0.3rem 0.5rem;
  border-radius: 6px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
}

.tech-step-list-item--done {
  color: #16a34a;
  background: rgba(34, 197, 94, 0.06);
  border-color: rgba(34, 197, 94, 0.15);
}

.tech-step-list-item--active {
  color: var(--brand-primary);
  background: rgba(91, 91, 214, 0.08);
  border-color: rgba(91, 91, 214, 0.2);
}

.tech-smartqr-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.tech-smartqr-stats div {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.tech-smartqr-stats strong {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
}

.tech-smartqr-stats span {
  font-size: 0.625rem;
  color: var(--text-muted);
}

.tech-ai-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem;
}

.tech-ai-list li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.6875rem;
  color: var(--text-secondary);
}

.tech-ai-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border-color);
  flex-shrink: 0;
}

.tech-ai-dot--active {
  background: #9333ea;
  box-shadow: 0 0 0 2px rgba(147, 51, 234, 0.2);
  animation: flow-pulse 2.5s ease-in-out infinite;
}

.tech-card--automation {
  top: 42%;
  right: 0;
  width: 56%;
  z-index: 4;
}

.tech-flow {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
}

.tech-flow-step {
  font-size: 0.625rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  white-space: nowrap;
  flex-shrink: 0;
}

.tech-flow-step--done {
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.2);
  color: #16a34a;
}

.tech-flow-step--active {
  background: rgba(91, 91, 214, 0.1);
  border-color: rgba(91, 91, 214, 0.25);
  color: var(--brand-primary);
  animation: flow-pulse 2.5s ease-in-out infinite;
}

@keyframes flow-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(91, 91, 214, 0); }
  50%      { box-shadow: 0 0 0 3px rgba(91, 91, 214, 0.12); }
}

.tech-flow-line {
  width: 14px;
  height: 1px;
  background: var(--border-color);
  flex-shrink: 0;
}

.tech-card--onboarding {
  top: 12%;
  left: 2%;
  width: 42%;
  z-index: 2;
}

.tech-card--smartqr {
  top: 6%;
  right: 0;
  width: 38%;
  z-index: 1;
}

.tech-card--ai {
  bottom: 6%;
  left: 0;
  width: 46%;
  z-index: 2;
}

.tech-card--reporting {
  bottom: 0;
  right: 6%;
  width: 48%;
  z-index: 5;
}

.tech-chart {
  height: 48px;
  margin-bottom: 0.5rem;
}

.tech-chart-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.tech-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.tech-kpis div {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.tech-kpis strong {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.tech-kpis span {
  font-size: 0.625rem;
  color: var(--text-muted);
}

.tech-integrations {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tech-int-badge {
  font-size: 0.625rem;
  font-weight: 500;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

/* Service cards */
.section-services {
  background: var(--bg-secondary);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-grid--compact {
  grid-template-columns: repeat(2, 1fr);
}

.service-grid--compact .service-card {
  padding: 1.5rem;
}

.service-grid--compact .service-card p {
  margin-bottom: 0;
}

@media (min-width: 960px) {
  .page-body-inner--wide .service-grid--compact {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .page-body-inner--wide .service-grid--compact {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-decoration: none;
  color: inherit;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity var(--transition-slow),
    transform var(--transition-slow),
    border-color var(--transition-base),
    box-shadow var(--transition-base);
  transition-delay: var(--card-delay, 0s);
}

.service-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover {
  border-color: #d4d4d4;
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  text-decoration: none;
  color: inherit;
}

.service-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(91, 91, 214, 0.08);
  color: var(--brand-primary);
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.service-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  flex: 1;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-primary);
}

.service-card:hover .service-card-link svg {
  transform: translateX(2px);
}

.service-card-link svg {
  transition: transform var(--transition-base);
}

/* Trust section */
.section-trust {
  background: var(--bg-primary);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.trust-grid--compact {
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 0;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.trust-item {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
  transition-delay: var(--card-delay, 0s);
}

.trust-item.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.trust-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.trust-item p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.trust-item p a {
  color: var(--text-primary);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.trust-item p a:hover {
  color: var(--brand-primary);
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 1.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  min-width: 140px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
  transition-delay: var(--card-delay, 0s);
}

.trust-badge.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.trust-badge-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.trust-badge-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* Brand cards */
.section-brands {
  background: var(--bg-secondary);
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.brand-grid--compact {
  grid-template-columns: repeat(2, 1fr);
  max-width: 720px;
}

.brand-grid--compact .brand-card {
  padding: 1.5rem;
}

.brand-grid--compact .brand-card > p {
  margin-bottom: 1.25rem;
  flex: 1;
}

.brand-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity var(--transition-slow),
    transform var(--transition-slow),
    box-shadow var(--transition-base);
  transition-delay: var(--card-delay, 0s);
}

.brand-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.brand-card--featured {
  border-color: rgba(91, 91, 214, 0.2);
  background: linear-gradient(160deg, rgba(91, 91, 214, 0.04) 0%, var(--bg-primary) 55%);
}

@media (hover: hover) {
  .brand-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
  }
}

.brand-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.brand-card > p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.brand-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.brand-card-list li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding-left: 1.25rem;
  position: relative;
}

.brand-card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-primary);
}

.brand-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

/* CTA section */
.section-cta {
  background: var(--text-primary);
  color: #fafafa;
  text-align: center;
  padding: 5rem 1.5rem;
}

.section-cta-inner {
  max-width: 640px;
}

.section-cta .section-title {
  color: #fafafa;
}

.section-cta .section-subtitle {
  color: #a3a3a3;
  margin-bottom: 2rem;
}

.section-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.section-cta .btn-primary {
  background: #fff;
  color: var(--text-primary);
}

.section-cta .btn-primary:hover {
  background: #f5f5f5;
  color: var(--text-primary);
}

.section-cta .btn-outline {
  background: transparent;
  color: #fafafa;
  border-color: rgba(255, 255, 255, 0.25);
}

.section-cta .btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fafafa;
}

.section-cta-note {
  font-size: 0.875rem;
  color: #737373;
  margin-bottom: 0;
}

.section-cta-note a {
  color: #d4d4d4;
  text-decoration: none;
}

.section-cta-note a:hover {
  color: #fafafa;
  text-decoration: underline;
}

/* Premium navbar */
.navbar--premium {
  padding: 0;
  background-color: rgba(248, 247, 244, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar--premium.scrolled {
  background-color: rgba(248, 247, 244, 0.94);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.04);
}

.navbar--premium .navbar-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0.875rem 1.5rem;
  padding-top: 0.875rem;
  align-items: center;
  gap: 1.5rem;
}

.navbar--premium .logo-toolset-img {
  max-height: 44px;
  height: 44px;
}

.navbar--premium .navbar-menu {
  flex: 1;
  justify-content: flex-end;
  align-items: center;
  gap: 0.125rem;
  margin-left: auto;
}

.navbar--premium .navbar-menu > li {
  padding-top: 0;
  padding-left: 0;
}

.navbar--premium .navbar-menu li a:not(.btn-nav-cta) {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  width: auto;
  transition: color var(--transition-base), background var(--transition-base);
}

.navbar--premium .navbar-menu li a:not(.btn-nav-cta):hover {
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.04);
  text-decoration: none;
}

.navbar--premium .navbar-cta {
  margin-left: 0.5rem;
  flex-shrink: 0;
}

.navbar--premium .navbar-menu li a.btn-nav-cta {
  background: var(--text-primary);
  color: #fff;
  box-shadow: none;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 9px;
  white-space: nowrap;
}

.navbar--premium .navbar-menu li a.btn-nav-cta:hover {
  background: #262626;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.page-home footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
}

.service-card:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

/* Premium homepage responsive */
@media (max-width: 960px) {
  .hero-premium-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-premium .hero-visual {
    order: -1;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .brand-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .tech-visual,
  .tech-visual-float {
    min-height: 400px;
  }

  .tech-card--systems { right: 0; }
  .tech-card--automation { width: 62%; }
  .tech-card--onboarding { width: 48%; }
  .tech-card--smartqr { width: 42%; }
  .tech-card--ai { width: 50%; }
  .tech-card--reporting { width: 54%; }
}

@media (max-width: 640px) {
  .navbar--premium .navbar-inner {
    padding: 0.65rem 1rem;
    padding-top: 0.65rem;
  }

  .navbar--premium .logo-toolset-img {
    max-height: 36px;
    height: 36px;
  }

  .section-full {
    padding: 3.5rem 1rem;
  }

  .hero-premium {
    padding: 3rem 1rem 2.5rem;
  }

  .workflow-diagram {
    max-width: 100%;
    padding: 1rem 1.1rem;
  }

  .workflow-step {
    font-size: 0.75rem;
    padding: 0.4rem 0.55rem;
  }

  .hero-examples-list li {
    font-size: 0.75rem;
  }

  .tech-visual,
  .tech-visual-float {
    min-height: 340px;
  }

  .tech-card {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    margin-bottom: 0.75rem;
  }

  .tech-visual-float {
    display: flex;
    flex-direction: column;
    animation: none;
  }


  .service-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .trust-badges {
    gap: 0.75rem;
  }

  .trust-badge {
    min-width: calc(50% - 0.5rem);
    flex: 1 1 calc(50% - 0.5rem);
  }

  .hero-premium .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-premium .hero-cta .btn {
    text-align: center;
  }

  .section-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-full,
  .service-card,
  .trust-item,
  .trust-badge,
  .brand-card,
  .tech-visual-float {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }

  .hero-gradient-orb--1,
  .hero-gradient-orb--2 {
    animation: none;
  }

  .tech-flow-step--active {
    animation: none;
  }

  .service-card:hover,
  .brand-card:hover {
    transform: none;
  }
}

/* ============================================================
   Toolset inner pages — shared premium shell
   ============================================================ */

.page-toolset {
  background: var(--bg-canvas);
}

.page-toolset main {
  padding-bottom: 0;
}

.page-toolset footer.footer--premium,
.page-toolset footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
}

.page-toolset footer .container {
  max-width: 1140px;
}

/* Inner page hero */
.page-hero--toolset {
  padding: 3.5rem 1.5rem 2.5rem;
  background: var(--bg-canvas);
  border-bottom: 1px solid var(--border-subtle);
}

.page-toolset .page-hero-inner {
  max-width: var(--page-prose-max);
  margin-inline: auto;
}

.page-toolset .page-hero--wide .page-hero-inner {
  max-width: var(--page-wide-max);
}

.page-toolset .page-body-inner {
  max-width: var(--page-prose-max);
  margin-inline: auto;
}

.page-toolset .page-body-inner--wide {
  max-width: var(--page-wide-max);
}

.page-toolset .page-body-inner--narrow {
  max-width: var(--page-prose-max);
}

.page-hero-inner h1 {
  font-size: clamp(1.875rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--text-primary);
  margin: 0 0 0.75rem;
}

.page-hero--wide .page-hero-inner h1 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
}

.page-hero-lead {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 38em;
  margin: 0;
}

.page-hero-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0.75rem 0 0;
}

.section-page-body {
  padding: 2.5rem 1.5rem 4rem;
}

.page-body-inner--narrow {
  max-width: var(--page-prose-max);
}

.content-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow-sm);
}

.content-card--prose {
  max-width: none;
}

/* About — two columns on desktop */
.about-page-grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 960px) {
  .about-page-grid {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
    gap: 2rem;
  }
}

.about-sidebar h2 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--text-primary);
}

.about-details-list {
  margin: 0;
  padding: 0;
}

.about-details-list > div {
  margin-bottom: 1rem;
}

.about-details-list > div:last-child {
  margin-bottom: 0;
}

.about-details-list dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.about-details-list dd {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-primary);
}

.about-details-list a {
  color: var(--text-primary);
  font-weight: 500;
  text-decoration: none;
}

.about-details-list a:hover {
  color: var(--brand-primary);
}

.content-card--prose h2 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 2rem 0 0.75rem;
  color: var(--text-primary);
}

.content-card--prose h2:first-child {
  margin-top: 0;
}

.content-card--prose p,
.content-card--prose li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.content-card--prose ul,
.content-card--prose ol {
  margin: 0.75rem 0 1rem;
  padding-left: 1.35rem;
}

.content-card--prose a {
  color: var(--brand-primary);
  font-weight: 500;
}

.content-intro {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin: 0 0 1.75rem;
  max-width: 38em;
}

.callout--premium {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
}

.content-card--prose .callout {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  color: var(--text-secondary);
}

.pill--premium {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-primary);
  background: rgba(91, 91, 214, 0.08);
  border: 1px solid rgba(91, 91, 214, 0.15);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  margin-bottom: 0.75rem;
}

.service-card--static {
  opacity: 1;
  transform: none;
  cursor: default;
}

.service-card--static:hover {
  transform: translateY(-2px);
}

.service-card--static h3 a {
  color: var(--text-primary);
  text-decoration: none;
}

.service-card--static h3 a:hover {
  color: var(--brand-primary);
}

.service-card--static .btn {
  margin-top: auto;
  align-self: flex-start;
}

.service-card--static .service-card-link {
  margin-top: 0.75rem;
}

.badge--premium {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  margin-top: 0.75rem;
}

/* Notes index — aligned stack */
.notes-index {
  max-width: none;
}

.notes-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.notes-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.65rem;
  box-shadow: var(--shadow-sm);
}

.notes-card .pill--premium {
  margin-bottom: 0.65rem;
}

.notes-card-title {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin: 0 0 0.5rem;
}

.notes-card-title a {
  color: var(--text-primary);
  text-decoration: none;
}

.notes-card-title a:hover {
  color: var(--brand-primary);
}

.notes-card-summary {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 1.15rem;
  flex: 1;
}

.notes-card .btn {
  align-self: flex-start;
}

/* Notes index — IT guides archive section */
.notes-archive {
  margin-top: 2.75rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--border-subtle);
}

.notes-archive-header {
  margin-bottom: 1.25rem;
}

.notes-archive-header h2 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  color: var(--text-primary);
}

.notes-archive-lead {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
}

.notes-brand-callout {
  margin-bottom: 1.5rem;
}

.notes-brand-callout a {
  font-weight: 500;
}

.notes-back {
  margin: 0 0 1.5rem;
}

.notes-back a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
}

.notes-back a:hover {
  color: var(--brand-primary);
  text-decoration: underline;
}

/* Contact form — shared + Toolset premium */
.contact-form {
  text-align: left;
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}

.page-toolset .contact-form {
  background: var(--bg-primary);
  padding: 2rem 2.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form .form-group {
  margin-bottom: 1.35rem;
}

.contact-form .form-group label,
.contact-form .form-group > label {
  display: block;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.45rem;
  font-size: 0.875rem;
}

.contact-form .required {
  color: #dc2626;
}

.contact-form .optional {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.8125rem;
}

.contact-form .form-input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-family: var(--font-display);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  background: var(--bg-primary);
  color: var(--text-primary);
}

.contact-form .form-input:focus {
  outline: none;
  border-color: var(--text-primary);
  box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.08);
}

.page-toolset .contact-form .form-input:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(91, 91, 214, 0.12);
}

.contact-form.submitted .form-input:invalid,
.contact-form.submitted select.form-input:invalid {
  border-color: #f59e0b;
  background-color: #fffbeb;
}

.contact-form textarea.form-input {
  resize: vertical;
  min-height: 132px;
}

.contact-form .form-help {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.contact-form .checkbox-group-compact {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

@media (min-width: 960px) {
  .contact-form .checkbox-group-compact {
    grid-template-columns: repeat(4, 1fr);
  }
}

.contact-form .checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: 400;
  padding: 0.45rem 0.55rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
  transition: background var(--transition-base), border-color var(--transition-base);
}

.contact-form .checkbox-label:hover {
  background: var(--bg-light);
  border-color: var(--border-color);
}

.contact-form .checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  flex-shrink: 0;
  accent-color: var(--brand-primary);
}

.contact-form .checkbox-label span {
  font-size: 0.875rem;
  line-height: 1.35;
  color: var(--text-secondary);
}

.contact-form .checkbox-label--consent {
  border: none;
  background: transparent;
  padding: 0;
  align-items: flex-start;
}

.contact-form .checkbox-label--consent:hover {
  background: transparent;
}

.contact-form .checkbox-label--consent span {
  color: var(--text-primary);
}

.contact-form .form-actions {
  margin-top: 0.5rem;
}

.contact-form #submitBtn {
  min-width: 180px;
}

.contact-form #submitBtn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 640px) {
  .page-toolset .contact-form {
    padding: 1.5rem;
  }

  .contact-form .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form .checkbox-group-compact {
    grid-template-columns: 1fr;
  }

  .contact-form #submitBtn {
    width: 100%;
  }
}

.page-toolset .contact-meta {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.page-toolset .contact-meta--muted {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1.75rem;
}

.page-toolset .alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

/* Legacy inner pages (blog, tools) on page-toolset */
.page-toolset .section-light {
  padding: 3.5rem 1.5rem 2rem;
  text-align: left;
  background: transparent;
  border-bottom: 1px solid var(--border-subtle);
}

.page-toolset .section-light h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text-primary);
  max-width: 1140px;
  margin: 0 auto 0.75rem;
}

.page-toolset .section-light .tagline,
.page-toolset .section-light .page-intro {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 40rem;
  margin: 0 auto;
}

.page-toolset main > section:not(.section-light):not(.section-full):not(.page-hero) {
  max-width: 1140px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.page-toolset main > .container {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.page-toolset .card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.page-toolset .blog-card .blog-content h1,
.page-toolset .blog-card .blog-content .h2-accent {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.page-toolset .blog-card .eyebrow {
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-primary);
  background: rgba(91, 91, 214, 0.08);
  border: 1px solid rgba(91, 91, 214, 0.15);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  margin-bottom: 1rem;
}

.page-toolset .blog-content h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
  color: var(--text-primary);
}

.page-toolset .blog-content p,
.page-toolset .blog-content li {
  color: var(--text-secondary);
  line-height: 1.7;
}

.page-toolset .blog-content .tagline {
  font-size: 1.0625rem;
  color: var(--text-secondary);
}

.page-toolset .blog-content .subtle {
  color: var(--text-muted);
  font-size: 0.875rem;
}

@media (max-width: 640px) {
  .page-hero--toolset {
    padding: 2.75rem 1rem 2rem;
  }

  .section-page-body {
    padding: 2rem 1rem 3rem;
  }

  .content-card {
    padding: 1.5rem;
  }

  .page-toolset .contact-form {
    padding: 1.5rem;
  }
}
