/* ==========================================================================
   Purplify Studio, Premium Mobile (≤768px)
   Mobile-first layout, spacing, typography & touch UX
   ========================================================================== */

:root {
  --container: min(100% - 32px, 1240px);
  --mobile-header-h: 56px;
  --mobile-safe-top: env(safe-area-inset-top, 0px);
  --mobile-safe-bottom: env(safe-area-inset-bottom, 0px);
  --mobile-safe-left: env(safe-area-inset-left, 0px);
  --mobile-safe-right: env(safe-area-inset-right, 0px);

  --m-space-2xs: 6px;
  --m-space-xs: 8px;
  --m-space-sm: 12px;
  --m-space-md: 16px;
  --m-space-lg: 24px;
  --m-space-xl: 32px;
  --m-space-2xl: 48px;
  --m-space-3xl: 64px;

  --m-radius-sm: 12px;
  --m-radius-md: 16px;
  --m-radius-lg: 20px;
  --m-radius-xl: 24px;

  --m-touch: 48px;
  --m-text-xs: 0.75rem;
  --m-text-sm: 0.875rem;
  --m-text-base: 1rem;
  --m-text-lg: 1.125rem;
  --m-text-xl: 1.5rem;
  --m-text-2xl: 1.875rem;
  --m-text-3xl: 2.125rem;

  --m-shadow-card: 0 1px 2px rgba(15, 17, 26, 0.04), 0 8px 24px rgba(15, 17, 26, 0.06);
  --m-shadow-elevated: 0 4px 6px rgba(15, 17, 26, 0.04), 0 16px 40px rgba(15, 17, 26, 0.08);
  --m-bottom-bar: calc(72px + var(--mobile-safe-bottom));
}

/*, Base & overflow, */
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--mobile-header-h) + var(--mobile-safe-top) + 12px);
}

body {
  padding-bottom: var(--m-bottom-bar);
  overflow-x: clip;
}

main,
.site-header,
.site-footer,
.container {
  max-width: 100%;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

/*, Typography scale, */
body.is-mobile .section-heading h2,
body.is-mobile .why-copy h2,
body.is-mobile .contact-copy h2,
body.is-mobile .about-copy h2 {
  font-size: var(--m-text-2xl);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

body.is-mobile .section-heading p,
body.is-mobile .why-copy p,
body.is-mobile .contact-copy p,
body.is-mobile .about-copy p {
  font-size: var(--m-text-sm);
  line-height: 1.65;
  margin-top: var(--m-space-sm);
}

body.is-mobile .eyebrow {
  font-size: var(--m-text-xs);
  padding: 5px 12px;
  margin-bottom: var(--m-space-sm);
}

/*, Sections, */
body.is-mobile .section {
  padding: var(--m-space-2xl) 0;
}

body.is-mobile .section-soft {
  background: var(--bg-soft);
}

body.is-mobile .section-heading {
  margin-bottom: var(--m-space-lg);
  text-align: left;
}

body.is-mobile .section-heading .eyebrow {
  margin-left: 0;
  margin-right: 0;
}

/*, Buttons & touch, */
body.is-mobile .button {
  min-height: var(--m-touch);
  padding-inline: 22px;
  font-size: var(--m-text-sm);
  border-radius: var(--m-radius-md);
  -webkit-tap-highlight-color: transparent;
}

body.is-mobile .button:active {
  transform: scale(0.98);
}

body.is-mobile .button-primary {
  box-shadow:
    0 2px 8px rgba(123, 47, 247, 0.25),
    0 8px 24px rgba(123, 47, 247, 0.2);
}

body.is-mobile .button-primary::before {
  animation: none;
}

body.is-mobile .button:hover {
  transform: none;
}

body.is-mobile .button-primary:active {
  transform: scale(0.98);
}

/*, Header, */
.site-header {
  top: 0;
  padding-top: var(--mobile-safe-top);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
}

.nav-shell {
  min-height: var(--mobile-header-h);
  gap: var(--m-space-sm);
  padding-block: 6px;
}

.brand {
  font-size: 0.9375rem;
  gap: var(--m-space-xs);
  min-width: 0;
  flex: 1;
}

.brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  flex-shrink: 0;
}

.menu-toggle {
  width: var(--m-touch);
  height: var(--m-touch);
  flex-shrink: 0;
  border-radius: var(--m-radius-sm);
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  box-shadow: none;
}

.menu-toggle:active {
  background: var(--surface-hover);
}

.mobile-menu-drawer .nav-customer {
  width: 100%;
  margin-top: 4px;
}

.mobile-menu-drawer .nav-customer-trigger {
  width: 100%;
  justify-content: flex-start;
  padding: 12px 14px;
  border-radius: var(--m-radius-sm, 12px);
}

.mobile-menu-drawer .nav-customer-label {
  max-width: none;
  flex: 1;
  text-align: left;
}

.mobile-menu-drawer .nav-customer-dropdown {
  position: static;
  margin-top: 8px;
  min-width: 0;
  box-shadow: none;
  background: var(--bg-elevated, rgba(255, 255, 255, 0.96));
}

.mobile-menu-drawer .nav-customer-dropdown:not([hidden]) {
  display: block;
}

/*, Mobile drawer navigation, */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}

