/* Morphos 3D — styles.css */
/* Chunk 1: Variables + Reset + Typography */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400&family=Plus+Jakarta+Sans:wght@500;700&display=swap');

:root {
  --brand-blue: #0071BC;
  --deep-navy: #003894;
  --bright-blue: #02A8FC;
  --teal: #30C6C8;
  --signal-green: #34C76C;
  --signal-green-hover: #2db35e;
  --near-black: #0F172A;
  --dark-gray: #334155;
  --medium-gray: #64748B;
  --light-gray: #F1F5F9;
  --off-white: #F8FAFC;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
  --transition-fast: 200ms ease;
  --transition-medium: 400ms ease-out;
  --transition-slow: 600ms ease-out;
  --section-padding: 80px;
  --section-padding-mobile: 48px;
  --content-max-width: 1200px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 9999px;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--near-black);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--near-black);
}

h1 { font-size: 48px; font-weight: 700; line-height: 1.1; }
h2 { font-size: 36px; font-weight: 700; margin-bottom: 20px; }
h3 { font-size: 24px; font-weight: 500; line-height: 1.3; margin-bottom: 12px; }

p { margin-bottom: 16px; color: var(--dark-gray); }

a { color: var(--brand-blue); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--bright-blue); }

img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--brand-blue);
  margin-bottom: 12px;
}

/* Chunk 2: Header + Footer */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background var(--transition-fast), box-shadow var(--transition-fast);
}

.header--transparent {
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.header--transparent .nav__link { color: var(--near-black); }
.header--transparent .nav__link:hover { color: var(--brand-blue); }

.header--solid,
.header--scrolled {
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.header--solid .nav__link,
.header--scrolled .nav__link { color: var(--near-black); }

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo img { height: 64px; width: auto; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav__link {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.nav__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__hamburger img { width: 28px; height: 28px; }

.nav__drawer {
  display: none;
  position: fixed;
  top: 0; right: -300px;
  width: 300px; height: 100vh;
  background: var(--white);
  box-shadow: -4px 0 20px rgba(0,0,0,0.15);
  z-index: 200;
  padding: 24px;
  transition: right var(--transition-medium);
  flex-direction: column;
}
.nav__drawer.open { right: 0; display: flex; }
.nav__drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--light-gray);
}
.nav__drawer-header img { height: 48px; }
.nav__drawer-close {
  background: none; border: none;
  cursor: pointer; padding: 4px;
}
.nav__drawer-close img { width: 24px; height: 24px; }
.nav__drawer-link {
  display: block;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 500;
  color: var(--near-black);
  padding: 12px 0;
  text-decoration: none;
}
.nav__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 150;
}
.nav__overlay.open { display: block; }

/* Footer */
.footer {
  background: var(--deep-navy);
  color: var(--white);
  padding: 64px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer__col-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer__brand-logo img { height: 64px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer__brand-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
}
.footer__sw-logo img { height: 100px; width: auto; border-radius: 8px; }
.footer__link {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  padding: 4px 0;
  text-decoration: none;
  transition: color var(--transition-fast);
}
.footer__link:hover { color: var(--white); }
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
}
.footer__contact-item img { width: 18px; height: 18px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer__social { display: flex; gap: 16px; }
.footer__social a { opacity: 0.9; transition: opacity var(--transition-fast); }
.footer__social a:hover { opacity: 1; }
.footer__social img { width: 28px; height: 28px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 20px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  justify-content: flex-start;
}
.footer__bottom-logo { flex-shrink: 0; display: flex; align-items: center; }
.footer__bottom-logo img {
  height: 32px;
  filter: brightness(0) invert(1);
}

/* Chunk 3: Buttons + Cards */

.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 500;
  padding: 12px 32px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: transform var(--transition-fast), background var(--transition-fast);
}
.btn:hover { transform: scale(1.02); }

.btn--primary {
  background: var(--signal-green);
  color: var(--white);
}
.btn--primary:hover { background: var(--signal-green-hover); color: var(--white); }

.btn--secondary {
  background: var(--brand-blue);
  color: var(--white);
}
.btn--secondary:hover { background: #005fa0; color: var(--white); }

.btn--tertiary {
  background: var(--deep-navy);
  color: var(--white);
}
.btn--tertiary:hover { background: #002a70; color: var(--white); }

.btn--light {
  background: var(--white);
  color: var(--brand-blue);
}
.btn--light:hover { background: var(--light-gray); color: var(--brand-blue); }

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
  cursor: pointer;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}
.card__icon img { width: 100%; height: 100%; }
.card__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}
.card__text {
  font-size: 15px;
  color: var(--dark-gray);
  margin-bottom: 16px;
}
.card__link {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  color: var(--brand-blue);
  text-decoration: none;
}
.card__link::after {
  content: '';
  position: absolute;
  inset: 0;
}
.card__link:hover { color: var(--bright-blue); }
.card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}
.card--highlight { border-left: 4px solid var(--signal-green); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cards-grid--2col { grid-template-columns: repeat(2, 1fr); }

.tier-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.tier-badge {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--light-gray);
  color: var(--dark-gray);
}

