/* ============================================
   UBUX Design System
   ============================================ */
:root {
  --ubux-sky: #58ACFA;
  --ubux-royal: #1D4ED8;
  --ubux-brand: #459eee;
  --ubux-green: #459eee;
  --ubux-green-dark: #3a84d9;
  --ubux-navy: #0F172A;
  --ubux-footer: #459eee;
  --ubux-text: #0F172A;
  --ubux-text-muted: #475569;
  --ubux-text-light: #64748B;
  --ubux-bg: #FFFFFF;
  --ubux-bg-soft: #EBF4FD;
  --ubux-bg-business: #F0F9FF;
  --ubux-border: #E2E8F0;
  --ubux-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  --ubux-shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 200ms ease;
  --header-height: 72px;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

button,
input,
textarea,
select {
  font: inherit;
}

body {
  font-family: inherit;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ubux-text);
  background: var(--ubux-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   Header
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ubux-border);
  height: var(--header-height);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.header--scrolled {
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
  border-bottom-color: transparent;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.header__logo {
  display: inline-flex;
  transition: opacity var(--transition), transform var(--transition);
  cursor: pointer;
}

.header__logo:hover {
  opacity: 0.88;
  transform: scale(1.03);
}

.header__logo img {
  height: 200px;
  width: auto;
}

.header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.header__toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ubux-text);
  border-radius: 2px;
  transition: var(--transition);
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header__nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--ubux-text-muted);
  position: relative;
  padding: 6px 10px 10px;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
  cursor: pointer;
}

.header__nav-link::before {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--ubux-brand);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 250ms cubic-bezier(0.22, 1, 0.36, 1);
}

.header__nav-link:hover,
.header__nav-link:focus-visible {
  color: var(--ubux-royal);
  background: rgba(88, 172, 250, 0.1);
}

.header__nav-link:hover::before,
.header__nav-link:focus-visible::before {
  transform: scaleX(1);
}

.header__nav-link:focus-visible {
  outline: 2px solid var(--ubux-brand);
  outline-offset: 4px;
  border-radius: 2px;
}

/* ============================================
   Hero
   ============================================ */
.hero {
  padding: var(--header-height) 0 80px;
  background: var(--ubux-bg);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero__content {
  padding-top: 40px;
}

.hero__title {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--ubux-text);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ubux-text-muted);
  margin-bottom: 32px;
  max-width: 480px;
}

.hero__stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0F172A;
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 10px;
  transition: background var(--transition), transform 250ms cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
  min-height: 44px;
}

.store-btn:hover {
  background: #1E293B;
  transform: translateY(-2px);
}

.store-btn:focus-visible {
  outline: 2px solid var(--ubux-brand);
  outline-offset: 2px;
}

.store-btn__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.store-btn__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.store-btn__text small {
  font-size: 10px;
  opacity: 0.85;
}

.store-btn__text strong {
  font-size: 14px;
  font-weight: 600;
}

.hero__highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.hero__highlight {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.hero__highlight-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--ubux-bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero__highlight-icon svg {
  width: 20px;
  height: 20px;
  color: var(--ubux-green);
}

.hero__highlight strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ubux-text);
  margin-bottom: 2px;
}

.hero__highlight span {
  font-size: 13px;
  color: var(--ubux-text-light);
  line-height: 1.4;
}

/* Hero visual — combined phone mockup image */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-height: min(82vh, 640px);
  overflow: hidden;
}

.hero__visual-img {
  width: 100%;
  max-width: 520px;
  max-height: min(82vh, 640px);
  height: auto;
  object-fit: contain;
}

/* ============================================
   Features (Why UBUX)
   ============================================ */
.features {
  padding: 80px 0;
  background: var(--ubux-bg);
}

.section-label {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ubux-green);
  margin-bottom: 12px;
}

.section-label--left {
  text-align: left;
}

.section-title {
  text-align: center;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--ubux-text);
  margin-bottom: 48px;
  letter-spacing: -0.02em;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--ubux-bg);
  border: 1px solid var(--ubux-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--ubux-shadow);
  transition: box-shadow var(--transition), border-color var(--transition), transform 250ms cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-card:hover {
  box-shadow: var(--ubux-shadow-lg);
  border-color: #CBD5E1;
  transform: translateY(-4px);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  border-radius: 12px;
  background: var(--ubux-bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--ubux-green);
}

