:root {
  --bg-main: #f2faff;
  --bg-secondary: #f2faff;
  --text-primary: #0a0a0a;
  --text-secondary: #525252;
  --nav-text: #242930;
  --header-dark: #181c1f;
  --brand-primary: #31b800;
  --brand-hover: #289800;
  --brand-dark: #1f7a00;
  --brand-tint-bg: #e7f3ff;
  --brand-tint-text: #145dbf;
  --border-color: #e5e5e5;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Nav (Take App style) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(242, 250, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}

.header-start {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 4px 0;
}

.logo img {
  width: 117px;
  height: auto;
  max-height: 28px;
  object-fit: contain;
}

.nav-main {
  display: none;
}

@media (min-width: 1024px) {
  .nav-main {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
  }
}

.nav-link,
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  color: var(--nav-text);
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease;
  text-decoration: none;
}

.nav-link:hover,
.nav-trigger:hover,
.nav-dropdown.is-open .nav-trigger {
  background-color: rgba(0, 0, 0, 0.04);
}

.nav-chevron {
  flex-shrink: 0;
  opacity: 0.85;
  transition: transform 0.2s ease;
}

.nav-dropdown.is-open .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  padding: 8px;
  min-width: 260px;
  z-index: 101;
  flex-direction: column;
  gap: 2px;
}

.nav-dropdown.is-open .dropdown-panel,
.nav-dropdown:hover .dropdown-panel {
  display: flex;
}

.dropdown-panel--wide {
  min-width: 520px;
  padding: 16px 20px;
  left: 50%;
  transform: translateX(-50%);
}

.dropdown-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.dropdown-columns > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dropdown-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.dropdown-columns a {
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--nav-text);
  transition: background-color 0.15s;
}

.dropdown-columns a:hover {
  background-color: var(--bg-secondary);
}

.dropdown-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 8px;
  transition: background-color 0.15s;
}

.dropdown-item:hover {
  background-color: var(--bg-secondary);
}

.dropdown-item strong {
  font-size: 14px;
  font-weight: 500;
  color: var(--nav-text);
}

.dropdown-item small {
  font-size: 12px;
  color: var(--text-secondary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-header-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--nav-text);
  background: transparent;
  transition: background-color 0.15s;
  white-space: nowrap;
}

.btn-header-login:hover {
  background-color: rgba(0, 0, 0, 0.04);
}

.btn-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background-color: var(--header-dark);
  box-shadow: 0 0.48px 0.87px -0.375px rgba(0, 0, 0, 0.06),
    0 4px 7.2px -0.75px rgba(0, 0, 0, 0.21);
  transition: background-color 0.15s, transform 0.15s;
  white-space: nowrap;
}

.btn-header-cta:hover {
  background-color: #2a3036;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Quick store hero */
.quick-store-hero {
  padding: clamp(28px, 5vw, 52px) 0 clamp(32px, 5vw, 48px);
  background: #fff;
  text-align: center;
}

.quick-store-hero__inner {
  max-width: 980px;
}

.quick-store-hero__eyebrow {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #31b800;
}

.quick-store-hero__eyebrow-icon {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: #31b800;
  box-shadow: 0 8px 18px rgba(49, 184, 0, 0.18);
  color: #fff;
  font-size: 0.95rem;
  line-height: 1;
}

.quick-store-hero h1 {
  max-width: 888px;
  margin: 0 auto 18px;
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: #193b7b;
}

.quick-store-hero__headline {
  display: block;
}

.quick-store-hero__headline .hero-number {
  min-width: 1.1em;
}

.quick-store-hero__headline.is-exiting {
  opacity: 0;
  transform: translateY(-0.35rem);
}

.quick-store-hero__headline.is-entering {
  animation: heroRotatorIn 0.35s ease forwards;
}

.quick-store-hero__lead {
  max-width: 860px;
  margin: 0 auto 28px;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: #6b7280;
}

.quick-store-hero__form {
  max-width: 860px;
  margin: 0 auto 18px;
  padding: 6px 8px 6px 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f3f4f6;
  border: 2px solid #31b800;
  border-radius: 999px;
  box-shadow: none;
}

.quick-store-hero__form input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 18px 18px 18px 20px;
  font: inherit;
  font-size: 1.08rem;
  font-weight: 500;
  color: #111827;
  text-align: left;
}

.quick-store-hero__form input::placeholder {
  color: #97a0b2;
}

.quick-store-hero__form input:focus {
  outline: none;
}

.quick-store-hero__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  background: #31b800;
  color: #fff;
  padding: 18px 42px;
  min-width: 240px;
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: none;
}

.quick-store-hero__submit:hover {
  background: #29a500;
}