/* Chunk 4: Hero + Slider + Sections + CTA Banner */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

/* Hero Slider */
.hero-slider {
  position: relative;
  z-index: 2;
  width: 100%;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  -webkit-overflow-scrolling: touch;
}
.hero .container {
  overflow: hidden;
}
.hero-slider__track {
  display: flex;
  transition: transform 600ms cubic-bezier(0.25, 0.1, 0.25, 1);
  width: 100%;
}
.hero-slider__slide {
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
  padding: 0;
  overflow: hidden;
}
.hero-slider__dots {
  display: flex;
  gap: 10px;
  margin-top: 36px;
}
.hero-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition-fast), transform var(--transition-fast);
}
.hero-slider__dot.active {
  background: var(--signal-green);
  transform: scale(1.2);
}
.hero-slider__dot:hover { background: rgba(255,255,255,0.7); }
.hero-slider__dot.active:hover { background: var(--signal-green); }

/* Per-slide backgrounds */
.hero__bg-slide {
  position: absolute;
  inset: -20px;
  background-size: cover;
  background-position: center;
  transition: opacity 800ms ease;
  z-index: 0;
  filter: blur(6px);
}
.hero__bg-slide:not(:first-child) { opacity: 0; }

/* Promo urgency bar */
.promo-slide__urgency {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-pill);
  padding: 8px 20px;
  margin-top: 24px;
  font-size: 14px;
  color: rgba(255,255,255,0.9);
}
.promo-slide__urgency img { height: 22px; }
.promo-slide__deadline {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--signal-green);
}
.promo-slide__discount {
  font-family: var(--font-heading);
  font-size: 72px;
  font-weight: 700;
  color: var(--signal-green);
  line-height: 1;
  margin-bottom: 20px;
}
.promo-slide__discount span {
  font-size: 36px;
  vertical-align: super;
}
.hero--compact {
  min-height: auto;
  padding: 160px 0 80px;
}
.hero__bg, .hero__bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}
.hero__content h1 { color: var(--white); margin-bottom: 24px; }
.hero__content p {
  color: rgba(255,255,255,0.85);
  font-size: 18px;
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__trust {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero__trust-label {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}
.hero__trust img { height: 32px; filter: brightness(0) invert(1); }
.hero img[src*="solidworks"] { filter: brightness(0) invert(1); }

.promo-slide__label {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--signal-green);
  margin-bottom: 16px;
}
.promo-slide__title {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.15;
}
.promo-slide__text {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  line-height: 1.7;
  max-width: 480px;
}

.section {
  padding: var(--section-padding) 0;
}
.section--gray { background: var(--light-gray); }
.section--white { background: var(--white); }
.section--off-white { background: var(--off-white); }
.section__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}
.section__header h2 { margin-bottom: 16px; }
.section__header p { color: var(--medium-gray); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.two-col__image { border-radius: var(--radius-lg); overflow: hidden; }
.two-col__image img { width: 100%; }

.cta-banner {
  background: var(--deep-navy);
  padding: 80px 0;
  text-align: center;
}
.cta-banner__logo { margin: 0 auto 24px; }
.cta-banner__logo img { height: 60px; margin: 0 auto; filter: brightness(0) invert(1); }
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p {
  color: rgba(255,255,255,0.7);
  max-width: 500px;
  margin: 0 auto 32px;
}

/* Chunk 5: Quote Popup + Forms */

.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 500;
  align-items: center;
  justify-content: center;
}
.popup-overlay.open { display: flex; }