.mobile-menu[hidden] {
  display: none !important;
}

body.menu-open .mobile-menu {
  pointer-events: auto;
}

.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(15, 17, 26, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 320ms cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
}

body.menu-open .mobile-menu-backdrop {
  opacity: 1;
}

.mobile-menu-drawer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(100%, 340px);
  max-width: calc(100vw - var(--mobile-safe-left) - var(--mobile-safe-right));
  height: 100%;
  padding:
    calc(var(--mobile-safe-top) + var(--m-space-md))
    var(--m-space-md)
    calc(var(--mobile-safe-bottom) + var(--m-space-md));
  background: #fff;
  box-shadow: -8px 0 40px rgba(15, 17, 26, 0.12);
  transform: translateX(100%);
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

body.menu-open .mobile-menu-drawer {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--m-space-sm);
  margin-bottom: var(--m-space-lg);
  padding-bottom: var(--m-space-md);
  border-bottom: 1px solid var(--line);
}

.mobile-menu-label {
  margin: 0;
  font-size: var(--m-text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.mobile-menu-close {
  display: grid;
  place-items: center;
  width: var(--m-touch);
  height: var(--m-touch);
  margin: calc((var(--m-touch) - 40px) / -2);
  border: 1px solid var(--line);
  border-radius: var(--m-radius-sm);
  background: var(--bg-elevated);
  color: var(--text-secondary);
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition);
}

.mobile-menu-close svg {
  width: 20px;
  height: 20px;
}

.mobile-menu-close:active {
  background: var(--surface-hover);
  color: var(--text);
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.mobile-menu-nav a {
  display: flex;
  align-items: center;
  min-height: var(--m-touch);
  padding: 0 var(--m-space-md);
  border-radius: var(--m-radius-sm);
  font-size: var(--m-text-base);
  font-weight: 500;
  color: var(--text);
  transition: background-color var(--transition), color var(--transition);
}

.mobile-menu-nav a:active {
  background: var(--purple-dim);
  color: var(--purple);
}

.mobile-menu-footer {
  margin-top: var(--m-space-lg);
  padding-top: var(--m-space-lg);
  border-top: 1px solid var(--line);
}

.mobile-menu-footer .button {
  width: 100%;
  justify-content: center;
}

/*, Hero, */
.hero {
  padding-top: var(--m-space-lg);
  padding-bottom: var(--m-space-2xl);
  overflow: visible;
}

.hero-layout {
  display: flex;
  flex-direction: column;
  gap: var(--m-space-xl);
}

.hero-visual {
  order: -1;
  justify-content: center;
}

.hero-content {
  max-width: none;
  text-align: left;
}

.hero-image {
  width: 100%;
  max-width: min(280px, 78vw);
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  max-width: 100%;
  margin-bottom: var(--m-space-md);
  padding: 8px 14px;
  font-size: var(--m-text-xs);
  line-height: 1.4;
  text-align: left;
}

.hero h1 {
  font-size: var(--m-text-3xl);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.hero-copy {
  margin-top: var(--m-space-md);
  max-width: none;
  font-size: var(--m-text-sm);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--m-space-sm);
  margin-top: var(--m-space-lg);
}

.hero-actions .button {
  width: 100%;
  justify-content: center;
  white-space: normal;
  text-align: center;
}

.hero-trust {
  flex-direction: column;
  align-items: stretch;
  gap: var(--m-space-xs);
  margin-top: var(--m-space-lg);
}

.hero-trust span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px var(--m-space-md);
  font-size: var(--m-text-xs);
  text-align: center;
}

/*, About, */
.about-grid {
  gap: var(--m-space-xl);
}

.about-copy {
  max-width: none;
}

.about-copy h2 {
  font-size: var(--m-text-xl);
  margin-bottom: var(--m-space-md);
}

.about-copy p {
  font-size: var(--m-text-sm);
  margin-bottom: var(--m-space-md);
}

.about-visual {
  margin-top: 0;
  padding: var(--m-space-lg);
  border-radius: var(--m-radius-xl);
}

.about-logo {
  width: 64px;
  height: 64px;
  margin-bottom: var(--m-space-md);
}

.about-brand-name {
  font-size: var(--m-text-lg);
}

.about-brand-tag {
  font-size: var(--m-text-sm);
}

.about-pillars {
  gap: var(--m-space-sm);
  margin-top: var(--m-space-lg);
}

.about-pillar {
  padding: var(--m-space-md);
  border-radius: var(--m-radius-md);
}

.about-pillar strong {
  font-size: var(--m-text-sm);
}

.about-pillar span {
  font-size: var(--m-text-xs);
}

/*, Card grids, */
.quick-grid,
.service-grid-main,
.project-grid,
.testimonial-grid,
.value-list,
.diff-grid,
.why-grid,
.contact-shell,
.footer-grid {
  grid-template-columns: 1fr;
  gap: var(--m-space-md);
}

.quick-card,
.service-card,
.value-card,
.diff-card,
.project-card,
.testimonial-card {
  padding: var(--m-space-lg) var(--m-space-md);
  border-radius: var(--m-radius-lg);
  box-shadow: var(--m-shadow-card);
}

.quick-card:hover,
.service-card:hover,
.value-card:hover,
.diff-card:hover,
.project-card:hover,
.testimonial-card:hover {
  transform: none;
  box-shadow: var(--m-shadow-card);
}

.quick-card h3,
.service-card h3,
.diff-card h3,
.value-head h3,
.project-content h3 {
  font-size: var(--m-text-lg);
  margin-bottom: var(--m-space-xs);
}

.quick-card p,
.service-card p,
.diff-card p,
.value-card p,
.project-content p {
  font-size: var(--m-text-sm);
  line-height: 1.6;
}

.quick-icon,
.service-icon,
.diff-icon {
  width: 44px;
  height: 44px;
  margin-bottom: var(--m-space-md);
  border-radius: var(--m-radius-sm);
}

.service-card ul {
  margin-bottom: var(--m-space-md);
  padding-left: 16px;
}

.service-card li {
  font-size: var(--m-text-sm);
  margin-bottom: 6px;
}

.service-card strong {
  font-size: var(--m-text-xs);
  margin-bottom: var(--m-space-sm);
}

.service-card .button-outline {
  width: 100%;
  justify-content: center;
}

/*, Abo block, */
.abo-block {
  margin-top: var(--m-space-lg);
  border-radius: var(--m-radius-xl);
}

.abo-block-inner {
  border-radius: calc(var(--m-radius-xl) - 2px);
}

.abo-header,
.abo-main {
  padding: var(--m-space-lg) var(--m-space-md) 0;
}

.abo-aside {
  padding: var(--m-space-md);
  align-items: stretch;
}

.abo-header-badges {
  gap: var(--m-space-xs);
}

.abo-badge {
  font-size: 0.65rem;
  padding: 6px 12px;
}

.abo-header-tag {
  font-size: var(--m-text-xs);
}

.abo-intro {
  flex-direction: row;
  gap: var(--m-space-md);
  margin-bottom: var(--m-space-lg);
}

.abo-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--m-radius-sm);
}