.quick-store-hero__chips {
  max-width: 760px;
  margin: 0 auto 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.quick-store-hero__chip {
  padding: 11px 18px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  color: #727985;
  font: inherit;
  font-size: 0.98rem;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.quick-store-hero__chip:hover {
  border-color: #b4ddb1;
  color: #1f2937;
  background: #f8fff7;
}

.quick-store-hero__chip--muted::before {
  content: "✦";
  margin-right: 8px;
  font-size: 0.82em;
}

.quick-store-hero__note {
  font-size: 1rem;
  font-weight: 700;
  color: #717b88;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background-color: var(--brand-primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--brand-hover);
}

.btn-ghost {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-ghost:hover {
  background-color: var(--bg-secondary);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.125rem;
  border-radius: var(--radius-lg);
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
}

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

@media (max-width: 1023px) {
  .header-actions .btn-header-login,
  .header-actions .btn-header-cta {
    display: none;
  }

  .quick-store-hero__form {
    max-width: 100%;
  }
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 16px 24px 24px;
  background: white;
  border-bottom: 1px solid var(--border-color);
  gap: 4px;
}

.mobile-nav.open {
  display: flex;
  max-height: calc(100vh - 56px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav > a {
  padding: 12px 8px;
  font-size: 15px;
  font-weight: 400;
  color: var(--nav-text);
  border-radius: 8px;
}

.mobile-nav > a:hover {
  background: var(--bg-secondary);
}

.mobile-nav-group {
  border-bottom: none;
}

.mobile-nav-group summary {
  padding: 12px 8px;
  font-size: 15px;
  font-weight: 400;
  color: var(--nav-text);
  cursor: pointer;
  list-style: none;
  border-radius: 8px;
}

.mobile-nav-group summary::-webkit-details-marker {
  display: none;
}

.mobile-nav-group summary::after {
  content: "▾";
  float: right;
  font-size: 12px;
  opacity: 0.5;
}

.mobile-nav-group[open] summary::after {
  transform: rotate(180deg);
}

.mobile-nav-group a {
  display: block;
  padding: 10px 8px 10px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  border-radius: 6px;
}

.mobile-nav-group a:hover {
  color: var(--nav-text);
  background: var(--bg-secondary);
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.mobile-nav-actions .btn-header-cta,
.mobile-nav-actions .btn-header-login {
  width: 100%;
  justify-content: center;
  padding: 12px 16px;
}

@media (min-width: 1024px) {
  .mobile-nav {
    display: none !important;
  }
}

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  background: var(--bg-main);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  line-height: 1.1;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 4.5rem;
  }
}

.gradient-text {
  background: none;
  -webkit-background-clip: border-box;
  -webkit-text-fill-color: currentColor;
  background-clip: border-box;
  color: #31b800;
}

.hero-number {
  display: inline-block;
  min-width: 1.15em;
  text-align: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hero-number.is-exiting {
  opacity: 0;
  transform: translateY(-0.15em);
}

.hero-number.is-entering {
  animation: heroNumberIn 0.35s ease forwards;
}

.hero-rotator {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hero-rotator.is-exiting {
  opacity: 0;
  transform: translateY(-0.35rem);
}

.hero-rotator.is-entering {
  animation: heroRotatorIn 0.35s ease forwards;
}

@keyframes heroRotatorIn {
  from {
    opacity: 0;
    transform: translateY(0.35rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroNumberIn {
  from {
    opacity: 0;
    transform: translateY(0.2em);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-tagline {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--nav-text);
  margin: 0 auto 32px;
}

@media (min-width: 768px) {
  .hero-tagline {
    font-size: 1.125rem;
  }
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 32px;
}

@media (min-width: 768px) {
  .hero-sub {
    font-size: 1.25rem;
  }
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
  width: 100%;
  max-width: 400px;
}

@media (min-width: 500px) {
  .hero-cta {
    flex-direction: row;
    max-width: none;
    justify-content: center;
  }
}

.hero-note {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 48px;
}

.hero-image {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background-color: #f3f4f6;
  min-height: 200px;
}

/* SSR-style responsive hero visuals (Take App pattern) */
.ssr-variant--mobile {
  display: none;
}

.ssr-variant--desktop {
  display: block;
}

.hero-image img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-image--mobile {
  max-width: none;
  border: none;
  box-shadow: none;
  background: transparent;
  min-height: 0;
  overflow: visible;
}

.hero-visual-canvas {
  width: 100%;
  position: relative;
  overflow: hidden;
  aspect-ratio: 944 / 1004;
  max-height: min(72vh, 560px);
}

.hero-visual-canvas img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

@media (max-width: 767.98px) {
  .ssr-variant--desktop {
    display: none !important;
  }

  .ssr-variant--mobile {
    display: block;
  }

  .hero-inner {
    padding-bottom: 0;
  }

  .hero-image--mobile {
    width: 100vw;
    max-width: 100vw;
    margin-top: clamp(8px, 2vw, 20px);
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    border-radius: 0;
  }

  .hero-visual-canvas {
    max-height: min(68vh, 520px);
  }
}

@media (min-width: 768px) {
  .ssr-variant--mobile {
    display: none !important;
  }

  .ssr-variant--desktop {
    display: block;
  }
}

/* Logos Bar */
.logos-bar {
  padding: 40px 0;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-main);
}

.logos-label {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.logos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  opacity: 0.6;
}

@media (min-width: 768px) {
  .logos-grid {
    gap: 64px;
  }
}

.logo-placeholder {
  font-weight: 700;
  font-size: 1.25rem;
  color: #9ca3af;
  letter-spacing: -0.02em;
}

/* Features */
.features-alt {
  padding: 80px 0;
}

@media (min-width: 768px) {
  .features-alt {
    padding: 120px 0;
  }
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.label-tag {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

.feature-row {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-bottom: 80px;
  align-items: center;
}

@media (min-width: 768px) {
  .feature-row {
    flex-direction: row;
    gap: 80px;
    margin-bottom: 120px;
  }
  
  .feature-row--reverse {
    flex-direction: row-reverse;
  }
}

.feature-text {
  flex: 1;
}

.feature-text h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.feature-text p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.link-arrow {
  font-weight: 600;
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.link-arrow:hover {
  text-decoration: underline;
}

.feature-visual {
  flex: 1;
  width: 100%;
}

.feature-img-wrap {
  background-color: #f3f4f6;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Testimonials */
.testimonials {
  padding: 80px 0;
  background-color: var(--bg-secondary);
}

.testimonials-masonry {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

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

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

.testimonial-card {
  background: white;
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stars {
  color: #fbbf24;
  font-size: 1.25rem;
  letter-spacing: 2px;
}

.testimonial-card p {
  font-size: 1rem;
  color: var(--text-primary);
  font-style: italic;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--text-secondary);
}

.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
}

.testimonial-author small {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

/* CTA Banner */
.cta-banner {
  padding: 80px 0;
  background: #31b800;
  color: white;
  text-align: center;
}

.cta-banner h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 32px;
}

.cta-banner .btn-primary {
  background-color: white;
  color: var(--brand-dark);
}

.cta-banner .btn-primary:hover {
  background-color: #f3f4f6;
}

/* Footer */
.site-footer {
  padding: 80px 0 40px;
  background-color: #0a0a0a;
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

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

.footer-brand p {
  color: #a3a3a3;
  margin-top: 16px;
  max-width: 300px;
}

.footer-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 24px;
}

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

.footer-links a {
  color: #a3a3a3;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #262626;
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: #737373;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a:hover {
  color: white;
}

.logo--light span {
  color: #fff;
}

.btn-block {
  width: 100%;
  max-width: none;
}

/* Simplify WhatsApp Ordering — stacked Take.app cards */
.ordering-features {
  padding: clamp(48px, 8vw, 80px) 0;
  background: var(--bg-main);
}

.ordering-features .section-header {
  margin-bottom: clamp(28px, 5vw, 40px);
}

.ordering-features .section-header h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ordering-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 920px;
  margin: 0 auto;
}

.ordering-card {
  background: #eef4ff;
  border-radius: 20px;
  padding: clamp(20px, 4vw, 28px);
  overflow: hidden;
}

.ordering-card--split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
}

@media (min-width: 768px) {
  .ordering-card--split {
    grid-template-columns: 1fr 1.05fr;
    gap: 24px;
    min-height: 0;
  }
}

.ordering-card-copy h3,
.ordering-card-title-top {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.25;
}

.ordering-card-copy p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 14px;
  max-width: 36ch;
}

.ordering-learn-more {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #2563eb;
  display: inline-block;
}

.ordering-learn-more:hover {
  text-decoration: underline;
}

.ordering-card-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.ordering-card-visual img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.ordering-card--split .ordering-card-visual img {
  max-height: 200px;
}

.ordering-card--manage {
  padding-bottom: 20px;
}

.ordering-card-title-top {
  margin-bottom: 16px;
}

.ordering-card-visual--wide img {
  max-height: 220px;
  width: 100%;
}

@media (max-width: 767px) {
  .ordering-card--split .ordering-card-visual img,
  .ordering-card-visual--wide img {
    max-height: 180px;
  }

  .ordering-card-copy {
    order: 1;
  }

  .ordering-card-visual {
    order: 2;
  }
}

/* Value trio (legacy) */
.value-trio {
  padding: 80px 0;
}

.value-trio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

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

.value-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.value-card img,
.value-card-media img {
  width: 100%;
}

.value-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.value-card p {
  color: var(--text-secondary);
  flex-grow: 1;
}

/* Feature highlight sections */
.feature-highlight {
  padding: 80px 0;
}

.feature-highlight--alt {
  background: var(--bg-secondary);
}

.feature-highlight .feature-row {
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
}

@media (min-width: 768px) {
  .feature-highlight .feature-row {
    flex-direction: row;
    gap: 64px;
  }

  .feature-highlight .feature-row--reverse {
    flex-direction: row-reverse;
  }
}

.feature-highlight .feature-text {
  flex: 1;
}

.feature-highlight .feature-visual {
  flex: 1;
  width: 100%;
}

.feature-highlight .feature-visual img {
  width: 100%;
  height: auto;
}

/* Modern media frames (Take.app-style screenshots) */
.media-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  background: var(--brand-tint-bg);
  line-height: 0;
}

.media-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.media-frame--hero {
  box-shadow: var(--shadow-lg);
}

.value-card-media,
.benefit-card-media,
.blog-card-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  line-height: 0;
}

.value-card-media img,
.benefit-card-media img,
.blog-card-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.benefit-card--media {
  padding: 0;
  overflow: hidden;
}

.benefit-card--media .benefit-card-media img {
  aspect-ratio: 16 / 11;
  border-radius: 0;
}

.benefit-card--media h3,
.benefit-card--media p {
  padding: 0 20px;
}

.benefit-card--media h3 {
  padding-top: 16px;
}

.benefit-card--media p:last-child,
.benefit-card--media p {
  padding-bottom: 20px;
}

.blog-card-media img {
  aspect-ratio: 16 / 10;
}

.hero-image--desktop .media-frame {
  border: none;
  box-shadow: var(--shadow-lg);
}

.page-hero-visual .media-frame img {
  border-radius: inherit;
}

.check-list {
  list-style: none;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-list li {
  padding-left: 28px;
  position: relative;
  color: var(--text-secondary);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-primary);
  font-weight: 700;
}

/* Testimonials marquee */
.testimonials-marquee {
  overflow: hidden;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  padding: 8px 0 24px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.testimonials-marquee::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.testimonials-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: testimonials-marquee 45s linear infinite;
  will-change: transform;
}

.testimonials-marquee:hover .testimonials-track {
  animation-play-state: paused;
}

@keyframes testimonials-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.testimonials-track .testimonial-card {
  flex: 0 0 min(320px, 85vw);
  scroll-snap-align: unset;
}

.testimonial-card footer {
  margin-top: 16px;
}

.testimonial-card footer strong {
  display: block;
}

.testimonial-card footer small {
  color: var(--text-secondary);
}

/* Pricing */
.pricing {
  padding: 80px 0;
  background: var(--bg-secondary);
}

.pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pricing-toggle label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.pricing-toggle em {
  font-style: normal;
  color: var(--brand-primary);
  font-weight: 600;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}

@media (min-width: 900px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.price-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.price-card--featured {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 1px var(--brand-primary), var(--shadow-lg);
}

.price-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--brand-tint-bg);
  color: var(--brand-tint-text);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.price-card h3 {
  font-size: 1.25rem;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.price-amount small {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.price-amount--custom {
  font-size: 1.75rem;
}

.price-features {
  list-style: none;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--text-secondary);
}

.price-features li {
  padding-left: 22px;
  position: relative;
}

.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-primary);
  font-weight: 700;
}

/* FAQ */
.faq {
  padding: 80px 0;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: white;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-icon::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--text-secondary);
}

.faq-item.is-open .faq-icon::after {
  content: "−";
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  color: var(--text-secondary);
}

.faq-item.is-open .faq-answer {
  display: block;
}

/* Page hero (subpages) */
.page-hero--compact {
  padding: 56px 0 32px;
}

.page-hero--compact h1 {
  font-size: 2.25rem;
}

.page-hero {
  padding: 72px 0 48px;
  background: var(--bg-main);
  border-bottom: 1px solid var(--border-color);
}

.page-hero-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.page-hero-inner--split {
  max-width: 1100px;
  display: grid;
  gap: 40px;
  text-align: left;
}

@media (min-width: 768px) {
  .page-hero-inner--split {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.page-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.15;
}

.page-hero p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin-bottom: 28px;
}

.page-hero-visual img {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.page-hero-visual--mobile {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.page-hero-visual--mobile .hero-visual-canvas img {
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.page-hero-visual--desktop img {
  width: 100%;
  height: auto;
}

/* Page content */
.page-content {
  padding: 64px 0;
}

.page-content h2 {
  font-size: 1.5rem;
  margin: 32px 0 12px;
}

.page-content p,
.page-content li {
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.page-content ul {
  padding-left: 1.25rem;
}

.content-narrow {
  max-width: 640px;
  margin: 0 auto;
}

/* Signup */
.signup-section {
  padding: 80px 0;
}

.signup-card {
  max-width: 440px;
  margin: 0 auto;
  padding: 40px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.signup-form label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin: 16px 0 6px;
}

.signup-form input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
}

.signup-form input:focus {
  outline: 2px solid var(--brand-primary);
  outline-offset: 1px;
}

.signup-form button {
  margin-top: 24px;
  width: 100%;
}

/* Blog cards */
.blog-grid {
  display: grid;
  gap: 24px;
}

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

.blog-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: white;
}

.blog-card img {
  aspect-ratio: 16/10;
  object-fit: cover;
  background: var(--bg-secondary);
}

.blog-card-body {
  padding: 20px;
}

.blog-card h2 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.blog-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Changelog */
.changelog-list {
  max-width: 720px;
  margin: 0 auto;
}

.changelog-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--border-color);
}

.changelog-item time {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.changelog-item h3 {
  margin: 8px 0;
}

/* Docs grid */
.docs-grid {
  display: grid;
  gap: 16px;
}

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

.doc-link {
  display: block;
  padding: 20px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.doc-link:hover {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-sm);
}

.doc-link strong {
  display: block;
  margin-bottom: 4px;
}

.doc-link small {
  color: var(--text-secondary);
}

.doc-link--media {
  padding: 0;
  overflow: hidden;
  background: white;
}

.doc-link-media {
  line-height: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.doc-link-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.doc-link--media strong,
.doc-link--media small {
  padding: 0 16px;
}

.doc-link--media strong {
  padding-top: 14px;
}

.doc-link--media small {
  display: block;
  padding-bottom: 16px;
}

.contact-form-card {
  max-width: none;
  margin: 0;
}

.auth-layout--centered {
  max-width: 520px;
  margin: 0 auto;
}

.auth-visual--compact .media-frame {
  margin-bottom: 24px;
}

/* Thank you (signup success) */
.thankyou-page {
  position: relative;
  padding: clamp(48px, 10vw, 96px) 0 clamp(64px, 12vw, 120px);
  background: var(--bg-main);
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.thankyou-page__glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 120vw);
  height: 420px;
  background: radial-gradient(ellipse at center, rgba(49, 184, 0, 0.14) 0%, transparent 68%);
  pointer-events: none;
}

.thankyou-shell {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 0 auto;
}

.thankyou-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 12px 40px rgba(15, 23, 42, 0.08);
  padding: clamp(28px, 5vw, 40px);
  text-align: center;
}

.thankyou-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #31b800;
  color: #fff;
  box-shadow: 0 8px 24px rgba(49, 184, 0, 0.35);
}

.thankyou-card__eyebrow {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-primary);
}

.thankyou-card__title {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 5vw, 2.125rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-primary);
}

.thankyou-card__lead {
  margin: 0 0 28px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.thankyou-card__lead strong {
  color: var(--text-primary);
  font-weight: 600;
}

.thankyou-summary {
  margin-bottom: 28px;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--bg-main);
  border: 1px solid rgba(49, 184, 0, 0.12);
  text-align: left;
}

.thankyou-summary__title {
  margin: 0 0 14px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.thankyou-summary__list {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.thankyou-summary__row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  align-items: baseline;
  font-size: 0.9375rem;
}

.thankyou-summary__row dt {
  margin: 0;
  font-weight: 600;
  color: var(--text-secondary);
}

.thankyou-summary__row dd {
  margin: 0;
  font-weight: 500;
  color: var(--text-primary);
  word-break: break-word;
}

.thankyou-code {
  font-size: 0.875rem;
  padding: 2px 8px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--border-color);
}

.thankyou-steps {
  margin-bottom: 28px;
  text-align: left;
}

.thankyou-steps__title {
  margin: 0 0 14px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
}

.thankyou-steps__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.thankyou-steps__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.thankyou-steps__num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(49, 184, 0, 0.1);
  color: var(--brand-primary);
  font-size: 0.8125rem;
  font-weight: 700;
}

.thankyou-steps__text {
  padding-top: 3px;
}

.thankyou-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.thankyou-card__help {
  margin: 20px 0 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.thankyou-card__help a {
  font-weight: 600;
  color: var(--brand-primary);
}

@media (max-width: 400px) {
  .thankyou-summary__row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* ============================================================
   Modern layout & mobile-first system
   ============================================================ */

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
}

.container {
  padding-left: clamp(16px, 4vw, 24px);
  padding-right: clamp(16px, 4vw, 24px);
}

.section {
  padding: clamp(48px, 8vw, 96px) 0;
}

.section--muted {
  background: var(--bg-secondary);
}

.section--tight {
  padding: clamp(32px, 5vw, 64px) 0;
}

/* Typography scale */
.section-header h2 {
  font-size: clamp(1.5rem, 4.5vw, 2.25rem);
}

.section-header p {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
}

.feature-text h2,
.feature-highlight .feature-text h2 {
  font-size: clamp(1.375rem, 4vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

/* Touch-friendly controls */
.btn {
  min-height: 44px;
  padding-left: 20px;
  padding-right: 20px;
}

.btn-lg {
  width: 100%;
  max-width: 320px;
}

@media (min-width: 480px) {
  .btn-lg {
    width: auto;
  }
}

.hero-cta .btn-lg {
  max-width: none;
}

@media (max-width: 479px) {
  .hero-cta .btn-lg {
    width: 100%;
    max-width: none;
  }
}

/* Hero mobile */
.hero {
  padding: clamp(48px, 10vw, 80px) 0 clamp(40px, 8vw, 60px);
}

.quick-store-hero {
  padding: clamp(24px, 7vw, 40px) 0 clamp(24px, 7vw, 36px);
}

.quick-store-hero__eyebrow {
  font-size: 0.8rem;
  gap: 6px;
}

.quick-store-hero__eyebrow-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  font-size: 0.8rem;
}

.quick-store-hero__form {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 8px 8px 8px 12px;
}

.quick-store-hero__form input {
  padding: 12px 10px 12px 12px;
  text-align: left;
}

.quick-store-hero__submit {
  width: auto;
  min-width: 180px;
  margin-left: auto;
  padding: 15px 22px;
}

.quick-store-hero__chips {
  gap: 8px;
}

.quick-store-hero__chip {
  padding: 10px 14px;
  font-size: 0.92rem;
}

.hero h1 {
  font-size: clamp(1.75rem, 7.5vw, 4.5rem);
  padding: 0 4px;
}

.hero-tagline {
  font-size: clamp(0.8125rem, 2.5vw, 1.125rem);
  letter-spacing: clamp(0.12em, 2vw, 0.2em);
}

.badge-pill {
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  max-width: 100%;
  text-align: center;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-image--desktop {
  margin-top: 8px;
  border-radius: 0;
}

@media (max-width: 767.98px) {
  .hero-image--desktop {
    border-radius: 0;
  }
}

/* CTA banner responsive */
.cta-banner {
  padding: clamp(48px, 8vw, 80px) 0;
}

.cta-banner h2 {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  line-height: 1.2;
}

.cta-banner p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner--compact {
  padding: clamp(40px, 6vw, 64px) 0;
}

/* Card grids */
.card-grid {
  display: grid;
  gap: 20px;
}

.card-grid--2 {
  grid-template-columns: 1fr;
}

.card-grid--3 {
  grid-template-columns: 1fr;
}

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

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

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

.benefit-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: clamp(20px, 4vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.benefit-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.benefit-icon {
  font-size: 1.75rem;
  line-height: 1;
}

.benefit-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
}

.benefit-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Steps */
.steps-list {
  list-style: none;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: clamp(20px, 4vw, 24px);
}

.step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--brand-tint-bg);
  color: var(--brand-tint-text);
  font-size: 0.875rem;
  font-weight: 700;
}

.step-item h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-item p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Stats bar */
.stats-bar {
  background: var(--header-dark);
  color: #fff;
  padding: clamp(32px, 5vw, 48px) 0;
}

.stats-bar-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: center;
}

@media (min-width: 768px) {
  .stats-bar-inner {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item strong {
  display: block;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  margin-bottom: 4px;
}

.stat-item span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Page hero mobile */
.page-hero {
  padding: clamp(40px, 8vw, 72px) 0 clamp(32px, 6vw, 48px);
}

.page-hero h1 {
  font-size: clamp(1.75rem, 5.5vw, 2.5rem);
}

.page-hero p {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
}

.page-hero-inner--split {
  text-align: center;
}

.page-hero-inner--split .page-hero-actions {
  display: flex;
  justify-content: center;
}

@media (min-width: 768px) {
  .page-hero-inner--split {
    text-align: left;
  }

  .page-hero-inner--split .page-hero-actions {
    justify-content: flex-start;
  }
}

.page-hero-visual {
  order: -1;
}

@media (min-width: 768px) {
  .page-hero-visual {
    order: 0;
  }
}

.page-hero-actions {
  margin-top: 8px;
}

/* Feature highlight mobile */
@media (max-width: 767px) {
  .feature-highlight .feature-row,
  .feature-highlight .feature-row--reverse {
    text-align: center;
  }

  .feature-highlight .check-list {
    text-align: left;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .feature-highlight {
    padding: clamp(48px, 8vw, 80px) 0;
  }

  .value-trio,
  .testimonials,
  .pricing,
  .faq {
    padding: clamp(48px, 8vw, 80px) 0;
  }
}

/* Auth pages */
.auth-page {
  padding: clamp(32px, 6vw, 64px) 0;
  background: var(--bg-main);
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
}

.auth-layout {
  display: grid;
  gap: 32px;
  align-items: center;
  width: 100%;
}

@media (min-width: 900px) {
  .auth-layout {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

.auth-visual {
  display: none;
  text-align: center;
}

@media (min-width: 900px) {
  .auth-visual {
    display: block;
  }
}

.auth-visual img {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  margin: 0 auto;
}

.auth-visual h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 12px;
  text-align: left;
}

.auth-visual p {
  color: var(--text-secondary);
  text-align: left;
  margin-bottom: 24px;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 40px);
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.auth-card h1 {
  font-size: clamp(1.5rem, 4vw, 1.75rem);
  font-weight: 800;
  margin-bottom: 8px;
}

.auth-card .auth-sub {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-bottom: 24px;
}

.auth-footer-note {
  margin-top: 20px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-align: center;
}

/* Forms */
.signup-form label,
.form-modern label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin: 16px 0 6px;
}

.signup-form label:first-of-type,
.form-modern label:first-of-type {
  margin-top: 0;
}

.signup-form input,
.signup-form textarea,
.form-modern input,
.form-modern textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 16px;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.signup-form textarea,
.form-modern textarea {
  min-height: 120px;
  resize: vertical;
}

.signup-form input:focus,
.signup-form textarea:focus,
.signup-form select:focus,
.form-modern input:focus,
.form-modern textarea:focus,
.form-modern select:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(49, 184, 0, 0.2);
}

.signup-form select,
.form-modern select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 16px;
  background: #fff;
  cursor: pointer;
}

.signup-fieldset {
  border: none;
  padding: 0;
  margin: 0 0 4px;
  min-inline-size: 0;
}

.signup-fieldset legend {
  padding: 0;
  margin-bottom: 6px;
  font-size: 0.875rem;
  font-weight: 600;
}

.signup-name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
}

.signup-name-row .signup-field label {
  margin-top: 0;
}

.signup-field-hint {
  font-weight: 500;
  color: var(--text-secondary);
}

.signup-form-error {
  margin: 0 0 16px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #991b1b;
  font-size: 0.875rem;
}

.signup-password-wrap {
  position: relative;
}

.signup-password-wrap input {
  padding-right: 4.5rem;
}

.signup-toggle-pw {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 6px;
}

.signup-toggle-pw:hover {
  color: var(--brand-primary);
  background: #f1f5f9;
}

.signup-legal {
  margin: 16px 0 0;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
  text-align: center;
}

.signup-legal a {
  font-weight: 600;
}

@media (max-width: 520px) {
  .signup-name-row {
    grid-template-columns: 1fr;
  }
}

/* Prose (legal, about) */
.prose {
  max-width: 42rem;
  margin: 0 auto;
}

.prose h1 {
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.prose h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 32px 0 12px;
}

.prose p,
.prose li {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.prose ul {
  padding-left: 1.25rem;
  margin-bottom: 16px;
}

/* Contact layout */
.contact-layout {
  display: grid;
  gap: 32px;
}

@media (min-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  padding: 20px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--bg-secondary);
}

.contact-info-card strong {
  display: block;
  margin-bottom: 4px;
}

.contact-info-card span {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* Blog cards hover */
.blog-card {
  transition: box-shadow 0.2s, transform 0.2s;
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Docs cards */
.doc-link {
  background: #fff;
  min-height: 88px;
}

/* Changelog modern */
.changelog-item {
  padding: clamp(20px, 4vw, 28px);
  margin-bottom: 16px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  border-bottom: 1px solid var(--border-color);
}

.changelog-list {
  max-width: 800px;
}

/* Pricing mobile */
@media (max-width: 899px) {
  .price-card--featured {
    order: -1;
  }
}

.price-card {
  padding: clamp(24px, 4vw, 32px);
}

/* FAQ mobile */
.faq-question {
  padding: 16px 20px;
  font-size: 0.9375rem;
}

.faq-answer {
  padding: 0 20px 16px;
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Footer mobile */
@media (max-width: 767px) {
  .site-footer {
    padding: 48px 0 32px;
  }

  .footer-grid {
    gap: 32px;
    margin-bottom: 40px;
  }

  .footer-bottom {
    text-align: center;
  }

  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
  }
}

.logo--light img {
  filter: brightness(0) invert(1);
}

/* Value cards mobile */
.value-card {
  transition: box-shadow 0.2s, transform 0.2s;
}

.value-card:hover {
  box-shadow: var(--shadow-md);
}

/* Testimonials mobile */
.testimonials-track .testimonial-card {
  flex: 0 0 min(280px, 88vw);
  padding: clamp(20px, 4vw, 32px);
}

/* Header container mobile */
@media (max-width: 1023px) {
  .header-inner {
    height: 56px;
  }

  .logo img {
    width: 100px;
  }
}

/* ============================================================
   Take.app homepage template
   ============================================================ */

.hero--take {
  background: var(--bg-main);
  padding: clamp(56px, 10vw, 96px) 0 clamp(32px, 6vw, 48px);
}

.hero--take .hero-image--desktop,
.hero--take .hero-image--desktop .media-frame,
.hero--take .hero-image--desktop .media-frame img {
  border-radius: 0;
}

.hero--take .hero-image--desktop {
  background-color: var(--bg-main);
}

.hero--take .hero-image--desktop .media-frame {
  background: var(--bg-main);
}

.hero--take h1 {
  font-size: clamp(2.25rem, 8vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}

.hero--take .hero-number {
  min-width: 1.35em;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 auto 32px;
  max-width: 28rem;
}

.badge-pill--partner {
  margin-bottom: 20px;
}

.badge-pill--light {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.value-card--take {
  background: #fff;
  border: 1px solid var(--border-color);
}

.value-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--text-secondary);
}

.value-list li {
  padding-left: 20px;
  position: relative;
}

.value-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-primary);
}

.website-showcase {
  padding: 80px 0;
  background: var(--bg-main);
}

.section-header--left {
  text-align: left;
  margin-bottom: 32px;
}

.section-header--left h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Take.app-style 5-block masonry grid */
.website-blocks-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .website-blocks-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    max-width: 880px;
    gap: 12px;
  }

  .website-block--catalog {
    grid-column: 1;
    grid-row: 1 / 3;
  }

  .website-block--checkout {
    grid-column: 2;
    grid-row: 1;
  }

  .website-block--seo {
    grid-column: 2;
    grid-row: 2;
  }

  .website-block--instagram {
    grid-column: 1;
    grid-row: 3;
  }

  .website-block--domain {
    grid-column: 2;
    grid-row: 3;
  }
}