.popup {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95);
  opacity: 0;
  transition: transform 250ms ease-out, opacity 250ms ease-out;
}
.popup-overlay.open .popup {
  transform: scale(1);
  opacity: 1;
}
.popup__header {
  background: var(--brand-blue);
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.popup__header h3 {
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
}
.popup__close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.popup__close img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}
.popup__body { padding: 24px; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { display: flex; flex-direction: column; }
.form-group--full { grid-column: 1 / -1; }

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: var(--near-black);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 14px;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color var(--transition-fast);
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(0,113,188,0.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.form-consent {
  font-size: 12px;
  color: var(--medium-gray);
  margin-top: 8px;
  line-height: 1.5;
}

.contact-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 48px;
  align-items: start;
}
.contact-sidebar {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.contact-sidebar h3 { margin-bottom: 24px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}
.contact-item img { width: 20px; height: 20px; margin-top: 2px; }
.contact-item p { margin-bottom: 0; }

.prose {
  max-width: 800px;
  margin: 0 auto;
}
.prose h2 { font-size: 24px; margin: 32px 0 12px; }
.prose p { margin-bottom: 16px; }
.prose ul { margin: 0 0 16px 24px; }
.prose li { margin-bottom: 8px; color: var(--dark-gray); }

.story-block {
  max-width: 720px;
  margin: 0 auto;
}

.var-callout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 48px;
}
.var-callout__icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: var(--brand-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}
.var-callout__icon img { filter: brightness(0) invert(1); }
.var-callout__body { flex: 1; }
.var-callout__body h3 { margin-bottom: 12px; }
.var-callout__body p { margin-bottom: 12px; color: var(--dark-gray); }
.var-callout__body p:last-child { margin-bottom: 0; }
.var-callout__badge { flex-shrink: 0; }
@media (max-width: 768px) {
  .var-callout { flex-direction: column; padding: 32px 24px; gap: 24px; }
  .var-callout__badge { display: none; }
}

.pricing-note {
  background: var(--light-gray);
  border-left: 4px solid var(--brand-blue);
  padding: 20px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 32px 0;
  font-size: 15px;
  color: var(--dark-gray);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 700px;
  margin: 0 auto;
}
.team-card { text-align: center; }
.team-card__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.team-card__name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}
.team-card__role {
  font-size: 14px;
  color: var(--brand-blue);
  margin-bottom: 12px;
}
.team-card__bio { font-size: 14px; color: var(--dark-gray); }

.nav__links { display: flex; align-items: center; gap: 32px; }

/* Founder Bio — About page */
.founder-bio {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  align-items: start;
  max-width: 940px;
  margin: 0 auto;
}
.founder-bio__photo {
  position: sticky;
  top: 100px; /* stick below fixed header while scrolling */
}
.founder-bio__photo-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--deep-navy) 0%, var(--brand-blue) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  letter-spacing: 2px;
}
.founder-bio__content { padding-top: 4px; }
.founder-bio__name {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--near-black);
  margin-bottom: 4px;
}
.founder-bio__role {
  font-size: 15px;
  font-weight: 500;
  color: var(--brand-blue);
  margin-bottom: 24px;
}
.founder-bio__quote {
  border-left: 3px solid var(--signal-green);
  padding: 12px 0 12px 20px;
  margin: 0 0 24px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 500;
  font-style: italic;
  color: var(--dark-gray);
  line-height: 1.55;
}
.founder-bio__content p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--dark-gray);
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .founder-bio {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .founder-bio__photo {
    position: static;
    max-width: 200px;
    margin: 0 auto;
  }
  .founder-bio__photo-placeholder { font-size: 40px; }
  .founder-bio__content { text-align: left; }
  .founder-bio__quote { font-size: 16px; }
}