.abo-title {
  font-size: var(--m-text-xl);
}

.abo-lead {
  font-size: var(--m-text-sm);
  line-height: 1.6;
}

.abo-features {
  grid-template-columns: 1fr;
  gap: var(--m-space-sm);
}

.abo-features li {
  font-size: var(--m-text-sm);
}

.abo-aside-card {
  padding: var(--m-space-lg);
  border-radius: var(--m-radius-lg);
}

.abo-price {
  font-size: var(--m-text-2xl);
}

.abo-note {
  font-size: var(--m-text-sm);
}

.abo-cta {
  min-height: var(--m-touch);
  white-space: normal;
  text-align: center;
}

body.is-mobile .abo-checkout {
  margin-top: 14px;
  gap: 10px;
}

body.is-mobile .abo-field input {
  padding: 11px 12px;
  font-size: 16px;
}

body.is-mobile .abo-cancel-details {
  margin-top: 14px;
}

body.is-mobile .abo-subscription-status {
  font-size: 0.82rem;
  line-height: 1.35;
}

/*, Vorteile / Diff, */
.section-diff {
  padding: var(--m-space-2xl) 0 !important;
}

.diff-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--m-space-sm);
  margin-bottom: var(--m-space-lg);
}

.diff-stat {
  padding: var(--m-space-md);
  border-radius: var(--m-radius-md);
  text-align: left;
}