.website-block {
  background: #ebe8f7;
  border-radius: 20px;
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.website-block--catalog {
  min-height: 0;
}

.website-block--checkout,
.website-block--seo {
  min-height: 0;
}

.website-block--instagram {
  min-height: 0;
}

.website-block--domain {
  min-height: 0;
}

.website-block-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.3;
  flex-shrink: 0;
}

.website-block-scroll {
  flex: 1;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.45);
  position: relative;
  min-height: 0;
  mask-image: linear-gradient(180deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.website-block--catalog .website-block-scroll {
  max-height: 200px;
}

.website-block--checkout .website-block-scroll,
.website-block--seo .website-block-scroll {
  max-height: 100px;
}

.website-block--instagram .website-block-scroll {
  max-height: 100px;
}

.website-block--domain .website-block-scroll {
  max-height: 52px;
}

.website-block-scroll-track {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 6px;
  animation: website-block-scroll-up var(--scroll-duration, 14s) linear infinite;
  will-change: transform;
}

.website-block:hover .website-block-scroll-track {
  animation-play-state: paused;
}

@keyframes website-block-scroll-up {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-50%);
  }
}

.website-block-shot {
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.website-block-shot img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
}

.website-block--domain .website-block-scroll {
  background: transparent;
  mask-image: none;
  -webkit-mask-image: none;
}