.feature-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ubux-text);
  margin-bottom: 10px;
}

.feature-card__text {
  font-size: 14px;
  color: var(--ubux-text-muted);
  line-height: 1.6;
}

/* ============================================
   For Businesses
   ============================================ */
.business {
  padding: 80px 0;
  background: var(--ubux-bg-business);
}

.business__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}

.business__visual,
.business__intro,
.business__benefits-col {
  min-width: 0;
}

.business__intro {
  align-self: center;
}

.business__benefits-col {
  align-self: center;
}

.business__image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--ubux-shadow-lg);
}

.business__image {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.business__tablet {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--ubux-bg);
  border-radius: 10px;
  padding: 12px 16px;
  box-shadow: var(--ubux-shadow);
}

.business__tablet img {
  height: 50px;
  width: auto;
}

.business__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--ubux-text);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.business__text {
  font-size: 16px;
  color: var(--ubux-text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  min-height: 44px;
}

.btn--primary {
  background: var(--ubux-green);
  color: #FFFFFF;
}

.btn--primary:hover {
  background: var(--ubux-green-dark);
}

.btn--primary:focus-visible {
  outline: 2px solid var(--ubux-green-dark);
  outline-offset: 2px;
}

.business__benefits {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.business__benefit {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.business__benefit-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--ubux-bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.business__benefit-icon svg {
  width: 20px;
  height: 20px;
  color: var(--ubux-green);
}

.business__benefit strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--ubux-text);
  margin-bottom: 4px;
}

.business__benefit span {
  font-size: 14px;
  color: var(--ubux-text-muted);
  line-height: 1.5;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--ubux-footer);
  color: #FFFFFF;
  padding-top: 56px;
}

.footer__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 64px;
  padding-bottom: 40px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.footer__logo {
  display: inline-block;
  border-radius: 0;
}

.footer__logo img {
  height: 200px;
  width: auto;
  border-radius: 0;
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  transition: background var(--transition), color var(--transition), transform 250ms cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
}

.footer__social-link svg {
  width: 20px;
  height: 20px;
}

.footer__social-link:hover,
.footer__social-link:focus-visible {
  background: var(--ubux-brand);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.footer__social-link:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 2px;
}

.footer__columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer__col-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  margin-bottom: 18px;
}

.footer__col ul li {
  margin-bottom: 12px;
}

.footer__col a,
.footer__col span {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  transition: color var(--transition);
}

.footer__col a {
  cursor: pointer;
}

.footer__col a:hover,
.footer__col a:focus-visible {
  color: #FFFFFF;
}

.footer__col a:focus-visible {
  outline: 2px solid var(--ubux-brand);
  outline-offset: 2px;
  border-radius: 2px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
}

.footer__bottom p,
.footer__copyright {
  text-align: center;
  font-size: 13px;
  color: #FFFFFF;
}

.footer__bottom .container {
  display: flex;
  justify-content: center;
}

.footer__copyright {
  margin: 0;
  width: 100%;
}

/* ============================================
   Features Page
   ============================================ */
.header__nav-link--current {
  color: var(--ubux-brand);
  font-weight: 600;
}

.features-page-hero {
  padding: calc(var(--header-height) + 48px) 0 56px;
  background: linear-gradient(180deg, var(--ubux-bg-soft) 0%, var(--ubux-bg) 100%);
  text-align: center;
}

.features-page-hero__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--ubux-text);
  letter-spacing: -0.02em;
  max-width: 720px;
  margin: 0 auto 20px;
}

.features-page-hero__subtitle {
  max-width: 640px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ubux-text-muted);
}

.features-page {
  padding: 24px 0 96px;
  background: var(--ubux-bg);
}

.features-page__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.feature-card--page {
  text-align: left;
  padding: 32px;
  box-shadow: none;
}

.feature-card--page:hover {
  transform: translateY(-2px);
  box-shadow: var(--ubux-shadow);
}

.feature-card--page .feature-card__icon {
  margin: 0 0 20px;
}

.footer--light {
  background: var(--ubux-bg);
  color: var(--ubux-text);
  border-top: 1px solid var(--ubux-border);
}