.diff-stat strong {
  font-size: var(--m-text-sm);
  margin-bottom: 4px;
}

.diff-stat span {
  font-size: var(--m-text-xs);
  line-height: 1.4;
}

.diff-card {
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: var(--m-space-sm);
  row-gap: 4px;
  padding: var(--m-space-md);
}

.diff-card .diff-icon {
  grid-row: 1 / span 2;
  width: 40px;
  height: 40px;
  margin-bottom: 0;
}

.diff-card h3 {
  font-size: var(--m-text-sm);
  margin: 0;
  align-self: end;
}

.diff-card > p {
  grid-column: 2;
  font-size: var(--m-text-xs);
  margin: 0;
}

.diff-list {
  grid-column: 1 / -1;
  margin-top: var(--m-space-xs);
  padding-left: 16px;
}

.diff-list li {
  font-size: var(--m-text-xs);
  margin-bottom: 2px;
}

.diff-compare {
  margin-top: var(--m-space-lg);
  padding: var(--m-space-md);
  border-radius: var(--m-radius-lg);
}

.diff-compare-head h3 {
  font-size: var(--m-text-lg);
  text-align: left;
}

.diff-compare-head p {
  font-size: var(--m-text-sm);
  margin-bottom: var(--m-space-md);
}

.diff-compare-table {
  border-radius: var(--m-radius-md);
}

.diff-compare-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--m-space-2xs) var(--m-space-sm);
  padding: var(--m-space-md);
  font-size: var(--m-text-sm);
}

.diff-compare-row--head {
  display: none;
}