.website-block--domain .website-block-shot {
  box-shadow: none;
  background: transparent;
}

.website-block--domain .website-block-shot img {
  max-height: 44px;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
}

.wa-api-section {
  padding: 80px 0;
}

.section-lead {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-top: 8px;
}

.wa-api-visual {
  margin: 40px 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.wa-api-grid {
  display: grid;
  gap: 24px;
}

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

.wa-api-card {
  padding: 28px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
}

.wa-api-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.wa-api-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.wa-api-list {
  list-style: none;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9375rem;
}

.testimonial-card--take {
  flex: 0 0 auto;
  width: min(320px, 85vw);
  flex-shrink: 0;
}

.testimonial-card--take p {
  font-style: normal;
  font-size: 0.9375rem;
}

.testimonial-author {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}

.testimonial-country {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  white-space: nowrap;
}

.testimonials-more {
  text-align: center;
  margin-top: 32px;
}

/* testimonials-track marquee rules in Testimonials marquee block above */

.pricing--take .pricing-toggle {
  justify-content: center;
  margin-top: 16px;
}

.price-includes-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.pricing-note,
.pricing-compare {
  text-align: center;
  margin-top: 24px;
  color: var(--text-secondary);
}

.faq--take .faq-q-text,
.faq--take .faq-answer code {
  font-family: inherit;
  font-size: inherit;
  background: none;
  padding: 0;
  color: inherit;
}

.faq--take .faq-question code {
  font-weight: 600;
  text-align: left;
}

.cta-banner--take {
  background: #0a0a0a;
  color: #fff;
  padding: clamp(64px, 10vw, 96px) 0;
}

.cta-banner--take h2 {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 20px 0 32px;
}

.cta-banner--take .btn-primary {
  background: #fff;
  color: #0a0a0a;
}

.cta-banner--take .btn-primary:hover {
  background: #f5f5f5;
}

.site-footer--take {
  padding-top: 64px;
}

.footer-grid--take {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 24px;
}

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

@media (min-width: 1100px) {
  .footer-grid--take {
    grid-template-columns: repeat(7, 1fr);
  }
}

.footer-col .footer-title {
  font-size: 0.875rem;
  margin-bottom: 16px;
}

.footer-col .footer-links {
  gap: 10px;
}

.footer-col .footer-links a {
  font-size: 0.8125rem;
}

.footer-bottom {
  margin-top: 48px;
}

.footer-logo img {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .testimonials-track {
    animation: none !important;
  }

  .website-block-scroll-track {
    animation: none !important;
  }

  .testimonials-marquee {
    overflow-x: auto;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .hero-rotator.is-entering,
  .hero-rotator.is-exiting,
  .hero-number.is-entering,
  .hero-number.is-exiting,
  .benefit-card,
  .blog-card,
  .value-card {
    animation: none !important;
    transition: none !important;
  }
}

/* ============================================================
   Store Setup Wizard
   ============================================================ */

.setup-wizard {
  padding: 28px 0 56px;
  background: #f8f8f8;
}

.setup-wizard__shell {
  max-width: 1280px;
}

.setup-wizard__progress {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.setup-wizard__progress-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #d7dde3;
  transition: width 0.2s ease, background-color 0.2s ease;
}

.setup-wizard__progress-dot.is-active {
  width: 28px;
  background: #31b800;
}

.setup-wizard__layout {
  display: grid;
  grid-template-columns: minmax(320px, 430px) minmax(420px, 1fr);
  gap: 40px;
  align-items: start;
}

.setup-wizard__left {
  padding-top: 20px;
}

.setup-step h1,
.setup-step h2 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 4vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: #182534;
}

.setup-step p {
  margin: 0 0 20px;
  color: #627080;
  font-size: 1rem;
}

.setup-step[hidden] {
  display: none !important;
}

.setup-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.setup-field[hidden] {
  display: none !important;
}

.setup-field > span {
  font-size: 0.82rem;
  font-weight: 600;
  color: #738091;
}

.setup-field input,
.setup-field select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #d7dde3;
  border-radius: 10px;
  background: #fff;
  color: #25313f;
  font: inherit;
  box-shadow: none;
}