.footer--light .footer__inner--page {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 2fr);
  gap: 48px;
}

.footer--light .footer__logo img {
  height: 72px;
}

.footer--light .footer__tagline {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ubux-text-muted);
  max-width: 280px;
}

.footer--light .footer__columns--page {
  grid-template-columns: repeat(3, 1fr);
}

.footer--light .footer__col-title {
  color: var(--ubux-brand);
}

.footer--light .footer__col a,
.footer--light .footer__col span {
  color: var(--ubux-text-muted);
}

.footer--light .footer__col a:hover,
.footer--light .footer__col a:focus-visible {
  color: var(--ubux-brand);
}

.footer--light .footer__bottom {
  border-top: 1px solid var(--ubux-border);
}

.footer--light .footer__bottom p,
.footer--light .footer__credit {
  color: var(--ubux-text-light);
}

.footer__bottom--split .footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__bottom--split p {
  text-align: left;
  margin: 0;
}

.footer__credit {
  font-size: 13px;
}

/* ============================================
   Business Page
   ============================================ */
.business-page {
  padding: 64px 0 96px;
  background: var(--ubux-bg);
}

.business-page__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.business-page__image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
  box-shadow: var(--ubux-shadow-lg);
}

.business-page__title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--ubux-text);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.business-page__text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ubux-text-muted);
  margin-bottom: 28px;
}

.business-page__checklist {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.business-page__checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ubux-text);
}

.business-page__check-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--ubux-bg-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ubux-brand);
}

.business-page__check-icon svg {
  width: 12px;
  height: 12px;
}

.btn--pill {
  border-radius: 999px;
  padding: 12px 28px;
}

/* ============================================
   Contact Page
   ============================================ */
.contact-page {
  padding: 48px 0 96px;
  background: var(--ubux-bg);
}

.contact-page__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}

.contact-card {
  background: var(--ubux-bg);
  border: 1px solid var(--ubux-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--ubux-shadow);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.contact-card:hover {
  box-shadow: var(--ubux-shadow-lg);
  border-color: rgba(69, 158, 238, 0.25);
}

.contact-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ubux-bg-soft);
  color: var(--ubux-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.contact-card__icon svg {
  width: 20px;
  height: 20px;
}

.contact-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ubux-text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.contact-card__email {
  font-size: 15px;
  font-weight: 500;
  color: var(--ubux-brand);
  transition: color var(--transition);
  cursor: pointer;
}

.contact-card__email:hover,
.contact-card__email:focus-visible {
  color: var(--ubux-green-dark);
  text-decoration: underline;
}

/* ============================================
   Support Page
   ============================================ */
.support-page {
  padding: 48px 0 96px;
  background: var(--ubux-bg);
}

.support-page__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 880px;
  margin: 0 auto 64px;
}

.contact-card--support {
  box-shadow: none;
}

.faq__title {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--ubux-text);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.faq__list {
  max-width: 880px;
  margin: 0 auto;
  border: 1px solid var(--ubux-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ubux-bg);
}

.faq__item {
  border-bottom: 1px solid var(--ubux-border);
}

.faq__item:last-child {
  border-bottom: none;
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ubux-text);
  cursor: pointer;
  list-style: none;
  transition: background var(--transition);
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question:hover {
  background: var(--ubux-bg-soft);
}

.faq__question:focus-visible {
  outline: 2px solid var(--ubux-brand);
  outline-offset: -2px;
}

.faq__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  position: relative;
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--ubux-brand);
  border-radius: 1px;
  transition: transform var(--transition);
}

.faq__icon::before {
  width: 14px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.faq__icon::after {
  width: 2px;
  height: 14px;
  transform: translate(-50%, -50%);
}

.faq__item[open] .faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq__answer {
  padding: 0 24px 20px;
}

.faq__answer p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ubux-text-muted);
}

.faq__answer a {
  color: var(--ubux-brand);
  font-weight: 500;
  cursor: pointer;
}

.faq__answer a:hover,
.faq__answer a:focus-visible {
  text-decoration: underline;
}

/* ============================================
   Legal Pages
   ============================================ */
.legal-page {
  padding: 32px 0 96px;
  background: var(--ubux-bg);
}