/* Chunk 6: Responsive + Utilities */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

.text-center { text-align: center; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mb-48 { margin-bottom: 48px; }

@media (max-width: 1024px) {
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .nav__links { display: none; }
  .nav__hamburger { display: block; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  h1 { font-size: 28px; }
  h2 { font-size: 24px; }
  .section { padding: var(--section-padding-mobile) 0; }
  .hero {
    min-height: auto;
    padding-top: 70px;
    padding-bottom: 24px;
  }
  .hero .container { padding-top: 16px; }
  .hero__content h1 { font-size: 28px; margin-bottom: 12px; }
  .hero__content p { font-size: 15px; margin-bottom: 20px; line-height: 1.5; }
  .hero--compact { padding: 88px 0 40px; }
  .hero__ctas { flex-direction: column; gap: 10px; }
  .hero__ctas .btn { width: 100%; padding: 12px 24px; font-size: 14px; }
  .hero__trust { flex-direction: row; align-items: center; gap: 8px; margin-top: 16px; }
  .hero__trust-label { font-size: 11px; }
  .hero__trust img { height: 24px; }
  .hero-slider__dots { margin-top: 16px; }

  .promo-slide__discount { font-size: 48px; margin-bottom: 16px; }
  .promo-slide__discount span { font-size: 24px; }
  .promo-slide__title { font-size: 24px; margin-bottom: 12px; }
  .promo-slide__text { font-size: 15px; margin-bottom: 24px; }
  .promo-slide__label { font-size: 11px; margin-bottom: 12px; }
  .promo-slide__urgency { font-size: 12px; padding: 8px 14px; margin-top: 20px; }
  .hero__content { max-width: 100%; }
  .hero img[src*="solidworks"] { height: 28px; width: auto; }

  .cards-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
  .form-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .footer__bottom-logo img { height: 24px; }
  .footer__sw-logo img { height: 80px; }
  .header__logo img { height: 44px; }
  .header { padding: 10px 0; }
}

/* =============================================================================
   Support Page
   ============================================================================= */
.support-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.support-contact h2 {
  font-size: 32px;
  margin-bottom: 16px;
}
.support-contact p {
  color: var(--dark-gray);
  line-height: 1.7;
  margin-bottom: 32px;
}
.support-contact__row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.support-contact__row img {
  opacity: 0.6;
  margin-top: 2px;
  flex-shrink: 0;
}
.support-contact__label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--medium-gray);
  margin-bottom: 4px;
}
.support-contact__value {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: var(--near-black);
  text-decoration: none;
}
a.support-contact__value:hover {
  color: var(--brand-blue);
}
.support-cta {
  margin-top: 32px;
}
.support-tips h3 {
  font-size: 22px;
  margin-bottom: 12px;
}
.support-tips > p {
  color: var(--dark-gray);
  margin-bottom: 16px;
  line-height: 1.6;
}
.support-tips__list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.support-tips__list li {
  padding: 10px 14px;
  background: var(--white);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--brand-blue);
  font-size: 15px;
  color: var(--dark-gray);
  line-height: 1.5;
}
.support-note {
  background: var(--light-gray);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  font-size: 14px;
  color: var(--dark-gray);
  line-height: 1.6;
}
.support-note a {
  color: var(--brand-blue);
}

@media (max-width: 768px) {
  .support-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Video embeds — 16:9 responsive */
.video-embed { position: relative; max-width: 800px; margin: 0 auto; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,0.10); }
.video-embed::before { content: ''; display: block; padding-top: 56.25%; }
.video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: block; }
@media (max-width: 640px) { .video-embed { border-radius: 8px; } }

/* ── YouTube video embed ─────────────────────────────── */
.product-video-section { padding: 4rem 0; }
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  max-width: 960px;
  margin: 0 auto;
}
.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* ========================================
   MOBILE OPTIMIZATIONS — Added v4
   ======================================== */
