/* ==========================================================================
   QMALL AGENCY — HIGH-END PERFORMANCE MARKETING DESIGN SYSTEM
   Visual References: ADSchool Design DNA (#0100F4, #5DFE93, #EFEFE6, #030220)
   ========================================================================== */

/* 1. CSS Custom Properties / Tokens */
:root {
  /* Color Palette */
  --electric-blue: #0100F4;
  --electric-blue-dark: #0000C8;
  --acid-green: #5DFE93;
  --acid-green-hover: #48E87D;
  --warm-cream: #EFEFE6;
  --warm-cream-card: #F7F7EE;
  --ink-black: #030220;
  --ink-black-muted: #1A193B;
  --pure-white: #FFFFFF;

  /* Border Tokens */
  --border-dark: 1px solid #030220;
  --border-dark-subtle: 1px solid rgba(3, 2, 32, 0.15);
  --border-light-subtle: 1px solid rgba(255, 255, 255, 0.22);
  --border-acid: 1px solid #5DFE93;

  /* Typography */
  --font-display: 'Plus Jakarta Sans', 'Unbounded', system-ui, -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Radius Tokens (Strictly 0-8px for cards, 100px for pill tags) */
  --radius-none: 0px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-pill: 100px;

  /* Layout Spacing */
  --site-max-width: 1320px;
  --header-height: 80px;

  /* Motion */
  --transition-fast: 150ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 250ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. Global Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-black);
  background-color: var(--electric-blue);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Accessibility Focus States */
:focus-visible {
  outline: 3px solid var(--acid-green);
  outline-offset: 3px;
}

/* Typography Hierarchy */
h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.2rem, 5.2vw, 4.5rem);
}

h2 {
  font-size: clamp(1.8rem, 3.8vw, 3.2rem);
}

h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
}

p {
  font-size: clamp(0.95rem, 1.1vw, 1.125rem);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

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

/* Utility Layout Containers */
.container {
  width: 100%;
  max-width: var(--site-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 4vw, 2.5rem);
  padding-right: clamp(1rem, 4vw, 2.5rem);
}

/* Section Coloring & Rhythm */
.section-blue {
  background-color: var(--electric-blue);
  color: var(--pure-white);
  padding-top: clamp(3.5rem, 7vw, 6.5rem);
  padding-bottom: clamp(3.5rem, 7vw, 6.5rem);
  border-bottom: var(--border-light-subtle);
}

.section-cream {
  background-color: var(--warm-cream);
  color: var(--ink-black);
  padding-top: clamp(3.5rem, 7vw, 6.5rem);
  padding-bottom: clamp(3.5rem, 7vw, 6.5rem);
  border-bottom: var(--border-dark);
}

.section-dark {
  background-color: var(--ink-black);
  color: var(--warm-cream);
  padding-top: clamp(3.5rem, 7vw, 6.5rem);
  padding-bottom: clamp(3.5rem, 7vw, 6.5rem);
}

/* Section Header Styles */
.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
}

.section-tag-blue {
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--acid-green);
  border: var(--border-acid);
}

.section-tag-cream {
  background-color: var(--ink-black);
  color: var(--acid-green);
  border: var(--border-dark);
}

.section-title {
  margin-bottom: 2.5rem;
  max-width: 980px;
}

/* 3. Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--electric-blue);
  border-bottom: var(--border-light-subtle);
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: background-color var(--transition-fast);
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-badge {
  background-color: var(--pure-white);
  color: var(--ink-black);
  padding: 0.4rem 0.75rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  border: var(--border-dark);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
}

.logo-badge span {
  color: var(--electric-blue);
  margin-left: 0.2rem;
}

.logo-subtag {
  color: var(--acid-green);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-left: 2px solid var(--acid-green);
  padding-left: 0.6rem;
  display: none;
}

@media (min-width: 640px) {
  .logo-subtag {
    display: inline-block;
  }
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
  }
}

.nav-link {
  color: var(--pure-white);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.5rem 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--acid-green);
  transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link:focus::after {
  width: 100%;
}

/* Button Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 0.95rem 1.85rem;
  border-radius: var(--radius-sm);
  border: var(--border-dark);
  cursor: pointer;
  transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
  text-align: center;
  white-space: nowrap;
}

.btn-acid {
  background-color: var(--acid-green);
  color: var(--ink-black);
  box-shadow: 3px 3px 0px var(--ink-black);
}

.btn-acid:hover,
.btn-acid:focus-visible {
  background-color: var(--acid-green-hover);
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px var(--ink-black);
}

.btn-acid:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0px var(--ink-black);
}

.btn-outline {
  background-color: transparent;
  color: var(--pure-white);
  border: 2px solid var(--acid-green);
}

.btn-outline:hover {
  background-color: rgba(93, 254, 147, 0.12);
  color: var(--acid-green);
}

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--acid-green);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 10px;
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--acid-green);
  transition: transform var(--transition-fast);
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  background-color: var(--ink-black);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  overflow-y: auto;
}

.mobile-nav-drawer.is-open {
  transform: translateX(0);
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.mobile-nav-link {
  color: var(--pure-white);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
}

/* 4. Section 1: HERO */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
  }
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  color: var(--warm-cream);
  margin-top: 1.25rem;
  margin-bottom: 2rem;
  max-width: 680px;
}

.mobile-break {
  display: none;
}

.hero-tags-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.pill-tag {
  font-family: var(--font-display);
  font-size: 0.78125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
}

.pill-tag-blue {
  background-color: var(--ink-black);
  color: var(--acid-green);
  border: 1px solid var(--acid-green);
}

.pill-tag-cream {
  background-color: var(--pure-white);
  color: var(--ink-black);
  border: var(--border-dark);
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-cta-group {
    flex-direction: row;
    align-items: center;
  }
}

.hero-subnote {
  font-size: 0.85rem;
  color: var(--acid-green);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-image-container {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-expert-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background-color: var(--warm-cream);
  border: var(--border-dark);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: 8px 8px 0px var(--ink-black);
}

.hero-expert-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  border: var(--border-dark);
  object-fit: cover;
}

.hero-expert-overlay {
  margin-top: 1rem;
  background-color: var(--ink-black);
  color: var(--pure-white);
  padding: 1rem;
  border-radius: var(--radius-sm);
}

.hero-expert-name {
  color: var(--acid-green);
  font-size: 1.1rem;
}

.hero-expert-title {
  font-size: 0.8125rem;
  color: var(--warm-cream);
  margin-top: 0.2rem;
}

/* 5. Section 2: TARGET AUDIENCE (Cream) */
.grid-2x2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .grid-2x2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card-editorial {
  background-color: var(--pure-white);
  border: var(--border-dark);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: 5px 5px 0px var(--ink-black);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.card-editorial:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0px var(--ink-black);
}

.card-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--electric-blue);
  margin-bottom: 0.75rem;
}

.card-title {
  margin-bottom: 0.75rem;
  color: var(--ink-black);
}

/* 6. Section 3: DIAGNOSTICS (Blue) */
.grid-3col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .grid-3col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3col {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card-diagnostic {
  background-color: var(--ink-black);
  border: var(--border-acid);
  border-radius: var(--radius-md);
  padding: 2rem;
  color: var(--pure-white);
  box-shadow: 4px 4px 0px var(--acid-green);
}

.card-diagnostic-icon {
  display: inline-block;
  background-color: var(--acid-green);
  color: var(--ink-black);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.85rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
}

.card-diagnostic-title {
  color: var(--acid-green);
  margin-bottom: 0.75rem;
}

/* 7. Section 4: AUDIT SCOPE (Cream) */
.audit-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.audit-item-card {
  background-color: var(--pure-white);
  border: var(--border-dark);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: 5px 5px 0px var(--ink-black);
}

.audit-item-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(3, 2, 32, 0.1);
}