.setup-field input:focus,
.setup-field select:focus {
  outline: none;
  border-color: #31b800;
  box-shadow: 0 0 0 3px rgba(49, 184, 0, 0.12);
}

.setup-field__input-wrap {
  position: relative;
}

.setup-field__input-wrap small {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #8c97a6;
  font-size: 0.78rem;
}

.setup-field__input-wrap input {
  padding-right: 58px;
}

.setup-choice-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.setup-choice-card {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 16px;
  border: 1px solid #dce2e7;
  border-radius: 12px;
  background: #fff;
  color: #1f2a37;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.setup-choice-card:hover {
  border-color: #b7d8c1;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.04);
}

.setup-choice-card.is-selected {
  border-color: #31b800;
  box-shadow: 0 0 0 2px rgba(49, 184, 0, 0.08);
}

.setup-choice-card__icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #637282;
  flex-shrink: 0;
}

.setup-choice-card.is-selected .setup-choice-card__icon {
  color: #31b800;
}

.setup-choice-card__icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.setup-choice-card__copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.setup-choice-card__copy strong {
  font-size: 0.98rem;
}

.setup-choice-card__copy small {
  color: #738091;
  font-size: 0.85rem;
}

.setup-choice-card__check {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #cfd6dd;
  color: #fff;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.setup-choice-card.is-selected .setup-choice-card__check {
  background: #31b800;
}