@media (max-width: 768px) {

  /* === General — prevent horizontal overflow === */
  body {
    overflow-x: hidden;
  }
  main {
    overflow-x: hidden;
  }
  img {
    max-width: 100%;
    height: auto;
  }

  /* === Navigation — hamburger touch target === */
  /* Hamburger button: pad to meet 44×44px minimum touch target */
  .nav__hamburger {
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Mobile drawer links: minimum 44px tall */
  .nav__drawer-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 12px 0;
    box-sizing: border-box;
  }

  /* Products accordion toggle inherits drawer-link sizing */
  .nav__drawer-products-toggle {
    min-height: 44px;
  }

  /* Sub-product links inside expanded drawer: ensure readable tap targets */
  .nav__drawer-product-link {
    min-height: 36px;
    display: flex;
    align-items: center;
    padding: 8px 24px 8px 32px;
  }

  /* === Hero sections === */
  /* Hero h1: already stepped down at 640px; apply intermediate step for 640–768px */
  .hero__content h1 {
    font-size: 32px;
  }

  /* Product page hero h1 uses clamp() — cap it on small screens */
  .sw-design-hero h1 {
    font-size: clamp(1.6rem, 5vw, 2.4rem);
  }

  /* Hero inner padding reduction */
  .sw-design-hero-inner {
    padding: 100px 24px 64px;
  }

  /* Hero actions: stack vertically on narrow screens */
  .sw-design-hero-actions {
    flex-direction: column;
    gap: 10px;
  }
  .sw-design-hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  /* === Card & grid layouts === */
  /* 3-col cards grid → 1 column (caught by 640px rule too, belt-and-suspenders at 768px) */
  .cards-grid {
    grid-template-columns: 1fr;
  }

  /* 2-col variant stays 1-col on mobile */
  .cards-grid--2col {
    grid-template-columns: 1fr;
  }

  /* Card padding reduction */
  .card {
    padding: 24px;
  }

  /* === Product page — pricing grid (global fallback) === */
  /* The scoped <style> on the product page handles .sw-pricing-grid at 768px/480px.
     This rule covers any global use of a 4-col pricing layout pattern. */
  .sw-pricing-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  /* === Product pages — capability blocks === */
  /* Alternating image-left/image-right → image stacks above copy on mobile.
     The scoped page <style> also handles this; these rules act as a global safety net. */
  .sw-capability-block,
  .sw-capability-block--reverse {
    grid-template-columns: 1fr;
    gap: 24px;
    direction: ltr;
  }

  /* Intro 2-col grid on product pages → single column */
  .sw-intro-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* AI pillars — 3-col inline grid collapses (targets inline style via wrapper) */
  /* These pillars use inline style="display:grid;grid-template-columns:repeat(3,1fr)"
     We cannot override inline styles from CSS without !important — apply to a
     known parent selector to make the intent explicit. */
  .sw-capability-block [style*="grid-template-columns:repeat(3,1fr)"],
  .sw-capability-block [style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
  }

  /* === FAQ accordion — touch targets === */
  /* Each question button must be at least 44px tall */
  .sw-faq-question {
    min-height: 44px;
    padding: 14px 0;
  }

  /* === YouTube video wrappers — verify 16:9 on mobile === */
  /* .video-wrapper already uses padding-bottom: 56.25% — no override needed.
     Ensure it can go full width with no side margin clipping. */
  .video-wrapper {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .video-embed {
    max-width: 100%;
  }
  .product-video-section {
    padding: 2rem 0;
  }

  /* === Licensing / tier comparison table === */
  /* Table already has .sw-tier-table-wrap with overflow-x: auto — works on mobile.
     Ensure the wrapper respects viewport edge. */
  .sw-tier-table-wrap {
    margin: 0 -8px;
    padding: 0 8px;
  }

  /* === Two-column layouts → single column === */
  /* Already handled at 1024px in main breakpoint, but reinforce for any
     two-col that loads between 768–1024px with centered content. */
  .two-col {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Contact grid → single column */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* VAR callout: already handled at 768px — reinforce padding */
  .var-callout {
    padding: 24px 16px;
  }

  /* Founder bio — already handled at 768px — reinforce photo max-width */
  .founder-bio__photo {
    max-width: 160px;
  }

  /* === CTA buttons — full width on mobile === */
  /* Global .btn elements inside CTA banners and hero areas */
  .cta-banner .btn {
    width: 100%;
    max-width: 320px;
  }

  /* CTA banner: stack multiple buttons */
  .cta-banner .container > div[style*="display:flex"],
  .cta-banner [style*="display:flex"][style*="gap"] {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  /* Reseller badge — allow wrapping on small screens */
  .sw-reseller-badge {
    flex-wrap: wrap;
    gap: 12px;
  }

  /* === Typography — minimum readable body text === */
  /* Body text must not fall below 14px on mobile */
  p {
    font-size: 15px;
  }

  /* Section labels stay readable */
  .section-label {
    font-size: 12px;
  }

  /* === Footer columns → single column === */
  /* Already handled at 640px. Reinforce at 768px for tablets in portrait. */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Footer bottom: stack brand mark and copyright text */
  .footer__bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding: 16px 0;
  }

  /* === Section padding reduction === */
  .section {
    padding: var(--section-padding-mobile) 0;
  }

  /* Container horizontal padding — reduce slightly for narrow viewports */
  .container {
    padding: 0 16px;
  }

  /* === Support layout — already at 768px, reinforce gap === */
  .support-layout {
    gap: 32px;
  }

  /* === Team grid → 1 col === */
  .team-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

} /* end @media (max-width: 768px) */


/* Mega-menu: prevent product names from wrapping */
.mega-menu__inner { grid-template-columns: repeat(5, auto) !important; }
.mega-menu__link { white-space: nowrap; }

/* ========================================
   HOMEPAGE REDESIGN — Added v4.1
   ======================================== */

/* Homepage: left-aligned section headers */
body.home .section__header {
  text-align: left;
}
body.home .section__header p {
  margin-left: 0;
  margin-right: 0;
  max-width: 600px;
}
/* Exceptions: trust strip and footer CTA stay centered */
body.home .cta-banner .section__header,
body.home .trust-strip {
  text-align: center;
}

/* 3-column card grid */
.cards-grid--3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 768px) {
  .cards-grid--3col { grid-template-columns: 1fr; }
}

/* Pillar cards — whole-card clickable links */
.card--pillar {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.card--pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* Trust strip — deep navy band */
.trust-strip {
  padding: 24px 0;
  background: var(--deep-navy);
  color: white;
}
.trust-strip__items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-strip__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.trust-strip__number {
  font-size: 28px;
  font-weight: 800;
  color: var(--signal-green);
}

/* Hero quote slide */
.hero__content--quote {
  display: flex;
  align-items: center;
}
.hero__quote-layout {
  display: flex;
  align-items: center;
  gap: 32px;
}
.hero__quote-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,0.3);
  flex-shrink: 0;
  display: block;
}
.hero__quote-text {
  font-size: 22px;
  font-style: italic;
  line-height: 1.5;
  color: white;
  margin: 0 0 16px 0;
  max-width: 520px;
}
.hero__quote-attribution {
  font-size: 16px;
  color: rgba(255,255,255,0.9);
}

/* Proof points */
.proof-points {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.proof-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  font-size: 16px;
  line-height: 1.5;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.proof-point:last-child {
  border-bottom: none;
}
.proof-point__icon {
  font-size: 20px;
  flex-shrink: 0;
  width: 32px;
  text-align: center;
}

/* Mobile adjustments for new components */
@media (max-width: 768px) {
  .hero__quote-layout { flex-direction: column; text-align: center; gap: 20px; }
  .hero__quote-photo { width: 120px; height: 120px; }
  .hero__quote-text { font-size: 18px; }
  .trust-strip__items { gap: 20px; justify-content: center; }
  .trust-strip__item { font-size: 13px; }
  .proof-point { font-size: 15px; }
}