.legal-page__inner {
  max-width: 760px;
  margin: 0 auto;
}

.legal-content__heading {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--ubux-text);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.legal-content__section .legal-content__heading {
  font-size: 1.875rem;
  margin-bottom: 20px;
}

.legal-content__intro {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ubux-text-muted);
  margin-bottom: 32px;
}

.legal-content__section {
  margin-bottom: 32px;
}

.legal-content__section--divider {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--ubux-border);
}

.legal-content__section h2:not(.legal-content__heading),
.legal-content__section h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ubux-text);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.legal-content__section p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ubux-text-muted);
  margin-bottom: 12px;
}

.legal-content__section p:last-child {
  margin-bottom: 0;
}

.legal-content__section ul {
  list-style: disc;
  padding-left: 24px;
  margin-top: 8px;
  margin-bottom: 12px;
}

.legal-content__section ol {
  list-style: decimal;
  padding-left: 28px;
  margin-top: 8px;
  margin-bottom: 12px;
}

.legal-content__section li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ubux-text-muted);
  margin-bottom: 6px;
}

.legal-content a {
  color: var(--ubux-brand);
  font-weight: 500;
  cursor: pointer;
}

.legal-content a:hover,
.legal-content a:focus-visible {
  text-decoration: underline;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero__content {
    padding-top: 32px;
    text-align: center;
  }

  .hero__visual {
    margin-top: 16px;
    max-height: min(70vh, 520px);
  }

  .hero__visual-img {
    max-width: 440px;
    max-height: min(70vh, 520px);
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__stores {
    justify-content: center;
  }

  .hero__highlights {
    max-width: 640px;
    margin: 0 auto;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .footer__brand {
    align-items: center;
  }

  .footer__social {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .header__toggle {
    display: flex;
  }

  .header__nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--ubux-bg);
    border-bottom: 1px solid var(--ubux-border);
    padding: 16px 24px 24px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
    box-shadow: var(--ubux-shadow);
  }

  .header__nav--open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .header__nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .header__nav-link {
    display: block;
    padding: 12px 0;
    width: 100%;
    font-size: 15px;
  }

  .header__nav-link:hover,
  .header__nav-link:focus-visible {
    background: rgba(88, 172, 250, 0.12);
  }

  .header__toggle--open .header__toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .header__toggle--open .header__toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .header__toggle--open .header__toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .features__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .features-page__grid {
    grid-template-columns: 1fr;
  }

  .business-page__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .business-page__content {
    text-align: center;
  }

  .business-page__checklist li {
    text-align: left;
  }

  .contact-page__grid,
  .support-page__cards {
    grid-template-columns: 1fr;
  }

  .footer--light .footer__inner--page {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer--light .footer__brand {
    align-items: center;
  }

  .footer--light .footer__tagline {
    margin: 0 auto;
  }

  .footer--light .footer__columns--page {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__bottom--split .footer__bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer__bottom--split p {
    text-align: center;
    width: 100%;
  }

  .footer__columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    text-align: left;
  }

  .hero__content {
    padding-top: 24px;
  }

  .hero__visual {
    max-height: min(60vh, 440px);
  }

  .hero__visual-img {
    max-width: 380px;
    max-height: min(60vh, 440px);
  }

  .business__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .business__intro {
    text-align: center;
  }

  .section-label--left {
    text-align: center;
  }

  .business__benefits-col {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }

  .business__image {
    height: 320px;
  }
}

@media (max-width: 600px) {
  .hero__highlights {
    grid-template-columns: 1fr;
    max-width: 320px;
  }
}

@media (max-width: 480px) {
  .hero__highlight {
    width: 100%;
  }

  .footer__columns {
    grid-template-columns: 1fr;
  }

  .hero__stores {
    flex-direction: column;
    align-items: stretch;
  }

  .store-btn {
    justify-content: center;
  }
}

/* ============================================
   Scroll reveal animations
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal--left {
  transform: translateX(-36px);
}

.reveal--right {
  transform: translateX(36px);
}

.reveal--scale {
  transform: scale(0.94);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }

  .header__logo:hover {
    transform: none;
  }

  .feature-card:hover {
    transform: none;
  }
}