.diff-compare-row [role="rowheader"] {
  font-size: var(--m-text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
}

.diff-compare-row > span:not([role="rowheader"]):not(.diff-compare-us) {
  color: var(--text-secondary);
  font-size: var(--m-text-xs);
  line-height: 1.5;
}

.diff-compare-us {
  font-size: var(--m-text-sm);
  padding-top: 4px;
}

.diff-cta {
  margin-top: var(--m-space-lg);
  padding: var(--m-space-lg) var(--m-space-md);
  text-align: center;
  border-radius: var(--m-radius-lg);
}

.diff-cta p {
  font-size: var(--m-text-sm);
  margin-bottom: var(--m-space-md);
}

.diff-cta .button {
  width: 100%;
  justify-content: center;
}

/*, Why, */
.why-copy {
  text-align: left;
}

.brand-spot {
  display: flex;
  width: 100%;
  margin-top: var(--m-space-lg);
  padding: var(--m-space-md);
  border-radius: var(--m-radius-md);
}

.brand-spot img {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.brand-spot span {
  font-size: var(--m-text-xs);
}

.value-card {
  padding: var(--m-space-md);
}

.value-head h3 {
  font-size: var(--m-text-base);
}

/*, Projects, */
.project-card {
  padding: 0;
  overflow: hidden;
}

.project-visual {
  min-height: 180px;
}

.project-image {
  min-height: 180px;
  object-fit: cover;
}

.project-content {
  padding: var(--m-space-md);
}

.project-meta {
  font-size: 0.65rem;
  margin-bottom: var(--m-space-xs);
}

/*, Testimonials, */
.testimonial-grid {
  gap: var(--m-space-md);
}

.testimonial-card {
  padding: var(--m-space-lg) var(--m-space-md);
}

.testimonial-badge {
  top: var(--m-space-md);
  right: var(--m-space-md);
  font-size: 0.62rem;
}

.testimonial-top {
  margin-bottom: var(--m-space-md);
}

.testimonial-quote-icon {
  width: 40px;
  height: 40px;
}

.testimonial-text {
  font-size: var(--m-text-sm);
  line-height: 1.65;
}

.testimonial-card-featured .testimonial-text {
  font-size: var(--m-text-base);
}

.testimonial-author {
  padding-top: var(--m-space-md);
  gap: var(--m-space-sm);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  font-size: 0.7rem;
}

.testimonial-author strong {
  font-size: var(--m-text-sm);
}

.testimonial-author span {
  font-size: var(--m-text-xs);
}

/*, FAQ, */
#faq.section {
  padding: var(--m-space-2xl) 0 !important;
}

.container.faq-shell {
  display: flex !important;
  flex-direction: column;
  gap: var(--m-space-md) !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.faq-top {
  flex-direction: column;
  align-items: stretch;
  gap: var(--m-space-md);
  padding: 0;
  border: none;
  text-align: left;
}

.faq-page-title {
  font-size: var(--m-text-2xl);
  margin: 0;
}

.faq-search {
  width: 100%;
  max-width: none;
  margin: 0;
}

.faq-search input {
  min-height: var(--m-touch);
  padding: 12px 44px 12px var(--m-space-md);
  font-size: 16px;
  border-radius: var(--m-radius-md);
}

.faq-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--m-space-xs);
  margin: 0 calc(var(--m-space-2xs) * -1);
  padding: 2px var(--m-space-2xs) var(--m-space-sm);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border: none;
  border-bottom: 1px solid var(--line);
  mask-image: linear-gradient(90deg, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent);
}

.faq-tabs::-webkit-scrollbar {
  display: none;
}

.faq-tab {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 8px 14px;
  margin-bottom: 0;
  border: 1px solid var(--line) !important;
  border-radius: var(--pill) !important;
  background: #fff;
  font-size: var(--m-text-xs);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--text-secondary);
}

.faq-tab-short {
  display: inline !important;
}

.faq-tab-full {
  display: none !important;
}

.faq-tab.is-active {
  color: #fff !important;
  background: linear-gradient(135deg, var(--purple), var(--purple-2)) !important;
  border-color: transparent !important;
  box-shadow: 0 4px 14px rgba(123, 47, 247, 0.28);
}

.faq-panels {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--m-radius-lg);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--m-shadow-card);
}

.faq-list {
  gap: 0;
}

.faq-item {
  border: none;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item:hover {
  border-color: var(--line);
}

.faq-trigger {
  min-height: var(--m-touch);
  padding: var(--m-space-md);
  gap: var(--m-space-sm);
  font-size: var(--m-text-sm);
  line-height: 1.35;
}

.faq-trigger > span:first-child {
  flex: 1;
  min-width: 0;
}

.faq-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 8px;
}

.faq-icon svg {
  width: 14px;
  height: 14px;
}

.faq-content p {
  padding: 0 var(--m-space-md);
  margin-bottom: var(--m-space-sm);
  font-size: var(--m-text-sm);
  line-height: 1.6;
}

.faq-content p:last-child {
  margin-bottom: var(--m-space-md);
}

.faq-empty {
  margin: var(--m-space-md);
  padding: var(--m-space-md);
  font-size: var(--m-text-sm);
  border-radius: var(--m-radius-md);
}

/*, Contact, */
.contact-shell {
  gap: var(--m-space-xl);
}

.contact-copy {
  text-align: left;
}

.contact-copy h2 {
  font-size: var(--m-text-2xl);
}

.contact-points {
  gap: var(--m-space-sm);
  margin-top: var(--m-space-lg);
}

.contact-points span {
  font-size: var(--m-text-sm);
}

.contact-form {
  padding: var(--m-space-lg) var(--m-space-md);
  border-radius: var(--m-radius-lg);
  gap: var(--m-space-md);
}

.contact-form input,
.contact-form textarea {
  min-height: var(--m-touch);
  padding: 12px var(--m-space-md);
  font-size: 16px;
  border-radius: var(--m-radius-sm);
}