.setup-switch-row,
.setup-check-row,
.setup-switch-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.setup-switch-row {
  margin: 8px 0 18px;
  font-size: 0.92rem;
  color: #27313f;
}

.setup-switch-card {
  cursor: pointer;
}

.setup-switch-card__title {
  font-weight: 600;
  color: #24313d;
}

.setup-switch-row input,
.setup-switch-card input,
.setup-check-row input,
.setup-payment-card__top input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.setup-switch {
  width: 42px;
  height: 24px;
  position: relative;
  display: inline-block;
  border-radius: 999px;
  background: #c3cad1;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}

.setup-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.setup-switch-row input:checked + .setup-switch,
.setup-switch-card input:checked + .setup-switch,
.setup-payment-card__top input:checked + .setup-switch {
  background: #31b800;
}

.setup-switch-row input:checked + .setup-switch::after,
.setup-switch-card input:checked + .setup-switch::after,
.setup-payment-card__top input:checked + .setup-switch::after {
  transform: translateX(18px);
}

.setup-toggle-card,
.setup-payment-card,
.setup-summary-card {
  margin-bottom: 12px;
  padding: 14px 16px;
  border: 1px solid #dce2e7;
  border-radius: 12px;
  background: #fff;
}

.setup-toggle-card__body,
.setup-payment-card__body {
  margin-top: 14px;
}

.setup-segmented {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid #dce2e7;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
}

.setup-segmented__item {
  min-height: 42px;
  border: none;
  background: #fff;
  color: #5e6c7c;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.setup-segmented__item + .setup-segmented__item {
  border-left: 1px solid #dce2e7;
}

.setup-segmented__item.is-selected {
  background: #eff6ff;
  color: #31b800;
}

.setup-payment-list {
  max-height: min(56vh, 560px);
  overflow: auto;
  padding-right: 4px;
}

.setup-payment-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}