.audit-badge {
  background-color: var(--electric-blue);
  color: var(--pure-white);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
}

.audit-bullets {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .audit-bullets {
    grid-template-columns: repeat(2, 1fr);
  }
}

.audit-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
}

.audit-bullet-item::before {
  content: '✓';
  color: var(--electric-blue);
  font-weight: 900;
}

/* 8. Section 5: DELIVERABLES (Blue) */
.deliverables-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .deliverables-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.deliverable-card {
  background-color: var(--warm-cream);
  color: var(--ink-black);
  border: var(--border-dark);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: 6px 6px 0px var(--ink-black);
}

.deliverable-title {
  color: var(--electric-blue);
  margin-bottom: 0.75rem;
}

/* 9. Section 6: PROCESS (Cream) */
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-card {
  background-color: var(--pure-white);
  border: var(--border-dark);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  position: relative;
  box-shadow: 4px 4px 0px var(--ink-black);
}

.process-step-num {
  display: inline-block;
  background-color: var(--electric-blue);
  color: var(--acid-green);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 900;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

/* 10. Section 7: SERVICES (Blue) */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-card {
  background-color: var(--ink-black);
  border: var(--border-acid);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: 6px 6px 0px var(--acid-green);
}

.service-title {
  color: var(--acid-green);
  margin-bottom: 1rem;
}

/* 11. Section 8: TEAM (Cream) */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.team-card {
  background-color: var(--pure-white);
  border: var(--border-dark);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: 6px 6px 0px var(--ink-black);
  display: flex;
  flex-direction: column;
}

.team-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: var(--border-dark);
  margin-bottom: 1.25rem;
}

.team-role {
  color: var(--electric-blue);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.team-name {
  margin-bottom: 0.75rem;
  color: var(--ink-black);
}

/* 12. Section 9: PROOF & METHODOLOGY (Blue) */
.principles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .principles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.principle-card {
  background-color: var(--warm-cream);
  color: var(--ink-black);
  border: var(--border-dark);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: 5px 5px 0px var(--ink-black);
}

.principle-title {
  color: var(--electric-blue);
  margin-bottom: 0.75rem;
}

/* 13. Section 10: FAQ (Cream) */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  background-color: var(--pure-white);
  border: var(--border-dark);
  border-radius: var(--radius-md);
  box-shadow: 4px 4px 0px var(--ink-black);
  overflow: hidden;
}

.faq-button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ink-black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--electric-blue);
  transition: transform var(--transition-fast);
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal), padding var(--transition-normal);
  padding: 0 1.5rem;
}

.faq-item.is-open .faq-content {
  max-height: 400px;
  padding: 0 1.5rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(3, 2, 32, 0.1);
}

/* 14. Section 11: LEAD CAPTURE FORM (Blue) */
.form-container-card {
  background-color: var(--warm-cream);
  color: var(--ink-black);
  border: var(--border-dark);
  border-radius: var(--radius-md);
  padding: clamp(1.75rem, 4vw, 3.5rem);
  box-shadow: 8px 8px 0px var(--ink-black);
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ink-black);
}

.form-input,
.form-select {
  width: 100%;
  padding: 1rem 1.25rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink-black);
  background-color: var(--pure-white);
  border: var(--border-dark);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--electric-blue);
  box-shadow: 0 0 0 3px rgba(1, 0, 244, 0.2);
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  cursor: pointer;
}

.form-checkbox {
  width: 20px;
  height: 20px;
  accent-color: var(--electric-blue);
  margin-top: 2px;
}

.form-success-box {
  display: none;
  background-color: var(--acid-green);
  color: var(--ink-black);
  border: var(--border-dark);
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
}

/* 15. Section 12: FOOTER (Dark) */
.footer-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .footer-wrapper {
    grid-template-columns: 1.2fr 0.8fr 1fr;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-legal-text {
  font-size: 0.85rem;
  color: rgba(239, 239, 230, 0.7);
  line-height: 1.6;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: var(--warm-cream);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--acid-green);
}

.footer-bottom {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(239, 239, 230, 0.15);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: rgba(239, 239, 230, 0.6);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
  }
}

/* Reduced Motion Override */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Premium system v4: authoritative component layer
   ========================================================================== */

:root {
  --premium-paper: #f4f4f1;
  --premium-paper-2: #ecece7;
  --premium-ink: #15161a;
  --premium-muted: #666970;
  --premium-blue: #183be8;
  --premium-blue-dark: #102ab4;
  --premium-coral: #ff5f49;
  --premium-lime: #b8f34a;
  --premium-violet: #7658d9;
  --premium-line: rgba(21, 22, 26, 0.18);
  --premium-line-light: rgba(255, 255, 255, 0.24);
  --premium-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

body {
  background: var(--premium-paper);
}

body .section-blue:not(.hero-section):nth-of-type(n),
body .section-cream:nth-of-type(n) {
  position: relative;
  isolation: isolate;
  padding-top: 120px;
  padding-bottom: 120px;
}

body #diagnostics,
body #services {
  background: var(--premium-ink) !important;
  color: #fff;
}

body #deliverables {
  background: var(--premium-coral) !important;
  color: var(--premium-ink);
}

body #methodology {
  background: var(--premium-lime) !important;
  color: var(--premium-ink);
}

body #audit-form {
  background: var(--premium-blue) !important;
  color: #fff;
}

body #scope,
body #process,
body #team,
body #faq {
  background: var(--premium-paper) !important;
  color: var(--premium-ink);
}

body #diagnostics p,
body #services p {
  color: rgba(255, 255, 255, 0.68);
}

body #deliverables p,
body #methodology p {
  color: rgba(21, 22, 26, 0.72);
}

body #diagnostics h2,
body #services h2,
body #diagnostics h3,
body #services h3 {
  color: #fff;
}

body #deliverables h2,
body #deliverables h3,
body #methodology h2,
body #methodology h3 {
  color: var(--premium-ink);
}

.section-title {
  max-width: 980px;
  margin-bottom: 4.5rem;
  font-size: 3.75rem;
  line-height: 1.02;
  text-wrap: balance;
}

.section-tag {
  margin-bottom: 1.5rem;
  padding: 0;
  border: 0 !important;
  background: transparent !important;
  color: currentColor !important;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  opacity: 0.68;
}

.section-tag::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 1px;
  margin-right: 0.7rem;
  vertical-align: middle;
  background: currentColor;
}

/* Diagnostics */
#diagnostics .grid-3col {
  counter-reset: diagnostic;
  gap: 0;
  border-top: 1px solid var(--premium-line-light);
  border-left: 1px solid var(--premium-line-light);
}

#diagnostics .card-diagnostic {
  counter-increment: diagnostic;
  min-height: 360px;
  padding: 2rem;
  border: 0;
  border-right: 1px solid var(--premium-line-light);
  border-bottom: 1px solid var(--premium-line-light);
  background: transparent;
  transition: background-color 220ms var(--premium-ease), color 220ms var(--premium-ease);
}

#diagnostics .card-diagnostic::before {
  content: "0" counter(diagnostic);
  display: block;
  margin-bottom: 6rem;
  color: var(--premium-coral);
  font-family: var(--qm-display);
  font-size: 0.8rem;
}

#diagnostics .card-diagnostic-icon {
  display: none;
}