.contact-form textarea {
  min-height: 120px;
}

.contact-submit {
  width: 100%;
  justify-content: center;
}

.contact-success strong {
  color: var(--text);
}

/*, Footer, */
.site-footer {
  margin-top: var(--m-space-xl);
  padding: var(--m-space-2xl) 0 var(--m-space-lg);
}

.footer-grid {
  gap: var(--m-space-xl);
  text-align: left;
}

.footer-copy {
  max-width: none;
  font-size: var(--m-text-sm);
}

.footer-links a,
.footer-links span {
  font-size: var(--m-text-sm);
  padding: 4px 0;
}

.footer-bottom {
  flex-direction: column;
  align-items: flex-start;
  gap: var(--m-space-md);
  text-align: left;
  font-size: var(--m-text-xs);
}

.footer-bottom div {
  flex-wrap: wrap;
  gap: var(--m-space-md);
}

/*, Floating CTA, */
.cta-float {
  left: 50% !important;
  right: auto !important;
  bottom: calc(var(--m-space-sm) + var(--mobile-safe-bottom)) !important;
  width: calc(100% - 32px);
  max-width: 400px;
  transform: translateX(-50%) !important;
}

.cta-float.is-hidden {
  transform: translateX(-50%) translateY(16px) !important;
}

.cta-float-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--m-space-sm);
  width: 100%;
  min-height: var(--m-touch);
  padding: 12px var(--m-space-lg);
  border-radius: var(--m-radius-md);
  text-align: center;
  animation: none;
  box-shadow: var(--m-shadow-elevated);
}

.cta-float-link:hover {
  transform: none;
}

.cta-float-link:active {
  transform: scale(0.98);
}

.cta-float-pulse {
  display: none;
}

.cta-float-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
}

.cta-float-icon svg {
  width: 18px;
  height: 18px;
}

.cta-float-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  text-align: left;
}

.cta-float-text strong {
  font-size: var(--m-text-sm);
  line-height: 1.25;
}

.cta-float-text span {
  font-size: var(--m-text-xs);
  line-height: 1.25;
  opacity: 0.9;
}

/*, Chatbot, */
.chatbot {
  right: calc(12px + var(--mobile-safe-right));
  bottom: calc(var(--m-bottom-bar) - 8px);
}

.chatbot-panel {
  right: 0;
  left: auto;
  width: min(360px, calc(100vw - 24px));
  height: min(520px, calc(100dvh - var(--m-bottom-bar) - 80px));
  border-radius: var(--m-radius-lg);
}

.chatbot-launcher {
  width: 52px;
  height: 52px;
}

.chatbot-launcher-pulse {
  animation-duration: 3s;
}

.chatbot-form input {
  font-size: 16px;
  min-height: var(--m-touch);
}

.chatbot-send {
  width: var(--m-touch);
  height: var(--m-touch);
}

/*, Ambient & motion, */
.page-glow {
  opacity: 0.2;
  filter: blur(80px);
}

.reveal {
  transform: translateY(20px);
  transition-duration: 600ms;
}

/*, Small phones, */
@media (max-width: 380px) {
  :root {
    --container: min(100% - 24px, 1240px);
    --m-text-3xl: 1.875rem;
  }

  .brand span {
    max-width: 7.5rem;
  }

  .diff-stats {
    grid-template-columns: 1fr;
  }

  .faq-tab {
    padding: 8px 12px;
    font-size: 0.7rem;
  }

  .cta-float-text span {
    display: none;
  }

  .cta-float-link {
    justify-content: center;
  }

  .cta-float-text {
    align-items: center;
    text-align: center;
  }
}

/*, Landscape phones, */
@media (max-width: 768px) and (max-height: 500px) {
  .mobile-menu-drawer {
    width: min(100%, 300px);
  }

  .hero {
    padding-top: var(--m-space-sm);
    padding-bottom: var(--m-space-lg);
  }

  body.is-mobile .section {
    padding: var(--m-space-xl) 0;
  }

  .chatbot-panel {
    height: min(400px, calc(100dvh - 100px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu-drawer,
  .mobile-menu-backdrop,
  .reveal {
    transition: none !important;
  }

  body.menu-open .mobile-menu-drawer {
    transform: translateX(0);
  }
}