.setup-payment-card__label {
  font-weight: 600;
  color: #1f2a37;
}

.setup-summary-card h3 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.setup-summary-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.setup-summary-list li {
  font-size: 0.95rem;
  color: #334155;
}

.setup-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
}

.setup-actions__right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.setup-nav-btn,
.setup-final-btn {
  min-height: 42px;
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 10px 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.setup-nav-btn--back {
  padding-left: 0;
  background: transparent;
  color: #1e293b;
}

.setup-nav-btn--skip {
  background: #fff;
  border-color: #dce2e7;
  color: #1f2937;
}

.setup-nav-btn--next,
.setup-final-btn--email {
  background: #31b800;
  color: #fff;
}

.setup-nav-btn--next:hover,
.setup-final-btn--email:hover {
  background: #289800;
}

.setup-final-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.setup-final-actions .setup-final-btn,
.setup-final-actions .auth-google-btn {
  width: 100%;
  justify-content: center;
  white-space: nowrap;
}

.auth-google-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.72rem 1rem;
  border-radius: 10px;
  border: 1px solid #dce2e7;
  background: #fff;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  color: #111827;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.auth-google-btn:hover:not(:disabled) {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.auth-google-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.setup-final-btn--google {
  background: #fff;
  border-color: #dce2e7;
  color: #1f2937;
}

.setup-final-note {
  margin-top: 16px;
  font-size: 0.9rem;
  color: #5f6f80;
}

.setup-final-note a {
  color: #137f47;
}

.setup-email-modal {
  border: 0;
  border-radius: 18px;
  padding: 0;
  width: min(520px, 92vw);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.28);
}

.setup-email-modal::backdrop {
  background: rgba(15, 23, 42, 0.56);
}

.setup-email-modal__card {
  position: relative;
  padding: 1.2rem;
  background: #fff;
}

.setup-email-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  color: #64748b;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.setup-email-modal__title {
  margin: 0 2rem 0.35rem 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: #182534;
}

.setup-email-modal__text {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #5f6f80;
}

.setup-email-modal__error {
  margin: 0 0 0.9rem;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #991b1b;
  font-size: 0.88rem;
}

.setup-email-modal__meta {
  margin: 0 0 0.95rem;
  color: #64748b;
  line-height: 1.5;
}

.setup-email-modal__meta small {
  display: block;
  font-size: 0.82rem;
}

.setup-email-modal__meta strong {
  color: #1f2937;
  font-weight: 700;
}

.setup-email-form__terms {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0.35rem 0 1rem;
  color: #5f6f80;
  font-size: 0.9rem;
  line-height: 1.5;
}

.setup-email-form__terms input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.setup-email-form__terms a {
  color: #137f47;
}