#diagnostics .card-diagnostic-title {
  max-width: 290px;
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-size: 1.35rem;
  line-height: 1.2;
}

#diagnostics .card-diagnostic p {
  max-width: 340px;
  font-size: 0.92rem;
}

#diagnostics .card-diagnostic:hover {
  background: var(--premium-blue);
  color: #fff;
  transform: none;
}

#diagnostics .card-diagnostic:hover h3,
#diagnostics .card-diagnostic:hover p {
  color: #fff;
}

/* Audit scope */
#scope .audit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

#scope .audit-item-card {
  min-height: 430px;
  padding: 2.2rem;
  border: 1px solid var(--premium-line);
  background: rgba(255, 255, 255, 0.55);
  transition: background-color 200ms ease, border-color 200ms ease, transform 200ms var(--premium-ease);
}

#scope .audit-item-card:hover {
  border-color: var(--premium-ink);
  background: #fff;
  box-shadow: none;
  transform: translateY(-4px);
}

#scope .audit-item-header {
  min-height: 92px;
  align-items: flex-start;
  border-bottom-color: var(--premium-line);
}

#scope .audit-item-header h3 {
  max-width: 390px;
  font-family: var(--font-body);
  font-size: 1.25rem;
  line-height: 1.25;
}

#scope .audit-badge {
  padding: 0.4rem 0.55rem;
  background: var(--premium-lime);
  color: var(--premium-ink);
  font-size: 0.64rem;
}

#scope .audit-bullet-item {
  padding-top: 0.65rem;
  border-top: 1px solid rgba(21, 22, 26, 0.08);
}

#scope .audit-bullet-item::before {
  color: var(--premium-coral);
}

/* Deliverables */
#deliverables .deliverables-grid {
  counter-reset: deliverable;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--premium-ink);
  border-left: 1px solid var(--premium-ink);
}

#deliverables .deliverable-card {
  counter-increment: deliverable;
  min-height: 390px;
  padding: 1.8rem;
  border: 0;
  border-right: 1px solid var(--premium-ink);
  border-bottom: 1px solid var(--premium-ink);
  background: transparent;
  box-shadow: none;
}

#deliverables .deliverable-card::before {
  content: "0" counter(deliverable);
  display: block;
  margin-bottom: 9rem;
  font-family: var(--qm-display);
  font-size: 0.75rem;
}

#deliverables .deliverable-card:nth-child(even) {
  background: rgba(255, 255, 255, 0.18);
}

#deliverables .deliverable-title {
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.25;
  color: var(--premium-ink) !important;
}

#deliverables .deliverable-card p {
  font-size: 0.88rem;
}

/* Process */
#process .process-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--premium-ink);
}

#process .process-card {
  min-height: 330px;
  padding: 1.8rem 1.5rem 1.8rem 0;
  border: 0;
  border-right: 1px solid var(--premium-line);
  background: transparent;
}

#process .process-card + .process-card {
  padding-left: 1.5rem;
}

#process .process-card:last-child {
  border-right: 0;
}

#process .process-card:hover {
  box-shadow: none;
  transform: none;
}

#process .process-step-num {
  margin-bottom: 6rem;
  padding: 0;
  background: transparent;
  color: var(--premium-blue);
  font-size: 0.68rem;
}

#process .process-card h3 {
  min-height: 62px;
  font-family: var(--font-body);
  font-size: 1.08rem;
  line-height: 1.25;
}

#process .process-card p {
  font-size: 0.86rem;
}

/* Services */
#services .services-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

#services .service-card {
  min-height: 310px;
  padding: 2.4rem;
  border: 1px solid var(--premium-line-light);
  background: rgba(255, 255, 255, 0.02);
}

#services .service-card:nth-child(1):hover { background: var(--premium-blue); }
#services .service-card:nth-child(2):hover { background: var(--premium-violet); }
#services .service-card:nth-child(3):hover { background: #256f4a; }
#services .service-card:nth-child(4):hover { background: #a33b2e; }

#services .service-card:hover {
  color: #fff;
  transform: translateY(-4px);
}

#services .service-title {
  max-width: 470px;
  margin-bottom: 5rem;
  font-family: var(--qm-display);
  font-size: 1.45rem;
  line-height: 1.15;
}

/* Team */
#team .team-grid {
  gap: 18px;
}

#team .team-card {
  padding: 10px 10px 1.8rem;
  border: 1px solid var(--premium-line);
  background: rgba(255, 255, 255, 0.5);
  transition: background-color 200ms ease, transform 200ms var(--premium-ease);
}

#team .team-card:hover {
  background: #fff;
  box-shadow: none;
  transform: translateY(-4px);
}

#team .team-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 1.5rem;
  background: var(--premium-ink);
}

#team .team-role,
#team .team-name,
#team .team-card p {
  margin-left: 0.9rem;
  margin-right: 0.9rem;
}

#team .team-role {
  color: var(--premium-blue);
  font-size: 0.64rem;
}

#team .team-name {
  font-family: var(--font-body);
  font-size: 1.1rem;
}

#team .team-card p {
  font-size: 0.84rem;
}

/* Principles */
#methodology .principles-grid {
  gap: 0;
  border-top: 1px solid var(--premium-ink);
  border-left: 1px solid var(--premium-ink);
}

#methodology .principle-card {
  min-height: 280px;
  padding: 2.2rem;
  border: 0;
  border-right: 1px solid var(--premium-ink);
  border-bottom: 1px solid var(--premium-ink);
  background: transparent;
}

#methodology .principle-title {
  max-width: 390px;
  margin-bottom: 4rem;
  font-family: var(--font-body);
  font-size: 1.25rem;
  color: var(--premium-ink) !important;
}

#methodology .principle-card p {
  max-width: 500px;
  font-size: 0.9rem;
}

/* FAQ */
#faq .container {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(520px, 1.28fr);
  column-gap: 7rem;
}

#faq .section-tag,
#faq .section-title {
  grid-column: 1;
}

#faq .section-title {
  position: sticky;
  top: 120px;
  margin-bottom: 0;
  font-size: 3.25rem;
}

#faq .faq-accordion {
  grid-column: 2;
  grid-row: 1 / span 3;
  max-width: none;
  gap: 0;
  border-top: 1px solid var(--premium-ink);
}

#faq .faq-item {
  border: 0;
  border-bottom: 1px solid var(--premium-line);
  background: transparent;
  box-shadow: none;
}

#faq .faq-button {
  min-height: 92px;
  gap: 2rem;
  padding: 1.4rem 0;
  font-family: var(--font-body);
  font-size: 1rem;
  text-transform: none;
}

#faq .faq-button:hover {
  color: var(--premium-blue);
}

#faq .faq-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid var(--premium-ink);
  border-radius: 50%;
  font-family: var(--font-body);
  font-size: 1rem;
}

#faq .faq-content {
  padding: 0;
}

#faq .faq-item.is-open .faq-content {
  padding: 0 68px 1.8rem 0;
}

#faq .faq-content p {
  font-size: 0.92rem;
}

/* Conversion form */
#audit-form .form-container-card {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(480px, 1.2fr);
  column-gap: 7rem;
  align-items: start;
  max-width: none;
  padding: 4.5rem;
  border: 0;
  background: var(--premium-paper);
}

#audit-form .form-container-card > .section-tag,
#audit-form .form-container-card > h2,
#audit-form .form-container-card > p,
#audit-form .form-trust-list {
  grid-column: 1;
}

#audit-form .form-container-card > h2 {
  max-width: 620px;
  font-size: 3.25rem;
  line-height: 1.04;
}

#audit-form .form-container-card > p {
  max-width: 510px;
  font-size: 0.96rem;
}

.form-trust-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 3rem;
  list-style: none;
}

.form-trust-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--premium-line);
  color: var(--premium-ink);
  font-size: 0.82rem;
}

.form-trust-list li::before {
  content: "✓";
  color: var(--premium-blue);
  font-weight: 900;
}

#audit-form .lead-form,
#audit-form .form-success-box,
#audit-form .form-error-box {
  grid-column: 2;
  grid-row: 1 / span 5;
}

#audit-form .lead-form {
  gap: 1.05rem;
  padding: 2rem;
  border: 1px solid var(--premium-line);
  background: #fff;
}

#audit-form .form-group {
  gap: 0.45rem;
}

#audit-form .form-label {
  font-size: 0.68rem;
  letter-spacing: 0.05em;
}

#audit-form .form-input,
#audit-form .form-select {
  min-height: 56px;
  border: 1px solid rgba(21, 22, 26, 0.2);
  background: #fff;
  font-size: 0.94rem;
}

#audit-form .form-input:hover,
#audit-form .form-select:hover {
  border-color: rgba(21, 22, 26, 0.48);
}

#audit-form .form-input:focus,
#audit-form .form-select:focus {
  border-color: var(--premium-blue);
  box-shadow: 0 0 0 3px rgba(24, 59, 232, 0.12);
}

#audit-form .form-input.is-invalid,
#audit-form .form-select.is-invalid {
  border-color: #c9362b;
  box-shadow: 0 0 0 3px rgba(201, 54, 43, 0.1);
}

#audit-form .form-checkbox-label {
  align-items: flex-start;
  font-size: 0.72rem;
}

#audit-form .form-checkbox {
  flex: 0 0 auto;
}

#audit-form .lead-form .btn {
  justify-content: space-between;
  min-height: 60px;
  background: var(--premium-ink);
}

#audit-form .lead-form .btn:hover {
  background: var(--premium-blue);
}

.form-error-box {
  display: none;
  align-self: start;
  padding: 1rem 1.1rem;
  border: 1px solid #b72e23;
  background: #fff0ed;
  color: #8f241c;
  font-size: 0.84rem;
}

.form-error-box.is-visible {
  display: block;
}

#audit-form .form-success-box {
  align-self: start;
  padding: 2rem;
  border: 1px solid #6b9822;
  background: #eaf8ca;
  color: var(--premium-ink);
  font-family: var(--font-body);
  font-size: 1rem;
}

/* Footer */
.section-dark {
  padding-top: 90px;
  padding-bottom: 38px;
  background: var(--premium-ink);
}

.footer-statement {
  padding-bottom: 4.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-family: var(--qm-display);
  font-size: 5rem;
  font-weight: 900;
  line-height: 0.98;
}

.footer-statement span {
  color: var(--premium-lime);
}

.footer-wrapper {
  padding-top: 4rem;
}

.footer-wrapper h4 {
  color: #fff !important;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.footer-link:hover {
  color: var(--premium-lime);
}

@media (max-width: 1100px) {
  .section-title { font-size: 3rem; }
  #deliverables .deliverables-grid { grid-template-columns: repeat(2, 1fr); }
  #services .service-title { font-size: 1.2rem; }
  #faq .container { column-gap: 3rem; }
  #audit-form .form-container-card { column-gap: 3rem; padding: 3.2rem; }
}

@media (max-width: 820px) {
  body .section-blue:not(.hero-section):nth-of-type(n),
  body .section-cream:nth-of-type(n) {
    padding-top: 84px;
    padding-bottom: 84px;
  }

  .section-title {
    margin-bottom: 3rem;
    font-size: 2.4rem;
  }

  #diagnostics .grid-3col,
  #scope .audit-list,
  #deliverables .deliverables-grid,
  #process .process-steps,
  #services .services-grid,
  #methodology .principles-grid {
    grid-template-columns: 1fr;
  }

  #diagnostics .card-diagnostic,
  #deliverables .deliverable-card,
  #process .process-card,
  #services .service-card,
  #methodology .principle-card {
    min-height: auto;
  }

  #diagnostics .card-diagnostic::before,
  #deliverables .deliverable-card::before,
  #process .process-step-num,
  #services .service-title,
  #methodology .principle-title {
    margin-bottom: 2.5rem;
  }

  #process .process-card,
  #process .process-card + .process-card {
    padding: 1.6rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--premium-line);
  }

  #faq .container,
  #audit-form .form-container-card {
    display: block;
  }

  #faq .section-title {
    position: static;
    margin-bottom: 3rem;
    font-size: 2.4rem;
  }

  #audit-form .form-container-card {
    padding: 2rem;
  }

  #audit-form .form-container-card > h2 {
    font-size: 2.4rem;
  }

  #audit-form .lead-form {
    margin-top: 2.5rem;
  }

  .footer-statement {
    font-size: 3.5rem;
  }
}

@media (max-width: 560px) {
  body .section-blue:not(.hero-section):nth-of-type(n),
  body .section-cream:nth-of-type(n) {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .section-title,
  #faq .section-title,
  #audit-form .form-container-card > h2 {
    font-size: 2rem;
    line-height: 1.08;
  }

  #diagnostics .card-diagnostic,
  #scope .audit-item-card,
  #deliverables .deliverable-card,
  #services .service-card,
  #methodology .principle-card {
    padding: 1.35rem;
  }

  #scope .audit-item-card {
    min-height: auto;
  }

  #scope .audit-item-header {
    min-height: 0;
  }

  #scope .audit-bullets {
    grid-template-columns: 1fr;
  }

  #faq .faq-button {
    min-height: 78px;
    font-size: 0.9rem;
  }

  #audit-form .form-container-card {
    margin-left: -18px;
    margin-right: -18px;
    padding: 1.5rem 18px;
  }

  #audit-form .lead-form {
    padding: 1.2rem;
  }

  .footer-statement {
    font-size: 2.65rem;
  }

  .footer-wrapper {
    gap: 2.5rem;
  }
}

/* ==========================================================================
   Gads-inspired refresh: light SaaS landing with original QMALL characters
   ========================================================================== */

:root {
  --page-bg: #f4f4f5;
  --surface: #ffffff;
  --surface-soft: #f8f8fb;
  --text-main: #24252b;
  --text-muted: #666a73;
  --line-soft: #e4e5ea;
  --purple: #7d4dff;
  --purple-soft: #eee7ff;
  --orange: #ff5a1f;
  --blue-soft: #eef5ff;
  --green-soft: #e8f7e8;
  --shadow-soft: 0 24px 80px rgba(38, 38, 50, 0.12);
}

html {
  background-color: var(--page-bg);
}

body {
  background: var(--page-bg);
  color: var(--text-main);
}

h1,
h2,
h3,
h4,
.font-display {
  letter-spacing: 0;
  text-transform: none;
}