.setup-wizard__preview {
  position: sticky;
  top: 90px;
}

.setup-preview {
  min-height: 100%;
  padding: 22px;
  border-radius: 14px;
  background: #e7f3ff;
}

.setup-preview__frame {
  min-height: 640px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(196, 203, 211, 0.85);
  border-radius: 10px;
  overflow: hidden;
  backdrop-filter: blur(4px);
}

.setup-preview__browser {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid #e7ebef;
  background: rgba(255, 255, 255, 0.7);
}

.setup-preview__dots {
  display: inline-flex;
  gap: 6px;
}

.setup-preview__dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #d8dde3;
}

.setup-preview__url {
  min-width: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  color: #7a8693;
  font-size: 0.82rem;
}

.setup-preview__topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid #eef2f5;
}

.setup-preview__topbar strong {
  color: #31404e;
}

.setup-preview__topbar span {
  width: 36px;
  height: 10px;
  border-radius: 999px;
  background: #e6eaee;
}

.setup-preview__hero {
  margin: 16px;
  height: 150px;
  border-radius: 10px;
  background: #eceef1;
}

.setup-preview__product-note,
.setup-preview__shipping,
.setup-preview__payments {
  margin: 0 16px 16px;
  padding: 14px;
  border: 1px dashed #dce2e7;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.55);
}

.setup-preview__product-note {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #7a8693;
  font-size: 0.9rem;
}

.setup-preview__spark {
  color: #f59e0b;
  font-weight: 800;
}

.setup-preview__shipping h3,
.setup-preview__payments h3 {
  margin: 0 0 10px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #677485;
}

.setup-preview__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.setup-preview__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #dce2e7;
  color: #405060;
  font-size: 0.82rem;
}

.setup-preview__chip.is-active {
  border-color: #31b800;
  color: #31b800;
  background: #eff6ff;
}

.setup-preview__empty {
  color: #8b97a6;
  font-size: 0.82rem;
}

.setup-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 16px 16px;
}

.setup-preview__grid span {
  height: 96px;
  border-radius: 10px;
  background: #eceef1;
}

@media (max-width: 1023px) {
  .setup-wizard__layout {
    grid-template-columns: 1fr;
  }

  .setup-wizard__preview {
    position: static;
    order: -1;
    margin-bottom: 20px;
  }

  .setup-preview__frame {
    min-height: 500px;
  }
}

@media (max-width: 767px) {
  .setup-wizard {
    padding: 20px 0 40px;
  }

  .setup-step h1,
  .setup-step h2 {
    font-size: 2rem;
  }

  .setup-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .setup-actions__right {
    justify-content: space-between;
  }

  .setup-nav-btn--back,
  .setup-nav-btn--skip,
  .setup-nav-btn--next {
    width: 100%;
    justify-content: center;
  }

  .setup-preview {
    padding: 14px;
  }

  .setup-preview__frame {
    min-height: 420px;
  }

  .setup-preview__hero {
    height: 112px;
  }

  .setup-preview__grid span {
    height: 72px;
  }
}

/* Business templates demo page */
.demo-templates {
  padding: 2.5rem 0 3rem;
}

.demo-templates__head {
  max-width: 40rem;
  margin-bottom: 1.5rem;
}

.demo-templates__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.65rem, 4vw, 2.1rem);
  font-weight: 800;
  color: var(--text, #0f172a);
}

.demo-templates__lead {
  margin: 0;
  color: var(--muted, #64748b);
  line-height: 1.55;
}

.demo-templates__search {
  margin-bottom: 0.75rem;
}

.demo-templates__search-wrap {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  max-width: 32rem;
  padding: 0.35rem 0.35rem 0.35rem 0.85rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
}

.demo-templates__search-icon {
  flex-shrink: 0;
  align-self: center;
  color: #94a3b8;
}

.demo-templates__search-wrap input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0.65rem 0;
  font-size: 1rem;
  outline: none;
}

.demo-templates__search-btn {
  flex-shrink: 0;
  padding: 0.65rem 1.1rem;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #0ea5e9, #6366f1);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}

.demo-templates__search-btn:hover {
  filter: brightness(1.05);
}

.demo-templates__count {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: #64748b;
}

.demo-templates__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 992px) {
  .demo-templates__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

.demo-template-card {
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.demo-template-card:hover {
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}

.demo-template-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.demo-template-card__thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, color-mix(in srgb, var(--demo-accent, #166534) 18%, #f8fafc), #f1f5f9);
  overflow: hidden;
}

.demo-template-card__thumb::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: var(--demo-accent, #166534);
}

.demo-template-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.demo-template-card__body {
  padding: 0.85rem 0.9rem 1rem;
}

.demo-template-card__name {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

.demo-template-card__type {
  margin: 0;
  font-size: 0.82rem;
  color: #64748b;
}

.demo-templates__empty {
  padding: 2rem 1rem;
  text-align: center;
  color: #64748b;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
}

.demo-templates__empty--filter {
  margin-top: 1rem;
}

.demo-preview-page {
  padding-top: 0;
}

.demo-preview-bar {
  position: sticky;
  top: 0;
  z-index: 120;
  background: #0f172a;
  color: #f8fafc;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.demo-preview-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

.demo-preview-bar__text {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  font-size: 0.92rem;
}

.demo-preview-bar__text span {
  color: #cbd5e1;
}

.demo-preview-bar__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

.demo-preview-bar__link {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.9rem;
}

.demo-preview-bar__link:hover {
  color: #fff;
  text-decoration: underline;
}

.demo-preview-bar__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--wo-brand-primary, #166534);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.demo-preview-bar__cta:hover {
  filter: brightness(1.08);
  color: #fff;
}

.demo-preview-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  color: #334155;
  font-size: 0.82rem;
  font-weight: 600;
}

.demo-preview-cat-card {
  pointer-events: none;
}

.demo-preview-footer-cta {
  margin: 2.5rem 0 1rem;
  padding: 1.75rem 1.25rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(var(--wo-brand-primary-rgb, 22, 101, 52), 0.08), rgba(255, 255, 255, 0.9));
  border: 1px solid rgba(var(--wo-brand-primary-rgb, 22, 101, 52), 0.18);
  text-align: center;
}

.demo-preview-footer-cta h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.demo-preview-footer-cta p {
  margin: 0 auto 1rem;
  max-width: 42rem;
  color: #475569;
}

.demo-preview-footer-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1rem;
}

@media (max-width: 640px) {
  .demo-preview-bar__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .demo-preview-bar__actions {
    justify-content: stretch;
  }

  .demo-preview-bar__cta,
  .demo-preview-bar__link {
    justify-content: center;
  }
}