h1 {
  font-size: clamp(3.1rem, 5.9vw, 6.25rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: var(--text-main);
}

h2 {
  font-size: clamp(2.2rem, 4.5vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

h3 {
  font-size: clamp(1.25rem, 1.75vw, 1.65rem);
  letter-spacing: -0.025em;
}

p {
  color: var(--text-muted);
}

.section-blue,
.section-cream,
.section-dark {
  background: var(--page-bg);
  color: var(--text-main);
  border-bottom: 1px solid var(--line-soft);
}

.section-blue:not(.hero-section):nth-of-type(odd) {
  background: #ffffff;
}

.section-dark {
  background: #24252b;
  color: #fff;
}

.site-header {
  background: rgba(244, 244, 245, 0.9);
  border-bottom: 1px solid rgba(228, 229, 234, 0.84);
  backdrop-filter: blur(18px);
}

.logo-badge {
  gap: 0.35rem;
  background: transparent;
  color: var(--text-main);
  border: 0;
  padding: 0;
  font-size: 1.45rem;
  box-shadow: none;
}

.logo-badge::before {
  content: "";
  width: 29px;
  height: 29px;
  border-radius: 7px;
  background:
    linear-gradient(135deg, #7d4dff 0 48%, transparent 48%),
    linear-gradient(45deg, #1fd36b 0 47%, transparent 47%),
    linear-gradient(225deg, #ff5a1f 0 48%, #24252b 48%);
  display: inline-block;
}

.logo-badge span {
  color: var(--text-main);
}

.logo-subtag {
  color: var(--purple);
  border-left-color: var(--purple);
}

.nav-link {
  color: var(--text-main);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

.nav-link::after {
  background-color: var(--purple);
}

.btn {
  border: 0;
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  padding: 0.9rem 1.2rem;
  box-shadow: none;
}

.btn-acid {
  background: #2d3038;
  color: #fff;
  box-shadow: none;
}

.btn-acid:hover,
.btn-acid:focus-visible {
  background: #11131a;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(17, 19, 26, 0.16);
}

.mobile-menu-btn {
  border-color: var(--line-soft);
  background: #fff;
}

.mobile-menu-btn span {
  background: var(--text-main);
}

.hero-section {
  display: flex;
  align-items: flex-start;
  padding-top: clamp(4.5rem, 7vw, 7rem);
  padding-bottom: clamp(4.5rem, 7vw, 7rem);
  overflow: hidden;
}

.hero-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(560px, 1.1fr);
  gap: clamp(2.5rem, 6vw, 7rem);
}

.hero-grid > * {
  min-width: 0;
}

.section-tag {
  border: 0;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.section-tag-blue,
.section-tag-cream {
  background: var(--purple-soft);
  color: var(--purple);
}

.hero-subtitle {
  max-width: 620px;
  color: var(--text-muted);
  margin-top: 1.5rem;
  margin-bottom: 1.6rem;
}

.hero-tags-wrapper {
  margin-bottom: 1.75rem;
}

.pill-tag {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0;
  text-transform: none;
  border-radius: 9px;
  padding: 0.72rem 0.9rem;
}

.pill-tag-blue {
  background: #fff;
  border: 1px solid var(--line-soft);
  color: var(--text-main);
  box-shadow: 0 8px 20px rgba(38, 38, 50, 0.05);
}

.pill-tag-blue::before {
  content: "⌁";
  color: var(--orange);
  margin-right: 0.45rem;
  font-weight: 900;
}

.hero-cta-group {
  gap: 1.25rem;
}

.hero-subnote {
  color: #8a8e98;
  font-size: 0.92rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

.hero-image-container {
  justify-content: flex-start;
  min-width: 0;
}

.hero-dashboard {
  width: min(860px, 63vw);
  min-height: 548px;
  background: #fff;
  border: 1px solid #dcdfe6;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  position: relative;
}

.hero-dashboard::before {
  content: "";
  position: absolute;
  inset: -170px auto auto -210px;
  width: 430px;
  height: 430px;
  background: radial-gradient(circle, rgba(125, 77, 255, 0.24), rgba(125, 77, 255, 0));
  pointer-events: none;
}

.browser-dots {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 22px;
  border-bottom: 1px solid var(--line-soft);
}

.browser-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.browser-dots span:nth-child(1) { background: #ff665c; }
.browser-dots span:nth-child(2) { background: #ffbd4a; }
.browser-dots span:nth-child(3) { background: #36c86f; }

.dashboard-toolbar {
  display: grid;
  grid-template-columns: 40px repeat(3, minmax(120px, 1fr));
  gap: 16px;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line-soft);
}

.dashboard-logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    conic-gradient(from 40deg, #7d4dff, #ff5a1f, #36c86f, #19a3ff, #7d4dff);
}

.dashboard-select {
  min-height: 42px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  font-size: 0.8rem;
  color: var(--text-main);
  background: #fff;
}

.dashboard-select.status-ok::before {
  content: "";
  width: 7px;
  height: 7px;
  display: inline-block;
  border-radius: 50%;
  background: #36c86f;
  margin-right: 0.45rem;
}

.dashboard-body {
  display: grid;
  grid-template-columns: 170px 1fr;
  min-height: 405px;
}

.dashboard-sidebar {
  padding: 22px 12px;
  border-right: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dashboard-sidebar span {
  border-radius: 8px;
  color: #555b66;
  font-size: 0.82rem;
  padding: 0.75rem 0.9rem;
}

.dashboard-sidebar .is-active {
  color: #1463ff;
  background: var(--blue-soft);
  font-weight: 700;
}

.dashboard-main {
  padding: 24px;
  overflow: hidden;
}

.dashboard-main h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.dashboard-main p {
  font-size: 0.92rem;
  margin: 0 0 0.7rem;
  font-weight: 700;
  color: var(--text-main);
}

.mini-products {
  display: grid;
  grid-template-columns: repeat(3, 210px);
  gap: 14px;
}

.mini-products-secondary {
  grid-template-columns: repeat(2, 210px);
}

.mini-product {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: #fff;
  min-height: 190px;
  padding: 12px;
  display: grid;
  grid-template-rows: 95px auto auto auto;
  box-shadow: 0 6px 16px rgba(38, 38, 50, 0.04);
}

.mini-product.small {
  min-height: 130px;
  grid-template-rows: 58px auto auto;
}

.mini-product img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  justify-self: center;
}

.mini-product strong {
  font-size: 0.78rem;
  margin-top: 0.35rem;
}

.mini-product span,
.mini-product em {
  width: fit-content;
  border-radius: 6px;
  padding: 0.35rem 0.5rem;
  font-size: 0.72rem;
  font-style: normal;
  margin-top: 0.35rem;
}

.mini-product span {
  background: #ffecec;
  color: #c53328;
}

.mini-product em {
  background: #f1edff;
  color: #6545c4;
}

.dashboard-strip {
  height: 6px;
  border-radius: 999px;
  background: #b9c0ca;
  margin: 18px 0;
}

.section-title-centered {
  max-width: 980px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.grid-2x2 {
  gap: clamp(1.5rem, 3vw, 3rem);
}

.card-editorial {
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  box-shadow: none;
  padding: clamp(1.35rem, 2.8vw, 2rem);
  overflow: hidden;
}

.card-editorial:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(38, 38, 50, 0.09);
}

.problem-character {
  width: 100%;
  height: 220px;
  object-fit: contain;
  margin-bottom: 1.2rem;
}

.card-num {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.card-title {
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.soft-list {
  list-style: none;
  display: grid;
  gap: 0.65rem;
  margin-top: 1.2rem;
}

.soft-list li {
  color: var(--text-main);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.soft-list li::before {
  content: "";
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex: 0 0 24px;
  background: var(--green-soft);
  box-shadow: inset 0 0 0 7px #d7efd3;
}

.card-diagnostic,
.service-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  color: var(--text-main);
  box-shadow: none;
}

.card-diagnostic-icon,
.process-step-num,
.audit-badge {
  background: var(--purple-soft);
  color: var(--purple);
}

.card-diagnostic-title,
.service-title,
.deliverable-title,
.principle-title,
.team-role {
  color: var(--text-main);
}

.audit-item-card,
.deliverable-card,
.process-card,
.team-card,
.principle-card,
.faq-item,
.form-container-card {
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  box-shadow: none;
  background: #fff;
}

.team-img {
  border: 0;
  border-radius: 14px;
  background: var(--surface-soft);
}

.form-input,
.form-select {
  border: 1px solid var(--line-soft);
  border-radius: 10px;
}

.form-success-box {
  background: var(--green-soft);
  border: 1px solid #bfdfbd;
  border-radius: 12px;
  text-transform: none;
}

.footer-legal-text,
.footer-link,
.footer-bottom {
  color: rgba(255, 255, 255, 0.68);
}

@media (max-width: 1120px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-dashboard {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .container {
    max-width: 100vw;
    overflow: hidden;
  }

  h1 {
    font-size: clamp(2.65rem, 11vw, 3.35rem);
    line-height: 1.02;
    letter-spacing: -0.035em;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: clamp(2.15rem, 10vw, 3.1rem);
    line-height: 1.05;
  }

  .hero-section {
    align-items: flex-start;
  }

  .hero-grid {
    display: block;
    width: 100%;
  }

  .hero-grid > div {
    width: calc(100vw - 4rem) !important;
    max-width: calc(100vw - 4rem) !important;
  }

  .hero-subtitle,
  .hero-cta-group,
  .hero-tags-wrapper {
    width: calc(100vw - 4rem) !important;
    max-width: calc(100vw - 4rem) !important;
  }

  .hero-tags-wrapper {
    display: grid;
    grid-template-columns: 1fr;
  }

  .pill-tag {
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
    white-space: normal;
  }

  .dashboard-toolbar {
    grid-template-columns: 40px 1fr;
  }

  .dashboard-select:nth-child(n+4) {
    display: none;
  }

  .dashboard-body {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    display: none;
  }

  .mini-products,
  .mini-products-secondary {
    grid-template-columns: 1fr;
  }

  .hero-dashboard {
    width: 100%;
    min-height: auto;
    max-width: 100%;
    margin-top: 2rem;
  }
}

/* ==========================================================================
   Award direction v3: editorial performance system
   ========================================================================== */

:root {
  --qm-paper: #f3f3f0;
  --qm-ink: #16171b;
  --qm-blue: #1239df;
  --qm-coral: #ff604a;
  --qm-lime: #b9ef42;
  --qm-violet: #7650d8;
  --qm-line: rgba(22, 23, 27, 0.16);
  --qm-display: 'Unbounded', 'Plus Jakarta Sans', sans-serif;
}

html,
body {
  background: var(--qm-paper);
  color: var(--qm-ink);
}

body {
  font-family: var(--font-body);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

h1,
h2,
h3,
h4,
.font-display {
  letter-spacing: 0;
}

h1,
h2 {
  font-family: var(--qm-display);
  font-weight: 900;
}

h1 {
  font-size: 5rem;
  line-height: 0.96;
}

h2 {
  font-size: 4rem;
  line-height: 1.02;
}

h3 {
  font-size: 1.4rem;
  line-height: 1.12;
}

.container {
  max-width: 1440px;
  padding-left: 40px;
  padding-right: 40px;
}

.site-header {
  height: 76px;
  background: rgba(243, 243, 240, 0.92);
  border-bottom: 1px solid var(--qm-line);
  backdrop-filter: blur(16px);
}

.logo-badge {
  font-family: var(--qm-display);
  font-size: 1rem;
}

.logo-badge::before {
  width: 32px;
  height: 32px;
  border-radius: 0;
  background: var(--qm-blue);
  box-shadow: inset -10px -10px 0 var(--qm-lime), inset 10px 10px 0 var(--qm-coral);
  transform: rotate(8deg);
}

.logo-subtag {
  color: var(--qm-blue);
  border-left-color: var(--qm-blue);
  font-size: 0.68rem;
}

.desktop-nav {
  gap: 1.35rem;
}

.nav-link {
  font-size: 0.78rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-cta {
  display: inline-flex;
  min-height: 42px;
  padding: 0.7rem 1rem;
  font-size: 0.78rem;
}

.btn {
  min-height: 52px;
  border-radius: 0;
  padding: 0.95rem 1.35rem;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.btn-acid {
  background: var(--qm-ink);
  color: #fff;
}

.btn-acid:hover,
.btn-acid:focus-visible {
  background: var(--qm-blue);
  transform: translateY(-2px);
  box-shadow: none;
}

.hero-section {
  position: relative;
  min-height: min(900px, calc(100svh - 76px));
  padding: 0;
  background: var(--qm-paper);
  border-bottom: 0;
  overflow: hidden;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(420px, 0.78fr) minmax(520px, 1.22fr);
  grid-template-rows: 1fr auto;
  align-items: center;
  gap: 0;
  min-height: min(900px, calc(100svh - 76px));
  padding-top: 72px;
  padding-bottom: 30px;
}

.hero-copy {
  position: relative;
  z-index: 4;
  max-width: 590px;
}

.hero-copy h1 span {
  display: block;
  color: var(--qm-blue);
}

.hero-copy .section-tag {
  border: 1px solid var(--qm-ink);
  background: var(--qm-lime);
  color: var(--qm-ink);
}

.hero-subtitle {
  max-width: 590px;
  margin-top: 1.6rem;
  margin-bottom: 1.5rem;
  color: #4d4f58;
  font-size: 1.08rem;
  line-height: 1.65;
}

.hero-tags-wrapper {
  gap: 0.45rem;
  margin-bottom: 1.8rem;
}

.pill-tag-blue {
  padding: 0.6rem 0.78rem;
  border: 1px solid var(--qm-line);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
  font-size: 0.76rem;
}

.pill-tag-blue::before {
  content: "+";
  color: var(--qm-coral);
}

.hero-cta-group {
  align-items: center;
}

.hero-cta-group .btn span {
  margin-left: 2rem;
  font-size: 1.15rem;
}

.hero-subnote {
  max-width: 160px;
  color: #62656e;
  font-size: 0.75rem;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-image-container {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  overflow: hidden;
  pointer-events: none;
}

.hero-mascots {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% center;
  transform: scale(1.025);
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-signal {
  position: absolute;
  z-index: 3;
  min-width: 108px;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--qm-ink);
  background: rgba(255, 255, 255, 0.94);
  color: var(--qm-ink);
  font-size: 0.7rem;
  box-shadow: 5px 5px 0 var(--qm-ink);
}

.hero-signal span,
.hero-signal strong {
  display: block;
}

.hero-signal strong {
  margin-top: 0.15rem;
  font-family: var(--qm-display);
  font-size: 1rem;
}

.signal-roas {
  top: 20%;
  right: 13%;
  background: var(--qm-lime);
  transform: rotate(3deg);
}

.signal-waste {
  right: 37%;
  bottom: 25%;
  background: var(--qm-coral);
  transform: rotate(-3deg);
}

.signal-sync {
  right: 3%;
  bottom: 18%;
  background: #fff;
  font-weight: 800;
}

.signal-sync i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 0.35rem;
  border-radius: 50%;
  background: #23b75a;
}

.hero-caption {
  position: absolute;
  right: 7%;
  top: 11%;
  color: var(--qm-ink);
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-orbit {
  position: absolute;
  right: 18px;
  top: 50%;
  z-index: 5;
  color: var(--qm-ink);
  font-size: 0.62rem;
  font-weight: 800;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
}

.hero-proof {
  position: relative;
  z-index: 4;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 150px) 1fr;
  align-items: end;
  gap: 1.3rem;
  padding-top: 26px;
  border-top: 1px solid var(--qm-line);
}

.hero-proof > div {
  display: grid;
  gap: 0.2rem;
}

.hero-proof strong {
  font-family: var(--qm-display);
  font-size: 1.25rem;
}

.hero-proof span {
  color: #63656d;
  font-size: 0.7rem;
  text-transform: uppercase;
}

.scroll-cue {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.73rem;
  font-weight: 800;
  text-transform: uppercase;
}

.scroll-cue span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--qm-ink);
  border-radius: 50%;
  color: var(--qm-ink);
  animation: qm-bounce 1.8s ease-in-out infinite;
}

@keyframes qm-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

.signal-marquee {
  overflow: hidden;
  border-top: 1px solid var(--qm-ink);
  border-bottom: 1px solid var(--qm-ink);
  background: var(--qm-coral);
}

.signal-marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 1.4rem;
  padding: 0.8rem 0;
  animation: qm-marquee 24s linear infinite;
}

.signal-marquee span {
  font-family: var(--qm-display);
  font-size: 0.82rem;
  white-space: nowrap;
}

.signal-marquee i {
  width: 9px;
  height: 9px;
  background: var(--qm-lime);
  transform: rotate(45deg);
}

@keyframes qm-marquee {
  to { transform: translateX(-50%); }
}

.section-blue,
.section-cream {
  padding-top: 112px;
  padding-bottom: 112px;
  border-bottom: 1px solid var(--qm-ink);
}

.section-cream {
  background: var(--qm-paper);
}

.section-blue:not(.hero-section) {
  background: var(--qm-blue);
  color: #fff;
}

.section-blue:not(.hero-section) p {
  color: rgba(255, 255, 255, 0.72);
}

.section-blue:not(.hero-section) .section-title,
.section-blue:not(.hero-section) h3 {
  color: #fff;
}

.section-blue:not(.hero-section) .section-tag-blue {
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  color: var(--qm-lime);
}

.section-tag {
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 0.73rem;
  text-transform: uppercase;
}

.section-tag-cream {
  background: var(--qm-ink);
  color: #fff;
}

.section-intro {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) minmax(260px, 0.45fr);
  align-items: end;
  gap: 2rem;
  margin-bottom: 4.5rem;
}

.section-index {
  align-self: start;
  font-family: var(--qm-display);
  font-size: 1.1rem;
  color: var(--qm-coral);
}

.section-intro .section-title {
  max-width: 920px;
  margin: 0;
}

.section-intro > p {
  padding-bottom: 0.4rem;
  font-size: 0.95rem;
}

.problem-grid {
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.character-card {
  position: relative;
  min-height: 590px;
  padding: 0 28px 30px;
  border: 1px solid var(--qm-ink);
  border-radius: 0;
  color: var(--qm-ink);
  box-shadow: none;
  overflow: hidden;
}

.character-card:nth-child(1),
.character-card:nth-child(4) {
  grid-column: span 7;
}

.character-card:nth-child(2),
.character-card:nth-child(3) {
  grid-column: span 5;
}

.character-card:hover {
  transform: translateY(-7px);
  box-shadow: 8px 8px 0 var(--qm-ink);
}

.card-lime { background: #d8f78c; }
.card-coral { background: #ff8c7b; }
.card-blue { background: #8db4ff; }
.card-violet { background: #b29bea; }

.problem-character {
  width: calc(100% + 56px);
  height: 270px;
  margin: 0 -28px 1.4rem;
  padding: 20px;
  object-fit: contain;
  border-bottom: 1px solid var(--qm-ink);
  background: rgba(255, 255, 255, 0.42);
}

.card-num {
  color: var(--qm-ink);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.card-title {
  max-width: 540px;
  margin-top: 0.6rem;
  color: var(--qm-ink);
}

.character-card p {
  max-width: 620px;
  color: rgba(22, 23, 27, 0.7);
  font-size: 0.92rem;
}

.soft-list {
  border-top: 1px solid rgba(22, 23, 27, 0.2);
  padding-top: 1rem;
}

.soft-list li {
  font-size: 0.82rem;
}

.soft-list li::before {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
  border: 1px solid var(--qm-ink);
  background: transparent;
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.7);
}

.card-diagnostic,
.service-card {
  min-height: 300px;
  padding: 1.7rem;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 0;
  background: transparent;
  color: #fff;
  box-shadow: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.card-diagnostic:hover,
.service-card:hover {
  background: var(--qm-lime);
  color: var(--qm-ink);
  transform: translateY(-5px);
}

.card-diagnostic:hover h3,
.card-diagnostic:hover p,
.service-card:hover h3,
.service-card:hover p {
  color: var(--qm-ink);
}

.card-diagnostic-icon,
.process-step-num,
.audit-badge {
  border-radius: 0;
  background: var(--qm-lime);
  color: var(--qm-ink);
}

.audit-item-card,
.deliverable-card,
.process-card,
.team-card,
.principle-card,
.faq-item,
.form-container-card {
  border: 1px solid var(--qm-ink);
  border-radius: 0;
  box-shadow: none;
}

.audit-item-card,
.process-card,
.team-card,
.form-container-card,
.faq-item {
  background: #fff;
}

.audit-item-card {
  padding: 2.2rem;
}

.audit-item-card:hover,
.process-card:hover,
.team-card:hover {
  box-shadow: 7px 7px 0 var(--qm-coral);
  transform: translate(-3px, -3px);
}

.deliverable-card,
.principle-card {
  background: var(--qm-paper);
}

.deliverable-title,
.principle-title {
  color: var(--qm-blue) !important;
}

.team-img {
  border-radius: 0;
  filter: grayscale(1) contrast(1.08);
}

.team-card:hover .team-img {
  filter: none;
}

.form-input,
.form-select {
  min-height: 54px;
  border-radius: 0;
  background: var(--qm-paper);
}

.section-dark {
  background: var(--qm-ink);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  h1 { font-size: 4.4rem; }
  h2 { font-size: 3.2rem; }

  .desktop-nav { display: none; }
  .mobile-menu-btn { display: flex; }

  .hero-grid {
    grid-template-columns: minmax(360px, 0.85fr) minmax(400px, 1.15fr);
  }

  .hero-image-container {
    right: -240px;
  }

  .hero-caption,
  .signal-roas {
    display: none;
  }
}

@media (max-width: 820px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  h1 { font-size: 3.45rem; }
  h2 { font-size: 2.55rem; }

  .hero-section {
    min-height: auto;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding-top: 72px;
    padding-bottom: 28px;
  }

  .hero-copy,
  .hero-grid > div,
  .hero-subtitle,
  .hero-tags-wrapper,
  .hero-cta-group {
    width: 100% !important;
    max-width: 100% !important;
  }

  .hero-image-container {
    position: relative;
    inset: auto;
    order: 2;
    width: calc(100% + 48px) !important;
    max-width: none !important;
    height: 440px;
    margin: 30px -24px 0;
  }

  .hero-mascots {
    width: 135%;
    max-width: none;
    object-position: 66% center;
    transform: none;
  }

  .signal-waste { right: 45%; bottom: 16%; }
  .signal-sync { right: 6%; bottom: 10%; }

  .hero-proof {
    order: 3;
    grid-template-columns: repeat(3, 1fr);
    width: 100% !important;
    padding-top: 22px;
  }

  .scroll-cue { display: none; }
  .hero-orbit { display: none; }

  .section-intro {
    grid-template-columns: 48px 1fr;
    align-items: start;
  }

  .section-intro > p {
    grid-column: 2;
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .character-card:nth-child(n) {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .container {
    overflow: visible;
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: 2.25rem;
    line-height: 1;
    overflow-wrap: normal;
  }

  h2 {
    font-size: 2.05rem;
    line-height: 1.07;
  }

  h3 { font-size: 1.22rem; }

  .site-header { height: 66px; }
  .logo-subtag,
  .header-cta { display: none; }

  .hero-grid { padding-top: 48px; }

  .hero-copy,
  .hero-copy h1,
  .hero-copy p,
  .hero-proof {
    width: calc(100% - 18px) !important;
    min-width: 0;
    max-width: calc(100vw - 54px) !important;
  }

  .hero-copy,
  .hero-proof {
    padding-right: 18px;
  }

  .hero-grid > .hero-copy,
  .hero-grid > .hero-proof {
    width: calc(100vw - 36px) !important;
    max-width: calc(100vw - 36px) !important;
  }

  .hero-tags-wrapper,
  .hero-cta-group {
    width: 100% !important;
    max-width: 100% !important;
  }

  .hero-copy p,
  .hero-proof span {
    overflow-wrap: anywhere;
  }

  .hero-copy .section-tag {
    margin-bottom: 1rem;
    font-size: 0.63rem;
  }

  .hero-subtitle {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .mobile-break {
    display: inline;
  }

  .hero-tags-wrapper {
    display: flex;
    flex-direction: row;
  }

  .pill-tag {
    width: auto;
    font-size: 0.67rem;
  }

  .hero-cta-group {
    align-items: stretch;
  }

  .hero-cta-group .btn { width: 100%; }
  .hero-subnote { max-width: none; }

  .hero-image-container {
    width: calc(100% + 36px) !important;
    height: 240px;
    margin-left: -18px;
    margin-right: -18px;
  }

  .hero-mascots {
    width: 100%;
    object-fit: cover;
    object-position: center;
  }

  .hero-signal {
    min-width: 88px;
    padding: 0.5rem;
    font-size: 0.6rem;
  }

  .hero-signal strong { font-size: 0.78rem; }
  .signal-waste { right: 48%; }
  .signal-sync { display: none; }

  .hero-proof {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
  }

  .hero-proof strong { font-size: 1rem; }
  .hero-proof span { font-size: 0.58rem; }

  .section-blue,
  .section-cream {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .section-intro {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2.5rem;
  }

  .section-intro > p { grid-column: auto; }
  .section-index { font-size: 0.85rem; }

  .character-card {
    min-height: 0;
    padding: 0 20px 24px;
  }

  .problem-character {
    width: calc(100% + 40px);
    height: 210px;
    margin-left: -20px;
    margin-right: -20px;
  }

  .audit-item-card,
  .deliverable-card,
  .process-card,
  .team-card,
  .principle-card,
  .form-container-card {
    padding: 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .signal-marquee-track,
  .scroll-cue span {
    animation: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Hero readability safeguard */
@media (min-width: 821px) {
  .hero-copy .hero-subtitle {
    position: relative;
    z-index: 6;
    width: 320px;
    max-width: 320px;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }
}

/* QMALL brand lockup */
.logo-badge {
  gap: 0.55rem;
  white-space: nowrap;
}

.logo-badge .logo-wordmark {
  color: var(--text-main);
  font-family: var(--qm-display);
  font-size: 1.18rem;
  font-weight: 900;
  line-height: 1;
}

.logo-badge .logo-agency {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  margin: 0;
  padding: 0.15rem 0.38rem;
  color: var(--pure-white);
  background: var(--qm-blue);
  font-family: var(--font-body);
  font-size: 0.56rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.12em;
}

.footer-logo {
  display: inline-flex;
  width: fit-content;
}

.section-dark .footer-logo .logo-wordmark {
  color: var(--pure-white);
}

.section-dark .footer-logo .logo-agency {
  color: var(--ink-black);
  background: var(--qm-lime);
}

.footer-bottom {
  align-items: flex-start;
}

.footer-disclaimer {
  max-width: 880px;
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
  font-style: italic;
  line-height: 1.65;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: column;
  }
}

/* Business transparency page */
.transparency-page {
  background: var(--qm-paper);
  color: var(--qm-ink);
}

.transparency-container {
  max-width: 1180px;
}

.transparency-hero {
  padding: 9rem 0 5rem;
  border-bottom: 1px solid var(--qm-ink);
}

.transparency-hero h1 {
  max-width: 980px;
  margin: 1.5rem 0 2rem;
  font-size: clamp(3rem, 7vw, 6.8rem);
}

.transparency-hero h1 span {
  color: var(--qm-blue);
}

.transparency-lead {
  max-width: 760px;
  color: #4d4f58;
  font-size: 1.15rem;
  line-height: 1.7;
}

.transparency-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 3rem;
  border-top: 1px solid var(--qm-ink);
  border-left: 1px solid var(--qm-ink);
}

.transparency-meta span {
  flex: 1 1 260px;
  padding: 1rem 1.2rem;
  border-right: 1px solid var(--qm-ink);
  border-bottom: 1px solid var(--qm-ink);
  font-size: 0.78rem;
}

.transparency-meta a {
  color: var(--qm-blue);
  font-weight: 800;
}

.transparency-content {
  padding: 5rem 0 7rem;
}

.transparency-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--qm-ink);
  border-left: 1px solid var(--qm-ink);
}

.transparency-item {
  min-height: 280px;
  padding: 2rem;
  border-right: 1px solid var(--qm-ink);
  border-bottom: 1px solid var(--qm-ink);
}

.transparency-index {
  display: block;
  margin-bottom: 3rem;
  color: var(--qm-blue);
  font-size: 0.72rem;
  font-weight: 900;
}

.transparency-item h2,
.transparency-process h2,
.transparency-notice h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.transparency-item p,
.transparency-notice p {
  max-width: 520px;
  color: #4d4f58;
  line-height: 1.7;
}

.transparency-process {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  padding: 7rem 0;
}

.transparency-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: transparency-step;
}

.transparency-steps li {
  counter-increment: transparency-step;
  position: relative;
  padding: 1.4rem 0 1.4rem 3.5rem;
  border-top: 1px solid var(--qm-ink);
  line-height: 1.65;
}

.transparency-steps li:last-child {
  border-bottom: 1px solid var(--qm-ink);
}

.transparency-steps li::before {
  content: "0" counter(transparency-step);
  position: absolute;
  left: 0;
  color: var(--qm-blue);
  font-size: 0.72rem;
  font-weight: 900;
}

.transparency-notice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 3rem;
  background: var(--qm-lime);
  border: 1px solid var(--qm-ink);
}

.transparency-notice p {
  align-self: end;
  color: var(--qm-ink);
}

.transparency-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 4rem;
  border-top: 1px solid var(--qm-ink);
  border-left: 1px solid var(--qm-ink);
}

.transparency-links a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem;
  border-right: 1px solid var(--qm-ink);
  border-bottom: 1px solid var(--qm-ink);
  color: var(--qm-ink);
  font-weight: 800;
}

.transparency-links a:hover {
  background: var(--qm-blue);
  color: #fff;
}

.legal-page-footer .container {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

@media (max-width: 820px) {
  .transparency-hero {
    padding: 7rem 0 3.5rem;
  }

  .transparency-grid,
  .transparency-process,
  .transparency-notice,
  .transparency-links {
    grid-template-columns: 1fr;
  }

  .transparency-process {
    gap: 2rem;
    padding: 4.5rem 0;
  }

  .transparency-notice {
    gap: 1.5rem;
    padding: 2rem;
  }
}
